The enhancements available for use with the ExecuteEnhancements method.
Member | Value | Description |
---|---|---|
SF_ENHANCEMENT_AUTOBINARIZE | 0 | Creates an enhanced 1-bit output DIB using pre-determined settings. |
SF_ENHANCEMENT_BINARIZE | 1 | Creates an enhanced 1-bit output DIB using settings set by the caller. |
SF_ENHANCEMENT_CORRECT_INVERSE_TEXT | 2 | Reverses black and white text. |
SF_ENHANCEMENT_CORRECT_NEGATIVE_PAGE | 3 | Determines if the image is black on white (normal) or white on black (negative), and optionally negate the image if it is. |
SF_ENHANCEMENT_DESKEW | 4 | Detects the skew angle of the current image and rotates the image to remove that skew. |
SF_ENHANCEMENT_DESPECKLE | 5 | Detects and removes specks from the current image. |
SF_ENHANCEMENT_DETECT_BLANK_PAGE | 6 | Examines an image and determines if the amount of data there is low enough for the page to be considered blank. |
SF_ENHANCEMENT_DETECT_BLANK_RECTANGLE | 7 | Examines a rectangle on an image and determines if the amount of data there is low enough for the page to be considered blank. |
SF_ENHANCEMENT_DILATE | 8 | Expand the black pixels in the image by one in each direction. |
SF_ENHANCEMENT_ERODE | 9 | Remove the black pixels in the image by one in each direction. |
SF_ENHANCEMENT_FLIP | 10 | Flip the image (swap the top and bottom). |
SF_ENHANCEMENT_GET_RECTANGLE | 11 | Replaces the current image with a subset of the original image. |
SF_ENHANCEMENT_MIRROR | 12 | Mirrors the image (swap the left and right sides). |
SF_ENHANCEMENT_NEGATE | 13 | Negate the image (exchange white and black). |
SF_ENHANCEMENT_REMOVE_BLOBS | 15 | Locates and removes large black objects in images. |
SF_ENHANCEMENT_REMOVE_BORDER | 16 | Method removes rows of pixels at the edges of an image. |
SF_ENHANCEMENT_REMOVE_COMBS | 17 | Detects and removes combs from the current image. |
SF_ENHANCEMENT_REMOVE_DOT_SHADING | 18 | Removes dot shading areas from an image, including actual black-on-white shading. |
SF_ENHANCEMENT_REMOVE_LINES | 19 | Detects and removes lines from the current image. |
SF_ENHANCEMENT_RESCALE | 20 | Allows the image to be rescaled with the vertical and horizontal axis rescaled independently from each other. |
SF_ENHANCEMENT_ROTATE | 21 | Rotate the image by the given angle. |
SF_ENHANCEMENT_SHEAR | 22 | Shear the image by the given amount. |
SF_ENHANCEMENT_SMOOTH_OBJECTS | 23 | This feature smoothes the edges of characters. |
SF_ENHANCEMENT_SMOOTH_ZOOM | 24 | Replace the current image with a new image whose width and height have been doubled and whose pixels have been smoothed. |
SF_ENHANCEMENT_REGISTER_IMAGE | 25 | |
SF_ENHANCEMENT_IMAGE_DETERGENT | 26 | |
SF_ENHANCEMENT_DETECT_COLOR | 27 | |
SF_ENHANCEMENT_COLOR_DROP | 28 | |
SF_ENHANCEMENT_VIRTUAL_BULB | 29 | |
SF_ENHANCEMENT_ADJUST_CONTRAST | 30 | |
SF_ENHANCEMENT_FILTER | 31 |