Computes the size of the working buffer for the watershed segmentation.
IppStatus ippiSegmentWatershedGetBufferSize_8u_C1R(IppiSize roiSize, int* pBufferSize);
IppStatus ippiSegmentWatershedGetBufferSize_8u16u_C1R(IppiSize roiSize, int* pBufferSize);
The function ippiSegmentWatershedGetBufferSize 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 ippiSegmentWatershed 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.