Class RemoveBrownNtoN_F64

java.lang.Object
boofcv.alg.distort.brown.RemoveBrownNtoN_F64
All Implemented Interfaces:
Point2Transform2_F64

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

  • Constructor Details

    • RemoveBrownNtoN_F64

      public RemoveBrownNtoN_F64()
    • RemoveBrownNtoN_F64

      public RemoveBrownNtoN_F64(double tol)
  • Method Details

    • setTolerance

      public void setTolerance(double tol)
    • setDistortion

      public RemoveBrownNtoN_F64 setDistortion(@Nullable @org.jetbrains.annotations.Nullable double[] radial, double t1, double t2)
    • compute

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

      public RemoveBrownNtoN_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
    • removeRadial

      public static void removeRadial(double x, double y, double[] radial, double t1, double t2, Point2D_F64 out, double tol)
      Static function for removing radial and tangential distortion
      Parameters:
      x - Distorted x-coordinate normalized image coordinate
      y - Distorted y-coordinate normalized image coordinate
      radial - Radial distortion parameters
      t1 - tangential distortion
      t2 - tangential distortion
      out - Undistorted normalized image coordinate
      tol - convergence tolerance