[sane-devel] HP Scanjet 3670 bad colors

Octavio Alvarez alvarezp at alvarezp.ods.org
Sat May 24 15:25:45 UTC 2014


On 05/23/2014 10:58 PM, Stef wrote:
>     target_code is giving the desired target value for white. Once this
> value is correct : not too low, and not too high to avoid
> "solarization", you should turn to tuning gamma values. They are defined
> in genesys_devices.c for the CCD_HP3670. Currently it is 1.0 for each
> color channels, and this need to be adjusted. This will improve the
> histogram.

For some reason I haven't been able to find out yet, changing gamma
values on genesys_devices.c:350 doesn't seem to change anything, no
matter if I set them to 1.5, 2, 3, 10 or 0.5, 0.2, etc.

Changing target_code makes a difference (just to make sure my
compilation environment is correct).

Best regards.




More information about the sane-devel mailing list