public class ImplBilinearPixel_IL_F32 extends BilinearPixelMB<InterleavedF32>
Implementation of BilinearPixelMB for a specific image type.
NOTE: This code was automatically generated using GenerateImplBilinearPixel_IL.
| Constructor and Description |
|---|
ImplBilinearPixel_IL_F32(int numBands) |
ImplBilinearPixel_IL_F32(InterleavedF32 orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
get_border(float x,
float y,
float[] values) |
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.
|
ImageType<InterleavedF32> |
getImageType()
Type of image it can process
|
void |
setImage(InterleavedF32 image)
Change the image that is being interpolated.
|
getBorder, getFastBorderX, getFastBorderY, getImage, isInFastBounds, setBorderpublic ImplBilinearPixel_IL_F32(int numBands)
public ImplBilinearPixel_IL_F32(InterleavedF32 orig)
public void setImage(InterleavedF32 image)
InterpolatePixelsetImage in interface InterpolatePixel<InterleavedF32>setImage in class BilinearPixelMB<InterleavedF32>image - An image.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.public void get_border(float x,
float y,
float[] values)
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 ImageType<InterleavedF32> getImageType()
InterpolatePixel