annotate imagej2_binary_to_edm.xml @ 2:c58b939c862a draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8ea6a4271431c05c82b09c0d3e629b13e6ea7936
author iuc
date Fri, 22 Jul 2016 23:15:40 -0400
parents 51188f1b546e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
2 <tool id="imagej2_binary_to_edm" name="Convert binary image to EDM" version="@WRAPPER_VERSION@.0">
1
51188f1b546e planemo upload commit 378c3ecfbaed0330faf197811d379431b0f9e92c-dirty
iuc
parents: 0
diff changeset
3 <description>(Euclidean Distance Map)</description>
0
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
4 <macros>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
5 <import>imagej2_macros.xml</import>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
6 </macros>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
7 <expand macro="fiji_requirements" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
8 <command>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
9 <![CDATA[
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
10 python $__tool_directory__/imagej2_binary_to_edm.py
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
11 --input "$input"
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
12 --input_datatype $input.ext
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
13 @make_binary_args@
2
c58b939c862a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8ea6a4271431c05c82b09c0d3e629b13e6ea7936
iuc
parents: 1
diff changeset
14 --jython_script $__tool_directory__/imagej2_binary_to_edm_jython_script.py
0
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
15 --output_datatype $output.ext
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
16 --output "$output"
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
17 ]]>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
18 </command>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
19 <inputs>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
20 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="input" type="data" label="Select image"/>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
21 <expand macro="make_binary_params" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
22 </inputs>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
23 <outputs>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
24 <data name="output" format_source="input" label="${tool.name} on ${on_string}"/>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
25 </outputs>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
26 <tests>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
27 <test>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
28 <param name="input" value="blobs.gif" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
29 <param name="iterations" value="1" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
30 <param name="count" value="1" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
31 <output name="output" file="blobs_edm.gif" compare="sim_size" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
32 </test>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
33 <test>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
34 <param name="input" value="blobs.gif" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
35 <param name="iterations" value="10" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
36 <param name="count" value="3" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
37 <param name="black_background" value="yes" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
38 <param name="pad_edges_when_eroding" value="yes" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
39 <output name="output" file="blobs_black_edm.gif" compare="sim_size" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
40 </test>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
41 </tests>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
42 <help>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
43
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
44 .. class:: warningmark
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
45
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
46 @requires_binary_input@
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
47
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
48 **What it does**
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
49
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
50 <![CDATA[
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
51 Converts a binary image into an 8-bit grayscale Euclidean Distance Map (EDM). Each foreground
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
52 (nonzero) pixel in the binary image is assigned a value equal to its distance from the nearest
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
53 background (zero) pixel.
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
54
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
55 - **Iterations** - Specifies the number of times erosion, dilation, opening, and closing are performed.
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
56 - **Count** - Specifies the number of adjacent background pixels necessary before a pixel is removed from the edge of an object during erosion and the number of adjacent foreground pixels necessary before a pixel is added to the edge of an object during dilation.
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
57 - **Black background** - If **Yes**, binary images will be created without using an inverted LUT and an assumption that the input image contains white objects on a black background will be made.
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
58 - **Pad edges when eroding** - If **Yes**, eroding does not erode from the edges of the image.
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
59
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
60 ]]>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
61
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
62 </help>
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
63 <expand macro="fiji_headless_citations" />
c43f184786a0 planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents:
diff changeset
64 </tool>