- 博客(28)
- 资源 (2353)
- 收藏
- 关注
原创 一维颜色分布直方图
// 一维颜色分布直方图.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include using namespace std;int main(int argc, char* argv[]){ IplImage * src=
2016-03-24 10:45:08 1004
原创 颜色空间分布直方图
// 颜色空间分布直方图.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include using namespace std;int main(int argc, char* argv[]){ IplImage * src=
2016-03-24 10:43:33 1785
原创 图像颜色分布直方图
// 图像颜色分布直方图.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include using namespace std;int main(int argc, char* argv[]){ IplImage * src
2016-03-24 10:41:05 489
原创 图像旋转与缩放
// 图像旋转与缩放.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highgui.h"#include "math.h"int main(int argc, char* argv[
2016-03-24 10:39:30 449
原创 鼠标截图
// 鼠标截取图像.cpp : Defines the entry point for the console application.//#include "stdafx.h" #include "cv.h" #include "highgui.h" #include #include bool drawing = false;CvRect rect;CvPoint o
2016-03-24 10:37:27 496
原创 鼠标事件回放
#include "stdafx.h"#ifdef _CH_#pragma package #endif#include "cv.h"#include "highgui.h"#include #include IplImage* inpaint_mask = 0;IplImage* img0 = 0, *img = 0, *inpainted = 0;CvPoint pre
2016-03-24 10:32:12 356
原创 视频 背景建模,运动物体检测
/************************************************** * 背景建模,运动物体检测 * **************************************************/ /********************************************************************
2016-03-24 10:29:41 853
原创 人脸识别 cam
#include "stdafx.h"#include "cv.h"#include "highgui.h"#include #include #include #include //用于防御式编程#include #include //与一样是定义边界值的,定义的是浮点数的边界值#include #include #include //在调用字符函数时,在源文件中包含的
2016-03-24 10:22:32 939
原创 人脸识别
// 人脸识别.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "highgui.h"#include static CvHaarClassifierCascade* cascade = 0;static CvMemStor
2016-03-24 10:19:48 454
原创 轮廓5
// 轮廓提取2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highg
2016-03-24 10:17:09 356
原创 轮廓4
#include "cv.h" #include "highgui.h" #include "cxcore.h" #include #include int main( int argc, char** argv ) { int i, j; CvMemStorage* storage = cvCreateMemStorage(0);
2016-03-24 10:15:10 351
原创 轮廓3
#include "cv.h"#include "cxcore.h"#include "highgui.h"#include #define w 500int levels = 3;CvSeq* contours = 0; void on_trackbar(int pos){ IplImage* cnt_img = cvCreateImage( cvSize(w,w)
2016-03-24 10:12:59 294
原创 轮廓2
// 轮廓2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highgui.h"int main(int argc, char* argv[]){ //声明IplImage指针
2016-03-24 10:10:46 307
原创 轮廓1
// 轮廓.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highgui.h"int main(int argc, char* argv[]){ int i,j; //声明Ipl
2016-03-24 10:08:31 335
原创 读视频文件和运动物体检测cvCaptureFromCAM cvQueryFrame
// 读视频文件和运动物体检测.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include "cv.h"#include "cxcore.h"#include "highgui.h"int main(int argc, char* argv[])
2016-03-24 09:58:57 1564
原创 cvCamShift得到掩膜内的反向投影
// camshift.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "stdio.h"#include "ctype.h"IplImage *image=0,*hsv=0,*hue
2016-03-24 09:55:38 665
原创 cvCalcHist计算和显示彩色图像的 2D 色调-饱和度图像
// calcbackprojectt.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "cxcore.h"//#include "opencv2"int mai
2016-03-24 09:51:58 992
原创 cvSnakeImage
// TrainingTools.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include #include #include #include #include #include IplImage *image = 0 ; //原始图像IplImage *image2 = 0 ; //原始图像copy using na
2016-03-24 09:41:41 824
原创 hough变换
// Hough.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highgui.h"int main(int argc, char* argv[]){ const char* fi
2016-03-24 09:34:18 347
原创 canny边沿检测2
#include "cv.h"#include "highgui.h"char wndname[] = "Edge";char tbarname[] = "Threshold";int edge_thresh = 1;IplImage *image = 0, *cedge = 0, *gray = 0, *edge = 0;// 定义跟踪条的 callback 函数void o
2016-03-24 09:27:14 318
原创 验证码识别
项目背景:针对互联网站上需要填写验证码的应用,当时的验证码图像背景干扰不是很明显,识别类型保存数字识别,数学运算例图:具体实施方案:1.、图像二值化,针对图像特点,选择的是OSTU的二值化方法;2、去除干扰连通区域,主要基于区域的宽、高尺寸特征以及面积大小特征,去除典型非数字区域;3、字符分割,基于垂直投影法;4、数字识别,基于模板匹配算法,因为数字较为清晰且只
2016-03-23 16:45:06 421
原创 cvfindcontours边沿检测
#include #include int main() { IplImage* src = NULL; IplImage* img = NULL; IplImage* dst = NULL; CvMemStorage* storage = cvCreat
2016-03-23 16:31:07 263
原创 Laplace算子
#include "StdAfx.h" #include "cv.h" #include "highgui.h" #include "stdio.h" #include "stdlib.h" int main(int argc, char ** argv) { IplImage * src, *dst ;
2016-03-23 16:14:45 374
原创 sobel算子
#include "stdafx.h"#include "highgui.h"#include "cv.h" void Soble(IplImage *img,IplImage* gradientImage){ IplImage* H = cvCreateImage(cvGetSize(img), 32,1); IplImage* V =
2016-03-23 15:59:46 489
原创 canny边沿检测
#include "stdafx.h" #include #include #include #include int main(int argc ,char ** argv){ IplImage * pImg=NULL; IplImage * pCannyImg=NULL; if (pImg=cvLoadImage("F:\\vc\\cv\
2016-03-23 15:47:46 307
原创 显示一幅图像
#include"cv.h"#include"highgui.h"int main(int argc,char**argv){IplImage*img=cvLoadImage("F:\\vc\\cv\\adc.jpg",1);if(NULL==img)exit(1); //if (argc==2&&(pImg==cvLoadImage(argv[1],1))!=0) //{
2016-03-23 15:30:33 360
原创 opencv
一 数据结构1.1 cvpoint1.2 cvpoint2d32f1.3 cvpoint3d32f1.4 cvsize1.5 cvsize2d32f1.6 cvrect1.7 cvscalar1.8 cvtermcriteria1.9 cvmat1.10 cvmatnd1.11 cvsparsemat1.12 iplimage1.13 cvarr
2016-03-21 09:05:25 650
原创 matlab编程
1.For 循环 For循环允许一条语句或一组语句被重复执行预先指定的次数。For循环的一般形式是: for x =array 语句 end在for和end语句之间的语句按数组中的每一列执行一次。在每一次迭代中,x被指定为数组的下一列,即在第n次循环中,x=array(:, n)。例
2016-03-14 15:29:41 6556 1
arm so注入代码
2018-06-22
32机器pe hook以及进程调试工具源代码
2016-09-03
linux x86平台elf 进程注入so并且实现基于rel的hook ubuntu14.01测试通过
2016-08-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人