Efficient shot change detection on compressed video data
First Claim
1. A method for detecting shot changes in compressed MPEG coded video data having I, P, and B frames, with an IPB ratio corresponding to the numbers of I, P, and B frames, respectively, comprising the steps of:
- (a) defining a qualifying set of shot change masks in accordance with said IPB ratio of said compressed MPEG coded video data, said qualifying set of shot change masks comprising a sequence of I, P, and B types of frame masks, each of said I, P, and B types of frame masks having low reference ratio characteristics between adjacent frames within each I, P, and B type of frame mask,(b) calculating a shot change probability function P for each I, P, and B frame of said video data, based on said reference ratio of characteristics shot change frame masks, wherein each said P and B frame is encoded with references to adjacent frames, and wherein said I frames are encoded independently,(c) determining a threshold value T for said shot change probability function P,(d) comparing said shot change probability function P for each said I, P, and B frame of said video data with said threshold value T, and(e) detecting a shot change at any of said I, P, and B frames of said video data when said shot change probability function P of said I, P, or B frame exceeds said threshold value T.
2 Assignments
0 Petitions
Accused Products
Abstract
A mask matching approach to detect shot changes in MPEG coded video uses reference ratio variances of macroblocks between MPEG coded frames. A function is designed to quantize the results into shot change probability values. Moreover, a conversion function modifies this probability computation to minimize misdetection and loss of detection under unusual image pattern situations. A shot change probability threshold is defined for the video to be examined. When a frame'"'"'s modified shot change probability exceeds this threshold, the frame is considered to contain a shot change. With this approach, processing time is reduced by evaluating MPEG coded data directly, rather than the raw video.
81 Citations
10 Claims
-
1. A method for detecting shot changes in compressed MPEG coded video data having I, P, and B frames, with an IPB ratio corresponding to the numbers of I, P, and B frames, respectively, comprising the steps of:
-
(a) defining a qualifying set of shot change masks in accordance with said IPB ratio of said compressed MPEG coded video data, said qualifying set of shot change masks comprising a sequence of I, P, and B types of frame masks, each of said I, P, and B types of frame masks having low reference ratio characteristics between adjacent frames within each I, P, and B type of frame mask, (b) calculating a shot change probability function P for each I, P, and B frame of said video data, based on said reference ratio of characteristics shot change frame masks, wherein each said P and B frame is encoded with references to adjacent frames, and wherein said I frames are encoded independently, (c) determining a threshold value T for said shot change probability function P, (d) comparing said shot change probability function P for each said I, P, and B frame of said video data with said threshold value T, and (e) detecting a shot change at any of said I, P, and B frames of said video data when said shot change probability function P of said I, P, or B frame exceeds said threshold value T. - View Dependent Claims (2, 3, 4)
-
-
5. A method for detecting shot changes in compressed MPEG coded video data having I, P, and B frames, with an IPB ratio corresponding to the numbers of I, P, and B frames, respectively, comprising the steps of:
-
(a) defining a shot change mask cluster in accordance with said IPB ratio of said compressed MPEG coded video data, wherein said shot change mask cluster comprises a sequence of I, P, and B types of frame masks, each of said I, P, and B types of frame masks having low reference ratio characteristics between adjacent frames within each I, P, and B type of frame mask, (b) comparing said shot change mask cluster with each said I, P, and B frame of video data to find a match between said I, P, and B frame and its corresponding type of frame mask within said shot change mask cluster, and (c) detecting a shot change at any of said I, P, and B frames of said video data when one of said shot change mask cluster frame masks matches one of a corresponding type of said I, P, and B frames.
-
-
6. A system for detecting shot changes in compressed MPEG coded video data having I, P, and B frames, with an IPB ratio corresponding to the numbers of I, P, and B frames, respectively, comprising:
-
(a) an input device for receiving MPEG coded data, (b) a processor for operating on said received data, (c) a memory for storing data operated on by said processor, (d) an output device for displaying results from said processor, (e) said processor for defining a shot change mask cluster based on said IPB ratio of said compressed MPEG coded video data, (f) said processor for calculating a shot change probability function P for each frame of said video data, wherein each said P and B frame is encoded with references to adjacent frames, and wherein said I frames are encoded independently, (g) said processor for determining a threshold value T for said shot change probability function P, (h) said processor for comparing said shot change probability function P for each said frame with said threshold value T, and (i) said processor for detecting a shot change at any of said frames when said shot change probability function P of said frame exceeds said threshold value T, wherein said shot change mask cluster comprises a sequence of I, P, and B types of frame masks, each of said I, P, and B types of frame masks having low reference ratio characteristics between adjacent frames within said I, P, and B types of frame masks. - View Dependent Claims (7, 8, 9)
-
-
10. A system for detecting shot changes in compressed MPEG coded video data having I, P, and B frames, with an IPB ratio corresponding to the numbers of I, P, and B frames, respectively, comprising:
-
(a) a processor for defining a shot change mask cluster based on said IPB ratio of said compressed MPEG coded video data, wherein said shot change mask cluster comprises a sequence of I, P, and B types of frame masks, each of said I, P, and B types of frame masks having low reference ratio characteristics between adjacent frames within said types of I, P, and B frame masks, (b) said processor for comparing said shot change mask cluster with each said I, P, and B frame to find a match between said I, P, and B frame and its corresponding type of frame mask within said shot change mask cluster, and (c) said processor for detecting a shot change at any of said I, P, and B frames when one of said shot change mask cluster frame masks matches one of a corresponding type of said I, P, and B frames.
-
Specification