pub trait FeatureExtractor {
type Image;
type Error;
// Required method
fn extract(&self, image: &Self::Image) -> Result<FeatureSet, Self::Error>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl FeatureExtractor for CornerFeatureExtractor
impl FeatureExtractor for CornerFeatureExtractor
type Image = GrayscaleImage
type Error = CornerFeatureError
Source§impl FeatureExtractor for HogLikeFeatureExtractor
Bridge to the classical FeatureExtractor trait so the deep extractor
can be plugged into any consumer that already accepts a FeatureSet.
impl FeatureExtractor for HogLikeFeatureExtractor
Bridge to the classical FeatureExtractor trait so the deep extractor
can be plugged into any consumer that already accepts a FeatureSet.
type Image = GrayscaleImage
type Error = HogLikeFeatureError
Source§impl<E> FeatureExtractor for MultiScaleDeepExtractor<E>where
E: DeepFeatureExtractor<Image = GrayscaleImage>,
Bridge to the classical FeatureExtractor trait — drops the per-
keypoint score and yields a FeatureSet for any consumer that does
not yet consume the deep interface.
impl<E> FeatureExtractor for MultiScaleDeepExtractor<E>where
E: DeepFeatureExtractor<Image = GrayscaleImage>,
Bridge to the classical FeatureExtractor trait — drops the per-
keypoint score and yields a FeatureSet for any consumer that does
not yet consume the deep interface.