This invention concerns the processing of television signals or video data to obtain interlaced signals in a way which avoids the formation of incorrectly interlaced output.
Television represents moving images by reproducing a sequence of “still” images, each of which represents a temporal sample of an original moving image. Many television systems use “interlaced” scanning formats in which bandwidth is saved by dividing the scanning lines which make up a complete image into (usually two) cyclically repeating groups, and sending only one of these groups for each temporal sample. The full vertical resolution of the image is thus not achieved until a number of temporal samples have been displayed; and, the full temporal resolution is only available at a lower vertical resolution.
The widely-used 525- and 625-line television systems use an interlace factor of two so that two fields of half the total number of lines make up a frame (alternatively known as a picture).
More recently a number of television formats (especially high-definition formats) have been designed which do not use interlace; the full number of image lines is provided at each temporal sample. However, some transmission systems for these formats divide the image into two fields to improve compatibility with equipment designed for interlaced formats.
The relevant system standards define the order in which the two fields of a frame are transmitted. Unfortunately not all systems use the same order; sometimes the topmost line of the picture is in the first field, sometimes it is in the second. This choice is known as field dominance, and there are a number of situations in which it is critical that it is correctly observed.
Modern image processing techniques, compression for example, may combine information from more than one line of the picture, and it is not unusual to combine lines from different fields of the same frame. These processes will fail, or be degraded, if the field dominance is wrong.
There are several sources of field dominance errors. The simplest is where a cut from one image sequence to another occurs between the two fields of the same frame; in this case only half the lines will be available for the last image of the first sequence and for the first image of the second sequence. More complex problems can be caused when the temporal sampling rate of the images differs from that of the transmission system, for example where the speed of action is deliberately changed for effect.
For these reasons it is widely recognised that a method of correcting field dominance errors in a television signal is required. Known methods involve manually editing a recorded version of the programme. Usually cuts are located and incorrectly interlaced frames are removed. Alternatively a defective frame may be replaced by a repeat of a complete existing frame. Obviously deletion of frames changes the length of the programme, and may necessitate changes to the accompanying soundtrack.
These manual repair techniques are very time consuming and an automated process, especially one combined with a format conversion process offers many advantages.
Several methods of automatically detecting cuts are known (for example U.S. Pat. No. 6,075,818) and these methods may be utilised to prevent combining information across a cut in processes such as standards conversion, composite decoding, compression, image manipulation (e.g. warping) and image stabilisation. Noise reduction processes can be improved by using knowledge of cuts as disclosed in U.S. Pat. No. 6,259,489.
There can be provided a video process having an interlaced sequence of output fields comprising an output frame sequence wherein shot changes are re-timed automatically to coincide with frame boundaries and the said re-timing does not affect the number of output fields.
The invention also comprises a method of improving the presentation of shot changes in a video sequence of interlaced fields by automatically replacing at least one field at a shot change with a field derived from a preceding or succeeding field. Suitably, the replacement field is derived by copying the lines of a preceding or succeeding field. Alternatively, the replacement field is derived by spatial interpolation of a preceding or succeeding field. Advantageously, the replacement field is derived by motion compensated processing.
In a further aspect the invention comprises a method of creating a sequence of interlaced video fields from a video signal or video data wherein picture information is automatically shifted in time at a shot change so that field dominance is respected and the said time shifting does not alter the duration of the sequence.
In yet another aspect the invention consists of a method of automatically processing video or video data in response to associated shot-change data to give an interlaced output wherein the constituent fields of each processed frame are all derived from the same shot.
In one example, the present invention consists in a video process comprising the steps of receiving an interlaced sequence of input fields organised in a plurality of frames; identifying a cut between first and second input fields; identifying whether the cut occurs at a frame boundary and, where a cut occurs otherwise than at a frame boundary, generating from said second field a synthetic field and replacing said first field by said synthetic field, the process thereby outputting a interlaced sequence of output fields in which the cut is positioned at a frame boundary, the sequence of output fields containing the same number of fields as the sequence of input fields.
In another example, the present invention consists in video processing apparatus comprising a video input adapted to receive an interlaced sequence of input pictures organised in a plurality of frames; a control input adapted to receive video cut information; means for identifying a video cut occurring otherwise than at a frame boundary, and processing means for outputting an interlaced sequence of output pictures organised in a plurality of frames with each cut occurring otherwise than at a frame boundary in the input sequence being automatically retimed to occur at a frame boundary in the output sequence, the sequence of output fields containing the same number of fields as the sequence of input fields.
In still another example, the present invention consists in a video process comprising the steps of receiving a sequence of input fields organised in a plurality of frames; identifying a cut between first and second input fields; identifying whether the cut occurs at a frame boundary and, where a cut occurs otherwise than at a frame boundary, retiming the cut, the process thereby outputting a interlaced sequence of output fields in which each cut is positioned at a frame boundary, the sequence of output fields containing the same number of fields as the sequence of input fields.
In yet another example, the present invention consists in video processing apparatus comprising a video input adapted to receive a sequence of input frames; a video output adapted to provide a sequence of output fields organised in a plurality of frames; a field predictor adapted to receive a base field and to generate therefrom a synthetic field having a different timing; a field sequence detector; a video cut detector; and a field substitution element controlled through said field sequence detector and said video cut detector to substitute a synthetic field at a cut occurring otherwise than at a frame boundary, thereby to retime the out to occur at a frame boundary in the output sequence.
An example of the invention will now be described with reference to the drawings in which:
a shows a sequence of fields input to the dominance processor of the invention.
b to 2e inclusive show sequences of output fields in accordance with various modes of operation of the invention.
f shows an alternative sequence of fields input to the dominance processor of the invention.
Referring to
Associated with the video (1) is cut or shot change data (3). This data has a value for each temporal sampling point of the video (1) indicating whether the image represented at that sampling time is the same scene as was represented at the immediately preceding sampling time, or whether the samples correspond to a new image of a different scene. The data (3) may be derived from the video (1) by a shot-change detector (4), or it may already be encoded into the video (1) or be in the form of metadata (such as an edit decision list, EDL) associated with the video. The shot-change detector (4), if present, operates in known manner, for example as described in U.S. Pat. No. 6,075,818.
The video process (2) can be arbitrary, its output may be interlaced or progressive and may have a temporal and/or spatial sampling structure different from its input. Preferably the process makes use of the data (3) to avoid combining samples from different scenes. The processed output video (5) is associated with processed shot-change data (6) indicating whether each temporally coincident set of output video samples represents the same scene as the preceding set.
If there is no temporal re-sampling involved in the process (2) the data (6) may simply be a delayed version of the data (3). If there is temporal processing it will be necessary to track the correspondence between input and output temporal samples in order to construct the output data (6).
The processed video (5) and the shot-change data (6) are input to a field dominance processor (7), which produces an interlaced video output (8). The processor (7) operates (as will be described below) to ensure that shot changes at the output (8) always occur at the same point in the sequence of interlaced fields.
a shows an example of three frames of a possible 2:1 interlaced input to the field dominance processor. The horizontal axis of the figure represents the timing of the output fields, and the vertical axis represents the timing of the input fields. The first output frame comprises two interlaced fields (201) and (202), the next frame comprises the interlaced fields (203), (204) and so on.
The fields (201), (202) and (203) represent successive temporal samples of a first scene, and the immediately following fields (204), (205) and (206) represent successive temporal samples of a second scene. There is, therefore, a cut between the two scenes at the start of the second field (204) of the second frame, and the two fields (203) (204) of this frame contain material from different scenes so that the field dominance is incorrect. As mentioned above, a prior-art method of correcting this error is to edit out the frame comprising the fields (203) and (204), with consequent change to the running time of the video sequence.
In one example of the invention the field dominance processor replaces the field (204) with a new, synthetic field constructed from the field (203). The result is shown in
Another example of the invention is shown in
It is possible to avoid the motion profile distortion by using known motion compensated prediction methods to construct the new fields. Examples are shown in
The input to the dominance processor may not have a temporal sampling rate equal to the frame rate (as in
Some examples of the method of operation of the field dominance processor of the invention will now be described.
The switch (304) is controlled in dependence upon the shot-change data (302) and field-sequence data (306) derived from the input video (301). Normally the switch (304) selects the video (301) for output. However, when the shot-change data (302) indicates that the current input video field corresponds to a new scene, and the current field is not the first of a new frame (as indicated by the field-sequence data (306)), the switch takes a field from the predictor (305) in place of the field from the input (301).
The predictor (305) could use any of the known video prediction methods. The simplest predictor is a delay corresponding to an integral number of lines close to one field period. This is a very crude prediction and will give vertical position errors. These errors can be avoided by using an interpolator taking two or more lines of the input field to create the prediction. It would even be possible to use information from preceding frames in the interpolation, providing that the associated shot-change data shows that these frames are from the same scene as the one being processed.
The best prediction would be a motion compensated prediction making use of motion vectors, either newly-derived by a motion estimator (307), or already available either as part of the video (301), or associated with it. In the known art of motion-compensated prediction pixels or groups of pixels are moved to different positions (for example by manipulating the addressing of a store) in accordance with vectors describing the motion of the objects they represent. In this way the predicted field can be made to have the content of the previous field, but with objects in the positions which they would have occupied at the time of the current field.
If the shot-change data (302) is derived by the method of U.S. Pat. No. 6,075,818 (the contents of which are hereby incorporated by way of reference) the output (or intermediate data) from the motion estimator (307) can be used in its derivation.
The invention is also applicable to the case where the input video is progressive and an interlaced output with correct field dominance is required. If progressive frames are input, and the frame rate of the input is similar to the field rate of the output, output fields may be easily constructed by spatially sub-sampling the input frames. However, as shot changes can occur on any input frame, there will be no guarantee that the output field dominance will be correct.
This problem may be solved by the invention as follows. Either the structure of
The invention has been described by way of example and other embodiments are possible. For example the technique can be applied to systems having more than two fields in each frame; in this case more than one field will need to be replaced by a predicted field at a wrongly-timed cut.
Number | Name | Date | Kind |
---|---|---|---|
5471239 | Hill et al. | Nov 1995 | A |
6075818 | Thomson | Jun 2000 | A |
6259489 | Flannaghan et al. | Jul 2001 | B1 |
6587506 | Noridomi et al. | Jul 2003 | B1 |
6611624 | Zhang et al. | Aug 2003 | B1 |
6731684 | Wu | May 2004 | B1 |
6871003 | Phillips et al. | Mar 2005 | B1 |
7139029 | Holland et al. | Nov 2006 | B2 |
7453941 | Yamori et al. | Nov 2008 | B1 |
20030193614 | Holland et al. | Oct 2003 | A1 |
20050122426 | Winger et al. | Jun 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20050226318 A1 | Oct 2005 | US |