[][src]Trait opencv::cudaimgproc::CUDA_CornersDetector

pub trait CUDA_CornersDetector: AlgorithmTrait {
    pub fn as_raw_CUDA_CornersDetector(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void; pub fn detect(
        &mut self,
        image: &dyn ToInputArray,
        corners: &mut dyn ToOutputArray,
        mask: &dyn ToInputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Base class for Corners Detector. :

Required methods

Loading content...

Provided methods

pub fn detect(
    &mut self,
    image: &dyn ToInputArray,
    corners: &mut dyn ToOutputArray,
    mask: &dyn ToInputArray,
    stream: &mut Stream
) -> Result<()>
[src]

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()
Loading content...

Implementors

Loading content...