Package boofcv.alg.geo
Class NormalizedToPinholePixelError
java.lang.Object
boofcv.alg.geo.NormalizedToPinholePixelError
Simple function for converting error in normalized image coordinates to pixels using
intrinsic camera parameters. Better to use tested code than cut and pasting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleerrorSq(double a_x, double a_y, double b_x, double b_y) doubleerrorSq(Point2D_F64 a, Point2D_F64 b) voidresiduals(double a_x, double a_y, double b_x, double b_y, Point2D_F64 error) Computes the residuals along x and yvoidresiduals(Point2D_F64 a, Point2D_F64 b, Point2D_F64 error) Computes the residuals along x and yvoidsetTo(double fx, double fy, double skew) Specify camera intrinsic parameters
-
Constructor Details
-
NormalizedToPinholePixelError
public NormalizedToPinholePixelError(double fx, double fy, double skew) -
NormalizedToPinholePixelError
public NormalizedToPinholePixelError()
-
-
Method Details
-
setTo
public void setTo(double fx, double fy, double skew) Specify camera intrinsic parameters- Parameters:
fx- focal length xfy- focal length yskew- camera skew
-
errorSq
-
errorSq
public double errorSq(double a_x, double a_y, double b_x, double b_y) -
residuals
Computes the residuals along x and y -
residuals
Computes the residuals along x and y
-