mathematical morphology in c/c++

S

stonny

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 ?

Thanks

Stonny
 
M

mlimber

stonny said:
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-lite/how-to-post.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-lite/class-libraries.html#faq-37.9.
Otherwise, I'm afraid you're going to have to write it yourself.

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top