What is the inverse of a filter?

9 visualizaciones (últimos 30 días)
Meshooo
Meshooo el 11 de Dic. de 2015
Comentada: Meshooo el 6 de En. de 2016
Dear all,
I have a gray intensity image, I, and let's say I applied a mean filter to it of size 3
Meanfilt = filter2(fspecial('average',3),I)/255;
My question is how to return the image back from Meanfilt ----> I ? Is there any inverse functions in matlab?
Thank you.
Meshoo

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Dic. de 2015
For the averaging filter there is also a way to do it by solving systems of linear equations; I think the logic should extend to anything constructed using conv2() but I would need to think more to check. It involves creating an (R*C) x (R*C) matrix of weights, which could get rather large. I do not know how efficient it would be.

Más respuestas (1)

Image Analyst
Image Analyst el 22 de Dic. de 2015
Well there is such a thing as an inverse filter, though it has problems in real world implementations because the noise can wreak havoc. So they've invented better methods that are more robust and better in the presence of noise. Look up the help on wiener2() and deconvlucy().

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by