ECodedImage2::FindObject
Finds an object In a general content, the term object should be understood with the meaning of a class instance. In EasyObject, an object is a maximally-sized area of adjacent connected pixels belonging to the layer foreground. in the coded image using its coordinates.
Namespace: Euresys::Open_eVision
[C++]
const EObject
* FindObject(
int x,
int y
) const
const EObject
* FindObject(
OEV_UINT32 layerIndex,
int x,
int y
) const
Parameters
x
The X-coordinate of the object.
y
The Y-coordinate of the object.
layerIndex
The index of the layer A binary image constructed by a segmentation process. of interest.
Remarks
If no layer index is specified, all the layers of the coded image are scanned until an object is found at these coordinates.
ECodedImage2.FindObject
Finds an object in the coded image using its coordinates.
Namespace: Euresys.Open_eVision
Parameters
x
The X-coordinate of the object.
y
The Y-coordinate of the object.
layerIndex
The index of the layer of interest.
Remarks
If no layer index is specified, all the layers of the coded image are scanned until an object is found at these coordinates.
ECodedImage2.FindObject
Finds an object in the coded image using its coordinates.
Module: open_evision
[Python]
FindObject(
x: int
y: int
) -> EObject
FindObject(
layerIndex: int
x: int
y: int
) -> EObject
Parameters
x
The X-coordinate of the object.
y
The Y-coordinate of the object.
layerIndex
The index of the layer of interest.
Remarks
If no layer index is specified, all the layers of the coded image are scanned until an object is found at these coordinates.