pub struct ImageFeatureExtractor { /* private fields */ }Expand description
Basic feature extractor for images
Implementations§
Source§impl ImageFeatureExtractor
impl ImageFeatureExtractor
Sourcepub fn with_edge_features(self, enabled: bool) -> Self
pub fn with_edge_features(self, enabled: bool) -> Self
Enable/disable edge feature extraction
Sourcepub fn with_histogram_features(self, enabled: bool, bins: usize) -> Self
pub fn with_histogram_features(self, enabled: bool, bins: usize) -> Self
Enable/disable histogram feature extraction
Sourcepub fn with_moment_features(self, enabled: bool) -> Self
pub fn with_moment_features(self, enabled: bool) -> Self
Enable/disable moment feature extraction
Trait Implementations§
Source§impl Clone for ImageFeatureExtractor
impl Clone for ImageFeatureExtractor
Source§fn clone(&self) -> ImageFeatureExtractor
fn clone(&self) -> ImageFeatureExtractor
Returns a duplicate 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 ImageFeatureExtractor
impl Debug for ImageFeatureExtractor
Auto Trait Implementations§
impl Freeze for ImageFeatureExtractor
impl RefUnwindSafe for ImageFeatureExtractor
impl Send for ImageFeatureExtractor
impl Sync for ImageFeatureExtractor
impl Unpin for ImageFeatureExtractor
impl UnwindSafe for ImageFeatureExtractor
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