Visible to Intel only — GUID: GUID-4B1992B4-3ADD-484A-83CA-518C929BCDD6
Visible to Intel only — GUID: GUID-4B1992B4-3ADD-484A-83CA-518C929BCDD6
<span class='option'>iwiFilterGaussian</span>
typedef struct _IwiFilterGaussianParams
{
IwiChDescriptor chDesc;
} IwiFilterGaussianParams;
static IW_INLINE void iwiFilterGaussian_SetDefaultParams(
IwiFilterGaussianParams *pParams
);
IW_DECL(IppStatus) iwiFilterGaussian(
const IwiImage *pSrcImage,
IwiImage *pDstImage,
int kernelSize,
double sigma,
const IwiFilterGaussianParams *pAuxParams,
IwiBorderType border,
const Ipp64f *pBorderVal,
const IwiTile *pTile
);
pSrcImage |
Pointer to the source image. |
||||||||
pDstImage |
Pointer 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. |
||||||||
pAuxParams |
Pointer to the auxiliary parameters structure. If NULL, default parameters are used. |
||||||||
border |
Extrapolation algorithm for out of image pixels processing. Supported values:
|
||||||||
pBorderVal |
Pointer to an array of values to assign to pixels of the constant border, one element of the array for each channel of the image. This parameter is applicable only to the ippBorderConst border type and can be NULL for other border types. |
||||||||
pTile |
Pointer to the IwiTile structure for tiling. If NULL, the whole image is processed. |
Argument | Default Value | Description |
---|---|---|
chDesc |
iwiChDesc_None |
Special channels processing mode. |
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 pBorderValue parameters.
This function supports the following features:
Feature | Support |
---|---|
Internal threading | No |
Manual tiling | Yes |
IwiTile simple tiling | Yes |
IwiTile pipeline tiling | Yes |
ippStsNoErr |
No errors. |
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 pTile) is NULL. |
Did you find the information on this page useful?
Feedback Message
Characters remaining: