EasyImage::Contour
Follows the contour of an object.
Namespace: Euresys::Open_eVision
[C++]
void Contour(
EROIBW8* sourceImage,
Euresys::Open_eVision::EContourMode contourMode,
int startX,
int startY,
Euresys::Open_eVision::EContourThreshold thresholdMode,
OEV_UINT32 threshold,
Euresys::Open_eVision::EConnexity connexity,
EPathVector* path
)
void Contour(
EROIBW16* sourceImage,
Euresys::Open_eVision::EContourMode contourMode,
int startX,
int startY,
Euresys::Open_eVision::EContourThreshold thresholdMode,
OEV_UINT32 threshold,
Euresys::Open_eVision::EConnexity connexity,
EPathVector* path
)
void Contour(
EROIBW8* sourceImage,
Euresys::Open_eVision::EContourMode contourMode,
int startX,
int startY,
Euresys::Open_eVision::EContourThreshold thresholdMode,
OEV_UINT32 threshold,
Euresys::Open_eVision::EConnexity connexity,
EBW8PathVector* path,
bool freeman
)
void Contour(
EROIBW16* sourceImage,
Euresys::Open_eVision::EContourMode contourMode,
int startX,
int startY,
Euresys::Open_eVision::EContourThreshold thresholdMode,
OEV_UINT32 threshold,
Euresys::Open_eVision::EConnexity connexity,
EBW16PathVector* path,
bool freeman
)
Parameters
sourceImage
Pointer to the source image/ROI.
contourMode
Traversal mode, as defined by EContourMode.
startX
Start point abscissa.
startY
Start point ordinate.
thresholdMode
Thresholding mode as defined by EThresholdMode.
threshold
Threshold level.
connexity
Contour connexity, as defined by EConnexity.
path
Pointer to the destination vector.
freeman
Specifies if Freeman codes are to be retrieved rather than pixel values.
Remarks
A threshold is applied so that objects become blobs. The contour is a closed or not (see property
When destination vector is an EBW8PathVector or a EBW16PathVector, this vector can contain two different information. If the
Freeman code, leading from a pixel to another adjacent pixel
EasyImage.Contour
Follows the contour of an object.
Namespace: Euresys.Open_eVision
[C#]
void Contour(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EContourMode contourMode,
int startX,
int startY,
Euresys.Open_eVision.EContourThreshold thresholdMode,
uint threshold,
Euresys.Open_eVision.EConnexity connexity,
Euresys.Open_eVision.EPathVector path
)
void Contour(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EContourMode contourMode,
int startX,
int startY,
Euresys.Open_eVision.EContourThreshold thresholdMode,
uint threshold,
Euresys.Open_eVision.EConnexity connexity,
Euresys.Open_eVision.EPathVector path
)
void Contour(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EContourMode contourMode,
int startX,
int startY,
Euresys.Open_eVision.EContourThreshold thresholdMode,
uint threshold,
Euresys.Open_eVision.EConnexity connexity,
Euresys.Open_eVision.EBW8PathVector path,
bool freeman
)
void Contour(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EContourMode contourMode,
int startX,
int startY,
Euresys.Open_eVision.EContourThreshold thresholdMode,
uint threshold,
Euresys.Open_eVision.EConnexity connexity,
Euresys.Open_eVision.EBW16PathVector path,
bool freeman
)
Parameters
sourceImage
Pointer to the source image/ROI.
contourMode
Traversal mode, as defined by EContourMode.
startX
Start point abscissa.
startY
Start point ordinate.
thresholdMode
Thresholding mode as defined by EThresholdMode.
threshold
Threshold level.
connexity
Contour connexity, as defined by EConnexity.
path
Pointer to the destination vector.
freeman
Specifies if Freeman codes are to be retrieved rather than pixel values.
Remarks
A threshold is applied so that objects become blobs. The contour is a closed or not (see property
When destination vector is an EBW8PathVector or a EBW16PathVector, this vector can contain two different information. If the
Freeman code, leading from a pixel to another adjacent pixel