view labelimage2points.xml @ 2:3b7460735223 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/labelimage2points/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author imgteam
date Mon, 13 Nov 2023 22:11:16 +0000
parents 07525a7d9ea0
children
line wrap: on
line source

<tool id="ip_labelimage_to_points" name="Convert label map to points (center of masses)" version="0.2-2"> 
    <description></description>
    <edam_operations>
        <edam_operation>operation_3443</edam_operation>
    </edam_operations>
    <xrefs>
        <xref type="bio.tools">galaxy_image_analysis</xref>
    </xrefs>
    <requirements>
        <requirement type="package" version="0.14.2">scikit-image</requirement>
        <requirement type="package" version="0.21.0">pandas</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive">
        <![CDATA[
        python '$__tool_directory__/labelimage2points.py' '$input' '$output'
        ]]> 
    </command>
    <inputs>
        <param name="input" type="data" format="tiff,png,jpg,bmp" label="Label image file"/>
    </inputs>
    <outputs>
        <data format="tabular" name="output"/>
    </outputs>
    <tests>
        <test>
            <param name="input" value="label.tif" />
            <output name="output" value="points.tsv" ftype="tabular" />
        </test>
    </tests>
    <help>
    **What it does**

    Calculates the center of mass for all differently colored regions in the image.
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>