- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 使用鼠标绘制矩形
#include #include "cv.h"#include "highgui.h"void mouse_draw(int event, int x, int y, int flag, void* img);IplImage* draw_board;IplImage* last_img;bool is_drawing = false;CvPoint p1;CvPoint p
2014-04-16 18:33:18
700
转载 CvScalar结构
CvScalar定义可存放1—4个数值的数值,其结构如下。typedef struct CvScalar{ double val[4];}CvScalar;------------------------------------------------CvScalar pt;如果使用的图像是1通道的,则pt.val[0]中存储数据如果使用的图像是3
2014-04-12 22:02:48
547
原创 中缀表达式转后缀表达式及后缀表达式的计算
#include #include #include using namespace std;void inToSuffix(const char* mid, char* suf);double calSuffix(const char* str);template class Stack{private: T *ar; int Max; int n
2013-11-12 15:26:11
659
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人