iwiFilterCannyDeriv
iwiFilterCannyDeriv
Syntax
typedef struct _IwiFilterCannyDerivParams
{
IppNormType norm;
} IwiFilterCannyDerivParams;
static IW_INLINE void iwiFilterCannyDeriv_SetDefaultParams(
IwiFilterCannyDerivParams *pParams
)
IW_DECL(IppStatus) iwiFilterCannyDeriv(
const IwiImage *pSrcImageDx,
const IwiImage *pSrcImageDy,
IwiImage *pDstImage,
Ipp32f treshLow,
Ipp32f treshHigh
const IwiFilterCannyDerivParams *pAuxParams
);
Parameters
- pSrcImageDx
- Pointer to the X derivative of the source image.
- pSrcImageDy
- Pointer to the Y derivative of the source image.
- pDstImage
- Pointer to the destination image.
- treshLow
- Lower threshold for edges detection.
- treshHigh
- Upper threshold for edges detection.
- pAuxParams
- Pointer to the auxiliary parameters structure. IfNULL, default parameters are used.
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
norm | ippNormL2 | Normalization mode. Supported values: ippNormL1 and ippNormL2 . |
Description
This function applies the Canny edge detector to the input image derivatives.
This function supports the following features:
Feature | Support |
---|---|
Internal threading | No |
Manual tiling | No |
IwiTile simple tiling | No |
IwiTile pipeline tiling | No |
Return Values
- ippStsDataTypeErr
- ThedataTypevalue is illegal.
- ippStsNumChannelsErr
- Thechannelsvalue is illegal.
- ippStsNotEvenStepErr
- ThesrcStepand/ordstStepvalue is not divisible by size of elements.
- ippStsNoMemErr
- Failed to allocate memory.
- ippStsSizeErr
- Values of thesizefields are illegal.
- ippStsNullPtrErr
- At least one of the pointers isNULL.
- ippStsNoErr
- No errors.