public class NearestNeighborPixel_IL_F32 extends NearestNeighborPixelMB<InterleavedF32>
Performs nearest neighbor interpolation to extract values between pixels in an image.
TODO write auto generate code for this
| Constructor and Description |
|---|
NearestNeighborPixel_IL_F32() |
NearestNeighborPixel_IL_F32(InterleavedF32 orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
get_fast(float x,
float y,
float[] values)
Returns the interpolated pixel values at the specified location while assuming it is inside
the image far away from the border.
|
void |
get(float x,
float y,
float[] values)
Returns the interpolated pixel values at the specified location while taking in account
the image border.
|
getBorder, getFastBorderX, getFastBorderY, getImage, getImageType, isInFastBounds, setBorder, setImagepublic NearestNeighborPixel_IL_F32()
public NearestNeighborPixel_IL_F32(InterleavedF32 orig)
public void get(float x,
float y,
float[] values)
InterpolatePixelMBx - Point's x-coordinate. x ≥ 0 && x < image.widthy - Point's y-coordinate. y ≥ 0 && y < image.heightvalues - Interpolated value across all bands.public void get_fast(float x,
float y,
float[] values)
InterpolatePixelMBInterpolatePixel.isInFastBounds(float, float) should return true.x - Point's x-coordinate.y - Point's y-coordinate.values - Interpolated value across all bands.