/// geometryCorrection_main, // GeometryCorrection geometryCorrection_main, // if is aux camera using main cameras' coordinates. Disparity is still in aux camera pixels
cameraRadius=gc.cameraRadius;// =0; // average distance from the "mass center" of the sensors to the sensors
disparityRadius=gc.disparityRadius;// 150.0; // distance between cameras to normalize disparity units to. sqrt(2)*disparityRadius for quad camera (~=150mm)?
rByRDist=gc.rByRDist;// =null;
...
...
@@ -689,7 +691,8 @@ public class ErsCorrection extends GeometryCorrection {
XYZ_he=clone2d(XYZ_he);
XYZ_her=clone2d(XYZ_her);
rXY=clone2d(rXY);
rXY_ideal=clone2d(rXY_ideal);
// rXY_ideal = clone2d(rXY_ideal);
set_rXY_ideal(clone2d(gc.get_rXY_ideal()));//)
rByRDist=clone1d(rByRDist);// probably it is not needed