Usage: watershed in mark <bgmark|null> <roi|null> out
Description: Performs the watershed transformation on the image in.pgm, taking the set of markers in mark.pgm. If this parameter is present, bgmark.pgm 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. All images must be previously transformed in the khalimsky space with a max strategy. The output image is in khalimsky space too.
Types supported: byte 2d
Category: connect orders