Class RemoveBrownPtoN_F64

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

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

      • cx

        protected double cx
      • cy

        protected double cy
      • fx

        protected double fx
      • fy

        protected double fy
      • skew

        protected double skew
    • Constructor Detail

      • RemoveBrownPtoN_F64

        public RemoveBrownPtoN_F64()
      • RemoveBrownPtoN_F64

        public RemoveBrownPtoN_F64​(double tol)
    • Method Detail

      • setTolerance

        public void setTolerance​(double tol)
      • setK

        public RemoveBrownPtoN_F64 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_F64 setDistortion​(double[] radial,
                                                 double t1,
                                                 double t2)
      • compute

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

        public RemoveBrownPtoN_F64 copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.Point2Transform2_F64