Developer Reference for Intel® Integrated Performance Primitives 2018
Computes the size of the adaptive threshold specification structure and the size of the work buffer for adaptive thresholding with the Gaussian method.
IppStatus ippiThresholdAdaptiveGaussGetBufferSize(IppiSize roiSize, IppiSize maskSize, IppDataType dataType, int numChannels, int* pSpecSize, int* pBufferSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Size of the destination image ROI, in pixels.
Size of the kernel that is used to calculate a threshold level. Width and height of maskSize must be equal and odd.
Data type of the source and destination images. Possible value is ipp8u.
Number of channels in the images. Possible value is 1.
Pointer to the size of the adaptive threshold specification structure.
Pointer to the size (in bytes) of the external work buffer.
This function computes the size, in bytes, of the adaptive threshold specification structure and the size of the external work buffer needed for the ThresholdAdaptiveGauss function. The results are stored in pSpecSize and pBufferSize.
For an example on how to use this function, refer to the example provided with the ThresholdAdaptiveGauss function description.