Mercurial > repos > imgteam > 2d_auto_threshold
annotate auto_threshold.xml @ 10:2ee04d2ebdcf draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
| author | imgteam |
|---|---|
| date | Sat, 03 Jan 2026 14:43:10 +0000 |
| parents | 50fa6150e340 |
| children |
| 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> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
4 <import>creators.xml</import> |
|
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
5 <import>tests.xml</import> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
6 <token name="@TOOL_VERSION@">0.25.2</token> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
7 <token name="@VERSION_SUFFIX@">0</token> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
8 <xml name="inputs/offset"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
9 <param name="offset" type="float" value="0" label="Offset" |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
10 help="Offset to be added to the automatically determined threshold value. Positive values will increase the threshold (and thus reduce the amount of values above the threshold)."/> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
11 </xml> |
|
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
|
12 </macros> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
13 <creator> |
|
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
14 <expand macro="creators/bmcv"/> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
15 <expand macro="creators/kostrykin"/> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
16 </creator> |
|
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 <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
|
18 <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
|
19 </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
|
20 <xrefs> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
21 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
22 <xref type="bio.tools">giatools</xref> |
|
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
|
23 <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
|
24 <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
|
25 </xrefs> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
26 <requirements> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
27 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
28 <requirement type="package" version="0.7.3">giatools</requirement> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
29 <requirement type="package" version="0.12.2">ome-zarr</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
|
30 </requirements> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
31 <required_files> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
32 <include type="literal" path="auto_threshold.py"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
33 </required_files> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
34 <command detect_errors="aggressive"><![CDATA[ |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
35 |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
36 python '$__tool_directory__/auto_threshold.py' |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
37 |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
38 #if $input.extension == "zarr" |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
39 --input '$input.extra_files_path/$input.metadata.store_root' |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
40 #else |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
41 --input '$input' |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
42 #end if |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
43 |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
44 --output ./out.tiff |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
45 --params '$params' |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
46 --verbose |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
47 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
48 ]]></command> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
49 <configfiles> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
50 <configfile name="params"><![CDATA[ |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
51 { |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
52 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
53 #if str($th_method.method_id).startswith('loc_') |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
54 "block_size": $th_method.block_size, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
55 #end if |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
56 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
57 #if $th_method.method_id != "manual" |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
58 "offset": $th_method.offset, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
59 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
60 #else |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
61 "threshold1": $th_method.threshold1, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
62 #if str($th_method.threshold2) != "" |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
63 "threshold2": $th_method.threshold2, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
64 #else |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
65 "threshold2": null, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
66 #end if |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
67 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
68 #end if |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
69 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
70 "method": "$th_method.method_id", |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
71 "invert": $invert_output |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
72 |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
73 } |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
74 ]]></configfile> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
75 </configfiles> |
|
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
|
76 <inputs> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
77 <param name="input" type="data" format="tiff,zarr,png,jpg" 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
|
78 <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
|
79 <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
|
80 <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
|
81 <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
|
82 <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
|
83 <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
|
84 <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
|
85 <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
|
86 <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
|
87 <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
|
88 </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
|
89 <when value="manual"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
90 <param name="threshold1" type="float" value="0" label="Threshold value"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
91 <param name="threshold2" type="float" value="" optional="true" label="Second threshold value for hysteresis thresholding"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
92 <param name="offset" type="hidden" value="0"/> |
|
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 </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
|
94 <when value="otsu"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
95 <expand macro="inputs/offset"/> |
|
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
|
96 </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
|
97 <when value="li"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
98 <expand macro="inputs/offset"/> |
|
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
|
99 </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
|
100 <when value="isodata"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
101 <expand macro="inputs/offset"/> |
|
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
|
102 </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
|
103 <when value="yen"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
104 <expand macro="inputs/offset"/> |
|
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 </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
|
106 <when value="loc_gaussian"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
107 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
108 <expand macro="inputs/offset"/> |
|
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
|
109 </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
|
110 <when value="loc_median"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
111 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
112 <expand macro="inputs/offset"/> |
|
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
|
113 </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
|
114 <when value="loc_mean"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
115 <param name="block_size" type="integer" value="5" label="Odd size of pixel neighborhood for determining the threshold"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
116 <expand macro="inputs/offset"/> |
|
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
|
117 </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
|
118 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
119 <param name="invert_output" type="boolean" checked="false" label="Invert output labels" |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
120 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
|
121 </inputs> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
122 <outputs> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
123 <data format="tiff" name="output" from_work_dir="out.tiff" /> |
|
0
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
124 </outputs> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
125 <tests> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
126 <!-- Tests for single-channel images (TIFF) --> |
|
0
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
127 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
128 <param name="input" value="input/sample.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
129 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
130 <param name="method_id" value="loc_gaussian"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
131 <param name="block_size" value="51"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
132 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
133 <expand macro="tests/binary_image_diff" name="output" value="output/out1.tiff" ftype="tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
134 </test> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
135 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
136 <param name="input" value="input/sample.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
137 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
138 <param name="method_id" value="loc_gaussian"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
139 <param name="block_size" value="51"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
140 <param name="offset" value="1"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
141 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
142 <expand macro="tests/binary_image_diff" name="output" value="output/out2.tiff" ftype="tiff"/> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
143 </test> |
|
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
144 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
145 <param name="input" value="input/sample.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
146 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
147 <param name="method_id" value="otsu"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
148 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
149 <expand macro="tests/binary_image_diff" name="output" value="output/out3.tiff" ftype="tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
150 </test> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
151 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
152 <param name="input" value="input/sample.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
153 <param name="invert_output" value="True"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
154 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
155 <param name="method_id" value="manual"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
156 <param name="threshold1" value="64"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
157 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
158 <expand macro="tests/binary_image_diff" name="output" value="output/out4.tiff" ftype="tiff"/> |
|
0
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
159 </test> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
160 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
161 <param name="input" value="input/sample.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
162 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
163 <param name="method_id" value="manual"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
164 <param name="threshold1" value="180"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
165 <param name="threshold2" value="240"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
166 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
167 <expand macro="tests/binary_image_diff" name="output" value="output/sample_manual_180_240.tiff" ftype="tiff"/> |
|
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
|
168 </test> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
169 <!-- Tests for multi-channel images (PNG) --> |
|
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
|
170 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
171 <param name="input" value="input/rgb.png"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
172 <conditional name="th_method"> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
173 <param name="method_id" value="otsu"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
174 </conditional> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
175 <expand macro="tests/binary_image_diff" name="output" value="output/rgb_otsu.tiff" ftype="tiff"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
176 </test> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
177 <!-- Tests for irregular files (TODO: clear up what this means) --> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
178 <test> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
179 <param name="input" value="input/sample2.tiff"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
180 <conditional name="th_method"> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
181 <param name="method_id" value="otsu"/> |
|
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
182 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
183 <expand macro="tests/binary_image_diff" name="output" value="output/out5.tiff" ftype="tiff"/> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
184 </test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
185 <!-- Tests for exotic files --> |
|
8
699a5e9146b3
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
7
diff
changeset
|
186 <test> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
187 <param name="input" value="input/input5.jpg"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
188 <conditional name="th_method"> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
189 <param name="method_id" value="li"/> |
|
9
50fa6150e340
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 01343602708de3cc7fa4986af9000adc36dd0651
imgteam
parents:
8
diff
changeset
|
190 </conditional> |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
191 <expand macro="tests/binary_image_diff" name="output" value="output/input5_li.tiff" ftype="tiff"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
192 </test> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
193 <test> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
194 <param name="input" value="input/input8_zyx.zarr"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
195 <conditional name="th_method"> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
196 <param name="method_id" value="yen"/> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
197 </conditional> |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
198 <expand macro="tests/binary_image_diff" name="output" value="output/input8_yen.tiff" ftype="tiff"/> |
|
0
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
199 </test> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
200 </tests> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
201 <help> |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
202 |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
203 **Applies a standard thresholding algorithm to an image. Yields a binary 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
|
204 |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
205 The thresholding algorithm automatically determines a threshold value (unless manual thresholding is used). The input image is |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
206 then thresholded, by assigning white (pixel value 255) to image regions above the determined threshold, and black (pixel value 0) |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
207 to image regions below or equal to the determined threshold. For multi-channel images, each channel is processed separately, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
208 which, for example, may also yield colors beyond black and white in case of RGB images. |
|
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
|
209 |
|
10
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
210 The assignment of the pixel values 0 and 255 (i.e. black and white) to image regions below and above the threshold is inverted, |
|
2ee04d2ebdcf
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 71f7ecabba78de48147d4a5e6ea380b6b70b16e8
imgteam
parents:
9
diff
changeset
|
211 if the corresponding option is set. |
|
7
e5c8e7e72373
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
6
diff
changeset
|
212 |
|
0
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
213 </help> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
214 <citations> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
215 <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
|
216 </citations> |
|
d4da97f51700
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
217 </tool> |
