Repository revision
0:5f83d67e30f1

Repository 'overlay_segmentation_mask'
hg clone https://toolshed.g2.bx.psu.edu/repos/thomaswollmann/overlay_segmentation_mask

Overlay Segmentation Mask tool metadata
Miscellaneous
Overlay Segmentation Mask
ip_overlay_segmentation
toolshed.g2.bx.psu.edu/repos/thomaswollmann/overlay_segmentation_mask/ip_overlay_segmentation/0.0.6
0.0.6
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/thomaswollmann/overlay_segmentation_mask/ip_overlay_segmentation/0.0.6 (this tool)
ip_overlay_segmentation
Requirements (dependencies defined in the <requirements> tag set)
name version type
scikit-image 0.14.0 package
matplotlib 3.0.2 package
pillow 5.3.0 package
tifffile 0.10.0 package
Additional information about this tool
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 
       && mv ./tmp.png '$output'
       
   
python
False
Functional tests
name inputs outputs required files
Test-1 label_option|label: True
stroke_color: #ffaa00
input_mask: sample_seg.tif
greyscale: True
input_image: sample.tif
label_option|label_color: #ffff00
attributes: name
sample.tif
sample_seg.tif
name