non-const argument in cv::gpu::ORB_GPU::downloadKeyPoints (Bug #2376)


Added by Adam Babinec over 12 years ago. Updated over 12 years ago.


Status:Done Start date:2012-09-20
Priority:Normal Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:gpu (cuda)
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Method static void downloadKeyPoints(GpuMat& d_keypoints, std::vector<KeyPoint>& keypoints) of class cv::gpu::ORB_GPU has the first argument of non-const type. It would be very useful to change the type of this argument to const GpuMat& as the passed object by the reference is not modified inside the method. Reasons to do so:
1. One may want to pass the const GpuMat object to the method.
2. The corresponding method in class cv::gpu::SURF_GPU has the first argument of const type.


Associated revisions

Revision 6f175a3c
Added by Vladislav Vinogradov over 12 years ago

changed the type of the arguments to const reference (Bug #2376)

ORB_GPU::downloadKeyPoints
ORB_GPU::convertKeyPoints

Revision ad662337
Added by Roman Donchenko about 11 years ago

Merge pull request #2376 from GrinIara:master

History

Updated by Vladislav Vinogradov over 12 years ago

  • Status changed from Open to Done
  • Target version deleted (2.4.3)
  • Assignee changed from Anatoly Baksheev to Vladislav Vinogradov

Also available in: Atom PDF