Mercurial > repos > imgteam > 2d_auto_threshold
changeset 4:3df9f0a4bf34 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit 6b687746bdb3d5d1fb11ecffd6dd1bf42dc2c38d
author | imgteam |
---|---|
date | Fri, 10 Nov 2023 14:23:07 +0000 |
parents | 0c777d708acc |
children | 7db4fc31dbee |
files | auto_threshold.xml |
diffstat | 1 files changed, 22 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/auto_threshold.xml Sat Feb 19 15:17:40 2022 +0000 +++ b/auto_threshold.xml Fri Nov 10 14:23:07 2023 +0000 @@ -1,20 +1,27 @@ -<tool id="ip_threshold" name="Auto Threshold" version="0.0.5" profile="20.05"> - <description>applies a standard thresholding algorithm to an image</description> - <requirements> +<tool id="ip_threshold" name="Threshold image" version="0.0.5-2" profile="20.05"> + <description>with scikit-image</description> + <edam_operations> + <edam_operation>operation_3443</edam_operation> + </edam_operations> + <xrefs> + <xref type="bio.tools">scikit-image</xref> + <xref type="biii">scikit-image</xref> + </xrefs> + <requirements> <requirement type="package" version="0.18.1">scikit-image</requirement> <requirement type="package" version="2020.10.1">tifffile</requirement> - </requirements> - <command detect_errors="aggressive"> - <![CDATA[ - python '$__tool_directory__/auto_threshold.py' - '$input' - ./out.tif - '$th_method' - '$block_size' - '$dark_bg' - ]]> - </command> - <inputs> + </requirements> + <command detect_errors="aggressive"> + <![CDATA[ + python '$__tool_directory__/auto_threshold.py' + '$input' + ./out.tif + '$th_method' + '$block_size' + '$dark_bg' + ]]> + </command> + <inputs> <param name="input" type="data" format="tiff,png" label="Input image" /> <param name="th_method" type="select" label="Thresholding method"> <option value="otsu" selected="True">Otsu</option>