Computes the size of the buffer for morphological reconstruction operation.
IppStatus ippiMorphReconstructGetBufferSize_<mod>(IppiSize roiSize, int* pBufferSize);
Supported values for mod:
8u_C1IR | 16u_C1IR | 32f_C1IR | 64f_C1IR |
roiSize |
Maximal size of the image ROI in pixels, that can be processed using the buffer. |
pBufferSize |
Pointer to the size of the buffer (in bytes). |
The function ippiMorphReconstructBufferGetSize is declared in the ippcv.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size pBufferSize of the buffer for the morphological reconstruction of the source image. This buffer can be used by the functions MorphReconstructDilate and MorphReconstructErode.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pBufferSize is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.