FilterHybridLRG  Method

Description         Segments the input image with a Hybrid-Linkage Region Growing algorithm. Hybrid algorithms are very useful for strongly noisy images. This algorithm examines an nMatrixSize by nMatrixSize sized local context of the actual pixel. The context will be a part of a region if at least nThresholding number of pixels in the context can be added to the region.

Syntax                 lRet = [BIVision.]FilterHybridLRG hDib iMaxDiff nMatrixSize nThresholding 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 ).

                            nMatrixSize           short                Size of the local context to be examined. See the description above.

                            nThresholding       short                Thresholding value of the local context to be examined. See the description above.

                            b4Neighbouring    BOOL             4 or 8 pixel neighbouring.

See Also