Digital Raw

23
Digital Raw A raw file is a record of the raw sensor data from the camera, accompanied by some camera generated metadata.

description

Digital Raw. A raw file is a record of the raw sensor data from the camera, accompanied by some camera generated metadata. Digital Raw. There is no single digital camera raw file format like there is with jpg. Different cameras encode the raw data in different ways. For example: Canon *.CRW - PowerPoint PPT Presentation

Transcript of Digital Raw

Page 1: Digital Raw

Digital Raw

A raw file is a record of the raw sensor data from the camera, accompanied by some camera generated metadata.

Page 2: Digital Raw

Digital Raw

There is no single digital camera raw file format like there is with jpg.

Different cameras encode the raw data in different ways. For example:

Canon *.CRW Nikon *.NEF Minolta *.MRW Olympus *.ORF

These can all be read by the Adobe Camera Raw plugin.

Page 3: Digital Raw

How digital raw works

To understand how digital raw works, it helps to understand how digital cameras record an image and what the sensor in a digital camera actually captures.

Page 4: Digital Raw

The image sensor

Nearly all cameras use a two dimensional array to collect the photons that are the recorded image.

The array is made up of rows and columns of photosensitive detectors, using either CCD or CMOS technology, to form the image.

Page 5: Digital Raw

Photosensor

Page 6: Digital Raw

Taking a picture

When you take a picture, the camera’s shutter opens briefly and each photosite on the image sensor records the brightness of the light that falls on it by accumulating photons. The more light that hits a photosite, the more photons it records. Photosites capturing light from highlights in the scene will have many photons. Those capturing light from shadows will have few.

Page 7: Digital Raw

Taking a picture

The more light that hits a photosite, the more photons it records. Photosites capturing light from highlights in the scene will have many photons. Those capturing light from shadows will have few.

Page 8: Digital Raw

Taking a picture

After the shutter closes to end the exposure, the photons from each photosite are counted and converted into a digital number – 0 to 255

Page 9: Digital Raw

Taking a picture

This numbers represents the color of a single pixel and it, along with pixels captured by all of the other photosites on the sensor are used to reconstruct the image by setting the color and brightness of matching pixels on the screen or printed page.

Page 10: Digital Raw

Taking a picture

Because each pixel on the sensor has a color filter that only lets through one color, a captured image records the brightness of the red, green, and blue pixels separately. (There are usually twice as many photosites with green filters because the human eye is more sensitive to that color so green color accuracy is more important.)

Page 11: Digital Raw

It may be surprising, but pixels on an image sensor only capture brightness, not colour. They record the gray scale—a series of tones ranging from pure white (255) to pure Black (0)

Page 12: Digital Raw

Bayer Colour filter array

Page 13: Digital Raw

Greyscale Image

The sensors in the array, whether CCD or CMOS, just count photons – they produce a charge proportional to the amount of light they receive – without recording any color information.

The raw file is a greyscale image. It doesn’t contain anything that humans can interpret (see) as color.

Page 14: Digital Raw

Greyscale Image

In a greyscale image (such as a jpg) each pixel is represented by 256 possible tonal values from 0 (black) to 255 (white) with 254 intermediate shades of grey.

The color information is produced by color filters that are applied over the individual elements in the array in a process known as striping.

Page 15: Digital Raw

Bayer Pattern color filter array

Most cameras use what is called a Bayer Pattern color filter array, alternating red, green and blue filters.

Each photosensor is filtered so it captures only one color of light.

Obtaining color information is the job of a raw converter such as Camera Raw.

Page 16: Digital Raw

RGB Color Space

This is why digital cameras produce images in the RGB color space.

Red, Green and Blue are the additive colors that occur in nature.

Other colors result from a mixture of these colors.

Page 17: Digital Raw

RGB Color Space

Many other devices also use the RGB color space.

Scanners, multimedia projectors, computer monitors and TVs, digital video and some printers.

Photoshop also supports other color spaces, such as LAB color and CMYK

Page 18: Digital Raw

CMYK and LAB Color

CMYK is used in the printing industry as it offers a cyan, magenta yellow and black color channels.

LAB offers 3 channels, the L is for lightness/contrast with the a and b channels being the color (greyscale) channels.

It is easy to switch color channels in Photoshop to make adjustments.

Page 19: Digital Raw

What the raw converter does.

The raw converter interpolates the missing color information for each pixel from its neighbors, a process known as demosaicing.

White balance. Colorimetric interpretation. Gamma correction. Noise reduction, antialiasing and sharpening.

Page 20: Digital Raw

Why shoot RAW? Post editing in camera RAW is non destructive. No

data – or very little -is lost, unlike what occurs when jpgs are edited.

Greater control over the interpretation of the image. White balance, colorimetric rendering, tonal response, sharpening, noise reduction, exposure compensation can all be manipulated.

Most cameras capture at least 12 bits per channel per pixel for a possible 4,096 levels in each channel, giving you greater editing headroom. JPG’s are limited to 8 bits per channel, so when a camera converts to JPG, this data is ‘thrown away’. Note: All cameras shoot RAW and then convert to JPG. Not all cameras allow you to recover the RAW file.

Page 21: Digital Raw

Limitations of RAW

Processing time, including final conversion to JPG, TIFF or whatever.

File size. RAW file are bigger, but not as big as uncompressed TIFFs.

Longevity. Will the different brands of RAW files still be supported and readable in the future.

Page 22: Digital Raw

File formats used in digital imaging.

Tiff, EPS, DCS, Gif, PDF, PNG, PICT, BMP and Scitex CT are all file formats used in digital imaging.

Tiff (Tagged-Image File Format), JPEG (Joint Photographic Experts Group) (or JPG) and GIF are compression formats.

Compression allows for smaller file sizes but can lead to loss of image quality.

Page 23: Digital Raw

File compression

For example, in its RAW format, the example photo is 5.27 Mb.

As a High Quality jpg it is 2.87 Mb, Medium quality 410 Kb, Lowest quality 125 Kb.

As a tiff, the uncompressed file is 36 Mb, and using LZW (Lempel-Zif-Welch) compression is 44.7 Mb.

Most digital cameras use JPG compression .