Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: how to fill small holes in a RGB image
Posted:
Mar 31, 2012 9:24 PM
|
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <jl6g4s$dia$1@newscl01ah.mathworks.com>... > "Thanh Le" <lehoanglittle@gmail.com> wrote in message <jl5ljf$g4i$1@newscl01ah.mathworks.com>... > > Hi, > > I'd like to remove all small holes in a RGB image, in which the area of holes' s smaller than a predefined threshold. Actually, I have found out some codes regarding binary image, but how can I solve the problem with a RGB image? > > Thanks for any help > > > > Best regards > > Use inpaint_nans. (From the file exchange.) > > Do it three times, one for each of the red, green and blue channels. > > John
Hi John, Thank you very much for your help. But in fact I'm a Matlab newbie so could you give me more details to use "inpaint-nans" in this case? Best regards
|
|
|
|