[sane-devel] PIXMA: 1 Bit B/W Lineart for pixma_mp150 and pixma_mp810 Subdrivers

Rolf Bensch rolf at bensch-online.de
Wed Feb 29 10:57:47 UTC 2012

I just committed dynamic thresholding to git.

1 bit B/W scans can be controlled by following options:
- threshold
- threshold-curve
- gamma

Dynamic thresholding uses a look up table of thresholds. The table is 
generated for each scan from the parameters threshold-curve as slope and 
threshold as offset.


Am 03.02.2012 22:40, schrieb m. allan noah:
> Cool. You might also want to look at the dynamic thresholding code I
> added to the epjitsu backend. Stef was able to copy it to genesys as
> well. Basically adds a sliding window and some hysteresis to the
> threshold determination, brings out text on gray backgrounds and such.
> I'd like to add it to sanei_magic someday, but don't have the time
> right now.
> allan
> On Fri, Feb 3, 2012 at 4:31 PM, Rolf Bensch<rolf at bensch-online.de>  wrote:
>> Hello,
>> I just commited 1 bit B/W lineart for all scanners in the pixma_mp150 and
>> pixma_mp810 subdrivers to the git tree.
>> Due to the fact that these ccd scanners doesn't support generic lineart, I
>> implemented software-lineart. The graphic frontend (Xsane) provides a slider
>> to set the threshold.
>> pixma_mp810 subdriver has been tested well with these scanners:
>> Canoscan 8800F
>> Canoscan 9000F
>> Canon Pixma MP810
>> Canon Pixma MP960
>> pixma_mp150 subdriver isn't tested yet. This code should run, because it is
>> similar to the pixma_mp810 code and I compared the diff files.
>> Please report other working scanners to the ML.
>> Cheers,
>> Rolf
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org

More information about the sane-devel mailing list