Skip to main content

2 docs tagged with "pixel"

View all tags

Flood Fill using OpenCV

Demonstrates OpenCV's flood fill: use a seed point to fill connected regions. Includes a C/C++ example, parameter explanations, and expected output.

Threshold an Image using OpenCV

The cvThreshold function allows us to reject pixels above or below a set value while keeping the others. In this example the input image is separated into the RGB channels. Then we preform a threshold on the red channel, with a maximum value of 100. The result of this is that all the light areas of the image are removed.