X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FAbstractBlackBoxTestCase.java;h=2ef12b43dda2e70a5b990fc345b97a2920d57f37;hp=dd95570fdc31f23de1b69e4fde0e3d40301a2a6c;hb=608fe313d82bb79f0f5a96856697bdfb4a6305d3;hpb=db2d9dfbc5ca85836237e287cd8da84da2fb0ff4 diff --git a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java index dd95570f..2ef12b43 100644 --- a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java @@ -184,7 +184,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase { float rotation = testResults.get(x).getRotation(); BufferedImage rotatedImage = rotateImage(image, rotation); LuminanceSource source = new BufferedImageLuminanceSource(rotatedImage); - BinaryBitmap bitmap = new BinaryBitmap(new GlobalHistogramBinarizer(source)); + BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); if (decode(bitmap, rotation, expectedText, false)) { passedCounts[x]++; } @@ -294,4 +294,4 @@ public abstract class AbstractBlackBoxTestCase extends TestCase { } } -} \ No newline at end of file +}