Skip to content

Commit

Permalink
Update segmetrics tool
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Mar 19, 2024
1 parent d3a8997 commit 45fa59f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions tools/segmetrics/creators.xml
15 changes: 11 additions & 4 deletions tools/segmetrics/segmetrics.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<tool id="ip_segmetrics" name="Compute image segmentation and object detection performance measures" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
<description>with SegMetrics</description>
<macros>
<import>creators.xml</import>
<import>tests.xml</import>
<token name="@TOOL_VERSION@">1.4</token>
<token name="@VERSION_SUFFIX@">4</token>
<token name="@VERSION_SUFFIX@">5</token>
</macros>
<creator>
<expand macro="creators/bmcv"/>
</creator>
<edam_operations>
<edam_operation>operation_3443</edam_operation>
</edam_operations>
Expand Down Expand Up @@ -50,8 +55,8 @@
</command>
<inputs>

<param name="input_seg" type="data" format="tiff,png,zip" label="Segmented images" />
<param name="input_gt" type="data" format="tiff,png,zip" label="Ground truth images" />
<param name="input_seg" type="data" format="tiff,png,zip" label="Segmented image(s)" />
<param name="input_gt" type="data" format="tiff,png,zip" label="Ground truth image(s)" />

<param name="unzip" type="boolean" checked="false" truevalue="-unzip" falsevalue="" label="Unzip" />

Expand Down Expand Up @@ -315,11 +320,13 @@
</test>
</tests>
<help>
This tool permits the computation of image segmentation and object detection performance measures for 2-D image data.

**Computates image segmentation and object detection performance measures for 2-D image data.**

You can either use a pair of individual input images (a segmented and a ground truth image), or a pair of ZIP archives which contain the segmented and the correspondiong ground truth images. When using a pair of individual images, remember to turn off the "Unzip" option. When using ZIP archives, turn it on instead and make sure that the directory structure is the same for the segmented and the ground truth images. Correspondences are estbalished based on the file names, which should be *identical* for a pair of corresponding images.

If all objects within your segmented images are *uniquely* labeled, you can turn on the "Segmentation is uniquely labeled" switch to speed up the computations. Leave it off otherwise, or if you are unsure. The same accounts for the "Ground truth is uniquely labeled" switch and your ground turth image data.

</help>
<citations>
<citation type="doi">10.1093/bioinformatics/btu080</citation>
Expand Down
1 change: 1 addition & 0 deletions tools/segmetrics/tests.xml

0 comments on commit 45fa59f

Please sign in to comment.