Mercurial > repos > imgteam > morphological_operations
annotate morphological_operations.xml @ 0:f10112b317a1 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
author | imgteam |
---|---|
date | Fri, 08 Mar 2024 11:00:41 +0000 |
parents | |
children | ad795d260ba8 |
rev | line source |
---|---|
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
1 <tool id="morphological_operations" name="Apply a morphological operation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
2 <description>with SciPy</description> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
3 <macros> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.12.0</token> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
6 </macros> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
7 <edam_operations> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
8 <edam_operation>operation_3443</edam_operation> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
9 </edam_operations> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
10 <xrefs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
11 <xref type="biii">scipy</xref> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
12 </xrefs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
13 <requirements> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
14 <requirement type="package" version="1.12.0">scipy</requirement> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
15 <requirement type="package" version="0.22.0">scikit-image</requirement> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
16 </requirements> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
17 <command><![CDATA[ |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
18 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
19 ## Inputs |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
20 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
21 python '$__tool_directory__/morphological_operations.py' '$image' |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
22 --operation $operation |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
23 --selem-shape $selem_shape |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
24 --selem-size $selem_size |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
25 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
26 ## Outputs |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
27 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
28 ./result.tiff |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
29 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
30 ]]> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
31 </command> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
32 <inputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
33 <param name="image" type="data" format="png,tiff" label="Input image" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
34 <param label="Morphological operation" argument="--operation" type="select"> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
35 <option value="erosion" selected="True">Erosion</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
36 <option value="dilation">Dilation</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
37 <option value="opening">Opening</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
38 <option value="closing">Closing</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
39 <option value="fill_holes">Fill holes</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
40 </param> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
41 <param label="Structuring element" argument="--selem-shape" type="select"> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
42 <option value="disk" selected="True">Disk</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
43 <option value="square">Square</option> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
44 </param> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
45 <param label="Structuring element size" argument="--selem-size" type="integer" min="1" max="256" value="1" help="The radius of the disk, or the width of the square, in pixels." /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
46 </inputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
47 <outputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
48 <data format="tiff" name="result" from_work_dir="result.tiff" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
49 </outputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
50 <tests> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
51 <!-- Test binary operations (input images with two distinct values) --> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
52 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
53 <param name="image" value="input1.tiff" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
54 <param name="operation" value="erosion" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
55 <param name="selem_shape" value="disk" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
56 <param name="selem_size" value="1" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
57 <output name="result" value="output1_erosion.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
58 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
59 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
60 <param name="image" value="input1.tiff" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
61 <param name="operation" value="dilation" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
62 <param name="selem_shape" value="disk" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
63 <param name="selem_size" value="2" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
64 <output name="result" value="output1_dilation.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
65 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
66 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
67 <param name="image" value="input1.tiff" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
68 <param name="operation" value="opening" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
69 <param name="selem_shape" value="square" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
70 <param name="selem_size" value="1" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
71 <output name="result" value="output1_opening.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
72 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
73 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
74 <param name="image" value="input1.tiff" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
75 <param name="operation" value="closing" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
76 <param name="selem_shape" value="square" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
77 <param name="selem_size" value="2" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
78 <output name="result" value="output1_closing.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
79 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
80 <!-- Test intensity-based operations (more than two distinct values) --> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
81 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
82 <param name="image" value="input3.png" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
83 <param name="operation" value="erosion" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
84 <param name="selem_shape" value="disk" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
85 <param name="selem_size" value="1" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
86 <output name="result" value="output3_erosion.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
87 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
88 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
89 <param name="image" value="input3.png" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
90 <param name="operation" value="dilation" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
91 <param name="selem_shape" value="disk" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
92 <param name="selem_size" value="2" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
93 <output name="result" value="output3_dilation.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
94 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
95 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
96 <param name="image" value="input3.png" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
97 <param name="operation" value="opening" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
98 <param name="selem_shape" value="square" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
99 <param name="selem_size" value="1" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
100 <output name="result" value="output3_opening.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
101 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
102 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
103 <param name="image" value="input3.png" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
104 <param name="operation" value="closing" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
105 <param name="selem_shape" value="square" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
106 <param name="selem_size" value="2" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
107 <output name="result" value="output3_closing.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
108 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
109 <!-- Test multi-channel image (with two distinct values per channel) --> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
110 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
111 <param name="image" value="input2.png" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
112 <param name="operation" value="fill_holes" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
113 <param name="selem_shape" value="disk" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
114 <param name="selem_size" value="1" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
115 <output name="result" value="output2_fill_holes.tiff" ftype="tiff" compare="sim_size" delta="10" /> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
116 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
117 </tests> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
118 <help> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
119 Applies a morphological operation to a 2-D image. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
120 For multi-channel images, the operation is applied to each channel separately. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
121 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
122 The following operations are supported: |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
123 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
124 - **Erosion:** Shrink bright areas. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
125 - **Dilation:** Grow bright areas. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
126 - **Opening:** Erosion followed by Dilation. Erases tiny bright spots. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
127 - **Closing:** Dilation followed by Erosion. Erases tiny dark holes. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
128 - **Fill holes:** Fills the holes (dark areas) in binary images. |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
129 </help> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
130 <citations> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
131 <citation type="doi">10.1038/s41592-019-0686-2</citation> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
132 </citations> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
133 </tool> |