...

Chasys Draw IES Help:


What's all this RAW business?
 

The insides of a camera...

At the heart of your camera is a little chip, known as the sensor. This sensor is the "eye" of your camera. The lens system basically focuses an image onto this chip, and the chip captures the image and converts it into electronic form. The chip achieves this task as follows: the chip has an array of sensors, each capable of detecting the intensity of light falling on it. This is known as the light sensor matrix, usually a Charge-Coupled Device or CMOS sensor. The sensor matrix usually has a color filter array over it (an exception to this rule are cameras based on Foveon X3 or 3CCD). The most popular pattern is the Bayer mask though other patterns are also used (e.g. the RGBE mask). In the Bayer mask, each square of four pixels has one filtered red, one blue, and two green (the human eye is more sensitive to green than either red or blue). The result of this is that luminance information is collected at every pixel, but the color resolution is lower than the luminance resolution.

Bayer Filter Matrix
RGBE Filter Matrix

To generate an image from this data, a significant amount of signal processing is required (human eyes and electronics "see" differently). The data needs to be amplified. The data is then de-mosaiced (conversion from the bayer pattern to the RGB pixels we are used to). Things like color balance, saturation, noise reduction, etc. are then performed by the processor and software built into the camera.

 

What is a RAW file?

A camera RAW file is an image file that contains unprocessed or minimally processed data from the image sensor of a digital camera. In contrast, a JPEG file, as produced by a digital camera, usually undergoes a lot of processing before being saved: color-balancing, de-mosaicing, interpolation, de-noising, gamma adjustment, etc, plus a significant amount of lossy compression. Raw image files are sometimes called digital negatives, because, like negatives in film photography, they are not directly usable as images (they are not yet processed), but have all of the information needed to create images. For this reason, the process of creating an image from a raw file is sometimes referred to as "developing" a raw image.

When you take a snap with your camera, a lot of things are done from the moment the sensor picks up the light from the scene. The process goes like this:

RAW data is the output from each of the photosites of the image sensor, after being read out of the array by the array electronics and passed through an analog to digital converter. The readout electronics collect and amplify the sensor data and it's at this point that "ISO" (relative sensor speed) is set. If readout is done with little amplification, that corresponds to a low ISO (say ISO 100), while if the data is read out with a lot of amplification, that corresponds to a high ISO setting (say ISO 3200). Now, one of two things can be done with the RAW data. It can be stored on the memory card, or it can be further processed to yield a TIFF or JPEG image. If the data is stored on the card as is, we refer to that file as the raw image.

Technically speaking, there is no such thing as a "raw image format". Different manufacturers use their own proprietary and typically undocumented formats, which are collectively known as raw format. Often, the format also changes from one camera model to the next. Several major camera manufacturers encrypt portions of the file in an attempt to prevent third-party tools from accessing them. As a result, there exist several hundred raw formats, and new ones keep coming out.

 

Why use RAW?

Like a photographic negative, a raw digital image usually has a wider dynamic range and color gamut than the eventual final image format, and it preserves most of the information of the captured image. The raw image's purpose is to save, with minimum loss of information, the data that are obtained from the sensor, and the conditions surrounding the capturing of that data, known as the metadata.

Typically, a digital camera processes the image from the sensor into a JPEG file using settings for white balance, contrast, etc. that are either selected automatically or entered by the photographer before taking the picture. Cameras that produce raw files save these settings in the file, but don't perform the processing. This then gives the photographer the flexibility to experiment with these settings on a computer after taking the shot, and with greater flexibility. For example, the white point can be set to any value, not just discrete preset values like "daylight" or "indoor", and steps such as noise reduction or sharpening may be skipped. In other words, you, not the camera, make the decisions on how the image should be processed.

The computing power available in a digital camera is severely limited in comparison to what is available in a computer. The tasks needed to create a final image from the sensor data are quite complex; as a result, compromises are made inside the camera. Transferring these tasks to the computer makes it possible to use better, more compute-intensive methods, improving image quality. For example, the user may choose to use a different demosaicing algorithm other than the one coded into the camera.

JPEG images are typically saved using a lossy compression format (leading to quantization and compression artifacts), and use gamma-compressed 8-bit values to store that data. Raw formats are typically either uncompressed or use lossless compression, and typically have 12 or 14 bits of intensity information. Putting the 12 bit data in a 8 bit file is like pouring a 3 liters of liquid into a 2 litre container. It won't all fit so you have to throw some away. Since the data is not yet rendered and clipped to a color space gamut, more precision may be available in highlights, shadows, and saturated colors. The greater precision also means that large transformations, such as increasing the exposure of a dramatically under-exposed photo, result in less visible artifacts when done from raw data than when done from already rendered image files. As a result, the maximum amount of image detail is always kept within the raw file.

 

RAW processing in Chasys Draw IES raw-Photo

Chasys Draw IES raw-Photo allows you to do the processing required to generate an image from the raw data on your computer instead of doing it in the camera. Since it's on a PC, you can pick whatever white balance, contrast, saturation, sharpness etc. you want. raw-Photo does all the processing in a blend of floating point and 48 bit RGB (16 bits per channel) to get the highest possible quality.

One might wonder why we need all that resolution, given that all printing is done at the 8 bit level and 256 levels are enough for the human eye. The answer is that it allows you to manipulate the image to a greater extent without degrading the quality. You can then convert back to 8-bit data for printing.

raw-Photo accept files in raw format and saves the output as cd5. Saving the output directly to JPEG is not supported; this is because the whole purpose of going raw in the first place was to avoid the artifacts of JPEG in the first place.

Once you have your images in CD5 format, you can use Chasys Draw IES Converter to do a batch conversion to JPEG if you wish to do so. You may also open the image in Chasys Draw IES Artist and save as JPEG.

 

 

Copyright © John Paul Chacha, 2001-2017