Click or drag to resize

PixOptions Properties

The PixOptions type exposes the following members.

Properties
  NameDescription
Public propertyBinarizationMethod
Gets or sets the method used for conversion to a binary image.
Public propertyBinaryResolution
Gets or sets the preferred resolution in dots per inch (DPI) when converting to binary images.
Public propertyBinaryThreshold
Gets or sets a fixed threshold for binarization.
Public propertyBlankPageThreshold
Gets or sets the percentile threshold used in detecting blank pages x 100.
Public propertyBottomMargin
Gets or sets the bottom margin of a page in inches x 100.
Public propertyConvertToBinary
Gets a value to indicate whether the image will be converted to binary before passing to OCR. Options like non-default thresholds, Despeckle or FixInvertedText will cause forced conversion to binary.
Public propertyDeskew
Gets or sets a flag to deskew image before OCR.
Public propertyDespeckle
Gets or sets a flag to whether remove speckes from the image.
Public propertyFixInvertedText
Gets or sets a flag to search for horizontal headers with inverted text (e.g. white on black as a table header), and if large rectangles detected, inverts only those rectangles. This vastly improves OCR in these cases.
Public propertyInvert
Gets or sets a flag to invert the entire image.
Public propertyLeftMargin
Gets or sets the left margin of a page in inches x 100.
Public propertyLineDilation
Gets or sets the dilation of lines before they are removed.
Public propertyMaxNoiseSize
Gets or sets the maximum size of speckle that can be removed.
Remarks
For a noise speckle to be removed, both its width and height must be less than this limit.
Public propertyMaxNoiseWidth
Gets or sets the maximum width when removing thin lines.
Remarks
For a thin line to be removed, only its width must be less than this limit. The length of the line is not restricted. Thin lines are often left behind after removing slanted grid lines.
Public propertyMinInvertedLength
Gets or sets the minimum size of inverted blocks.
Public propertyMinInvertedWidth
Gets or sets the minimum width of inverted blocks.
Public propertyMinLineLength
Gets or sets the minimum line size used during line removal.
Public propertyRemoveGridLines
Gets or sets a flag to indicate whether to detect and remove horizontal and vertical lines of certain minimum lengths. No attempt is made to fill the holes left if these lines intersect text.
Public propertyRightMargin
Gets or sets the right margin of a page in inches x 100.
Public propertyTileColumns
Gets or sets the number of tile columns.
Public propertyTileRows
Gets or sets the number of tile rows.
Public propertyTopMargin
Gets or sets the top margin of a page in inches x 100.
Public propertyUseMargins
Gets or sets a flag to indicate whether margins should be ignored whenm detecting blank pages.
Public propertyUseTiles
Gets or sets a flag to indicate whether the image should be tiled for blank page recognition.
Public propertyVerticalDeskew
Gets or sets a flag to indicate whether deskew correction should also be applied vertically.
Top
See Also