annotate auto_threshold.xml @ 5:7db4fc31dbee draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
author imgteam
date Mon, 11 Mar 2024 17:12:33 +0000
parents 3df9f0a4bf34
children 8bccb36e055a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
1 <tool id="ip_threshold" name="Threshold image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
4
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
2 <description>with scikit-image</description>
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
3 <macros>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
4 <token name="@TOOL_VERSION@">0.18.1</token>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
6 </macros>
4
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
7 <edam_operations>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
8 <edam_operation>operation_3443</edam_operation>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
9 </edam_operations>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
10 <xrefs>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
11 <xref type="bio.tools">scikit-image</xref>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
12 <xref type="biii">scikit-image</xref>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
13 </xrefs>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
14 <requirements>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
15 <requirement type="package" version="0.18.1">scikit-image</requirement>
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
16 <requirement type="package" version="2020.10.1">tifffile</requirement>
4
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
17 </requirements>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
18 <command detect_errors="aggressive">
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
19 <![CDATA[
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
20 python '$__tool_directory__/auto_threshold.py'
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
21 '$input'
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
22 ./out.tif
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
23 '$th_method.method_id'
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
24 '$th_method.block_size'
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
25 '$th_method.threshold'
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
26 '$invert_output'
4
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
27 ]]>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
28 </command>
3df9f0a4bf34 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
imgteam
parents: 3
diff changeset
29 <inputs>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
30 <param name="input" type="data" format="tiff,png" label="Input image" />
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
31 <conditional name="th_method">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
32 <param name="method_id" type="select" label="Thresholding method">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
33 <option value="manual">Manual</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
34 <option value="otsu" selected="True">Globally adaptive / Otsu</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
35 <option value="li">Globally adaptive / Li's Minimum Cross Entropy</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
36 <option value="isodata">Globally adaptive / Isodata</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
37 <option value="yen">Globally adaptive / Yen</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
38 <option value="loc_gaussian">Locally adaptive / Gaussian</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
39 <option value="loc_median">Locally adaptive / Median</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
40 <option value="loc_mean">Locally adaptive / Mean</option>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
41 </param>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
42 <when value="manual">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
43 <param name="threshold" type="float" value="0" label="Threshold value" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
44 <param name="block_size" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
45 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
46 <when value="otsu">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
47 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
48 <param name="block_size" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
49 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
50 <when value="li">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
51 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
52 <param name="block_size" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
53 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
54 <when value="isodata">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
55 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
56 <param name="block_size" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
57 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
58 <when value="yen">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
59 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
60 <param name="block_size" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
61 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
62 <when value="loc_gaussian">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
63 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
64 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
65 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
66 <when value="loc_median">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
67 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
68 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
69 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
70 <when value="loc_mean">
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
71 <param name="threshold" type="hidden" value="0" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
72 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold" />
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
73 </when>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
74 </conditional>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
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." />
0
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
76 </inputs>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
77 <outputs>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
78 <data format="tiff" name="output" from_work_dir="out.tif" />
0
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
79 </outputs>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
80 <tests>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
81 <test>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
82 <param name="input" value="sample.tif"/>
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
83 <output name="output" value="out.tif" ftype="tiff" compare="sim_size" delta="10"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
84 <param name="method_id" value="loc_gaussian"/>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
85 <param name="block_size" value="3"/>
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
86 <param name="invert_output" value="False"/>
0
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
87 </test>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
88 <test>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
89 <param name="input" value="sample.tif"/>
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
90 <output name="output" value="out2.tif" ftype="tiff" compare="sim_size" delta="10"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
91 <param name="method_id" value="otsu"/>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
92 <param name="block_size" value="5"/>
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
93 <param name="invert_output" value="False"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
94 </test>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
95 <test>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
96 <param name="input" value="sample.tif"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
97 <output name="output" value="out3.tif" ftype="tiff" compare="sim_size" delta="10"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
98 <param name="method_id" value="manual"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
99 <param name="threshold" value="64"/>
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
100 <param name="invert_output" value="True"/>
0
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
101 </test>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
102 </tests>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
103 <help>
3
0c777d708acc "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit b1b3c63ab021aa77875c3b04127f6836024812f9"
imgteam
parents: 1
diff changeset
104 Applies a standard thresholding algorithm to an image.
5
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
105
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
106 The thresholding algorithm automatically determines a threshold value (unless manual thresholding is used).
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
107 The input image is then thresholded, by assigning white (pixel value 255) to image regions above the determined threshold,
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
108 and black (pixel value 0) to image regions below or equal to the determined threshold.
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
109
7db4fc31dbee planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 8b9f24cbfaf54f140705f0bf4b6732269bd401da
imgteam
parents: 4
diff changeset
110 The assignment of black and white to image regions below and above the threshold is inverted, if the corresponding option is set.
0
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
111 </help>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
112 <citations>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
113 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
114 </citations>
d4da97f51700 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff changeset
115 </tool>