Commit fea4dfdc authored by Andrey Filippov's avatar Andrey Filippov

Works, before multi-target

parent 61eb0d79
...@@ -30,6 +30,7 @@ import java.awt.Button; ...@@ -30,6 +30,7 @@ import java.awt.Button;
import java.awt.Color; import java.awt.Color;
import java.awt.Component; import java.awt.Component;
import java.awt.Dialog; import java.awt.Dialog;
import java.awt.Dimension;
import java.awt.Font; import java.awt.Font;
import java.awt.Frame; import java.awt.Frame;
import java.awt.GraphicsEnvironment; import java.awt.GraphicsEnvironment;
...@@ -10099,6 +10100,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener { ...@@ -10099,6 +10100,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
//getSelectedFiles //getSelectedFiles
JFileChooser fc = new JFileChooser(); JFileChooser fc = new JFileChooser();
fc.setPreferredSize(new Dimension(800, 1000));
fc.setFileSelectionMode(directory ? JFileChooser.DIRECTORIES_ONLY : JFileChooser.FILES_ONLY); fc.setFileSelectionMode(directory ? JFileChooser.DIRECTORIES_ONLY : JFileChooser.FILES_ONLY);
fc.setMultiSelectionEnabled(true); fc.setMultiSelectionEnabled(true);
if ((title != null) && (title.length() > 0)) if ((title != null) && (title.length() > 0))
...@@ -10148,6 +10150,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener { ...@@ -10148,6 +10150,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
} }
JFileChooser fc = new JFileChooser(); JFileChooser fc = new JFileChooser();
fc.setPreferredSize(new Dimension(800, 1000));
fc.setFileSelectionMode(directory ? JFileChooser.DIRECTORIES_ONLY : JFileChooser.FILES_ONLY); fc.setFileSelectionMode(directory ? JFileChooser.DIRECTORIES_ONLY : JFileChooser.FILES_ONLY);
fc.setMultiSelectionEnabled(false); fc.setMultiSelectionEnabled(false);
if ((title != null) && (title.length() > 0)) if ((title != null) && (title.length() > 0))
......
...@@ -6094,7 +6094,7 @@ public class OpticalFlow { ...@@ -6094,7 +6094,7 @@ public class OpticalFlow {
} else { } else {
if (debugLevel > -4) { if (debugLevel > -4) {
System.out.println("Spipping update of center CLT (it is reaed from "+center_CLT.getImagePath()+")."); System.out.println("Skipping update of center CLT (it is read from "+center_CLT.getImagePath()+").");
} }
} }
// setCenterAverage(); // setCenterAverage();
......
...@@ -412,13 +412,18 @@ public class QuadCLTCPU { ...@@ -412,13 +412,18 @@ public class QuadCLTCPU {
// If both local and parent exist - combine // If both local and parent exist - combine
// If rad old-style from parent - save it there as cumulative // If rad old-style from parent - save it there as cumulative
//What about DSI? //What about DSI?
if (debugLevel >-4) {
System.out.println("Restoring CenterClt");
}
double tolerance = clt_parameters.imp.cuas_clt_threshold; double tolerance = clt_parameters.imp.cuas_clt_threshold;
double decay = clt_parameters.imp.cuas_decay_average; double decay = clt_parameters.imp.cuas_decay_average;
if ((full_path != null) && full_path.endsWith(Prefs.getFileSeparator())) { // null if ((full_path != null) && full_path.endsWith(Prefs.getFileSeparator())) { // null
full_path = full_path.substring(0, full_path.length()-1); full_path = full_path.substring(0, full_path.length()-1);
} }
if (debugLevel >-4) {
System.out.println("Restoring CenterClt, full_path="+full_path);
}
double [][] parent_dsi = null; double [][] parent_dsi = null;
int tilesX = ref_clt.getTilesX(); int tilesX = ref_clt.getTilesX();
int num_colors = ref_clt.getNumColors(); int num_colors = ref_clt.getNumColors();
......
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