Got the brightness working.
Added blurring.
Added edge detection.