view imagej2_find_edges.xml @ 1:8f2e44595a26 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8ea6a4271431c05c82b09c0d3e629b13e6ea7936
author iuc
date Fri, 22 Jul 2016 23:25:23 -0400
parents a2387e58f9e7
children
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<tool id="imagej2_find_edges" name="Find edges" version="@WRAPPER_VERSION@.0">
    <description></description>
    <macros>
        <import>imagej2_macros.xml</import>
    </macros>
    <expand macro="fiji_requirements" />
    <command>
<![CDATA[
    python $__tool_directory__/imagej2_find_edges.py
    --input "$input"
    --input_datatype $input.ext
    --jython_script $__tool_directory__/imagej2_find_edges_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_find_edges.gif" compare="sim_size" />
        </test>
    </tests>
    <help>

**What it does**

Uses a Sobel edge detector to highlight sharp changes in intensity in the active image.
The two 3x3 convolution kernels shown below are used to generate vertical and horizontal
derivatives.  The final image is produced by combining the two derivatives using the square
root of the sum of the squares.

``1  2  1     1  0 -1``

``0  0  0     2  0 -2``

``-1 -2 -1    1  0 -1``

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