Developer Reference for Intel® Integrated Performance Primitives
Sets the mask processing mode for advanced morphological operations.
IppStatus ippiMorphSetMode(int mode, IppiMorphAdvState* pMorphSpec);
IppStatus ippiMorphSetMode_L(int mode, IppiMorphAdvStateL* pMorphSpec);
ippcv.h
ippcv_l.h
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
mode |
Mask processing mode; supported values: IPP_MORPH_DEFAULT Invert the mask IPP_MORPH_MASK_NO_FLIP Do not invert the mask; use the same mask for the first and second stage. |
pMorphSpec |
Pointer to the specification structure for advanced morphological operations. |
This function sets the mask processing mode for the second stage of an advanced morphological operation. Before using this function, initialize the specification structure using the ippiMorphInit function.
ippStsNoErr |
Indicates no error. |
ippStsNotSupportedModeErr |
Indicates an error when mode has an invalid value. |
ippStsNullPtrErr |
Indicates an error when pMorphSpec is NULL. |