How to use masking filter to remove particular frequency from an image?

2 Ansichten (letzte 30 Tage)
waqas
waqas am 21 Okt. 2018
Kommentiert: waqas am 21 Okt. 2018
I have modified the code of ImageAnalyst for one the tasks that I am currently working on. Goal is to extract the QR code from the image. Previously I extracted the QR code by using a notch filter but it is highly sensitive to distortion and doesnt work as soon as image is no more in-plane.
Attached is the code based on masked filter (originally written by Image Analyst) and the image I am working on. But once I have removed the frequencies, it it gives me a noisy output like salt and pepper noise.
Looking forward to constructive feedback on the query.
  4 Kommentare
Guillaume
Guillaume am 21 Okt. 2018
Isn't the QR code encoded by the connections between the dots? If so, why do you care about removing some frequencies from the image?
waqas
waqas am 21 Okt. 2018
No QR code is simply added as a layer on the pattern so the noise right now goes beyond the set noise correction factor of 25% in QR code which makes it unreadable. Idea about removing the bright spikes in the frequency domain is to treat these white and black dots as periodic noise and then get rid of them.
Previous discussion on the similar topic with Image Analyst is in the following link: (he did not reply there so I started new thread here)
https://se.mathworks.com/matlabcentral/answers/418501-how-to-find-specific-frequency-from-image
Ideally when we adjust the contrast in imtool then we should be able to read the QR code.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by