enum cv::GrabCutClasses

Overview

class of the pixel in GrabCut algorithm Moreā€¦

#include <imgproc.hpp>

enum GrabCutClasses
{
    GC_BGD    = 0,
    GC_FGD    = 1,
    GC_PR_BGD = 2,
    GC_PR_FGD = 3,
};

Detailed Documentation

class of the pixel in GrabCut algorithm

Enum Values

GC_BGD

an obvious background pixels

GC_FGD

an obvious foreground (object) pixel

GC_PR_BGD

a possible background pixel

GC_PR_FGD

a possible foreground pixel