vpi.Image.fastcorners
- Image.fastcorners(self: vpi.Image, backend: vpi.Backend = vpi.Backend.DEFAULT, out: vpi.Array = None, circle_radius: int = 3, arc_length: int = 9, intensity_threshold: float = 10.0, non_max_suppression: bool = True, border: vpi.Border = vpi.Border.LIMITED, stream: vpi.Stream = None) vpi.Array
Runs FAST corner detector on the image.
See also
Refer to the algorithm explanation for more details and usage examples.
- Parameters
out (vpi.Array, optional) – Array that will receive the detected corners. Array size is updated with the number of corners found.
circle_radius (int, optional) – Circle radius around a pixel to check if it is a corner.
arc_length (int, optional) – Arc length in pixels over the circle to check central pixel is a corner.
intensity_threshold (float, optional) – Intensity threshold to select a pixel as being part of the arch in circle around a corner keypoint candidate.
non_max_suppression (bool, optional) – Whether to apply non-maximum suppression to remove corners too close together.
border (vpi.Border, optional) – The border extension used by the algorithm.
backend (vpi.Backend, optional) – The backend to be used by the algorithm.
stream (vpi.Stream, optional) – The stream to be used by the algorithm.
- Returns
The output array with the corners computed by the algorithm.
- Return type
Caution
Restrictions to several arguments may apply. Check the C API references of the submit function and the group concepts for more details.