Pink 0.9

watershedwithoutline.c File Reference

watershed transformation without line of separation More...


Detailed Description

watershed transformation without line of separation

Usage: watershedwithoutline in mark {bgmark|null} {roi|null} connex out

Description: Performs the watershed transformation on the image in, taking the set of markers in mark. If this parameter is present, bgmark is used as a set of markers for the background. If this parameter is present, roi indicates the region of interest on which the operation is performed. The parameter connex gives the adjacency relation (4,8 in 2D; 6,18,26 in 3D) for the makers.

The image out is a label image (int32_t)

This version does not create any line to separate the catchment basins.

Types supported: byte 2d, byte 3d

Category: connect

Author:
Michel Couprie and Laurent Najman