自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

有思想的鱼

coding fish

  • 博客(24)
  • 收藏
  • 关注

转载 Matlab HS算法实现

function [us,vs] = HSoptflow(Xrgb,n)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Author: Gregory Power [email protected]% This MATLAB code shows a Motion Estimation map c

2012-04-28 16:31:57 3929 2

原创 fback.cpp +xiaogaijing

from  C:\OpenCV2.1\samples\c#undef _GLIBCXX_DEBUG#include "cv.h"#include "highgui.h"using namespace cv;void drawOptFlowMap(const Mat& flow, Mat& cflowmap, int step, do

2012-04-28 16:16:29 984

原创 cvoptflowlk.cpp 程序__分析coming soon

#include "_cv.h"typedef struct{ float xx; float xy; float yy; float xt; float yt;}icvDerProduct;#define CONV( A, B, C) ((float)( A + (B<<1) + C ))/*F///////////////////

2012-04-14 17:45:50 1039 1

转载 aoptflowhs.cpp

读源程序系列HS光流算法#include "cvtest.h"#if 0/* Testing parameters */static char FuncName[] = "cvCalcOpticalFlowHS";static char TestName[] = "Optical flow (Horn & Schunck)";static char TestClass[] = "Al

2012-04-14 16:07:28 708

转载 aoptflowlk.cpp

读源程序系列LK光流算法#include "cvtest.h"#if 0/* Testing parameters */static char FuncName[] = "cvCalcOpticalFlowLK";static char TestName[] = "Optical flow (Lucas & Kanade)";static char TestClass[] =

2012-04-14 16:01:57 636

转载 optflow.cpp

#include "cvtest.h"#include #include #include #include #include #include "cvaux.h"using namespace cv;using namespace std;class CV_OptFlowTest : public CvTest{public: CV_OptFlowTest();

2012-04-14 15:59:26 2483

转载 camshift.cpp

#include "_cvaux.h"CvCamShiftTracker::CvCamShiftTracker(){ int i; memset( &m_box, 0, sizeof(m_box)); memset( &m_comp, 0, sizeof(m_comp)); memset( m_color_planes, 0, sizeof(m_co

2012-04-14 15:56:57 852

转载 cvMeanShift + cvCamshift

#include "_cv.h"/*F///////////////////////////////////////////////////////////////////////////////////////// Name: cvMeanShift// Purpose: MeanShift algorithm// Context:// Paramet

2012-04-14 15:55:54 2450

转载 camshiftdemo.c [OpenCV的sample/c]

#ifdef _CH_#pragma package #endif#ifndef _EiC#include "cv.h"#include "highgui.h"#include #include #endif#pragma comment(lib, "cv.lib")#pragma comment(lib, "cxcore.lib")#pragma comment(lib,

2012-04-14 15:42:15 2007 1

原创 cvInRange函数详解

CV_IMPL voidcvInRangeS( const void* srcarr, CvScalar lower, CvScalar upper, void* dstarr ){ static CvBigFuncTable inrange_tab; static int inittab = 0; CV_FUNCNAME( "cvInRangeS" );

2012-04-13 21:55:11 14529 1

原创 OpenCV 播放视频(带滚动条)

//+++++++++++++++++++++++++++++++++++++++++++++++//++++++++=====+++读入视频文件++++++++++++++++++++//+++++++++++++++加入滚动条控制+++++++++++++++++++//+++++++++++++++++转换为灰度图+++++++++++++++++++//==============

2012-04-12 16:38:33 1090

转载 OpenCV 亮度调节

#include "cv.h"#include "highgui.h"#include int ImageAdjust(IplImage *src,IplImage *dst, double low,double high, //x direction double bottom,double top, /

2012-04-12 16:27:55 2769 1

原创 VS2010中监视变量

保持处于调试状态

2012-03-29 19:30:38 13506 1

原创 鼠标响应绘图

问题:这个相当于是画点,移动快了就不连续了。#include #include void my_mouse_callback( int event, int x, int y, int flags, void* param );CvPoint p = cvPoint(0,0);CvPoint q = cvPoint(0,0);int thickness=3;

2012-03-29 17:45:24 937

转载 载入一幅图片寻找角点

画出角点 输出图片 并打印出角点坐标具体解释参考   我思故我在 博客http://blog.csdn.net/superdont/article/details/6587523#include "cv.h"#include "highgui.h"#include "stdio.h"#include "iostream.h"#define max_corners 80

2012-03-26 16:28:11 732

转载 光流法 \OpenCV2.1\samples\c\lkdemo.exe

/////////////光流法//////////////#include #include #include void help(){ printf( "This program demonstrate dense \"Farneback\n optical flow\n" "It read from camera 0, and shows how to use and d

2012-03-24 17:48:15 3429

转载 光流法 运动物体检测[Eng]

// OpticalFlow.cpp : Defines the entry point for the console application.///* --Sparse Optical Flow Demo Program--* Written by David Stavens ([email protected])*/#include #include

2012-03-24 15:39:41 2300 1

原创 [已解决]【错误】Libevcoder has been miscompliled

提示错误:Compiler did not align stack variables. Libevcoder has been miscompliled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler.You may try recompiling using gcc>=4

2012-03-23 19:19:11 1165

转载 光流法 运动物体检测【中文解释】

光流法 运动物体检测#include #include "cv.h"#include "cxcore.h"#include "highgui.h" static const double pi = 3.14159265358979323846;inline static double square(int a){ return a * a;}/*该函数目的:给i

2012-03-23 19:15:29 6025 3

原创 【问题】拍摄的视频无编码信息

摄像头拍摄的视频无编码信息,以至于opencv无法读入处理解决方法:1. 用QQ影音转码2. 查看编码信息   【 Codec ID : xvid 】D:\My Documents\My Videos\ou_兼容格式 AVI_320x240.AVI   General      Complete name : D:\My Docu

2012-03-23 18:55:15 1507

原创 OpenCV 摄像头录制视频

// video.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include int main( int argc, char** argv ){ //声明IplImage指针 IplImage* pFrame = NULL; IplImage* img; //获取摄像头 CvCapture

2012-03-23 15:31:54 5403 1

原创 opencv处理视频颠倒问题

在使用opencv显示图像时会出现图像倒立的情况,与IplImage的origin属性有关系。origin()const;返回影象结构。0-顶—左结构,1-底—左结构 (Windows bitmaps 风格)。origin为0表示顶左结构,即图像的原点是左上角,如果为1为左下角。一般从硬盘读入的图片或者通过cvCreateImage方法创建的IplImage图片默认

2012-03-23 11:11:43 5424 4

原创 Matlab中怎样可以将程序分块运行并显示结果

又学到一招http://www.mathworks.cn/products/demos/image/IntroIPdemo/index.html在官网上看演示的时候,发现讲解人就是分块运行显示 请问是怎样做到分块的?又是怎样运行的?M文件进行分块在菜单栏CELL-- Enable Cell Mode 工具栏会多出来一行incert cell driver 红色框

2012-03-22 12:10:25 11116

转载 Boost库

Boost库是一个可移植、提供源代码的C++库,作为标准库的后备,是C++标准化进程的发动机之一。 Boost库由C++标准委员会库工作组成员发起,其中有些内容有望成为下一代C++标准库内容。在C++社区中影响甚大,是不折不扣的“准”标准库。Boost由于其对跨平台的强调,对标准C++的强调,与编写平台无关。大部分boost库功能的使用只需包括相应头文件即可,少数(如正则表达式库,文件系统库等)需

2012-03-15 23:25:50 462

空空如也

空空如也

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

TA关注的人

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