Mercurial > repos > imgteam > binary2labelimage
annotate binary2label.xml @ 6:364e235bf378 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
| author | imgteam |
|---|---|
| date | Sat, 03 Jan 2026 14:14:28 +0000 |
| parents | 7f8102bdbfa1 |
| children |
| rev | line source |
|---|---|
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
1 <tool id="ip_binary_to_labelimage" name="Convert binary image to label map" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
2 <description>with giatools</description> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
3 <macros> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
4 <import>creators.xml</import> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
5 <import>tests.xml</import> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
6 <import>validators.xml</import> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
7 <token name="@TOOL_VERSION@">0.7.3</token> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
8 <token name="@VERSION_SUFFIX@">0</token> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
9 <xml name="input"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
10 <!-- JPEG is not allowed because it is a lossy compression that has no strictly constant labels --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
11 <param name="input" type="data" format="tiff,zarr,png" label="Binary image"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
12 <expand macro="validators/is_binary"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
13 <yield/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
14 </param> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
15 </xml> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
16 </macros> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
17 <creator> |
|
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
18 <expand macro="creators/bmcv"/> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
19 <expand macro="creators/kostrykin"/> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
20 </creator> |
|
3
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
21 <edam_operations> |
|
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
22 <edam_operation>operation_3443</edam_operation> |
|
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
23 </edam_operations> |
|
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
24 <xrefs> |
|
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
25 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
26 <xref type="bio.tools">giatools</xref> |
|
3
9bb446db4a1e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
27 </xrefs> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
28 <requirements> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
29 <requirement type="package" version="@TOOL_VERSION@">giatools</requirement> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
30 <requirement type="package" version="1.16.3">scipy</requirement> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
31 <requirement type="package" version="0.12.2">ome-zarr</requirement> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
32 </requirements> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
33 <required_files> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
34 <include type="literal" path="binary2label.py"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
35 </required_files> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
36 <command detect_errors="aggressive"><![CDATA[ |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
37 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
38 python '$__tool_directory__/binary2label.py' |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
39 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
40 #if $setup.input.extension == "zarr" |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
41 --input '$setup.input.extra_files_path/$setup.input.metadata.store_root' |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
42 #else |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
43 --input '$setup.input' |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
44 #end if |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
45 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
46 --output 'output.tiff' |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
47 --params '$params' |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
48 --verbose |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
49 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
50 ]]></command> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
51 <configfiles> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
52 <configfile name="params"><![CDATA[ |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
53 { |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
54 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
55 #if str($setup.method) == "watershed" |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
56 "min_distance": $setup.min_distance, |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
57 #end if |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
58 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
59 "method": "$setup.method" |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
60 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
61 } |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
62 ]]></configfile> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
63 </configfiles> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
64 <inputs> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
65 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
66 <param name="method" type="select" label="Mode" |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
67 help="Connected component analysis assigns unique labels to objects that are separated by 1 pixel or more. Watershed transform can also separate partially overlapping objects, but is only applicable to 2-D image data."> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
68 <option value="cca" selected="true">Connected component analysis</option> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
69 <option value="watershed">Watershed transform</option> |
|
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
70 </param> |
|
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
71 <when value="cca"> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
72 <expand macro="input"/> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
73 </when> |
|
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
74 <when value="watershed"> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
75 <expand macro="input"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
76 <expand macro="validators/is_2d"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
77 </expand> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
78 <param name="min_distance" type="integer" min="0" value="5" label="Minimum distance between two objects"/> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
79 </when> |
|
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
80 </conditional> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
81 </inputs> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
82 <outputs> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
83 <data format="tiff" name="output" from_work_dir="output.tiff"/> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
84 </outputs> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
85 <tests> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
86 <!-- Tests for 2-D --> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
87 <test> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
88 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
89 <param name="method" value="cca"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
90 <param name="input" value="input/input11.tiff"/> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
91 </conditional> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
92 <expand macro="tests/label_image_diff" name="output" value="output/input11-cca.tiff" ftype="tiff"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
93 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
94 <has_line line="[input] Input image axes: YX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
95 <has_line line="[input] Input image shape: (265, 329)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
96 <has_line line="[input] Input image dtype: uint16"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
97 <has_line line="[output] Output image axes: YX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
98 <has_line line="[output] Output image shape: (265, 329)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
99 <has_line line="[output] Output image dtype: uint16"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
100 </assert_stdout> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
101 </test> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
102 <test> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
103 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
104 <param name="method" value="watershed"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
105 <param name="input" value="input/input11.tiff"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
106 <param name="min_distance" value="10"/> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
107 </conditional> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
108 <expand macro="tests/label_image_diff" name="output" value="output/input11-watershed.tiff" ftype="tiff"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
109 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
110 <has_line line="[input] Input image axes: YX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
111 <has_line line="[input] Input image shape: (265, 329)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
112 <has_line line="[input] Input image dtype: uint16"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
113 <has_line line="[output] Output image axes: YX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
114 <has_line line="[output] Output image shape: (265, 329)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
115 <has_line line="[output] Output image dtype: uint16"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
116 </assert_stdout> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
117 </test> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
118 <!-- Tests for 3-D --> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
119 <test> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
120 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
121 <param name="method" value="cca"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
122 <param name="input" value="input/input9.zarr"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
123 </conditional> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
124 <!-- `label_image_diff` currently does not support 3-D images: https://github.com/galaxyproject/galaxy/pull/21455 --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
125 <expand macro="tests/intensity_image_diff" name="output" value="output/input9-cca.tiff" ftype="tiff"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
126 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
127 <has_line line="[input] Input image axes: ZYX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
128 <has_line line="[input] Input image shape: (2, 100, 100)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
129 <has_line line="[input] Input image dtype: bool"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
130 <has_line line="[input] Input image resolution=(1.0, 1.0), unit='um', z_spacing=1.0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
131 <has_line line="[output] Output image axes: ZYX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
132 <has_line line="[output] Output image shape: (2, 100, 100)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
133 <has_line line="[output] Output image dtype: uint16"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
134 <has_line line="[output] Output image resolution=(1.0, 1.0), unit='um', z_spacing=1.0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
135 </assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
136 </test> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
137 <test expect_failure="true"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
138 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
139 <param name="method" value="watershed"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
140 <param name="input" value="input/input9.zarr"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
141 </conditional> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
142 <assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
143 <!-- Rejected by py-script --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
144 <has_text text='Method "watershed" is not applicable to 3-D images.'/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
145 </assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
146 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
147 <has_line line="[input] Input image axes: ZYX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
148 <has_line line="[input] Input image shape: (2, 100, 100)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
149 <has_line line="[input] Input image dtype: bool"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
150 <has_line line="[input] Input image resolution=(1.0, 1.0), unit='um', z_spacing=1.0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
151 </assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
152 </test> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
153 <test expect_failure="true"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
154 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
155 <param name="method" value="watershed"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
156 <param name="input" value="input/input9.tiff"/> |
|
5
7f8102bdbfa1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 48df7d9c58fb88e472caeb4d4a1e14170d79b643
imgteam
parents:
4
diff
changeset
|
157 </conditional> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
158 <assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
159 <!-- Rejected by validator --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
160 <has_n_lines n="0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
161 </assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
162 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
163 <!-- Rejected by validator --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
164 <has_n_lines n="0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
165 </assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
166 </test> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
167 <!-- Tests for multi-channel images --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
168 <test expect_failure="true"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
169 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
170 <param name="method" value="cca"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
171 <param name="input" value="input/input10.zarr"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
172 </conditional> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
173 <assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
174 <!-- Rejected by py-script --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
175 <has_text text='Multi-channel images are forbidden to avoid confusion with multi-channel labels (e.g., RGB labels).'/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
176 </assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
177 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
178 <has_line line="[input] Input image axes: CYX"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
179 <has_line line="[input] Input image shape: (2, 64, 64)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
180 <has_line line="[input] Input image dtype: uint8"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
181 <has_line line="[input] Input image resolution=(1.0, 1.0)"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
182 </assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
183 </test> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
184 <test expect_failure="true"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
185 <conditional name="setup"> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
186 <param name="method" value="cca"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
187 <param name="input" value="input/rgb.png"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
188 </conditional> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
189 <assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
190 <!-- Rejected by validator --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
191 <has_n_lines n="0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
192 </assert_stderr> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
193 <assert_stdout> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
194 <!-- Rejected by validator --> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
195 <has_n_lines n="0"/> |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
196 </assert_stdout> |
|
4
984358e43242
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit 00199464fa2aa1928a49e2379edf199c3db91533
imgteam
parents:
3
diff
changeset
|
197 </test> |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
198 </tests> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
199 <help> |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
200 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
201 **Converts a binary image to a label map.** |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
202 |
|
6
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
203 This tool assigns each object a unique label. |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
204 |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
205 Individual objects are determined using connected component analysis, or distance transform and watershed. |
|
364e235bf378
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/binary2labelimage/ commit f5a4de7535e433e3b0e96e0694e481b6643a54f8
imgteam
parents:
5
diff
changeset
|
206 |
|
0
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
207 </help> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
208 <citations> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
209 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
210 </citations> |
|
b97a362ff321
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/binary2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
211 </tool> |
