Reconstructs an image by erosion.
IppStatus ippiMorphReconstructErode_<mod>(const Ipp<datatype>* pSrc, int srcStep, Ipp<datatype>* pSrcDst, int srcDstStep, IppiSize roiSize, Ipp8u* pBuf, IppiNorm norm);
Supported values for mod:
8u_C1IR | 16u_C1IR | 32f_C1IR | 64f_C1IR |
pSrc |
Pointer to the source image ROI. |
||||
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
||||
pSrcDst |
Pointer to the descreased and reconstructed image ROI. |
||||
srcDstStep |
Distance in bytes between starts of consecutive lines in the decreased and reconstructed image. |
||||
roiSize |
Size of the source and destination image ROI. |
||||
norm |
Type of norm to form the mask for dilation; the following values are possible:
|
||||
pBuffer |
Pointer to the buffer. |
The function ippiMorphReconstructErode is declared in the ippcv.h It operates with ROI (see Regions of Interest in Intel IPP).
This function performs morphological reconstruction of the increased source image by erosion [Vincent93]. The operation is performed in the working buffer whose size should be computed using the function MorphReconstructGetBufferSize beforehand.
This operation enables detection of the regional minimums that can be used as markers for successive watershed segmentation.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with a zero or negative value. |
ippStsStepErr |
Indicates an error condition if srcStep or srcDstStep is less than roiSize.width * <pixelSize>. |
ippStsNotEvenStepErr |
Indicates an error condition if one of the step values is not divisible by 4 for floating-point images. |
ippStsBadArgErr |
Indicates an error condition if norm has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.