Class IntegerSampler
- java.lang.Object
-
- de.hendrikjanssen.geotifftools.rendering.IntegerSampler
-
- All Implemented Interfaces:
Sampler<IntegerSample>
public class IntegerSampler extends java.lang.Object implements Sampler<IntegerSample>
Samples integer values from the given bands of a pixel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntegerSampler
ofBandIndices(int... bandIndices)
Constructs an IntegerSampler extracting sample values from the given bands.IntegerSample
sample(java.awt.Point samplePoint, java.awt.image.Raster raster)
-
-
-
Method Detail
-
ofBandIndices
public static IntegerSampler ofBandIndices(int... bandIndices)
Constructs an IntegerSampler extracting sample values from the given bands.- Parameters:
bandIndices
- The zero-based indices of the bands that should be extracted- Returns:
- An IntegerSampler extracting sample values from the given bands.
-
sample
public IntegerSample sample(java.awt.Point samplePoint, java.awt.image.Raster raster)
- Specified by:
sample
in interfaceSampler<IntegerSample>
-
-