Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Fill holes

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

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

Regards,
Vladimir
0 Kudos
Reply