Erik Auerswald
|
511e851692
|
make the height/width ratio to recognize a 'one' settable by an option
|
2008-12-14 11:17:48 +00:00 |
|
Erik Auerswald
|
95a1120c57
|
use a preprocessor constant for height/width threshold to recognize a "one"
|
2008-12-14 11:05:35 +00:00 |
|
Erik Auerswald
|
0ccef481a1
|
changed height/width ratio to recognize a one from >2 to >3
|
2008-12-13 14:34:56 +00:00 |
|
Erik Auerswald
|
b234154459
|
some reindentation
|
2008-03-17 09:49:41 +00:00 |
|
Erik Auerswald
|
65e7aec965
|
remove _imlib from name of ssocr color-setting function
(as a step towards replacing Imlib2)
|
2008-03-13 14:57:34 +00:00 |
|
Erik Auerswald
|
45c6196e55
|
fix a bug introduced bey the previous refactorization:
draw_[fb]g_pixel() called draw_pixel() and therefore ssocr_set_imlib_color()
with an incorrect color argument
|
2008-03-13 13:43:58 +00:00 |
|
Erik Auerswald
|
f09969d0fa
|
refactoring: create functions draw_pixel, draw_fg_pixel, and draw_bg_pixel
and use them for image processing
ATTENTION! THIS CODE IS CURRENTLY UNTESTED!
|
2008-03-13 09:11:25 +00:00 |
|
Erik Auerswald
|
ce6d1d6ab4
|
mark global variables as static
|
2008-03-13 07:34:14 +00:00 |
|
Erik Auerswald
|
5c1ea41cec
|
use one flags variable instead of one int variable for each flag
|
2008-03-09 17:59:49 +00:00 |
|
Erik Auerswald
|
f1543aba59
|
remove an unneeded #define
|
2008-03-08 23:13:19 +00:00 |
|
Erik Auerswald
|
0496ac71b6
|
use '.' for not recognized digits with set segments instead of '?' since
'?' inside a number can be easily mistaken to be a '2'.
|
2008-03-08 15:48:24 +00:00 |
|
Erik Auerswald
|
b022f6046e
|
debug_output is a global variable -> don't pass it to adapt_threshold()
|
2008-03-08 15:42:22 +00:00 |
|
Erik Auerswald
|
0e7c6e6e60
|
refactoring: saving of image is now done with a function
|
2008-03-07 14:48:13 +00:00 |
|
Erik Auerswald
|
d5c12288eb
|
bump version number to 2.7.0
|
2008-03-05 14:18:04 +00:00 |
|
Erik Auerswald
|
8e7f358dc0
|
added (and corrected) some debugging output
|
2008-03-03 10:50:45 +00:00 |
|
Erik Auerswald
|
8673a7dca3
|
clarify licensing terms
|
2008-03-03 07:53:32 +00:00 |
|
Erik Auerswald
|
ee8dc858e4
|
lots of re-indentation...
|
2008-03-02 18:12:27 +00:00 |
|
Erik Auerswald
|
9fa09361e5
|
added iterative thresholding method
|
2008-03-02 18:02:09 +00:00 |
|
Erik Auerswald
|
3d202ef60c
|
expand tabs to spaces
|
2008-03-02 16:30:28 +00:00 |
|
Erik Auerswald
|
6a6cf7952d
|
re-indentation of if and for control words
|
2008-03-02 16:28:04 +00:00 |
|
Erik Auerswald
|
5712564c3c
|
- refactor "adapt threshold"
- fputs doesn't write a newline -> add newlines to fputs() invokations
|
2008-03-02 16:17:35 +00:00 |
|
Erik Auerswald
|
e45545f7e4
|
svn:ignore ssocr
|
2008-03-02 15:53:05 +00:00 |
|
Erik Auerswald
|
3f1f6b86e9
|
send verbose and debug output to stderr
|
2008-03-02 15:37:01 +00:00 |
|
Erik Auerswald
|
7c88105708
|
print version info to stderr if called when printing usage() to stderr
|
2008-03-02 15:14:01 +00:00 |
|
Erik Auerswald
|
8926c8c2a8
|
initial import, ssocr version 2.6.3
|
2008-03-02 15:03:51 +00:00 |
|