-
Notifications
You must be signed in to change notification settings - Fork 15
/
resize.cpp
26 lines (22 loc) · 1.11 KB
/
resize.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//#####################################################################################//
//#####################################################################################//
//#####################################################################################//
//# Please include the Github Repositories web URL if you are using this material. #//
//#####################################################################################//
//#####################################################################################//
//#####################################################################################//
#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/cudaarithm.hpp"
#include "opencv2/cudafilters.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/cudawarping.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "all_header.h"
using namespace std;
using namespace cv;
void LANEDETECTION::resize_frame(cuda::GpuMat& src, cuda::GpuMat& dst, int resize_height, int resize_width)
{
cuda::resize(src, dst, Size(resize_width, resize_height));
}