Trait opencv::cudafeatures2d::CUDA_Feature2DAsync[][src]

pub trait CUDA_Feature2DAsync: Feature2DTrait {
    fn as_raw_CUDA_Feature2DAsync(&self) -> *const c_void;
fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void; fn detect_async(
        &mut self,
        image: &dyn ToInputArray,
        keypoints: &mut dyn ToOutputArray,
        mask: &dyn ToInputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
fn compute_async(
        &mut self,
        image: &dyn ToInputArray,
        keypoints: &mut dyn ToOutputArray,
        descriptors: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
fn detect_and_compute_async(
        &mut self,
        image: &dyn ToInputArray,
        mask: &dyn ToInputArray,
        keypoints: &mut dyn ToOutputArray,
        descriptors: &mut dyn ToOutputArray,
        use_provided_keypoints: bool,
        stream: &mut Stream
    ) -> Result<()> { ... }
fn convert(
        &mut self,
        gpu_keypoints: &dyn ToInputArray,
        keypoints: &mut Vector<KeyPoint>
    ) -> Result<()> { ... } }
Expand description

Abstract base class for CUDA asynchronous 2D image feature detectors and descriptor extractors.

Required methods

Provided methods

Detects keypoints in an image.

Parameters

  • image: Image.
  • keypoints: The detected keypoints.
  • mask: Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.
  • stream: CUDA stream.

C++ default parameters

  • mask: noArray()
  • stream: Stream::Null()

Computes the descriptors for a set of keypoints detected in an image.

Parameters

  • image: Image.
  • keypoints: Input collection of keypoints.
  • descriptors: Computed descriptors. Row j is the descriptor for j-th keypoint.
  • stream: CUDA stream.

C++ default parameters

  • stream: Stream::Null()

Detects keypoints and computes the descriptors.

C++ default parameters

  • use_provided_keypoints: false
  • stream: Stream::Null()

Converts keypoints array from internal representation to standard vector.

Implementors