You are here: Start » FIL.NET » FIL.ImageWatersheds
Computes dark basins which are separated by at least inThreshold height watershed.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ImageWatersheds ( FilNet.Image inImage, int inThreshold, IList<FilNet.Region> outBasins )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inThreshold | int | <0, +INF> | 10 | Input minimum separating watershed height. Default value: 10. |
![]() | outBasins | System.Collections.Generic.IList<FilNet.Region> | Output dark basins found. |
Description
Image is interpreted as a topographic map, where dark pixels represents valleys. Each step of iteration increase level of water in valleys, until basins are adjacent. Each basin is represented by another region in a result array.
Examples

ImageWatersheds performed on the sample image.