view imagej2_find_edges.xml @ 0:8e608a6e44ac draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit b08f0e6d1546caaf627b21f8c94044285d5d5b9c-dirty"
author imgteam
date Tue, 17 Sep 2019 16:59:03 -0400
parents
children c8dfbf4b899c
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>