Enum opencv::imgproc::FloodFillFlags
source · #[repr(C)]
pub enum FloodFillFlags {
FLOODFILL_FIXED_RANGE,
FLOODFILL_MASK_ONLY,
}Expand description
floodfill algorithm flags
Variants§
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.
Trait Implementations§
source§impl Clone for FloodFillFlags
impl Clone for FloodFillFlags
source§fn clone(&self) -> FloodFillFlags
fn clone(&self) -> FloodFillFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FloodFillFlags
impl Debug for FloodFillFlags
source§impl PartialEq<FloodFillFlags> for FloodFillFlags
impl PartialEq<FloodFillFlags> for FloodFillFlags
source§fn eq(&self, other: &FloodFillFlags) -> bool
fn eq(&self, other: &FloodFillFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.