The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to fill small holes in a RGB image
Replies: 5   Last Post: Mar 31, 2012 10:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Thanh Le

Posts: 6
Registered: 3/30/12
Re: how to fill small holes in a RGB image
Posted: Mar 31, 2012 9:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"John D'Errico" <> wrote in message <jl6g4s$dia$>...
> "Thanh Le" <> wrote in message <jl5ljf$g4i$>...
> > 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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.