pub struct ConnectedComponents {
pub labels: LabelImage,
pub components: Vec<ComponentStats>,
}Expand description
Connected-component labeling output.
Fields§
§labels: LabelImagePer-pixel labels.
components: Vec<ComponentStats>Statistics ordered by positive label.
Trait Implementations§
Source§impl Clone for ConnectedComponents
impl Clone for ConnectedComponents
Source§fn clone(&self) -> ConnectedComponents
fn clone(&self) -> ConnectedComponents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectedComponents
impl Debug for ConnectedComponents
Source§impl PartialEq for ConnectedComponents
impl PartialEq for ConnectedComponents
Source§fn eq(&self, other: &ConnectedComponents) -> bool
fn eq(&self, other: &ConnectedComponents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectedComponents
Auto Trait Implementations§
impl Freeze for ConnectedComponents
impl RefUnwindSafe for ConnectedComponents
impl Send for ConnectedComponents
impl Sync for ConnectedComponents
impl Unpin for ConnectedComponents
impl UnsafeUnpin for ConnectedComponents
impl UnwindSafe for ConnectedComponents
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more