System.out.println("Overlap mode, partially reusing previous scenes adjustment scenes, number of scenes = "+
(ref_index-cent_index)+" of "+(ref_index-adjusted_scene_index));
System.out.println("Overlap mode 2, partially reusing previous scenes adjustment scenes, number of scenes = "+
(ref_index-cent_index)+" of "+(ref_index-adjusted_scene_index)+", cent_index = "+cent_index+", ref_index="+ref_index);
}
}
reused_overlap=true;
...
...
@@ -283,6 +283,10 @@ public class Interscene {
}
}
if(debugLevel>-3){
System.out.println("setInitialOrientationsCenterIms(): Running OpticalFlow.buildRefDSI() for center scene # "+cent_index+", : "+quadCLTs[cent_index].getImageName());
}
// create new dsi for quadCLTs[earliest_scene1]
OpticalFlow.buildRefDSI(// returned is a different instance than input -FIXED
System.out.println("buildRefDSI(): suspecting processing *-DSI_MAIN.tiff without loading new images to the GPU, running quadCLT_ref.saveQuadClt(). 12/07/2025");
booleanshow_sources=debugLevel>1000;
if(show_sources){
quadCLT_ref.showImageData();
}
}
quadCLT_ref.preExpandCLTQuad3d(// returns ImagePlus, but it already should be saved/shown
clt_parameters,
...
...
@@ -5179,7 +5198,10 @@ public class OpticalFlow {
if(center_reference){// invalidate pointer to recalculate
quadCLTs[last_index].setRefPointer((String)null);
}
// quadCLTs[ref_index] =
if(debugLevel>-3){
System.out.println("buildSeries(): Running OpticalFlow.buildRefDSI() for last_index scene # "+last_index+", : "+quadCLTs[last_index].getImageName());
}
buildRefDSI(// returned is a different instance than input -FIXED
clt_parameters,// CLTParameters clt_parameters,
fast,// boolean fast,
...
...
@@ -5241,25 +5263,27 @@ public class OpticalFlow {
}
}// while (blue_sky == null)
booleanearly_try_back=false;// true;
// if (!force_initial_orientations) { // moved here as setDSRBG fails with .dsi={null, null,...,null};
// by now if it was center_reference the last ref_dsi is restored with optional blue sky.