Package boofcv.alg.distort
Class PixelTransformCached_F32
- java.lang.Object
-
- boofcv.alg.distort.PixelTransformCached_F32
-
- All Implemented Interfaces:
boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>
public class PixelTransformCached_F32 extends java.lang.Object implements boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>Precomputes transformations for each pixel in the image. Doesn't check bounds and will give an incorrect result or crash if outside pixels are requested.
-
-
Constructor Summary
Constructors Constructor Description PixelTransformCached_F32(int width, int height, boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32> transform)PixelTransformCached_F32(int width, int height, boofcv.struct.distort.Point2Transform2_F32 transform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(int x, int y, georegression.struct.point.Point2D_F32 output)boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>copyConcurrent()georegression.struct.point.Point2D_F32getPixel(int x, int y)booleanisIgnoreNaN()voidsetIgnoreNaN(boolean ignoreNaN)
-
-
-
Constructor Detail
-
PixelTransformCached_F32
public PixelTransformCached_F32(int width, int height, boofcv.struct.distort.Point2Transform2_F32 transform)
-
PixelTransformCached_F32
public PixelTransformCached_F32(int width, int height, boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32> transform)
-
-
Method Detail
-
getPixel
public georegression.struct.point.Point2D_F32 getPixel(int x, int y)
-
isIgnoreNaN
public boolean isIgnoreNaN()
-
setIgnoreNaN
public void setIgnoreNaN(boolean ignoreNaN)
-
compute
public void compute(int x, int y, georegression.struct.point.Point2D_F32 output)- Specified by:
computein interfaceboofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>
-
copyConcurrent
public boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32> copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>
-
-