GetObjectInfo Method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short GetObjectInfo(ILEADRaster* pRaster, VARIANT_BOOL bWeighted)

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.

This method updates the following properties with the retrieved information:

ObjectXPos property

ObjectYPos property

ObjectOrientationAngle property

ObjectRoundness property

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:

ObjectXPos property, ObjectYPos property, ObjectOrientationAngle property, ObjectRoundness property, FastFourierTransformation method, GetBitmapStatisticsInfo method, GetFeretsDiameter method, MathFunction method, RevEffect method, Segment method, SubtractBackground method, UserFilter method

Topics:

Raster Images: Analysis Image Object or Region Analysis