enum cv::FloodFillFlags

Overview

floodfill algorithm flags Moreā€¦

#include <imgproc.hpp>

enum FloodFillFlags
{
    FLOODFILL_FIXED_RANGE = 1 <<16,
    FLOODFILL_MASK_ONLY   = 1 <<17,
};

Detailed Documentation

floodfill algorithm flags

Enum Values

FLOODFILL_FIXED_RANGE

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).

FLOODFILL_MASK_ONLY

If set, the function does not change the image ( newVal is ignored), and only fills the mask with the value specified in bits 8-16 of flags as described above. This option only make sense in function variants that have the mask parameter.