public class NearestNeighborPixel_IL_S32 extends NearestNeighborPixelMB<boofcv.struct.image.InterleavedS32>
Performs nearest neighbor interpolation to extract values between pixels in an image.
DO NOT MODIFY. This code was automatically generated by GenerateNearestNeighborPixel_IL.
| Constructor and Description |
|---|
NearestNeighborPixel_IL_S32() |
NearestNeighborPixel_IL_S32(boofcv.struct.image.InterleavedS32 orig) |
| Modifier and Type | Method and Description |
|---|---|
InterpolatePixelMB<boofcv.struct.image.InterleavedS32> |
copy()
Creates a new instance of this interpolation method
|
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.
|
void |
setImage(boofcv.struct.image.InterleavedS32 image)
Change the image that is being interpolated.
|
getBorder, getFastBorderX, getFastBorderY, getImage, getImageType, isInFastBounds, setBorderpublic NearestNeighborPixel_IL_S32()
public NearestNeighborPixel_IL_S32(boofcv.struct.image.InterleavedS32 orig)
public void setImage(boofcv.struct.image.InterleavedS32 image)
InterpolatePixelsetImage in interface InterpolatePixel<boofcv.struct.image.InterleavedS32>setImage in class NearestNeighborPixelMB<boofcv.struct.image.InterleavedS32>image - An image.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.public InterpolatePixelMB<boofcv.struct.image.InterleavedS32> copy()
InterpolatePixelMB