Uses of Enum
org.apache.sis.image.DataType
Packages that use DataType
Package
Description
A coverage backed by a regular grid.
Provides helper classes for handling Java2D rendered images together with some operations.
A set of helper classes for the SIS implementation backed by Java2D.
Utility classes for the implementation of raster readers.
Maps GeoTIFF tags to ISO metadata and read raster data as coverages.
-
Uses of DataType in org.apache.sis.coverage.grid
Fields in org.apache.sis.coverage.grid declared as DataTypeModifier and TypeFieldDescriptionprivate final DataType
ConvertedGridCoverage.bandType
One of enumeration value that describe the sample values type in each band of images produced byConvertedGridCoverage.render(GridExtent)
.Methods in org.apache.sis.coverage.grid that return DataTypeModifier and TypeMethodDescription(package private) final DataType
BufferedGridCoverage.getBandType()
Returns the constant identifying the primitive type used for storing sample values.(package private) final DataType
ConvertedGridCoverage.getBandType()
Returns the constant identifying the primitive type used for storing sample values.(package private) static DataType
ConvertedGridCoverage.getBandType
(List<SampleDimension> targets, boolean converted, GridCoverage source) Returns the data type for range of values of given sample dimensions.(package private) DataType
DerivedGridCoverage.getBandType()
Returns the data type identifying the primitive type used for storing sample values in each band.(package private) DataType
GridCoverage.getBandType()
Returns the data type identifying the primitive type used for storing sample values in each band.(package private) final DataType
GridCoverage2D.getBandType()
Returns the constant identifying the primitive type used for storing sample values.Methods in org.apache.sis.coverage.grid with parameters of type DataTypeModifier and TypeMethodDescription(package private) final RenderedImage
GridCoverage.convert
(RenderedImage source, DataType bandType, org.opengis.referencing.operation.MathTransform1D[] converters, ImageProcessor processor) Creates a new image of the given data type which will compute values using the given converters.void
Sets the data as NIO buffers. -
Uses of DataType in org.apache.sis.image
Fields in org.apache.sis.image declared as DataTypeModifier and TypeFieldDescriptionprivate static final DataType[]
DataType.VALUES
All enumeration values, cached for avoiding to recreate this array on everyforDataBufferType(int)
call.Methods in org.apache.sis.image that return DataTypeModifier and TypeMethodDescriptionstatic DataType
DataType.forBands
(RenderedImage image) Returns the data type of the bands in the given image.static DataType
DataType.forDataBufferType
(int type) Returns the enumeration value for the givenDataBuffer
constant.static DataType
DataType.forNumberOfBits
(int size, boolean real, boolean signed) Returns the enumeration value for the given number of bits.static DataType
DataType.forPrimitiveType
(Class<?> type, boolean unsigned) Returns the data type for the given primitive type.static DataType
DataType.forRange
(NumberRange<?> range, boolean asInteger) Returns the smallest data type capable to store the given range of values.PixelIterator.getDataType()
Returns the type used for storing data in the raster buffer.final DataType
DataType.toFloat()
Returns the smallest floating point type capable to store all values of this type without precision lost.static DataType
Returns the enum constant of this type with the specified name.static DataType[]
DataType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.sis.image with parameters of type DataTypeModifier and TypeMethodDescriptionImageProcessor.convert
(RenderedImage source, NumberRange<?>[] sourceRanges, org.opengis.referencing.operation.MathTransform1D[] converters, DataType targetType, ColorModel colorModel) Returns an image with sample values converted by the given functions. -
Uses of DataType in org.apache.sis.internal.coverage.j2d
Methods in org.apache.sis.internal.coverage.j2d with parameters of type DataTypeModifier and TypeMethodDescriptionstatic Buffer
RasterFactory.createBuffer
(DataType dataType, int capacity) Creates a NIO buffer of the specified capacity.static DataBuffer
Wraps the backing arrays of given NIO buffers into Java2D buffers.Constructors in org.apache.sis.internal.coverage.j2d with parameters of type DataTypeModifierConstructorDescriptionSampleModelFactory
(DataType type, int width, int height, int numBands, int bitsPerSample, boolean isBanded) Creates a factory initialized to the given values. -
Uses of DataType in org.apache.sis.internal.storage.inflater
Methods in org.apache.sis.internal.storage.inflater with parameters of type DataTypeModifier and TypeMethodDescription(package private) static CopyFromBytes
CopyFromBytes.create
(ChannelDataInput input, DataType dataType, int chunksPerRow, int samplesPerChunk, int[] skipAfterChunks, int pixelsPerElement) Creates a new instance.(package private) static HorizontalPredictor
HorizontalPredictor.create
(CompressionChannel input, DataType dataType, int pixelStride, int width) Creates a new predictor.static Inflater
Inflater.create
(StoreListeners listeners, ChannelDataInput input, Compression compression, Predictor predictor, int sourcePixelStride, int sourceWidth, int chunksPerRow, int samplesPerChunk, int[] skipAfterChunks, int pixelsPerElement, DataType dataType) Creates a new instance for the given compression. -
Uses of DataType in org.apache.sis.storage.geotiff
Methods in org.apache.sis.storage.geotiff that return DataTypeModifier and TypeMethodDescriptionprotected final DataType
DataSubset.getDataType()
Returns the type of data in all tiles.private DataType
ImageFileDirectory.getDataType()
Returns the type of raster data.