Trait opencv::prelude::CUDA_CornersDetector
source · pub trait CUDA_CornersDetector: AlgorithmTrait + CUDA_CornersDetectorConst {
// Required method
fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void;
// Provided method
fn detect(
&mut self,
image: &dyn ToInputArray,
corners: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()> { ... }
}
Expand description
Base class for Corners Detector. :
Required Methods§
fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void
Provided Methods§
sourcefn detect(
&mut self,
image: &dyn ToInputArray,
corners: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn detect( &mut self, image: &dyn ToInputArray, corners: &mut dyn ToOutputArray, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>
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()