From 1c8b1b2d2bc25e8fc527e25e2d3cbb412683818b Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Thu, 14 Jul 2016 15:48:08 +0300 Subject: [PATCH] add note about "maxCorners <= 0" case in goodFeaturesToTrack --- modules/imgproc/include/opencv2/imgproc.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 346c8e44f1..807a4be906 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -1828,7 +1828,8 @@ with qualityLevel=B . @param image Input 8-bit or floating-point 32-bit, single-channel image. @param corners Output vector of detected corners. @param maxCorners Maximum number of corners to return. If there are more corners than are found, -the strongest of them is returned. +the strongest of them is returned. `maxCorners <= 0` implies that no limit on the maximum is set +and all detected corners are returned. @param 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