Class 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
      void compute​(int x, int y, georegression.struct.point.Point2D_F32 output)  
      boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32> copyConcurrent()  
      georegression.struct.point.Point2D_F32 getPixel​(int x, int y)  
      boolean isIgnoreNaN()  
      void setIgnoreNaN​(boolean ignoreNaN)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        compute in interface boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>
      • copyConcurrent

        public boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32> copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>