Mercurial > repos > imgteam > morphological_operations
annotate morphological_operations.xml @ 1:ad795d260ba8 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
author | imgteam |
---|---|
date | Thu, 04 Apr 2024 15:25:44 +0000 |
parents | f10112b317a1 |
children | 4e25befab102 |
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> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
4 <import>creators.xml</import> |
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
5 <import>tests.xml</import> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
6 <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
|
7 <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
|
8 </macros> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
9 <creator> |
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
10 <expand macro="creators/bmcv"/> |
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
11 </creator> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
12 <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
|
13 <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
|
14 </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
|
15 <xrefs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
16 <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
|
17 </xrefs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
18 <requirements> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
19 <requirement type="package" version="@TOOL_VERSION@">scipy</requirement> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
20 <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
|
21 </requirements> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
22 <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
|
23 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
24 ## Inputs |
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 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
|
27 --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
|
28 --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
|
29 --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
|
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 ## Outputs |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
32 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
33 ./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
|
34 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
35 ]]> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
36 </command> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
37 <inputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
38 <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
|
39 <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
|
40 <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
|
41 <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
|
42 <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
|
43 <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
|
44 <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
|
45 </param> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
46 <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
|
47 <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
|
48 <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
|
49 </param> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
50 <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
|
51 </inputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
52 <outputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
53 <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
|
54 </outputs> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
55 <tests> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
56 <!-- 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
|
57 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
58 <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
|
59 <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
|
60 <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
|
61 <param name="selem_size" value="1" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
62 <expand macro="tests/binary_image_diff" name="result" value="output1_erosion.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
63 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
64 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
65 <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
|
66 <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
|
67 <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
|
68 <param name="selem_size" value="2" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
69 <expand macro="tests/binary_image_diff" name="result" value="output1_dilation.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
70 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
71 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
72 <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
|
73 <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
|
74 <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
|
75 <param name="selem_size" value="1" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
76 <expand macro="tests/binary_image_diff" name="result" value="output1_opening.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
77 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
78 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
79 <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
|
80 <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
|
81 <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
|
82 <param name="selem_size" value="2" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
83 <expand macro="tests/binary_image_diff" name="result" value="output1_closing.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
84 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
85 <!-- 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
|
86 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
87 <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
|
88 <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
|
89 <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
|
90 <param name="selem_size" value="1" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
91 <expand macro="tests/intensity_image_diff" name="result" value="output3_erosion.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
92 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
93 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
94 <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
|
95 <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
|
96 <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
|
97 <param name="selem_size" value="2" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
98 <expand macro="tests/intensity_image_diff" name="result" value="output3_dilation.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
99 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
100 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
101 <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
|
102 <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
|
103 <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
|
104 <param name="selem_size" value="1" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
105 <expand macro="tests/intensity_image_diff" name="result" value="output3_opening.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
106 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
107 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
108 <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
|
109 <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
|
110 <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
|
111 <param name="selem_size" value="2" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
112 <expand macro="tests/intensity_image_diff" name="result" value="output3_closing.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
113 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
114 <!-- 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
|
115 <test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
116 <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
|
117 <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
|
118 <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
|
119 <param name="selem_size" value="1" /> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
120 <expand macro="tests/intensity_image_diff" name="result" value="output2_fill_holes.tiff" ftype="tiff"/> |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
121 </test> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
122 </tests> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
123 <help> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
124 |
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
125 **Applies a morphological operation to a 2-D image.** |
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
126 |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
127 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
|
128 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
129 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
|
130 |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
131 - **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
|
132 - **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
|
133 - **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
|
134 - **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
|
135 - **Fill holes:** Fills the holes (dark areas) in binary images. |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
136 |
0
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
137 </help> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
138 <citations> |
f10112b317a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c6d2a4fb19b54c804029ae3d52eb9fb2619e4265
imgteam
parents:
diff
changeset
|
139 <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
|
140 </citations> |
1
ad795d260ba8
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
0
diff
changeset
|
141 </tool> |