Skip to content

A script that leverages the syGlass Python module to convert a channel in a given project into a mask.

Notifications You must be signed in to change notification settings

IstoVisio/script_channel_to_mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All scripts require v0.62 or newer of the syGlass Python module.

channel_to_mask.py

A script that leverages the syGlass Python module to convert a channel in a given project into a mask stored in the mask octree (.syk file).

Usage

python channel_to_mask.py [path/to/project.syg] [channelNumber]

channel_as_mask.py

A script that leverages the syGlass Python module to export one channel masked by another channel (where that channel is within the saved thresholds) in a given project.

Usage

python channel_as_mask.py [path/to/project.syg] [imageChannelNumber] [maskChannelNumber]

tiff_channel_as_mask.py

The same as channel_as_mask.py, but instead operating on TIFF slices that have already been exported from a syGlass project. The directory to these TIFFs is provided as an additional argument.

Usage

python channel_as_mask.py [path/to/project.syg] [path/to/tiff/directory] [imageChannelNumber] [maskChannelNumber]

About

A script that leverages the syGlass Python module to convert a channel in a given project into a mask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages