Class RemoveBrownPtoN_F32

  • All Implemented Interfaces:
    boofcv.struct.distort.Point2Transform2_F32

    public class RemoveBrownPtoN_F32
    extends java.lang.Object
    implements boofcv.struct.distort.Point2Transform2_F32
    Converts the observed distorted pixels into normalized image coordinates.
    • Field Detail

      • cx

        protected float cx
      • cy

        protected float cy
      • fx

        protected float fx
      • fy

        protected float fy
      • skew

        protected float skew
    • Constructor Detail

      • RemoveBrownPtoN_F32

        public RemoveBrownPtoN_F32()
      • RemoveBrownPtoN_F32

        public RemoveBrownPtoN_F32​(float tol)
    • Method Detail

      • setTolerance

        public void setTolerance​(float tol)
      • setK

        public RemoveBrownPtoN_F32 setK​(double fx,
                                        double fy,
                                        double skew,
                                        double cx,
                                        double cy)
        Specify camera calibration parameters
        Parameters:
        fx - Focal length x-axis in pixels
        fy - Focal length y-axis in pixels
        skew - skew in pixels
        cx - camera center x-axis in pixels
        cy - center center y-axis in pixels
      • setDistortion

        public RemoveBrownPtoN_F32 setDistortion​(double[] radial,
                                                 double t1,
                                                 double t2)
      • compute

        public void compute​(float x,
                            float y,
                            georegression.struct.point.Point2D_F32 out)
        Removes radial distortion
        Specified by:
        compute in interface boofcv.struct.distort.Point2Transform2_F32
        Parameters:
        x - Distorted x-coordinate pixel
        y - Distorted y-coordinate pixel
        out - Undistorted normalized coordinate.
      • copyConcurrent

        public RemoveBrownPtoN_F32 copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.Point2Transform2_F32