GetObjectInfo method (Main Control)
Builder Syntax |
int GetObjectInfo(bool bWeighted, unsigned &uX, unsigned &uY, int &nAngle, unsigned &uRoundness); |
Delphi Syntax |
Function GetObjectInfo (bWeighted: Boolean; var uX: L_UINT; var uY: L_UINT; var nAngle: L_INT; var uRoundness: L_UINT): L_INT; |
Overview |
Refer to Bitmaps and Bitmap Lists |
Remarks
(Raster Pro and above toolkits) Gets the position, orientation and roundness of areas in the image.
All the objects(areas) in the image are considered to be a single object. This method determines various attributes of the object in the image to identify the objects and to determine their position and orientation. The results uX, uY and nAngle obtained by this method are multiplied by 100 in order to obtain more precision. To get the actual results, divide by 100.
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 does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Elements: |
GetStatisticsInfo method, GetRgnContourPoints method, GetRgnPerimeterLength method, GetFeretsDiameter method |
Topics: |