non-const argument in cv::gpu::ORB_GPU::downloadKeyPoints (Bug #2376)
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
changed the type of the arguments to const reference (Bug #2376)
ORB_GPU::downloadKeyPoints
ORB_GPU::convertKeyPoints
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