I want to degrade the image, and then execute the restoration, such as a lena.jpg.
I tried this:
lena = ExampleData[{"TestImage", "Lena"}];
lena1 = GaussianFilter[lena, 5]
With these get stained image lena1.jpg. This image is then used for recognition in the following step:
ImageDeconvolve[lena1, GaussianMatrix[5.10]]
only parameter 5.10 gives better picture then lena1.jpg
Then this I have three pictures "lena.jpg"-original image, "lena1.jpg"-degraded image and Image after ImageDeconvolve - restored image.
Problems:
1) I do not know which settings (filters) to apply during restoration pictures.
and
2) Which function to use during degradation and restoration?
Can someone write a concrete example of an image degradation and restoration with so obtained images included?
lena.jpg
somewhere, like on imgur, and then link to the picture here? Alternatively, did you know aboutExampleData[{"TestImage", "Lena"}]
? $\endgroup$(*
and*)
for comment in Mathematica. $\endgroup$GaussianFilter
has been applied? I wouldn't think so, but the restoration depends a lot on what type of degradation you have. $\endgroup$