comparison auto_threshold.xml @ 6:8bccb36e055a draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit cb3d628f4c91e996e10dcb35b1168332e692293a
author imgteam
date Wed, 13 Mar 2024 06:15:54 +0000
parents 7db4fc31dbee
children e5c8e7e72373
comparison
equal deleted inserted replaced
5:7db4fc31dbee 6:8bccb36e055a
1 <tool id="ip_threshold" name="Threshold image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> 1 <tool id="ip_threshold" name="Threshold image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
2 <description>with scikit-image</description> 2 <description>with scikit-image</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">0.18.1</token> 4 <token name="@TOOL_VERSION@">0.18.1</token>
5 <token name="@VERSION_SUFFIX@">0</token> 5 <token name="@VERSION_SUFFIX@">1</token>
6 </macros> 6 </macros>
7 <edam_operations> 7 <edam_operations>
8 <edam_operation>operation_3443</edam_operation> 8 <edam_operation>operation_3443</edam_operation>
9 </edam_operations> 9 </edam_operations>
10 <xrefs> 10 <xrefs>
21 '$input' 21 '$input'
22 ./out.tif 22 ./out.tif
23 '$th_method.method_id' 23 '$th_method.method_id'
24 '$th_method.block_size' 24 '$th_method.block_size'
25 '$th_method.threshold' 25 '$th_method.threshold'
26 '$invert_output' 26 $invert_output
27 ]]> 27 ]]>
28 </command> 28 </command>
29 <inputs> 29 <inputs>
30 <param name="input" type="data" format="tiff,png" label="Input image" /> 30 <param name="input" type="data" format="tiff,png" label="Input image" />
31 <conditional name="th_method"> 31 <conditional name="th_method">
70 <when value="loc_mean"> 70 <when value="loc_mean">
71 <param name="threshold" type="hidden" value="0" /> 71 <param name="threshold" type="hidden" value="0" />
72 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold" /> 72 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold" />
73 </when> 73 </when>
74 </conditional> 74 </conditional>
75 <param name="invert_output" type="boolean" checked="false" truevalue="True" falsevalue="False" label="Invert output labels" help="Pixels are usually assigned the label 0 if the pixel value is below (or equal to) the threshold, and 255 if it is above the threshold. If this option is activated, pixels are assigned the label 255 if the pixel value is below (or equal to) the threshold, and 0 if it is above the threshold." /> 75 <param name="invert_output" type="boolean" checked="false" truevalue="--invert_output" falsevalue="" label="Invert output labels" help="Pixels are usually assigned the label 0 if the pixel value is below (or equal to) the threshold, and 255 if it is above the threshold. If this option is activated, pixels are assigned the label 255 if the pixel value is below (or equal to) the threshold, and 0 if it is above the threshold." />
76 </inputs> 76 </inputs>
77 <outputs> 77 <outputs>
78 <data format="tiff" name="output" from_work_dir="out.tif" /> 78 <data format="tiff" name="output" from_work_dir="out.tif" />
79 </outputs> 79 </outputs>
80 <tests> 80 <tests>