You are here: Start » AVL.NET » AVL.ImageWatersheds(AvlNet.Image, int, AvlNet.Region[])
AVL.ImageWatersheds(AvlNet.Image, int, AvlNet.Region[])
Computes dark basins which are separated by at least inThreshold height watershed.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ImageWatersheds( AvlNet.Image inImage, int inThreshold, out AvlNet.Region[] outBasins )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inThreshold
- Type: System.Int32
Input minimum separating watershed height - outBasins
- Type: AvlNet.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.
