对图像进行上采样和下采样
代码如下:
//:code:caiyang.cpp
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <math.h>
#include <stdlib.h>
#include <iostream>
using namespace cv;
using namespace std;
const char* window_name="homework_two";
int main(int argc,