Reply by Harald Grossauer November 2, 20042004-11-02
lucy schrieb:

> And there are some some spikes on both dark and bright regions. The bright > parts of the image are also noisy...
To get out spikes (i.e., salt and pepper noise) the median filter should be first choice.
Reply by Rick Lyons November 2, 20042004-11-02
On Sun, 31 Oct 2004 22:44:10 -0800, "lucy" <losemind@yahoo.com> wrote:

 (snipped)
>> >> Before you go on, take a few pictures of a featureless object, with the >> camera held stationary between exposures. Any noise correlation >> represents defects in the sensor array and van be subtracted out of the >> images you want to process. Dark noise and highlight noise might be >> different, but taking advantage of that might be hard. >> >> Jerry >> -- >> Engineering is the art of making what you want from things you can get. >> &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295; > >Hi Jerry, > >That's a very good point. We have not thought about that... yeah, we should >take a picture of completely dark NULL object and then do a subtraction: > >picture with meaningful object images - picture with NULL object = >noise-reduced image... > >Then what do we do after that? Use what filter to reduce noise? >
Perhaps a "median filter" would be helful. Searching the Internet for "median filter" will give you much information. Good Luck, [-Rick-]
Reply by John Monro November 2, 20042004-11-02
lucy wrote:

>"Jerry Avins" <jya@ieee.org> wrote in message >news:2ulnp6F2d39jaU1@uni-berlin.de... > > >>lucy wrote: >> >> >>>Hi all, >>> >>>We used camera to do some imaging and got some raw image data, which are >>>very noisy at the low signal end(where there should be some low signal) >>>or >>>the dark end(where there should be no signal theoratically)... >>> >>>And there are some some spikes on both dark and bright regions. The >>>bright >>>parts of the image are also noisy... >>> >>>Please advise which type of filter can be best for denoising of such >>>images, >>>hopefully the useful image parts will not be affected or minorly >>>affected... >>> >>>Thanks a lot! >>> >>>-L >>> >>> >>Before you go on, take a few pictures of a featureless object, with the >>camera held stationary between exposures. Any noise correlation >>represents defects in the sensor array and van be subtracted out of the >>images you want to process. Dark noise and highlight noise might be >>different, but taking advantage of that might be hard. >> >>Jerry >>-- >>Engineering is the art of making what you want from things you can get. >>&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295; >> >> > >Hi Jerry, > >That's a very good point. We have not thought about that... yeah, we should >take a picture of completely dark NULL object and then do a subtraction: > >picture with meaningful object images - picture with NULL object = >noise-reduced image... > >Then what do we do after that? Use what filter to reduce noise? > >Thanks a lot! > >L > > > >
Lucy, Astronomers pioneered the use of these techniques and there is a lot of software around to take care of erors in the CCD black level, erors in pixel sensitivity, and pixels that are stuck high or stuck low. You could try a search using: "ccd astronomy" or "astronomical image processing" or similar and you should get a lot of material, or you could try the astronomy newsgroups. Regards, John
Reply by Clay Turner November 1, 20042004-11-01
"lucy" <losemind@yahoo.com> wrote in message
news:cm68sp$ooc$1@news.Stanford.EDU...
> > "Jon Harris" <goldentully@hotmail.com> wrote in message > news:2unfejF2d22i0U1@uni-berlin.de... > > That's what my digital camera (and many others) do automatically. On
the
> > Canon > > G5, for any exposure longer than 1 second, it takes the picture
normally,
> > and > > then takes another identical exposure with the shutter closed and then > > does some > > filtering to remove the noise. I presume it could be as simple as just > > subtracting the second from the first, but it might be something more > > complex. > > > > HI Harris, > > That' s interesting... I have not known that before... > > How about Nikon D100? >
With the Nikon, you can select this feature via a menu item. Clay
Reply by lucy November 1, 20042004-11-01
"Jon Harris" <goldentully@hotmail.com> wrote in message 
news:2unfejF2d22i0U1@uni-berlin.de...
> That's what my digital camera (and many others) do automatically. On the > Canon > G5, for any exposure longer than 1 second, it takes the picture normally, > and > then takes another identical exposure with the shutter closed and then > does some > filtering to remove the noise. I presume it could be as simple as just > subtracting the second from the first, but it might be something more > complex. >
HI Harris, That' s interesting... I have not known that before... How about Nikon D100?
Reply by Jon Harris November 1, 20042004-11-01
That's what my digital camera (and many others) do automatically.  On the Canon
G5, for any exposure longer than 1 second, it takes the picture normally, and
then takes another identical exposure with the shutter closed and then does some
filtering to remove the noise.  I presume it could be as simple as just
subtracting the second from the first, but it might be something more complex.

"Jerry Avins" <jya@ieee.org> wrote in message
news:2ulnp6F2d39jaU1@uni-berlin.de...
> lucy wrote: > > Hi all, > > > > We used camera to do some imaging and got some raw image data, which are > > very noisy at the low signal end(where there should be some low signal) or > > the dark end(where there should be no signal theoratically)... > > > > And there are some some spikes on both dark and bright regions. The bright > > parts of the image are also noisy... > > > > Please advise which type of filter can be best for denoising of such images, > > hopefully the useful image parts will not be affected or minorly affected... > > > > Thanks a lot! > > > > -L > > Before you go on, take a few pictures of a featureless object, with the > camera held stationary between exposures. Any noise correlation > represents defects in the sensor array and van be subtracted out of the > images you want to process. Dark noise and highlight noise might be > different, but taking advantage of that might be hard. > > Jerry > -- > Engineering is the art of making what you want from things you can get. > &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Reply by Stephan M. Bernsee November 1, 20042004-11-01
On 2004-11-01 15:07:16 +0100, Jerry Avins <jya@ieee.org> said:

> That works if the noise is random and the scene is static. We were > discussing removal of the relatively simple static noise as a > pre-processing step. > > Jerry
The most common noise type would be thermal noise, for which this method works well. Since we don't know what the OP is trying to accomplish, I don't know if he has to deal with moving objects and whether his noise is thermal or not... maybe he can tell us. -- Stephan M. Bernsee http://www.dspdimension.com
Reply by Clay Turner November 1, 20042004-11-01
"Stephan M. Bernsee" <spam@dspdimension.com> wrote in message
news:2umcuqF2b6ekoU1@uni-berlin.de...
> On 2004-11-01 10:07:12 +0100, allnor@tele.ntnu.no (Rune Allnor) said: > > > If the camera has a cap for the objective cap, take some pictures > > with the lense cap on, with the same exposure times as you used for the > > "real" pictures. That way you could get an impression of the eigen > > noise of the CCD, and you might be able to subtract it from your images. > > > > Rune > > Or for that matter, if you can do this simply take several pictures of > the same scene and average them together. Works for static scenes only, > obviously, but is a fairly good method to minimize noise. > -- > Stephan M. Bernsee > http://www.dspdimension.com >
Hello Stephan and others, The averaging together of multiple images is good for reducing thermal noise, but CCDs sometimes develop "stuck pixels" with long exposures. So a common trick is to do a long dark exposure and locate the stuck pixels via thresholding and then black the corresponding ones out in the actual image. This is how the Nikon D100's noise reduction for long exposures works. Clay
Reply by Jerry Avins November 1, 20042004-11-01
Stephan M. Bernsee wrote:

> On 2004-11-01 10:07:12 +0100, allnor@tele.ntnu.no (Rune Allnor) said: > >> If the camera has a cap for the objective cap, take some pictures >> with the lense cap on, with the same exposure times as you used for >> the "real" pictures. That way you could get an impression of the eigen >> noise of the CCD, and you might be able to subtract it from your images. >> >> Rune > > > Or for that matter, if you can do this simply take several pictures of > the same scene and average them together. Works for static scenes only, > obviously, but is a fairly good method to minimize noise.
That works if the noise is random and the scene is static. We were discussing removal of the relatively simple static noise as a pre-processing step. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Reply by Jerry Avins November 1, 20042004-11-01
lucy wrote:

  ...

> Then what do we do after that? Use what filter to reduce noise?
Sorry, I only know the easy stuff. In any case, the "best" filter is determined by the natures of the noise and image. and by processing resources. Good luck. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;