logo
All About Symbian - Features
Nav (0)

Camera Nitty Gritty - part 6 - Flash Colour Spectrums

In part 1 of this series, Steve Litchfield looked at exposed camera glass on some phone models and investigated whether scratches really make a difference. In part 2, he investigated the pros and cons of LED/dual-LED/Xenon flashes in camera phones - does Xenon or dual LED flash make that much difference? In part 3, he investigated the fabled 'Megapixel myth' with an objective eye. In part 4, he focussed on the difference between good and poor optics (at the same camera resolution) and in part 5, he pitched all the top smartphone cameras head to head, in detail.

Now, AAS guest writer Dirk Snoyt takes up the theme of camera phone flash research and gets all technical on the theme of colours...

Sing a rainbow

We all have seen a rainbow in our lives. Beautiful colours created by the prismatic effect of raindrops in the sky. Each drop breaking the light of the sun into its component colours. Similarly, each type of 'white' light source sends out its own unique combination of component colours. Each combination at a specific intensity ratio to each other for each unique type of light source. Think for example of the yellow white light of a candle or the blueish white of fluorescent tubes. Our eyes naturally adjust to these different types of white, normalizing them as though they were daylight, at least as much as is humanly possible. Yet, even adjusted, many colours look different in candlelight than in fluorescent light. And colours in both artificial lights look still different from as when seen in the light of our sun.


The colour spectrum of the sun is often considered the 'ideal' and many people consider a flash that produces a light that closely resembles the colour spectrum of the sun to be the ideal flash. Imagine a flash that has no red, blue or green light component? Pictures would give you the idea of being colour blind. A flash lacking sufficient red would make things look bleak and without warmth. Purple tints would look blue and orange turns yellowish green. You get the idea.

Xenon flash light


In the range of artificial light sources, Xenon is known to approach the sun's colour spectrum pretty well in the visible range, roughly [380-750nm]. As such, Xenon is very popular for flash lights. Add its short flash duration, reducing motion blurring of a photo and it is easy to understand its popularity. The next figure (fig ref. http://www.asahi-spectra.com/news/pdf/max301.pdf) shows the typical spectral frequecies produced by a Xenon light.

Spectrum

Note the smooth continous curve with almost constant intensity between 380 and 750 nm.

LED flashlights


There are basically two types of white coloured LED lights. White LEDs that produce white light by emitting the three basic colours: blue, yellow-green and red. And white LEDs that use a blue or UV LED with a phosphor material to convert monochromatic light to a broad-spectrum white light. Here are two plots from the wikipedia about the subject.

Intensity

Intensity

The rgb-LED clearly is missing several colour frequencies. Clearly, a photo taken with the rgb-LED will miss some colours being reproduced. Making some colours look natural and others unnatural.  The blue/UV phosphor LED has a strong peak in the blue colour range and is very weak in the red colours. As such, we can expect the shots to be dominantly bluish and weak in red. This will require fancy post-processing to make the colours look 'natural'. But missing colour information that is not present in your photo in the first place, cannot be reconstructed. Noisy red colours (low red colour intensity in the flash) can be enhanced by saturating the red colours and filtering out noise, but only as much as information is really there.

As a result the rgb-white LED will produce a nicer, whiter white, compared to the second single blue/UV LED, which will tend to be more bluish. Both are, however, far inferior to the nearly continuous colour spectrum of a Xenon flash. Let's take a second look at Steve's pictures from last week. The flashed images of the N95 and N79 looked awful colourwise. Here I put them first through GIMP to manually adjust and enhance the colours - I enhanced their histograms, white balance and colourresponse curves to make the drum logo look white without distorting the rest of the colours too much. The N79 has still a bluish tint, creating the impression of being a blue/UV LED light. The N95 looks better, with a more natural white, but it still has a flatter colour spectrum than the N82 shot, creating the impression of having the more expensive but weaker RGB LED.

N79 shot

N95 shot

N82 shot

As Steve's post shows, the N82's Xenon flash is far more powerful with a shorter flash exposure.  This results in lower motion blur, better flash range, better depth of focus and a lower image noise. But its better colour spectrum also creates more natural and vibrant colours. 

The next two comparison shots, between a N82 (first) and a N95 classic (second) demonstrate all these properties even when flashing an object as near as 30cm. Note that the most red colour pencil with a blue shell is the colour 'Crimson Red'. You can even see the almost fluorescent qualities of the light blue Karisma water pencils in the N82 shot. The N95 makes a valid attempt but oversaturates its red colours and gives the crimson colour a bluish tint. There is no postprocessing on these images.

N82 photo

N95 shot

 

Sensor quality

As you all know, the Nokia N95 and its bretheren have a 5 megapixel cmos sensor. Occasionally, depending on the quality of the sensor, some pixels might not work as expected. Pixels can be dead or semi-dead. A dead pixel does not change its output value depending on the amount of light, it is set at a fixed value. Semi-dead pixels only react a tiny bit i.e. 80% of the value its neighbour might yield if it caught the same amount of light. Low quality cameras can have more than just single broken pixels: whole lines, or clusters (of connected) pixels can be broken. So let's test the sensor. Since the Nokia has a form of auto-exposure it is difficult to capture, I took the next image with my N82:

Light Dark

Looking at a close up of the original picture and blowing it up, I can see all pixels work as they should. On the white side, all pixels are nice, evenly white and on the dark side all the pixels are dark (and a bit noisy) as expected. Taking a second shot holding the camera upside down can test the white side for dead pixels that are white, and the dark side for dark dead pixels. It looks as if my N82 is pixelperfect. ;^) Terrific.

Now, what about those night shots with the dark specks in them. You mean like these:

Dark noise


This is a blow-up of a photo by my N95. It's a bit underexposed and you can see lots of dark specks - which look as if there are pixels broken. However, this is not the case. If you compare multiple photos side by side you will see the dark specs are not in the same spots. In fact they are completely absent, in the test shot above. These dark specks are the result of underexposure on a particular pixel (there just isn't enough light coming in to register reliably). The noise is typical, i.e. normal for cmos-sensors and even occurs on cameras like the Casio Exilim EX-F1 under low light conditions. My old Canon Powershot S60 with a 3.2megapixel CCD-sensor does not suffer from this effect.


Summary


The N82's Xenon flash is superior not only in intensity and flash duration but also in colour reproduction. Furthermore, both my N95 and N82 sport an excellent sensor quality. I found no dead or semi-dead pixels in both my devices. In underexposed (why else call it that) shots, speckle noise typical for a CMOS is visible. Having done this, I now look forward to how the INNOV8 will hold up to these tests. The N95 and the other Nseries devices with 5 megapixels have set a very high standard that few other camera phones can compete with.

Dirk Snoyt, All About Symbian, Oct 2008

Published by Steve Litchfield at 8:29 UTC, October 13th 2008

Categories: How To, Hardware
Platforms: General, S60 3rd Edition

Feature Discussion

malerocks
Comment: More than the flash, can we have some articles that provide more technical information (but understandable by ppl like us :)) on how the CMOS is in current phones and should be for good photographs? I believe this is where the image is captured, isn't it?
Also how about articles on feasibility of including in optical zooms, better and natural image processing etc? I know part of the has already been covered, but am now looking for more details on this.
slitchfield
Comment: Not much we can do in terms of CMOS sensors, short of ripping the devices apart? Manufacturers wouldn't let us have really detailed information like that, I suspect.

Might be an article looking at optical zooms and zoom in general. Wait until my Samsung G810 gets back from the firmware-upgrader and then I'll see what I can do 8-)
snoyt
Comment: Without the specifications of the separate phone components it is difficult to analyse and discuss them. The best photo camera analyses I have seen on the web are those of dpreview.com. They do a nice overall test with good comparisons. But they don't test any mobile photocameras (yet). A kind e-mail request offered by some interested parties and willing to submit phones for testing might change that.

Know that image quality depends heavily on a multitude of factors. A sensor's blacklevel noise, quantum yield, it's pixelquality (dead and otherwise abberant), blooming specs and A/D converter specs. Secondly lensquality is also extremely important. Think about it's light collecting qualities: it's aperture (creating the field of depth, usable shuttertimes), optical lens distortions and spectral abberations. Without the full device and hard- and software specifications or the right testing equipment, One is limited to what one can do. I'd love access to a spectrometer and some lightglobes and... and... including weeks of time to test etc... Another less obivous aspect is camera application and use, I.e. more than 3x optical zoom i.e. is pretty useless when shot handheld. Image stabilisation has only limited use. As such the practicality of optical zoom on a handheld mobile phone is has in reality very limited use. The mobile camera is far too light to be held stable in more that snapshots.

Worse not every shot is jpeg-processed identically. Small differences introduced by camera dynamics and the environment will lead to different jpeg compressions of the images. Each with a different pattern of blurry spots caused by zealous jpeg compression. Steve's conclusion the N95 takes better pictures than the N82 in his latest smartphone test is without doubt a result of such statistical variations. Without comparing large numbers of shots between the N82 and the N95 under identical and controlled situations it is very difficult to make a scientific reliable statement about it. I think the differences between the N82 and N95 are most likely very small and most likely tends in general cases to be in favour for newer versions (N82,N85, etc...), due to the fact producers tend to improve their production procedures for economical reasons (less rejects = more average quality).

Lenses and sensors are like Formula F1 drivers and their racing team. They interact together and when both are topnotch and properly matched [B]they[/B] will win races.

Enfin, I could talk all day about this topic. I do think that the N95 and its bretheren do set a very fine standard for a [B]smartphone[/B]. They have a nice mix of useful features without any particular weak points you often see in older/other mobile cameraphones, even those that do not try to be a smartphone. And for that they win in my view the best mobile phone product range with photographing capacity prize. NGNGNLDFSD, sorry had to detangle the tongue here. With both Samsung and Sony Ericsson putting topnotch pressure on Nokia to keep working at it ;^)
sapporobaby
Comment: This was a great article. However, for me and in my opinion it really does not matter as these are camera phones. I have an N82 and must say that the shots are great, but they are no where when compared to my Nikon D300. If I happen to be out and about, I will maybe pop out my N82 for a shot but when it is time to get down and dirty, the Nikon is pressed into action. People that continue to harp about camera phones not being this or that seem to miss the point that they are just that, camera phones. They are limited by the size of the sensor, the processing power of the phone, not to mention the optics. If you want great photos, get a real camera, or be satisfied with the product your camera phone produces.
Unregistered
Comment: How about something about taking pictures in low light? This is where every camera phone falls down in comparison to a dedicated camera, in my experience.
slitchfield
Comment: Thanks all, suggestions taken on board!

Steve
snoyt
Comment: Feel free to check some pictures of mine at [url]http://share.ovi.com/snoyt[/url]. Several lowlight (nightmode, no nightmode and with and without flash) candlelight shots are available for both the N95 and N82 (Each has its own channel).
snoyt
Comment: [quote=sapporobaby;395781]This was a great article. [/quote]

Thanks.

[quote=sapporobaby;395781] However, for me and in my opinion it really does not matter as these are camera phones. ... If you want great photos, get a real camera, or be satisfied with the product your camera phone produces.[/quote]

The artistique beauty of a picture lies not in it's technical achievement but by using it's limitations creatively to express something unquantifyable. To understand the camera nitty gritty will allow other people to do this better. You might show off the technical prowness and superiority of your DSLR, but that does not autmatically mean you can take great pictures. Flickr is rife with terrific creative photo's people have taken with their camera phones. A small sample can be found [URL="http://web.me.com/jamesburland/Nokia_Creative/Blog/Entries/2008/9/22_Photo%3A_The_Nokia_Creative,_N95_Photo_Awards_July_%26_August.html"]here[/URL], on James Burland's blog.
Unregistered
Comment: Another thing to consider is the pixel count compared to the size of the sensor.
As the physical size of each pixel get's smaller it will receive less light. To compensate the gain on the sensor has to rise. This also makes the sensor more sensitive to noise, both due to thermal effects and different responses between pixels.

The push to more megapixels aggravates this as the pixels have to become smaller. In a phone camera sensor where you want small sensor size and good adverse lighting performance you actually want a *lower* megapixel count sensor. This seems to go against experience but remember the older lower pixel count sensors were also lower quality.

Hopefully soon we will see camera phone sensors that can combine pixels to form larger virtual photosites as some mainstream pocket cameras can as well as exploiting recent CCD manufacturing advances like black silicon and reversed sensor construction.

--Charles

Main Navigation

» Home (1)
» News (2)
» Reviews (3)  
» Features (4)
» Media (5)
» Forums M | Full (6)
» Top (9)

Advert

no links available

mobile.allaboutsymbian.com