Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public
Document Table of Contents

FindPeaks3x3GetBufferSize

Computes the size of the working buffer for the peak search.

Syntax

IppStatus ippiFindPeaks3x3GetBufferSize_32s_C1R(int roiWidth, int* pBufferSize);

IppStatus ippiFindPeaks3x3GetBufferSize_32f_C1R(int roiWidth, 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

roiWidth

Maximum width of the image, in pixels.

pBufferSize

Pointer to the size of the working buffer.

Description

This function operates with ROI (see Regions of Interest in Intel IPP).

This function computes the size of the working buffer required for the function ippiFindPeaks3x3. The buffer with the length pBufferSize[0] can be used to filter images with width that is less than or equal to roiWidth.

Example "Simplified Peak Search for Calculation of SIFT Features” shows how to use the function ippiFindPeaks3x3GetBufferSize_32f_C1R.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error condition if the pointer pBufferSize is NULL.

ippStsSizeErr

Indicates an error condition if roiWidth is less than 1.