use of boofcv.alg.geo.NormalizedToPixelError in project BoofCV by lessthanoptimal.
the class PnPStereoDistanceReprojectionSq method setStereoParameters.
public void setStereoParameters(StereoParameters param) {
this.leftToRight = param.getRightToLeft().invert(null);
CameraPinholeRadial left = param.left;
CameraPinholeRadial right = param.right;
leftPixelError = new NormalizedToPixelError(left.fx, left.fy, left.skew);
rightPixelError = new NormalizedToPixelError(right.fx, right.fy, right.skew);
}
Aggregations