Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

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. If NULL, 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

The dataType value is illegal.

ippStsNumChannelsErr

The channels value is illegal.

ippStsNotEvenStepErr

The srcStep and/or dstStep value is not divisible by size of elements.

ippStsNoMemErr

Failed to allocate memory.

ippStsSizeErr

Values of the size fields are illegal.

ippStsNullPtrErr

At least one of the pointers is NULL.

ippStsNoErr

No errors.