CvArrFloodFill Method (CvPoint, CvScalar, 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 void FloodFill(
	CvPoint seedPoint,
	CvScalar newVal,
	CvScalar loDiff
)

Parameters

seedPoint
Type: OpenCvSharpCvPoint
The starting point.
newVal
Type: OpenCvSharpCvScalar
New value of repainted domain pixels.
loDiff
Type: OpenCvSharpCvScalar
Maximal lower brightness/color difference between the currently observed pixel and one of its neighbor belong to the component or seed pixel to add the pixel to component. In case of 8-bit color images it is packed value.
See Also

Reference