Commit 9981ddbb authored by moon's avatar moon

Menu name rearranged

parent 8b67d02c
......@@ -29,7 +29,7 @@ import java.io.File;
*
* The image chunks are made by height / numThreads. Each chunk is processed in MinCostZSurface class
*/
@Plugin(type = Op.class, menuPath = "Plugins>MinCost2ZSurfaceMT", name = "MinCost2ZSurfaceMT", headless = true, label = "MinCost2ZSurfaceMT")
@Plugin(type = Op.class, menuPath = "Plugins>MinCost2ZSurface>Multi Threads", name = "MinCost2ZSurfaceMT", headless = true, label = "MinCost2ZSurfaceMT")
public class MinCost2ZSurfaceMT_Ops<T extends RealType<T> & NativeType<T>> extends AbstractOp {
//
// should implement Map if I want to benefit the ops matching
......
......@@ -22,7 +22,7 @@ import org.scijava.plugin.Plugin;
import java.io.File;
@Plugin(type = Op.class, menuPath = "Plugins>MinCost2ZSurface", name="MinCost2ZSurface", headless = true, label="MinCost2ZSurface")
@Plugin(type = Op.class, menuPath = "Plugins>MinCost2ZSurface>Single Thread", name="MinCost2ZSurface", headless = true, label="MinCost2ZSurface")
public class MinCost2ZSurface_Ops < T extends RealType<T> & NativeType< T > > extends AbstractOp {
//
// should implement Map if I want to benefit the ops matching
......
......@@ -30,7 +30,7 @@ import java.io.File;
* This class is not necessary as a single thread can deal with it in a fairly fast way.
* Caution: too many threads gives an error as well.
*/
@Plugin(type = Op.class, menuPath = "Plugins>MinCostZSurfaceMT", name="MinCostZSurfaceMT", headless = true, label="MinCostZSurfaceMT")
@Plugin(type = Op.class, menuPath = "Plugins>MinCostZSurface>Multi Threads", name="MinCostZSurfaceMT", headless = true, label="MinCostZSurfaceMT")
public class MinCostZSurfaceMT_Ops< T extends RealType<T> & NativeType< T >> extends AbstractOp {
//
// should implement ops if I want to benefit the matching mechanism
......@@ -239,9 +239,8 @@ public class MinCostZSurfaceMT_Ops< T extends RealType<T> & NativeType< T >> ext
ij.ui().showUI();
// ask the user for a file to open
// final File file = ij.ui().chooseFile(null, "open");
final File file = ij.ui().chooseFile(null, "open");
final File file = new File("/Users/moon/temp/20190129_wingsdic_400nm20E_upcrawl_000-z1-z213.tif");
if (file != null) {
// load the dataset
final Dataset dataset = ij.scifio().datasetIO().open(file.getPath());
......
......@@ -23,7 +23,7 @@ import org.scijava.plugin.Plugin;
import java.io.File;
@Plugin(type = Op.class, menuPath = "Plugins>MinCostZSurface", name="MinCostZSurface", headless = true, label="MinCostZSurface")
@Plugin(type = Op.class, menuPath = "Plugins>MinCostZSurface>Single Thread", name="MinCostZSurface", headless = true, label="MinCostZSurface")
public class MinCostZSurface_Ops< T extends RealType<T> & NativeType< T > > extends AbstractOp {
//
// should implement ops if I want to benefit the matching mechanism
......
......@@ -30,7 +30,7 @@ import java.io.File;
//@Plugin(type = Command.class, menuPath = "Plugins>Z map reslice")
@Plugin(type = Op.class, name="zMapReslice", headless = true, label="zMapReslice", visible=true, menuPath = "Plugins>Z map reslice")
@Plugin(type = Op.class, name="zMapReslice", headless = true, label="zMapReslice", visible=true, menuPath = "Plugins>Z map reslice>Single Thread")
public class ResliceAlongZMap_Ops < T extends NumericType<T> & NativeType< T >, U extends RealType<U> > extends AbstractOp {
......
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