GoodFeaturesToTrackDetector_GPU fails when no corners found. (Bug #2581)


Added by Justin Muncaster over 12 years ago. Updated about 12 years ago.


Status:Done Start date:2012-11-28
Priority:Normal Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:gpu (cuda)
Target version:2.4.3.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:https://github.com/Itseez/opencv/pull/196

Description

In GoodFeaturesToTrackDetector_GPU::operator() corners are (1) first found by computing locations with minimal eigenvalues and then (2) filtered according to a cell grid to force a minimal distance between feature points.

Step (2) is only executed if the 'minDistance' parameter is >= 1.

A uniform-colored image would cause no corners to be found. If step (2) is executed when no corners were found, this function fails (debug assertion is triggered) when executing the line:

Mat tmpMat(1, total, CV_32FC2, (void*)&tmp[0]);

Associated revisions

Revision 362655b0
Added by Vladislav Vinogradov over 12 years ago

fixed Bug #2581

GoodFeaturesToTrackDetector_GPU fails when no corners found

Revision c646bd4b
Added by Andrey Kamaev over 12 years ago

Merge pull request #196 from jet47/gpu-bug-2581

fixed Bug #2581

Revision f7f45939
Added by Andrey Pavlenko almost 11 years ago

Merge pull request #2581 from vbystricky:ipp_moments

History

Updated by Vladislav Vinogradov over 12 years ago

  • Category set to gpu (cuda)
  • Assignee set to Vladislav Vinogradov

Updated by Kirill Kornyakov over 12 years ago

  • Target version set to 2.4.4

Updated by Vladislav Vinogradov over 12 years ago

  • Status changed from Open to Done

Updated by Evgeny Talanin over 12 years ago

  • Pull request set to https://github.com/Itseez/opencv/pull/196

Updated by Andrey Kamaev about 12 years ago

  • Target version changed from 2.4.4 to 2.4.3.1

Also available in: Atom PDF