Class NormalizedToPixelError


  • public class NormalizedToPixelError
    extends java.lang.Object
    Simple function for converting error in normalized image coordinates to pixels using intrinsic camera parameters. Better to use tested code than cut and pasting.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double errorSq​(double a_x, double a_y, double b_x, double b_y)  
      double errorSq​(georegression.struct.point.Point2D_F64 a, georegression.struct.point.Point2D_F64 b)  
      void set​(double fx, double fy, double skew)
      Specify camera intrinsic parameters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NormalizedToPixelError

        public NormalizedToPixelError​(double fx,
                                      double fy,
                                      double skew)
      • NormalizedToPixelError

        public NormalizedToPixelError()
    • Method Detail

      • set

        public void set​(double fx,
                        double fy,
                        double skew)
        Specify camera intrinsic parameters
        Parameters:
        fx - focal length x
        fy - focal length y
        skew - camera skew
      • errorSq

        public double errorSq​(georegression.struct.point.Point2D_F64 a,
                              georegression.struct.point.Point2D_F64 b)
      • errorSq

        public double errorSq​(double a_x,
                              double a_y,
                              double b_x,
                              double b_y)