Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

FilterSobelInit

Filters an image using a Sobel filter.

Syntax

IppStatus ippiFilterSobel_<mod>_T(IppiSize
roiSize
, IppiMaskSize
maskId
, IppNormType
normType
, IppDataType
srcDataType
, IppDataType
dstDataType
, int
numChannels
, IppiFilterSobelSpec_T*
pSpec
);
Supported values for
mod
:
8u16s_C1R
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
roiSize
Size of the destination ROI in pixels.
maskId
Predefined mask of the
IppiMaskSize
type.
normType
Normalization mode if the
IppNormType
type is specified.
srcDataType
Data type of the source image.
dstDataType
Data type of the destination image.
numChannels
Number of channels in the image.
pSpec
Pointer to the Filter Sobel specification structure.
Description
This function is used for initialization of the
pSpec
structure for the
ippiFilterSobel
function.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when
pBufferSize
is
NULL
.
ippStsSizeErr
Indicates an error when
roiSize
is negative or equal to zero.
ippStsMaskSizeErr
Indicates an error when
maskSize
has a wrong value.
ippStsDataTypeErr
Indicates an error when
srcDataType
or
dstDataType
has an illegal value.
ippStsNumChannelsErr
Indicates an error when
numChannels
has an illegal value.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.