strokemap: thresholds tuning
authorMartin Renold <martinxyz@gmx.ch>
Sat, 6 Aug 2011 11:54:27 +0000 (13:54 +0200)
committerMartin Renold <martinxyz@gmx.ch>
Sat, 6 Aug 2011 11:57:08 +0000 (13:57 +0200)
commit08c475d632edbd1b465a51780116fc926a2c05ed
tree7035209a88783c2a10b0a966a05d11ffd4238e72
parent2a85efaeadb8d46e41dec9ad70db084edd0c2f56
strokemap: thresholds tuning

Replace ugly thresholding code with more ugly thresholding code.

The previous code did compare the difference of premultiplied
color components, with the result that white strokes had more
weight than black strokes. This at least is fixed now, and
hopefully everything is better tuned, too.
lib/pixops.hpp
lib/strokemap.py