Monday, June 13, 2011

"The False Photographer"

ON THE LIMITS of photography:
This weakness in civilisation is best expressed by saying that it cares more for science than for truth. It prides itself on its "methods" more than its results; it is satisfied with precision, discipline, good communications, rather than with the sense of reality. But there are precise falsehoods as well as precise facts. Discipline may only mean a hundred men making the same mistake at the same minute. And good communications may in practice be very like those evil communications which are said to corrupt good manners. Broadly, we have reached a “scientific age,” which wants to know whether the train is in the timetable, but not whether the train is in the station. I take one instance in our police inquiries that I happen to have come across: the case of photography.

Some years ago a poet of considerable genius tragically disappeared, and the authorities or the newspapers circulated a photograph of him, so that he might be identified. The photograph, as I remember it, depicted or suggested a handsome, haughty, and somewhat pallid man with his head thrown back, with long distinguished features, colourless thin hair and slight moustache, and though conveyed merely by the head and shoulders, a definite impression of height. If I had gone by that photograph I should have gone about looking for a long soldierly but listless man, with a profile rather like the Duke of Connaught's.

Only, as it happened, I knew the poet personally; I had seen him a great many times, and he had an appearance that nobody could possibly forget, if seen only once. He had the mark of those dark and passionate Westland Scotch, who before Burns and after have given many such dark eyes and dark emotions to the world. But in him the unmistakable strain, Gaelic or whatever it is, was accentuated almost to oddity; and he looked like some swarthy elf. He was small, with a big head and a crescent of coal-black hair round the back of a vast dome of baldness. Immediately under his eyes his cheekbones had so high a colour that they might have been painted scarlet; three black tufts, two on the upper lip and one under the lower, seemed to touch up the face with the fierce moustaches of Mephistopheles. His eyes had that "dancing madness" in them which Stevenson saw in the Gaelic eyes of Alan Breck; but he sometimes distorted the expression by screwing a monstrous monocle into one of them. A man more unmistakable would have been hard to find. You could have picked him out in any crowd—so long as you had not seen his photograph.

But in this scientific picture of him twenty causes, accidental and conventional, had combined to obliterate him altogether. The limits of photography forbade the strong and almost melodramatic colouring of cheek and eyebrow. The accident of the lighting took nearly all the darkness out of the hair and made him look almost like a fair man. The framing and limitation of the shoulders made him look like a big man; and the devastating bore of being photographed when you want to write poetry made him look like a lazy man. Holding his head back, as people do when they are being photographed (or shot), but as he certainly never held it normally, accidentally concealed the bald dome that dominated his slight figure. Here we have a clockwork picture, begun and finished by a button and a box of chemicals, from which every projecting feature has been more delicately and dexterously omitted than they could have been by the most namby-pamby flatterer, painting in the weakest water-colours, on the smoothest ivory.

I happen to possess a book of Mr. Max Beerbohm's caricatures, one of which depicts the unfortunate poet in question. To say it represents an utterly incredible hobgoblin is to express in faint and inadequate language the license of its sprawling lines. The authorities thought it strictly safe and scientific to circulate the poet's photograph. They would have clapped me in an asylum if I had asked them to circulate Max's caricature. But the caricature would have been far more likely to find the man.
— G.K. Chesterton, “The False Photographer”, from A Miscellany of Men.

Friday, May 20, 2011

“Prime Subjects of Photography”

IF YOU ARE interested, please see my new series of challenges at the Digital Photography Review website, called the Prime Subjects of Photography.

My first challenge, Unconventional Portraiture, is currently in the voting stage, while the current challenge, Photography of Flora, is generating an astounding amount of interest. This will be followed by:

  • Sports Photography
  • Cityscapes (urban landscapes)
  • Night Photography
  • Environmental Photography (taking a portrait of a person in the context of their work or home)
  • Food Photography
  • Street Photography (photos in public in an urban area)
  • Modern Landscapes (landscape photos with extreme sharpness and focus, with little Photoshop afterwards)
  • Abstract Subjects
  • Child and Youth Portraits
  • Wildlife Photography (large animals in the wild; later challenges will concentrate on small wild animals and insects, and birds)
  • Concert Photography
  • Architectural Photography
  • ...more challenges planned...

The challenges in the series have a particular structure, with easier subjects coming first, with these being reflected by similar yet more difficult subjects later on. Unconventional Portraiture came first, because it has few to no rules which ought to be followed, while Classical Portraiture, which is far more difficult, comes later.

Typically, human subject challenges alternate with nature studies and inanimate objects. More specialized challenges come later in the series.  The entire series will have 33 challenges, and each challenge includes basic hints for good photography for that particular subject.

The dpreview website is largely suited to beginning photographers. The challenges on this site serve rather well as a learning tool.

Tuesday, May 3, 2011

Zillions and Jillions

PLEASE CONSIDER the absolutely most minimalist camera possible. This camera will have precisely one pixel or light sensor location, and it will generate a photograph that has a bit depth of exactly one binary digit: black or white. This camera can produce precisely two images:

Untitled-1

This maximally minimalistic digital camera is actually useful. These are incorporated into proximity switches; devices that answer the question is something there? You might find them on conveyor lines in factories, or on automatic door openers.

Instead of just one pixel, let's consider a camera with four. Here are all possible images taken with this sort of camera:

4-bit

With just a 2 by 2 pixel array, at one bit depth, we are able to take 16 different photographs.

We can easily calculate the total number of individual photographs that can be possibly taken by a digital camera capable of displaying only black or white:
  • 1 bit camera = 2 photos
  • 2 bit camera = 4 photos
  • 3 bit camera = 8 photos
  • 4 bit camera = 16 photos
We add one bit and we double the number of possible photos we can take with our camera. This number gets very big very fast. Suppose we take a very low end digital camera, 500x500 pixels = 250,000 total pixels. Even if we limit this camera to using only black and white pixels, we end up with a huge total number of possible images:

Total images possible =
  • 2 x 2 x 2 x ..... (multiply a total of 249,999 times)
  • = 2250000
  • =  3 followed by 75,257 zeros, plus a bit more.
By comparison, the total number of elementary particles (electrons, protons, etc.) in the entire universe is estimated to be a 1 followed by 80 zeros, or 1080.

Suppose you have an entire universe of particles, and then you give every particle its own universe of the same size, and in each of those universes, you assign a similarly sized universe for each elementary particle inside them, and repeat the process nearly a thousand times. That's how many unique photographs you can take with your cruddy 500x500 pixel 1-bit depth digital camera.

We can get large numbers when we examine matter, but information is another class of being in itself, vastly larger than mere matter. It is for this reason that philosophers have posited that information resides in a realm above, beyond, or outside that of mere matter.

The following ought to convince you that an image 500 pixels on a side with 1 bit pixels can be quite rich:

Union Station in Saint Louis - 1 bit depth image

My fellow Saint Louisians ought to recognize this scene. 1-bit images are generally quite useful, and have been used for decades in copying machines.

Even a 1 bit depth digital camera can produce an astounding number of different images. But suppose we add color — the number of possible images becomes even more staggering. Take my lowly Nikon D40 camera; it has about 6 million sensors, and if I shoot JPEG, I get 256 possible values per sensor. The camera has about 3 million green sensors, and 1.5 million sensors each of red and blue; full color is mathematically estimated for each pixel location.

So for each pixel location, we multiply by 256. The total number of images = 2566016000 which is approximately equal to a 1 followed by 14,487,972 zeroes. This is a mere pittance compared to the Seitz D3 digital scan back, which can capture 500 megapixel images with 48 bit color per pixel:
  • Total = (248)500000000 = 1 followed by 7,224,719,896 zeros.
I think it is safe to assume that like snowflakes, no two photographs are alike.

But this vast potentiality of photography ought not get us puffed up with pride in our creativity. Alas, the vast, overwhelming majority of these theoretically unique photographs look like this:

Random colored bits

Uniform random noise. A trillion monkeys, each generating a trillion random images per second for a trillion years, will likely never once produce anything that looks like a photograph. You could call this an ‘image’, but only in the most general terms. At best, images like this are only an exercise in conceptual art, and then only for the first photographer who does it. And I just did it.

[Note: to generate a random noise image such as this in Photoshop, be sure to start with a 50% gray image. If your starting point is a white image, then half of your final pixels will be white, and if you start with a black image, then half your pixels will still be black. Using the Filter->Noise->Add Noise... function, add 50% Uniform noise. Be sure to turn off ‘Monochromatic’. I find I get better results if I do this for each color channel independently.]

We call an image like this ‘random’ because it doesn't look like anything in particular. Perhaps a supremely intelligent being can look at this and be able to immediately discern the specific algorithm used by Photoshop to generate this. But we can't; we are finite creatures, and so the perception of noise is very much a human phenomenon. Perhaps we can imagine some figure in this noise, but that is tenuous at best. Actually, the entire concept of randomness is problematic: see my article here.

But we are good at perceiving some image if the noise isn't too great, especially if we are familiar with the subject:

Mystery image in noise

That is an image with a 1:10 signal/noise ratio. Can you guess the subject? What does your gut say?

I've never before attempted to estimate signal to noise ratios for digital images. Here, I've created a series of images with varying relative amounts of noise:

Signal to noise

Clearly, high ISO images, and heavily manipulated images, can have very high relative amounts of noise, much more than I suspected.

A 1:4 signal-to-noise ratio is roughly the limit I'm able to handle, while surprisingly a 1:1 ratio isn't horribly bad for some purposes. But please note that noise found in actual digital images is not uniform; rather it lurks most of all in the shadows, or rather, the signal-to-noise ratio is smallest there, for highlights have a large absolute amount of noise, even though it is small relative to the signal.

Suppose we are willing to accept a 4:1 signal-to-noise ratio, which means that 1/5 of our bits are just noise. For this image, which is 500 pixels on an edge, with 48 bits of color, that means that about 10 bits are noise.  We can calculate:
  • Number of acceptably noisy images equivalent to a reference image = (210)250000 = a 1 followed by 752,576 zeros.
2% total noise is virtually undetectable by the human eye, unless you look very closely. Also, slight adjustments or rotations of images are hard to see:

Four variations

For our 500 x 500 pixel full-color image, I estimate that there are approximately 4 trillion largely undetectable variations for every reference image. For larger images, the number goes up to values never heard of even in government economics.

OK, so I assert that of all theoretically possible images, the relative number which would be recognized as photographs is vanishingly small. Fortunately, since we are dealing with almost unimaginably large numbers, this isn't an issue. Roughly estimating the number of photographic images possible ought to be doable.

Patterns make an image. Either there are significantly large adjacent patches of pixels that are very similar, or there are similarities between pixels even though they are widely separated. Or, we can find a pattern that repeats on various scales.

Look at this image:

symmetry

It is pretty obvious that we have symmetry of the left and right halves, as well as the top and bottom halves. Recall that the total number of possible variations of a 500x500 pixel, 1 pixel depth image is represented by a 3 followed by 75,257 zeros.  Because we have mirror symmetry, we basically repeat a 250x250 pixel image four times:

Total number of images:
  • = 2250 x 250 = 2 62500
  • = about 1 followed by 18184 zeros
This is an enormous figure, but is only 1/(1056433) fraction of the total number possible. We will be able to see the mirror reflection in nearly all the images produced: we would not perceive the symmetry if the image is all black or all white, or if the pattern is symmetric to begin with, but this is a very small proportion of the total.

With this 1 bit depth image, I find that I can only detect symmetry when I have greater than a 1:1 signal to noise ratio. We also should be able to detect other variations, such as changing the location and orientation of the axes of symmetry — all we have to do is ensure that our axis of symmetry is not too close to the boundary of the image.

The eye can detect global patterns such as seen above, and also local patterns, where there is some correlation between adjacent pixels:

local

Within a 500 x 500 pixel image, we can produce a total of 400 x 400 = 160,000 different images of a black 100x100 pixel square; our numbers go up if we can accept slight variations in the color and size of the square and its orientation. But if we are willing to accept some noise, as we see here, we can get zillons of possible images.

No two photographs are alike, and even if you take multiple shots with an ordinary camera under controlled conditions, there is no chance in your life that your resulting images will be exactly the same. This can be helpful: if you take multiple shots, you can blend them together to greatly reduce the amount of noise visible in the final image. Super-resolution techniques can also use multiple images to construct a higher-resolution final image, and can even remove diffraction artifacts.

The sharpness of lenses is a major limiting factor for producing unique photographs. The blurring found in some optics means that adjacent pixels are often strongly correlated, even if they are supposed to capture a high-contrast edge. Chromatic aberration and the mysterious purple fringing also lead to greater correlation between pixels, reducing the originality of photographs. Same goes with noise reduction software. Extreme, high quality bokeh, found in excellent portrait lenses, can reduce the out-of-focus background detail to a nearly uniform blur; this lack of detail leads us to focus our attention on the subject of the photograph. With extreme blurring and the use of the Photoshop Threshold tool, we can even reduce our images to match the 1-bit camera demonstrated at the top of this article.

Despite, or rather because of, the huge variation of possible photographs, it is relatively easy to detect unauthorized duplicates of images. Forensic analysts can detect duplicates with overwhelmingly high certainty, even if the original image was severely altered. Likewise, the use of the Clone tool in Photoshop — this copies one part of an image to another part — is easily detected if a large enough area is cloned, even if it is visually blended well, because these kinds of correlations within an image can not be practically attributed to chance. Never in a jillon years can we expect something like that to happen on its own.

If two photographers with two different cameras each take a photograph of the same scene, they will be different from each other in a huge number of minor (or even major) ways, so much so that we can be absolutely certain that the two images are in fact different. On the contrary, with a reasonably complex scene and good image quality, it seems that we ought to be highly confident that these two photographs were in fact photographed at the same time, and we also ought to be able to detect if the scene was artificially recreated at a later time, or was adjusted in Photoshop.

I think this discussion of seemingly impossibly large numbers tells us that photography, and digital art in general, is an incredibly rich and humanly inexhaustible medium.

[Click here for a discussion of names for long numbers. As it so happens, practically the only time these names for long numbers are actually used are in lists of names of long numbers. The word ‘zillion’, even though it is almost meaningless, is a good enough name for the quantities we are discussing here.]

Tuesday, April 12, 2011

Photography as an Art

THE GREATEST OBSTACLE the modern photographer encounters is his adherence to an idea that the camera "holds a mirror up to nature," that it is "true to nature." If that were so, photography would be for all times contained among the sciences and debarred from art. For nature is never art, nor does nature as a whole ever affect us as art. In art we are dealing strictly with the mental and emotional faculties more or less developed in each individual. These faculties respond when, on a flat surface such as paper, we find certain emotional and intellectual records of things we have seen or experienced in nature. And it is the manner in which these records are made that affects us as art. Every stroke, touch, spot, and patch of light and dark governed by the mind and hand of the artist interprets first an emotion, second a meaning. In this lies the province of art. The "mirror of nature," as expressed by photography, is a cold, impersonal, undesirable tracing of certain facts reproduced by pure science — heartless, uninteresting. Its value is wholly scientific, and it deals with only one kind of truth. There is nothing impressionable or impressive about it. Pictorial art is strongly emotional. It exists to give pleasure and at the same time knowledge; not such knowledge as the dissecting sciences impart, but the kind inherent in music, poetry, literature, religion.

Nature in itself has nothing to do with art; it is only the quarry, the reservoir out of which material for art can be taken. It is plain, then, that "true to nature" cannot refer to the comprehensive truth, but that of necessity selection of truths must be resorted to in any event. This being so, the phrase "holding a mirror up to nature" is evidently meaningless from the standpoint of art, and "true to nature" must be understood as referring to a phase of nature of which we have become conscious.
Art principles in portrait photography (1907), by Walter Beck, p. 18-19

Thursday, April 7, 2011

Frequently Asked Questions

HERE ARE A FEW questions photographers often get from the public.

Q: What kind of camera should I get?

What do you want to do with it?

Oh, I don't know. I think that I would like to get into photography. It might be a fun hobby; I've always been creative.

I would suggest getting a cheap one, a camera that has just the basics and manual override. A camera store can help you with this. Get a camera cheap enough so that you won't get buyer's remorse or get too upset if you drop and break it. Also get some inexpensive photo editing software for your computer, as well as an introductory book on photography. Play with the camera and software, and follow the examples in the book to see if you like photography. Maybe after six months you will find that you want to upgrade your camera, or you will find out that you aren't interested in pursuing it further. In any case, your investment is insignificant.

Q: What kind of filter do I need to protect my lens?

None.

You have to very careful with the kind of filter you use, for cheap filters will optically degrade your images, sometimes severely. If you do need one, B+W filters are highly regarded.

But if you spent so much on a lens that you worry about damaging it, then you ought to worry about image quality degradation — otherwise a cheaper lens would suit your purposes. Be careful in handling it, and a rigid lens hood and lens cap is your best protection against damage. I would use a filter only if it is needed creatively (like using polarizers to cut reflections or darken blue skies), or if you are in a salt-air environment.

Q: I want to get my wife the ultimate anniversary present. What is the best camera you can buy?

Might I suggest the Nikon D3x? It is very popular with professionals and takes superb photos. You will need a variety of lenses to go with it. I would suggest getting the 400mm f/2.8G lens for taking photos of wildlife, the 200mm f/2G for indoor sports pictures, the 14-24mm f/2.8G, a wide angle lens, particularly suitable for taking photos indoors, the 135mm f/2.0 DC and the 85mm f/1.4 for taking portraits, the 60mm f/2.8G Micro lens for close-ups, and the 28-300mm zoom lens for general purpose use.

Please click the links above to purchase. My associate will provide you with excellent service.

Q: I have a bunch of 512 MB CF cards. I want to buy a new camera that will use these.

Why do I hear this question so often?

The card you use in a camera is really not that important. Buy whatever card the new camera uses. You will find that the new cards are cheap, and are likely faster and more capacious than your old cards.

Q: How do I get good bokay?

Perhaps you mean bokeh? The word bokeh comes from Japanese, and is used to describe the quality of background blur in an image.

These factors contribute to getting a stronger background blur: getting closer to the subject, opening up the lens aperture, using a longer focal length, and using a camera with a larger sensor. Now the quality of the background blur can be harsh or creamy, and this depends of the lens design itself; some lenses, especially those made for portraiture, will have better bokeh than others, and will be priced accordingly.

Q: My wife has a Nikon D3x camera and 7 lenses that she wants to sell because they are too big and heavy to be practical. Where can I get a good price for used equipment?

You can sell your equipment to Adorama or B&H Photo. These large dealers are likely to give good prices for high-end equipment.

Q: Thinkin about turnin pro. What camera do pro's use? Is $200 too much to charge for a wedding?

Professionals use whatever camera they want to use. And $200 is way too much for you to charge for a wedding.

Q: What DPI setting should I use for my photos?

The dots per inch setting does not matter at all, and it will have no effect whatsoever when you print out your photos or display them on your computer. All that matters is the pixel dimensions of your image. Too few pixels will look terrible if you attempt to make a large print of an image.

DPI does matter when you submit your photos to a commercial publisher. Typically book and magazine publishers will specify a fixed DPI setting: usually 300 dots per inch. When you submit your photo, they will not resize your photo at all, they will merely crop it to fit. For this reason, the publisher will specify both an image size and a DPI size, and your camera must have enough pixels to ensure that your image will cover this size. They will typically specify a size larger than they will use, to allow for bleed off the edge of the paper and to give them flexibility of layout. As a photographer, this is actually very helpful, for you process your image as you want it to look: resizing photos can degrade quality greatly.

Q: What kind of camera do I need to take good indoor pictures of my kids?

Are you having problems?

Yeah, my current camera is slow and my kids are fast. If I do manage to get a photo, either the photo is really grainy, or the kids are blurry, or the flash goes off and the picture doesn't look all that great.

I would suggest getting a low-end DSLR. Most large electronics retailers and camera stores will have fairly inexpensive cameras from Canon, Nikon, and other manufacturers that will solve your problem.

DSLRs in general produce superior results because they have larger sensors than compact cameras. This reduces the problem you see with grain and blur and reduces the need for a flash. Because these cameras have a mirror and separate viewfinder, they are able to incorporate a much faster focusing mechanism than what is found in compacts.

The trade-off is that these cameras are bulkier and heavier, so I would recommend going to the store and trying it out yourself. Usually, people get used to the larger size fairly quickly and the quality improvement is usually worth it.

The lens that comes with your camera is probably adequate. However, you may want to spend about $100 more and get a fast lens, like a 50mm f/1.8. This will let in more light and will allow you to avoid blurring and avoid using the flash in dimmer light.

Q: Why are my interior photos yellow?

That is due to the relatively yellow color of lighting used inside.Your camera has a built-in automatic white balance which attempts to correct for the color of light, but it doesn't always work well. Take at look at my article White Balance, Part 1.

You might try manually setting your camera to incandescent, tungsten, or fluorescent; just remember to set it back to automatic when you are done.

For really good work, you can calibrate the camera to match the lighting precisely. For this you need a target that is guaranteed to be neutral in color. Click here for an inexpensive card.

Q: I want a compact camera with excellent image quality but I don't want a DSLR.

Well, that will be a problem. DSLRs, due to their design, will produce better...

I just told you that I don't want a DSLR! Don't you listen? Or are you just stupid? I want a compact camera that will take as good pictures as a DSLR.

Your options are limited — it could be quite expensive —

Money is no object.

Well, in that case, might I recommend the Leica M9? Like DSLRs, it incorporates superb interchangeable lenses, among the best in the industry, and it has a full-frame sensor like those found in the highest-quality DSLRs. Because of its compact size and silent shutter, it is prized by photojournalists who need to be discrete. And may I suggest an assortment of lenses to go with it...

Um — well — sorry. I'm afraid that is a little beyond my budget. Can you recommend something else?

I think the Sony NEX-5 or the Fuji X-100 would be perfect for you. Not quite as flexible or high performance as a DSLR, but both of these will deliver excellent image quality similar to a DSLR in a compact size. You might also investigate the Micro 4/3rds cameras, which have smaller sensors than DSLRs, but offer much greater quality than typical compacts.

Q: Black and white photography is obsolete. Why don't you get it?

What are you talking about?

Color is where it's at now. Black and white was merely a product of historical forces, ignorance, and technological compromises, and so it has no relevance to us today; black and white photography is something that ought to be abandoned and forgotten.

This sounds familiar. See my article Black and White.

Q: Why do my pictures look washed out?

What do you mean by washed out?

Well, I'm not really sure. But the colors are disappointing. They are pale. The sky is often white instead of blue.

It sounds like your photos are overexposed — that is really common. Take a look at your camera's manual and look up the exposure override function. If your colors look pale, then try adjusting the camera to expose the picture less — -2/3 E.V. would be a good start. You can also try to increase the saturation in the camera, but don't do too much of it. Take a look at my article Three Opportunities for Overexposure.

Unfortunately you now risk underexposing your shots — your pictures could look dark and muddy instead of washed out. See if your camera has a histogram feature: you want to be sure that your histograms don't show too much or too little exposure.

Q: Help! I was told to set my camera to Adobe RGB so that I can capture brighter colors, and now my colors are all muted!

Well, don't do that then.

Most cameras and computers use the sRGB color standard, which can capture about 35% of all colors. Adobe RGB is useful since it can capture 50% of all colors: but if you don't know how to handle managed color workflows on your computer then I wouldn't bother. See my article Imaginary and Impossible Colors.

Q: Should I use RAW or JPEG?

RAW is technically superior, but you are forced to do more work on the computer. Do you want to do no work at all on the computer, and will you do all your work in the camera? Or do you want to spend extra time sitting in front of your computer making your images look right? If you are going to do photo editing anyway, then shooting in RAW is useful since it gives you more flexibility in adjusting white balance and exposure.

Be aware that Adobe Camera RAW, as found in Photoshop and Lightroom, will not produce the same results as the camera's own JPEG. For this reason, I usually use Nikon's View NX2 software to do my RAW conversion before moving the image into Photoshop.

Q: What kind of camera do I need for sports?

If you are shooting sports outdoors in the daytime, an inexpensive point-and-shoot camera with a decent zoom lens should be adequate. If you are shooting sports indoors or at night, you will likely need a DSLR with a fast telephoto lens. This will be quite expensive to do well, and it would be far cheaper to hire someone to do it for you.

Q: What settings do I use to take pictures at night?

I can't tell you that, but your camera and your eyes can tell you. If you are far away from artificial lighting, set your camera's white balance to daylight, otherwise set it to tungsten or incandescent. Put your camera on a tripod. Set the self-timer, and let the camera make whatever exposure it wants. You may find that the camera can't focus, you will have to figure out the camera's manual focus feature. If the camera tells you it is too dark, and you have a manual exposure feature, then use it. Adjust the exposure time until the image on the screen looks good to you. Your exposure could be several minutes long or longer. See the Wikipedia article Exposure Value for hints.

Q: Can you recommend a good lightweight tripod?

I can recommend a good tripod or a light tripod, but not a good light tripod. If you are serious about providing a solid platform for your camera, I would recommend getting a heavy tripod, and a tall one at that. You don't want to lean over all the time to take pictures, and a high camera angle is sometimes superior. A heavy tripod will likely be both sturdier and much more stable than a light one. Having extreme stability is important when taking long exposures, such as at night or in dim interiors.

I've had bad experiences with light tripods. Vibrations from people walking across the floor, a truck rumbling outside, the wind blowing, or even the weight of the camera itself can ruin a photo.

Saturday, April 2, 2011

Three Opportunities to Underexpose

SPRING IS FINALLY here in Saint Louis, and we have spring's floral finery waiting for the camera.

When you photograph brightly colored flowers, be aware that you risk overexposure:

Overexposed red tulip

Overexposing bright colors is easy with digital photography — and also when using film for slides. This red color really isn't all that bright compared to pure white, for it is only a bit more luminous than a middle gray. But digital cameras can only record so much red before they become overwhelmed. Blue skies are often overexposed, as we see in the article Three Opportunities for Overexposure.

As we see here, even a slight overexposure can ruin an image; adding contrast or saturation (common settings in a camera that usually make images look better) will make matters worse.  Just by looking at this photo you should be able to tell that it is overexposed: we have a large, nearly featureless areas of bright primary and secondary colors, namely the red tulip as well as section of the yellow flower on the right.

The color of each pixel in this image is determined by three numbers, each of which range in value from 0 to 255, with the numbers determining the amount of red, green, and blue light at each pixel. For an overview of this RGB color system, see the article Color Spaces, Part 1: RGB. Variation of the RGB color numbers across the image gives us detail: but here, much of the red tulip has its red value pegged at 255. So the flower looks flat and largely void of detail.

Overexposure in and of itself is not necessarily bad, and it is often unavoidable, but you likely will want to avoid overexposing even a single color channel on your main subject, like this tulip. If your digital camera offers three separate color histograms, you may want to check it to avoid this problem. Here are the overexposed portions, shown masked in black:

Overexposed red tulip with mask

I took another photo nearby, using better exposure:

Red tulip, at the Missouri Botanical Garden, in Saint Louis, Missouri, USA

I took these photos the other day at the Missouri Botanical Garden in Saint Louis. You can see more of my photos taken that day here.

The red channel just barely kisses 255 in the brightest red areas, and so this flower, unlike the one above, is not overexposed. But this image is still disappointing. While we do see detail and texture in the flower, it still looks somewhat flat, especially compared to the adjoining tulips. The yellow parts of those tulips look more interesting and textured.  What is going on here?

Here are the three color channels of this image:

Red tulip channels

Please note that nearly all of the red tulip is black in the green and blue channels. As we would expect, there is good detail in the red channel. Take a look at the yellow parts of the tulip on the left; it shows good detail in all three channels, and so it has nice texture in the final color image.

We see texture when there is variation of the RGB color channels across an area. If there is little variation around a point, we see little texture at that point. Variation in color shows texture, but we have little to no variation in color with the red tulip. Variation in luminosity or brightness is typically more important when you want to show texture. See my article Luminance is More Important than Color.

A rough model of luminosity is:
Luminosity = 30% red + 59% green + 11% blue
If you want to show lots of texture or detail, then this calculated luminosity has to strongly vary over an area. With our tulip the majority of the green and blue color values are zero — seen as black in the above illustration — and so these color channels do nothing to give us texture. The texture in the red channel is attenuated by more than two thirds, and so the image looks somewhat flat.

Underexposure then is not one thing, but rather is three things, for we need to be concerned with the exposure of all three color channels. Typically we do not expect to see detail in black or white areas of a photograph, but certainly we would like to see texture in mid tones. But as we see here, we cannot count on that. Because two of our channels are underexposed, we lost texture.



I might add that the color of the tulip is wrong. It was not that particular shade of red, rather it was more intense, closer to scarlet, closer to the far edge of human color perception.

Just by looking at the RGB color numbers, we see that G and B are zero, and so all color is determined by R alone. This means that the color of the tulip is fixed to the color of the sRGB red primary. The sRGB standard is used by most digital cameras and most computer monitors.

The sRGB color standard can display only about 35% of all possible colors, as illustrated here:

Cie_Chart_with_sRGB_gamut_by_spigget

This image originally appeared on Wikipedia. Source and attribution: http://en.wikipedia.org/wiki/File:Cie_Chart_with_sRGB_gamut_by_spigget.png

The horseshoe shape shows the limit of human color vision. The sRGB color gamut is represented by the triangle in this diagram. Our tulip color is somewhat near the lower righthand corner of this chart. Of course, this chart itself is not accurate in color, because it uses the sRGB standard, and so the outlying colors, outside of the triangle, cannot be displayed.

In photography, whenever you get one or two RGB colors at 255, while the other color is zero, then you know that you are out of gamut. We even see this in our first, overexposed photo. Red is largely fixed at 255, while blue and green are zero.

One solution is to capture the image using a color standard that is larger than sRGB. We won't be able to see these extra colors here, because lots of web browsers and computer monitors are limited to the sRGB standard. We can use a wider color gamut when printing, especially if use a higher-end printer than uses more than three color inks.

As it happens, I took this image using Camera RAW, and my Nikon can capture a very broad range of colors. During post-processing on my computer, I can convert the RAW file to sRGB, or I can convert it to the ProPhoto colorspace, which can represent more colors:

CIExy1931_ProPhoto

Image originally appeared on Wikipedia. Source and attribution: http://en.wikipedia.org/wiki/File:CIExy1931_ProPhoto.png

Notice the much larger triangle here, and also note that the red primary goes all the way to the limit of human vision; undoubtably our tulip can be accurately captured.

Here I edited the photo after converting the RAW image to the ProPhoto colorspace.

Red tuplip out of sRGB gamut

The gray here approximately indicates the areas which cannot be represented by sRGB. If we look at all three color channels, we can see that there is good texture in the tulip:

Red tulip channels in ProPhoto gamut

While we cannot show the ProPhoto image on the computer screen in all its glory, it may be printable, depending on the kind of printer we use. The final image ought to have better texture than what we had before.

We could process this image for computer display if we are willing to desaturate the red in the ProPhoto image. This would give us better texture at the expense of color.

Red tuplip corrected to add texture

Here I used the good green and blue channels from the ProPhoto color gamut to add texture back into the tulip. The flower is no longer intensely red, but I think it is otherwise a slight improvement.

Monday, March 7, 2011

Fluctuation in Fluorescent Lighting

I'VE OFTEN HEARD that fluorescent lamps will quickly fluctuate in color as electric current flows through them. I decided to do a little experiment to see if this is true.  I took a number of photos of a compact fluorescent bulb in rapid succession. The exposure and white balance of the camera was fixed, and the shutter speed was 1/1250 second. Here are four of these photos:

Change of fluorescent bulb color with phase

I saturated the colors here to make them more evident, but they do noticeably fluctuate. If like me you often severely manipulate or saturate your images, you will increase the likeliness of seeing these color shifts. Long exposure times will average out these fluctuations.

The human eye is rather well adapted to changes in the color of lighting from yellow to blue, like we find outdoors on a sunny day or with incandescent lighting. However, fluorescent lamps will produce problematic and sickly-looking green and magenta color casts, especially if there is any natural or incandescent lighting in the scene. This effect is particularly noticeable by the camera. When I am confronted with fluorescent lighting, I will turn it off if possible before starting photography.