removed dependecy from gpuarithm
This commit is contained in:
parent
9498f82085
commit
1d79e13133
@ -72,11 +72,11 @@ GPU_TEST_P(HistEven, Accuracy)
|
|||||||
int hbins = 30;
|
int hbins = 30;
|
||||||
float hranges[] = {0.0f, 180.0f};
|
float hranges[] = {0.0f, 180.0f};
|
||||||
|
|
||||||
std::vector<cv::gpu::GpuMat> srcs;
|
std::vector<cv::Mat> srcs;
|
||||||
cv::gpu::split(loadMat(hsv), srcs);
|
cv::split(hsv, srcs);
|
||||||
|
|
||||||
cv::gpu::GpuMat hist;
|
cv::gpu::GpuMat hist;
|
||||||
cv::gpu::histEven(srcs[0], hist, hbins, (int)hranges[0], (int)hranges[1]);
|
cv::gpu::histEven(loadMat(srcs[0]), hist, hbins, (int)hranges[0], (int)hranges[1]);
|
||||||
|
|
||||||
cv::MatND histnd;
|
cv::MatND histnd;
|
||||||
int histSize[] = {hbins};
|
int histSize[] = {hbins};
|
||||||
|
@ -55,7 +55,6 @@
|
|||||||
#include "opencv2/ts/gpu_test.hpp"
|
#include "opencv2/ts/gpu_test.hpp"
|
||||||
|
|
||||||
#include "opencv2/gpuimgproc.hpp"
|
#include "opencv2/gpuimgproc.hpp"
|
||||||
#include "opencv2/gpuarithm.hpp"
|
|
||||||
#include "opencv2/imgproc.hpp"
|
#include "opencv2/imgproc.hpp"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user