Compare two videos using Image processing

414 Views Asked by At

Hi i am new to image processing.I want to compare two videos using image processing.First type of video has effect(blur) in video.And second type is normal video. Using edge detection i want to compare two videos.So i want to use canny edge detection.Is there any guide to help to do this project.I want to extract some information in edge video.i thought using canny edge detection identify edge and extract information from it.

2

There are 2 best solutions below

2
On BEST ANSWER

Adi has given good point, apart from that I would suggest you to see Canny Edge detector threshold values gives different result for better edge detection without bothering small differences in lighting and contrast, otherwise your result may differ.

For matching edges, see ECR.

Apart from that I would suggest you to add multiple methods for video matching to avoid high processing and false-positive. e.g. if you compare histogram(it is quite simple easy and fast) and if difference is very high, no need to compare edges(comparatively process intensive).

4
On

Edge detection is generally not invariant to blurring.

If you still want to use edge detection, then you might blur your un-blurred video, and then do the comparison. If the blur is strong, you should consider sub-sampling the frames (e.g. keep every 2nd row/col pixel) and do the edge-detection and comparison on the reduce frames. This will be faster and also give the edge-detection stronger edge to detect.