Commit graph

18 commits

Author SHA1 Message Date
srowen 1a83572864 Issue 548, delete() before close() on FileConnection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1582 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-10 12:40:18 +00:00
dswitkin 167197ec7a Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build.
This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy.

The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused.

IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls.

git-svn-id: https://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 17:49:45 +00:00
srowen 84e3f0f45d Issue 126: make sure files are deleted after done
git-svn-id: https://zxing.googlecode.com/svn/trunk@826 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-17 00:44:53 +00:00
srowen e57cf71874 Generate simple .alx file with RIM build
git-svn-id: https://zxing.googlecode.com/svn/trunk@583 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-21 11:12:41 +00:00
srowen f14d648ee0 Per Matt, fix use of FieldLabelProvider since it is not actually available to apps as a public API
git-svn-id: https://zxing.googlecode.com/svn/trunk@555 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-11 14:51:48 +00:00
srowen c58ae8b68d Initial checkin of RIM client from LifeMarks, after initial refactorings and style changes, etc. May still need work.
git-svn-id: https://zxing.googlecode.com/svn/trunk@546 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-04 18:39:26 +00:00
srowen 2dcb114308 Oops, fix RIM build script to not depend on old "javame-basic" target
git-svn-id: https://zxing.googlecode.com/svn/trunk@513 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-07-10 20:05:03 +00:00
srowen e0db8f9271 Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources.
git-svn-id: https://zxing.googlecode.com/svn/trunk@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:56:24 +00:00
srowen 4abc8aecec Slight improvement to the crudeness of the BB client -- now tries to auto-exit the Camera app
git-svn-id: https://zxing.googlecode.com/svn/trunk@255 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 22:02:12 +00:00
srowen e1cd031da8 Also quote a path here, which may have spaces, notably on windows
git-svn-id: https://zxing.googlecode.com/svn/trunk@254 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 21:54:24 +00:00
srowen 69c53f63c7 git-svn-id: https://zxing.googlecode.com/svn/trunk@210 59b500cc-1b3d-0410-9834-0bbf25fbcc57 2008-02-19 16:19:10 +00:00
srowen 5bbabc978d More work on RIM client
git-svn-id: https://zxing.googlecode.com/svn/trunk@207 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-15 20:10:55 +00:00
srowen 9c6a626b90 Progress on a crude Blackberry client -- still needs much polish but basic functionality exists.
git-svn-id: https://zxing.googlecode.com/svn/trunk@203 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-15 15:15:57 +00:00
srowen 9ac09235d4 Fix a few more last minute typos
git-svn-id: https://zxing.googlecode.com/svn/trunk@195 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14 21:14:40 +00:00
srowen eb2fa80eaf Biiig standardization of whitespace. 2 space indents now, no tabs.
git-svn-id: https://zxing.googlecode.com/svn/trunk@191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14 20:25:54 +00:00
srowen b503b1cdc6 Checks that dependencies are built now and produces an appropriate warning message.
git-svn-id: https://zxing.googlecode.com/svn/trunk@155 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-01-30 16:12:56 +00:00
srowen 0f47cc6380 Fixed location of RIM files
git-svn-id: https://zxing.googlecode.com/svn/trunk@138 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-01-07 21:19:03 +00:00
srowen 4a29bdc6bd Added first cut at script to build a Blackberry client -- does not yet seem to work.
git-svn-id: https://zxing.googlecode.com/svn/trunk@112 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2007-12-11 20:18:57 +00:00