| FloodFillFlags Enumeration |
floodFill Operation flags. Lower bits contain a connectivity value, 4 (default) or 8, used within the function. Connectivity determines which neighbors of a pixel are considered. Upper bits can be 0 or a combination of the following flags:
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax [FlagsAttribute]
public enum FloodFillFlags
<FlagsAttribute>
Public Enumeration FloodFillFlags
[FlagsAttribute]
public enum class FloodFillFlags
[<FlagsAttribute>]
type FloodFillFlags
Members
| Member name | Value | Description |
---|
| Link4 | 4 |
4-connected line.
[= 4]
|
| Link8 | 8 |
8-connected line.
[= 8]
|
| FixedRange | 65536 |
If set, the difference between the current pixel and seed pixel is considered. Otherwise, the difference between neighbor pixels is considered (that is, the range is floating).
[CV_FLOODFILL_FIXED_RANGE]
|
| MaskOnly | 131072 |
If set, the function does not change the image ( newVal is ignored), but fills the mask. The flag can be used for the second variant only.
[CV_FLOODFILL_MASK_ONLY]
|
See Also