Stéphane Voltz
c348e5af7e
calibrate and clear calibration set reload params
2009-11-06 21:24:43 +01:00
Stéphane Voltz
3c8b10d16b
remove some special cases for shading calibration computing - remove DSMOBILE600 special case for calling compute_planar_coefficient - remove special case to compute words_per_color
2009-11-06 21:24:43 +01:00
Stéphane Voltz
6668b38d2c
fix shading coefficient computing at dpi higher than sensor's one
2009-11-06 21:24:43 +01:00
Stéphane Voltz
e0e9d639fd
add soft sensor to signal that the scanner needs calibration
2009-11-06 21:24:42 +01:00
Stéphane Voltz
6c8052f54d
duplicate shading data on all channels for gray scans
2009-11-06 21:24:42 +01:00
Pierre Willenbrock
5f3625ad7a
Add Calibration for Visioneer Roadwarrior and DocketPort 665
2009-11-06 21:24:41 +01:00
Pierre Willenbrock
17c0aa77ad
Add offset/gain/led calibration for sheetfed scanners
2009-11-06 21:24:40 +01:00
Pierre Willenbrock
cc77c4fa88
Fix usage of words_per_color.
...
I really don't know what i was thinking.
2009-11-06 21:24:40 +01:00
Pierre Willenbrock
6dddc67eb9
Add save_power calls where they belong
2009-11-06 21:24:40 +01:00
Stéphane Voltz
2ffe52857b
enable shading calibration for XP300
...
- add the needed flags to XP300
- tune shading line number
- setup shading calibration computing parameters
2009-11-06 21:24:39 +01:00
Stéphane Voltz
142498bca3
make DS600 use planar coefficient computing function
...
- improve compute_planar_coefficient to handle an averaging factor
- make DS600 call it with proper parameters
2009-11-06 21:24:38 +01:00
Stéphane Voltz
eab45d5245
DS600 allways send coefficients for all color channels
2009-11-06 21:24:38 +01:00
Stéphane Voltz
b57f0fd362
sheetfed scanners don't (can't) calibrate at each sane_start()
2009-11-06 21:24:38 +01:00
Julien BLACHE
561a2c8fe2
Fix missing check in genesys for raw debug data
...
Patch by Tollef Fog Heen <tfheen@err.no>
2009-09-26 11:39:29 +02:00
Stéphane Voltz
2c38397142
fix shading hp2300 shading calibration at dpi <= 300
2009-08-05 07:51:11 +02:00
Stéphane Voltz
fc11d2ebea
don't use color filter for gl646 cis scanners since we're using true gray
2009-08-04 07:44:43 +02:00
Stéphane Voltz
8f5069219f
removed obsoleted comment
2009-07-10 07:30:56 +02:00
Stéphane Voltz
7b982e87db
fix for MD5345 shading calibration at half ccd resolution
2009-07-10 07:22:06 +02:00
Stéphane Voltz
12594427d9
add a 10 minutes expiration time for GL646 CCD scanners' calibration cache
2009-07-10 07:22:06 +02:00
Stéphane Voltz
af0477bfce
DBG proc level trace for sanei_genesys_init_fe
2009-07-10 07:22:06 +02:00
Stéphane Voltz
0d82a5fba2
hp2300 shading calibration fix
...
- change 300 dpi mode to be in 'half ccd' mode
- fix sensor pixel number
- allow for negative offset in shading data building
- rewrite compute_coefficients to handle negative offset and specialised
it for pixel deletion case
- fix calibration handling of flatbed scanners
2009-07-10 07:22:06 +02:00
Stéphane Voltz
247b585de7
first working version of sheetfed scanners shading calibration
...
- added a function to build planar shading data
- improved sheetfed_calibration function
2009-07-10 07:22:05 +02:00
Stéphane Voltz
d522b2c2f7
shading calibration data size handling cleanup
2009-07-10 07:22:05 +02:00
Stéphane Voltz
60ab4d8569
add shading coefficient computing function for GL646/planar mode
2009-07-10 07:22:05 +02:00
Stéphane Voltz
48df712552
a note about the work left to get XP200 shading work
2009-07-10 07:22:05 +02:00
Stéphane Voltz
2d0710ed07
don't use addr for GL841 cis scanners when sending coefficient data
2009-07-10 07:22:05 +02:00
Stéphane Voltz
3135e94c90
work toward shading calibration
...
- black/white strip searching reliable
- call to dar and white shading calibration
2009-07-10 07:22:05 +02:00
Stéphane Voltz
7c44981be0
first step in adding sheetfed scanners calibration
...
- added search_strip function to command set
- coded search_strip for gl646
- initial calibration process for sheetfed scanners upto strip finding
- create a scanner calibration function that switches between
flatbed or sheetfed calibration
- added a sheetfed calibration function
- removed gamma table setting from calibration process
- call gamma setting during sane_start but before scanner calibration
2009-07-10 07:22:05 +02:00
chris@cnpbagwell.com
4d9e8138af
standardize including local sane/ include files.
...
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Stéphane Voltz
8d67bccbdc
- HP2300 shading calibration fixes
2009-04-27 13:53:33 +00:00
Stéphane Voltz
f7b28fccd2
- y scan position fixes for MD6471
...
- shading calibration tuning for MD6471
2009-04-25 06:12:16 +00:00
Pierre Willenbrock
0f82af6930
Fix reading/writing calib_channels to/from cache file, bad calib_pixels calculation.
...
This fixes bugs introduced by my previous commit.
2009-04-17 14:02:13 +00:00
Pierre Willenbrock
ad1f7de9e0
Always do shading calibration in color mode on gl841.
...
This removes the need to calibrate for both greyscale and color mode.
2009-04-17 13:03:35 +00:00
Stéphane Voltz
4f526dbb24
- y scan position fixes for gl646 scanners
...
- added a 'clear calibration cache button'
2009-04-16 18:39:23 +00:00
Stéphane Voltz
d32f758ce3
- calibration cache activation for gl646 scanners
2009-04-15 19:24:10 +00:00
Stéphane Voltz
a7a759b896
- shading calibration rework for gl646 based scanners
2009-04-14 05:15:29 +00:00
Pierre Willenbrock
ce2fdfbfbe
Add calibration cache
...
The calibration data is stored in the directory $HOME/.sane
2009-03-25 12:57:24 +00:00
Pierre Willenbrock
9d7fb593a1
Calculate shading coefficients using maximum input resolution available
...
This still needs to honor half_ccd settings
2009-03-21 14:30:30 +00:00
Pierre Willenbrock
f261d52e11
Remove park_head
...
It is redirected to slow_back_home in all cases
2009-03-21 14:28:57 +00:00
Pierre Willenbrock
8994e0cb07
Fix calculation of pixel number used in calibration
2009-03-21 14:27:06 +00:00
Pierre Willenbrock
d2fb13c37d
Enable Motor again for combined dark/bright calibration
2009-03-21 14:25:39 +00:00
Stéphane Voltz
185486e432
- cleanups for gl646 scanners
...
- change in document detection for gl646 sheetfed scanners
- lexmark desc file update
2009-03-12 05:29:53 +00:00
Stéphane Voltz
b635ba26b1
- head positionning fixes
...
- 1200 dpi scan fix for HP2300
2009-03-09 05:52:31 +00:00
Stéphane Voltz
ea76aef8a2
- rewrite of gl646 internals to enable easy addition of new models
...
- rewrite of calibration process to make it more robust and accurate
- untested full support for hp3670
- untested support for 50, 100 and 300 uncalibrated scans for hp2400
- use of id for device parts descriptions instead of using fixed
place in tables
- SCAN_MODE_* defines to clean up code
2009-02-27 12:37:16 +00:00
Chris Bagwell
70f3fdfba4
* acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
...
Global replace of u_int??_t with C9x standard based uintxx_t
in order to remove some tricky and overlapping portability logic
from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Pierre Willenbrock
3251c06fb4
Move sanei_genesys_{start,stop}_motor into chip specific sources
2009-02-23 14:16:56 +00:00
Stéphane Voltz
81953325e8
- add support for uncalibrated scan for Visioneer Strobe XP200
...
- button support for MD5345, HP2300 and XP200
2009-01-19 05:46:43 +00:00
Pierre Willenbrock
ba164358db
Add support for buttons on Canon LiDE 35/40/50.
2009-01-16 15:31:10 +00:00
Stéphane Voltz
2fda04000a
- restored warming-up broken by a previous commit
2008-12-31 07:11:20 +00:00
m. allan noah
91598aa800
* backend/*.[ch]: nearly every backend used V_MAJOR
...
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00