@Override public void setCalibration(StereoParameters parameters) { stereo.setCalibration(parameters); PointTransform_F64 leftPixelToNorm = LensDistortionOps.transformRadialToNorm_F64(parameters.left); PointTransform_F64 leftNormToPixel = LensDistortionOps.transformNormToRadial_F64(parameters.left); alg.setPixelToNorm(leftPixelToNorm); alg.setNormToPixel(leftNormToPixel); tracker.setCalibration(parameters.left); }
@Override public boolean process(T leftImage, T rightImage) { stereo.setImages(leftImage, rightImage); failed = alg.process(leftImage); return failed; }