view imagej2_smooth.xml @ 0:f3ec070f1781 draft

planemo upload commit 378c3ecfbaed0330faf197811d379431b0f9e92c-dirty
author iuc
date Sun, 11 Oct 2015 13:31:38 -0400
parents
children 97a50ff3df5d
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<tool id="imagej2_smooth" name="Smooth" version="@WRAPPER_VERSION@.0">
    <description></description>
    <macros>
        <import>imagej2_macros.xml</import>
    </macros>
    <expand macro="fiji_requirements" />
    <command>
<![CDATA[
    python $__tool_directory__/imagej2_smooth.py
    --input "$input"
    --input_datatype $input.ext
    --jython_script $__tool_directory__/jython_script.py
    --output_datatype $output.ext
    --output "$output"
]]>
    </command>
    <inputs>
        <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="input" type="data" label="Select image"/>
    </inputs>
    <outputs>
        <data name="output" format_source="input" label="${tool.name} on ${on_string}"/>
    </outputs>
    <tests>
        <test>
            <param name="input" value="blobs.gif" />
            <output name="output" file="blobs_smooth.gif" compare="sim_size" />
        </test>
    </tests>
    <help>

**What it does**

<![CDATA[

Blurs the image by replacing each pixel with the average of its 3x3 neighborhood.

]]>

    </help>
    <expand macro="fiji_headless_citations" />
</tool>