Uses of Enum Class
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.
-
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 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 class with the specified name.static DataType[]
DataType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.sis.image with parameters of type DataTypeModifier and TypeMethodDescriptionImageProcessor.convert
(RenderedImage source, NumberRange<?>[] sourceRanges, MathTransform1D[] converters, DataType targetType, ColorModel colorModel) Returns an image with sample values converted by the given functions.