Mercurial > repos > bgruening > graphicsmagick_image_compare
annotate compare.xml @ 6:8fa7b6892af5 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/graphicsmagick commit a92abaa3c3be7d4ec542482c4172dafc01d4c4b9
| author | bgruening |
|---|---|
| date | Thu, 04 Dec 2025 12:27:07 +0000 |
| parents | 19cd03398db8 |
| children |
| rev | line source |
|---|---|
|
5
19cd03398db8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/graphicsmagick commit b7029458f591d04c5259dc84cc931924c7194fbf
bgruening
parents:
4
diff
changeset
|
1 <tool id="graphicsmagick_image_compare" name="Compare two images" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.1"> |
|
0
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> |
|
4
76acb1175c57
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/graphicsmagick commit 7334cd8f7eb61f6323ae2d4bb107d38fba83a1d7
bgruening
parents:
0
diff
changeset
|
22 <param name="input1" format="jpg,png,bmp,gif,svg,eps,tiff" type="data" label="First image to compare" /> |
|
76acb1175c57
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/graphicsmagick commit 7334cd8f7eb61f6323ae2d4bb107d38fba83a1d7
bgruening
parents:
0
diff
changeset
|
23 <param name="input2" format="jpg,png,bmp,gif,svg,eps,tiff" type="data" label="Second image to compare" /> |
|
0
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> |
|
5
19cd03398db8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/graphicsmagick commit b7029458f591d04c5259dc84cc931924c7194fbf
bgruening
parents:
4
diff
changeset
|
41 <data name="output" format="png" from_work_dir="outfile.png"/> |
|
0
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
42 </outputs> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
43 <tests> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
44 <test> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
45 <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
|
46 <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
|
47 <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
|
48 </test> |
|
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 <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
|
51 <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
|
52 <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
|
53 <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
|
54 <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
|
55 </test> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
56 </tests> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
57 <help> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
58 <![CDATA[ |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
59 |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
60 **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
|
61 |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
62 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
|
63 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
|
64 |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
65 Input: |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
66 |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
67 .. 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
|
68 .. 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
|
69 |
|
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 Output: |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
72 |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
73 .. 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
|
74 |
|
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 </help> |
|
fd0e8bda0154
planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit bc7f5022150a6a31030775c7aafc81293833d55a
bgruening
parents:
diff
changeset
|
77 <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
|
78 </tool> |
