Search in sources :

Example 1 with NarrowPixelToSphere_F64

use of boofcv.alg.distort.NarrowPixelToSphere_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);
}
Also used : LensDistortionRadialTangential(boofcv.alg.distort.radtan.LensDistortionRadialTangential) NarrowPixelToSphere_F64(boofcv.alg.distort.NarrowPixelToSphere_F64) LensDistortionNarrowFOV(boofcv.alg.distort.LensDistortionNarrowFOV) SphereToNarrowPixel_F64(boofcv.alg.distort.SphereToNarrowPixel_F64)

Aggregations

LensDistortionNarrowFOV (boofcv.alg.distort.LensDistortionNarrowFOV)1 NarrowPixelToSphere_F64 (boofcv.alg.distort.NarrowPixelToSphere_F64)1 SphereToNarrowPixel_F64 (boofcv.alg.distort.SphereToNarrowPixel_F64)1 LensDistortionRadialTangential (boofcv.alg.distort.radtan.LensDistortionRadialTangential)1