SBSDKImageFilterType
enum SBSDKImageFilterType : int {}
The ScanbotSDK image filter types.
-
Passthrough filter. Does not alter the image.
Declaration
Objective-C
SBSDKImageFilterTypeNone = 0
-
Optimizes colors, contrast and brightness. Usecase: photos.
Declaration
Objective-C
SBSDKImageFilterTypeColor = 1
-
Standard grayscale filter. Creates a grayscaled 8-bit image and optimizes contrast and dynamic range.
Declaration
Objective-C
SBSDKImageFilterTypeGray = 2
-
Standard binarization filter with contrast optimization. Creates a grayscaled 8-bit image with mostly black or white pixels. Usecase: Preparation for optical character recognition.
Declaration
Objective-C
SBSDKImageFilterTypeBinarized = 3
-
Fixes white-balance and cleans up the background. Usecase: images of paper documents.
Declaration
Objective-C
SBSDKImageFilterTypeColorDocument = 4
-
A filter for binarizing an image. Creates an 8-bit image with pixel values set to eiter 0 or 255. Usecase: Preparation for optical character recognition.
Declaration
Objective-C
SBSDKImageFilterTypePureBinarized = 11
-
Cleans up the background and tries to preserve photos within the image. Usecase: magazine pages, flyers.
Declaration
Objective-C
SBSDKImageFilterTypeBackgroundClean = 13
-
Black and white filter with background cleaning. Creates a grayscaled 8-bit image with mostly black or white pixels. Usecase: Textual documents or documents with black and white illustrations.
Declaration
Objective-C
SBSDKImageFilterTypeBlackAndWhite = 14
-
A filter for black and white conversion using OTSU binarization.
Declaration
Objective-C
SBSDKImageFilterTypeOtsuBinarization = 15
-
A filter for black and white conversion primary used for low-contrast documents.
Declaration
Objective-C
SBSDKImageFilterTypeDeepBinarization = 16
-
A filter that enhances edges in low-contrast documents.
Declaration
Objective-C
SBSDKImageFilterTypeEdgeHighlight = 17
-
Binarization filter primary inteded to use on low-contrast documents with heavy shadows.
Declaration
Objective-C
SBSDKImageFilterTypeLowLightBinarization = 18
-
Binarization filter primary intended to use on low-contrast documents with heavy shadows.
Declaration
Objective-C
SBSDKImageFilterTypeLowLightBinarization2 = 19
-
Binarization filter for poor quality printed papers.
Declaration
Objective-C
SBSDKImageFilterTypeSensitiveBinarization = 20
-
Standard grayscale filter. Creates a grayscaled 8-bit image.
Declaration
Objective-C
SBSDKImageFilterTypePureGray = 21