System.out.println("combo_dsi did not exist, updating DSI-MAIN with updated disparity at infinity for reference scene "+quadCLTs[ref_index].getImageName());
}
}else{
if(debugLevel>-3){
System.out.println("Updated combo_dsi (-INTER-INTRA) for reference scene "+quadCLTs[ref_index].getImageName());
}
}
quadCLTs[ref_index].incDispInfinityRef(// add to previous value that was used to generate INTER-INTRA... (intersceneExport or SFM
inf_disp);// double disp)
// correct xyz
OpticalFlow.scaleImgXYZ(
1.0/scale_img,// double scale_xyz,
quadCLTs,//, // QuadCLT [] quadCLTs,
quadCLTs[ref_index]);//QuadCLT master_CLT)
quadCLTs[ref_index].saveInterProperties(// save properties for interscene processing (extrinsics, ers, ...)
null,// String path, // full name with extension or w/o path to use x3d directory
// null, // Properties properties, // if null - will only save extrinsics)
debugLevel);
/*
if (debugLevel > -3) {
System.out.println("Updating DSI-MAIN with updated disparity at infinity for reference scene "+quadCLTs[ref_index].getImageName());
}
quadCLTs[ref_index].saveDSIAll (
"-DSI_MAIN", // String suffix, // "-DSI_MAIN"
quadCLTs[ref_index].dsi);
*/
}else{
if(debugLevel>-3){
System.out.println("Skipping application of disparity adjustment in reference scene "+quadCLTs[ref_index].getImageName()+", scale_img="+scale_img);
}
}
}
}else{
earliest_scene=Interscene.reAdjustPairsLMAInterscene(// after combo dsi is available and preliminary poses are known
clt_parameters,// CLTParameters clt_parameters,
mb_max_gain,// double mb_max_gain,
lma_use_Z,// boolean use_Z,
lma_use_R,// boolean use_R,
disable_ers,// boolean disable_ers,
disable_ers_y,// boolean disable_ers_y,
disable_ers_r,// boolean disable_ers_r,
lma_xyzatr,// boolean lma_xyzatr,
configured_lma,// boolean configured_lma,
lpf_xy,// boolean lpf_xy, // lpf x and y, re-adjust X,Y,Z,A,T,R with pull for X,Y. Disables
avg_rlen,// double avg_rlen,
readjust_xy_ims,// boolean readjust_xy_ims, // readjust X,Y fromIMS linear velocities and full X,Y movement
// from the previous adjustment. Adjust A,T,R,Z (and optionally
// angular velocities) freely
reg_weight_xy,// double reg_weight_xy, // regularization weight for X and Y
reliable_ref,// boolean [] reliable_ref, // null or bitmask of reliable reference tiles