Mercurial > repos > imgteam > projective_transformation
diff projective_transformation.xml @ 0:17f5d0c3f8a3 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
author | imgteam |
---|---|
date | Sat, 09 Feb 2019 14:44:40 -0500 |
parents | |
children | 974cf4357707 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/projective_transformation.xml Sat Feb 09 14:44:40 2019 -0500 @@ -0,0 +1,42 @@ +<tool id="ip_projective_transformation" name="Projective Transformation" version="0.0.4"> + <description>Projective Transformation</description> + <requirements> + <requirement type="package" version="0.14.2">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 + ]]> + </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="tabular" label="Warp Matrix" /> + </inputs> + <outputs> + <data format="png" name="out" from_work_dir="out.png" /> + </outputs> + <tests> + <test> + <param name="fixed_image" value="sample1.png"/> + <param name="moving_image" value="sample2.png"/> + <param name="warp_matrix" value="warp_matrix.tsv"/> + <output name="out" value="yam.png" ftype="png" compare="sim_size"/> + </test> + </tests> + <help> + **What it does** + + 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>