diff projective_transformation.xml @ 0:e3e4b058db67 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 787ebcc8daa1834214bc92c201c921c704ef2d1f
author thomaswollmann
date Mon, 07 Jan 2019 05:38:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/projective_transformation.xml	Mon Jan 07 05:38:46 2019 -0500
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<tool name="Projective Transformation" id="ip_projective_transformation" version="0.0.4">
+    <description>Projective Transformation</description>
+    <requirements>
+        <requirement type="package" version="0.14.0">scikit-image</requirement>
+        <requirement type="package" version="0.23.4">pandas</requirement>
+        <requirement type="package" version="1.15.4">numpy</requirement>
+        <!--<requirement type="package" version="1.1.0">scipy</requirement>-->
+    </requirements>
+    <command>
+    <![CDATA[
+         python '$__tool_directory__/projective_transformation.py'
+         '$fixed_image'
+         '$moving_image'
+         '$warp_matrix'
+         ./out.png
+         && mv ./out.png '$out'
+    ]]>
+    </command>
+    <inputs>
+	<param name="moving_image" type="data" format="png" label="Moving Image" />
+	<param name="fixed_image" type="data" format="png" label="Fixed Image" />
+	<param name="warp_matrix" type= "data" format="csv" label="Warp Matrix" />
+    </inputs>
+    <outputs>
+       <data format="png" name="out" />
+    </outputs>
+    <tests>
+      <test>
+        <param name="fixed_image" value="sample1.png"/>
+        <param name="moving_image" value="sample2.png"/>
+        <param name="warp_matrix" value="warp_matrix.csv"/>
+        <output name="out" value="yam.png" ftype="png" compare="sim_size"/>
+      </test>
+    </tests>
+    <help>
+        This tool performs a projective transformation of the input (moving) image so that it fits the fixed image.
+    </help>
+    <citations>
+        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
+    </citations>
+</tool>