Community
cancel
Showing results for 
Search instead for 
Did you mean: 
erano111
Beginner
47 Views

Fill holes

Hi,

I have theinput image:
:
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0 0 0 1 1 1
1 0 0 1 0 0 0 1 0 0 0 0 1 0 1
1 0 0 1 0 0 0 0 1 1 0 0 1 1 1
1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
:
and I wish to fill the holes (smaller then 3X3), so the output will be:
:
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0 0 0 1 1 1
1 1 1 1 0 0 0 1 0 0 0 0 1 1 1
1 1 1 1 0 0 0 0 1 1 0 0 1 1 1
1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
:
How can IPP to help me?
Thanks,
Eran
0 Kudos
2 Replies
Gennady_F_Intel
Moderator
47 Views

may be I am wrong but IPP cannot helps you with this case ...
--Gennady
Vladimir_Dudnik
Employee
47 Views

Hi Eran,

you may want to consider IPP Flood Fill functions, available in IPP Computer Vision library.

Regards,
Vladimir
Reply