FilterLowpassGetBufferSize
Computes the size of the external buffer for the lowpass filter with border.
Syntax
IppStatus ippiFilterLowpassGetBufferSize_8u_C1R(IppiSize
roiSize
, IppiMaskSize
mask
, int*
pBufferSize
);
IppStatus ippiFilterLowpassGetBufferSize_32f_C1R(IppiSize
roiSize
, IppiMaskSize
mask
, int*
pBufferSize
);
Include Files
ippcv.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
- roiSize
- Maximum size of the source and destination image ROI.
- mask
- Predefined mask ofIppiMaskSizetype.
- pBufferSize
- Pointer to the buffer size.
Description
This function computes the size of the external buffer that is required for the filter function
ippiFilterLowpassBorder
. The kernel of the filter is the matrix of either 3x3 or 5x5 size that is specified by the parameter mask
(see Table “Types of the Fixed Filter Functions”
). This buffer pBufferSize[0]
can be used to filter an image whose width and height are equal to or less than corresponding fields of roiSize
.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error or a warning.
- ippStsNullPtrErr
- Indicates an error condition if thepBufferSizepointer isNULL.
- ippStsSizeErr
- Indicates an error condition ifroiSizehas a field with a zero or negative value.
- ippStsMaskSizeErr
- Indicates an error condition ifmaskhas a wrong value.