Mercurial > repos > thomaswollmann > mergeneighboursinlabelimage
comparison mergeneighboursinlabelimage.xml @ 1:3536648d0a93 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit d93e1dd276027cfc3fb518236110395a23d96f66
author | thomaswollmann |
---|---|
date | Wed, 16 Jan 2019 15:35:29 -0500 |
parents | 66f7e94db2e6 |
children |
comparison
equal
deleted
inserted
replaced
0:66f7e94db2e6 | 1:3536648d0a93 |
---|---|
1 <tool id="mergeneighboursinlabelimage" name="Merge Neighbours in Label" version="0.1"> | 1 <tool id="mergeneighboursinlabelimage" name="Merge Neighbours in Label" version="0.2"> |
2 <description>Merge Neighbours in Label Image</description> | 2 <description>Merge Neighbours in Label Image</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="0.12.3" >scikit-image</requirement> | 4 <requirement type="package" version="0.14.0">scikit-image</requirement> |
5 <requirement type="package">numpy</requirement> | 5 <requirement type="package" version="1.15.4">numpy</requirement> |
6 <requirement type="package">scipy</requirement> | |
7 </requirements> | 6 </requirements> |
8 <command> | 7 <command> |
9 <![CDATA[ | 8 <![CDATA[ |
10 python '$__tool_directory__/mergeneighboursinlabelimage.py '$input' '$output' -c $c | 9 python '$__tool_directory__/mergeneighboursinlabelimage.py' '$input' ./tmp.tiff -c $c |
10 && mv ./tmp.tiff '$output' | |
11 ]]> | 11 ]]> |
12 </command> | 12 </command> |
13 <inputs> | 13 <inputs> |
14 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Label Image File"/> | 14 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Label Image File"/> |
15 <param label="Distance in pixel of objects which are merged" name="c" type="integer" value="50"/> | 15 <param label="Distance in pixel of objects which are merged" name="c" type="integer" value="50"/> |
16 </inputs> | 16 </inputs> |
17 <outputs> | 17 <outputs> |
18 <data format="tiff" name="output"/> | 18 <data format="tiff" name="output"/> |
19 </outputs><help>This tools merges nearby objects in a label image using the minimum pixel distance.</help> | 19 </outputs> |
20 <tests> | |
21 <test> | |
22 <param name="input" value="galaxyIcon_noText.tif"/> | |
23 <param name="c" value="10"/> | |
24 <output name="output" file="out.tiff" ftype="tiff" compare="sim_size"/> | |
25 </test> | |
26 </tests> | |
27 <help>This tools merges nearby objects in a label image using the minimum pixel distance.</help> | |
20 <citations> | 28 <citations> |
21 <citation type="doi">10.7717/peerj.453</citation> | 29 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
22 </citations> | 30 </citations> |
23 </tool> | 31 </tool> |