pub trait CUDA_CornersDetector: AlgorithmTrait + CUDA_CornersDetectorConst {
    fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void;

    fn detect(
        &mut self,
        image: &dyn ToInputArray,
        corners: &mut dyn ToOutputArray,
        mask: &dyn ToInputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Required Methods§

Provided Methods§

Determines strong corners on an image.

Parameters
  • image: Input 8-bit or floating-point 32-bit, single-channel image.
  • corners: Output vector of detected corners (1-row matrix with CV_32FC2 type with corners positions).
  • mask: Optional region of interest. If the image is not empty (it needs to have the type CV_8UC1 and the same size as image ), it specifies the region in which the corners are detected.
  • stream: Stream for the asynchronous version.
C++ default parameters
  • mask: noArray()
  • stream: Stream::Null()

Implementors§