annotate overlay_images.xml @ 5:002f7bad3e82 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
author imgteam
date Thu, 04 Apr 2024 15:25:58 +0000
parents 37662cbf44b8
children 2495f8b2aefd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
1 <tool id="ip_overlay_images" name="Overlay images" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
2 <description></description>
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
3 <macros>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
4 <import>creators.xml</import>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
5 <import>tests.xml</import>
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
6 <token name="@TOOL_VERSION@">0.0.4</token>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
7 <token name="@VERSION_SUFFIX@">1</token>
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
8 </macros>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
9 <creator>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
10 <expand macro="creators/bmcv"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
11 <expand macro="creators/thawn"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
12 </creator>
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
13 <edam_operations>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
14 <edam_operation>operation_3443</edam_operation>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
15 </edam_operations>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
16 <xrefs>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
17 <xref type="bio.tools">galaxy_image_analysis</xref>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
18 </xrefs>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
19 <requirements>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
20 <requirement type="package" version="0.18.1">scikit-image</requirement>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
21 <requirement type="package" version="3.3.4">matplotlib</requirement>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
22 <requirement type="package" version="2020.10.1">tifffile</requirement>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
23 <requirement type="package" version="1.20.2">numpy</requirement>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
24 </requirements>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
25 <command detect_errors="aggressive">
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
26 <![CDATA[
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
27 python '$__tool_directory__/overlay_images.py'
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
28 '$method_option.im1' '$method_option.im2'
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
29 #if $method_option.method == "seg_contour"
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
30 ./output.png
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
31 #else
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
32 ./output.tif
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
33 #end if
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
34 --method $method_option.method
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
35 #if $method_option.method == "blending"
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
36 --alpha $method_option.alpha
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
37 #elif $method_option.method == "seg_contour"
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
38 --thickness $method_option.thickness
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
39 --color '$method_option.color'
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
40 $method_option.show_label
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
41 --label_color '$method_option.label_color'
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
42 #end if
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
43 ]]>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
44 </command>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
45 <inputs>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
46 <conditional name="method_option">
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
47 <param name="method" type="select" label="Type of the overlay">
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
48 <option value="coloc_vis" selected="True">Colocalization</option>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
49 <option value="blending">Linear blending</option>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
50 <option value="seg_contour">Segmentation contours over image</option>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
51 </param>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
52 <when value="coloc_vis">
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
53 <param name="im1" type="data" format="tiff,png" label="Image #1 (red channel)" />
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
54 <param name="im2" type="data" format="tiff,png" label="Image #2 (green channel)" />
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
55 </when>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
56 <when value="blending">
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
57 <param name="im1" type="data" format="tiff,png" label="Image #1" />
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
58 <param name="im2" type="data" format="tiff,png" label="Image #2" />
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
59 <param name="alpha" type="float" value="0.5" min="0.0" max="1.0" label="The weight for blending: I_out = (1 - w) * I_1 + w * I_2."/>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
60 </when>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
61 <when value="seg_contour">
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
62 <param name="im1" type="data" format="tiff,png" label="Intensity image" />
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
63 <param name="im2" type="data" format="tiff,png" label="Label image" />
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
64 <param name="thickness" type="integer" value="2" min="1" label="Contour thickness (in pixels)" />
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
65 <param name="color" type="color" value="#ff0000" label="Contour color"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
66 <param argument="--show_label" type="boolean" checked='false' truevalue="--show_label" falsevalue="" label="Show labels" />
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
67 <param name="label_color" type="color" value="#ffff00" label="Label color"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
68 </when>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
69 </conditional>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
70 </inputs>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
71 <outputs>
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
72 <data format="tiff" name="out_tiff" from_work_dir="output.tif" label="${tool.name} on ${on_string} output:tiff">
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
73 <filter>method_option['method'] != 'seg_contour'</filter>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
74 </data>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
75 <data format="png" name="out_png" from_work_dir="output.png" label="${tool.name} on ${on_string} output:png">
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
76 <filter>method_option['method'] == 'seg_contour'</filter>
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
77 </data>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
78 </outputs>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
79 <tests>
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
80 <test expect_num_outputs="1">
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
81 <param name="im1" value="mask1.tif"/>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
82 <param name="im2" value="mask1r.tif"/>
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
83 <param name="method" value="coloc_vis"/>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
84 <expand macro="tests/intensity_image_diff" name="out_tiff" value="test1.tif" ftype="tiff"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
85 </test>
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
86 <test expect_num_outputs="1">
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
87 <param name="im1" value="mask1.tif"/>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
88 <param name="im2" value="mask1r.tif"/>
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
89 <param name="method" value="blending"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
90 <param name="alpha" value="0.3"/>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
91 <expand macro="tests/intensity_image_diff" name="out_tiff" value="test2.tif" ftype="tiff"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
92 </test>
3
22ff7c705a83 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 8cd85b185acbfaa9ee6f4e9a389abc1f7b7c44bb
imgteam
parents: 2
diff changeset
93 <test expect_num_outputs="1">
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
94 <param name="im1" value="sample1_uint8.tif"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
95 <param name="im2" value="mask1.tif"/>
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
96 <param name="method" value="seg_contour"/>
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
97 <param name="thickness" value="2"/>
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
98 <param name="color" value="#ff0000"/>
1
bf590a9733ed planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit cd63bc5e6eb7254111012209fac9154569355f20
imgteam
parents: 0
diff changeset
99 <param name="show_label" value="--show_label"/>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
100 <expand macro="tests/intensity_image_diff" name="out_png" value="test3.png" ftype="png"/>
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
101 </test>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
102 <test expect_num_outputs="1"><!-- segmentation overlay, 8bit test -->
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
103 <param name="im1" value="sample1_uint8.tif"/>
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
104 <param name="im2" value="mask2.tif"/>
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
105 <param name="method" value="seg_contour"/>
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
106 <param name="thickness" value="2"/>
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
107 <param name="color" value="#ff0000"/>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
108 <expand macro="tests/intensity_image_diff" name="out_png" value="test4.png" ftype="png"/>
4
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
109 </test>
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
110 <test expect_num_outputs="1"><!-- segmentation overlay, 16bit test -->
37662cbf44b8 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 85185439087caafebf1c75dc78b61a2a1f181225
imgteam
parents: 3
diff changeset
111 <param name="im1" value="sample1_uint16.tif"/>
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
112 <param name="im2" value="mask2.tif"/>
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
113 <param name="method" value="seg_contour"/>
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
114 <param name="thickness" value="2"/>
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
115 <param name="color" value="#ff0000"/>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
116 <expand macro="tests/intensity_image_diff" name="out_png" value="test4.png" ftype="png" eps="1"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
117 </test>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
118 <test expect_num_outputs="1"><!-- segmentation overlay, 8bit RGB test -->
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
119 <param name="im1" value="sample1_uint8_rgb.png"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
120 <param name="im2" value="mask2.tif"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
121 <param name="method" value="seg_contour"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
122 <param name="thickness" value="2"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
123 <param name="color" value="#ff0000"/>
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
124 <expand macro="tests/intensity_image_diff" name="out_png" value="test5.png" ftype="png"/>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
125 </test>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
126 </tests>
5
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
127 <help><![CDATA[
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
128
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
129 **Overlays two images for visualization.**
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
130
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
131 This tool overlays two image to visualize *linear image blending*, *colocalization*, or *segmentation contours*
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
132 over an intensity image. For *image blending* and *colocalization*, the input images must be single-channel 2-D
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
133 images. For *segmentation contours*, the intensity must be a 2-D single-channel or 2-D RGB image.
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
134
002f7bad3e82 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents: 4
diff changeset
135 ]]></help>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
136 <citations>
2
b74693340624 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 71dae1df58f579b84d4f9d92fb0dd509c02dd48f
imgteam
parents: 1
diff changeset
137 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
0
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
138 </citations>
589af0005df5 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/overlay_images/ commit 736949b5fb325cc7880d0ff0bb13b78115b9f81c"
imgteam
parents:
diff changeset
139 </tool>