ConvexityDefects
Finds the convexity defects of a point set.
Syntax
Definition:
HRESULT ConvexityDefects(
HRESULT hrPrev,
ITcVnContainer* ipContour,
ITcVnContainer*& ipConvexityDefects
)Parameters
|
Name |
Type |
Description |
|---|---|---|
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipContour |
Source contour (ContainerType_Vector_TcVnPoint2_DINT; The elements of this container are the individual points.) | |
|
ipConvexityDefects |
Returns a container which is filled with the convexity defects (ContainerType_Vector_TcVnVector4_DINT with [startIndex, endIndex, furthestPointIndex, fixedPointDistance (8 fraction bits, i.e. divide by 256 to get the distance in pixels)]; Non-zero interface pointers are reused.) |
Required License
TC3 Vision Base
Return value