SelectRegion  Method

Description         Selects the specified region from the input region matrix. Returns another Region matrix, where all of the specified region pixels are marked with 1, and all the others with zero.

Syntax                 lRet = [BIVision.]SelectRegion RegionMatrix Width Height RegNum

Remarks             lRet                         LONGLONG Handle of the newly created Region Matrix.

                            RegionMatrix        LONGLONG Source Region Matrix.

                            Width                     short                Width of source Region Matrix.

                            Height                     short                Height of source Region Matrix.

                            RegNum                 short                Specified region label to be selected.

See Also