annotate compare.xml @ 3:cfe1d6e23237 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit 001310e5fc90be6dc931845e1dbbbcb26092b4b4
author bgruening
date Thu, 22 Aug 2024 19:01:00 +0000 (4 months ago)
parents fd0e8bda0154
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
1 <tool id="graphicsmagick_image_compare" name="Compare two images" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
2 <description>with GraphicsMagick</description>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
3 <macros>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
5 </macros>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
6 <expand macro="requirements" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
7 <command detect_errors="aggressive">
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
8 <![CDATA[
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
9 ln -s '${input1}' input1.${input1.ext} &&
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
10 ln -s '${input2}' input2.${input2.ext} &&
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
11
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
12 gm compare
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
13 -file outfile.png
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
14 -highlight-style $highlight_style
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
15 -metric $metric
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
16 -highlight-color $color
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
17 'input1.${input1.ext}'
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
18 'input2.${input2.ext}'
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
19 ]]>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
20 </command>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
21 <inputs>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
22 <param name="input1" format="jpg,png,bmp,gif,svg,eps,tiff,xcf" type="data" label="First image to compare" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
23 <param name="input2" format="jpg,png,bmp,gif,svg,eps,tiff,xcf" type="data" label="Second image to compare" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
24
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
25 <param argument="-highlight-style" type="select" label="Pixel highlight style">
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
26 <option value="assign">assign</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
27 <option value="threshold">threshold</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
28 <option value="tint">tint</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
29 <option value="xor">xor</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
30 </param>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
31 <param argument="-metric" type="select" label="Comparison metric">
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
32 <option value="MAE">MAE</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
33 <option value="MSE">MSE</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
34 <option value="PAE">PAE</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
35 <option value="PSNR">PSNR</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
36 <option value="PMSE">PMSE</option>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
37 </param>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
38 <expand macro="color" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
39 </inputs>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
40 <outputs>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
41 <data name="output" format="png" from_work_dir="outfile.png">
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
42 </data>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
43 </outputs>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
44 <tests>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
45 <test>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
46 <param name="input1" value="donald.jpg" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
47 <param name="input2" value="donald-palette.jpg" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
48 <output name="output" file="result_image_compare01.png" compare="sim_size" delta="500" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
49 </test>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
50 <test>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
51 <param name="input1" value="donald.jpg" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
52 <param name="input2" value="donald-palette.jpg" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
53 <param name="highlight_style" value="tint" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
54 <param name="metric" value="MAE" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
55 <output name="output" file="result_image_compare02.png" compare="sim_size" delta="500" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
56 </test>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
57 </tests>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
58 <help>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
59 <![CDATA[
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
60
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
61 **What it does**
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
62
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
63 This tool compares two images and provides a diff by pixels.
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
64 Here you can see how it behaves:
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
65
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
66 Input:
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
67
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
68 .. image:: $PATH_TO_IMAGES/donald.jpg
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
69 .. image:: $PATH_TO_IMAGES/donald-palette.jpg
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
70
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
71
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
72 Output:
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
73
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
74 .. image:: $PATH_TO_IMAGES/result_image_compare01.png
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
75
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
76 ]]>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
77 </help>
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
78 <expand macro="citations" />
fd0e8bda0154 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff changeset
79 </tool>