Mercurial > repos > imgteam > points2labelimage
diff points2label.xml @ 3:2ae122d5d85a draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/points2labelimage/ commit 78614a9010c2ca0e1fa5973639c05ab74bcdb148
| author | imgteam |
|---|---|
| date | Wed, 23 Apr 2025 14:37:31 +0000 |
| parents | 714a57d6f3a1 |
| children | 64c155acb864 |
line wrap: on
line diff
--- a/points2label.xml Fri Sep 27 17:41:06 2024 +0000 +++ b/points2label.xml Wed Apr 23 14:37:31 2025 +0000 @@ -3,7 +3,7 @@ <macros> <import>creators.xml</import> <import>tests.xml</import> - <token name="@TOOL_VERSION@">0.4</token> + <token name="@TOOL_VERSION@">0.4.1</token> <token name="@VERSION_SUFFIX@">0</token> </macros> <creator> @@ -46,7 +46,7 @@ <data name="output" format="tiff" /> </outputs> <tests> - <!-- Binary / TSV without header --> + <!-- Binary / TSV without header / Points --> <test> <param name="input" value="input1.tsv" /> <param name="shapex" value="30" /> @@ -56,7 +56,7 @@ <param name="binary" value="true" /> <expand macro="tests/binary_image_diff" name="output" value="output1_binary.tif" ftype="tiff" /> </test> - <!-- Binary / TSV with header --> + <!-- Binary / TSV with header / Circles --> <test> <param name="input" value="input2.tsv" /> <param name="shapex" value="205" /> @@ -66,7 +66,7 @@ <param name="binary" value="true" /> <expand macro="tests/binary_image_diff" name="output" value="output2_binary.tif" ftype="tiff" /> </test> - <!-- Labeled / TSV with header --> + <!-- Labeled / TSV with header / Circles --> <test> <param name="input" value="input2.tsv" /> <param name="shapex" value="205" /> @@ -76,7 +76,7 @@ <param name="binary" value="false" /> <expand macro="tests/label_image_diff" name="output" value="output2.tif" ftype="tiff" /> </test> - <!-- Binary / TSV with header / TSV with labels --> + <!-- Binary / TSV with header / TSV with labels / Circles --> <test> <param name="input" value="input3.tsv" /> <param name="shapex" value="200" /> @@ -86,7 +86,7 @@ <param name="binary" value="true" /> <expand macro="tests/binary_image_diff" name="output" value="output3_binary.tif" ftype="tiff" /> </test> - <!-- Labeled / TSV with header / TSV with labels --> + <!-- Labeled / TSV with header / TSV with labels / Circles --> <test> <param name="input" value="input3.tsv" /> <param name="shapex" value="200" /> @@ -96,6 +96,16 @@ <param name="binary" value="false" /> <expand macro="tests/label_image_diff" name="output" value="output3.tif" ftype="tiff" /> </test> + <!-- Labeled / TSV with header / TSV with labels / Rectangles --> + <test> + <param name="input" value="input4.tsv" /> + <param name="shapex" value="200" /> + <param name="shapey" value="100" /> + <param name="has_header" value="true" /> + <param name="swap_xy" value="false" /> + <param name="binary" value="false" /> + <expand macro="tests/label_image_diff" name="output" value="output4.tif" ftype="tiff" /> + </test> </tests> <help> @@ -113,6 +123,8 @@ - ``pos_y`` or ``POS_Y``: This column corresponds to the Y coordinates. - If a ``radius`` or ``RADIUS`` column is present, then the points will be rasterized as circles of the corresponding radii. + - If ``width`` or ``WIDTH`` and ``height`` or ``HEIGHT`` columns are present, then the points will be rasterized + as rectangles of the corresponding size. - If a ``label`` or ``LABEL`` column is present, then the corresponding labels will be used for rasterization (unless "Produce binary image" is activated). Different points are allowed to use the same label.
