[−][src]Function opencv::cudaimgproc::create_good_features_to_track_detector
pub fn create_good_features_to_track_detector(
src_type: i32,
max_corners: i32,
quality_level: f64,
min_distance: f64,
block_size: i32,
use_harris_detector: bool,
harris_k: f64
) -> Result<Ptr<dyn CUDA_CornersDetector>>
Creates implementation for cuda::CornersDetector .
Parameters
- srcType: Input source type. Only CV_8UC1 and CV_32FC1 are supported for now.
- maxCorners: Maximum number of corners to return. If there are more corners than are found, the strongest of them is returned.
- qualityLevel: Parameter characterizing the minimal accepted quality of image corners. The parameter value is multiplied by the best corner quality measure, which is the minimal eigenvalue (see cornerMinEigenVal ) or the Harris function response (see cornerHarris ). The corners with the quality measure less than the product are rejected. For example, if the best corner has the quality measure = 1500, and the qualityLevel=0.01 , then all the corners with the quality measure less than 15 are rejected.
- minDistance: Minimum possible Euclidean distance between the returned corners.
- blockSize: Size of an average block for computing a derivative covariation matrix over each pixel neighborhood. See cornerEigenValsAndVecs .
- useHarrisDetector: Parameter indicating whether to use a Harris detector (see cornerHarris) or cornerMinEigenVal.
- harrisK: Free parameter of the Harris detector.
C++ default parameters
- max_corners: 1000
- quality_level: 0.01
- min_distance: 0.0
- block_size: 3
- use_harris_detector: false
- harris_k: 0.04