Mercurial > repos > imgteam > projective_transformation
comparison projective_transformation.xml @ 2:7224195de47a draft
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
| author | imgteam |
|---|---|
| date | Fri, 14 Jan 2022 03:06:40 +0000 |
| parents | 1baeb1ec9d34 |
| children | f1ef9c8f188a |
comparison
equal
deleted
inserted
replaced
| 1:1baeb1ec9d34 | 2:7224195de47a |
|---|---|
| 1 <tool id="ip_projective_transformation" name="Projective Transformation" version="0.0.4"> | 1 <tool id="ip_projective_transformation" name="Projective Transformation" version="0.1.0" profile="20.05"> |
| 2 <description>Projective Transformation</description> | 2 <description>2D Projective Transformation</description> |
| 3 <requirements> | 3 <requirements> |
| 4 <requirement type="package" version="0.14.2">scikit-image</requirement> | 4 <requirement type="package" version="0.18.1">scikit-image</requirement> |
| 5 <requirement type="package" version="0.23.4">pandas</requirement> | 5 <requirement type="package" version="1.2.4">pandas</requirement> |
| 6 <requirement type="package" version="1.15.4">numpy</requirement> | 6 <requirement type="package" version="1.20.2">numpy</requirement> |
| 7 <requirement type="package" version="1.1.0">scipy</requirement> | 7 <requirement type="package" version="1.6.2">scipy</requirement> |
| 8 <requirement type="package" version="0.15.1">tifffile</requirement> | 8 <requirement type="package" version="2020.10.1">tifffile</requirement> |
| 9 </requirements> | 9 </requirements> |
| 10 <command detect_errors="aggressive"> | 10 <command detect_errors="aggressive"> |
| 11 <![CDATA[ | 11 <![CDATA[ |
| 12 python '$__tool_directory__/projective_transformation.py' | 12 python '$__tool_directory__/projective_transformation.py' |
| 13 '$fixed_image' | 13 '$fixed_image' |
| 14 '$moving_image' | 14 '$moving_image' |
| 15 '$warp_matrix' | 15 '$warp_matrix' |
| 16 ./out.png | 16 ./out |
| 17 ]]> | 17 ]]> |
| 18 </command> | 18 </command> |
| 19 <inputs> | 19 <inputs> |
| 20 <param name="moving_image" type="data" format="png" label="Moving Image" /> | 20 <param name="moving_image" type="data" format="tiff,png,jpg" label="Moving image (to be transformed)" /> |
| 21 <param name="fixed_image" type="data" format="png" label="Fixed Image" /> | 21 <param name="fixed_image" type="data" format="tiff,png,jpg" label="Fixed image (the reference)" /> |
| 22 <param name="warp_matrix" type= "data" format="tabular" label="Warp Matrix" /> | 22 <param name="warp_matrix" type="data" format="tabular" label="Transformation matrix" /> |
| 23 </inputs> | 23 </inputs> |
| 24 <outputs> | 24 <outputs> |
| 25 <data format="png" name="out" from_work_dir="out.png" /> | 25 <data format_source="moving_image" name="warped_image" from_work_dir="out" /> |
| 26 </outputs> | 26 </outputs> |
| 27 <tests> | 27 <tests> |
| 28 <test> | 28 <test> |
| 29 <param name="fixed_image" value="sample1.png"/> | 29 <param name="fixed_image" value="sample1.png"/> |
| 30 <param name="moving_image" value="sample2.png"/> | 30 <param name="moving_image" value="sample2.png"/> |
| 31 <param name="warp_matrix" value="warp_matrix.tsv"/> | 31 <param name="warp_matrix" value="warp_matrix.tsv"/> |
| 32 <output name="out" value="yam.png" ftype="png" compare="sim_size"/> | 32 <output name="warped_image" value="yam.png" ftype="png" compare="sim_size"/> |
| 33 </test> | 33 </test> |
| 34 </tests> | 34 </tests> |
| 35 <help> | 35 <help> |
| 36 **What it does** | 36 **What it does** |
| 37 | 37 |
| 38 This tool performs a projective transformation of the input (moving) image so that it fits the fixed image. | 38 This tool performs a projective transformation of the moving image so that it fits the fixed image. |
| 39 Multi-channel and RGB images are supported. | |
| 39 </help> | 40 </help> |
| 40 <citations> | 41 <citations> |
| 41 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> | 42 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
| 42 </citations> | 43 </citations> |
| 43 </tool> | 44 </tool> |
