Class PnPStereoDistanceReprojectionSq

java.lang.Object
boofcv.alg.geo.pose.PnPStereoDistanceReprojectionSq
All Implemented Interfaces:
DistanceFromModelMultiView<Se3_F64,Stereo2D3D>, DistanceFromModel<Se3_F64,Stereo2D3D>

public class PnPStereoDistanceReprojectionSq extends Object implements DistanceFromModelMultiView<Se3_F64,Stereo2D3D>

Computes sum of reprojection error squared in pixels for a pair of stereo observations. If the point is behind either the left or right camera and can't be viewed then Double.MAX_VALUE is returned.

error = dx0^2 + dy0^2 + dx1^2 + dy1^2

where dx0 = residual along x-axis in image 0