Monochrome frame detection method
First Claim
1. A monochrome frame detection method for determining whether or not a video frame read from a video stream that includes a plurality of video frames is a monochrome frame, the method comprising:
- (a) a first process comprising;
(a-1) reading a first video frame included in the video stream;
(a-2) extracting first pixel data for each of first sample pixels selected from first pixels included in the first video frame;
(a-3) calculating an average value of the first pixel data;
(a-4) calculating first compared values for each of the first sample pixels by comparing each of the first pixel data and the average value;
(a-5) determining whether or not the first video frame is the monochrome frame based on the first compared values; and
(a-6) storing the average value as a reference value when the first video frame is determined to be the monochrome frame; and
(b) a second process comprising;
(b-1) reading a second video frame included in the video stream;
(b-2) extracting second pixel data for each of second sample pixels selected from second pixels included in the second video frame;
(b-3) calculating second compared values for each of the second sample pixels by comparing each of the second pixel data and the reference value; and
(b-4) determining whether or not the second video frame is the monochrome frame based on the second compared values.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one embodiment, a monochrome frame detection method includes a first process and second process. The first process includes: (1) reading a video frame; (2) extracting pixel data for each from pixels included in the video frame; (3) calculating an average value of the pixel data; (4) calculating compared values by comparing each of the pixel data and the average value; and (5) determining whether or not the video frame is the monochrome frame based on the compared values. If the video frame is determined to be the monochrome frame the average value is stored as a reference value. In the second process, the calculation of the average value of the (3) is skipped, and the compared values are calculated by comparing each of the pixel data and the stored reference value.
-
Citations
8 Claims
-
1. A monochrome frame detection method for determining whether or not a video frame read from a video stream that includes a plurality of video frames is a monochrome frame, the method comprising:
-
(a) a first process comprising;
(a-1) reading a first video frame included in the video stream;
(a-2) extracting first pixel data for each of first sample pixels selected from first pixels included in the first video frame;
(a-3) calculating an average value of the first pixel data;
(a-4) calculating first compared values for each of the first sample pixels by comparing each of the first pixel data and the average value;
(a-5) determining whether or not the first video frame is the monochrome frame based on the first compared values; and
(a-6) storing the average value as a reference value when the first video frame is determined to be the monochrome frame; and
(b) a second process comprising;
(b-1) reading a second video frame included in the video stream;
(b-2) extracting second pixel data for each of second sample pixels selected from second pixels included in the second video frame;
(b-3) calculating second compared values for each of the second sample pixels by comparing each of the second pixel data and the reference value; and
(b-4) determining whether or not the second video frame is the monochrome frame based on the second compared values. - View Dependent Claims (2, 3, 4)
-
-
5. A monochrome frame detection method for determining whether or not a video frame read from a video stream that includes a plurality of video frames is a monochrome frame, the method comprising:
-
(a) an initialization process that is adapted in advance of a detection of the monochrome frame, the initialization process comprising;
(a-1) generating a monochrome frame information file in a storage section that stores the video stream; and
(b) a first detection process that is initially adapted to the video stream, the first detection process comprising;
(b-1) reading a first video frame included in the video stream;
(b-2) extracting first pixel data for each of first sample pixels selected from first pixels included in the first video frame;
(b-3) calculating an average value of the first pixel data;
(b-4) calculating first compared values for each of the sample pixels by comparing each of the first pixel data and the average value;
(b-5) determining the first video frame is the monochrome frame if each of the first compared values is less than a first threshold value;
(b-6) incrementing a counter if the first video frame is determined as the monochrome frame; and
(b-7) storing the average value in the monochrome frame information file as a reference value if the first video frame is determined as the monochrome frame. - View Dependent Claims (6, 7, 8)
-
Specification