annotate projective_transformation.xml @ 6:2f504e075496 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
author imgteam
date Thu, 04 Apr 2024 15:26:07 +0000
parents f5744f0e5a81
children 6a8ae8cd7167
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
1 <tool id="ip_projective_transformation" name="Perform projective transformation of an image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
5
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
2 <description></description>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
3 <macros>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
4 <import>creators.xml</import>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
5 <import>tests.xml</import>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
6 <token name="@TOOL_VERSION@">0.1.2</token>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
7 <token name="@VERSION_SUFFIX@">3</token>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
8 </macros>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
9 <creator>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
10 <expand macro="creators/bmcv"/>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
11 </creator>
5
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
12 <edam_operations>
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
13 <edam_operation>operation_3443</edam_operation>
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
14 </edam_operations>
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
15 <xrefs>
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
16 <xref type="bio.tools">galaxy_image_analysis</xref>
f5744f0e5a81 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents: 4
diff changeset
17 </xrefs>
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
18 <requirements>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
19 <requirement type="package" version="0.18.3">scikit-image</requirement>
2
1ffdb07020ee "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents: 1
diff changeset
20 <requirement type="package" version="1.2.4">pandas</requirement>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
21 <requirement type="package" version="1.24.4">numpy</requirement>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
22 <requirement type="package" version="1.10.1">scipy</requirement>
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
23 <requirement type="package" version="2021.7.2">tifffile</requirement>
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
24 </requirements>
1
974cf4357707 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
imgteam
parents: 0
diff changeset
25 <command detect_errors="aggressive">
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
26 <![CDATA[
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
27 ln -s '$moving' ./in.${moving.ext} &&
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
28 python '$__tool_directory__/projective_transformation.py'
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
29 '$fixed'
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
30 ./in.${moving.ext}
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
31 '$tmat'
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
32 ./out.${moving.ext}
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
33 && mv ./out.${moving.ext} ./result_image
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
34 ]]>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
35 </command>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
36 <inputs>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
37 <param name="moving" type="data" format="tiff,png" label="Moving image" help="The image to be transformed." />
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
38 <param name="fixed" type="data" format="tiff,png" label="Fixed image" help="The reference image." />
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
39 <param name="tmat" type="data" format="tabular" label="Transformation matrix" help="Homogeneous transformation matrix (3⨉3)." />
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
40 </inputs>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
41 <outputs>
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
42 <data name="warped" format_source="moving" metadata_source="moving" from_work_dir="result_image" />
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
43 </outputs>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
44 <tests>
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
45 <test>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
46 <param name="fixed" value="fixed.png"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
47 <param name="moving" value="moving.png"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
48 <param name="tmat" value="tmat.tsv"/>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
49 <expand macro="tests/intensity_image_diff" name="warped" value="moving_warped.png" ftype="png"/>
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
50 </test>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
51 <test>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
52 <param name="fixed" value="fixed_rgb.png"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
53 <param name="moving" value="moving_rgb.png"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
54 <param name="tmat" value="tmat.tsv"/>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
55 <expand macro="tests/intensity_image_diff" name="warped" value="moving_rgb_warped.png" ftype="png"/>
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
56 </test>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
57 <test>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
58 <param name="fixed" value="multi_f.tif"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
59 <param name="moving" value="multi_m.tif"/>
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
60 <param name="tmat" value="tmat.tsv"/>
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
61 <expand macro="tests/intensity_image_diff" name="warped" value="multi_m_warped.tif" ftype="tiff"/>
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
62 </test>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
63 </tests>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
64 <help>
3
be9a815e2240 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents: 2
diff changeset
65
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
66 **Performs projective transformation.**
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
67
6
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
68 This tool performs a projective transformation of 2-D image into the coordinate system of another 2-D image.
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
69 Multi-channel images are supported (e.g., RGB).
2f504e075496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 5
diff changeset
70
0
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
71 </help>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
72 <citations>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
73 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
74 </citations>
17f5d0c3f8a3 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
75 </tool>