Saturday, June 30, 2007

Moire Pattern

There is a type of color distortion present in digital cameras that can under certain circumstances be mistaken for chromatic aberration but it manifests itself differently. It is what is known as a Moire pattern.

Moire pattern first presented itself in color television as a result of overlap of sideband information in the NTSC color broadcasting system. In that system, color information overlaps high frequency (fine detail) video information and so fine repeating details, such as a plaid shirt or pen striped suit, would result in a rainbow effect.

Digital cameras also are subject to Moire pattern but for a different reason. In digital cameras, the pixels each respond to a specific color, red, green, or blue. The geometric pattern that they are laid out in can result in banding when a high contrast line cuts the pattern.

In the following example, the fence top rail wasn't quite horizontal in the original photo and was made horizontal with the straighten tool. Because it was originally at an angle, it cut the pattern of pixels at a slight angle and acquired this rainbow banding as a result.

It should be noted that this is a small portion of a much larger picture and without being blown up and having the color exaggerated it probably would have gone unnoticed.

Moire pattern.

The strongly predictable nature of the Moire pattern from a digital camera makes it very amiable to software removal. The internal firmware of many cameras do this well enough that you may never notice this, but if you do, know that you can fix it using external software.

In this case, I used Paintshop Pro X's Adjustments->Add/Remove Noise->Moire Pattern removal. While I was at it, I also adjusted the brightness curve because the original looked kind of dark and dreary to me, that's a matter of personal taste or in my case, lack thereof. The important thing to notice is the banding is gone.

Moire pattern removed.

Wednesday, June 27, 2007

Chromatic Aberration

Chromatic aberration is an ugly effect that manifests as colored fringes around high contrast areas of photographs.

Here is an example of chromatic aberration. This shot was taken with a Canon Powershot S2 IS at maximum zoom on a day with direct sunlight.

Example of chromatic aberration.


Normally, chromatic aberration is non-existent in the very center of an image and gets worse as you move towards the edges. This is not the case in this example only because it was cropped from a larger picture.

Lenses work by refracting light. Shorter wavelengths are refracted to a less degree than longer wavelengths. This causes light at the red end of the spectrum to not focus in the same place as light at the blue end of the spectrum. This manifests itself as a red fringe on one side of a high contrast line and a blue or blue-green fringe around the other. The blue-green fringes are often less noticeable.

Various techniques are used in modern lenses to reduce this effect. Special "achromatic" glasses which have refractive indexes that vary with wavelength reduce this effect. Also, lens elements can be arranged such that one element cancels chromatic aberration induced in another.

There is a broad range of lens qualities, the old adage that you get what you pay for applies. Generally speaking, chromatic aberration gets worse with focal length because there is more magnification to magnify any aberration in the first elements. With telephoto lenses, reflector lenses (mirrors) don't have chromatic aberration, refractive (glass) lenses do. Glass lenses have higher contrast than reflector lenses.

Zoom lenses are more problematic than fixed lenses because of the changing relationship of the elements which makes it difficult to use the aberration in one element to cancel that of another. The Canon S2 IS is particularly bad in this regard because it has a 12x optical zoom with a max focal length of 432 mm.

That said; I really wish I had a decent SLR with a set of decent fixed focal length lenses because on the Canon Powershot S2 IS this problem is substantial and ruins a lot of what could have been good photos.

Here is another example of chromatic aberration followed by attempted software fixes.

Chromatic aberration example


Paintshop Pro X has a feature called chromatic aberration removal (I'm sure Photoshop and other similar programs also have this but I'm too poor for Photoshop, Paintshop is inexpensive). To use it, you invoke it then select the fringe area. It removes and tries to extrapolate the correct color where the fringe was.

Two bad things often happen. One, the color of the fringe includes colors close to colors in the photo and they get removed as well. Here is an example.

Bad attempt at chromatic aberration removal


The other thing that can happen is that the software can substitute the wrong color when it replaces the fringe.

I took another shot at it and was able to remove most of the fringes and only do minor damage to the skin.

fixing chromatic aberration.


I was able to do less damage by selecting different points in the fringe which had a slightly different color and the overall results were better. Some images just plain are not repairable and I wouldn't consider this one repaired sufficiently for anything but the most casual purposes.

Bikinis

I'm pretty sure the entire female population of Kirkland was in bikini's on waterfront today.

Bikini Girl
Bikini Girl
Bikini Girl

Sunday, June 24, 2007

Reorganized Gallery

I've totally reorganized my photo gallery again. I need to be able to find photos for web work and what not and it was just totally too jumbled. I know this photograph totally ignores the thirds rule but I really don't like formula art, music or photos or anything else.

Boats

Wednesday, June 13, 2007

Eagle In Flight


I had taken my wife down to a class in Sandpoint just off of Lake Washington in Seattle to get her food handlers card, and while waiting I went to Matthews Beach just north. I was sitting at the edge of the lake following swallows with my camera just to practice keeping a moving object in sight when all the sudden I had an Eagle in the view finder and took this photograph.

Eagle off of Matthews Beach in Seattle

Friday, June 1, 2007

At the Beach


Pro Beach Volleyball?


You mean people actually get paid for that? Tough life.


Volleyball Girl

Slack-Line


This is cool. Something I've never heard of before called a Slackline. Basically, it attaches between two trees and then you walk it. Like a tight rope except it's a flat band.


Slackline
Google