Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Digital Photography > Calculation of snr

Reply
Thread Tools

Calculation of snr

 
 
Don Stauffer in Minnesota
Guest
Posts: n/a
 
      05-23-2008
On May 22, 12:01 pm, "David J Taylor" <david-tay...@blueyonder.neither-
this-bit.nor-this-bit.co.uk> wrote:
> John O'Flaherty wrote:
>
> []
>
> >> - 4096 for 12-bit or 16384 for 14-bit. This program will take the
> >> drudgery out of the calculations, if not out of getting the careful
> >> exposures.

>
> However, do be aware that a simple SNR calculation will tell you very
> little about the performance of the camera, unless you take the MTF into
> account. You could make a camera with a low high-frequency MTF which you
> have a very high SNR, but produce very blurry images. You really need to
> measure the SNR for a known input at a known spatial frequency, and then
> weight that measurement according to the perception characteristics of the
> viewer.....
>
> Cheers,
> David


I'd say snr is equally important to MTF. In military electronic
cameras the SNR and MTF were the two big performance issues we would
analyze. A very sharp imagine system (high mtf) will still not give
very good results with a poor snr. In fact, if the camera system has
too low an snr, it becomes very hard to even measure the mtf properly.

Fortunately, current digicams (at least visible light ones) seem to
generally have pretty good snr. Not like the old thermal IR cameras
we dealt with

 
Reply With Quote
 
 
 
 
David J Taylor
Guest
Posts: n/a
 
      05-23-2008
Don Stauffer in Minnesota wrote:
[]
> I'd say snr is equally important to MTF. In military electronic
> cameras the SNR and MTF were the two big performance issues we would
> analyze. A very sharp imagine system (high mtf) will still not give
> very good results with a poor snr. In fact, if the camera system has
> too low an snr, it becomes very hard to even measure the mtf properly.
>
> Fortunately, current digicams (at least visible light ones) seem to
> generally have pretty good snr. Not like the old thermal IR cameras
> we dealt with


Don,

It sounds as if we have dealt with quite similar things in the past! We
used a technique of taking a four-bar target at a particular contrast
(delta-T) and spatial frequency, and applying /all/ the MTF and noise
factors to that (atmosphere, lens, sensor, processing, display, eye/brain)
and working out the SNR on the retina. Subjective tests showed what
actual observers could achieve in terms of subject recognition with a
given SNR and spatial frequency. Their capabilities were quite
surprising, in a similar way to how experienced bird-spotters can tell a
bird type when all the casual observer can tell is the colour!

Quite how you relate this to image quality in digital cameras I am not
sure, but I completely agree that both MTF and SNR are important. My
guess is that one should use targets of varying contrast (and ideally sine
wave targets), and measure the SNR within a specified spatial frequency
range (rather than just broadband noise). Perhaps something like an
octave of noise centred on the spatial frequency being tested (I suspect
the 1/3 octave of audio may be too fine).

Nice subject for someone's PhD?

Cheers,
David


 
Reply With Quote
 
 
 
 
David J Taylor
Guest
Posts: n/a
 
      05-23-2008
Marc Wossner wrote:
[]
> This is what Norman Korens hypothesis about Shannons information
> theory does. He uses the equation C=W log2(SNR+1), that defines the
> capacity of a data channel, to define image quality (IQ) as IQ=W
> log2(SNR+1), where W is the image visual capacity in one dimension. He
> choose to use the product of MTF 50 and image sensor size for this
> value. Look at http://www.imatest.com/docs/shannon.html.
>
> Best regards!
> Marc Wossner


Thanks, Marc.

I wish I had time to read that in more detail - I've bookmarked it.
However, I don't think that a single number is the answer, as you may want
rather different performance characteristics for (for example) portrait
and architectural photography. In portraits, for example, meaning
low-noise at low spatial frequencies but not too bothered about MTF at
high spatial frequencies (shows too much detail!). Detail may be the key
in other photographs....

Cheers,
David


 
Reply With Quote
 
PDM
Guest
Posts: n/a
 
      05-23-2008

"Marc Wossner" <> wrote in message
news:9a6983b2-99da-4b36-9210-...

Hi ng,

Iīd like to know about the signal to noise ratio of my digital camera.
According to a website I found this value is the ratio of total signal
to total noise expressed in decibels (dB) and can be calculated with
the following formula:

SNR = 20 log (Signal RMS / Noise RMS)

As math was always a horror for me, I have only a slight idea of "root
mean square" but donīt know how to deduce those values from simple
digital images. Can someone please help me with that?

Best Regards!
Marc Wossner

For the life of me, I can not understand why you want to know. Please
amplify?

PDM


 
Reply With Quote
 
Marc Wossner
Guest
Posts: n/a
 
      05-23-2008
On 23 Mai, 23:07, "PDM" <pdcm99minus this b...@tiscali.co.uk> wrote:
> "Marc Wossner" <marc.woss...@gmx.net> wrote in message
>
> news:9a6983b2-99da-4b36-9210-...
>
> Hi ng,
>
> Iīd like to know about the signal to noise ratio of my digital camera.
> According to a website I found this value is the ratio of total signal
> to total noise expressed in decibels (dB) and can be calculated with
> the following formula:
>
> SNR = 20 log (Signal RMS / Noise RMS)
>
> As math was always a horror for me, I have only a slight idea of "root
> mean square" but donīt know how to deduce those values from simple
> digital images. Can someone please help me with that?
>
> Best Regards!
> Marc Wossner
>
> For the life of me, I can not understand why you want to know. Please
> amplify?
>
> PDM


I want to know because I want to get a better understanding of the
underlying technique to make better use of it and to be able to rank
the values I find written and on the web by hands-on knowledge.

Best regards!
Marc Wossner
 
Reply With Quote
 
PDM
Guest
Posts: n/a
 
      05-24-2008

"Marc Wossner" <> wrote in message
news:baa1749d-f0b8-4938-8c32-...
On 23 Mai, 23:07, "PDM" <pdcm99minus this b...@tiscali.co.uk> wrote:
> "Marc Wossner" <marc.woss...@gmx.net> wrote in message
>
> news:9a6983b2-99da-4b36-9210-...
>
> Hi ng,
>
> Iīd like to know about the signal to noise ratio of my digital camera.
> According to a website I found this value is the ratio of total signal
> to total noise expressed in decibels (dB) and can be calculated with
> the following formula:
>
> SNR = 20 log (Signal RMS / Noise RMS)
>
> As math was always a horror for me, I have only a slight idea of "root
> mean square" but donīt know how to deduce those values from simple
> digital images. Can someone please help me with that?
>
> Best Regards!
> Marc Wossner
>
> For the life of me, I can not understand why you want to know. Please
> amplify?
>
> PDM


I want to know because I want to get a better understanding of the
underlying technique to make better use of it and to be able to rank
the values I find written and on the web by hands-on knowledge.

How will this help you to take better pictures? Afterall, this is what's
it's all about, not science.

PDM


 
Reply With Quote
 
Marc Wossner
Guest
Posts: n/a
 
      05-24-2008
On 24 Mai, 02:24, "PDM" <pdcm99minus this b...@tiscali.co.uk> wrote:
> "Marc Wossner" <marc.woss...@gmx.net> wrote in message
>
> news:baa1749d-f0b8-4938-8c32-...
> On 23 Mai, 23:07, "PDM" <pdcm99minus this b...@tiscali.co.uk> wrote:
>
>
>
> > "Marc Wossner" <marc.woss...@gmx.net> wrote in message

>
> >news:9a6983b2-99da-4b36-9210-...

>
> > Hi ng,

>
> > Iīd like to know about the signal to noise ratio of my digital camera.
> > According to a website I found this value is the ratio of total signal
> > to total noise expressed in decibels (dB) and can be calculated with
> > the following formula:

>
> > SNR = 20 log (Signal RMS / Noise RMS)

>
> > As math was always a horror for me, I have only a slight idea of "root
> > mean square" but donīt know how to deduce those values from simple
> > digital images. Can someone please help me with that?

>
> > Best Regards!
> > Marc Wossner

>
> > For the life of me, I can not understand why you want to know. Please
> > amplify?

>
> > PDM

>
> I want to know because I want to get a better understanding of the
> underlying technique to make better use of it and to be able to rank
> the values I find written and on the web by hands-on knowledge.
>
> How will this help you to take better pictures? Afterall, this is what's
> it's all about, not science.
>
> PDM


Better pictures, yes thatīs what we are after. But to understand what
a good picture is one needs science. Because we perceive pictures
visually, science is necessary to understand how our visual system
works. And it is important as well to understand how photography as a
technical medium works. Looking at our visual system you can learn
that noise, together with resolution, is an important measure of
sharpness and sharpness in turn is the most important factor in image
quality. So understanding noise and its implications on how we
*perceive* sharpness (it is something our visual system creates) helps
in taking pictures that are judged as superior.

Best regards!
Marc Wossner
 
Reply With Quote
 
Ilya Zakharevich
Guest
Posts: n/a
 
      05-24-2008
[A complimentary Cc of this posting was sent to
Don Stauffer in Minnesota
<>], who wrote in article <4ac7d6ce-66f0-4bea-9203->:
> I'd say snr is equally important to MTF.


Actually, in the age of cheap image DSP, none of them is important at
all. Using proper DSP, you can modify any one of these
numbers/functions any way you want.

What IS important (and what does not change by applying DSP) is the
RATIO of MTF (at a particular spacial frequency) to the noise level
(filtered appropriately to reflect contribution of noise at the same
spacial frequency).

Essentially, this way you get S/N ratio as a function of spacial
frequency. This function more or less describes how good you can make
the image by application of PROPER DSP.

The integral of log of this function reflects the amount of
information in the image (Shannon-like "image quality"; AFAICS, it
reflects very well the subjective impressions).

Yours,
Ilya
 
Reply With Quote
 
Kennedy McEwen
Guest
Posts: n/a
 
      05-24-2008
In article <>, Floyd L. Davidson
<> writes
>ransley <> wrote:
>>On May 22, 5:28*am, Marc Wossner <marc.woss...@gmx.net> wrote:
>>> Hi ng,
>>>
>>> Iīd like to know about the signal to noise ratio of my digital camera.
>>> According to a website I found this value is the ratio of total signal
>>> to total noise expressed in decibels (dB) and can be calculated with
>>> the following formula:
>>>
>>> SNR = 20 log (Signal RMS / Noise RMS)
>>>
>>> As math was always a horror for me, I have only a slight idea of "root
>>> mean square" but donīt know how to deduce those values from simple
>>> digital images. Can someone please help me with that?
>>>
>>> Best Regards!
>>> Marc Wossner

>>
>>db is sound not what your eve sees, what is "this wedsite" for you id
>>say tb, trollbell

>
>dB has no particular attachment to sound, any more than
>it does to light. It's a ratio of two numbers, as shown
>in the formula above. The numbers represent signal
>power, regardless of what the signal actually is.
>

The most common mistake of all is that in the formula above, the numbers
represent signal and noise AMPLITUDE, eg. voltage, current, digital
units, and NOT power!

If they were power then the correct formula would be
SNR = 10 log(Sig/Noise) dB

The Bell is defined as a power ratio. It is the factor of 10 that
converts Bells to deciBells. Power is proportional to, for example,
volts squared.
Hence 10 log(P1/P2) = 10 log ((V1/V2)^2) = 20 log(V1/V2).

Before estimating SNR, you need to be sure what the numbers you use
represent and how they relate to power (intensity, for example is
proportional to power) otherwise you could be a factor of two out.
--
Kennedy
Yes, Socrates himself is particularly missed;
A lovely little thinker, but a bugger when he's ****ed.
Python Philosophers (replace 'nospam' with 'kennedym' when replying)
 
Reply With Quote
 
Don Stauffer in Minnesota
Guest
Posts: n/a
 
      05-24-2008
On May 23, 9:41 am, "David J Taylor" <david-tay...@blueyonder.neither-
this-bit.nor-this-bit.co.uk> wrote:

> Don,
>
> It sounds as if we have dealt with quite similar things in the past! We
> used a technique of taking a four-bar target at a particular contrast
> (delta-T) and spatial frequency, and applying /all/ the MTF and noise
> factors to that (atmosphere, lens, sensor, processing, display, eye/brain)
> and working out the SNR on the retina. Subjective tests showed what
> actual observers could achieve in terms of subject recognition with a
> given SNR and spatial frequency. Their capabilities were quite
> surprising, in a similar way to how experienced bird-spotters can tell a
> bird type when all the casual observer can tell is the colour!
>
> Quite how you relate this to image quality in digital cameras I am not
> sure, but I completely agree that both MTF and SNR are important. My
> guess is that one should use targets of varying contrast (and ideally sine
> wave targets), and measure the SNR within a specified spatial frequency
> range (rather than just broadband noise). Perhaps something like an
> octave of noise centred on the spatial frequency being tested (I suspect
> the 1/3 octave of audio may be too fine).
>
> Nice subject for someone's PhD?
>
> Cheers,
> David


While a bar chart target is not a sine wave, which is what MTF is
designed for, a normal bar chart target is a 50-50 square wave. Hence
there is no second harmonic. The first actual overtone that comes
into effect is the third. If there is reasonable anti-aliasing
filtering, then one can use modulation measured from a bar chart to do
MTF calcs. Yeah, a sine wave chart is better, but harder to find,
especially for IR.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C837 ADSL SNR Monitoring user Cisco 0 01-23-2007 06:40 AM
Cisco 837 - MRTG - monitoring SNR? Jim Willsher Cisco 7 07-07-2006 10:36 AM
Snr. Java Developer dlascelle@objectsearch.com Java 0 11-18-2005 04:15 PM
What are accepted figures for signal/noise (SNR) and dynamic rangefor CRT? LCD? Film? Human eye? jeff miller Digital Photography 40 03-11-2005 01:15 AM
Signal to noise ration (SNR) in relation to senor size and pixel density john Digital Photography 3 12-06-2003 06:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57