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

FloodFill

j_bossu
Beginner
305 Views
Hello,
I want to apply a blob-coloring (value 0 or 1) to a binary image. But, I do not understand certain parameters of the function such as seed or new_value. Somebody could it help me to carry out this blob-coloring. If my image source is called pSrc, which functions is necessary it to apply to have my labelized image. What becomes seed, newVal. What mean pRegion and pBuffer. It is possible to simply recover the co-ordinates of each pixel contained in a label like the function bwselect of matalb.
Thanks a lot
0 Kudos
1 Reply
Intel_C_Intel
Employee
305 Views

Hello,

bwselect returns the binary image with object(s) containing seed pixel(s)

IPP FloodFill functions could process 8u (unsigned byte), 16u (unsigned short - from 5.3 beta version) and 32f (float) images. So if you want to process a binary image it should be represented as a byte image. These functions detect an object containing the seed pixel (object consists of pixels with the same value, pixels with value fron the interval, or by gradient) and changes pixels of the object to newVal value. pRegion contains the smallest rectangle containing the object

thanks,

Alexander

0 Kudos
Reply