© Vladimir Kovalevsky 2019
Vladimir KovalevskyModern Algorithms for Image Processinghttps://doi.org/10.1007/978-1-4842-4237-7_4

4. Shading Correction with Thresholding

Vladimir Kovalevsky1 
(1)
Berlin, Germany
 

Some photographs are not homogeneously light because the photographed object was not homogeneously illuminated. Fine details in the dark area of such photographs are hardly recognizable. We suggest a method to improve the quality of such images.

A known method used for correcting digital photographs taken by automatic devices installed on space probes on other planets uses the subtraction of the local mean lightness from the lightness of the pixels of the original image:

GVnew[x, y] = GVold[x, y] – Mean[x, y] + Const

where GVold[x, y] is the lightness ...

Get Modern Algorithms for Image Processing: Computer Imagery by Example Using C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.