pub fn detect_orb(
image: &Tensor,
config: &OrbConfig,
) -> Result<Vec<OrbFeature>, ImgProcError>Expand description
Detect ORB features (keypoints + descriptors). Input: [H, W] grayscale f32.
Returns Vec<OrbFeature>.
Detect ORB features: oriented FAST keypoints + rotated BRIEF descriptors.
Input must be a single-channel [H, W, 1] image.
- Build an image pyramid.
- At each level, run FAST-9 detection.
- Compute orientation via the intensity centroid method.
- Compute rotated BRIEF descriptors.
- Keep top
num_featuresby response across all levels. - Scale coordinates back to the original image.