view imagej2_shadows.xml @ 0:7baf811ed973 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:39 -0400
parents
children c8bb47840c8d
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<tool id="imagej2_shadows" name="Add shadow effect" version="@WRAPPER_VERSION@.0">
    <description></description>
    <macros>
        <import>imagej2_macros.xml</import>
    </macros>
    <expand macro="fiji_requirements" />
    <command>
<![CDATA[
    python $__tool_directory__/imagej2_shadows.py
    --input "$input"
    --input_datatype $input.ext
    --direction $direction
    --jython_script $__tool_directory__/imagej2_shadows_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"/>
        <param name="direction" type="select" label="Direction" help="Light will appear to come from the selected direction">
            <option value="East" selected="True">East</option>
            <option value="North">North</option>
            <option value="Northeast">Northeast</option>
            <option value="Northwest">Northwest</option>
            <option value="South">South</option>
            <option value="Southeast">Southeast</option>
            <option value="Southwest">Southwest</option>
            <option value="West">West</option>
        </param>
    </inputs>
    <outputs>
        <data name="output" format_source="input" label="${tool.name} on ${on_string}: Light from ${direction}"/>
    </outputs>
    <tests>
        <test>
            <param name="input" value="blobs.gif" />
            <param name="direction" value="Northwest" />
            <output name="output" file="blobs_northwest.gif" compare="sim_size" />
        </test>
    </tests>
    <help>

**What it does**

<![CDATA[

Produces a shadow effect, with light appearing to come from the selected direction (East, North, Northeast,
Northwest, South, Southeast, Southwest and West). The underlying commands use Convolve 3 × 3, ImageJ’s 3 × 3
convolution function.

]]>

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