Mercurial > repos > imgteam > anisotropic_diffusion
comparison anisotropic_diffusion.xml @ 0:d13e26f576bc draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/anisotropic-diffusion/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
author | imgteam |
---|---|
date | Sat, 09 Feb 2019 14:30:00 -0500 |
parents | |
children | 17d3cfba9b5a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d13e26f576bc |
---|---|
1 <tool id="ip_anisotropic_diffusion" name="Anisotropic Diffusion" version="0.1"> | |
2 <description>Edge-preserving, Anisotropic diffusion</description> | |
3 <requirements> | |
4 <requirement type="package" version="0.14.2">scikit-image</requirement> | |
5 <requirement type="package" version="0.3.0">medpy</requirement> | |
6 <requirement type="package" version="1.15.4">numpy</requirement> | |
7 </requirements> | |
8 <command> | |
9 <![CDATA[ | |
10 python '$__tool_directory__/anisotropic_diffusion.py' '$input' '$output' '$niter' '$kappa' '$gamma' '$eqoption' | |
11 ]]> | |
12 </command> | |
13 <inputs> | |
14 <param name="input" type="data" format="tiff" label="Image file"/> | |
15 <param label="Number of iterations" name="niter" optional="true" type="integer" value="50"/> | |
16 <param label="Conduction coefficient" name="kappa" optional="true" type="integer" value="50"/> | |
17 <param label="Speed of diffusion" name="gamma" optional="true" type="float" value="0.1"/> | |
18 <param name="eqoption" type="select" label="Diffusion Feature" help="Perona Malik diffusion equation"> | |
19 <option value="1" selected="True">Favour high contrast edges</option> | |
20 <option value="2">Favour wide regions</option> | |
21 </param> | |
22 </inputs> | |
23 <outputs> | |
24 <data format="tiff" name="output"/> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
28 <param name="input" value="galaxyIcon_noText.tif" /> | |
29 <param name="niter" value="100" /> | |
30 <param name="kappa" value="50" /> | |
31 <param name="gamma" value="0.1" /> | |
32 <param name="eqoption" value="1" /> | |
33 <output name="output" file="res.tif" ftype="tiff" compare="sim_size"/> | |
34 </test> | |
35 </tests> | |
36 <help> | |
37 **What it does** | |
38 | |
39 Edge-preserving, Anisotropic image diffusion | |
40 </help> | |
41 <citations> | |
42 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> | |
43 </citations> | |
44 </tool> |