Visible to Intel only — GUID: GUID-04140B09-7907-4134-81D3-DD933816FD95
iwiFilterGaussian
Syntax
IW_DECL_CPP(IppStatus) iwiFilterGaussian(
const IwiImage &srcImage,
IwiImage &dstImage,
int kernelSize,
double sigma,
const IwiFilterGaussianParams &auxParams = IwiFilterGaussianParams(),
const IwiBorderType &border = ippBorderRepl,
const IwiTile &tile = IwiTile()
);
Parameters
pSrcImage |
Reference to the source image. |
||||||||
pDstImage |
Reference to the destination image. |
||||||||
kernelSize |
Size of the Gaussian filter kernel; must be odd and greater or equal to 3. |
||||||||
sigma |
Standard deviation of the Gaussian kernel. |
||||||||
auxParams |
Reference to the auxiliary parameters structure. |
||||||||
border |
Extrapolation algorithm for out of image pixels processing. Supported values:
|
||||||||
tile |
Reference to the IwiTile object for tiling. By default, no tiling is used. |
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
chDesc |
iwiChDesc_None |
Special channels processing mode. |
Description
This function applies a Laplacian filter of the specified type and kernel size to the source image. The values of border pixels are assigned in accordance with the border and borderValue parameters.
Return Values
ippStsNoErr |
No errors. |
Exception Values
ippStsNotSupportedModeErr |
Specified combination of parameters' values is not supported. |
ippStsMaskSizeErr |
The kernel value is illegal. |
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. |
ippStsBorderErr |
The border value is illegal. |
ippStsNoMemErr |
Failed to allocate memory. |
ippStsSizeErr |
Values of the size fields are illegal. |
ippStsInplaceModeNotSupportedErr |
In-place operation is not supported: pSrc is equal to pDst. |
ippStsNullPtrErr |
At least one of the pointers (except tile) is NULL. |