Shot boundary detection
First Claim
1. A method for detecting a shot boundary, comprising:
- determining a first difference between a first frame and a second frame, wherein the first difference comprises a partial comparison between the first frame and the second frame;
determining whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; and
when the first difference exceeds the threshold,computing at least one of an edge difference and a color difference between the first frame and the second frame;
confirming whether the first frame and the second frame comprise a border for a candidate shot boundary based on the value of at least one of the edge difference and the color difference; and
searching for a shot boundary between the first frame and the second frame.
5 Assignments
0 Petitions
Accused Products
Abstract
A video segment is processed to identify frames representing shot boundaries in the video segment. Initially, a partial block-based comparison technique is used to determine the amount of change (i.e., a first difference) that occurs between a pair of distant (i.e., not consecutive) frames. Additionally, edge and/or color differences are computed between the pair of frames to confirm that a change has occurred. If the change is confirmed, a step variable technique is used to locate the change between two consecutive frames between the distant frames. If the partial block-based comparison technique obtains a difference between the consecutive frames that exceeds the first threshold, then an abrupt change is detected. Otherwise, the edge and/or color differences are used to determine whether a gradual transition has occurred.
19 Citations
34 Claims
-
1. A method for detecting a shot boundary, comprising:
-
determining a first difference between a first frame and a second frame, wherein the first difference comprises a partial comparison between the first frame and the second frame; determining whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; and when the first difference exceeds the threshold, computing at least one of an edge difference and a color difference between the first frame and the second frame; confirming whether the first frame and the second frame comprise a border for a candidate shot boundary based on the value of at least one of the edge difference and the color difference; and searching for a shot boundary between the first frame and the second frame. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for detecting a shot boundary, comprising:
-
determining a first difference between a first frame and a second frame; determining whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; and when the first difference exceeds the threshold, computing at least one of an edge difference and a color difference between the first frame and the second frame; and confirming whether the first frame and the second frame comprise a border for a candidate shot boundary based on at least one of the edge difference and the color difference; determining whether the first frame and the second frame are consecutive frames; when the first frame and the second frame are not consecutive frames, selecting a middle frame between the first frame and the second frame; computing a second difference between the first frame and the middle frame; computing a third difference between the second frame and the middle frame; and determining a range of frames in which to search for a shot boundary based on whether the second difference is smaller than the third difference. - View Dependent Claims (19, 20)
-
-
21. A method for detecting a shot boundary, comprising:
-
determining a first difference between a first frame and a second frame, wherein the first difference comprises a partial comparison between the first frame and the second frame; determining whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; when the difference exceeds the threshold, computing an edge difference between the first frame and the second frame; confirming whether the first frame and the second frame comprise a border for a candidate shot boundary based on the edge difference; and searching for a shot boundary between the first frame and the second frame. - View Dependent Claims (22, 23, 24, 25)
-
-
26. A method for detecting a shot boundary, comprising:
-
determining a first difference between a first frame and a second frame, wherein the first difference comprises a partial comparison between the first frame and the second frame; determining whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; when the first difference exceeds the threshold, computing a color difference between the first frame and the second frame; and confirming whether the first frame and the second frame comprise a border for a candidate shot boundary based on the color difference; and searching for a shot boundary between the first frame and the second frame. - View Dependent Claims (27, 28, 29, 30)
-
-
31. A method for detecting a shot boundary, comprising:
-
computing a difference between a first frame and a distant frame, wherein the difference comprises a partial comparison between the first frame and the distant frame; determining whether the first difference exceeds a threshold, wherein the first frame and the distant frame comprise a border for a candidate shot boundary when the difference exceeds the threshold; if the difference exceeds the threshold, computing at least one of an edge difference and a color difference between the first frame and the distant frame; confirming whether the first frame and the distant frame comprises a border for a candidate shot boundary based on at least one of the edge difference and the color difference; and performing a binary search for a shot boundary between the first frame and the distant frame.
-
-
32. A system, comprising:
-
a computer including a processor and a memory; a sequence of frames stored in the memory; and a program comprising instructions stored in the memory of the computer, wherein the instructions are executed by the processor of the computer to; determine a difference between a first frame and a second frame, wherein the difference comprises a partial comparison between the first frame and the second frame; determine whether the difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the difference exceeds the threshold; and when the difference exceeds the threshold, compute at least one of an edge difference and a color difference between the first frame and the second frame; confirm whether the first frame and the second frame comprise a border for a shot boundary based on the value of at least one of the edge difference and color difference; and searching for a shot boundary between the first frame and the second frame. - View Dependent Claims (33)
-
-
34. A system, comprising:
-
a computer including a processor and a memory; a sequence of frames stored in the memory; and a program comprising instructions stored in the memory of the computer, wherein the instructions are executed by the processor of the computer to; determine a first difference between a first frame and a second frame; determine whether the first difference exceeds a threshold, wherein the first frame and the second frame comprise a border for a candidate shot boundary when the first difference exceeds the threshold; and when the first difference exceeds the threshold, compute at least one of an edge difference and a color difference between the first frame and the second frame; confirm whether the first frame and the second frame comprise a border for a candidate shot boundary based on at least one of the edge difference and the color difference; and determine whether the first frame and the second frame are consecutive frames; when the first frame and the second frame are not consecutive frames, select a middle frame between the first frame and the second frame; compute a second difference between the first frame and the middle frame; compute a third difference between the second frame and the middle frame; and determine a range of frames in which to search for a shot boundary based on whether the second difference is smaller than the third difference.
-
Specification