Constant opencv::imgproc::GC_INIT_WITH_MASK

source ยท
pub const GC_INIT_WITH_MASK: i32 = 1;
Expand description

The function initializes the state using the provided mask. Note that GC_INIT_WITH_RECT and GC_INIT_WITH_MASK can be combined. Then, all the pixels outside of the ROI are automatically initialized with GC_BGD .