Commit 270b2b7a authored by Andrey Filippov's avatar Andrey Filippov

fixing slice titles

parent 4f3abbd2
......@@ -6455,7 +6455,11 @@ public class OpticalFlow {
String [] scene_titles = new String [num_scenes];
for (int nscene = 0; nscene < fpixels.length; nscene++) {
fpixels[nscene] = (float[]) imp_targets.getStack().getPixels(nscene+first_corr+1);
scene_titles[nscene] = imp_targets.getStack().getSliceLabel(nscene+first_corr+1);
String s = imp_targets.getStack().getSliceLabel(nscene+first_corr+1);
if (s.indexOf("-0") >=0) {
s=s.substring(0, s.indexOf("-0"));
}
scene_titles[nscene] = s;// imp_targets.getStack().getSliceLabel(nscene+first_corr+1);
}
master_CLT.processMovingTargets(
clt_parameters, // CLTParameters clt_parameters,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment