自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (1)
  • 收藏
  • 关注

转载 vector

template > class vector; 这两个参数的意义:T: 元素的类型Allocator: 元素所要分配的空间大小。下面就一一介绍Vector的内部方法[cpp] view plaincopy1 vector构造函数:也就是如何对一个vec对象进行初始化。 ////////////////////////////代码///////////////////

2012-03-30 13:14:45 368

转载 对XML和YAML文件实现I/O操作

#include #include #include using namespace cv;using namespace std;void help(char** av){ cout << endl << av[0] << " shows the usage of the OpenCV serialization functional

2012-03-30 01:20:42 328

转载 使用javascript实现隔行变色

使用JavaScript实现隔行变色 body{font-size:12px;text-align:center} #tbStu{width:260px;border:solid 1px #666;background-color:#eee} #tbStu tr{line-height:23px} #

2012-03-29 19:39:34 486

转载 jQuary控制css样式

jQuery控制CSS样式 <script language="javascript" type="text/javascript" src="Jscript/jquery-1.4.2.min.js"> .divDefalut{width:260px;font-size:10pt;padding:5px} .d

2012-03-29 19:37:38 338

转载 控制DOM对象

控制DOM对象 .divFrame{width:260px;border:solid 1px #666;font-size:10pt} .divTitle{background-color:#eee;padding:5px} .divContent{padding:8px;font-size:9pt}

2012-03-29 19:36:06 327

转载 控制jQuary对象

控制jQuery对象 <script language="javascript" type="text/javascript" src="Jscript/jquery-1.4.2.min.js"> .divFrame{width:260px;border:solid 1px #666;font-size:10pt}

2012-03-29 19:33:10 352

转载 jQuary事件的链式写法

jQuery事件的链式写法 <script language="javascript" type="text/javascript" src="Jscript/jquery-1.4.2.min.js"> .divFrame{width:260px;border:solid 1px #666;font-size:10pt}

2012-03-29 19:31:17 726

转载 helloworld

第一个简单的jQuery程序 <script language="javascript" type="text/javascript" src="Jscript/jquery-1.4.2.min.js"> $(document).ready(function(){ alert("您好,欢迎来到jQuery

2012-03-29 19:29:12 253

转载 (contour)轮廓检测

#ifdef _CH_#pragma package #endif#ifndef _EiC#include "cv.h"#include "highgui.h"#include #endif#define w 500int levels = 3;CvSeq* contours = 0;void on_trackbar(int pos){ IplImage* c

2012-03-29 19:17:05 307

转载 Canny边缘检测

#ifdef _CH_#pragma package #endif#ifndef _EiC#include "cv.h"#include "highgui.h"#endifchar wndname[] = "Edge";char tbarname[] = "Threshold";int edge_thresh = 1;IplImage *image = 0, *cedge

2012-03-29 19:13:42 254

转载 读视频文件和运动问题检测

/************************************************** * 背景建模,运动物体检测 * **************************************************//*********************************************************************

2012-03-29 19:09:54 597 1

转载 Hough线段检测

/* This is a standalone program. Pass an image name as a first parameter of the program.Switch between standard and probabilistic Hough transform by changing "#if 1" to "#if 0" and back */#include

2012-03-29 19:05:49 378

转载 鼠标绘图

#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 prev_pt = {-1,-1};voi

2012-03-29 19:03:14 312

转载 离散傅立叶变换(DFT)

#include #include #include // Rearrange the quadrants of Fourier image so that the origin is at// the image center// src & dst arrays of equal size & typevoid cvShiftDFT(CvArr * src_arr, CvArr

2012-03-29 18:59:03 532

转载 绘制贝塞尔Bezier曲线

// TrainingTools.cpp : 定义控制台应用程序的入口点。//#include #include #include #include #include #include using namespace std;const int WW_MAX_MARK_COUNT = 40; //最大40个控制点int mark_count =4;int conner_p

2012-03-29 18:45:54 828

转载 (线代)施密特正交化

// ***************************************************************// GramSchmit version: 1.0 date: 05/24/2007// -------------------------------------------------------------// 作者:luckdst//

2012-03-29 18:35:42 1372

转载 分形fractal

#include "cv.h"#include "highgui.h"const int image_w = 100;const double a =0.0;const double b =0.0;const long Nmax = 255; //Z值衰减(趋向于零) 的临界const double Rmax = 20; // Z值没有界限地增加(趋向无穷)的临界IplImage

2012-03-29 18:29:15 274

转载 图像缩放

#include #include #include int main(int argc, char* argv[]){ IplImage *src = 0; //源图像指针 IplImage *dst = 0; //目标图像指针 float scale = 0.618; //缩放倍数为0.618倍 CvSize dst_cvsize; //

2012-03-29 18:20:54 262

转载 高级图像处理初步

/**本代码主要是对一幅灰度图像rice.jpg进行一些处理,消除rice.jpg图像中的亮度不一致的背景, * 并使用阀值分割将修改后的图像转换为二值图像,使用轮廓检测返回图像中目标对象的个数以及统计属性。 */#include #include #include //#include //#include int main(int argc, char* argv[]){

2012-03-29 18:08:25 372

转载 如何检测和处理轮廓线 squares demo

/*在程序里找寻矩形*/#ifdef _CH_#pragma package #endif#ifndef _EiC#include "cv.h"#include "highgui.h"#include #include #include #endifint thresh = 50;IplImage* img = 0;IplImage* img0 = 0;CvMe

2012-03-29 17:05:59 578

转载 Visual Studio C++ 向导生成工程文件简介

.dsw,这种类型文件在Visual C++中级别最高,称为Workspac文件。在Visual C++中,应用程序是以Project的形式存在的,Project文件以.dsp为拓展名,在Workspace文件中可以包含多个项目,由Workspace文件对它们进行统一的协调和管理。.opt,这个文件中包含的是Workspace文件中要用到的本地计算机的有关配置信息,所以这个文件不能在其他计算机

2012-03-28 21:10:55 421

原创 VisualStudio2010_C++快捷键

F7                         调试ctrl+F5                 运行ctrl+alt+N            新建项目

2012-03-28 10:32:21 237

转载 JavaScript入门经典(helloworld)

// Script block 1   document.getElementById('ResultsP').innerHTML = 'Hello World!';

2012-03-27 19:39:17 272

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除