Search Results for

    Show / Hide Table of Contents

    Enum BarcodeReader.BarcodeImageCorrection

    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.dll
    Syntax
    public enum BarcodeImageCorrection

    Fields

    Name Description
    CleanNonBlackPixels

    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

    DeepCleanPixels

    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

    LightlyCleanPixels

    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

    MediumCleanPixels

    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

    None

    Default. Barcode images are not preprocessed. Fastest.

    ☀
    ☾
    In This Article
    Back to top
    Install with Nuget