public class NearestNeighborPixel_U16 extends NearestNeighborPixel<ImageUInt16>
height, orig, stride, width| Constructor and Description |
|---|
NearestNeighborPixel_U16() |
NearestNeighborPixel_U16(ImageUInt16 orig) |
| Modifier and Type | Method and Description |
|---|---|
float |
get_fast(float x,
float y)
Returns the interpolated pixel value at the specified location while assuming it is inside
the image far away from the border.
|
float |
get(float x,
float y)
Returns the interpolated pixel value at the specified location while taking in account
the image border.
|
void |
setImage(ImageUInt16 image)
Change the image that is being interpolated.
|
getFastBorderX, getFastBorderY, getImage, isInFastBoundspublic NearestNeighborPixel_U16()
public NearestNeighborPixel_U16(ImageUInt16 orig)
public void setImage(ImageUInt16 image)
InterpolatePixelimage - An image.public float get_fast(float x,
float y)
InterpolatePixelSInterpolatePixel.isInFastBounds(float, float) should return true.x - Point's x-coordinate.y - Point's y-coordinate.public float get(float x,
float y)
InterpolatePixelSx - Point's x-coordinate. x >= 0 && x < image.widthy - Point's y-coordinate. y >= 0 && y < image.heightCopyright © 2013. All Rights Reserved.