中文说明:运用了两种方法进行视频镜头的检测。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.