搜索资源列表
Coutour_polygon
- 用OpenCV来编写,用摄像头获取图像,并用帧差法提取二值化图像,再用多边形逼近的方法来提取图像的轮廓-Using OpenCV to prepare, with the camera to obtain images, and the frame difference method used to extract two binary images, and then a polygonal approximation method to extract the contours of the
opencvFrame
- 用于运动检测的循环帧数,对差图像做二值化-Frames for motion detection cycle, the binary difference image do
frame-difference-3
- 图像序列中,连续三幅图像的帧间差分,适用于opencv,有可调阈值的滚动条-Image sequences, the consecutive three image frame difference
opencv-ostu
- 在opencv环境下利用最大类间方差法(大津法)对图像进行阈值分割代码-OSTU Threshold method in openCV
MyVideo1.0_AutoCamshift
- 序用MFC+openCV编写。可实现自动获得一个目标选择框并进行跟踪 先用视频前几帧进行帧间差分,用cvFindContours()得到二值差分图像中最大的连通块作为camshift的初始选择框 可能有些压缩格式的视频打不开,需要安装Xvid解码器-Write sequence with MFC+openCV. Automatic target selection box and the interframe difference the first few frames before th
chazhi
- 利用插值法对图像进行放大,分别应用了最邻近差值和线性差值-Nearest Neighbor Interpolation Bilinear Interpolation
1
- 利用当前帧图像与背景图像对应象素点的灰度差值来检测车辆。如果当前图像的象素点和背景图像的象素点灰度值差别很大,就认为此象素点有车通过;相反,如果当前图像的象素点和背景图像的象素点灰度值差别较小,在一定的阈值范围内,我们就认为此象素点为背景象素点。-Using the current frame image and the background image corresponding to the difference between the pixel gray vehicle is detec
2dOtsu-gradient
- 基于邻域灰度梯度的改进二维OTSU算法:在二维OTSU的方法上进行改进,将纵坐标改用像素点的灰度值与其邻域的平均灰度值的差的绝对值,分割图像。-Neighborhood-based two-dimensional gray-scale gradient improved OTSU algorithm: to improve on the two-dimensional OTSU method, the vertical axis instead of the absolute value of
Canny
- Canny边缘检测算法: 用高斯滤波器平滑图像; 用一阶偏导的有限差分计算梯度的幅值和方向; 对梯度幅值进行非极大值抑制; 用双阈值算法检测和连接边缘。 -canny contour extraction algorithm
hist
- 用OPENCV辅助,检测图像的直方图,并画出直方图,统计直方图的均值和方差,并输出颜色占比例最大的值。-Histogram OPENCV assisted detection image and draw the histogram, histogram mean and variance, and the largest proportion of the output color value.
lightFind
- 通过对选定图像在屏幕上的差值计算来获取图像运动的方向,距离等数据。-Through the selected image on the screen to get the difference between the calculated movement direction of the image and distance data.
test
- opencv帧差法源码,用帧差法处理,得到移动物体的二值化后的白色图像(Opencv frame difference method source code, using frame difference method, to get two white images of moving objects after the value)
ostu
- 大津法(OTSU)是一种确定图像二值化分割阈值的算法,由日本学者大津于1979年提出。从大津法的原理上来讲,该方法又称作最大类间方差法,因为按照大津法求得的阈值进行图像二值化分割后,前景与背景图像的类间方差最大(何为类间方差?原理中有介绍)。(Otsu method (OTSU) is a set of image binarization threshold segmentation algorithm, proposed by Japanese scholars ohtsu in 1979.
Otsu方法
- opencv做的otsu方法,一、Otsu算法原理 Otsu算法(大津法或最大类间方差法)使用的是聚类的思想,把图像的灰度数按灰度级分成2个部分,使得两个部分之间的灰度值差异最大,每个部分之间的灰度差异最小,通过方差的计算来寻找一个合适的灰度级别来划分。 所以可以在二值化的时候采用otsu算法来自动选取阈值进行二值化。otsu算法被认为是图像分割中阈值选取的最佳算法,计算简单,不受图像亮度和对比度的影响。因此,使类间方差最大的分割意味着错分概率最小。 设t为设定的阈值。(otsu made