BETWEEN 2% AND 10% of a motion picture's budget is for lighting, and if we consider that much of that cost is for electricity and for the purchase of low-life expectancy lamps, then new technologies look quite promising. Solid state light emitting diode (LED) lamps produce great amounts of light at low power consumption, they don't generate much heat, they have a long life, they are lightweight, and they are tough, making them unbreakable and safe to work around. The new solid state lighting has many benefits, and the United States government is heavily encouraging its use.
The Academy of Motion Picture Arts and Sciences is studying the new LED lamps for suitability in motion pictures. Their preliminary research can be found at the Solid State Lighting Project page.
The results are not good. LED lamps do not present colors very well to the camera.
Generally speaking, according the presentation linked above, LED lighting is currently a poor choice for getting good color, most particularly for getting good skin tones, which are particularly harmed. The example tests show skin looking more green and sickly instead of having a healthy ruddy glow. The tests show also that makeup looks inconsistent under LED lighting, and does not blend as well with bare skin. Tans, light browns, and reds tend to be harmed significantly, while some blues are enhanced. Colors in general appear to be less differentiated under LED lighting, and complex fabrics tend to 'flatten' and have less pronounced shading and texture. The use of these lights could impose greater costs, requiring color checks before filming.
Tungsten lamps and daylight produce a flat, uniform spectrum, and so are perfect at rendering colors accurately. Film stock and digital sensors render the colors from this kind of lighting very well.
In the Academy's opinion, the discontinuous spectra produced by LED lighting is problematic. The terms 'color temperature' and 'color rendering index' are not particularly useful when discussing LEDs, because of their discontinuous color quality. A solution, they think, may not be in improving the LED lamps themselves, but rather in developing custom film stock and digital sensors that better match the LED spectra. They also think that custom discontinuous filters could be used, but this will remove much of the electrical efficiency of the lamps, making their use largely moot. These fixes are not likely to help photographers who are much less in control of their lighting, and who need more general-purpose equipment — an LED optimized sensor would do a rather poor job under daylight.
Visually, the various light sources look the same to the human eye: but the camera does not perceive light the same way and colors are rather unpredictable. I ought to note that much research is currently being done to make a visually balanced LED spectrum, but this by no means is expected to work well with photography. Every model of sensor will have a different response to the LED lighting, making color matching more difficult.
The Academy thinks that LED lighting products are being rushed to market without taking into concern the needs of quality color reproduction. They also see the need to have quality third-party evaluation of the products emphasizing cinematography.
Thursday, October 6, 2011
The Academy on LED Lighting Technology
Saturday, October 1, 2011
Autochrome
THE LUMIÈRE BROTHERS, Auguste Marie and Louis Nicolas, are known for being pioneers in motion pictures, having patented the cinématographe in 1895, and by holding the first commercial movie screening that year. However, they thought that “the cinema is an invention without any future,” and instead they concentrated their work on developing color photography. While photographers did produce color images by taking a series of black-and-white exposures from behind various colored filters, the Lumières (their name, appropriately, is French for ‘light’) developed a method of making a color image from a single exposure. Their plates could be easily developed with standard darkroom methods and chemicals and required no unusual equipment to view.
Autochrome plates had a layer of starch grains, dyed to three primary colors. These tiny grains acted as color filters during both exposure and when viewing. The plate used standard silver chemistry, and was developed so as to remove the silver that was exposed to the light — which is the reverse of the normal process. The completed plate then had a positive color image when viewed with a back light.
Autochrome Lumière plates were first marketed in 1907, at a cost a number of times more than standard black and white plates. This proved to be the most practical color photography method until the 1930s.

Children in Medieval Costume, by Mrs. Benjamin F. Russell, ca. 1910. George Eastman Collection.
Autochrome was used to create slides, viewed either by a slide projector, or through a hand-held viewer. It is said that printed reproductions of Autochromes — especially those made during the era when the process was used — do not do justice to the medium; the original colors are delicate, with excellent color separation and balance. But autochromes are sensitive to light, heat, and oxygen, with surviving images often being in poor condition.
While there are many differences between Autochrome and newer color photography methods, the most striking difference is that Autochrome used orange, green, and violet dyes as the primary colors of its palette, in contrast to the now-standard red, green, and blue primary colors. This inevitably and severely limits the range of colors that can be represented by this method.
But muted colors are not necessarily a bad thing. Autochrome remained popular until the 1950s, especially in France, because it produced more subtle color than newer films. The American film Kodachrome (produced from 1935 to 2009) was known for producing excessively bright color, while the Japanese Fujichrome Velvia (introduced in 1990) produces colors very often criticized as garish. The contemporary digital photography color standard also produces colors which can be excessively saturated. Can an understated, limited, and muted use of color be sometimes superior?
As it so happens, the range of colors produced by Autochrome ought to be accurately reproducible by modern digital cameras, since their native color gamut is so large. Intrigued by Autochrome, I set about devising a method of reproducing its color range. Here are some experimental digital photos, limited to use only my estimate of Autochrome's color palette:








I reduced the color gamut of these photos to my estimates of the primary colors used by Autochrome. As these primary colors are more limited than the sRGB primaries, we ought to be able to reproduce them more or less faithfully here. There are plenty of Autochrome images on the Internet, but many of them are scans from printed images, which will throw the colors off. I attempted to find only direct digital images of Autochrome slides, and used those to estimate the primary colors. Clearly there is lots of variation among my sample photos, not the least of which is changes in exposure and white balance, as well as the color response of the various digital cameras or scanners. But I did the best that I could. Here is the process I used:
Some Frenchmen, using original Lumière equipment and notes, are attempting to duplicate the process in its full glory. While not likely to become widely used, this is still a worthy medium for color photography.
UPDATE: see the article Using ICC Profiles for Creative Color Control for specific instructions on converting images to the estimated Autochrome color gamut. For the photographs in this article, I used the Old Autochrome ICC profile. I’ve made an attempt at simulating the grain and dark tones of Autochrome. See the article An Imitation of the Autochrome Lumière Process.
Autochrome plates had a layer of starch grains, dyed to three primary colors. These tiny grains acted as color filters during both exposure and when viewing. The plate used standard silver chemistry, and was developed so as to remove the silver that was exposed to the light — which is the reverse of the normal process. The completed plate then had a positive color image when viewed with a back light.
Autochrome Lumière plates were first marketed in 1907, at a cost a number of times more than standard black and white plates. This proved to be the most practical color photography method until the 1930s.
Children in Medieval Costume, by Mrs. Benjamin F. Russell, ca. 1910. George Eastman Collection.
Autochrome was used to create slides, viewed either by a slide projector, or through a hand-held viewer. It is said that printed reproductions of Autochromes — especially those made during the era when the process was used — do not do justice to the medium; the original colors are delicate, with excellent color separation and balance. But autochromes are sensitive to light, heat, and oxygen, with surviving images often being in poor condition.
While there are many differences between Autochrome and newer color photography methods, the most striking difference is that Autochrome used orange, green, and violet dyes as the primary colors of its palette, in contrast to the now-standard red, green, and blue primary colors. This inevitably and severely limits the range of colors that can be represented by this method.
But muted colors are not necessarily a bad thing. Autochrome remained popular until the 1950s, especially in France, because it produced more subtle color than newer films. The American film Kodachrome (produced from 1935 to 2009) was known for producing excessively bright color, while the Japanese Fujichrome Velvia (introduced in 1990) produces colors very often criticized as garish. The contemporary digital photography color standard also produces colors which can be excessively saturated. Can an understated, limited, and muted use of color be sometimes superior?
As it so happens, the range of colors produced by Autochrome ought to be accurately reproducible by modern digital cameras, since their native color gamut is so large. Intrigued by Autochrome, I set about devising a method of reproducing its color range. Here are some experimental digital photos, limited to use only my estimate of Autochrome's color palette:
I reduced the color gamut of these photos to my estimates of the primary colors used by Autochrome. As these primary colors are more limited than the sRGB primaries, we ought to be able to reproduce them more or less faithfully here. There are plenty of Autochrome images on the Internet, but many of them are scans from printed images, which will throw the colors off. I attempted to find only direct digital images of Autochrome slides, and used those to estimate the primary colors. Clearly there is lots of variation among my sample photos, not the least of which is changes in exposure and white balance, as well as the color response of the various digital cameras or scanners. But I did the best that I could. Here is the process I used:
- I collected dozens of Autochrome images from the Internet, and put them together into a large photomosaic.
- Using selection and threshold tools in Photoshop, I eliminated colors that were not saturated, changing these to a uniform neutral gray.
- Using Indexed Color, I was able to reduce the color palette gradually until I was left with several clusters of colors, which corresponded to the three Autochrome primary colors, three secondary colors, and black and white.
- From the sample colors found in the Color Table, I picked out the brightest, most saturated typical-looking colors from each cluster as the primaries.
- Using a color conversion tool (ColorSync can do this), I determined the Yxy color values associated with the RGB numbers found in the Color Table.
- I created an Autochrome ICC profile in Photoshop using these Yxy values.
- Converting an sRGB image to the Autochrome profile may or may not make a big difference, depending on the brightness of the colors found in the original images. However, you can edit the image considerably to bring out the colors better, and never leave the Autochrome gamut.
- I have no way of knowing if I got the colors right, and there obviously is a lot more work that can be done with this, but this limited palette still has a certain beauty and opportunity.
Some Frenchmen, using original Lumière equipment and notes, are attempting to duplicate the process in its full glory. While not likely to become widely used, this is still a worthy medium for color photography.
UPDATE: see the article Using ICC Profiles for Creative Color Control for specific instructions on converting images to the estimated Autochrome color gamut. For the photographs in this article, I used the Old Autochrome ICC profile. I’ve made an attempt at simulating the grain and dark tones of Autochrome. See the article An Imitation of the Autochrome Lumière Process.
Thursday, September 15, 2011
White Balance, Part 2: The Gray World Assumption and the Retinex Theory
WHITE BALANCE is one of the most important functions of digital color photography. Understanding a little bit of theory about this function could improve your photography.
Very many beginning photographers (and I was certainly one of them) are quite disappointed with the quality of their images. Although they may find it hard to put into words just what precisely is wrong with their images, bad color or a color cast may be a significant problem. When I learned about white balance and how to correct for it, I immediately thought that my photos looked much better.

Bad versus better white balance, among other things. Saint Vincent de Paul Chapel, in Shrewsbury, Missouri.
Clearly, the color of light is often variable, and the color my camera captures is usually somewhat different from what I see in real life. However, if I am careful to set the white balance, then typically my colors look much better under most circumstances.
There are some principles that we ought to keep in mind:
Very many beginning photographers (and I was certainly one of them) are quite disappointed with the quality of their images. Although they may find it hard to put into words just what precisely is wrong with their images, bad color or a color cast may be a significant problem. When I learned about white balance and how to correct for it, I immediately thought that my photos looked much better.

Bad versus better white balance, among other things. Saint Vincent de Paul Chapel, in Shrewsbury, Missouri.
Clearly, the color of light is often variable, and the color my camera captures is usually somewhat different from what I see in real life. However, if I am careful to set the white balance, then typically my colors look much better under most circumstances.
There are some principles that we ought to keep in mind:
- Our eyes do white balancing naturally. This leads to color constancy, where particular shades of color appear to be subjectively similar under a wide variety of objectively different lighting conditions.
- White balance in photography corrects for extreme changes in the color of light; it is not a slight adjustment.
- For the best results, we ought to do white balancing early in the photographic process.
- We cannot rely on the camera or software automatic white balance function to give good results.
Friday, August 19, 2011
Anniversary of the Daguerrotype
ON AUGUST 19th 1839, the government of France released the patent on the Daguerrotype to the world, which made photography commonplace.
The promise of photography had been around for decades: Joseph Nicéphore Niépce had been working on his heliograph process since 1793. His problem was that his photographs quickly faded, and his oldest surviving images date from about 1825 or 1826. Starting in 1829, Niépce partnered with the prominent painter Louis-Jacques-Mandé Daguerre to further develop the heliograph process.
Daguerre and Niépce worked on the physautotype, a process where lavender oil dissolved in alcohol was applied to a silver plate to produce an image. This process required that the plate be exposed in a camera obscura for many hours. After Niépce's death in 1833, Daguerre discovered that exposing a silver plate to iodine vapors before exposure, and then mercury vapor afterwards, could produce a plate far more sensitive to light. Daguerre patented his process in 1839, and then gave his patent to the French government in exchange for a pension for himself and Niépce's heirs.
There was a boom in professional photography. By the 1850s, photography studios could be found in nearly every major city.
The promise of photography had been around for decades: Joseph Nicéphore Niépce had been working on his heliograph process since 1793. His problem was that his photographs quickly faded, and his oldest surviving images date from about 1825 or 1826. Starting in 1829, Niépce partnered with the prominent painter Louis-Jacques-Mandé Daguerre to further develop the heliograph process.
Daguerre and Niépce worked on the physautotype, a process where lavender oil dissolved in alcohol was applied to a silver plate to produce an image. This process required that the plate be exposed in a camera obscura for many hours. After Niépce's death in 1833, Daguerre discovered that exposing a silver plate to iodine vapors before exposure, and then mercury vapor afterwards, could produce a plate far more sensitive to light. Daguerre patented his process in 1839, and then gave his patent to the French government in exchange for a pension for himself and Niépce's heirs.
There was a boom in professional photography. By the 1850s, photography studios could be found in nearly every major city.
Monday, August 1, 2011
1 Bit Depth Cameras
PLEASE EXAMINE these two photos:


Not too much difference. The second photo has perhaps slightly greater contrast, saturation, and sharpness.
Now both these images came from the same RAW file, but had different processing; I reduced these images to this size using Photoshop's Bicubic algorithm.
Now let's zoom far into a small part of the original images:

The second image has one bit per color channel! Each of the red, green, and blue color channels is either fully on or off, and so we have only 8 possible colors per pixel versus millions of possible colors in the top image. But when we reduced the image in size, these pixels were averaged, and so appear normal in the final image. By averaging, we can obtain every possible color in the sRGB gamut.
Lousy, horrible image quality, when we pixel-peep at 100% resolution; but it looks just fine at the resolution shown on the screen.
But we really don't have to do pixel averaging to get a plausible image:

The pixels on this image are black and white only — no shades of gray. This image is interesting, but it has poor image quality; but if we had more and smaller pixels, an image like this would appear to the eye to be a continuous grayscale of high quality.
The notorious megapixel wars of a few years ago had new models of cameras coming out with ever higher pixel densities, at the expense of higher noise. When I got my Nikon D40 back in 2008, I specifically chose that model because it had the best balance between noise and pixel density. Since I was going to produce full-resolution images for the book Catholic St. Louis: A Pictorial History, I needed a minimum number of high-quality pixels for full-page images. Now I could have used a higher pixel density camera, but at that time I had problems with image downsizing, which harms sharpness.
The problem with high megapixel, small sensor cameras is noise; but noise is not a problem if you don't look too closely: and clever image manipulation can make this noise invisible or unobjectionable in the final image. Let's not forget that the single best predictor of image quality is sensor size. You can get a decent small image with a small sensor, but a large sensor will deliver high image quality with both small and large images.
What this little experiment tells us is that we don't need high quality pixels to get a high quality final image, if we have enough pixels.
Suppose some manufacturer could cram 250 megapixels into a typical ASP-C sized sensor as found in consumer grade DSLR cameras. If you zoom into your image at 100% resolution, the image might appear to be only noise, but by clever processing you could produce excellent large images with superb detail.
We can learn a few lessons from old film photography. The crystals of silver halide embedded in film change chemically when exposed to light. Please be aware that light, when examined closely, appears to be made up of little discrete chunks called photons. Whenever a number of photons would hit a piece of silver halide, no matter how large or small a crystal, the crystal would change. And so, large crystals are more sensitive to light than smaller crystals, since roughly the same number of photons would likely change either size crystal. The crystals that absorbed photons would then remain in the negative, and would appear black, while the crystals that did not absorb photons would be washed away during developing, and so only the transparent film remain.
So in a certain sense, digital photography is more analog than film photography, and film is more digital than digital sensors. A film grain is either on or off, with no intermediate steps, no shades of gray. In developed film there is either a grain at any given part of a negative, or there isn't: it is all black or white. Only when we look at the negative from a distance can we perceive an image.
Film grain has many advantages. Because the grains have random shapes, we do not see aliasing in film images — we don't see digital jaggies or interference patterns. By mixing various sizes of grains, we can expand the dynamic range of film: some grains will be more likely than others to be exposed, and so we can get both good shadow and highlight detail, as well as a gradual fall-off in highlights, instead of an abrupt cutoff in highlights as we see with digital cameras (Some Fuji digital cameras had two sizes of sensors to avoid this a bit). Film grain can also add perceived texture as well as sharpness.
Digital photography, following the long example of film technology, could utilize very large numbers of tiny pixel sensors of varying sizes and shapes, and these sensors would register only on or off signals: they would be 1 bit sensors, just like film grain. Although pixel peeping on such an image would be painful, we should expect to obtain superior final images, with much higher dynamic range, good fall-off on highlights, and nice texture and sharpness without digital artifacts. We also would have better control over digital noise, particularly in the shadows.
One interesting advantage to having super high pixel densities is that camera manufacturers could include sensors of various color sensitivities, greatly expanding the color gamut of the sensor, as well as provide far more accurate color rendition. These extra color sensors could emulate the Purkinje effect, and be able to accurately capture an image that corresponds to how humans see in dim lighting, particularly at dusk. Some sensors could be sensitive to infrared, and others to ultraviolet. We have so many pixels in our camera that it wouldn't be much of a waste to assign a certain number of them for odd uses: it would hardly cause a degradation for most images. Various sizes of pixels could be scattered across the sensor, giving better dynamic range; random shapes and sizes could produce images less prone to aliasing, as well as providing more sharpness.
Sensor design would be challenging, for various trade-offs will need to be made: what would be a good balanced design? Blue sensitivity is poor in the standard Bayer design, and red sensors could be boosted in number also. Why can't we also include a number of panchromatic sensors as well, instead of relying mainly on green for luminance? What percentage of the sensor area should be dedicated to big sensors, how many tiny pixels should be included? Can small pixels be superimposed upon big pixels? If varying shapes of pixels are used, what shapes are best; pointy or round? This design offers great potential. Manufacturers could even incorporate Foveon-style sensors, where multiple colors are sensed at the same location. They could even get very clever, by changing the size of the sensors according to depth.
RAW conversion for such a sensor would be difficult — or rather interesting — and would likely require a much faster on-board computer in the camera. But for a hypothetical 250 megapixel camera, we would have precisely one bit per pixel, and so the RAW file size would be only about 31 megabytes in size before compression: not terribly much larger than what we have today. JPEGs produced by this kind of camera would not be full resolution, but then we don't want full resolution, we need to have some sort of averaging of the pixels. But even a lightly processed TIFF file would produce a superior image; up close, we would perceive something that would look like photographic grain, which is much more organic than digital pixels.
This kind of camera would give us unprecedented control over the RAW conversion process. You want an infrared image? You got it. You want ultraviolet? Easy. You want to trade off color accuracy for dynamic range? You want to bring up detail in both the highlights and shadows? A one-bit depth camera can be very useful.
Not too much difference. The second photo has perhaps slightly greater contrast, saturation, and sharpness.
Now both these images came from the same RAW file, but had different processing; I reduced these images to this size using Photoshop's Bicubic algorithm.
Now let's zoom far into a small part of the original images:
The second image has one bit per color channel! Each of the red, green, and blue color channels is either fully on or off, and so we have only 8 possible colors per pixel versus millions of possible colors in the top image. But when we reduced the image in size, these pixels were averaged, and so appear normal in the final image. By averaging, we can obtain every possible color in the sRGB gamut.
Lousy, horrible image quality, when we pixel-peep at 100% resolution; but it looks just fine at the resolution shown on the screen.
But we really don't have to do pixel averaging to get a plausible image:
The pixels on this image are black and white only — no shades of gray. This image is interesting, but it has poor image quality; but if we had more and smaller pixels, an image like this would appear to the eye to be a continuous grayscale of high quality.
The notorious megapixel wars of a few years ago had new models of cameras coming out with ever higher pixel densities, at the expense of higher noise. When I got my Nikon D40 back in 2008, I specifically chose that model because it had the best balance between noise and pixel density. Since I was going to produce full-resolution images for the book Catholic St. Louis: A Pictorial History, I needed a minimum number of high-quality pixels for full-page images. Now I could have used a higher pixel density camera, but at that time I had problems with image downsizing, which harms sharpness.
The problem with high megapixel, small sensor cameras is noise; but noise is not a problem if you don't look too closely: and clever image manipulation can make this noise invisible or unobjectionable in the final image. Let's not forget that the single best predictor of image quality is sensor size. You can get a decent small image with a small sensor, but a large sensor will deliver high image quality with both small and large images.
What this little experiment tells us is that we don't need high quality pixels to get a high quality final image, if we have enough pixels.
Suppose some manufacturer could cram 250 megapixels into a typical ASP-C sized sensor as found in consumer grade DSLR cameras. If you zoom into your image at 100% resolution, the image might appear to be only noise, but by clever processing you could produce excellent large images with superb detail.
We can learn a few lessons from old film photography. The crystals of silver halide embedded in film change chemically when exposed to light. Please be aware that light, when examined closely, appears to be made up of little discrete chunks called photons. Whenever a number of photons would hit a piece of silver halide, no matter how large or small a crystal, the crystal would change. And so, large crystals are more sensitive to light than smaller crystals, since roughly the same number of photons would likely change either size crystal. The crystals that absorbed photons would then remain in the negative, and would appear black, while the crystals that did not absorb photons would be washed away during developing, and so only the transparent film remain.
So in a certain sense, digital photography is more analog than film photography, and film is more digital than digital sensors. A film grain is either on or off, with no intermediate steps, no shades of gray. In developed film there is either a grain at any given part of a negative, or there isn't: it is all black or white. Only when we look at the negative from a distance can we perceive an image.
Film grain has many advantages. Because the grains have random shapes, we do not see aliasing in film images — we don't see digital jaggies or interference patterns. By mixing various sizes of grains, we can expand the dynamic range of film: some grains will be more likely than others to be exposed, and so we can get both good shadow and highlight detail, as well as a gradual fall-off in highlights, instead of an abrupt cutoff in highlights as we see with digital cameras (Some Fuji digital cameras had two sizes of sensors to avoid this a bit). Film grain can also add perceived texture as well as sharpness.
Digital photography, following the long example of film technology, could utilize very large numbers of tiny pixel sensors of varying sizes and shapes, and these sensors would register only on or off signals: they would be 1 bit sensors, just like film grain. Although pixel peeping on such an image would be painful, we should expect to obtain superior final images, with much higher dynamic range, good fall-off on highlights, and nice texture and sharpness without digital artifacts. We also would have better control over digital noise, particularly in the shadows.
One interesting advantage to having super high pixel densities is that camera manufacturers could include sensors of various color sensitivities, greatly expanding the color gamut of the sensor, as well as provide far more accurate color rendition. These extra color sensors could emulate the Purkinje effect, and be able to accurately capture an image that corresponds to how humans see in dim lighting, particularly at dusk. Some sensors could be sensitive to infrared, and others to ultraviolet. We have so many pixels in our camera that it wouldn't be much of a waste to assign a certain number of them for odd uses: it would hardly cause a degradation for most images. Various sizes of pixels could be scattered across the sensor, giving better dynamic range; random shapes and sizes could produce images less prone to aliasing, as well as providing more sharpness.
Sensor design would be challenging, for various trade-offs will need to be made: what would be a good balanced design? Blue sensitivity is poor in the standard Bayer design, and red sensors could be boosted in number also. Why can't we also include a number of panchromatic sensors as well, instead of relying mainly on green for luminance? What percentage of the sensor area should be dedicated to big sensors, how many tiny pixels should be included? Can small pixels be superimposed upon big pixels? If varying shapes of pixels are used, what shapes are best; pointy or round? This design offers great potential. Manufacturers could even incorporate Foveon-style sensors, where multiple colors are sensed at the same location. They could even get very clever, by changing the size of the sensors according to depth.
RAW conversion for such a sensor would be difficult — or rather interesting — and would likely require a much faster on-board computer in the camera. But for a hypothetical 250 megapixel camera, we would have precisely one bit per pixel, and so the RAW file size would be only about 31 megabytes in size before compression: not terribly much larger than what we have today. JPEGs produced by this kind of camera would not be full resolution, but then we don't want full resolution, we need to have some sort of averaging of the pixels. But even a lightly processed TIFF file would produce a superior image; up close, we would perceive something that would look like photographic grain, which is much more organic than digital pixels.
This kind of camera would give us unprecedented control over the RAW conversion process. You want an infrared image? You got it. You want ultraviolet? Easy. You want to trade off color accuracy for dynamic range? You want to bring up detail in both the highlights and shadows? A one-bit depth camera can be very useful.
Thursday, July 7, 2011
Coming Soon
IMAGINE A light source, which can automatically match the color of ambient light.
So many times I've taken interior photos, with the room illuminated by tungsten lighting; however, some light comes through the windows, but that looks strongly blue and so harms the photo. For my best work, I adjust the color of the window lighting and the artificial lighting separately in Photoshop, but this is time-consuming and error-prone. Big-budget cinematographers will put colored gels over the windows to get the light colors to match, or they will put gels over their lights. But the use of gels has the unfortunate side-effect of decreasing the light intensity, requiring even brighter and hotter light sources, much to the dismay of the actors.
Rift Labs is developing a three-color lighting panel which has variable color temperature. Using low-power, three-color light-emitting diodes, their forthcoming light panels will automatically be able to match any lighting situation. Or, any color of light can be dialed-in, and the brightness of the lighting does not change.
So photographers and cinematographers can have a portable, battery-operated, low-cost lighting system which can quickly and conveniently produce the color of lighting needed. A good use of this would likely be for fill-in lighting, an augment to ambient lighting. Portable, battery-operated white-light LED panels have appeared in the last couple of years, causing much excitement, but Rift is taking this to the next level.
The organization is making these lighting units open-source, and provide the circuit diagrams and controller software free of charge; if their concept proves usable, we ought to see many similar designs produced at low cost in the near future.
I noticed that they are having trouble finding the correct method of producing a uniform illuminance under a change of color temperature. This is likely to be problematic for them, since the sensitivity of digital cameras to various color temperature conditions is variable across manufacturers and models of cameras. See here. They may need to adapt their system to include color calibration data specific to particular kinds of cameras. Likely this will merely require a custom color transfer matrix — nine numbers — that will provide closer mapping between what the camera sees and what the light source delivers. This color matrix could either be encoded as a camera model database in the device firmware, or the user could type in the numbers if they know them. A more clever method could be a built-in algorithm for color calibrating the camera: this little feature could be a strong selling point.
I also wonder about the color quality produced by this kind of unit. Since it uses only three colors — red, green, and blue — it may not operate equally well under all color gamuts used by digital cameras. Please recall that it is impossible to mix all possible colors from only three primary colors. However, if they concentrate on getting sRGB right, then this unit ought to operate well for 99% of uses. But there will still be metamerism problems: colors that look identical to the human eye will look different to the camera, and this kind of three-color lighting will make metamerism failure even more prominent. They may find they get better performance if they also include some other colors in their LED array to provide a more uniform spectrum.
This kind of lighting could be of great benefit for those who shoot RAW. Digital cameras have a fixed white balance: this raw data is processed to produce images correctly balanced according to the color of the light. However, lots of the RAW data is thrown away during this processing, which leads to increased digital noise, particularly in the red and blue channels. The Rift Labs product can be adjusted to produce a magenta light which will accurately produce an accurate RAW light balance: no data is thrown away, and the noise level is reduced to its practical minimum. This is likely only of interest to specialists, but it does show how useful this device can be.
UPDATE: Click here to read an article on color rendition under LED lamps. You may expect color shifts with using these kinds of products.
So many times I've taken interior photos, with the room illuminated by tungsten lighting; however, some light comes through the windows, but that looks strongly blue and so harms the photo. For my best work, I adjust the color of the window lighting and the artificial lighting separately in Photoshop, but this is time-consuming and error-prone. Big-budget cinematographers will put colored gels over the windows to get the light colors to match, or they will put gels over their lights. But the use of gels has the unfortunate side-effect of decreasing the light intensity, requiring even brighter and hotter light sources, much to the dismay of the actors.
Rift Labs is developing a three-color lighting panel which has variable color temperature. Using low-power, three-color light-emitting diodes, their forthcoming light panels will automatically be able to match any lighting situation. Or, any color of light can be dialed-in, and the brightness of the lighting does not change.
So photographers and cinematographers can have a portable, battery-operated, low-cost lighting system which can quickly and conveniently produce the color of lighting needed. A good use of this would likely be for fill-in lighting, an augment to ambient lighting. Portable, battery-operated white-light LED panels have appeared in the last couple of years, causing much excitement, but Rift is taking this to the next level.
The organization is making these lighting units open-source, and provide the circuit diagrams and controller software free of charge; if their concept proves usable, we ought to see many similar designs produced at low cost in the near future.
I noticed that they are having trouble finding the correct method of producing a uniform illuminance under a change of color temperature. This is likely to be problematic for them, since the sensitivity of digital cameras to various color temperature conditions is variable across manufacturers and models of cameras. See here. They may need to adapt their system to include color calibration data specific to particular kinds of cameras. Likely this will merely require a custom color transfer matrix — nine numbers — that will provide closer mapping between what the camera sees and what the light source delivers. This color matrix could either be encoded as a camera model database in the device firmware, or the user could type in the numbers if they know them. A more clever method could be a built-in algorithm for color calibrating the camera: this little feature could be a strong selling point.
I also wonder about the color quality produced by this kind of unit. Since it uses only three colors — red, green, and blue — it may not operate equally well under all color gamuts used by digital cameras. Please recall that it is impossible to mix all possible colors from only three primary colors. However, if they concentrate on getting sRGB right, then this unit ought to operate well for 99% of uses. But there will still be metamerism problems: colors that look identical to the human eye will look different to the camera, and this kind of three-color lighting will make metamerism failure even more prominent. They may find they get better performance if they also include some other colors in their LED array to provide a more uniform spectrum.
This kind of lighting could be of great benefit for those who shoot RAW. Digital cameras have a fixed white balance: this raw data is processed to produce images correctly balanced according to the color of the light. However, lots of the RAW data is thrown away during this processing, which leads to increased digital noise, particularly in the red and blue channels. The Rift Labs product can be adjusted to produce a magenta light which will accurately produce an accurate RAW light balance: no data is thrown away, and the noise level is reduced to its practical minimum. This is likely only of interest to specialists, but it does show how useful this device can be.
UPDATE: Click here to read an article on color rendition under LED lamps. You may expect color shifts with using these kinds of products.
Friday, July 1, 2011
Contrast, part 1: Black and White
A FRIEND ASKS, “What is contrast?”
Simply, contrast in photography is what differentiates one thing from another because of differences in tone. A contrasty image will have lots of black and white tones, while a low-contrast image will have lots of medium gray.
The English word ‘contrast’ comes from the Latin contrastare, meaning ‘stand against’, and so in a contrasty image, some elements will strongly stand against others, instead of blending together.
Here is a more-or-less visually uniform grayscale image that I'll be using as the basis for examples:

It goes from black on the left, to white on the right. I threw in a little bit of noise to illustrate my examples better. I used this contrived image instead of a real photograph in order to more accurately show what is going on. Please don't get too bored with this repetition.
Here is this grayscale's histogram in Photoshop:

The grayscale illustrate how many pixels are in each range of tone; with black pixels on the far left, and white pixels on the far right. The noise adds lots of jitter to this histogram, but please note that it is otherwise fairly uniform going across; on average, there is just as much black as there is white, and just as much middle gray as either of those.
Photographically, we can use the word contrast in various ways. Global contrast — which is what we are mainly concerned with here — tells us how the total range of tones are divided up in an image; how much strong black and strong white are found in an image? Since our example image is uniform, we can say this has neutral global contrast.
Here I use the Brightness/Contrast tool in Photoshop:

I made this image with this Photoshop setting:

Setting the slider to 100 contrast gives us simultaneously more dark and more light tones, at the expense of midtones. Take a look at the histogram: we have more pixels at the far left and right.
Setting the slider to -50 gives us low contrast:

Now notice how we have more midtones, at the expense of fewer dark and light pixels. The histogram shows the pixels more clumped together in the middle:

Here are all three together:

High contrast on top; low contrast on bottom.
Now I don't normally use the Brightness/Contrast tool, since I can get more control over the final results when I use the Curves tool.
Here I apply Curves to make the image appear to be basically the same as the Brightness/Contrast 100% setting:

Note that the histogram looks pretty much the same. But also notice that the curve is a bit complex:

Here is how we interpret the curves:

Now let us define a new term, ‘differential contrast’. Take a look at the curve above: notice how it is steeper at the midpoint, and less steep at the endpoints of black and white? If you were climbing a hill with that slope, you would likely have the most difficulty in the midsection, where the curve is steeper. What this means is that there is more differentiation in the midtones; visually they appear more distinct from each other. Also note that there is less differentiation between the various dark tones and the light tones.
Whenever we get more differential contrast in one range of tones, inevitably we will get less differential contrast in other range of tones. As a photographer with Photoshop, you have control over adjusting which range of tones get the greatest differential contrast. You ought to consider adding differential contrast to those most important tones in your image, by making sure that the steepest part of your curve extends over that range of tones. But this can only be done by sacrificing other ranges of tones.
From what we can see with the curve above, it is apparent that the standard Photoshop Contrast tool adds differential contrast to midtones, at the expense of both shadows and highlights.
If we adjust the curve so that the line is steepest at the endpoints, and less steep in the middle, then we will get a low contrast image; it will have greater differential contrast in the shadows and highlights at the expense of the midtones. The overall global contrast will be less because we will have less dark and less light, with a lot more middle gray.
From our little experiments here, we can see that the Photoshop Contrast tool is a bit like Curves, but only where the endpoints and middle are fixed. We don't have to keep our endpoints fixed in Curves. For example, I can get much lower contrast in Curves:

This image does not go from pure black to pure white, rather, its range is significantly reduced.

Note that the histogram does not go all the way to the edges; indeed we are using only half of the dynamic range available. In our curve, 100% white is transformed to only 75% white, and likewise for black. Our total global contrast has been reduced greatly. But unlike the curved curve shown above, the differential contrast between tones is the same across all tones, since our curve is straight here.
If we make the curve completely horizontal, we lose all contrast:


Our histogram is now simply a spike at middle gray. Our image has no contrast whatsoever.
If we make the curve vertical, we get maximal contrast:

Please note that I added some noise in the image to simulate texture.

Actually Photoshop does not let us make a true vertical line, but this is pretty close. On the histogram, we have spikes at pure black on the left and pure white on the right. We have lots of differential contrast at the middle gray, with none for darker and lighter tones.
Take a look at the data found in the Histogram boxes in the images above. Note that in all cases, the Mean value is close to 127.5, which is medium gray. We did not change the overall brightness of the image with our adjustments. The next value, ‘Std Dev’ (or Standard Deviation) is a measure of how much the pixel values deviate from the mean. A large standard deviation is high contrast, while a low standard deviation indicates low contrast.
One of the great powers of Curves is that we can increase or decrease differential contrast in whatever range of tones we desire. In our examples above, the middle point is always fixed, and so differential contrast is adjusted only for the midtones. With Curves, we can adjust the contrast in the highlights:

Note that here we have greater distinction in the brightest tones in the image (you can see lots of my added noise there), and we have essentially created a low-key image.

But this distinction in the highlights comes at the expense of losing lots of our shadow detail. The tall spike at the leftmost part of the histogram unfortunately does not give us a good impression of how much of the image is lost in black without significant texture: roughly 40% of the pixels are pure black.
We can also increase visual detail in the shadows at the expense of the highlights:

We now have a high-key image.

Here our curve and histogram are reverse of what we had before, and 40% of our highlight detail is lost as pure white.
OK, let's try these techniques with a real image. This is a low-contrast, dim, black and white image of a monument found in Sylvan Springs Park, in Saint Louis County, Missouri, USA.

Bleh. Looks poor, and here is its histogram:

Most of the image's pixels are on the dark side of the histogram. Unless this is an exercise in conceptual art, most photo editors at magazines would reject this image: most would probably like to see a broad histogram, with significant contrast and a full range of tones from black to white.
Merely using the Contrast tool in Photoshop does not help:


However, boosting the brightness here would help a lot.
Instead, I will adjust the image using curves. First I put in an initial curve, which will expand the range of the significant part of the image:

Straight line curves are equivalent to using the Levels tool in Photoshop.
Then I add a strong curve to the most significant part of the image, which I think are the tones around the carved lettering:

The steepest part of the curve, and therefore the greatest amount of differential contrast can now be found at the tones surrounding the text “1939”. I don't care to see texture in the darkest part of the grass or in the shadows between the rocks; I think that overexposing the patch to the left of “Sylvan” is also acceptable.

I added some sharpening, and the photo is basically complete.
Sharpening is a kind of local contrast enhancement, which is a powerful technique for improving images; but that is for another day.
Adding contrast — and using curves — in a color image is far more problematic, since we can easily change the hues of our colors. That is also a topic for later.
Simply, contrast in photography is what differentiates one thing from another because of differences in tone. A contrasty image will have lots of black and white tones, while a low-contrast image will have lots of medium gray.
The English word ‘contrast’ comes from the Latin contrastare, meaning ‘stand against’, and so in a contrasty image, some elements will strongly stand against others, instead of blending together.
Here is a more-or-less visually uniform grayscale image that I'll be using as the basis for examples:
It goes from black on the left, to white on the right. I threw in a little bit of noise to illustrate my examples better. I used this contrived image instead of a real photograph in order to more accurately show what is going on. Please don't get too bored with this repetition.
Here is this grayscale's histogram in Photoshop:
The grayscale illustrate how many pixels are in each range of tone; with black pixels on the far left, and white pixels on the far right. The noise adds lots of jitter to this histogram, but please note that it is otherwise fairly uniform going across; on average, there is just as much black as there is white, and just as much middle gray as either of those.
Photographically, we can use the word contrast in various ways. Global contrast — which is what we are mainly concerned with here — tells us how the total range of tones are divided up in an image; how much strong black and strong white are found in an image? Since our example image is uniform, we can say this has neutral global contrast.
Here I use the Brightness/Contrast tool in Photoshop:
I made this image with this Photoshop setting:
Setting the slider to 100 contrast gives us simultaneously more dark and more light tones, at the expense of midtones. Take a look at the histogram: we have more pixels at the far left and right.
Setting the slider to -50 gives us low contrast:
Now notice how we have more midtones, at the expense of fewer dark and light pixels. The histogram shows the pixels more clumped together in the middle:
Here are all three together:
High contrast on top; low contrast on bottom.
Now I don't normally use the Brightness/Contrast tool, since I can get more control over the final results when I use the Curves tool.
Here I apply Curves to make the image appear to be basically the same as the Brightness/Contrast 100% setting:
Note that the histogram looks pretty much the same. But also notice that the curve is a bit complex:
Here is how we interpret the curves:
- The bottom axis shows us the tones of our original image; while the vertical axis shows us which tones are changed by Curves.
- Note there is a diagonal line going from the lower left to upper right; any time the curve touches this line, that means that the corresponding tones are not changed. In our example here, pure white, black, and middle gray are not changed. Whatever is white, black, or middle gray in the original image will remain unchanged in the final image.
- Whenever the curve drops below the diagonal line, that means the tones are brightened. Whenever the curve raises above the line, those tones are darkened. In this example, the light tones between middle gray and white become brighter, while the dark tones between middle gray and black become darker. The image has greater global contrast, because we simultaneously get more darks and more brights.
- In this curve, 70% white in the original image becomes 80% white in the final image; likewise 30% white (= 70% black) becomes 20% white (or 80% black). 0%, 50%, and 100% remain unchanged.
Now let us define a new term, ‘differential contrast’. Take a look at the curve above: notice how it is steeper at the midpoint, and less steep at the endpoints of black and white? If you were climbing a hill with that slope, you would likely have the most difficulty in the midsection, where the curve is steeper. What this means is that there is more differentiation in the midtones; visually they appear more distinct from each other. Also note that there is less differentiation between the various dark tones and the light tones.
Whenever we get more differential contrast in one range of tones, inevitably we will get less differential contrast in other range of tones. As a photographer with Photoshop, you have control over adjusting which range of tones get the greatest differential contrast. You ought to consider adding differential contrast to those most important tones in your image, by making sure that the steepest part of your curve extends over that range of tones. But this can only be done by sacrificing other ranges of tones.
From what we can see with the curve above, it is apparent that the standard Photoshop Contrast tool adds differential contrast to midtones, at the expense of both shadows and highlights.
If we adjust the curve so that the line is steepest at the endpoints, and less steep in the middle, then we will get a low contrast image; it will have greater differential contrast in the shadows and highlights at the expense of the midtones. The overall global contrast will be less because we will have less dark and less light, with a lot more middle gray.
From our little experiments here, we can see that the Photoshop Contrast tool is a bit like Curves, but only where the endpoints and middle are fixed. We don't have to keep our endpoints fixed in Curves. For example, I can get much lower contrast in Curves:
This image does not go from pure black to pure white, rather, its range is significantly reduced.
Note that the histogram does not go all the way to the edges; indeed we are using only half of the dynamic range available. In our curve, 100% white is transformed to only 75% white, and likewise for black. Our total global contrast has been reduced greatly. But unlike the curved curve shown above, the differential contrast between tones is the same across all tones, since our curve is straight here.
If we make the curve completely horizontal, we lose all contrast:
Our histogram is now simply a spike at middle gray. Our image has no contrast whatsoever.
If we make the curve vertical, we get maximal contrast:
Please note that I added some noise in the image to simulate texture.
Actually Photoshop does not let us make a true vertical line, but this is pretty close. On the histogram, we have spikes at pure black on the left and pure white on the right. We have lots of differential contrast at the middle gray, with none for darker and lighter tones.
Take a look at the data found in the Histogram boxes in the images above. Note that in all cases, the Mean value is close to 127.5, which is medium gray. We did not change the overall brightness of the image with our adjustments. The next value, ‘Std Dev’ (or Standard Deviation) is a measure of how much the pixel values deviate from the mean. A large standard deviation is high contrast, while a low standard deviation indicates low contrast.
One of the great powers of Curves is that we can increase or decrease differential contrast in whatever range of tones we desire. In our examples above, the middle point is always fixed, and so differential contrast is adjusted only for the midtones. With Curves, we can adjust the contrast in the highlights:
Note that here we have greater distinction in the brightest tones in the image (you can see lots of my added noise there), and we have essentially created a low-key image.
But this distinction in the highlights comes at the expense of losing lots of our shadow detail. The tall spike at the leftmost part of the histogram unfortunately does not give us a good impression of how much of the image is lost in black without significant texture: roughly 40% of the pixels are pure black.
We can also increase visual detail in the shadows at the expense of the highlights:
We now have a high-key image.
Here our curve and histogram are reverse of what we had before, and 40% of our highlight detail is lost as pure white.
OK, let's try these techniques with a real image. This is a low-contrast, dim, black and white image of a monument found in Sylvan Springs Park, in Saint Louis County, Missouri, USA.
Bleh. Looks poor, and here is its histogram:
Most of the image's pixels are on the dark side of the histogram. Unless this is an exercise in conceptual art, most photo editors at magazines would reject this image: most would probably like to see a broad histogram, with significant contrast and a full range of tones from black to white.
Merely using the Contrast tool in Photoshop does not help:
However, boosting the brightness here would help a lot.
Instead, I will adjust the image using curves. First I put in an initial curve, which will expand the range of the significant part of the image:
Straight line curves are equivalent to using the Levels tool in Photoshop.
Then I add a strong curve to the most significant part of the image, which I think are the tones around the carved lettering:
The steepest part of the curve, and therefore the greatest amount of differential contrast can now be found at the tones surrounding the text “1939”. I don't care to see texture in the darkest part of the grass or in the shadows between the rocks; I think that overexposing the patch to the left of “Sylvan” is also acceptable.
I added some sharpening, and the photo is basically complete.
Sharpening is a kind of local contrast enhancement, which is a powerful technique for improving images; but that is for another day.
Adding contrast — and using curves — in a color image is far more problematic, since we can easily change the hues of our colors. That is also a topic for later.
Subscribe to:
Posts (Atom)