mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Merge pull request #1082 from jet47:gpu-warnings-fix
This commit is contained in:
commit
decd0c753a
@ -51,6 +51,8 @@
|
||||
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
||||
#define __OPENCV_TEST_PRECOMP_HPP__
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "opencv2/ts.hpp"
|
||||
#include "opencv2/ts/gpu_test.hpp"
|
||||
|
||||
|
@ -98,8 +98,8 @@ namespace
|
||||
int getPreFilterCap() const { return preFilterCap_; }
|
||||
void setPreFilterCap(int preFilterCap) { preFilterCap_ = preFilterCap; }
|
||||
|
||||
int getTextureThreshold() const { return avergeTexThreshold_; }
|
||||
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = textureThreshold; }
|
||||
int getTextureThreshold() const { return static_cast<int>(avergeTexThreshold_); }
|
||||
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = static_cast<float>(textureThreshold); }
|
||||
|
||||
int getUniquenessRatio() const { return 0; }
|
||||
void setUniquenessRatio(int /*uniquenessRatio*/) {}
|
||||
|
Loading…
Reference in New Issue
Block a user