Commit 6de27a2c authored by Aliaksandr Halavatyi's avatar Aliaksandr Halavatyi

adding PathUtils

parent c271b750
package feedback.fly.embryo.utils;
import java.io.File;
public abstract class PathUtils {
public final String extractExperimentName(File _imageFile, String _endSequence) {
String Exper_nm=_imageFile.getName();
Exper_nm=Exper_nm.substring(0, Exper_nm.indexOf(_endSequence));
return Exper_nm;
}
}
......@@ -7,7 +7,6 @@ import java.io.File;
import de.embl.cba.flyreg.FlyEmbryoRegistrationSettings;
import de.embl.cba.flyreg.FlyEmbryoSingleChannelRegistration;
import de.embl.cba.morphometry.Utils;
import ij.ImagePlus;
import loci.plugins.BF;
import net.imagej.ImageJ;
......@@ -35,7 +34,6 @@ public class FindEmbryoOrientationTischi {
final FlyEmbryoSingleChannelRegistration registration = new FlyEmbryoSingleChannelRegistration( settings, opService );
final double[] calibration = Utils.getCalibration( imagePlus );
registration.run(imagePlus, 0);
......
package jobdistributors.run.debug;
import feedback.fly.embryo.jobdistributors.JobDistributor_AutoSelectionMultiple_AFocus_Rotation_Split;
//import feedback.fly.embryo.jobdistributors.JobDistributor_ManualSelection3DMultiple_AFocus_Rotation_Split;
//import feedback.fly.embryo.jobdistributors.JobDistributor_AutoSelectionMultiple_AFocus_Rotation_Split;
import feedback.fly.embryo.jobdistributors.JobDistributor_ManualSelection3DMultiple_AFocus_Rotation_Split;
import ij.IJ;
import net.imagej.ImageJ;
public class RunJobDistributor {
public static void main(String[] args) {
//Class<?> clazz = JobDistributor_ManualSelection3DMultiple_AFocus_Rotation_Split.class;
Class<?> clazz = JobDistributor_AutoSelectionMultiple_AFocus_Rotation_Split.class;
Class<?> clazz = JobDistributor_ManualSelection3DMultiple_AFocus_Rotation_Split.class;
//Class<?> clazz = JobDistributor_AutoSelectionMultiple_AFocus_Rotation_Split.class;
// start ImageJ
ImageJ ij2=new ImageJ();
......
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