matlab 镜头检测我要分享

MATLAB shot detection

matlab 检测 镜头

关注次数: 199

下载次数: 0

文件大小: 1.48 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:运用了两种方法进行视频镜头的检测。shot-detection1.m是通过判断相邻图像帧之间的特征的绝对差是否大,计算相邻两个图像帧中的所有像素的色彩亮度之和,两帧的差别就是各自对应像素的色彩亮度之差。通过头检测,把视频分割为镜头,进而进行之后的图像处理,经过验证,此代码可以运行。test.m是利用颜色直方图的相似度进行镜头的检测,也可以运行。


English Description:

Video shot detection using two methods. Shot-detection1.m is by determining whether the characteristics of the absolute difference between adjacent frames, compute two color brightness of all pixels in the image frame and two frame difference is the difference between the color brightness of each pixel. Through detection and segmentation for video footage, and then for subsequent image processing, verified, this code can be run. Test.m uses colour histogram similarity detection of lens, you can also run.


代码预览