Mercurial > repos > imgteam > overlay_segmentation_mask
view overlay_segmentation_mask.xml @ 2:22e573b7dcb1 draft default tip
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/overlay_segmentation_mask/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
author | imgteam |
---|---|
date | Sat, 26 Feb 2022 17:14:53 +0000 |
parents | 8ad39f493587 |
children |
line wrap: on
line source
<tool id="ip_overlay_segmentation" name="Overlay Segmentation Mask" version="0.0.7" profile="20.05"> <description>Overlay Segmentation Mask</description> <requirements> <requirement type="package" version="0.18.1">scikit-image</requirement> <requirement type="package" version="3.3.4">matplotlib</requirement> <requirement type="package" version="1.20.2">numpy</requirement> </requirements> <command detect_errors="aggressive"><![CDATA[ python '$__tool_directory__/overlay_segmentation_mask.py' $greyscale #if str($label_option.label) == '--label' --label --label_color '$label_option.label_color' #end if --thickness $thickness --stroke_color '$stroke_color' '$input_image' '$input_mask' ./tmp.png ]]> </command> <inputs> <param name="input_image" type="data" label="Image Source File" format="tif,bmp,jpg,png"/> <param name="input_mask" type="data" label="Mask Source File" format="tif,bmp,jpg,png"/> <param name="greyscale" type="boolean" checked='true' truevalue='--grey' falsevalue='' label="Image Is Greyscale" /> <param name="thickness" size="4" type="float" value="0.3" label="Thickness" /> <param name="stroke_color" type="color" value="#ff0000" label="Stroke Color"/> <conditional name="label_option"> <param name="label" type="boolean" checked='false' truevalue='--label' falsevalue='' label="Plot Labels" /> <when value=""> </when> <when value="--label"> <param name="label_color" type="color" value="#ffff00" label="Label Color"/> </when> </conditional> </inputs> <outputs> <data format="png" name="output" from_work_dir="tmp.png" /> </outputs> <tests> <test> <conditional name="label_option"> <param name="label" value="--label"/> <param name="label_color" value="#ffff00"/> </conditional> <param name="stroke_color" value="#ffaa00"/> <param name="label_option['label']" value="--label"/> <param name="input_image" value="sample.tif"/> <param name="input_mask" value="sample_seg.tif"/> <param name="greyscale" value="--grey"/> <output name="output" value="outt.png" ftype="png" compare="sim_size"/> </test> </tests> <help> **What it does** This tool overlays a segmentation mask over an image. Note: This tool is deprecated and may not be supported in future. Please use the tool "Overlay Images" instead. </help> <citations> </citations> </tool>