Watershed Plugins

On Background Plugin

class morphonet.plugins.Watershed.on_background.On_Background

Bases: MorphoPlugin

This plugin perform a watershed algorithm on the background of the image based on seeds pass in parameters

Parameters:
  • Gaussian_Sigma (int, default :2) – sigma parameters from the gaussian algorithm (from skimage) aplied on the rawdata
  • Volume_Minimum (int, default : 1000) – minimum volume under wichi new object are created
  • Inverse (Dropdown) – applied the watershed on inverted rawdata (for image on black or white background)
  • Seeds (Coordinate List) – List of seeds added on the MorphoNet Window
process(t, dataset, objects)

On Raw Plugin

class morphonet.plugins.Watershed.on_raw.On_Raw

Bases: MorphoPlugin

This plugin perform a watershed algorithm on the background of the image based on seeds pass in parameters

Parameters:
  • Gaussian_Sigma (int, default :2) – sigma parameters from the gaussian algorithm (from skimage) aplied on the rawdata
  • Volume_Minimum (int, default : 1000) – minimum volume under wichi new object are created
  • Inverse (Dropdown) – applied the watershed on inverted rawdata (for image on black or white background)
  • Seeds (Coordinate List) – List of seeds added on the MorphoNet Window
process(t, dataset, objects)

With Mask On Raw Plugin

class morphonet.plugins.Watershed.with_mask_on_raw.With_Mask_On_Raw

Bases: MorphoPlugin

This plugin perform a watershed algorithm on a segmented region with new seeds passed in parameters

Parameters:
  • Gaussian_Sigma (int, default :2) – sigma parameters from the gaussian algorithm (from skimage) aplied on the rawdata
  • Volume_Minimum (int, default : 1000) – minimum volume under wichi new object are created
  • Seeds (Coordinate List) – List of seeds added on the MorphoNet Window
process(t, dataset, objects)

With Mask On Shape Plugin

class morphonet.plugins.Watershed.with_mask_on_raw.With_Mask_On_Raw

Bases: MorphoPlugin

This plugin perform a watershed algorithm on a segmented region with new seeds passed in parameters

Parameters:
  • Gaussian_Sigma (int, default :2) – sigma parameters from the gaussian algorithm (from skimage) aplied on the rawdata
  • Volume_Minimum (int, default : 1000) – minimum volume under wichi new object are created
  • Seeds (Coordinate List) – List of seeds added on the MorphoNet Window
process(t, dataset, objects)