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.
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:
CompactFlash (CF-I)
Memory Stick
Microdrive (CF-II)
MultiMediaCard (MMC)
Secure Digital card (SD)
MiniSD Card
SmartMedia
USB flash drive
xD-Picture Card (xD)
3.5" floppy disks
Mini CD (left)
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
Main article: Image file 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.
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 KodakEasyShare 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.
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.
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.