Platforms to show: All Mac Windows Linux Cross-Platform
zxingHybridBinarizerMBS class Deprecated
Super class: zxingGlobalHistogramBinarizerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Barcode | MBS Barcode Plugin | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This class implements a local thresholding algorithm, which while slower than the GlobalHistogramBinarizer, is fairly efficient for what it does. It is designed for high frequency images of barcodes with black data on white backgrounds. For this application, it does a much better job than a global blackpoint with severe shadows and gradients. However it tends to produce artifacts on lower frequency images and is therefore not a good general purpose binarizer for uses outside ZXing.
This class extends GlobalHistogramBinarizer, using the older histogram approach for 1D readers, and the newer local approach for 2D readers. 1D decoding using a per-row histogram is already inherently local, and only fails for horizontal gradients. We can revisit that problem later, but for now it was not a win to use local blocks for 1D.
This Binarizer is the default for the unit tests and the recommended class for library users.
Subclass of the zxingGlobalHistogramBinarizerMBS class.
- method Constructor(LuminanceSource as zxingLuminanceSourceMBS)
Super class zxingGlobalHistogramBinarizerMBS
- method Constructor(LuminanceSource as zxingLuminanceSourceMBS)
Super class zxingBinarizerMBS
- 4 properties
- property Handle as Integer
- property Height as Integer
- property LuminanceSource as zxingLuminanceSourceMBS
- property Width as Integer
- 2 methods
- method Constructor Private
- method createBinarizer(source as zxingLuminanceSourceMBS) as zxingBinarizerMBS
This class has no sub classes.
The items on this page are in the following plugins: MBS Barcode Plugin.
zxingGlobalHistogramBinarizerMBS - zxingIllegalArgumentExceptionMBS