FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-23-2008, 12:23 AM
[email protected]
Guest
 
Posts: n/a
Default Wiener filtering using mean-squared method: variance problem

I am trying to implement a low pass Wiener filter using the mean-
squared method, to provide elimination of noisy areas, background
texture smoothing, and contrast enhancement. The algorithm I'm using
is (to produce output image Q from input image P), to evaluate a 3x3
neighbourhood for each pixel, and

Q(x,y) = mu + [ (sigmasquared - nusquared)/sigmasquared ] ( P
(x,y) - mu )

Where:
mu is the local mean across the neighbourhood
sigmasquared is the variance of the 3x3 neighbourhood
nusquared is the estimated local variance

Now, I don't know the source of the putative high frequency noise, so
I have to estimate nusquared, which is where I am running into
problems. All the code I can find on the net estimates nusquared by
using the variance of the whole of the original image. Not a canonical
source I know, but see, e.g., the bottom of:
http://www.vislab.uq.edu.au/educatio...ct/theory.html

Now this doesn't work for me, as in images to which noise has NOT been
added, the local variance is consistently SMALLER than the image
variance (in one test image it is never larger than image variance.
This seems to me bound to be the case on (for example) an image that
has been enlarged by bicubic interpolation and thus is already
"smooth". The problem here is that the Wiener filter does terrible
things to the image because the term in square brackets goes
substantially negative (as sigmasquared << nusquared), causing the
output to wildly oscillate.

I think the problem here is that all the code examples I have found
have assumed that the image variance is a good estimate for the local
variance. That's true if you are doing a compsci project where the
input image has had a lot of noise added to it, but isn't universally
true. I think the problem is that I need a better estimate for
nusquared.

What would you recommend here? Taking the mean of the 3x3 variances
across the image?

Alex

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OFDM Channel Estimation Wiener Filtering sunshine.gladys DSP 0 03-09-2007 02:05 PM
Is this 'clever' method of filtering legit? MartinC DSP 12 12-11-2006 07:33 PM
method for digital filtering teilersen DSP 11 11-02-2006 11:38 AM
estimating maximum performance of a filter, adaptive filtering, Wiener filtering stereo DSP 0 06-21-2006 04:30 PM
Wiener adaptive filtering and windowing: discontinui sandro DSP 1 03-05-2006 07:42 PM


All times are GMT +1. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved