mattbell: (Default)
[personal profile] mattbell
The view from an aircraft is incredible, but the atmospheric haze even on clear days dramatically reduces the contrast.  However, I realized that, mathematically speaking, the haze is adding a constant amount of light to each pixel of the image.  (The blue haze that occurs in absence of air pollution or atmospheric particulate matter comes primarily from Rayleigh scattering.  Rayleigh scattering is also the answer to the childhood question "Why is the sky blue?)  I can estimate the color value of this haze by finding a particularly dark part of the image and assuming that the actual object there is black.  Then, I can subtract that value from every pixel.  The results are dramatic:

Before:

San Francisco before haze subtraction

After:

San Francisco after haze subtraction by you.

More pairings:

Bay bridge construction:

Bay bridge construction after haze subtractionBay bridge construction before haze subtraction

A reservoir:

Northern CA reservoir after haze subtractionNorthern CA reservoir before haze subtraction

Some hills:

N California hills after haze subtractionN California hills before haze subtraction

If I really want to do this right, I should take multiple black samples to account for the fact that there is a greater distance (and thus more haze) in the top parts of the photo than there is at the bottom.  Then I can make a gradient in Photoshop between the two values. 


Date: 2008-12-23 07:36 pm (UTC)
From: [identity profile] agentsteel53.livejournal.com
thanks :)

I tend to do a lot of levels adjustment on the shadow end to fix contrast problems, whether due to windshields, airplane windows, or the lens itself losing contrast.

Profile

mattbell: (Default)
mattbell

February 2011

S M T W T F S
   123 45
67 89101112
13141516171819
20212223242526
2728     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 7th, 2026 08:05 am
Powered by Dreamwidth Studios