ToHRegion Method

Galv Coil Eye Label OCR

Halcon..::..ToHRegion Method

A helper method to convert an HObject containing a region to an HRegion.

Namespace:  Rti.Halcon
Assembly:  GalvCoilEyeLabelOcr (in GalvCoilEyeLabelOcr.exe)

Syntax


public static HRegion ToHRegion(
	HObject from
)
Public Shared Function ToHRegion ( _
	from As HObject _
) As HRegion
public:
static HRegion^ ToHRegion(
	HObject^ from
)

Parameters

from
Type: HObject
A Halcon HObject to convert to an HRegion.

Return Value

HRegion.

Examples


HRegion regionFromHalconObject = myHObject.ToHRegion(); .