Class RemoveBrownPtoN_F64

All Implemented Interfaces:

public class RemoveBrownPtoN_F64
extends Object
implements Point2Transform2_F64
Converts the observed distorted pixels into normalized image coordinates.
  • Field Details

    • cx

      public double cx
    • cy

      public double cy
    • fx

      public double fx
    • fy

      public double fy
    • skew

      public double skew
    • params

      public RadialTangential_F64 params
  • Constructor Details

    • RemoveBrownPtoN_F64

      public RemoveBrownPtoN_F64()
    • RemoveBrownPtoN_F64

      public RemoveBrownPtoN_F64​(double tol)
  • Method Details

    • 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
      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​(@Nullable @org.jetbrains.annotations.Nullable double[] radial, double t1, double t2)
    • setDistortion

      public RemoveBrownPtoN_F64 setDistortion​(double radial1, double radial2)
    • compute

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

      public RemoveBrownPtoN_F64 copyConcurrent()
      Description copied from interface: Point2Transform2_F64
      Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call to Point2Transform2_F64.compute(double, double, georegression.struct.point.Point2D_F64) is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.
      Specified by:
      copyConcurrent in interface Point2Transform2_F64
    • reset

      public void reset()