Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

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
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804