#[repr(C)]
pub enum DistanceTransformLabelTypes {
DIST_LABEL_CCOMP,
DIST_LABEL_PIXEL,
}Expand description
distanceTransform algorithm flags
Variants§
DIST_LABEL_CCOMP
each connected component of zeros in src (as well as all the non-zero pixels closest to the connected component) will be assigned the same label
DIST_LABEL_PIXEL
each zero pixel (and all the non-zero pixels closest to it) gets its own label.
Trait Implementations§
source§impl Clone for DistanceTransformLabelTypes
impl Clone for DistanceTransformLabelTypes
source§fn clone(&self) -> DistanceTransformLabelTypes
fn clone(&self) -> DistanceTransformLabelTypes
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 DistanceTransformLabelTypes
impl Debug for DistanceTransformLabelTypes
source§impl PartialEq<DistanceTransformLabelTypes> for DistanceTransformLabelTypes
impl PartialEq<DistanceTransformLabelTypes> for DistanceTransformLabelTypes
source§fn eq(&self, other: &DistanceTransformLabelTypes) -> bool
fn eq(&self, other: &DistanceTransformLabelTypes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.