Sorry to spoil the fun, but this does not enhance contrast. In contrary, it is reducing contrast, shifting all outer levels towards 128. The pleasing effect is only the brightening of the dark parts. Also, the histogram shows loss of tonalities, indicated by "spikes" in the histogram. Please check yourself with
interleave(a,last).histogram(mode="levels")
Then, blur(0.2,0.2) is not a simulation of a radius 10 gaussian blur. To simulate that, you'd need to replace that blur() with resize(33%).resize(100%)
__________________
- We´re at the beginning of the end of mankind´s childhood -
My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
|