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 DataTypeConvertedGridCoverage.bandTypeOne 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 DataTypeBufferedGridCoverage.getBandType()Returns the constant identifying the primitive type used for storing sample values.(package private) final DataTypeConvertedGridCoverage.getBandType()Returns the constant identifying the primitive type used for storing sample values.(package private) static DataTypeConvertedGridCoverage.getBandType(List<SampleDimension> targets, boolean converted, GridCoverage source) Returns the data type for range of values of given sample dimensions.(package private) DataTypeDerivedGridCoverage.getBandType()Returns the data type identifying the primitive type used for storing sample values in each band.(package private) DataTypeGridCoverage.getBandType()Returns the data type identifying the primitive type used for storing sample values in each band.(package private) final DataTypeGridCoverage2D.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 RenderedImageGridCoverage.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.voidSets 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.VALUESAll enumeration values, cached for avoiding to recreate this array on everyforDataBufferType(int)call.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 TypeMethodDescription(package private) static CopyFromBytesCopyFromBytes.create(ChannelDataInput input, DataType dataType, int chunksPerRow, int samplesPerChunk, int[] skipAfterChunks, int pixelsPerElement) Creates a new instance.(package private) static HorizontalPredictorHorizontalPredictor.create(CompressionChannel input, DataType dataType, int pixelStride, int width) Creates a new predictor.static 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. -
Uses of DataType in org.apache.sis.storage.geotiff
Methods in org.apache.sis.storage.geotiff that return DataTypeModifier and TypeMethodDescriptionprotected final DataTypeDataSubset.getDataType()Returns the type of data in all tiles.private DataTypeImageFileDirectory.getDataType()Returns the type of raster data.