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.
-
Uses of DataType in org.apache.sis.coverage.grid
Methods in org.apache.sis.coverage.grid with parameters of type DataType -
Uses of DataType in org.apache.sis.image
Methods in org.apache.sis.image that return DataTypeModifier and TypeMethodDescriptionstatic DataTypeDataType.forBands(RenderedImage image) Returns the data type of the bands in the given image.static DataTypeDataType.forDataBufferType(int type) Returns the enumeration value for the givenDataBufferconstant.static DataTypeDataType.forNumberOfBits(int size, boolean real, boolean signed) Returns the enumeration value for the given number of bits.static DataTypeDataType.forPrimitiveType(Class<?> type, boolean unsigned) Returns the data type for the given primitive type.static DataTypeDataType.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 DataTypeDataType.toFloat()Returns the smallest floating point type capable to store all values of this type without precision lost.static DataTypeReturns 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 BufferRasterFactory.createBuffer(DataType dataType, int capacity) Creates a NIO buffer of the specified capacity.static DataBufferWraps 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 TypeMethodDescriptionstatic InflaterInflater.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.