stonny wrote:
I have a binary array representing an edge points image. The useful edge
points are generally 8 connected. There are some noise which are 8
connected in a group smaller than 10. So I want to remove all the
isolated noise group which contains less than 10 edge points from the
array.
Can any one give some code to cope it ?
Not here. Check with sci.image.processing or comp.sources.wanted. This
newsgroup is for discussing the C++ language proper (see
http://www.parashift.com/c++-faq-lit....html#faq-5.9), not
talking about arbitrary applications of it. Of course, if you have a
C++ language question (e.g., what is the best container for
such-and-such application, or why doesn't this code work [but see FAQ
5.8]), this is the right place to ask it.
You might also check the list of libraries found at
http://www.parashift.com/c++-faq-lit....html#faq-37.9.
Otherwise, I'm afraid you're going to have to write it yourself.
Cheers! --M