Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

Fill holes

erano111
Beginner
95 Views
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
95 Views
may be I am wrong but IPP cannot helps you with this case ...
--Gennady
Vladimir_Dudnik
Employee
95 Views
Hi Eran,

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

Regards,
Vladimir
Reply