view image_registration_affine.xml @ 3:5030651c2993 draft default tip

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

<tool id="ip_image_registration" name="Perform affine image registration (intensity-based)" version="0.0.3-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.18.1">scikit-image</requirement>
        <requirement type="package" version="1.6.2">scipy</requirement>
        <requirement type="package" version="1.2.4">pandas</requirement>
        <requirement type="package" version="1.20.2">numpy</requirement>
        <requirement type="package" version="2020.10.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive">
    <![CDATA[
         python '$__tool_directory__/image_registration_affine.py'
         '$fn_moving'
         '$fn_fixed'
         '$fn_tmat'
         '$sigma'
         '$metric'
    ]]>
    </command>
    <inputs>
        <param name="fn_moving" type="data" format="tiff,png,jpg" label="Moving image" />
        <param name="fn_fixed" type="data" format="tiff,png,jpg" label="Fixed (reference) image" />
        <param name="sigma" type="float" value="3" label="Sigma of Gaussian filter for smoothing input images" />
        <param name="metric" type="select" label="Image similarity metric">
            <option value="mse" selected="True">Mean squared error</option>
            <option value="mae">Mean absolute error</option>
            <option value="lcc">Local cross-correlation</option>
        </param>
    </inputs>
    <outputs>
       <data format="tabular" name="fn_tmat" />
    </outputs>
    <tests>
      <test>
        <param name="fn_moving" value="moving.png"/>
        <param name="fn_fixed" value="fixed.png"/>
        <param name="sigma" value="3"/>
        <param name="metric" value="lcc"/>
        <output name="fn_tmat" value="tmat.tsv" ftype="tabular" compare="diff" lines_diff="6"/>
      </test>
    </tests>
    <help>
    **What it does**

    This tool estimates the (affine) transformation matrix for registration of two images based on intensity information. 
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>