Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BioImage Informatics
MinCostSurface_Projection
Commits
9981ddbb
Commit
9981ddbb
authored
Oct 08, 2019
by
HongKee Moon
Browse files
Menu name rearranged
parent
8b67d02c
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/mpicbg/scf/mincostsurface/MinCost2ZSurfaceMT_Ops.java
View file @
9981ddbb
...
@@ -29,7 +29,7 @@ import java.io.File;
...
@@ -29,7 +29,7 @@ import java.io.File;
*
*
* The image chunks are made by height / numThreads. Each chunk is processed in MinCostZSurface class
* The image chunks are made by height / numThreads. Each chunk is processed in MinCostZSurface class
*/
*/
@Plugin
(
type
=
Op
.
class
,
menuPath
=
"Plugins>MinCost2ZSurface
MT
"
,
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
{
public
class
MinCost2ZSurfaceMT_Ops
<
T
extends
RealType
<
T
>
&
NativeType
<
T
>>
extends
AbstractOp
{
//
//
// should implement Map if I want to benefit the ops matching
// should implement Map if I want to benefit the ops matching
...
...
src/main/java/de/mpicbg/scf/mincostsurface/MinCost2ZSurface_Ops.java
View file @
9981ddbb
...
@@ -22,7 +22,7 @@ import org.scijava.plugin.Plugin;
...
@@ -22,7 +22,7 @@ import org.scijava.plugin.Plugin;
import
java.io.File
;
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
{
public
class
MinCost2ZSurface_Ops
<
T
extends
RealType
<
T
>
&
NativeType
<
T
>
>
extends
AbstractOp
{
//
//
// should implement Map if I want to benefit the ops matching
// should implement Map if I want to benefit the ops matching
...
...
src/main/java/de/mpicbg/scf/mincostsurface/MinCostZSurfaceMT_Ops.java
View file @
9981ddbb
...
@@ -30,7 +30,7 @@ import java.io.File;
...
@@ -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.
* 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.
* Caution: too many threads gives an error as well.
*/
*/
@Plugin
(
type
=
Op
.
class
,
menuPath
=
"Plugins>MinCostZSurface
MT
"
,
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
{
public
class
MinCostZSurfaceMT_Ops
<
T
extends
RealType
<
T
>
&
NativeType
<
T
>>
extends
AbstractOp
{
//
//
// should implement ops if I want to benefit the matching mechanism
// 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
...
@@ -239,9 +239,8 @@ public class MinCostZSurfaceMT_Ops< T extends RealType<T> & NativeType< T >> ext
ij
.
ui
().
showUI
();
ij
.
ui
().
showUI
();
// ask the user for a file to open
// 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
)
{
if
(
file
!=
null
)
{
// load the dataset
// load the dataset
final
Dataset
dataset
=
ij
.
scifio
().
datasetIO
().
open
(
file
.
getPath
());
final
Dataset
dataset
=
ij
.
scifio
().
datasetIO
().
open
(
file
.
getPath
());
...
...
src/main/java/de/mpicbg/scf/mincostsurface/MinCostZSurface_Ops.java
View file @
9981ddbb
...
@@ -23,7 +23,7 @@ import org.scijava.plugin.Plugin;
...
@@ -23,7 +23,7 @@ import org.scijava.plugin.Plugin;
import
java.io.File
;
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
{
public
class
MinCostZSurface_Ops
<
T
extends
RealType
<
T
>
&
NativeType
<
T
>
>
extends
AbstractOp
{
//
//
// should implement ops if I want to benefit the matching mechanism
// should implement ops if I want to benefit the matching mechanism
...
...
src/main/java/de/mpicbg/scf/mincostsurface/ResliceAlongZMap_Ops.java
View file @
9981ddbb
...
@@ -30,7 +30,7 @@ import java.io.File;
...
@@ -30,7 +30,7 @@ import java.io.File;
//@Plugin(type = Command.class, menuPath = "Plugins>Z map reslice")
//@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
{
public
class
ResliceAlongZMap_Ops
<
T
extends
NumericType
<
T
>
&
NativeType
<
T
>,
U
extends
RealType
<
U
>
>
extends
AbstractOp
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment