Mercurial > repos > imgteam > concat_channels
annotate concat_channels.xml @ 3:01c1d5af33be draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
| author | imgteam |
|---|---|
| date | Fri, 12 Dec 2025 21:15:44 +0000 |
| parents | ad1caf2331c6 |
| children |
| rev | line source |
|---|---|
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
1 <tool id="ip_concat_channels" name="Concatenate images or channels" version="0.5" profile="20.05"> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
2 <description></description> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
3 <macros> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
4 <import>creators.xml</import> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
5 <import>tests.xml</import> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
6 </macros> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
7 <creator> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
8 <expand macro="creators/bmcv"/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
9 <expand macro="creators/kostrykin"/> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
10 </creator> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
11 <edam_operations> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
12 <edam_operation>operation_3443</edam_operation> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
13 </edam_operations> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
14 <xrefs> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
15 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
16 </xrefs> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
17 <requirements> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
18 <requirement type="package" version="0.25.2">scikit-image</requirement> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
19 <requirement type="package" version="2.3.5">numpy</requirement> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
20 <requirement type="package" version="2025.10.16">tifffile</requirement> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
21 <requirement type="package" version="0.5.2">giatools</requirement> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
22 </requirements> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
23 <command detect_errors="aggressive"><![CDATA[ |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
24 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
25 python '$__tool_directory__/concat_channels.py' |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
26 |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
27 #for $input in $inputs |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
28 '$input' |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
29 #end for |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
30 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
31 '$output' |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
32 '$axis' |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
33 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
34 $mode |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
35 |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
36 #if $sort_by != "" |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
37 --sort_by '$sort_by' |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
38 #end if |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
39 |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
40 ]]></command> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
41 <inputs> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
42 <param name="inputs" type="data" multiple="true" format="tiff,png" label="Images to concatenate"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
43 <param name="axis" type="select" label="Concatenation axis" help="The images will be concatenated along this axis."> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
44 <option value="X">X-axis (concatenate images or image sequences horizontally)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
45 <option value="Y">Y-axis (concatenate images or image sequences vertically)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
46 <option value="T">T-axis (concatenate images as frames of a temporal image sequence)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
47 <option value="Z">Z-axis (concatenate images as slices of a 3-D image or image sequence)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
48 <option value="C" selected="true">C-axis (concatenate the channels/samples of images or image sequences)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
49 <option value="Q">Q-axis (concatenate along other or unknown axis)</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
50 </param> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
51 <param name="mode" type="select" label="Scaling of values" help="If the brightness is to be preserved (default), then the values will be scaled between 0 and 1, and a floating point pixel data type will be used."> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
52 <option value="" selected="true">Preserve brightness</option> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
53 <option value="--preserve_values">Preserve range of values</option> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
54 </param> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
55 <param name="sort_by" type="select" label="Sort images before concatenating"> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
56 <option value="" selected="true">Do not sort (keep the order of the datasets)</option> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
57 <option value="z_position">Sort images by their position along the Z-axis</option> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
58 </param> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
59 </inputs> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
60 <outputs> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
61 <data format="tiff" name="output"/> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
62 </outputs> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
63 <tests> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
64 <!-- Test with "preserve brightness", vertical concatenation --> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
65 <test> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
66 <param name="inputs" value="input1_uint8.png,input2_float.tiff"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
67 <param name="axis" value="Y"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
68 <param name="mode" value=""/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
69 <param name="sort_by" value=""/> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
70 <expand macro="tests/intensity_image_diff" name="output" value="res_preserve_brightness.tiff" ftype="tiff"/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
71 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
72 <has_line line="Output TIFF shape: (238, 119, 4)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
73 <has_line line="Output TIFF axes: YXC"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
74 <has_line line="Output TIFF resolution: (1.0, 1.0)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
75 </assert_stdout> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
76 </test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
77 <!-- Test with "preserve range of values", vertical concatenation --> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
78 <test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
79 <param name="inputs" value="input1_uint8.png,input2_float.tiff"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
80 <param name="axis" value="Y"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
81 <param name="mode" value="--preserve_values"/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
82 <param name="sort_by" value=""/> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
83 <expand macro="tests/intensity_image_diff" name="output" value="res_preserve_values.tiff" ftype="tiff"> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
84 <!-- |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
85 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
86 The input files have values ranging between 0 and 255. |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
87 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
88 Below, we use an assertion in addition to the `image_diff` comparison, to ensure that the range of |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
89 values is preserved. The motiviation behind this is that the expectation images are usually checked |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
90 visually, which means that the `image_diff` comparison is likely to ensure that the brightness of |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
91 the image is correct, thus it's good to double-check the range of values. |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
92 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
93 --> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
94 <has_image_mean_intensity min="0" max="255"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
95 </expand> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
96 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
97 <has_line line="Output TIFF shape: (238, 119, 4)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
98 <has_line line="Output TIFF axes: YXC"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
99 <has_line line="Output TIFF resolution: (1.0, 1.0)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
100 </assert_stdout> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
101 </test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
102 <!-- Test concatenation of channels (axis *exists* in both images) --> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
103 <test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
104 <param name="inputs" value="input1_uint8.png,input2_float.tiff"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
105 <param name="axis" value="C"/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
106 <param name="sort_by" value=""/> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
107 <output name="output" ftype="tiff"> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
108 <assert_contents> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
109 <has_image_width width="119"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
110 <has_image_height height="119"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
111 <has_image_depth depth="1"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
112 <has_image_channels channels="8"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
113 <has_image_frames frames="1"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
114 </assert_contents> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
115 </output> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
116 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
117 <has_line line="Output TIFF shape: (119, 119, 8)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
118 <has_line line="Output TIFF axes: YXC"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
119 <has_line line="Output TIFF resolution: (1.0, 1.0)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
120 </assert_stdout> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
121 </test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
122 <!-- Test concatenation of frames (axis *does not* exist in both images) --> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
123 <test> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
124 <param name="inputs" value="input1_uint8.png,input2_float.tiff"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
125 <param name="axis" value="T"/> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
126 <param name="sort_by" value=""/> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
127 <output name="output" ftype="tiff"> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
128 <assert_contents> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
129 <has_image_width width="119"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
130 <has_image_height height="119"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
131 <has_image_depth depth="1"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
132 <has_image_channels channels="4"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
133 <has_image_frames frames="2"/> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
134 </assert_contents> |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
135 </output> |
|
3
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
136 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
137 <has_line line="Output TIFF shape: (2, 119, 119, 4)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
138 <has_line line="Output TIFF axes: TYXC"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
139 <has_line line="Output TIFF resolution: (1.0, 1.0)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
140 </assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
141 </test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
142 <!-- Test concatenation of z-slices with metadata --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
143 <test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
144 <param name="inputs" value="heart_ct_4043.tiff,heart_ct_3983.tiff,heart_ct_3953.tiff,heart_ct_3923.tiff"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
145 <param name="axis" value="Z"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
146 <param name="mode" value="--preserve_values"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
147 <param name="sort_by" value=""/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
148 <output name="output" ftype="tiff"> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
149 <assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
150 <has_image_width width="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
151 <has_image_height height="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
152 <has_image_depth depth="4"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
153 <has_image_channels channels="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
154 <has_image_frames frames="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
155 <has_image_center_of_mass slice="0" center_of_mass="254.83911700, 251.72483820" eps="1e-8"/><!-- 4043 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
156 <has_image_center_of_mass slice="1" center_of_mass="254.94356937, 251.88178729" eps="1e-8"/><!-- 3983 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
157 <has_image_center_of_mass slice="2" center_of_mass="254.95107235, 252.04425222" eps="1e-8"/><!-- 3953 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
158 <has_image_center_of_mass slice="3" center_of_mass="254.91235475, 252.24777978" eps="1e-8"/><!-- 3923 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
159 </assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
160 </output> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
161 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
162 <has_line line="Output TIFF shape: (4, 512, 512)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
163 <has_line line="Output TIFF axes: ZYX"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
164 <has_line line="Output TIFF resolution: (1.137778101526753, 1.137778101526753), unit: mm, z_position: -219.860001, z_spacing: 2.5"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
165 </assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
166 </test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
167 <!-- Test concatenation of z-slices with metadata + sorting by `z_position` (inputs in wrong order) --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
168 <test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
169 <param name="inputs" value="heart_ct_3953.tiff,heart_ct_3983.tiff,heart_ct_4043.tiff,heart_ct_3923.tiff"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
170 <param name="axis" value="Z"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
171 <param name="mode" value="--preserve_values"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
172 <param name="sort_by" value="z_position"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
173 <output name="output" ftype="tiff"> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
174 <assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
175 <has_image_width width="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
176 <has_image_height height="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
177 <has_image_depth depth="4"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
178 <has_image_channels channels="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
179 <has_image_frames frames="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
180 <has_image_center_of_mass slice="0" center_of_mass="254.83911700, 251.72483820" eps="1e-8"/><!-- 4043 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
181 <has_image_center_of_mass slice="1" center_of_mass="254.94356937, 251.88178729" eps="1e-8"/><!-- 3983 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
182 <has_image_center_of_mass slice="2" center_of_mass="254.95107235, 252.04425222" eps="1e-8"/><!-- 3953 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
183 <has_image_center_of_mass slice="3" center_of_mass="254.91235475, 252.24777978" eps="1e-8"/><!-- 3923 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
184 </assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
185 </output> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
186 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
187 <has_line line="Output TIFF shape: (4, 512, 512)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
188 <has_line line="Output TIFF axes: ZYX"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
189 <has_line line="Output TIFF resolution: (1.137778101526753, 1.137778101526753), unit: mm, z_position: -219.860001, z_spacing: 2.5"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
190 </assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
191 </test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
192 <!-- Test concatenation of z-slices with a missing slice in between (`z_position` must increase) --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
193 <test> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
194 <param name="inputs" value="heart_ct_4043.tiff,heart_ct_3983.tiff,heart_ct_3923.tiff"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
195 <param name="axis" value="Z"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
196 <param name="mode" value="--preserve_values"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
197 <param name="sort_by" value=""/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
198 <output name="output" ftype="tiff"> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
199 <assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
200 <has_image_width width="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
201 <has_image_height height="512"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
202 <has_image_depth depth="3"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
203 <has_image_channels channels="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
204 <has_image_frames frames="1"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
205 <has_image_center_of_mass slice="0" center_of_mass="254.83911700, 251.72483820" eps="1e-8"/><!-- 4043 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
206 <has_image_center_of_mass slice="1" center_of_mass="254.94356937, 251.88178729" eps="1e-8"/><!-- 3983 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
207 <has_image_center_of_mass slice="2" center_of_mass="254.91235475, 252.24777978" eps="1e-8"/><!-- 3923 --> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
208 </assert_contents> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
209 </output> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
210 <assert_stdout> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
211 <has_line line="Output TIFF shape: (3, 512, 512)"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
212 <has_line line="Output TIFF axes: ZYX"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
213 <has_line line="Output TIFF resolution: (1.137778101526753, 1.137778101526753), unit: mm, z_position: -220.27666766666667, z_spacing: 3.75"/> |
|
01c1d5af33be
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit a94f04c109c545a9f892a6ce7a5ffef152253201
imgteam
parents:
2
diff
changeset
|
214 </assert_stdout> |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
215 </test> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
216 </tests> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
217 <help> |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
218 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
219 **Concatenates images along arbitrary axes.** |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
220 |
|
2
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
221 This can be used, for example, to spatially concatenate images, or along their channels. |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
222 |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
223 This tool either preserves the image brightness, or the range of values. |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
224 In general, both cannot be preserved when concatenating images of different pixel types (e.g., uint8 and uint16). |
|
ad1caf2331c6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 4573c7c050968a40f6377a95727694105fbd69c7
imgteam
parents:
1
diff
changeset
|
225 |
|
0
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
226 </help> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
227 <citations> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
228 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
229 </citations> |
|
24d64e0a405f
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/concat_channels/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
230 </tool> |
