[Image-SIG] Removing specific range of colors from scanned image
jcupitt at gmail.com
jcupitt at gmail.com
Tue Apr 28 10:14:38 CEST 2009
Hi Eduardo,
2009/4/28 Eduardo Ismael <eismb at hotmail.com>:
> Would you please make comments on what I could do to improve the code below?
You could make it hundreds of times faster if you calculate with
images, not pixels. But maybe it's fast enough already? It depends on
your needs.
CIELAB would be a better colour space than RGB, but I don't think PIL
supports CIELAB colour space, so you'd need to look into another image
processing system, like numpy or vips.
John
More information about the Image-SIG
mailing list