What does Picasa 3's "I'm Feeling Lucky" auto adjustment do?
Asked 11/5/2012
4 views
2 answers
0
When I apply Picasa 3's "I'm Feeling Lucky" to some photos, it often boosts contrast and color noticeably. In one example, the original looks washed out, while the adjusted version has stronger contrast and more saturated color.
What changes is Picasa likely making under the hood, and how does it decide what to correct automatically?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
12
In their documentation here, Google explains:
Picasa adjusts your photo's color and contrast to produce the ideal photo. You'll see a change only if your photo isn't already color balanced.
That last is the clue: all it's doing is what's known in other software as "auto levels". This is a tool which appears to work like magic in its strong ability to bring out colors and contrast, but the algorithm is actually very simple: For each color channel — red, green, and blue — the values are stretched so that the whole range is covered. It's conceivable that some future version of Picasa might put even more behind "Lucky", but based on the clue in the description and the example you show, I'm pretty confidant that this is all there is to it.
Here's what a similar adjustment looks like, channel by channel, in the Curves tool in Gimp:
Curves Adjustment Tool in the Midst of an Auto Levels Operation:

Nothing fancy at all, really. If you don't know how to read this, it's basically like this: all of the values in the given channel on the horizontal axis will be mapped to the value on the vertical axis. In these, everything to the left of the little circle at the bottom of the diagonal line is clipped to 0, and everything to the right of the circle at the top is clipped to 255, with the part in the middle stretched linearly over that range.
You can see that Gimp's auto level button has somewhat aggressively decided to clip some of the end of each histogram. Different software will make that choice differently, so you'll get slightly different results from program to program.
Here's the histogram of the red channel before and after applying auto levels:
Before:

After:

You can see that before the adjustment, the histogram is in the middle, but afterwards is the same rough shape stretched to both ends. The solid bars at each end are the clipped 0 and 255 values — there's a lot of those since as I mentioned the clipping applied by this tool is a little aggressive.
And, there's another interesting artifact here which isn't really related to your question but shows the peril of working with 8 bit images. The curve isn't continuous, and since we're taking something like 100 values (the bunched-up values in the original) and spreading them over 255 possibilities, there are holes. In extreme cases, this may show up as posterization in your final image. But fortunately, 8 bits is actually quite a bit to work with, and, the colors will be transformed differently in other channels, disguising the effect. But I've always been a little surprised that the curves tool doesn't apply an "anti-aliasing" function to compensate for this.
Originally by user1943. Source · Licensed CC BY-SA 4.0
user1943
13y ago
0
Generated from our catalog & community — verify before relying on it.
Picasa’s "I’m Feeling Lucky" is essentially an automatic color/contrast correction. Based on Google’s description and the kind of result you showed, it is most likely doing something similar to auto levels.
In practice, that means it analyzes the image’s tonal range and adjusts it so the available brightness range is used more fully. It may also do this per color channel (red, green, and blue), which can improve both contrast and color balance at the same time.
That’s why a flat, washed-out photo can suddenly look punchier: shadows get darker, highlights get brighter, and weak color casts can be reduced.
So it isn’t "understanding" the subject of the photo so much as measuring the image data and remapping tones/colors automatically. If the image is already well balanced, the change may be small or invisible.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
Why does a polarizing filter improve contrast and color saturation?
Why does increasing contrast make colors look more saturated?
How can I improve a washed-out landscape photo in post-processing?
Can GIMP mimic Photoshop adjustment layers with duplicate layers and masks?
Are Instagram's basic editing tools the same as Photoshop or Lightroom adjustments?