Home
Free Ezine
Just Released
Business Coaching
The Book
Creating Wealth
Marketing
Management
Success
Photoshop Tutorials
Site Map
Site Build It
Important Links
Create a Website
Photography 101
Our Privacy Policy
Testimonials
Enlightened Tripod
Photography Samples
Biography
Business Tools
Contact Me
Digital Imaging 11
Janalee's Party
Digital Imaging 12

7 HOW A DIGITAL CAMERA WORKS

7 HOW A DIGITAL CAMERA WORKS

Digital cameras are very much like the still more familiar 35mm film cameras. Both contain a lens, an aperture, and a shutter. The lens brings light from the scene into focus inside the camera so it can expose an image. The aperture is a hole that can be made smaller or larger to control the amount of light entering the camera. The shutter is a device that can be opened or closed to control the length of time the light enters.

How a digital camera works 1 The Nikon Coolpix 4300 looks a lot like a traditional film camera. How a digital camera works 2 The Nikon Coolpix 3500 looks a lot different.

The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of film, digital cameras use a solid-state device called an image sensor, usually a charge-couple device (CCD). On the surface of each of these fingernail-sized silicon chips is a grid containing hundreds of thousands or millions of photosensitive diodes called photosites, photoelements, or pixels. Each photosite captures a single pixel in the photograph to be.

How a digital camera works 3 An image sensor sits against a background enlargement of its square pixels, each capable of capturing one pixel in the final image. Courtesy of IBM.

The exposure

When you press the shutter release button of a digital camera, a metering cell measures the light coming through the lens and sets the aperture and shutter speed for the correct exposure. When the shutter opens briefly, each pixel on the image sensor records the brightness of the light that falls on it by accumulating an electrical charge. The more light that hits a pixel, the higher the charge it records. Pixels capturing light from highlights in the scene will have high charges. Those capturing light from shadows will have low charges.

When the shutter closes to end the exposure, the charge from each pixel is measured and converted into a digital number. The series of numbers can then be used to reconstruct the image by setting the color and brightness of matching pixels on the screen or printed page.

How a digital camera works 4 When the shutter opens, light strikes the image sensor to form the image. Courtesy of Canon.

It's all black and white after all

It may be surprising, but pixels on an image sensor can only capture brightness, not color. They record only the gray scale-a series of 256 increasingly darker tones ranging from pure white to pure black. How the camera creates a color image from the brightness recorded by each pixel is an interesting story.

How a digital camera works 5 The gray scale contains a range of 256 tones from pure white to pure black.

What is color?

When photography was first invented, it could only record black and white images. The search for color was a long and arduous process, and a lot of hand coloring went on in the interim (causing one photographer to comment "so you have to know how to paint after all!").

How a digital camera works 6 Smiling faces to greet you: mirroring contentment from within. (Title taken from label with hand-colored print.) An unidentified group of six people, two of whom are children (2 families?), standing in front of a possibly newly constructed sod house with a pitched sod roof, stovepipe, two windows and a door showing. With the people is a dog. One of the women is wearing a flat straw hat with a large ribbon. Likely taken in North Dakota

How a digital camera works 7 "Fred Hultstrand copy of a photo printed from a glass plate. Glass plate borrowed from Howard O. Berg, Devils Lake, N.Dak. Brought in by Morris D. Johnson, Bismarck, N.Dak."--Back of hand-colored print. Photo likely taken by Job V. Harrison of Rock Lake, N.D. Courtesy of the Library of Congress

One major breakthrough was James Clerk Maxwell's 1860 discovery that color photographs could be created using black and white film and red, blue, and green filters. He had the photographer Thomas Sutton photograph a tartan ribbon three times, each time with a different color filter over the lens. The three black and white images were then projected onto a screen with three different projectors, each equipped with the same color filter used to take the image being projected. When brought into register, the three images formed a full color photograph. Over a century later, image sensors work much the same way.

Colors in a photographic image are usually based on the three primary colors red, green, and blue (RGB). This is called the additive color system because when the three colors are combined or added in equal quantities, they form white. This RGB system is used whenever light is projected to form colors as it is on the display monitor (or in your eye).

How a digital camera works 8 RGB uses additive colors. When all three are mixed in equal amounts, they form white. When red and green overlap, the form yellow, and so on.

From black and white to color

Since daylight is made up of red, green, and blue light, placing red, green, and blue filters over individual pixels on the image sensor can create color images just as they did for Maxwell in 1860. In the popular Bayer pattern used on many image sensors, there are twice as many green filters as there are red or blue filters. That's because a human eye is more sensitive to green than it is to the other two colors so green's color accuracy is more important.

How a digital camera works 9 Colored filters cover each photosite on the image sensor so the photosites only capture the brightness of the light that passes through. The lenses on top of each pixel are used to collect light and make the sensor more sensitive. Courtesy of Fuji

With the filters in place, each pixel can record only the brightness of the light that matches its filter and passes through it while other colors are blocked. For example, a pixel with a red filter knows only the brightness of the red light that strikes it. To figure out what color each pixel really is, a process called interpolation uses the colors of neighboring pixels to calculate the two colors that the pixel didn't record directly. By combining these two interpolated colors with the color measured by the site directly, the full color of the pixel can be calculated. "I'm bright red and the green and blue pixels around me are also bright so that must mean I'm really a white pixel." It's like a painter creating a color by mixing varying amounts of other colors on his palette. This step is computer intensive since comparisons with as many as eight neighboring pixels is required to perform this process properly.

How a digital camera works 10 Here the full color of a green pixel is about to be interpolated from the eight pixels that surround it.

There's a computer in your camera

Each time you take a picture millions of calculations have to be made in just a few seconds. It's these calculations that make it possible for the camera to preview, capture, compress, filter, store, transfer, and display the image. All of these calculations are performed by a microprocessor in the camera that's similar to the one in your desktop computer.

All film cameras are just dark boxes into which you can insert any kind of film you want. It's the film you choose that gives photographs distinctive colors, tones, and grain. If you think one film gives images that are too blue or red, you can change to another film. With digital cameras, the "film" is permanently part of the camera so buying a digital camera is in part like selecting a film to use. Like film, different image sensors render colors differently, have different amounts of "grain," different sensitivities to light, and so on. The only ways to evaluate these aspects are to examine some sample photographs from the camera or read reviews written by people you trust. Types of image sensors

Until recently, charge-coupled devices (CCDs) were the only image sensors used in digital cameras. They have been well developed through their use in astronomical telescopes, scanners, and video camcorders. However, there is a new challenger on the horizon, the CMOS image sensor that promises to eventually become the image sensor of choice in a large segment of the market. Both CCD and CMOS image sensors capture light on a grid of small pixels on their surfaces. It's how they process the image and how they are manufactured where they differ from one another.

How a digital camera works 11 This photo shows the pixels on an image sensor greatly enlarged. Courtesy of IBM.

CCD image sensors

A charge-coupled device (CCD) gets its name from the way the charges on its pixels are read after an exposure. After the exposure the charges on the first row are transferred to a place on the sensor called the read out register. From there, the signals are fed to an amplifier and then on to an analog-to-digital converter. Once the row has been read, its charges on the readout register row are deleted, the next row enters, and all of the rows above march down one row. The charges on each row are "coupled" to those on the row above so when one moves down, the next moves down to fill its old space. In this way, each row can be read-one row at a time.

How a digital camera works 12 The CCD shifts one whole row at a time into the readout register. The readout register then shifts one pixel at a time to the output amplifier.

CMOS image sensors

Image sensors are manufactured in factories called wafer foundries or fabs where the tiny circuits and devices are etched onto silicon chips. The biggest problem with CCDs is that there aren't enough economies of scale. They are created in foundries using specialized and expensive processes that can only be used to make other CCDs. Meanwhile, more and larger foundries across the street are using a different process called Complementary Metal Oxide Semiconductor (CMOS) to make millions of chips for computer processors and memory. CMOS is by far the most common and highest yielding chip-making process in the world. The latest CMOS processors, such as the Pentium II, contain almost 10 million active elements. Using this same process and the same equipment to manufacturer CMOS image sensors cuts costs dramatically because the fixed costs of the plant are spread over a much larger number of devices. As a result of these economies of scale, the cost of fabricating a CMOS wafer is one-third the cost of fabricating a similar wafer using a specialized CCD process. Costs are lowered even farther because CMOS image sensors can have processing circuits created on the same chip. When CCDs are used, these processing circuits must be on separate chips. Early versions of CMOS image sensors were plagued with noise problems, and used mainly in low-cost cameras. However, great advances have been made and CMOS image sensors with quality comparable to CCDs are used in some of the finest cameras.

How a digital camera works 13 The Canon EOS 10D is a high-end digital SLR from a major manufacturer that uses a CMOS image sensor. The Canon EOS 1Ds, used by professionals, also uses a CMOS sensor and has 11.1 million pixels. Courtesy of Canon.

Image sensor resolution

As you've seen, image resolution is a way of expressing how sharp or detailed images are. Low-end point and shoot cameras currently have resolutions around 3 million pixels or less, although this number constantly moves upward. Better cameras, have somewhere between 4 to 6 million pixels. The most expensive professional digital cameras give you about 12-million pixels (3000 x 4000). Although impressive, not even these resolutions match the estimated 20 million or so pixels in traditional 35 mm film and 120 million in your eye.

The Collision of Two Worlds

The term "resolution" was introduced in the computer world as a way to describe screen displays. In the early days, a screen would have a CGA or VGA resolution. Later, other names were introduced to describe even larger screens. The terms were used to describe the number of pixels on the screen. For example, a screen may have 1024 pixels across the screen and 768 down (1024 x 768). No one was concerned about the use of the term at the time it was introduced. It's only when photography became digital that another group of people entered the scene with a totally different use of the term. To photographers, or anyone in optics, resolution describes the ability of a device to resolve lines such as those found on a test chart.

How a digital camera works 14

As you might expect, all other things being equal, costs rise with a camera's resolution. Greater resolution also creates other problems. For example, more pixels means larger image files. Not only are larger files harder to store, they are also harder to edit, e-mail, and post on a Web site.

Lower resolutions such as 640 x 480 are perfect for Web publishing, e-mail attachments, small prints, or images in documents and presentations. For these uses, higher resolutions just increase file sizes without significantly improving the images.

Higher resolutions of 3 million pixels or more, are best for printing photo-realistic enlargements larger than 5" x 7". Kodak states that a camera with about 1-million pixels will give a 5 x 7 photo-realistic print. However, you'll get more detail and brighter colors with more pixels in the image. For prints up to 8 x 10 you can get good results with 3 million pixels. In most cases the prints are superior to those based on film. This is partly because inexpensive mass-produced prints from negatives are downright awful. Digital prints shine by comparison.

How a digital camera works 15

Resolution determines the size of the image.

Resolution-optical and interpolated Beware of claims about resolution for cameras and scanners because there are two kinds of resolution; optical and interpolated. The optical resolution of a camera or scanner is an absolute number because an image sensor's pixels or photoelements are physical devices that can be counted. To improve resolution in certain limited respects, the optical resolution can be increased using software. This process, called interpolated resolution, adds pixels to the image to increase the total number of pixels. To do so, software evaluates those pixels surrounding each new pixel to determine what its color should be. For example, if all of the pixels around a newly inserted pixel are red, the new pixel will be made red. What's important to keep in mind is that interpolated resolution doesn't add any new information to the image-it just adds pixels and makes the file larger. This same thing can be done in a photo-editing program such as Photoshop by resizing the image. Beware of companies that promote or emphasize their device's interpolated (or enhanced) resolution. You're getting less than you think you are. Always check for the device's optical resolution. If this isn't provided, flee the product-you're dealing with marketing people who don't have your best interests at heart.

How a digital camera works 16

When working with digital images, you always have a fixed number of original pixels to work with. The number is determined by the number of photosites on the image sensor. To make an image smaller, some of those pixels are removed. To make an image larger, new pixels have to be added. Since adding new pixels doesn't add any new information to the image, it's a form of "empty magnification." The image to the left was first "interpolated" to a smaller size (below left) and then that image was interpolated to a larger size (below right) to dramatize the effect. Images don't get better, they just get bigger.

How a digital camera works 17 How a digital camera works 18

Aspect ratios

Image sensors have different aspect ratios-the ratio of image height to width. The ratio of a square is 1:1 (equal width and height) and that of 35mm film is 1.5:1 (1.5 times wider than it is high). Most image sensors fall in between these extremes. The aspect ratio of a sensor is important because it determines the shape and proportions of the photographs you create. When an image has a different aspect ratio that the device it's displayed or printed on, it has to be cropped or resized to fit. Your choice is to loose part of the image or waste part of the paper. To imagine this better, try fitting a square image on a rectangular piece of paper.

How a digital camera works 18

The aspect ratio of an image sensor determines the shape of your prints. An image will only perfectly fill a sheet of paper is both have the same aspect ratio. If the ratios are different, you have to choose between loosing part of the image, or leaving some white space on the paper.

different aspect ratio that the device it's displayed or printed on, it has to be cropped or resized to fit. Your choice is to loose part of the image or waste part of the paper. To imagine this better, try fitting a square image on a rectangular piece of paper.

How a digital camera works 19

The aspect ratio of an image sensor determines the shape of your prints. An image will only perfectly fill a sheet of paper is both have the same aspect ratio. If the ratios are different, you have to choose between loosing part of the image, or leaving some white space on the paper.

Image Width x height Aspect Ratio 35 mm film 36 x 24 mm 1.50 Display monitor 1024 x 768 1.33 Digital camera 1600 x 1200 1.33 Photo paper 4 x 6 inches 1.50 Photo paper 8 x 10 inches 1.25 Stationary 8.5 x 11 1.29 HDTV 16 x 9 1.80

To calculate the aspect ratio of any camera, divide the largest number in its resolution by the smallest number. For example, if a sensor has a resolution of 3000 x 2000, divide 3000 by 2000. In this case the aspect ratio is 1.5, the same as 35mm film.

Color depth Resolution isn't the only factor governing the quality of your images. Equally important is color. When you view a natural scene, or a well done photographic color print, you are able to distinguish millions of colors. Digital images can approximate this color realism, but whether they do so on your system depends on its capabilities and its settings. The number of colors in an image is referred to its color depth, pixel-depth, or bit depth. Older PCs are stuck with displays that show only 16 or 256 colors. However, almost all newer systems can display what's called 24-bit True Color. It's called True Color because these systems display 16 million colors, about the number the human eye can distinguish.

TIP: Checking Your System

You may have to set your system to full-color, it doesn't happen automatically. To see if your Windows system supports True Color, right-click the desktop and then click Properties on the pop up menu that appears. Click the Settings tab on the dialog box and check the Color palette or Color quality setting.

Why does it take 24 bits to get 16 million colors? It's simple arithmetic. To calculate how many different colors can be captured or displayed, simply raise the number 2 to the power of the number of bits used to record or display the image. For example, 8-bits gives you 256 colors because 28=256. Here's a table to show you some other possibilities.

Name Bits per pixel Formula Number of colors Black and white 1 21 2 Windows display 4 24 16 Gray Scale 8 28 256 256 color 8 28 256 High color 16 216 65 thousand True color 24 224 16 million

Some digital cameras (and scanners) use 30 or more bits per pixel and professional applications often require 36-bit color depth, a level achieved only by professional-level digital cameras. These extra bits aren't used to generate colors that are later displayed. They are used to improve the color in the image as it is processed down to its 24-bit final form and then discarded.

Sensitivity

An ISO (International Organization for Standardization) number that appears on the film package specifies the speed, or sensitivity, of a silver-based film. The higher the number the "faster" or more sensitive the film is to light. If you've purchased film, you're already familiar with speeds such as 100, 200, or 400. Each doubling of the ISO number indicates a doubling in film speed so each of these films is twice as fast as the next fastest.

Image sensors are also rated using equivalent ISO numbers. Just as with film, an image sensor with a lower ISO needs more light for a good exposure than one with a higher ISO. To get more light you need a longer exposure time that can lead to blurred images or a wider aperture that gives you less depth of field. All things being equal, it's better to get an image sensor with a higher ISO because it will enhance freezing motion and shooting in low light. Typically, ISOs range from 100 (fairly slow) to 3200 or higher (very fast).

Some cameras have more than one ISO rating. In low-light situations, you can increase the sensor's ISO by amplifying the image sensor's signal (increasing its gain). Some cameras even increase the gain automatically. This not only increases the sensor's sensitivity, it also increases the noise or "grain," making the images softer and less sharp.

How a digital camera works 20

Dim light requires a fast lens and a high ISO or you have to resort to flash.

Image quality

The size of an image file depends in part on the resolution of the image. The higher the resolution, the more pixels there are to store so the larger the image file becomes. To make large image files smaller and more manageable most cameras store images in a format called JPEG after its developer, the Joint Photographic Experts Group and pronounced "jay-peg." This file format not only compresses images, it also allows you to specify how much they are compressed. This is a useful feature because there is a trade-off between compression and image quality. Less compression gives you better images so you can make larger prints, but you can't store as many images. More compression lets you store more images and makes the images better for posting on a Web page or sending as an e-mail attachment. The only problem is that your prints won't be as good.

How a digital camera works 21

A heavily compressed image will show blockiness when enlarged past a certain point.

How a digital camera works 22

An image with less compression retains a smooth look.

Instead of using compression, some cameras allow you to change resolution as a way of controlling the size of image files. Because you can squeeze more 640 x 480 images into a storage device than you can squeeze 1024 x 768 images, there may be times when you'll want to switch to a lower resolution and sacrifice quality for quantity.

Frame rate

Henri Cartier-Bresson is famous for his photographs that capture that "decisive moment" when random actions intersect in a single instant that makes an arresting photograph. His eye-hand coordination was unrivaled, and he was able to get the results he did because he was always ready. There was never any fumbling with controls or lost opportunities. Most digital cameras have an automatic exposure system that frees you from the worry about controls. However, these cameras have other problems that make decisive moments hard to capture. There are two delays built into digital cameras that affect your ability to respond to fast action when taking pictures.

The first brief delay you experience is between pressing the shutter button and actually capturing the image. This delay, called the refresh rate, occurs because the camera clears the image sensor, sets white balance to correct for color, sets the exposure, and focuses the image. Finally it fires the flash (if it's needed) and takes the picture.

The second delay, the recycle time, occurs when the captured image is processed and stored. This delay can range from a few seconds to half a minute.

How a digital camera works 23

The delay between pressing the shutter release and taking the picture means you have to anticipate actions or you'll miss the high point.

Both of these delays affect how quickly a series of photos can be taken one after another, called the frame rate, shot-to-shot rate, or click to click rate. If the delays are too long, you may miss a picture. To capture rapidly unfolding actions, many cameras have a burst, continuous, or sequential mode that lets you take one photo after another as long as you hold down the shutter button. To make this possible, these cameras store the images in a memory area called a buffer and then process them when the sequence is finished. How many pictures you can take at one time depends on the size of the images and the size of the buffer.

Answer the following questions and hand it in viathe drop box.

1. What brings the light from the scene into focus inside the camera?

2. What is an aperture?

3. What is a shutter?

4. What does each pixel on the image sensor record?

5. When more light hits a pixel how does it respond?

6. How many tones does the gray scale have?

7. What colour filters are used when making a colour photograph?

8. What colour is the human eye most sensitive too?

9. How do CCD’s and CMOS’s sensors capture light?

10. How do you express how sharp or detailed an image is?

11. What are the two types of resolution?

12. Why do we define optical resolution as absolute?

13. How does interpolated resolution work?

14. What is aspect ratio?

15. Why is aspect ratio important?

16. What is the number of colours in an image referred to?

17. How many bits per pixel are there in Black and White?

18. What is the formula for 256 colours?

19. How many colours are there in true color?

20. What does the ISO number refer to?

21. What do lower ISO settings require for better exposures?

22. With what format do most digital cameras store the image file?

23. What two things does this file format allow you to do?

24. What is the advantage to lower compression?

25. What is the advantage to greater compression?

26. What are the two delays built into digital cameras that get in your way?

Practical Assignment

1. Take the same picture three times – but you must change the ISO (sensitivity rating) for each picture. Record your settings.

2. Take another scene three times - but change the “picture quality” for each picture. Again, record your settings.

3. Look at each group of three and explain to me the differences that you see. Things to look at would be:

a. Difference contrast (light area detail – compared to shadow (dark) area detail.)

b. Difference in sharpness

c. Difference in pixel detail (large or small)

d. Difference in color.

e. Under or beside each image write down the settings that you used to create the image.


footer for 7 HOW A DIGITAL CAMERA WORKS page