view overlay_moving_and_fixed_image.xml @ 2:b4fc6e09e576 draft default tip

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/overlay_moving_and_fixed_image/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
author imgteam
date Sat, 26 Feb 2022 17:14:27 +0000
parents bc324ec66719
children
line wrap: on
line source

<tool id="ip_viz_overlay_moving_and_fixed_image" name="Overlay" version="0.0.3" profile="20.05">
    <description>moving and fixed image</description>
    <requirements>
        <requirement type="package" version="0.14.2">scikit-image</requirement>
        <requirement type="package" version="0.23.4">pandas</requirement>
        <requirement type="package" version="1.15.4">numpy</requirement>
        <requirement type="package" version="1.1.0">scipy</requirement>
        <requirement type="package" version="5.3.0">pillow</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive"><![CDATA[
         python '$__tool_directory__/overlay_moving_and_fixed_image.py'
             '$fixed_image'
             '$moving_image' 
             '$warp_matrix'
             '$overlay_out'
             --factor $factor
             $inverse_transform
    ]]></command>
    <inputs>
        <param name="fixed_image" type= "data" format="png" label="Fixed image" />
        <param name="moving_image" type= "data" format="png" label="Moving image" />
        <param name="warp_matrix" type= "data" format="tabular" label="Warp Matrix" />
        <param name="factor" type="float" value="0.5"
            label="Factor by which images are blended. 1.0 returns a copy of the fixed image, 0.0 returns a copy of the moving image."/>
        <param name="inverse_transform" type="boolean" checked="false" truevalue="--inverse_transform" falsevalue=""
            label="Set to Yes if inverse transformation should be displayed" />
    </inputs>
    <outputs>
       <data format="png" name="overlay_out" />
    </outputs>
    <tests>
      <test>
        <param name="fixed_image" value="sample1.png" />
        <param name="moving_image" value="sample2.png" />
        <param name="warp_matrix" value="warp_matrix.tsv" />
        <param name="factor" value="0.75" />
        <output name="overlay_out" value="out.png" ftype="png" compare="sim_size" />
      </test>
    </tests>
    <help>
    **What it does**

    This tool performs an overlay of two images of which one was transformed to match the other.

    Note: This tool is deprecated and may not be supported in future. Please use the tools "Projective Transformation" and "Overlay Images" instead.
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>