Visible to Intel only — GUID: GUID-E5D465D1-2C6D-4B55-8CBE-A8964F80789B
Visible to Intel only — GUID: GUID-E5D465D1-2C6D-4B55-8CBE-A8964F80789B
MorphReconstructErode
Reconstructs an image by erosion.
Syntax
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 | 64f_C1IR |
IppStatus ippiMorphReconstructErode_32f_C1IR(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, Ipp32f* pBuf, IppiNorm norm);
Include Files
ippcv.h.
Parameters
pSrc |
Pointer to the source image ROI. |
||||
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
||||
pSrcDst |
Pointer to the decreased 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:
|
||||
pBuf |
Pointer to the buffer. |
Description
This function 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.
Return Values
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. |