Click or drag to resize

Cv2FloodFill Method (InputOutputArray, Point, Scalar)

Fills a connected component with the given color.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static int FloodFill(
	InputOutputArray image,
	Point seedPoint,
	Scalar newVal
)

Parameters

image
Type: OpenCvSharpInputOutputArray
Input/output 1- or 3-channel, 8-bit, or floating-point image. It is modified by the function unless the FLOODFILL_MASK_ONLY flag is set in the second variant of the function. See the details below.
seedPoint
Type: OpenCvSharpPoint
Starting point.
newVal
Type: OpenCvSharpScalar
New value of the repainted domain pixels.

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FloodFill(OpenCvSharp.InputOutputArray,OpenCvSharp.Point,OpenCvSharp.Scalar)"]

See Also