Friday, April 9, 2010

Digital camera

A digital camera (or digicam for short) is a camera that takes video or still photographs, or both, digitally by recording images via an electronic image sensor.


Front and back of a Canon PowerShot A95.

Many compact digital still cameras can record sound and moving video as well as still photographs. In the Western market, digital cameras outsell their 35 mm film counterparts.[1]

Digital cameras can do things film cameras cannot: displaying images on a screen immediately after they are recorded, storing thousands of images on a single small memory device, recording video with sound, and deleting images to free storage space. Some can crop pictures and perform other elementary image editing. Fundamentally they operate in the same manner as film cameras, typically using a lens with a variable diaphragm to focus light onto an image pickup device. The combination of the diaphragm and a shutter mechanism is used to admit the correct amount of light to the imager, just as with film; the only difference is that the image pickup device is electronic rather than chemical.

Digital cameras are incorporated into many devices ranging from PDAs and mobile phones (called camera phones) to vehicles. The Hubble Space Telescope and other astronomical devices are essentially specialised digital cameras.

Modes

Many digital cameras have preset modes for different applications. Within the constraints of correct exposure various parameters can be changed, including exposure, aperture, focusing, light metering, white balance, and equivalent sensitivity. For example a portrait might use a wider aperture to render the background out of focus, and would seek out and focus on a human face rather than other image content.

Image data storage


A CompactFlash (CF) card, one of many media types used to store digital photographs

Most digital cameras utilize some form of removable storage to store image data. While the vast majority of the media types are some form of memory card using flash memory (CompactFlash, SD, etc.) there are storage methods that use other technologies such as Microdrives (very small hard disk drives), CD single (185 MB), and 3.5" floppy disks.

Removable storage technologies include:

Other formats include:

  • Onboard flash memory — Cheap cameras and cameras secondary to the device's main use (such as a camera phone)
  • PC Card hard drives — early professional cameras (discontinued)
  • Thermal printer — known only in one model of camera that printed images immediately rather than storing

Most manufacturers of digital cameras do not provide drivers and software to allow their cameras to work with Linux or other free software. Still, many cameras use the standard USB storage protocol, and are thus easily usable. Other cameras are supported by the gPhoto project.

Formats

The Joint Photography Experts Group standard (JPEG) is the most common file format for storing image data. Other file types include Tagged Image File Format (TIFF) and various raw image formats.

Many cameras, especially professional or DSLR cameras, support a raw image format. A raw image is the unprocessed set of pixel data directly from the camera's sensor. They are often saved in formats proprietary to each manufacturer, such as NEF for Nikon, CRW or CR2 for Canon, and MRW for Minolta. Adobe Systems has released the DNG format, a royalty free raw image format which has been adopted by at least 10 camera manufacturers.

Raw files initially had to be processed in specialized image editing programs, but over time many mainstream editing programs, such as Google's Picasa, have added support for raw images. Editing raw format images allows more flexibility in settings such as white balance, exposure compensation, color temperature, and so on. In essence raw format allows the photographer to make major adjustments without losing image quality that would otherwise require retaking the picture.

Formats for movies are AVI, DV, MPEG, MOV (often containing motion JPEG), WMV, and ASF (basically the same as WMV). Recent formats include MP4, which is based on the QuickTime format and uses newer compression algorithms to allow longer recording times in the same space.

Other formats that are used in cameras but not for pictures are the Design Rule for Camera Format (DCF), an ISO specification for the camera's internal file structure and naming, and Digital Print Order Format (DPOF), which dictates what order images are to be printed in and how many copies.

Most cameras include Exif data that provides metadata about the picture. Exif data may include aperture, exposure time, focal length, date and time taken, and location.

Batteries

Digital cameras have high power requirements, and over time have become smaller, resulting in an ongoing need to develop a battery small enough to fit in the camera and yet able to power it for a reasonable length of time.

Two broad types of batteries are in use for digital cameras.

Off-the-shelf

The first type of battery for digital cameras conform to an established off-the-shelf form factor, most commonly AA, CR2, or CR-V3 batteries, with AAA batteries in a handful of cameras. The CR2 and CR-V3 batteries are lithium based, and intended for single use. They are also commonly seen in camcorders. AA batteries are the most common; however, the non-rechargeable alkaline batteries supplied with low-end cameras are capable of providing enough power for only a very short time in most cameras. They may serve satisfactorily in cameras that are only occasionally used.

Consumers with more than an occasional need use AA Nickel metal hydride batteries (NiMH) instead, which provide an adequate amount of power and are rechargeable. NIMH batteries do not provide as much power as lithium ion batteries,[citation needed] and they also tend to discharge when not used. They are available in various ampere-hour (Ah) or milli-ampere-hour (mAh) ratings, which affects how long they last in use. Typically mid-range consumer models and some low end cameras use off-the-shelf batteries; only a very few DSLR cameras accept them (for example, Sigma SD10). Rechargeable RCR-V3 lithium-ion batteries are also available as an alternative to non-rechargeable CR-V3 batteries.

Proprietary

The second type of battery for digital cameras is proprietary battery formats. These are built to a manufacturer's custom specifications, and can be either aftermarket replacement parts or OEM. Almost all proprietary batteries are lithium ion. While they only accept a certain number of recharges before the battery life begins degrading (typically up to 500 cycles), they provide considerable performance for their size. A result is that at the two ends of the spectrum both high end professional cameras and low end consumer models tend to use lithium ion batteries.

Connectivity

Saving photos

Many digital cameras can connect directly to a computer to transfer data:

  • Early cameras used the PC serial port. USB is now the most widely used method (most cameras are viewable as USB mass storage), though some have a FireWire port. Some cameras use USB PTP mode for connection instead of USB MSC; some offer both modes.
  • Other cameras use wireless connections, via Bluetooth or IEEE 802.11 WiFi, such as the Kodak EasyShare One.
  • Cameraphones and some high-end stand-alone digital cameras also use cellular networks to connect for sharing images. The most common standard on cellular networks is the MMS MultiMedia Service, commonly called "picture messaging" which is used by 1.3 billion people. The second method on cellular networks is to send a picture as an email attachment. Only a small percentage of all cameraphones support email so this is not nearly as common.

A common alternative is the use of a card reader which may be capable of reading several types of storage media, as well as high speed transfer of data to the computer. Use of a card reader also avoids draining the camera battery during the download process, as the device takes power from the USB port. An external card reader allows convenient direct access to the images on a collection of storage media. But if only one storage card is in use, moving it back and forth between the camera and the reader can be inconvenient.

Printing photos

Many modern cameras support the PictBridge standard, which allows them to send data directly to a PictBridge-capable computer printer without the need for a computer.

Wireless connectivity can also provide for printing photos without a cable connection.

Polaroid has introduced a printer integrated into its digital camera which creates a small, printed copy of a photo. This is reminiscent of the original instant camera, popularized by Polaroid in 1975.[12]

Displaying photos

Many digital cameras include a video output port. Usually sVideo, it sends a standard-definition video signal to a television, allowing the user to show one picture at a time. Buttons or menus on the camera allow the user to select the photo, advance from one to another, or automatically send a "slide show" to the TV.

HDMI has been adopted by many high-end digital camera makers, to show photos in their high-resolution quality on an HDTV.

In January 2008, Silicon Image announced a new technology for sending video from mobile devices to a television in digital form. MHL sends pictures as a video stream, up to 1080p resolution, and is compatible with HDMI.[13]

Some DVD recorders and television sets can read memory cards used in cameras; alternatively several types of flash card readers have TV output capability.

Methods of image capture


At the heart of a digital camera is a CCD image sensor.

This digital camera is partly disassembled. The lens assembly (bottom right) is partially removed, but the sensor (top right) still captures a usable image, as seen on the LCD screen (bottom left).

Since the first digital backs were introduced, there have been three main methods of capturing the image, each based on the hardware configuration of the sensor and color filters.

The first method is often called single-shot, in reference to the number of times the camera's sensor is exposed to the light passing through the camera lens. Single-shot capture systems use either one CCD with a Bayer filter mosaic, or three separate image sensors (one each for the primary additive colors red, green, and blue) which are exposed to the same image via a beam splitter.

The second method is referred to as multi-shot because the sensor is exposed to the image in a sequence of three or more openings of the lens aperture. There are several methods of application of the multi-shot technique. The most common originally was to use a single image sensor with three filters (once again red, green and blue) passed in front of the sensor in sequence to obtain the additive color information. Another multiple shot method utilized a single CCD with a Bayer filter but actually moved the physical location of the sensor chip on the focus plane of the lens to "stitch" together a higher resolution image than the CCD would allow otherwise. A third version combined the two methods without a Bayer filter on the chip.

The third method is called scanning because the sensor moves across the focal plane much like the sensor of a desktop scanner. Their linear or tri-linear sensors utilize only a single line of photosensors, or three lines for the three colors. In some cases, scanning is accomplished by rotating the whole camera; a digital rotating line camera offers images of very high total resolution.

The choice of method for a given capture is determined largely by the subject matter. It is usually inappropriate to attempt to capture a subject that moves with anything but a single-shot system. However, the higher color fidelity and larger file sizes and resolutions available with multi-shot and scanning backs make them attractive for commercial photographers working with stationary subjects and large-format photographs.

Dramatic improvements in single-shot cameras and raw image file processing at the beginning of the 21st century made single shot, CCD-based cameras almost completely dominant, even in high-end commercial photography. CMOS-based single shot cameras remained somewhat common.

Filter mosaics, interpolation, and aliasing


The Bayer arrangement of color filters on the pixel array of an image sensor.

In most current consumer digital cameras, a Bayer filter mosaic is used, in combination with an optical anti-aliasing filter to reduce the aliasing due to the reduced sampling of the different primary-color images. A demosaicing algorithm is used to interpolate color information to create a full array of RGB image data.

Cameras that use a beam-splitter single-shot 3CCD approach, three-filter multi-shot approach, or Foveon X3 sensor do not use anti-aliasing filters, nor demosaicing.

Firmware in the camera, or a software in a raw converter program such as Adobe Camera Raw, interprets the raw data from the sensor to obtain a full color image, because the RGB color model requires three intensity values for each pixel: one each for the red, green, and blue (other color models, when used, also require three or more values per pixel). A single sensor element cannot simultaneously record these three intensities, and so a color filter array (CFA) must be used to selectively filter a particular color for each pixel.

The Bayer filter pattern is a repeating 2×2 mosaic pattern of light filters, with green ones at opposite corners and red and blue in the other two positions. The high proportion of green takes advantage of properties of the human visual system, which determines brightness mostly from green and is far more sensitive to brightness than to hue or saturation. Sometimes a 4-color filter pattern is used, often involving two different hues of green. This provides potentially more accurate color, but requires a slightly more complicated interpolation process.

The color intensity values not captured for each pixel can be interpolated (or guessed) from the values of adjacent pixels which represent the color being calculated.

Image resolution

The resolution of a digital camera is often limited by the camera sensor (typically a CCD or CMOS sensor chip) that turns light into discrete signals, replacing the job of film in traditional photography. The sensor is made up of millions of "buckets" that essentially count the number of photons that strike the sensor. This means that the brighter the image at a given point on the sensor, the larger the value that is ready for that pixel. Depending on the physical structure of the sensor, a color filter array may be used which requires a demosaicing/interpolation algorithm. The number of resulting pixels in the image determines its "pixel count". For example, a 640x480 image would have 307,200 pixels, or approximately 307 kilopixels; a 3872x2592 image would have 10,036,224 pixels, or approximately 10 megapixels.

The pixel count alone is commonly presumed to indicate the resolution of a camera, but this is a misconception. There are several other factors that impact a sensor's resolution. Some of these factors include sensor size, lens quality, and the organization of the pixels (for example, a monochrome camera without a Bayer filter mosaic has a higher resolution than a typical color camera). Many digital compact cameras are criticized for having excessive pixels. Sensors can be so small that their 'buckets' can easily overfill; again, resolution of a sensor can become greater than the camera lens could possibly deliver.


Australian recommended retail price of Kodak digital cameras.

As the technology has improved, costs have decreased dramatically. Counting the "pixels per dollar" as a basic measure of value for a digital camera, there has been a continuous and steady increase in the number of pixels each dollar buys in a new camera, in accord with the principles of Moore's Law. This predictability of camera prices was first presented in 1998 at the Australian PMA DIMA conference by Barry Hendy and since referred to as "Hendy's Law".[11]

Since only a few aspect ratios are commonly used (especially 4:3 and 3:2), the number of sensor sizes that are useful is limited. Furthermore, sensor manufacturers do not produce every possible sensor size, but take incremental steps in sizes. For example, in 2007 the three largest sensors (in terms of pixel count) used by Canon were the 21.1, 16.6, and 12.8 megapixel CMOS sensors. The following is a table of sensors commercially used in digital cameras.

Width Height Aspect ratio Actual pixel count Megapixels Camera examples
320 240 4:3 aspect ratio 76,800 0.01 Steven Sasson Prototype (1975)
640 480 4:3 aspect ratio 307,200 0.3 Apple QuickTake 100 (1994)
832 608 4:3 aspect ratio 505,856 0.5 Canon Powershot 600 (1996)
1,024 768 4:3 aspect ratio 786,432 0.8 Olympus D-300L (1996)
1,280 960 4:3 aspect ratio 1,228,800 1.3 Fujifilm DS-300 (1997)
1,280 1,024 5:4 1,310,720 1.3 Fujifilm MX-700 / Leica Digilux (1998), Fujifilm MX-1700 (1999) / Leica Digilux Zoom (2000)
1,600 1,200 4:3 aspect ratio 1,920,000 2 Nikon Coolpix 950
2,012 1,324 3:2 aspect ratio 2,663,888 2.74 Nikon D1
2,048 1,536 4:3 aspect ratio 3,145,728 3 Canon PowerShot A75, Nikon Coolpix 995
2,272 1,704 4:3 aspect ratio 3,871,488 4 Olympus Stylus 410, Contax i4R (although CCD is actually square 2,272x2,272)
2,464 1,648 3:2 aspect ratio 4,060,672 4.1 Canon 1D
2,640 1,760 3:2 aspect ratio 4,646,400 × 3 4.7 × 3 (14.1 MP) Sigma SD14, Sigma DP1 (3 layers of pixels, 4.7 MP per layer, in Foveon X3 sensor)
2,560 1,920 4:3 aspect ratio 4,915,200 5 Olympus E-1, Sony Cyber-shot DSC-F707
2,816 2,112 4:3 aspect ratio 5,947,392 6 Olympus Stylus 600 Digital
3,008 2,000 3:2 aspect ratio 6,016,000 6 Nikon D40, D50, D70, D70s, Pentax K100D
3,072 2,048 3:2 aspect ratio 6,291,456 6.3 Canon 300D, Canon 10D
3,072 2,304 4:3 aspect ratio 7,077,888 7 Olympus FE-210, Canon PowerShot A620
3,456 2,304 3:2 aspect ratio 7,962,624 8 Canon 350D
3,264 2,448 4:3 aspect ratio 7,990,272 8 Olympus E-500, Olympus SP-350, Canon PowerShot A720 IS
3,504 2,336 3:2 aspect ratio 8,185,344 8.2 Canon 30D, Canon 1D II, Canon 1D II N
3,520 2,344 3:2 aspect ratio 8,250,880 8.25 Canon 20D
3,648 2,736 4:3 aspect ratio 9,980,928 10 Olympus E-410, Olympus E-510, Panasonic FZ50
3,872 2,592 3:2 aspect ratio 10,036,224 10 Nikon D40x, Nikon D60, Nikon D3000, Nikon D200, Nikon D80, Pentax K10D, Sony Alpha A100
3,888 2,592 3:2 aspect ratio 10,077,696 10.1 Canon 400D, Canon 40D
4,064 2,704 3:2 aspect ratio 10,989,056 11 Canon 1Ds
4,000 3,000 4:3 aspect ratio 12,000,000 12 Canon Powershot G9, Fujifilm FinePix F100fd
4,032 3,024 4:3 aspect ratio 12,192,768 12.3 Olympus PEN E-P1
4,256 2,832 3:2 aspect ratio 12,052,992 12.1 Nikon D3, Nikon D3S, Nikon D700
4,272 2,848 3:2 aspect ratio 12,166,656 12.2 Canon 450D
4,288 2,848 3:2 aspect ratio 12,212,224 12.2 Nikon D2Xs/D2X, Nikon D300, Nikon D90, Nikon D5000
4,368 2,912 3:2 aspect ratio 12,719,616 12.7 Canon 5D
4,672 3,104 3:2 aspect ratio 14,501,888 14.5 Pentax K20D
4,992 3,328 3:2 aspect ratio 16,613,376 16.6 Canon 1Ds II
5,270 3,516 3:2 aspect ratio 18,529,320 18.5 Leica M9
5,616 3,744 3:2 aspect ratio 21,026,304 21.0 Canon 1Ds III, Canon 5D Mark II
6,048 4,032 3:2 aspect ratio 24,385,536 24.4 Sony α 850, Sony α 900, Nikon D3X
7,500 5,000 3:2 aspect ratio 37,500,000 37.5 Leica S2
7,212 5,142 4:3 aspect ratio 39,031,344 39.0 Hasselblad H3DII-39
8,176 6,132 4:3 aspect ratio 50,135,232 50.1 Hasselblad H3DII-50
8,956 6,708 4:3 aspect ratio 60,076,848 60.1 Hasselblad H4D-60
8,984 6,732 4:3 aspect ratio 60,480,288 60.5 Phase One P65+