FilterCentroidLRG  Method

Description         Segments the input image with the Centroid-Linkage Region Growing algorithm. Probably this adaptive algorithm generates the best results from the implemented region growing algorithms. The created Region Matrix has the same Width and Height as the original DIB.

Syntax                 lRet = [BIVision.]FilterCentroidLRG hDib iMaxDiff

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 ).

See Also