Click or drag to resize

BarcodeReaderBarcodeImageCorrection Enumeration

An enum defining strategies for cleaning pixels in noisy input documents such as scans and photographs. In essence BarcodeImageCorrection helps separate dark barcode pixels from background patterns in images automatically.

Aggressive BarcodeImageCorrection is not always better. BarcodeImageCorrection will take longer to perform (use more CPU cycles). We recommend experimenting with diIferent levels of BarcodeImageCorrection starting with the lowest settings first and gradually working up from there.

Namespace:  IronBarCode
Assembly:  IronBarCode (in IronBarCode.dll) Version: 4.0.1.22591 (4.0.1.0)
Syntax
public enum BarcodeImageCorrection
Members
  Member nameValueDescription
None0 Default. Barcode images are not preprocessed. Fastest.
LighlyCleanPixels1 Barcode pixels area lightly filtered to remove light pixels and pixels of very distinctly non-black color.

Pixel Thresholds are 40% dark or greater and a relative color tint of less than 50% from black

MediumCleanPixels2 Barcode pixels area filtered to remove light pixels and pixels of very distinctly non-black color

Pixel Thresholds are 60% dark or greater and a relative color tint of less than 40% from black

DeepCleanPixels3 Barcode pixels area filtered to remove all but the darkest pixels and pixels of very distinctly non-black color

Pixel Thresholds are 70% dark or greater and a relative color tint of less than 30% from black

CleanNonBlackPixels4 Barcode pixels area filtered to remove all pixels than are at not least 80% black.

Pixel Thresholds are 80% dark or greater and a relative color tint of less than 40% from black

See Also