Usage: watershedMeyer 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.
Types supported: byte 2d, byte 3d
Category: connect