Mercurial > repos > imgteam > mergeneighboursinlabelimage
comparison mergeneighboursinlabelimage.xml @ 0:07ac39c0e949 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
author | imgteam |
---|---|
date | Sat, 09 Feb 2019 14:38:38 -0500 |
parents | |
children | c6a6ab7c9940 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:07ac39c0e949 |
---|---|
1 <tool id="ip_merge_neighbours_in_label" name="Merge Neighbours in Label" version="0.2"> | |
2 <description>Merge Neighbours in Label Image</description> | |
3 <requirements> | |
4 <requirement type="package" version="0.14.2">scikit-image</requirement> | |
5 <requirement type="package" version="1.15.4">numpy</requirement> | |
6 </requirements> | |
7 <command> | |
8 <![CDATA[ | |
9 python '$__tool_directory__/mergeneighboursinlabelimage.py' '$input' ./tmp.tiff -c $c | |
10 ]]> | |
11 </command> | |
12 <inputs> | |
13 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Label Image File"/> | |
14 <param label="Distance in pixel of objects which are merged" name="c" type="integer" value="50"/> | |
15 </inputs> | |
16 <outputs> | |
17 <data format="tiff" name="output" from_work_dir="tmp.tiff"/> | |
18 </outputs> | |
19 <tests> | |
20 <test> | |
21 <param name="input" value="galaxyIcon_noText.tif"/> | |
22 <param name="c" value="10"/> | |
23 <output name="output" file="out.tiff" ftype="tiff" compare="sim_size"/> | |
24 </test> | |
25 </tests> | |
26 <help> | |
27 **What it does** | |
28 | |
29 This tools merges nearby objects in a label image using the minimum pixel distance. | |
30 </help> | |
31 <citations> | |
32 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> | |
33 </citations> | |
34 </tool> |