Commit 1d79e131 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

removed dependecy from gpuarithm

parent 9498f820
......@@ -72,11 +72,11 @@ GPU_TEST_P(HistEven, Accuracy)
int hbins = 30;
float hranges[] = {0.0f, 180.0f};
std::vector<cv::gpu::GpuMat> srcs;
cv::gpu::split(loadMat(hsv), srcs);
std::vector<cv::Mat> srcs;
cv::split(hsv, srcs);
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;
int histSize[] = {hbins};
......
......@@ -55,7 +55,6 @@
#include "opencv2/ts/gpu_test.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/gpuarithm.hpp"
#include "opencv2/imgproc.hpp"
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment