imageprocess.h
来自「用于系统跟踪的程序」· C头文件 代码 · 共 55 行
H
55 行
#include <cv.h>
#include "ConfigFile.h"
#include "RT.h"
#include "aglrothim.h"
#include "highgui.h"
#include "ConnArea.h"
#include <iostream>
#include "highgui.h"
#include "square.h"
#include "PointForCompute.h"
#include "LineMarker.h"
class CImageProc
{
public:
//处理图像
IplImage* CImageProc::proc(IplImage* img,double& ScrX,double& ScrY,int ScreenWidth,int ScreenHeight);
CImageProc();
bool IsErrorCeil;
bool IsErrorWall;
bool IsError;
IplImage *gray;//灰度图象
IplImage *ImgTemp;//灰度图象
//IplImage *resultimg = 0;//灰度图象
ConnArea points[MAXCONNNUMBER];
CLineMarker linemarkers[MAXLINEMARKERCONNNUMBER];
Square lastCenterSquare;
ConnArea NewPoint;
PointForCompute pointForCompute[MAXPOINTFOTCOMPUTECOUNT];
int pointForComputeCount;
int line_type; // change it to 8 to see non-antialiased graphic
char info[80];
CvFont font;
CvRNG rng;
CvPoint pt1;
bool isFirst;
CvPoint DrawLin1[300];
CvPoint DrawLin2[300];
int DrawLineCount;
long ImageNumber;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?