GetRgnPerimeterLength method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int GetRgnPerimeterLength(unsigned &uLength);

Delphi Syntax

Function GetRgnPerimeterLength (var uLength: L_UINT): L_INT;

Overview

Refer to Creating and Using a Bitmap Region

Remarks

Computes the length of the perimeter of a region.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method works only on bitmaps having a region. If a bitmap does not have a region the method returns the error: Not Initialized.

This method supports signed data images.

See Also

Elements:

GetStatisticsInfo method, GetObjectInfo method, Segment method, GetFeretsDiameter method, GetRgnContourPoints method

Topics:

Raster Images: Creating and Using a Region