Mercurial > repos > imgteam > projective_transformation
annotate projective_transformation.xml @ 5:f5744f0e5a81 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author | imgteam |
---|---|
date | Mon, 13 Nov 2023 22:12:05 +0000 |
parents | 37b079c98c38 |
children | 2f504e075496 |
rev | line source |
---|---|
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
|
1 <tool id="ip_projective_transformation" name="Performs projective transformation with/without labels" version="0.1.2-2" profile="20.05"> |
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> |
f5744f0e5a81
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
4
diff
changeset
|
3 <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
|
4 <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
|
5 </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
|
6 <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
|
7 <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
|
8 </xrefs> |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
9 <requirements> |
2
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
10 <requirement type="package" version="0.18.1">scikit-image</requirement> |
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
11 <requirement type="package" version="1.2.4">pandas</requirement> |
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
12 <requirement type="package" version="1.20.2">numpy</requirement> |
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
13 <requirement type="package" version="1.6.2">scipy</requirement> |
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
14 <requirement type="package" version="2020.10.1">tifffile</requirement> |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
15 </requirements> |
1
974cf4357707
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
imgteam
parents:
0
diff
changeset
|
16 <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
|
17 <![CDATA[ |
3
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
18 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
|
19 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
|
20 '$fixed' |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
21 ./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
|
22 '$tmat' |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
23 ./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
|
24 && 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
|
25 ]]> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
26 </command> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
27 <inputs> |
3
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
28 <param name="moving" type="data" format="tiff,png" label="Moving image (to be transformed)" /> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
29 <param name="fixed" type="data" format="tiff,png" label="Fixed image (the reference)" /> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
30 <param name="tmat" type="data" format="tabular" label="Transformation matrix" /> |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
31 </inputs> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
32 <outputs> |
3
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
33 <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
|
34 </outputs> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
35 <tests> |
3
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
36 <test> |
be9a815e2240
"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.png"/> |
be9a815e2240
"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.png"/> |
be9a815e2240
"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"/> |
be9a815e2240
"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_warped.png" ftype="png" compare="sim_size" delta_frac="0.1" /> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
41 </test> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
42 <test> |
be9a815e2240
"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="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
|
44 <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
|
45 <param name="tmat" value="tmat.tsv"/> |
be9a815e2240
"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="moving_rgb_warped.png" ftype="png" compare="sim_size" delta_frac="0.1" /> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
47 </test> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
48 <test> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
49 <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
|
50 <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
|
51 <param name="tmat" value="tmat.tsv"/> |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
52 <output name="warped" value="multi_m_warped.tif" ftype="tiff" compare="sim_size" delta_frac="0.1" /> |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
53 </test> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
54 </tests> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
55 <help> |
3
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
56 |
be9a815e2240
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit ee372547082b693ef1bbe10b5b7ea8660b9779df"
imgteam
parents:
2
diff
changeset
|
57 **What it does** |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
58 |
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
|
59 This tool performs a projective transformation of the moving 2D image so that it fits the fixed 2D image. |
2
1ffdb07020ee
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit 40b2eeecc9e15be0b710f5e5195ac6f3b3b83c39"
imgteam
parents:
1
diff
changeset
|
60 Multi-channel and RGB images are supported. |
0
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
61 </help> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
62 <citations> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
63 <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
|
64 </citations> |
17f5d0c3f8a3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/projective_transformation/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
65 </tool> |