mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
eliminate all the warnings on win32 and win64
add a new function abssum fix the bug of test and perf because someone remove non-free module from cmakelist.txt
This commit is contained in:
@@ -55,13 +55,13 @@
|
||||
#include "cvconfig.h"
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/calib3d/calib3d.hpp"
|
||||
//#include "opencv2/calib3d/calib3d.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/video/video.hpp"
|
||||
#include "opencv2/ts/ts.hpp"
|
||||
#include "opencv2/ts/ts_perf.hpp"
|
||||
#include "opencv2/ocl/ocl.hpp"
|
||||
#include "opencv2/nonfree/nonfree.hpp"
|
||||
//#include "opencv2/nonfree/nonfree.hpp"
|
||||
|
||||
#include "utility.hpp"
|
||||
#include "interpolation.hpp"
|
||||
|
||||
@@ -199,8 +199,8 @@ TEST_P(HOG, Detect)
|
||||
|
||||
int threshold = 10;
|
||||
int val = 32;
|
||||
d_comp[0] = d_found.size();
|
||||
comp[0] = found.size();
|
||||
d_comp[0] = (int)d_found.size();
|
||||
comp[0] = (int)found.size();
|
||||
if (winSize == cv::Size(48, 96))
|
||||
{
|
||||
for(int i = 0; i < (int)d_found.size(); i++)
|
||||
|
||||
@@ -213,8 +213,8 @@ COOR do_meanShift(int x0, int y0, uchar *sptr, uchar *dptr, int sstep, cv::Size
|
||||
dptr[3] = (uchar)c3;
|
||||
|
||||
COOR coor;
|
||||
coor.x = x0;
|
||||
coor.y = y0;
|
||||
coor.x = (short)x0;
|
||||
coor.y = (short)y0;
|
||||
return coor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user