Computes the size of the working buffer for the peak search.
IppStatus ippiFindPeaks3x3GetBufferSize_32s_C1R(int roiWidth, int* pBufferSize);
IppStatus ippiFindPeaks3x3GetBufferSize_32f_C1R(int roiWidth, int* pBufferSize);
roiWidth |
Maximum width of the image, in pixels. |
pBufferSize |
Pointer to the size of the working buffer. |
The function ippiFindPeaks3x3GetBufferSize is declared in the ippcv.h file. It 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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.