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 变量和类型 类 描述 class
BandedSampleModel
该类表示以带交织方式存储的图像数据,并且像素的每个样本占据DataBuffer的一个数据元素。class
ComponentSampleModel
该类表示存储的图像数据,使得像素的每个样本占据DataBuffer的一个数据元素。class
MultiPixelPackedSampleModel
MultiPixelPackedSampleModel
类表示单带图像,可以将多个单样本像素打包到一个数据元素中。class
PixelInterleavedSampleModel
该类表示以像素交错方式存储的图像数据,并且像素的每个样本占据DataBuffer的一个数据元素。class
SinglePixelPackedSampleModel
该类表示打包的像素数据,使得构成单个像素的N个样本存储在单个数据阵列元素中,并且每个数据数据阵列元素仅保存一个像素的样本。Fields in java.awt.image declared as SampleModel 变量和类型 字段 描述 protected SampleModel
Raster. sampleModel
SampleModel描述了此Raster中的像素如何存储在DataBuffer中。Methods in java.awt.image that return SampleModel 变量和类型 方法 描述 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的band子集创建一个新的BandedSampleModel。SampleModel
ComponentSampleModel. createSubsetSampleModel(int[] bands)
使用此ComponentSampleModel的band子集创建新的ComponentSampleModel。SampleModel
MultiPixelPackedSampleModel. createSubsetSampleModel(int[] bands)
创建一个新的MultiPixelPackedSampleModel
这个的band子集MultiPixelPackedSampleModel
。SampleModel
PixelInterleavedSampleModel. createSubsetSampleModel(int[] bands)
使用此PixelInterleavedSampleModel的波段子集创建新的PixelInterleavedSampleModel。abstract SampleModel
SampleModel. createSubsetSampleModel(int[] bands)
使用此SampleModel的band子集创建新的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 变量和类型 方法 描述 static Raster
Raster. createRaster(SampleModel sm, DataBuffer db, Point location)
使用指定的SampleModel和DataBuffer创建Raster。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 构造器 描述 Raster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
使用给定的SampleModel和DataBuffer构造一个Raster。Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
使用给定的SampleModel,DataBuffer和parent构造一个Raster。Raster(SampleModel sampleModel, Point origin)
使用给定的SampleModel构造一个Raster。WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
使用给定的SampleModel和DataBuffer构造WritableRaster。WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)
使用给定的SampleModel,DataBuffer和parent构造WritableRaster。WritableRaster(SampleModel sampleModel, Point origin)
使用给定的SampleModel构造WritableRaster。 -
Uses of SampleModel in javax.imageio
Fields in javax.imageio declared as SampleModel 变量和类型 字段 描述 protected SampleModel
ImageTypeSpecifier. sampleModel
SampleModel
用作原型。Methods in javax.imageio that return SampleModel 变量和类型 方法 描述 SampleModel
ImageTypeSpecifier. getSampleModel()
根据此对象中封装的设置返回SampleModel
。SampleModel
ImageTypeSpecifier. getSampleModel(int width, int height)
根据此对象中封装的设置返回SampleModel
。Constructors in javax.imageio with parameters of type SampleModel 构造器 描述 ImageTypeSpecifier(ColorModel colorModel, SampleModel sampleModel)
构造一个ImageTypeSpecifier
直接从ColorModel
和SampleModel
。
-