publicdouble[][]getDLS(){// get disparity, disparity_lma, strength, sfm_gain
publicdouble[][]getDLS(){// get disparity, disparity_lma, strength, sfm_gain
if(dsi==null){
if(dsi==null){
// System.out.println("dsi== null, use spawnQuadCLT(), restoreFromModel(), ... to set it");
// System.out.println("dsi== null, use spawnQuadCLT(), restoreFromModel(), ... to set it");
returnnull;
returnnull;
}
}
double[][]dls=newdouble[4][];
double[][]dls=newdouble[4][];
...
@@ -1294,7 +1294,7 @@ public class QuadCLTCPU {
...
@@ -1294,7 +1294,7 @@ public class QuadCLTCPU {
this.new_image_data=qParent.new_image_data;
this.new_image_data=qParent.new_image_data;
if(qParent.saturation_imp!=null)this.saturation_imp=qParent.saturation_imp.clone();// each camera will be re-written, not just modified, so shallow copy
if(qParent.saturation_imp!=null)this.saturation_imp=qParent.saturation_imp.clone();// each camera will be re-written, not just modified, so shallow copy