"Equalize per- sensor gains and offsets. Requires disparity map. Save to reference scene and with current scene (to .corr-zml).");
"Equalize per- sensor gains and offsets. Requires disparity map. Save to reference scene and with current scene (to .corr-zml).");
gd.addCheckbox("Re-calibrate photometric for each series",this.photo_each,
"Equalize per- sensor gains and offsets for each reference scene. Requires disparity map. Save to reference scene and with current scene (to .corr-xml).");
gd.addCheckbox("Propagate per-series to main",this.photo_to_main,
"Propagate scene sequence photometrics to the main instance to be applied to the next sequence and saved with corr-xml configuration."+
"\nIt is always propagated when calibration is run manually with photo_en = true.");
System.out.println("Propagating per-sequence photogrammetric calibration to main instance, will apply to next sequence and config file");
}
}
}else{
System.out.println("Without building reference DSI: (re)using photometric calibration from this sequence reference "+quadCLTs[ref_index].getPhotometricScene());
}
// read DSI_MAIN
// read DSI_MAIN
double[][]dsi=quadCLTs[ref_index].readDsiMain();
double[][]dsi=quadCLTs[ref_index].readDsiMain();
if(dsi[TwoQuadCLT.DSI_SPREAD_AUX]==null){
if(dsi[TwoQuadCLT.DSI_SPREAD_AUX]==null){
...
@@ -4362,6 +4526,7 @@ public class OpticalFlow {
...
@@ -4362,6 +4526,7 @@ public class OpticalFlow {
colorProcParameters,//
colorProcParameters,//
threadsMax,
threadsMax,
debugLevel);
debugLevel);
quadCLTs[ref_index].setQuadClt();// just in case ?