[sane-devel] How to increase the Color

abel deuring adeuring at gmx.net
Wed Aug 13 12:43:05 BST 2003


stef wrote:
> 	gamma tables are 256 SANE_Int values wide, and values must range from 0 to 
> 255. The gamma-table is for grey scans, and the three others for color scans. So
> you'll have to assign values according to the scan you are doing. 
> 	The default gamma tables are fine, and you can get good scans without using
> gamma tables.

well, the size of the gamma table and the the range of the allowed 
values depend on the backend and on the scanner. For a scanner with a 10 
bit ADC it is reasonable to use a table with 1024 entries. Some other 
scanner with a 12 bit ADC may map 12 bit input value to 12 bit output 
values, so that the table has 4096 entries where each value may be in 
the range 0...4095

Abel




More information about the sane-devel mailing list