annotate projective_transformation.xml @ 4:07108b674c90 draft default tip

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ded1703bcd6e295b26201505edb58381991b265e"
author imgteam
date Mon, 28 Feb 2022 17:35:21 +0000
parents f1ef9c8f188a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
07108b674c90 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ded1703bcd6e295b26201505edb58381991b265e"
imgteam
parents: 3
diff changeset
1 <tool id="ip_projective_transformation" name="Projective Transformation" version="0.1.2" profile="20.05">
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
2 <description>of 2D images</description>
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
3 <requirements>
2
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
4 <requirement type="package" version="0.18.1">scikit-image</requirement>
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
5 <requirement type="package" version="1.2.4">pandas</requirement>
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
6 <requirement type="package" version="1.20.2">numpy</requirement>
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
7 <requirement type="package" version="1.6.2">scipy</requirement>
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
8 <requirement type="package" version="2020.10.1">tifffile</requirement>
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
9 </requirements>
1
1baeb1ec9d34 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
imgteam
parents: 0
diff changeset
10 <command detect_errors="aggressive">
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
11 <![CDATA[
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
12 ln -s '$moving' ./in.${moving.ext} &&
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
13 python '$__tool_directory__/projective_transformation.py'
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
14 '$fixed'
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
15 ./in.${moving.ext}
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
16 '$tmat'
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
17 ./out.${moving.ext}
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
18 && mv ./out.${moving.ext} ./result_image
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
19 ]]>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
20 </command>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
21 <inputs>
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
22 <param name="moving" type="data" format="tiff,png" label="Moving image (to be transformed)" />
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
23 <param name="fixed" type="data" format="tiff,png" label="Fixed image (the reference)" />
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
24 <param name="tmat" type="data" format="tabular" label="Transformation matrix" />
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
25 </inputs>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
26 <outputs>
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
27 <data name="warped" format_source="moving" metadata_source="moving" from_work_dir="result_image" />
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
28 </outputs>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
29 <tests>
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
30 <test>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
31 <param name="fixed" value="fixed.png"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
32 <param name="moving" value="moving.png"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
33 <param name="tmat" value="tmat.tsv"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
34 <output name="warped" value="moving_warped.png" ftype="png" compare="sim_size" delta_frac="0.1" />
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
35 </test>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
36 <test>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
37 <param name="fixed" value="fixed_rgb.png"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
38 <param name="moving" value="moving_rgb.png"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
39 <param name="tmat" value="tmat.tsv"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
40 <output name="warped" value="moving_rgb_warped.png" ftype="png" compare="sim_size" delta_frac="0.1" />
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
41 </test>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
42 <test>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
43 <param name="fixed" value="multi_f.tif"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
44 <param name="moving" value="multi_m.tif"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
45 <param name="tmat" value="tmat.tsv"/>
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
46 <output name="warped" value="multi_m_warped.tif" ftype="tiff" compare="sim_size" delta_frac="0.1" />
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
47 </test>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
48 </tests>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
49 <help>
3
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
50
f1ef9c8f188a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
51 **What it does**
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
52
2
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
53 This tool performs a projective transformation of the moving image so that it fits the fixed image.
7224195de47a "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
54 Multi-channel and RGB images are supported.
0
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
55 </help>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
56 <citations>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
57 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
58 </citations>
0539c5178b1d planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
59 </tool>