- 博客(11)
- 资源 (8)
- 收藏
- 关注
转载 双边滤波器的原理及实现
原文地址:http://blog.csdn.net/abcjennifer/article/details/7616663双边滤波器是什么?双边滤波(Bilateral filter)是一种可以保边去噪的滤波器。之所以可以达到此去噪效果,是因为滤波器是由两个函数构成。一个函数是由几何空间距离决定滤波器系数。另一个由像素差值决定滤波器系数。可以与其相比较的两个filter
2014-07-30 21:07:04 1050
原创 python 视频处理,提取视频相关帧,读取Excel
一共# -*- coding: cp936 -*-import cv2.cv as cvimport osimport cv2import numpyimport Imageimport xlrdclass videoReader: frame_count=0 def __init__(self,videoPath): self.vid
2014-07-30 21:07:02 3815
原创 python 合并图片任意方式
import cv2import numpy as npimport Imageimport cv2.cv as cvdef image_joint(image_list,opt):#opt= [1,4]一行四列 image_num=len(image_list) image_size=image_list[0].size height=image_size[1]
2014-07-29 21:30:57 2632
转载 numpy 画直方图
import numpyimport pylab# Build a vector of 10000 normal deviates with variance 0.5^2 and mean 2mu, sigma = 2, 0.5v = numpy.random.normal(mu,sigma,10000)# Plot a normalized histogram with 50 bins
2014-07-29 19:57:29 4839
转载 Python:使用pycha快速绘制办公常用图(饼图、垂直直方图、水平直方图、散点图等七种图形)
原文:http://blog.csdn.net/dyx1024/article/details/7300497今天晚上学习了下使用pycha模块来制作各种办公用图的方法,非常简单,本文使用其绘制了7种图表。 此模块和API地址为:http://www.lorenzogil.com/projects/pycha/,需要的朋友可以下载下来玩一下,下面是我晚上学习时写的一点东东,分享之。
2014-07-29 17:54:06 1373
原创 Lucas-Kanade Optical Flow in python
import numpy as npimport cv2cap = cv2.VideoCapture('slow.flv')# params for ShiTomasi corner detectionfeature_params = dict( maxCorners = 100, qualityLevel = 0.3,
2014-07-29 10:34:00 2508 1
原创 计算两幅图片的farneback 稠密光流,并将结果图显示出来的程序
import cv2import numpy as npimport Imageimport cv2.cv as cvdef image_joint(image_list,opt):#opt= vertical ,horizon image_num=len(image_list) image_size=image_list[0].size height=imag
2014-07-29 10:25:49 6047
原创 python image 图像拼接显示
import Imagedef image_joint(image_list,opt):#opt= vertical ,horizontal 选择水平显示拼接的图像,或者 image_num=len(image_list) image_size=image_list[0].size height=image_size[1] width=image_size[0]
2014-07-28 20:02:45 6757 2
转载 Farneback 稠密光流--求两幅图像之间的光流--代码(本人略有修改)
// trecvidDateMaker.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"// Farneback dense optical flow calculate and show in Munsell system of colors// Author : Zouxy// Date : 2013-3-15// HomePage
2014-07-25 13:33:50 3897 1
原创 calcOpticalFlowFarneback函数解释
calcOpticalFlowFarnebackComputes a dense optical flow using the Gunnar Farneback’s algorithm.double pyrScale, int levels, int winsize, int iterations, int polyN, double polySigma, int flag
2014-07-25 10:27:28 8730
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人