haider2087 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

How to fill the contourn canny? #440

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi!

I'm trying to fill the contourn with cvDrawContourns after cvFindContourns in 
cvCanny detection, but i'm not success in this

How can I fill the whole contourn?

Thanks

Original issue reported on code.google.com by douglasf...@gmail.com on 2 Mar 2014 at 7:02

GoogleCodeExporter commented 8 years ago
Do you have some sample code in C that does what you want?

BTW, please post your questions on the mailing list if possible, thanks

Original comment by samuel.a...@gmail.com on 16 Mar 2014 at 1:10

GoogleCodeExporter commented 8 years ago
i found my problem
it's because the contour is not united. I used dilate to unit and drawContourns 
worked fine... Thanks!

Original comment by douglasf...@gmail.com on 17 Mar 2014 at 11:01

GoogleCodeExporter commented 8 years ago
Great!

Original comment by samuel.a...@gmail.com on 17 Mar 2014 at 12:40