Dev Center
Swift
Objective-C
Table of contents

EnumImagePreprocessingMode

  • Android
  • Objective-C
  • Swift
public class EnumImagePreprocessingMode {
    public static final int IPM_GENERAL = 2;
    public static final int IPM_AUTO = 1;
    public static final int IPM_GRAY_EQUALIZE = 4;
    public static final int IPM_GRAY_SMOOTH = 8;
    public static final int IPM_SHARPEN_SMOOTH = 16;
    public static final int IPM_MORPHOLOGY = 32;
    public static final int IPM_SKIP = 0;
}
typedef NS_ENUM(NSInteger, EnumImagePreprocessingMode)
{
    /** Not supported yet. */
    EnumImagePreprocessingModeAuto = 0x01,
    /** Take the unpreprocessed image as the preprocessed result for further reference. */
    EnumImagePreprocessingModeGeneral = 0x02,
    /** Preprocesses the image using the gray equalization algorithm. Check @ref IPM for available argument settings.*/
    EnumImagePreprocessingModeGrayEqualize = 0x04,
    /** Preprocesses the image using the gray smoothing algorithm. Check @ref IPM for available argument settings.*/
    EnumImagePreprocessingModeGraySmooth = 0x08,
    /** Preprocesses the image using the sharpening and smoothing algorithm. Check @ref IPM for available argument settings.*/
    EnumImagePreprocessingModeSharpenSmooth = 0x10,
    /** Preprocesses the image using the morphology algorithm. Check @ref IPM for available argument settings.*/
    EnumImagePreprocessingModeMorphology = 0x20,
    /** Skips image preprocessing */
    EnumImagePreprocessingModeSkip = 0x00
};
public enum EnumImagePreprocessingMode : Int{
    /** Not supported yet. */
    auto = 0x01
    /** Take the unpreprocessed image as the preprocessed result for further reference. */
    general = 0x02
    /** Preprocesses the image using the gray equalization algorithm. Check @ref IPM for available argument settings.*/
    grayEqualize = 0x04
    /** Preprocesses the image using the gray smoothing algorithm. Check @ref IPM for available argument settings.*/
    graySmooth = 0x08
    /** Preprocesses the image using the sharpening and smoothing algorithm. Check @ref IPM for available argument settings.*/
    sharpenSmooth = 0x10
    /** Preprocesses the image using the morphology algorithm. Check @ref IPM for available argument settings.*/
    morphology = 0x20
    /** Skips image preprocessing */
    skip = 0x00
}

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

    • Latest version (10.2.10)
    • Version 10.x
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.13
      • Version 9.2.11
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +