| MatFloodFill Method (InputOutputArray, Point, Scalar) | 
        
         
            Fills a connected component with the given color.
            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.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic int FloodFill(
	InputOutputArray mask,
	Point seedPoint,
	Scalar newVal
)
Public Function FloodFill ( 
	mask As InputOutputArray,
	seedPoint As Point,
	newVal As Scalar
) As Integer
public:
int FloodFill(
	InputOutputArray^ mask, 
	Point seedPoint, 
	Scalar newVal
)
member FloodFill : 
        mask : InputOutputArray * 
        seedPoint : Point * 
        newVal : Scalar -> int 
function FloodFill(mask, seedPoint, newVal);
Parameters
- mask
- Type: OpenCvSharpInputOutputArray
 (For the second function only) Operation mask that should be a single-channel 8-bit image, 
            2 pixels wider and 2 pixels taller. The function uses and updates the mask, so you take responsibility of 
            initializing the mask content. Flood-filling cannot go across non-zero pixels in the mask. For example, 
            an edge detector output can be used as a mask to stop filling at edges. It is possible to use the same mask 
            in multiple calls to the function to make sure the filled area does not overlap.
- seedPoint
- Type: OpenCvSharpPoint
 Starting point.
- newVal
- Type: OpenCvSharpScalar
 New value of the repainted domain pixels.
Return Value
Type: 
Int32 See Also
See Also