Merge pull request #9618 from vipinanand4:goodFeaturesToTrack_added_gradiantSize
Added gradiantSize param into goodFeaturesToTrack API (#9618) * Added gradiantSize param into goodFeaturesToTrack API Removed hardcode value 3 in goodFeaturesToTrack API, and added new param 'gradinatSize' in this API so that user can pass any gradiant size as 3, 5 or 7. Signed-off-by: Vipin Anand <anand.vipin@gmail.com> Signed-off-by: Nilaykumar Patel<nilay.nilpat@gmail.com> Signed-off-by: Prashanth Voora <prashanthx85@gmail.com> * fixed compilation error for java test Signed-off-by: Vipin Anand <anand.vipin@gmail.com> * Modifying code for previous binary compatibility and fixing other warnings fixed ABI break issue resolved merged conflict compilation error fix Signed-off-by: Vipin Anand <anand.vipin@gmail.com> Signed-off-by: Patel, Nilaykumar K <nilay.nilpat@gmail.com>
This commit is contained in:
committed by
Alexander Alekhin
parent
50aa4f8887
commit
39e742765a
@@ -59,7 +59,7 @@ void goodFeaturesToTrack_Demo( int, void* )
|
||||
vector<Point2f> corners;
|
||||
double qualityLevel = 0.01;
|
||||
double minDistance = 10;
|
||||
int blockSize = 3;
|
||||
int blockSize = 3, gradiantSize = 3;
|
||||
bool useHarrisDetector = false;
|
||||
double k = 0.04;
|
||||
|
||||
@@ -75,6 +75,7 @@ void goodFeaturesToTrack_Demo( int, void* )
|
||||
minDistance,
|
||||
Mat(),
|
||||
blockSize,
|
||||
gradiantSize,
|
||||
useHarrisDetector,
|
||||
k );
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ void goodFeaturesToTrack_Demo( int, void* )
|
||||
vector<Point2f> corners;
|
||||
double qualityLevel = 0.01;
|
||||
double minDistance = 10;
|
||||
int blockSize = 3;
|
||||
int blockSize = 3, gradiantSize = 3;
|
||||
bool useHarrisDetector = false;
|
||||
double k = 0.04;
|
||||
|
||||
@@ -75,6 +75,7 @@ void goodFeaturesToTrack_Demo( int, void* )
|
||||
minDistance,
|
||||
Mat(),
|
||||
blockSize,
|
||||
gradiantSize,
|
||||
useHarrisDetector,
|
||||
k );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user