摘要:
// Note:颜色分割:提取特定颜色/////////////////////////////////////////////////////////////////////////////void CColorSegDlg::ColorSegByHSV(IplImage* img)// 提取特定颜色{//====================== 变量定义====================//int x,y; //循环//====================== 输入彩色图像信息====================//IplImage* pSrc = NULL;pSrc = 阅读全文
posted @ 2011-12-07 21:35
carekee
阅读(3113)
评论(0)
推荐(1)
摘要:
//检测RGB区域代码#include "cv.h"#include "highgui.h"#include <math.h>#include <string.h>#include <iostream> IplImage* img =NULL;IplImage* img0 =NULL;IplImage* pic = NULL;CvMemStorage* storage =NULL;const char * wndname = "RGB检测 Demo";char* names[] = { " 阅读全文
posted @ 2011-12-07 21:33
carekee
阅读(3606)
评论(0)
推荐(1)
摘要:
//圆形检测代码demo//载入数张包含各种形状的图片,检测出其中的圆形 #include "cv.h"#include "highgui.h"#include <math.h>#include <string.h>#include <iostream>int thresh = 50;IplImage* img =NULL;IplImage* img0 = NULL;IplImage * pImg8u=NULL;CvMemStorage* storage =NULL;const char * wndname = &qu 阅读全文
posted @ 2011-12-07 21:32
carekee
阅读(8745)
评论(0)
推荐(0)
摘要:
//正方形检测源码//载入数张包含各种形状的图片,检测出其中的正方形 #include "cv.h"#include "highgui.h"#include <stdio.h>#include <math.h>#include <string.h>#include <iostream>int thresh = 50;IplImage* img =NULL;IplImage* img0 = NULL;CvMemStorage* storage =NULL;const char * wndname = &quo 阅读全文
posted @ 2011-12-07 21:32
carekee
阅读(9279)
评论(0)
推荐(0)
摘要:
//三角形检测代码//载入数张包含各种形状的图片,检测出其中的三角形 #include "cv.h"#include "highgui.h"#include <stdio.h>#include <math.h>#include <string.h>#include <iostream>int thresh = 50;IplImage* img =NULL;IplImage* img0 = NULL;CvMemStorage* storage =NULL;const char * wndname = &quo 阅读全文
posted @ 2011-12-07 21:31
carekee
阅读(4978)
评论(1)
推荐(1)
摘要:
一.简单批处理内部命令简介 1.Echo 命令打开回显或关闭请求回显功能,或显示消息。如果没有任何参数,echo 命令将显示当前回显设置。 语法echo [{on│off}] [message] Sample:@echo off / echo hello world 在实际应用中我们会把这条命令和重定向符号(也称为管道符号,一般用> >> ^)结合来实现输入一些命令到特定格式的文件中.这将在以后的例子中体现出来。2.@ 命令表示不显示@ 后面的命令,在入侵过程中(例如使用批处理来格式化敌人的硬盘)自然不能让对方看到你使用的命令啦 。Sample:@echo off @echo 阅读全文
posted @ 2011-12-07 13:46
carekee
阅读(450)
评论(0)
推荐(0)
浙公网安备 33010602011771号