pub trait DeepFeatureExtractor {
type Image;
type Error;
// Required method
fn extract_deep(
&self,
image: &Self::Image,
) -> Result<DeepFeatureSet, Self::Error>;
}Expand description
Deep-style frontend trait: produces keypoints with per-feature scores and unit-norm descriptors. Mirrors the output contract of SuperPoint/DISK so an ONNX-backed implementation can drop in later without touching consumers.
Required Associated Types§
Required Methods§
fn extract_deep( &self, image: &Self::Image, ) -> Result<DeepFeatureSet, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl DeepFeatureExtractor for CornerDeepAdapter
impl DeepFeatureExtractor for CornerDeepAdapter
type Image = GrayscaleImage
type Error = CornerFeatureError
Source§impl DeepFeatureExtractor for HogLikeFeatureExtractor
impl DeepFeatureExtractor for HogLikeFeatureExtractor
type Image = GrayscaleImage
type Error = HogLikeFeatureError
Source§impl DeepFeatureExtractor for SuperPointOnnxExtractor
Available on crate feature onnx-inference only.
impl DeepFeatureExtractor for SuperPointOnnxExtractor
Available on crate feature
onnx-inference only.