Visible to Intel only — GUID: GUID-1A0CF8F3-CB7C-440E-BD55-33D1DD67446B
Visible to Intel only — GUID: GUID-1A0CF8F3-CB7C-440E-BD55-33D1DD67446B
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. |