Now we are ready¶

First read the image and highlight the pixel values by applying x^1.5.

Then we calculate the integral image and use it to calculate two blurred images with parameters blur1 and blur2. Blur1 should be greater than blur2. The parameter t is used to combine the the two blurred images. The result image is then clipped to 0 and 255.