FastN2DToVec
Converts corners from two-dimensional image to an array of structures.
Syntax
IppStatus ippiFastN2DToVec_8u(const Ipp8u*
pSrcCorner
, int
srcCornerStep
, const Ipp8u*
pSrcScore
, int
srcScoreStep
, IppiCornerFastN*
pDst
, IppiSize
srcRoiSize
, int
maxLen
, int*
pNumCorners
, IppiFastNSpec*
pSpec
);
Include Files
ippcv.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
- pSrcCorner
- Pointer to the source image with corners.
- srcCornerStep
- Distance, in bytes, between the starting points of consecutive lines in the source image with corners.
- pSrcScore
- Pointer to the source image with scores.
- srcScoreStep
- Distance, in bytes, between the starting points of consecutive lines in the source image with score.
- pDst
- Pointer to the destination vector of structures.
- srcRoiSize
- Size of the source ROI, in pixels.
- maxLen
- Length of the array of structures.
- pNumCorners
- Pointer to the number of corners in the source image.
- pSpec
- Pointer to the specification structure.
Description
This function converts two-dimensional image with corners to an array of structures. The result is stored in
pDst
.For an example on how to use this function, refer to the example provided with the
FastN
function description.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error.
- ippStsNullPtrErr
- Indicates an error when:
- pSrcCorner,pDst,pNumCorners, orpSpecisNULL
- pSrcScoreisNULLifoptionis not equal toIPP_FASTN_SCORE_MODE0
- ippStsSizeErr
- Indicates an error whensrcRoiSizeis less than, or equal to zero.
- ippContextMatchErr
- Indicates an error when the specification structure does not match the operation.
- ippDataTypeErr
- Indicates an error whendataTypehas an illegal value.
- ippNumChannelsErr
- Indicates an error whennumChannelshas an illegal value.
- ippOutOfRangeErr
- Indicates an error whenorientationBinsorNhas an illegal value.
- ippBadArgsErr
- Indicates an error whenoptionorcircleRadiushas an illegal value.
- ippThresholdErr
- Indicates an error whenthresholdis negative.