Visible to Intel only — GUID: GUID-68089402-844F-441F-B595-BE6B6EB9F4C6
Visible to Intel only — GUID: GUID-68089402-844F-441F-B595-BE6B6EB9F4C6
MorphSetMode
Sets the mask processing mode for advanced morphological operations.
Syntax
IppStatus ippiMorphSetMode(int mode, IppiMorphAdvState* pMorphSpec);
IppStatus ippiMorphSetMode_L(int mode, IppiMorphAdvStateL* pMorphSpec);
Include Files
ippcv.h
ippcv_l.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
Parameters
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. |
Description
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.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNotSupportedModeErr |
Indicates an error when mode has an invalid value. |
ippStsNullPtrErr |
Indicates an error when pMorphSpec is NULL. |