Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Before openning the image using OpenCV, I'm trying to create a region groing algorithm using OpenCL. The problem is to find how i can fix the starting point pixel (germ) in this image and transform these steps in OpenCL. Thanks in advance

For each pixel I (i, j) do

If I (i, j) has not already been processed

Then Save (i, j), Growth (i, j),

Increment Region

end for

Growth (i, j)

For any Pixel (k, l) adjacent to I (i, j)

% For all 8-pixels If (Pixel (k, l) not already processed)

AND (Criterion (Pixel (k, l)) = Criterion (I (i, j))

Then Growth (k, l)

end for