Computes the size of the working buffer for the gradient segmentation.
IppStatus ippiSegmentGradientGetBufferSize_8u_C1R(IppiSize roiSize, int* pBufferSize);
IppStatus ippiSegmentGradientGetBufferSize_8u_C3R(IppiSize roiSize, int* pBufferSize);
The function ippiSegmentGradientGetBufferSize is declared in the ippcv.h It operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size of the working buffer required for the ippiSegmentGradient function. The buffer with the length pBufferSize [0] can be used to segment images with width and/or height that is equal to or less than the corresponding field of the parameter roiSize.
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 roiSize has a field with zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.