mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
replaced GPU -> CUDA
This commit is contained in:
@@ -118,7 +118,7 @@ private:
|
||||
|
||||
cuda::GpuMat image_;
|
||||
cuda::GpuMat gray_image_;
|
||||
cuda::SURF_GPU surf_;
|
||||
cuda::SURF_CUDA surf_;
|
||||
cuda::GpuMat keypoints_;
|
||||
cuda::GpuMat descriptors_;
|
||||
int num_octaves_, num_layers_;
|
||||
|
||||
@@ -211,7 +211,7 @@ void GpuMatcher::match(const ImageFeatures &features1, const ImageFeatures &feat
|
||||
descriptors1_.upload(features1.descriptors);
|
||||
descriptors2_.upload(features2.descriptors);
|
||||
|
||||
BFMatcher_GPU matcher(NORM_L2);
|
||||
BFMatcher_CUDA matcher(NORM_L2);
|
||||
MatchesSet matches;
|
||||
|
||||
// Find 1->2 matches
|
||||
|
||||
Reference in New Issue
Block a user