public class ImplPolynomialPixel_F32 extends PolynomialPixel<ImageFloat32>
Implementation of PolynomialPixel.
NOTE: This code was automatically generated using GenerateImplPolynomialPixel.
| Constructor and Description |
|---|
ImplPolynomialPixel_F32(int maxDegree,
float min,
float max) |
| Modifier and Type | Method and Description |
|---|---|
float |
get_border(float x,
float y) |
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 checking to see if
border conditions apply.
|
ImageType<ImageFloat32> |
getImageType()
Type of image it can process
|
getBorder, getFastBorderX, getFastBorderY, getImage, isInFastBounds, setBorder, setImagepublic ImplPolynomialPixel_F32(int maxDegree,
float min,
float max)
public float get(float x,
float y)
InterpolatePixelSx - Point's x-coordinate. x >= 0 && x < image.width or all values if border specifiedy - Point's y-coordinate. y >= 0 && y < image.height or all values if border specifiedpublic 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_border(float x,
float y)
public ImageType<ImageFloat32> getImageType()
InterpolatePixel