Show / Hide Table of Contents

Enum FloodFillFlags

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.dll
Syntax
public enum FloodFillFlags

Fields

Name Description
FixedRange

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]

Link4

4-connected line. [= 4]

Link8

8-connected line. [= 8]

MaskOnly

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]

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX