ACE Camera Photography Magazine, digital imaging digital cameras digicams
This article by Mike Berceanu first appeared
in the Australian magazine, Digital Camera.

Artefacts in Digital Imaging

Pixelation in a digital image
Pixelation due to too few sensor points being used to describe too big a picture. Note the stepping effect most clearly seen on the diagonal lines in the legs.
Digital imaging artefacts are unwelcome and unnatural elements or distortions in the reproduction. While they abound in reproductions of all kinds, they often go unnoticed perhaps because we are so used to them. Problems that we perceive in images are often the result of several causes combined, but let's try to look at some of the more prominent ones individually.

Noise
We are all familiar with the idea of noise in sound but the same concept can be applied in the visual and electronic context.

Charge Coupled Devices (CCDs) used in just about every digital camera and desktop scanner today, characteristically produce a number of different types of noise. Electronic fixed pattern and “dark” noise is present all the time in these devices, so just before an exposure is made, a digital camera will do what's known as a dark reading, to ascertain the signal from each sensor in its CCD array.
When the actual exposure is made, the camera smarts then subtract the dark noise signal from the exposure signal. This is one of the reasons why there is always a momentary delay between the time when you press the shutter button and when the picture is actually made. The dark noise subtraction method is never perfect, particularly when the sensors are hot. For this reason some of the professional level and astronomical cameras actually have freezers built into them in order to keep the sensor cool.

The signal to noise ratio is somewhat dependent on the "fill factor" of the pixel, or the percentage of the sensor element that gathers photons. Smaller elements have a higher inherent noise ratio and a very low signal to noise ratio or a very weak signal leads to problems that are hard to solve. Noise is also introduced during the analogue to digital (A/D) conversion of the image data. Much research has been done in the field of CCD noise suppression, and a lot of progress has been made so that modern CCD cameras and scanners are much better than their predecessors.

CCD sensors have a bias toward the red and infrared end of the energy spectrum. If you look at the sensor you will usually see a bluish filter or filtration layer over it, designed to mask out sensitivity to unwanted infrared wave lengths, and thereby increase the signal from the blue end of the visible spectrum. Because of insensitivity at the blue end it's in the blue channel that you will almost certainly find the most noise in a digital photograph or scan. In some cases it can be helpful to open the blue channel in software such as Adobe Photoshop and apply a moderate amount of softening.

Expect more noise to appear in situations with low light levels where the noise to signal ratio will be at its highest.

Perhaps surprisingly, a lack of noise can also be a problem. One reason that computer generated images such as those from 3D rendering programs, look so artificial is that they lack noise. Gradations are perfect in tone and colour and edges are unnaturally abrupt. Keep this in mind if you are photo retouching and applying gradations or tone fills. It pays to also add a little noise.
Pixelation in digital imaging, example of "Christmas tree lights" or color aliasing artefacts
The lipstick is red and the highlights are white, but they display an effect known as “Christmas tree lights” due to the colour filter mosaic over the sensor array.
Blooming
Blooming or light spill over, is a problem caused by photons spilling from one sensor element to another creating what can be a whole region of over fill, resulting in highlight blow out and / or weird colour in these areas. Larger sensor elements can collect and contain the photons better than the smaller ones found in most of todays consumer level digital cameras. CMOS sensors which have some draw backs are actually better in this regard. If this effect bothers you, it ‘s best to avoid sparkly subject matter.

Pixelation
When a relatively small sensor array is used to create an image, pixelation becomes very apparent. Larger sensor arrays are more expensive but supply enough information to produce a more lifelike picture. Pixelation is most noticeable as stairways on diagonal lines that are jagged instead of straight and smooth. On type this effect is sometimes called the “jaggies” but it's essentially the same problem in photo imaging.
A variation on this theme is “Christmas tree lights” or colour aliasing artefacts which are a function of the way that colour filtration is laid down on the sensor and is particularly apparent when an image is greatly enlarged. On many sensors Red (R), Green (G) and Blue (B) filtration is applied as RGBGRGBGR...... with twice as many green pixels as red and blue. This is because human vision, which we want to emulate, is most sensitive to the green wavelengths, and also because the CCD uses the green reading to compute luminance. The resulting pattern, blown up, particularly on diagonal lines is an unreal mosaic of colours that are a result of averaging between adjacent pixels. A less than perfect workaround for this problem is to desaturate the colour in specific areas on an image where fringing is apparent.

Interpolation
There are many different ways to expand an image's size. Some well known examples are the Linear, Bilinear and Bicubic methods which can be chosen in Adobe Photoshops Preferences, and another from Live Picture which is a mixture of concatenation and pixel decimation.

In the Photoshop methods, the basic tradeoff is between speed and quality, but while Bicubic interpolation is widely regarded as the best method, it may not always give the most pleasing results. If you are experiencing “ghosting” on diagonal lines, for instance, it may be better to change your software's preferences, and try Bilinear instead. The Live Picture concatenation algorithms which work so well on continuous tone image sections, fall down somewhat on hard edged lines, particularly when the lines are not exactly vertical or horizontal.

Camera manufacturers create their own interpolation systems specific for the task, and secret unto themselves. Unfortunately if you don't like their interpolation regime, you're stuck with it.

Example of excessive compression in a jpeg file
A radical amount of compression produces a very small file but the cost is in clarity. Mushiness, blocking and colour jumps are typical problems with over compression.
Compression
Data file compression can be divided into two obvious camps. “Non lossey” compression implies that there is no loss of image quality in the process, but usually doesn't afford much decrease in data size. “Lossey”, as the name suggests, involves data shedding and therefore implies image quality loss particularly when using highly compressed settings.

The most common, ubiquitous even, lossey file format is JPEG, so called because it was proposed by and is maintained by the Joint Photographic Experts Group. Just about every digital camera on the market can save to this format. Note that there are a variety of JPEG format variations, but those originating from cameras are all readable by common imaging software. What varies most obviously, is the amount of compression applied to the image data. This can vary from say 1:4 (great quality) to 1:28 (rather poor), with each camera manufacturer deciding on what compression options to offer and what mathematical formulae will be used to achieve them. The worst results come from high compression of small data sets, such as you would get from cameras with small sensor arrays.
jpeg file before  compression
The file before compression.
So what are JPEG compression artefacts likely to look like? It depends to some extent on what algorithms are used, but generally speaking, more compression is likely to produce “mushy” areas that lack sharpness especially obvious in the flat areas of an image, overemphasized edges and unnatural colour distribution. Random pixels that are quite different form those that surround them are also likely. Note also that because compression is done last, image artefacts such as sharpening and colour saturating are likely to be compounded. For some applications, such as displaying thumbnail images on a web page, high ratios can be quite acceptable, but for best results use compression sparingly.

Are you wondering just how much compression to use? There is no set rule apart from: try it and see.
It's important to see the results as your viewer would in final form such as on a print or on the computer screen. Be aware also, that most image manipulation software will show you the image at the original quality setting BEFORE compression was done. You have to close the file and reopen it in its new compressed form to see exactly what it looks like.
an image file before using the unsharp mask tool
The file as is, needing a little sharpening.
Sharpening and
Unsharp Masking

Some loss of perceived sharpness occurs at capture stage with any sensing device. There is some chemical compensation for this in film capture due to increases in edge contrast. Digital techniques which produce similar effects, have been used with scanners since the inception of digital imaging.

Various digital sharpening routines are available but most depend on the addition of edge contrast in one form or another. In the days when all graphic arts procedures were film based, a technique was developed for increasing edge contrast by first making an unsharp monochrome negative and then generating a soft but contrasty positive which was then sandwiched with the original. This type of analogue unsharp masking can be emulated very well in digital sharpening filters which today carry the anomalous descriptor of “Unsharp Masking”.
Because of the nature of current CCD image capture, consumer level digital cameras use Unsharp Masking routines after the image data has been interpolated. There is no choice by you, the operator, as to how this is done or how much is applied. Unfortunately there is also no fix for overuse of Unsharp Masking, other than buying another brand of camera. You can see from our example, done in software, what the effects look like. As more Unsharp Masking is applied, and as it is applied to a wider and wider edge radius, a characteristic shadow / halo effect becomes apparent. It will often appear as ghosting or black line around hard edges. You will not see radical effects like this in original camera images, but now that you know what it looks like you may well recognize its presence in small amounts, particularly in images from cameras with small sensor arrays.
excessive unsharp masking has been applied
The same file with an excessive amount of unsharp masking applied. Note the halo around the mans edges. Digital cameras with small sensors are likely to produce similar artefacts, though not as pronounced as this example.
24 bit inadequacies
Is more than 16 million colours enough? You'd think so wouldn't you? There are cases however when more would be better. Consider for instance, photographing a rose with vivid red colours. Your 24 bit palette has in effect, just 255 levels of pure red to portray the flowers colour subtlety and this number isn't nearly enough. That's why a capture system that's 30 bit or 36 bit is better. More colour and tone choices. Even if the end system such as your computer screen is only 24 bit, more bits in the beginning means that you can choose the BEST 24 bits.

Stepping
A problem peculiar to scanners and line scanning cameras, where a line of sensors moves steadily across a gate, is that of stepping. Causes vary from harmonics with pulsing in the light source, electrical signal noise, to more obscure reasons. It's most common and noticeable in the shadow regions where sensors are pushed to the limit but can appear in any part of the image. Here's a little hint when evaluating these devices: Create a scan, then in a program such as Photoshop view at 100%, go to curves or levels, radically lighten the image, and look for stepping artefacts. These will appear as lines of different density and / or colour.

Mike Berceanu is a commercial and advertising photographer living in Sydney, Australia. With more than 20 years behind the lens, he has spent the last five years passionately exploring digital imaging techniques. Using PhotoShop, Live Picture, Fractal Painter, and Kai's Power Tools Berceanu has become a master at creating seamless and captivating composite images. He writes for the Australian magazine Digital Camera. Berceanu's online presence includes stunning examples of his work and more articles on imaging hardware, software, and techniques. Go

Return to the contents page of ACE Camera photography magazine. Go

ACE Camera photography magazinephoto and digital equipment by category, camera stores, mail order and used camerascustom photo labs and digital imaging service bureausCamera repair, camcorder and photographic equipment repairphoto and digital equipment manufacturers worldwideACE Forum, ask questions get answers
Photo Magazine Photo Equipment Photo Labs Repairs Manufacturers ACE Forum

Authors for ACE Camera Photography Magazine retain full copyright to their words and images. Entire Contents, including all text and original artwork, Copyright (c) 1996, 1997, 1998, 1999 ACECamera Web Services, All Rights Reserved. Trademarks, brand names, and links are the properties of their respective owners. Thousands of hours of labor went into research, preparation and writing of this compilation and online magazine; statutory copyright protection has been filed with the U.S. Copyright Office, Washington D.C. No part of this web site may be stored in a retrieval system, reproduced in printed or electronic media, or posted in whole or in part elsewhere on the World Wide Web. ACECamera Web Services, 2442 N.W. Market Street, Suite 522, Seattle WA 98107.

Revised May 15, 1999