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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
errorSq
(double a_x, double a_y, double b_x, double b_y) double
errorSq
(Point2D_F64 a, Point2D_F64 b) void
residuals
(double a_x, double a_y, double b_x, double b_y, Point2D_F64 error) Computes the residuals along x and yvoid
residuals
(Point2D_F64 a, Point2D_F64 b, Point2D_F64 error) Computes the residuals along x and yvoid
setTo
(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
-