Class AddBrownPtoN_F64

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

    public class AddBrownPtoN_F64
    extends java.lang.Object
    implements boofcv.struct.distort.Point2Transform2_F64
    Given an undistorted pixel coordinate, compute the distorted normalized image coordinate.
    • Constructor Detail

      • AddBrownPtoN_F64

        public AddBrownPtoN_F64()
    • Method Detail

      • setK

        public AddBrownPtoN_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 AddBrownPtoN_F64 setDistortion​(double[] radial,
                                              double t1,
                                              double t2)
        Specify intrinsic camera parameters
        Parameters:
        radial - Radial distortion parameters
      • compute

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

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