How can I remove rain from an image?

hello, how to remove rain in image?? anyone help me plzzzzz..thank you

댓글 수: 1

Walter Roberson
Walter Roberson 2011년 3월 3일
If you upload one of your images to a photo site and put a link to it in your question, then people would be able to give you more concrete answers.

댓글을 달려면 로그인하십시오.

 채택된 답변

Andreas Goser
Andreas Goser 2011년 3월 2일

3 개 추천

This depends on whether your "rain" is more of a noise in the image or larger objects. With a bit of luck, you can use standard deblurring or image enhancement techniques - see the respective demos of the Image Processing Toolbix for that. If the object are larger, you need to spend the effort to detect them and remove them. You also have the challenge of what to use as background then. But try the "Correcting Nonuniform Illumination" demo with the rice grains to get some ideas.

댓글 수: 1

mu0
mu0 2011년 3월 3일
i am new in using matlab. Its hard for me to understand the matlab code..but i will try my best.thank you for the ideas

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Jan
Jan 2011년 3월 2일

2 개 추천

Towel.

댓글 수: 7

Walter Roberson
Walter Roberson 2011년 3월 3일
Too much danger of smudging the image, Jan. And unfortunately, the usual alternatives of highly pure alcohol tend to ruin anti-glare screens of CRTS or melt the plastic on LCD displays. It might be better to use a highly hydrophilic substance, such as a dusting of sodium metal.
Jan
Jan 2011년 3월 3일
Oil painting => towel
Doug wrote: *be brief*. "Towel" is brief.
Jan
Jan 2011년 3월 3일
Whoops! The OP wrote "rain *in* image", but my answer concerns "rain *on* image". I assume I've overseen an important detail.
Matt Tearle
Matt Tearle 2011년 3월 3일
You sass that hoopy Jan Simon? There's a frood who really knows where his towel is.
Paulo Silva
Paulo Silva 2011년 3월 3일
+1 vote
Walter Roberson
Walter Roberson 2011년 3월 3일
I never had sass with That man!
Jan
Jan 2011년 3월 3일
@mu0: Sorry for this non-productive answer. It is not my intention to be offending. Please feel encouraged to add details to your question, e.g. a copy of the picture or a more exact description of the inputs and wanted outputs. "Remove rain" is too abstract, to be answered exactly - although Andreas' answer seems to be very valuable already. I suggest to read this also: http://www.mathworks.com/matlabcentral/answers/797-how-do-i-write-a-good-answer-for-matlab-answers

댓글을 달려면 로그인하십시오.

mu0
mu0 2011년 3월 4일

0 개 추천

its ok.nevermind..i already got some codes for removing rain in image.but, the image becomes blurred. i tried to solve the blurred image with function 'deconvwnr'.but the worst image appears. i used also'unsharp'.still nothing happen to the image..help me plz

댓글 수: 2

Jan
Jan 2011년 3월 4일
Please show us the code and explain any details. Most of all it is not getting clear, what "rain in an image" is: Do you mean a RGB image? Do you have rain drops on the lense or did you take a photo on a rainy day, but want to insert a sunny sky?
Jan
Jan 2011년 3월 4일
Please show us the code and explain any details. "used 'unsharp'. still nothing happen" is definitely not exact enough to have a chance to suggest imüprovements. It is still not getting clear, what "rain in an image" is: Do you mean a RGB image? Do you have rain drops on the lense or did you take a photo on a rainy day, but want to insert a sunny sky? Do you think it is possible to remove any kind of rain without getting a blurred image?
Please read and consider the thread about asking good questions. E.g. "plz" is understood as "I'm not interested in doing it by myself". Usually people are less motivated to invest time for helping, if a question looks sloppy.

댓글을 달려면 로그인하십시오.

태그

질문:

mu0
2011년 3월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by