use of boofcv.alg.distort.SphereToNarrowPixel_F64 in project BoofCV by lessthanoptimal.
the class SimulatePlanarWorld method setCamera.
public void setCamera(CameraPinholeRadial model) {
output.reshape(model.width, model.height);
depthMap.reshape(model.width, model.height);
LensDistortionNarrowFOV factory = new LensDistortionRadialTangential(model);
pixelTo3 = new NarrowPixelToSphere_F64(factory.undistort_F64(true, false));
sphereToPixel = new SphereToNarrowPixel_F64(factory.distort_F64(false, true));
computeProjectionTable(model);
}
Aggregations