API Quick Reference Guide

  • 2020
  • 09/30/2019
  • Public Content
Contents

iwiFilterCannyDeriv

Syntax
class IwiFilterCannyDerivParams: public ::IwiFilterCannyDerivParams { public: IW_BASE_PARAMS_CONSTRUCTORS(IwiFilterCannyDerivParams, iwiFilterCannyDeriv_SetDefaultParams) IwiFilterCannyDerivParams(IppNormType norm = ippNormL2) };
IW_DECL_CPP(IppStatus) iwiFilterCannyDeriv( const IwiImage &srcImageDx, const IwiImage &srcImageDy, IwiImage &dstImage, Ipp32f treshLow = 50, Ipp32f treshHigh = 150 const IwiFilterCannyDerivParams &auxParams = IwiFilterCannyDerivParams() );
Parameters
srcImageDx
Reference to the X derivative of the source image.
srcImageDy
Reference to the Y derivative of the source image.
dstImage
Pointer to the destination image.
treshLow
Lower threshold for edges detection.
treshHigh
Upper threshold for edges detection.
auxParams
Reference to the auxiliary parameters structure.
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. For more information, refer to the
iwiFilterCannyDeriv
function description in
C Reference
.
Return Values
ippStsNoErr
No errors.
Exception 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 (except
tile
) is
NULL
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804