Class 37 April 18

Image manipulation

I need a haiku — I cannot find one I like — Can you help me please


Always look both ways


Form please


Module gamma.py


Consider


Function correction( i, gf )

int( 255 ( i / 255 ) 1/gf  )


Function pixel( p, gf )


Function create( original, gf )


To do

mona lisa

defaced mona lisa


Imaging effects — gamma

mandrill

mandrill

mandrill

Original Gamma = 2.0 Gamma = 0.25


Homework motivation

mandrill

mandrill