FilterSingleLRG  Method

Description         Segments the input image with the Single-Linkage Region Growing algorithm. This algorithm is the simplest of the region growing algorithms. Probably will be the fastest segmentation. Use this segmentation for simple images (free of noise, low entropy, well separatable regions). For some images Centroid-Linkage Region Growing algorithm can be faster than this.

Syntax                 lRet = [BIVision.]FilterSingleLRG hDib iMaxDiff b4Neighbouring

Remarks             lRet                         LONGLONG Handle of the newly created Region Matrix.

                            hDib                       LONGLONG Source Region Matrix.

                            iMaxDiff                short                The maximum difference between two neighbouring pixels in the same region. If iMaxDiff less than zero, Bryant difference will be used (square mean of all adjacent pixel differences normalized to )

                            b4Neighbouring    BOOL             4 or 8 pixel neighbouring.

See Also