public abstract class NearestNeighborPixel<T extends ImageSingleBand> extends Object implements InterpolatePixelS<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected T |
orig |
protected int |
stride |
protected int |
width |
| Constructor and Description |
|---|
NearestNeighborPixel() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFastBorderX()
Border around the image that fast interpolation cannot be called.
|
int |
getFastBorderY()
Border around the image that fast interpolation cannot be called.
|
T |
getImage()
Returns the image which is being interpolated.
|
boolean |
isInFastBounds(float x,
float y)
Is the requested pixel inside the image boundary for which fast unsafe interpolation can be performed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget_fast, getsetImageprotected T extends ImageSingleBand orig
protected int stride
protected int width
protected int height
public T getImage()
InterpolatePixelgetImage in interface InterpolatePixel<T extends ImageSingleBand>public boolean isInFastBounds(float x,
float y)
InterpolatePixelisInFastBounds in interface InterpolatePixel<T extends ImageSingleBand>x - Point's x-coordinate.y - Point's y-coordinate.public int getFastBorderX()
InterpolatePixelgetFastBorderX in interface InterpolatePixel<T extends ImageSingleBand>public int getFastBorderY()
InterpolatePixelgetFastBorderY in interface InterpolatePixel<T extends ImageSingleBand>Copyright © 2013. All Rights Reserved.