orb

arrayfire.orb(image: Array, /, fast_threshold: float = 20.0, max_features: int = 400, scale_factor: float = 1.5, n_levels: int = 4, blur_image: bool = False) tuple[Features, Array]

Extracts ORB features and their descriptors from an image.

Parameters

imageArray

The input image as a 2D ArrayFire array.

fast_thresholdfloat, default=20.0

The FAST keypoint detection threshold.

max_featuresint, default=400

The maximum number of keypoints to detect.

scale_factorfloat, default=1.5

The scale factor between levels in the image pyramid.

n_levelsint, default=4

The number of levels in the image pyramid.

blur_imagebool, default=False

If True, the image is blurred before keypoint detection.

Returns

tuple[Features, Array]

A tuple containing: - An ArrayFire Features object with detected keypoints. - An ArrayFire Array with corresponding descriptors.