OpenCV从每一张连续的图像中截取出特定区域
发布时间
阅读量:
阅读量
以下示例展示了如何在多张连续图像中提取并存储特定区域的内容。
#include "stdafx.h"
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/ml/ml.hpp>
using namespace std;
using namespace cv;
#define SamNO 13233 //需处理的图像数量
int _tmain(int argc, _TCHAR* argv[])
{
string ImgName;
string DstName;
int temp=1;
char name[10];
全部评论 (0)
还没有任何评论哟~
