Added some simple sharpening for 1D decoding which allowed a couple more blackbox...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)
commit72e8850d9af1243e1e79dbb54c474f4d81238b42
tree6461836e5670149c6f94eab5496a400876b75ae4
parent0e6441475c83c367ff7a8386ef88b8046927db7b
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.

git-svn-id: http://zxing.googlecode.com/svn/trunk@372 59b500cc-1b3d-0410-9834-0bbf25fbcc57
android-m3/src/com/google/zxing/client/android/RGBMonochromeBitmapSource.java
core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java
core/test/src/com/google/zxing/oned/EAN13BlackBox2TestCase.java
core/test/src/com/google/zxing/oned/UPCABlackBox1TestCase.java
javase/src/com/google/zxing/client/j2se/BufferedImageMonochromeBitmapSource.java