[Image-SIG] open, show, png, blank

Randolph Bentson bentson at holmsjoen.com
Sun Feb 5 02:57:15 CET 2012


Oh, I guess the lambda function should be generalized by

(lo,hi) = outI.getextrema()
x = 256.0/(hi-lo)
y = (0-lo)/256.0
outJ = outI.point(lambda i:i*x+y)

-- 
Randolph Bentson
bentson at holmsjoen.com


More information about the Image-SIG mailing list