pub struct LocalBinaryPatternExtractor { /* private fields */ }Expand description
Local Binary Pattern (LBP) feature extractor
Implementations§
Trait Implementations§
Source§impl FeatureExtractor for LocalBinaryPatternExtractor
impl FeatureExtractor for LocalBinaryPatternExtractor
Source§fn extract_features(
&self,
image_data: &[f64],
dimensions: (usize, usize, usize),
) -> NeighborsResult<Array1<f64>>
fn extract_features( &self, image_data: &[f64], dimensions: (usize, usize, usize), ) -> NeighborsResult<Array1<f64>>
Extract features from image data Read more
Source§fn feature_dimension(&self) -> usize
fn feature_dimension(&self) -> usize
Get the dimensionality of extracted features
Auto Trait Implementations§
impl Freeze for LocalBinaryPatternExtractor
impl RefUnwindSafe for LocalBinaryPatternExtractor
impl Send for LocalBinaryPatternExtractor
impl Sync for LocalBinaryPatternExtractor
impl Unpin for LocalBinaryPatternExtractor
impl UnwindSafe for LocalBinaryPatternExtractor
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> 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