ECodedImage2::GetObjCount

Returns the number of objects in a given layer.

Namespace: Euresys::Open_eVision

[C++]

OEV_UINT32 GetObjCount(
   OEV_UINT32 layerIndex
)

OEV_UINT32 GetObjCount(
)

Parameters

layerIndex

The index of the layer of interest. If this parameter is left unspecified, the default layer will be taken into consideration.

Remarks

This methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.

ECodedImage2.GetObjCount

Returns the number of objects in a given layer.

Namespace: Euresys.Open_eVision

[C#]

uint GetObjCount(
   uint layerIndex
)

uint GetObjCount(
)

Parameters

layerIndex

The index of the layer of interest. If this parameter is left unspecified, the default layer will be taken into consideration.

Remarks

This methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.