0
$\begingroup$

I'm trying to remove what looks like a checkered noise pattern that has been added to an image. Comparing the 2D FFTs

enter image description here

The one on the left is the original, while the middle one is the corrupted one. I've been trying to remove the added bright spots on the diagonals. The far right FFT is my attempt at isolating the diagonals, which I did with an X shaped filter.

[f1,f2] = freqspace(300,'meshgrid');
Hd = zeros(300);
d = f1 + f2 == 2 * f1;
f = f1 + f2 == 0;
d = f | d;
d = logical(d);
Hd(d) = 0.75;

h = fsamp2(Hd);

However I seem to be unable to isolate the features. Are there any known algorithms for such a process? Isolating directions or points on an FFT. The MSE of the middle image is 0.0084 and the lowest I have gotten it to is 0.0031. With a combination of a low pass filter and a median filter. However the image was quite blurry and I don't think it would be possible to get it very close to the original after that much information loss. This is a HW question, so please only give hints. Here are the two images, noisy and original in that order noisy

original

$\endgroup$
  • $\begingroup$ I was able to reach lower than 0.0010 u/pixel^2. This was done by writing filters that covered the bright spots, while displacing the least about of other pixels. And with each iteration to imguided adjust to a flawed version, but one that removed more noise. And to finally sharpen it to recover some of the features. $\endgroup$ – Taka Mar 19 '15 at 2:46
0
$\begingroup$

You could model the FFT probabilistically and use your prior knowledge about the FFTs of natural images, such as the one of the left, to model a prior distribution with which to form a MAP estimate.

$\endgroup$
  • $\begingroup$ Should've added that I can't use the original image except for research and checking MSE. $\endgroup$ – Taka Mar 18 '15 at 14:19
  • $\begingroup$ You can still use a bunch of similar images to build a prior, can't you? $\endgroup$ – Emre Mar 18 '15 at 17:56
  • $\begingroup$ Yeah, that's what I'm currently trying. Use a guided filter with some of the removed features as a guide. Don't have a bunch of images though, I could try constructing them though. $\endgroup$ – Taka Mar 18 '15 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.