Mercurial > repos > imgteam > points2labelimage
annotate points2label.xml @ 5:dc91192a7150 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
| author | imgteam |
|---|---|
| date | Thu, 06 Nov 2025 09:59:19 +0000 |
| parents | 64c155acb864 |
| children |
| rev | line source |
|---|---|
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
1 <tool id="ip_points_to_label" name="Convert coordinates to label map" version="@TOOL_VERSION@" profile="20.05"> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
2 <description></description> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
3 <macros> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
4 <import>creators.xml</import> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
5 <import>tests.xml</import> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
6 <token name="@TOOL_VERSION@">0.5.0</token> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
7 </macros> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
8 <creator> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
9 <expand macro="creators/bmcv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
10 </creator> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
11 <edam_operations> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
12 <edam_operation>operation_3443</edam_operation> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
13 </edam_operations> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
14 <xrefs> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
15 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
16 </xrefs> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
17 <requirements> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
18 <requirement type="package" version="0.25.2">scikit-image</requirement> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
19 <requirement type="package" version="2.3.4">numpy</requirement> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
20 <requirement type="package" version="2.3.3">pandas</requirement> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
21 <requirement type="package" version="2025.10.16">tifffile</requirement> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
22 <requirement type="package" version="0.3.1">giatools</requirement> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
23 </requirements> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
24 <command detect_errors="aggressive"><![CDATA[ |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
25 |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
26 python '$__tool_directory__/points2label.py' |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
27 '$input.file_ext' |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
28 '$input' |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
29 '$output' |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
30 $shapex |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
31 $shapey |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
32 $has_header |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
33 $swap_xy |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
34 $binary |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
35 |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
36 ]]></command> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
37 <inputs> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
38 <param name="input" type="data" format="tabular,geojson" label="Shapes to be rasterized"/> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
39 <param name="shapex" type="integer" value="500" min="1" label="Width of the output image" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
40 <param name="shapey" type="integer" value="500" min="1" label="Height of the output image" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
41 <param name="has_header" type="boolean" checked="true" truevalue="--has_header True" falsevalue="" optional="true" label="Tabular list of shapes has header" help="Only used if the input is a tabular file (ignored for GeoJSON). Turning this off will interpret the tabular file as a list of points, where the X and Y coordinates correspond to the first and second column, respectively." /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
42 <param name="swap_xy" type="boolean" checked="false" falsevalue="" truevalue="--swap_xy True" optional="true" label="Swap X and Y coordinates" help="Swap the X and Y coordinates before rasterization. The width and height of the output image is not affected." /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
43 <param name="binary" type="boolean" checked="false" truevalue="--binary True" falsevalue="" optional="true" label="Produce binary image" help="Use the same label for all shapes (65535)." /> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
44 </inputs> |
|
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
45 <outputs> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
46 <data name="output" format="tiff" /> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
47 </outputs> |
|
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
48 <tests> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
49 <!-- Binary / TSV without header / Points --> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
50 <test> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
51 <param name="input" value="input1.tsv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
52 <param name="shapex" value="30" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
53 <param name="shapey" value="20" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
54 <param name="has_header" value="false" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
55 <param name="swap_xy" value="true" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
56 <param name="binary" value="true" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
57 <expand macro="tests/binary_image_diff" name="output" value="output1_binary.tiff" ftype="tiff" /> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
58 </test> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
59 <!-- Binary / TSV with header / Circles --> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
60 <test> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
61 <param name="input" value="input2.tsv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
62 <param name="shapex" value="205" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
63 <param name="shapey" value="84" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
64 <param name="has_header" value="true" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
65 <param name="swap_xy" value="false" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
66 <param name="binary" value="true" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
67 <expand macro="tests/binary_image_diff" name="output" value="output2_binary.tiff" ftype="tiff" /> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
68 </test> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
69 <!-- Labeled / TSV with header / Circles --> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
70 <test> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
71 <param name="input" value="input2.tsv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
72 <param name="shapex" value="205" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
73 <param name="shapey" value="84" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
74 <param name="has_header" value="true" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
75 <param name="swap_xy" value="false" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
76 <param name="binary" value="false" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
77 <expand macro="tests/label_image_diff" name="output" value="output2.tiff" ftype="tiff" /> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
78 </test> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
79 <!-- Binary / TSV with header / TSV with labels / Circles --> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
80 <test> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
81 <param name="input" value="input3.tsv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
82 <param name="shapex" value="200" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
83 <param name="shapey" value="100" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
84 <param name="has_header" value="true" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
85 <param name="swap_xy" value="false" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
86 <param name="binary" value="true" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
87 <expand macro="tests/binary_image_diff" name="output" value="output3_binary.tiff" ftype="tiff" /> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
88 </test> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
89 <!-- Labeled / TSV with header / TSV with labels / Circles --> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
90 <test> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
91 <param name="input" value="input3.tsv" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
92 <param name="shapex" value="200" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
93 <param name="shapey" value="100" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
94 <param name="has_header" value="true" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
95 <param name="swap_xy" value="false" /> |
|
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
96 <param name="binary" value="false" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
97 <expand macro="tests/label_image_diff" name="output" value="output3.tiff" ftype="tiff" /> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
98 </test> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
99 <!-- Labeled / TSV with header / TSV with labels / Rectangles --> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
100 <test> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
101 <param name="input" value="input4.tsv" /> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
102 <param name="shapex" value="200" /> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
103 <param name="shapey" value="100" /> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
104 <param name="has_header" value="true" /> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
105 <param name="swap_xy" value="false" /> |
|
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
106 <param name="binary" value="false" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
107 <expand macro="tests/label_image_diff" name="output" value="output4.tiff" ftype="tiff" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
108 </test> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
109 <!-- Labeled / TSV with header / TSV with labels / Circles + Rectangles --> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
110 <test> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
111 <param name="input" value="input5.tsv" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
112 <param name="shapex" value="200" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
113 <param name="shapey" value="100" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
114 <param name="has_header" value="true" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
115 <param name="swap_xy" value="false" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
116 <param name="binary" value="false" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
117 <expand macro="tests/label_image_diff" name="output" value="output8.tiff" ftype="tiff" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
118 </test> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
119 <test expect_failure="true"> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
120 <!-- The test should fail because simultaneous usage of radius and width/height on a row is forbidden --> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
121 <param name="input" value="input6.tsv" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
122 <param name="shapex" value="200" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
123 <param name="shapey" value="100" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
124 <param name="has_header" value="true" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
125 <param name="swap_xy" value="false" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
126 <param name="binary" value="false" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
127 <assert_stderr> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
128 <has_text text="Ambiguous shape type (circle or rectangle)" /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
129 </assert_stderr> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
130 </test> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
131 <!-- Labeled / GeoJSON / mixed name and no-name --> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
132 <test> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
133 <param name="input" value="rois.geojson" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
134 <param name="shapex" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
135 <param name="shapey" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
136 <param name="has_header" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
137 <param name="swap_xy" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
138 <param name="binary" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
139 <expand macro="tests/label_image_diff" name="output" value="output5.tiff" ftype="tiff" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
140 </test> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
141 <test> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
142 <param name="input" value="rois.geojson" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
143 <param name="shapex" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
144 <param name="shapey" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
145 <param name="has_header" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
146 <param name="swap_xy" value="true" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
147 <param name="binary" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
148 <expand macro="tests/label_image_diff" name="output" value="output6.tiff" ftype="tiff" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
149 </test> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
150 <!-- Labeled / GeoJSON / no-name --> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
151 <test> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
152 <param name="input" value="rois-noname.geojson" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
153 <param name="shapex" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
154 <param name="shapey" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
155 <param name="has_header" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
156 <param name="swap_xy" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
157 <param name="binary" value="false" /> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
158 <expand macro="tests/label_image_diff" name="output" value="output7.tiff" ftype="tiff" /> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
159 </test> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
160 <test expect_failure="true"> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
161 <!-- The test should fail because the GeoJSON uses the `LineString` primitive type that is not supported yet --> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
162 <param name="input" value="rois-illegal2.geojson" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
163 <param name="shapex" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
164 <param name="shapey" value="300" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
165 <param name="has_header" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
166 <param name="swap_xy" value="false" /> |
|
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
167 <param name="binary" value="false" /> |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
168 <assert_stderr> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
169 <has_text text='Unsupported geometry type: "LineString"' /> |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
170 </assert_stderr> |
|
3
2ae122d5d85a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
imgteam
parents:
2
diff
changeset
|
171 </test> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
172 </tests> |
|
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
173 <help> |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
174 |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
175 **Converts a list of shapes to a label map via rasterization.** |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
176 |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
177 The created image is a single-channel image with 16 bits per pixel (unsigned integers). The shapes are |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
178 rasterized with unique labels, explicitly given labels (custom), or the value 65535 (white) for binary image |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
179 output. Pixels not corresponding to any shapes are assigned the value 0 (black). |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
180 |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
181 **Using a GeoJSON input file (recommended).** Only features (shape specifications) of `Polygon` and `Point` |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
182 type are supported. In conjunction with the `radius` property, a `Point` type feature can also be used to |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
183 represent circles. Custom labels can be encoded in the `name` property (must be numeric and integer), and |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
184 different features are allowed to use the same labels. |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
185 |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
186 **Using a tabular input file (deprecated).** The tabular list of points can either be header-less. In this |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
187 case, the first and second columns are expected to be the X and Y coordinates, respectively, and each row |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
188 corresponds to a single point. Otherwise, if a header is present, it is searched for the following column |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
189 names: |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
190 |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
191 - Column ``pos_x`` or ``POS_X`` is mandatory and corresponds to the X coordinates. |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
192 - Column ``pos_y`` or ``POS_Y`` is mandatory and corresponds to the Y coordinates. |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
193 - If a ``radius`` or ``RADIUS`` column is present and the value in a row is positive, then the row will be |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
194 rasterized as a circle of the corresponding size, centered at the given X and Y coordinates. |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
195 - If ``width`` or ``WIDTH`` and ``height`` or ``HEIGHT`` columns are present and the values in a row are |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
196 positive, then the rows will be rasterized as rectangles of the corresponding size, with the upper-left |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
197 corner given by the X and Y coordinates. |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
198 - If a ``label`` or ``LABEL`` column is present, then the corresponding labels will be used for rasterization |
|
5
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
199 (unless "Produce binary image" is activated). Different rows are allowed to use the same label. If used, |
|
dc91192a7150
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit edac062b00490276ef00d094e0594abdb3a3f23c
imgteam
parents:
4
diff
changeset
|
200 the label must be numeric and integer. |
|
2
714a57d6f3a1
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 6fc9ab8db9ef72ac7ded30d7373768feeae9390d
imgteam
parents:
1
diff
changeset
|
201 |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
202 </help> |
|
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
203 <citations> |
|
4
64c155acb864
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 9a40a5d1e1008c26cc327c6d163df2a1af22a1a0
imgteam
parents:
3
diff
changeset
|
204 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
|
0
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
205 </citations> |
|
07d362a8af11
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
206 </tool> |
