view projective_transformation_points.xml @ 6:65e95d0b8838 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation_points/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author imgteam
date Mon, 13 Nov 2023 22:12:09 +0000
parents 3a686b6aa7fc
children 499ad4d9aa13
line wrap: on
line source

<tool id="ip_projective_transformation_points" name="Performs projective transformation" license="MIT" version="0.1.1-2" profile="20.05">
    <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="1.2.1">scipy</requirement>
        <requirement type="package" version="0.23.4">pandas</requirement>
        <requirement type="package" version="1.15.2">numpy</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive">
    <![CDATA[
        python '$__tool_directory__/projective_transformation_points.py'
            '$input'
            '$tmat'
            '$output'
    ]]>
    </command>
    <inputs>
        <param name="input" type="data" format="tabular" label="ROIs (pixel coordinates) to be transformed (TSV file)" />
        <param name="tmat" type= "data" format="tabular" label="Transformation matrix (TSV file)" />
    </inputs>
    <outputs>
       <data format="tabular" name="output" />
    </outputs> 
    <tests>
      <test>
        <param name="input" value="in.tabular" />
        <param name="tmat" value="tmat.tabular" />
        <output name="output" value="out.tabular" ftype="tabular" compare="diff" />
      </test>
    </tests>
    <help>
    **What it does**

    This tool performs a projective transformation of regions of interest (ROIs) defined by pixel (point) coordinates with/without labels.

    About the format of point coordinates (and labels) in the input TSV table: 
    1st column: x-coordinate; 
    2nd column: y-coordinate; 
    (optional) more column(s): point label(s) (numerical or categorical).
    The top row of the table will be regarded as column headers.

    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>