Image Processing Magic

 Delphi  Comments Off on Image Processing Magic
Apr 162019
 

It’s a bit frightening what image processing “magic” can do to a picture:

Original:

Processed:

And that’s not even advanced “magic” but some rather simple code written in Delphi (most of which I can’t publish here unfortunately).

What it does is:

  • Smooth brigthness by applying a brigthness map.
  • Adjust for lens edge blur by selective sharpening.
  • Improve contrast by histogram stretching.

Of course since this is a gray scale picture, the processing is much simpler than it would be for colour pictures.

 Posted by on 2019-04-16 at 11:57