Visible to Intel only — GUID: GUID-35848847-401A-4A51-89F9-441C00F741C0
Visible to Intel only — GUID: GUID-35848847-401A-4A51-89F9-441C00F741C0
SegmentWatershedGetBufferSize
Computes the size of the working buffer for the watershed segmentation.
Syntax
IppStatus ippiSegmentWatershedGetBufferSize_8u_C1R(IppiSize roiSize, int* pBufSize);
IppStatus ippiSegmentWatershedGetBufferSize_8u16u_C1R(IppiSize roiSize, int* pBufSize);
IppStatus ippiSegmentWatershedGetBufferSize_32f16u_C1R(IppiSize roiSize, int* pBufSize);
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
- roiSize
- Size of the source image ROI in pixels.
- pBufSize
- Pointer to the computed 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 ippiSegmentWatershed function. The buffer with the length pBufSize[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.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if the pointer pBufSize is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |