CvFloodFill Method (CvArr, CvPoint, CvScalar) OpenCvSharp Class Library
Fills a connected component with given color.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void FloodFill(
	CvArr image,
	CvPoint seedPoint,
	CvScalar newVal
)

Parameters

image
Type: OpenCvSharpCvArr
Input 1- or 3-channel, 8-bit or floating-point image. It is modified by the function unless CV_FLOODFILL_MASK_ONLY flag is set.
seedPoint
Type: OpenCvSharpCvPoint
The starting point.
newVal
Type: OpenCvSharpCvScalar
New value of repainted domain pixels.
See Also

Reference