mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
gpu device layer code refactoring
This commit is contained in:
@@ -95,9 +95,7 @@ namespace
|
||||
|
||||
img_cols(img.cols), img_rows(img.rows),
|
||||
|
||||
use_mask(!mask.empty()),
|
||||
|
||||
upright(surf.upright)
|
||||
use_mask(!mask.empty())
|
||||
{
|
||||
CV_Assert(!img.empty() && img.type() == CV_8UC1);
|
||||
CV_Assert(mask.empty() || (mask.size() == img.size() && mask.type() == CV_8UC1));
|
||||
@@ -224,8 +222,6 @@ namespace
|
||||
|
||||
bool use_mask;
|
||||
|
||||
bool upright;
|
||||
|
||||
int maxCandidates;
|
||||
int maxFeatures;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user