Uses of Class
java.awt.image.SampleModel
-
Packages that use SampleModel 软件包 描述 java.awt.image 提供创建和修改图像的类。javax.imageio Java Image I / O API的主要包。 -
-
Uses of SampleModel in java.awt.image
Subclasses of SampleModel in java.awt.image Modifier and Type Class 描述 class
BandedSampleModel
该类表示以频带交错方式存储的图像数据,并且像素的每个样本占据DataBuffer的一个数据元素。class
ComponentSampleModel
该类表示存储的图像数据,使得像素的每个样本占据DataBuffer的一个数据元素。class
MultiPixelPackedSampleModel
MultiPixelPackedSampleModel
类表示单带图像,可以将多个单样本像素包装到一个数据元素中。class
PixelInterleavedSampleModel
该类表示以像素交错方式存储的图像数据,并且像素的每个样本占据DataBuffer的一个数据元素。class
SinglePixelPackedSampleModel
该类表示打包的像素数据,使得构成单个像素的N个采样被存储在单个数据阵列元素中,并且每个数据数据阵列元素仅保存一个像素的采样。Fields in java.awt.image declared as SampleModel Modifier and Type Field 描述 protected SampleModel
Raster. sampleModel
SampleModel描述了这个栅格的像素如何存储在DataBuffer中。Methods in java.awt.image that return SampleModel Modifier and Type 方法 描述 SampleModel
BandedSampleModel. createCompatibleSampleModel(int w, int h)
创建一个带有指定宽度和高度的新的BandedSampleModel。SampleModel
ColorModel. createCompatibleSampleModel(int w, int h)
创建SampleModel
具有指定的宽度和高度,具有与此兼容的数据布局ColorModel
。SampleModel
ComponentColorModel. createCompatibleSampleModel(int w, int h)
创建一个具有指定宽度和高度的SampleModel
,具有与此ColorModel
兼容的数据布局。SampleModel
ComponentSampleModel. createCompatibleSampleModel(int w, int h)
创建一个新的ComponentSampleModel
具有指定的宽度和高度。SampleModel
IndexColorModel. createCompatibleSampleModel(int w, int h)
创建SampleModel
具有指定的宽度和高度,具有与此兼容的数据布局ColorModel
。SampleModel
MultiPixelPackedSampleModel. createCompatibleSampleModel(int w, int h)
创建一个新的MultiPixelPackedSampleModel
具有指定的宽度和高度。SampleModel
PackedColorModel. createCompatibleSampleModel(int w, int h)
创建SampleModel
具有指定的宽度和高度,具有与此兼容的数据布局ColorModel
。SampleModel
PixelInterleavedSampleModel. createCompatibleSampleModel(int w, int h)
创建一个具有指定宽度和高度的新PixelInterleavedSampleModel。abstract SampleModel
SampleModel. createCompatibleSampleModel(int w, int h)
创建一个SampleModel,它描述了SampleModel格式的数据,但是具有不同的宽度和高度。SampleModel
SinglePixelPackedSampleModel. createCompatibleSampleModel(int w, int h)
创建一个具有指定宽度和高度的新SinglePixelPackedSampleModel。SampleModel
BandedSampleModel. createSubsetSampleModel(int[] bands)
创建一个带有BandedSampleModel的带子集的新BandedSampleModel。SampleModel
ComponentSampleModel. createSubsetSampleModel(int[] bands)
使用此ComponentSampleModel的带子集创建新的ComponentSampleModel。SampleModel
MultiPixelPackedSampleModel. createSubsetSampleModel(int[] bands)
创建一个新的MultiPixelPackedSampleModel
与这个MultiPixelPackedSampleModel
的带的一个子集。SampleModel
PixelInterleavedSampleModel. createSubsetSampleModel(int[] bands)
创建一个新的PixelInterleavedSampleModel与PixelInterleavedSampleModel的带子集。abstract SampleModel
SampleModel. createSubsetSampleModel(int[] bands)
使用此SampleModel的一个子带子创建一个新的SampleModel。SampleModel
SinglePixelPackedSampleModel. createSubsetSampleModel(int[] bands)
这将创建一个新的SinglePixelPackedSampleModel与该SinglePixelPackedSampleModel的频带的子集。SampleModel
BufferedImage. getSampleModel()
返回SampleModel
与此相关BufferedImage
。SampleModel
Raster. getSampleModel()
返回描述图像数据布局的SampleModel。SampleModel
RenderedImage. getSampleModel()
返回与此图像关联的SampleModel。Methods in java.awt.image with parameters of type SampleModel Modifier and Type 方法 描述 static Raster
Raster. createRaster(SampleModel sm, DataBuffer db, Point location)
使用指定的SampleModel和DataBuffer创建光栅。static WritableRaster
Raster. createWritableRaster(SampleModel sm, DataBuffer db, Point location)
使用指定的SampleModel和DataBuffer创建WritableRaster。static WritableRaster
Raster. createWritableRaster(SampleModel sm, Point location)
使用指定的SampleModel创建WritableRaster。boolean
ColorModel. isCompatibleSampleModel(SampleModel sm)
检查SampleModel
是否与此ColorModel
兼容。boolean
ComponentColorModel. isCompatibleSampleModel(SampleModel sm)
检查指定的SampleModel
是否与此ColorModel
兼容。boolean
IndexColorModel. isCompatibleSampleModel(SampleModel sm)
检查指定的SampleModel
是否与此ColorModel
兼容。boolean
PackedColorModel. isCompatibleSampleModel(SampleModel sm)
检查指定的SampleModel
是否与此ColorModel
兼容。Constructors in java.awt.image with parameters of type SampleModel Constructor 描述 Raster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
使用给定的SampleModel和DataBuffer构造光栅。Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
使用给定的SampleModel,DataBuffer和父构造栅格。Raster(SampleModel sampleModel, Point origin)
使用给定的SampleModel构造光栅。WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
使用给定的SampleModel和DataBuffer构造WritableRaster。WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)
使用给定的SampleModel,DataBuffer和父构造一个WritableRaster。WritableRaster(SampleModel sampleModel, Point origin)
使用给定的SampleModel构造WritableRaster。 -
Uses of SampleModel in javax.imageio
Fields in javax.imageio declared as SampleModel Modifier and Type Field 描述 protected SampleModel
ImageTypeSpecifier. sampleModel
ASampleModel
用作原型。Methods in javax.imageio that return SampleModel Modifier and Type 方法 描述 SampleModel
ImageTypeSpecifier. getSampleModel()
根据此对象中封装的设置返回SampleModel
。SampleModel
ImageTypeSpecifier. getSampleModel(int width, int height)
根据此对象中封装的设置返回SampleModel
。Constructors in javax.imageio with parameters of type SampleModel Constructor 描述 ImageTypeSpecifier(ColorModel colorModel, SampleModel sampleModel)
构造一个ImageTypeSpecifier
直接从ColorModel
和SampleModel
。
-