diff anisotropic_diffusion.xml @ 0:9a30c8f0f651 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/anisotropic-diffusion/ commit 3036169a656a17a8c73a93241e375693f281bce8
author thomaswollmann
date Tue, 21 Feb 2017 09:11:07 -0500
parents
children 6be26440a8ec
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/anisotropic_diffusion.xml	Tue Feb 21 09:11:07 2017 -0500
@@ -0,0 +1,40 @@
+<tool id="anisotropic_diffusion" name="Anisotropic Diffusion" version="0.1">
+  <description>Edge-preserving, Anisotropic diffusion</description>
+  <requirements>
+    <requirement type="package" version="0.12.3" >scikit-image</requirement>
+    <requirement type="package" version="0.2.2">medpy</requirement>
+    <requirement type="package" version="1.12">numpy</requirement>
+  </requirements>
+  <command>
+        <![CDATA[
+        python "$__tool_directory__/anisotropic_diffusion.py" '$input' '$output' '$niter' '$kappa' '$gamma' '$eqoption'
+        ]]>
+  </command>
+  <inputs>
+    <param name="input" type="data" format="tiff,png,jpg,bmp" label="Image file"/>
+    <param label="Number of iterations" name="niter" optional="true" type="integer" value="50"/>
+    <param label="Conduction coefficient" name="kappa" optional="true" type="integer" value="50"/>
+    <param label="Speed of diffusion" name="gamma" optional="true" type="float" value="0.1"/>
+    <param name="eqoption" type="select" label="Diffusion Feature" help="Perona Malik diffusion equation">
+        <option value="1" selected="True">Favour high contrast edges</option>
+        <option value="2">Favour wide regions</option>
+    </param>
+  </inputs>
+  <outputs>
+    <data format="tiff" name="output"/>
+  </outputs>
+  <tests>
+    <test>
+	    <param name="input" value="galaxyIcon_noText.png" />
+	    <param name="niter" value="100" />
+            <param name="kappa" value="50" />
+	    <param name="gamma" value="0.1" />
+	    <param name="eqoption" value="1" />
+	    <output name="output" ftype="tiff" />
+    </test>
+  </tests>
+  <help>Edge-preserving, Anisotropic image diffusion.</help>
+  <citations>
+      <citation type="doi">10.1109/34.56205</citation>
+  </citations>
+</tool>