X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FAbstractNegativeBlackBoxTestCase.java;h=88f82497de517d788fdc7dd966513b6dcf0c2af3;hp=be67eb171f82aabbdfa76d832994e6eca9385149;hb=608fe313d82bb79f0f5a96856697bdfb4a6305d3;hpb=db2d9dfbc5ca85836237e287cd8da84da2fb0ff4 diff --git a/core/test/src/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java b/core/test/src/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java index be67eb17..88f82497 100644 --- a/core/test/src/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java @@ -109,7 +109,7 @@ public abstract class AbstractNegativeBlackBoxTestCase extends AbstractBlackBoxT private boolean checkForFalsePositives(BufferedImage image, float rotationInDegrees) { BufferedImage rotatedImage = rotateImage(image, rotationInDegrees); LuminanceSource source = new BufferedImageLuminanceSource(rotatedImage); - BinaryBitmap bitmap = new BinaryBitmap(new GlobalHistogramBinarizer(source)); + BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); Result result; try { result = getReader().decode(bitmap);