First time here? Check out the FAQ!
answered 2015-06-19 13:40:03 -0600
Check cv::floodFill and
An example using the FloodFill technique can be found at opencv_source_code/samples/cpp/ffilldemo.cpp