TELEVISION SIGNAL PROCESSING APPARATUS INCORPORATING MEANS FOR DETECTING 25 FRAME/SECOND MOTION PICTURE FILM SOURCES IN 50 Hz TELEVISION SIGNALS

Abstract: Television signal processing apparatus, including, particularly, a line doubler, a television standards converter, a television slow motion processor and a video information compressor incorporates means for detecting twenty-five frame per second motion picture film sources in 50 Hz television signals, such as PAL, SECAM, 50 Hz NTSC, 50 Hz HDTV and 50 Hz monochrome television signals. In a first embodiment, the detection scheme looks for differences in motion between a field and the previous field, on one hand, and between the same field and the subsequent field, on the other hand. In a second embodiment, the detection scheme compares differences in motion between the two pairs of fields of the same polarity in adjacent frames. In both embodiments, the detection schemes include signal treatment, such as filtering, thresholds and signal integration in order to assure that the scheme responds to true picture motion rather than noise or dropouts in the television signal.

Description: DESCRIPTION Television Signal Processing Apparatus Incorporating Means for Detecting 25 Frame/Second Motion Picture Film Sources in 50 Hz Television Signals Technical Field The present invention relates to television signal processing methods and apparatus. More particularly, the present invention relates to television signal processing apparatus and related methods, including, particularly, a line doubler, a television standards converter, a television slow motion processor and a video information compressor, wherein the apparatus and related methods incorporate means for detecting twenty-five frame per second motion picture film sources in 50 Hz television signals, such as PAL, SECAM, 50 Hz NTSC, 50 Hz HDTV and 50 Hz monochrome television signals. Background Art In accordance with US-PS 4,876,976, it is known to detect that a 60 Hz NTSC television signal has as its source a 24 frame/second motion picture film. A 24 frame/second film is applied to and synchronized with 60 Hz NTSC video by using a 3-2 film pull-down ratio such that three video fields come from one film frame and the subsequent two video fields come from the next film frame (e.g., AABBBCCDDDEE, etc., where "A," "B," etc. are successive film frames). Video fields of the same parity in adjacent video frames are compared. When motion is present, a distinctive repeating pattern is obtained only if the video source is film (i.e., 1101111011, etc., where "I" indicates motion and "0" indicates no motion). US-PS 4,982,280 discloses an arrangement for detecting a 30 Hz progressive scan source, which may be a video camera or film, in a 60 Hz progressively scanned non¬ interlaced television system. In the presence of motion from frame-to-frame within the 30 Hz progressively scanned video image sequences, when the video sequences in adjacent video fields are compared a 010101, etc. pattern results, indicating a 30 Hz progressively scanned source. Comparison of every second video field, to yield a 111111, etc., pattern, further confirms the 30 Hz progressive scan source. In order to operate, the arrangement relies on the spatial coincidence of pixels in the successive identical pairs of fields of the progressive scan television signal. US-PS 4,768,092 is directed to line doubling of an interlaced television signal, such as an NTSC signal. In creating and selecting interpolated signals, motion in adjacent fields is detected. In 50 Hz television systems, the video field rate (25 Hz) is the same as the motion picture film frame rate of 25 frames/second, which is speeded up from 24 frames/second in order to achieve synchronism with the television rate. This avoids any requirement similar to the 3-2 pulldown scheme which is used to synchronize 24 frame/second films with the nominally 60 Hz NTSC television signal. Because the 2-1 interlaced frame rate for 50 Hz television systems is 50 Hz, the film frames are repeated twice for each video frame, once for each interlaced video field. Thus, video field "1" corresponds to film frame "A," video field "2" also corresponds to film frame "A," video field "3" corresponds to film frame "B," etc. Disclosure of Invention By detecting that a 50 Hz television signal source is a motion picture film it is then known that the two fields of each television frame are identical in the temporal domain, as they are generated from a single film frame. Consequently, the interlaced 50 Hz television signal may be treated as a progressively scanned signal by reassembling the interlaced scan lines of each television frame. The resulting progressively scanned television picture provides an excellent signal source for line doubling, standards conversion or slow motion processing. In addition, knowledge that the pairs of television fields in each frame carry temporally identical information is useful for video data compression purposes. In accordance with the present invention, television signal processing apparatus and methods are disclosed which include detecting twenty-five frame per second motion picture film sources in 50 Hz television signals. The television signal processing apparatus and methods include, particularly, line doubling, television standards conversion, television slow motion processing and video information compression. In 50 Hz television systems because there is no NTSC-type 3-2 pull down ratio, film sequences cannot be detected with frame motion detection circuitry. Examining video frame motion per se in a 50 Hz system yields no useful information as to whether a video sequence is a film source. Instead, in order to determine if the source is a motion picture film, it is necessary to compare adjacent video fields. In other words, in order to detect the AABBCC, etc. pattern of film frames in the 50 Hz television signal stream, it is necessary to examine adjacent video fields for motion because only adjacent video fields will always carry the same video frame and will thus never have any motion. The detection of motion in adjacent video fields of an interlaced television requires the separation of true motion from the presence of motionless vertical transitions between the fields. In an interlaced television system, in the vicinity of vertical transitions (e.g., a horizontal black/white edge, such that the top of the picture is black and the bottom is white) there will always be spatial differences between the fields due to the offset of the horizontal scan lines in adjacent interlaced fields. This difference must be distinguished from motion in order to successfully identify adjacent video fields carrying the same motion picture film frame. Brief Description of Drawings Figure 1 is a series of graphs which illustrate the relationship of motion picture film frames to synchronized television fields which are progressively delayed by one field intervals. Figure 2 is a simplified block diagram of the basic motion picture film source detection scheme according to a first embodiment. Figure 3a is a simplified block diagram showing one arrangement which, when combined with the arrangement of Figure 2, provides line doubling and conversion to a progressively scanned television signal. Figure 3b is an alternative arrangement of Figure 3a. Figure 4 is a block diagram showing an overview of the film source detection scheme according to the first embodiment. Figure 5 is a block diagram showing the field motion detector 26 of Figure 4 in more detail. Figure 6 is a block diagram showing a series of delay lines for generating the input signals applied to the motion detectors 34 and 36 of Figure 5. Figure 7 is a block diagram showing the motion detector 34 in more detail. Figure 8 is a block diagram showing an implementation of the keep smaller value circuit 66. Figure 9 is a block diagram showing the F 0 F 2 motion comparator 38 in greater detail. Figure 10 is a block diagram showing the sequence detector 28 in more detail. Figure 11 is a flow chart setting forth a state diagram for the state machine 108 which is adapted to detect film mode sequences. Figure 12 is block diagram of an alternative mode of generating the motion signal C for application to the state machine 108. Modes for Carrying Out the Invention Except as noted herein, practical embodiments of the invention may be implemented using analog, digital (including digital signal processing with software), or hybrid analog/digital techniques. The equivalency of analog and digital implementations in most contexts is well known to those of ordinary skill in the art. Referring now to Figure 1, graph A marks a time scale wherein each division represents one one-fiftieth of a second. Graph B denotes the time intervals of five motion picture film frames, for example frame A, frame B, frame C, frame D, and frame E. At a 25 frame/second rate, each frame covers a l/25th second still frame interval of action. Graph C of Figure 1 illustrates the scan periods of odd and even television fields of consecutive video frames of the 50 Hz system. The video field rate is 50 Hz and the video frame rate is 25 Hz. Due to the speed advancement of the film from its original 24 frame/second rate to 25 frames/second, the motion picture film frames may be brought into synchronism with the video frames such as shown. As indicated in graph C, the pairs of interlaced fields in each video frame carry the same film frame (i.e., a first pair of adjacent interlaced fields both carry the information from film frame A). The video flow of graph C is designated field F 0 . Graph D of Figure 1 is the video flow of graph C delayed by one field. Graph E of Figure 1 is the video flow of graph C delayed by one further field. The video flow of graph D is designated field Fj and that of graph E, F 2 . If the video flow of field Fj is considered the "present" or middle field, then F 0 is the previous field and F 2 is the next field. As explained further herein, by comparing Fj to F 0 and F 2 to F] it is possible to determine that the video source is a motion picture film with motion in the picture and to identify which two fields are from the same film frame during a particular field time interval: if the absolute value of the difference between Fj and F 0 is smaller than the absolute value of the difference between F 2 and Fj, then F, and F 0 are from the same film frame. If the absolute value of the difference between F 2 and F, is smaller than the absolute value of the difference between F, and F 0 , then Fj and F 2 are from the same film frame. Alternatively, the same information may be obtained by observing if the differences between the two pairs of fields of the same polarity in adjacent frames are the same (i.e., the difference between the even fields and the difference between the odd fields in adjacent video frames). In the hypothetical example set forth in Figure 1, during the field time period containing the dashed line, the absolute value of the difference between Fj and F 0 is small (both are fields carrying film frame C) and the absolute value of the difference between F 2 and Fj is large, if the source is film and if there is motion between film frames B and C (field F 2 carries film frame B and field F, carries film frame C). One fiftieth of a second later, in the next field time period, the situation is changed with F 0 carrying the C film frame, F, carrying the B film frame and F 2 also carrying the B film frame. Thus, in the presence of motion from frame to frame in the film, the sets of absolute values will alternate or toggle back and forth from small to large every one-fiftieth of a second. In the case of no motion in the motion picture film, the situation is as though every film frame is an "A" frame and, consequently, every video field is an "A" field, resulting in the absolute values continuously indicating small outputs. If the source is not film but is video in which motion is possible from field to field, in the absence of motion, the absolute value outputs will be continuously small as in the case of film with no motion; however, when there is motion, the absolute value outputs will change randomly. As explained herein, these absolute value outputs may be conditioned and compared in order to provide patterns, among which is a unique pattern usable to provide a highly reliable indication that the source of the television signal is 25 frame/second motion picture film. These patterns may also be used to generate a field selector signal indicating which video field F 0 or F 2 carries the same motion picture frame as does video field Fj during a particular video field time period. The field selector signal toggles at a field rate between F 0 and F 2 , choosing the one that matches F,. In the alternative, a video flow F 3 is also derived by delaying F 2 by one further field. If the difference of F 0 and F 2 is taken and the difference of F, and F 3 is also taken and the two differences subtracted from each other the result is the same pattern that is obtained by the arrangement just described. Suitable conditioning to the signals is also provided to assure the reliability of the derived patterns. Figure 2 is a simplified block diagram of the basic motion picture film source detection scheme according to a first embodiment. The input video stream F 0 is applied on line 2. This video stream is delayed by a first field delay 4, thereby providing video stream F,, and by a second field delay 6, thereby providing video steam F 2 . Video streams F 0 , Fj and F 2 are applied to a motion sequence detector 8. The motion sequence detector 8, described in greater detail below, functions in response to the video streams to provide a field selector switching control signal on line 10 and a film yes/no signal on line 12. The switching control signal operates switch 14 so as to select the one of the video streams F 0 or F 2 which carries the same film frame during the particular television field interval as video stream F, when a film source is detected, thereby providing as outputs the correct pairing of video fields which carry the same film frame. The film yes/no signal indicates "yes" when a film source is detected. The "film yes" condition indicates that the detection system is in the "film mode." A "film no" condition indicates that the detection system is in its "video mode," indicating that the source is not a motion picture film. The output signals, the video stream F 0 or F 2 and video stream F, and the film yes/no signal are applied to the remainder of the television signal processing apparatus, the overall apparatus comprising, particularly, either a line doubler, a television standards converter, a television slow motion processor or a video information compressor. The film yes/no signal is useful in that it signals to the remainder of the processing apparatus that the pairs of video fields contain the same picture information and which two video stream outputs provide the correct pairing of fields for the particular field time period. Consequently, the processing apparatus need not apply any motion compensation to the video stream outputs. Furthermore, knowing that the pairs of fields contain the same picture information, the processing apparatus may assemble the interlaced lines into progressively scanned fields. A progressively scanned television signal is handled more easily than is an interlaced television signal by video processing apparatus, particularly line doublers, standard converters and slow motion processors. Figures 3a and 3b show two versions of simplified arrangements being fed by the Fj and F 0 or F 2 output signals of the arrangement of Figure 2, the overall combination of the arrangements of Figure 2 and Figure 3a or 3b constituting a television line doubler. More details regarding line doublers are well known in the art, for example as set forth in US-PS 5,159,451 and US-PS 4,876,596. In Figure 3a the video stream Fj delayed by one-half a horizontal line (H/2) in block 16 is applied to a two-to-one time compression circuit 18, which compresses to one- half the time base of the delayed video stream Fj, thereby compacting the original scan line information into one half of the original time devoted to the scan line. The video stream F 0 or F 2 is applied to another two-to-one time compression circuit 20, which compresses to one-half the time base of the video stream F 0 or F 2 . The time-compressed video streams are additively combined in combiner 22. There is already a one field time offset between Fj and F 0 or F 2 as a result of delay 4 or delay 6 (Figure 2). In practice, and as described below, the one field time delay is implemented as a delay of an even number of lines, either 312 or 313 lines in the case of a 50 Hz system having 625 lines, such as the PAL system common throughout parts of Europe. The output from combiner 22 of Figure 3a provides progressively-scanned line- doubled frames at the original field rate, wherein each frame contains twice the number of scan lines as the original field. In other words, the time position of each field is replaced by a complete frame having 625 lines instead of 312V2 lines. Figure 3b shows an equivalent arrangement in which instead of a one-half line delay occurring before the time compression circuit 18, a one line delay 24 occurs after circuit 18. The delay is one line in the sense of the time compressed lines: the delay time of delays 16 and 24 is the same. The output from combiner 22 is the same as in Figure 3a. The time compression circuits of Figures 3A and 3B each have a small inherent delay, which may be ignored for the purposes of understanding the line doubler operation. The film yes/no output signal may be applied to the line doubler so as to turn off motion compensation (not shown) in the film yes condition and to turn on motion compensation in the film no condition. Motion compensation is required when a line doubler is processing a video source. The motion picture film source detection scheme according to the first embodiment is shown in more detail in the next series of block diagrams beginning with Figure 4 in which an even/odd field motion detector 26 receives as its inputs four video streams: F 0 , F ι - . 5H> Fi + . 5H and F 2 . F, . 5H is F 0 delayed by one-half line less than one field (312 lines in the 625-line PAL system) and F, + 5H is F 0 delayed by one line more than one field (313 lines in the 625-line PAL system). Although a field delay is shown above in the simplified Figure 2, a delay of exactly one field or 312V6 lines is not practical. The delay of 312 lines and the resulting delay of 313 lines allows spatial alignment with the line directly above (F, - 5H ) and the line directly below (F, + 5H ), which is useful in separating true motion between the interlaced fields from vertical picture transitions. The field motion detector 26 is described more fully in connection with Figure 5. The output from block 26 is an F( F 2 compared motion signal indicating which one of F 2 or F 0 is closer to F, with respect to motion. That signal is then applied to a sequence detector 28 that looks for patterns in the Fo/F 2 compared motion signal. Sequence detector 28 is described further below in connection with Figure 10. The outputs from sequence detector 28 are the "sequence detected" or "film mode" signal (i.e., the film yes/no signal of Figure 2) on line 30 and the field selector signal (i.e., the switching control signal of Figure 2) on line 32. Referring now to Figure 5, more details of the even/odd field motion detector 26 are shown as including an F, - F 0 motion detector 34 and an F 2 - Fj motion detector 36. Detectors 34 and 36 provide an indication of motion between 1) Fj and F 0 and 2) F 2 and F, while removing any false motion indications that may result from vertical picture transitions. Detector 34 receives inputs F 0 , F, . 5H and Fj + 5H . Detector 36 receives inputs Fj . . 5H , Fj + 5H and F 2 . The outputs from detectors 34 and 36, signals indicating F, - F 0 motion and F 2 - Fj motion, are applied to the F 0 F 2 motion comparator 38. The video flows Fj - . 5H» Fi + . 5H and F 2 may be obtained as shown in Figure 6 by applying the F 0 signal to a series arrangement of delay lines: a first delay 40 having a delay time equal to 312 horizontal lines (one half line less than one 625-line PAL system field), a second delay 42 having a delay of one horizontal line and a third delay 44 also having a delay time equal to 312 horizontal lines. The F, . 5H output may be taken between delays 40 and 42 and the Fj + 5H between delays 42 and 44. Figure 7 shows the motion detector 34 in more detail. The field minus one-half line delayed video on the path 46 is subtractively combined with the incoming undelayed video on the path 48 in a first subtraction circuit 50 which puts out a difference over a path 52. The field plus one-half line delayed video on the path 54 is subtractively combined with the incoming video on the path 48 in a second subtraction circuit 56 which puts out a difference over a path 58. The difference signal on the path 52 is passed through a low pass filter 60 to provide a signal on a path 64 which enters a "keep smaller value" circuit 66. Similarly, the difference signal on the path 58 is passed through a low pass filter 68 to provide a signal on a path 72 which also enters the keep smaller value circuit 66. The low pass filters 60 and 68 provide a notch at the color subcarrier frequency. Subsequent circuitry thus operates on luminance signal components. It is very rare when motion occurs in one of the sets of luminance and chrominance signal components without motion in the other. Although some sensitivity and signal-to noise ration improvements could be achieved by doing both, doing so is not believed to be warranted in view of the additional cost. An implementation of the keep smaller value circuit 66 is shown in Figure 8. The J and H signals on lines 72 and 64 are rectified by respective full-wave rectifiers 70 and 62 and the rectified signals are applied to a magnitude comparator 76. The magnitude comparator 76 determines if the rectified J signal is greater than or equal to the rectified H signal, and if so generates and puts out a control signal on a path 78 to control operation of a switch 80. The switch 80 puts out J when it is of lesser magnitude than H. When J is equal to or greater in magnitude than H, the switch 80 is operated, and the H signal is then put out. The output is therefore a unsigned quantity reflecting the amount of motion between F, and F 0 or F 2 and F,. In operation the detector circuit 34 separates vertical transitions from images in motion within the incoming video signal stream. The concept implemented within the Figure 7 detector circuit 34 is to compare two adjacent fields, but not on a line-by-line basis. Rather, three lines of information are compared. A first comparison, provided by the subtracter 50 is between a line in video flow F 0 , and a prior line of delayed video flow F, _ 05H occurring temporally one field less one-half line earlier (312 scan lines earlier in the 625-line PAL signal format). This earlier line is spatially about one line above the present scan line on the display. A second comparison, provided by the subtractor 56 is between a line in video flow F 0 and a prior line of delayed video flow F, + 05H occurring temporally one field plus one-half line earlier (313 scanning lines earlier in the 625-line PAL signal format). This second earlier scan line is spatially about one line below the present scan line on the display and lies in the same field as the other earlier scan line. The F 2 - F, motion detector 36 of Figure 5 is essentially the same as detector 34 except that F 2 is applied instead of F 0 . The F 0 F 2 motion comparator 38 of Figure 5 is shown in greater detail in Figure 9. Its inputs, signals A and B from detectors 34 and 36 are two motion signals, indicating, respectively, the amount of relative motion between fields F 0 and Fj and fields Fj and F 2 . These signals may vary during the time period of a field depending on whether there is relative motion between fields in particular regions of the picture. The motion comparator conditions signals A and B to provide signals D and E and compares them in a magnitude comparator. The comparator 102 provides an output, at the video field rate, that has one of two states. The output has one state when one of D or E is greater than or equal to the other and has the other state when the other of D or E is less than the other. Further conditioning assures that the final output remains in one state or the other throughout each entire video field time period after the occurrence of a condition. Patterns in the output states are analyzed in the sequence detector 28 (Figure 4) to provide the film mode and field switching signal outputs. Referring to the details of Figure 9, each signal is applied to a further low pass filter 86 and 88, respectively. The low pass filters further suppress any residual color subcarrier information. The low-pass filtered signals are then applied to optional low- contrast motion-booster circuits 90 and 92, respectively. The booster circuits 90 and 92 function to make the motion detection less dependent upon contrast ratio between the object in motion and the background as it would be otherwise. Such a circuit may be implemented by an arrangement which adds a fraction of the previous lines' motion to the present line's motion and limits the maximum value of the sum: the output of a limiter is fed back to an additive combiner at the input of the limiter, the feedback path including a one-line delay and an amplitude sealer (3/4, for example). Such circuits are known in the art. One line of motion thus creates motion signals for subsequent lines, the amplitude envelope of the created motion signals rising to an amplitude set by the limiter when motion begins and decaying exponentially when motion ends. Although the booster circuits 90 and 92 improve performance, they may be omitted. The filtered and boosted signals are applied to respective full-wave rectifier and threshold circuits 94 and 96. The full-wave rectifiers eliminate the sign of the motion, which is not relevant, and the threshold is for suppression of noise and any remaining color subcarrier signal components. The rectified and thresholded signals are applied to respective horizontal integrators 98 and 100. Optionally, for improved performance, but substantially increased cost, the horizontal integrators 98 and 100 may also include vertical integration. Thus, they are labeled "H + V Integrator. " Horizontal and vertical integration makes the arrangement less susceptible to errors caused by noise spikes, drop outs and other signal disruptions and anomalies. The horizontal integration aspect of blocks 98 and 100 looks at the motion signals corresponding to a group of adjacent pixel positions as the motion signals flow through the integrator. For example, 8 horizontal pixel positions may be examined. Such an arrangement can be implemented, for example, by applying the motion signals to a shift register or multiple delay line arrangement such that an output is provided for a current pixel time and times corresponding to the previous 7 pixels. A difference in amplitude of corresponding pixel positions between the fields may either indicate motion or a signal anomaly such as noise or a drop out. The horizontal integration (and the vertical integration, described below) assists in distinguishing motion from signal anomalies. The integrators 98 and 100 sum the 8 pixel motion signals and, if the sum exceeds a threshold, the pixel is considered to be in an area of motion and the resulting signal is put out by the integrator. If the sum is less than the threshold, the pixel is considered to be in a motionless area and no output is provided. Thus, a threshold is set that defines a minimum horizontal size to qualify as an object in motion, thus discriminating against noise and dropouts. The threshold may be set, for example, to look, for example, for motion at 4 or more pixel locations in the defined area of 8 pixels. The number of pixels examined, their spatial relationship to the "current" pixel and the threshold number are design choices and may be varied. The duration of a motion signal above the threshold in outputs D or E from blocks 98 and 100 is a function of the velocity of the object in motion in the picture and the magnitude of the motion signal is a function of the contrast, compared to the picture background, of the object in motion. The outputs D and E are applied to a magnitude comparator 102 which determines which input is smaller. Thus, it functions to decide which of the two has less motion. Stated another way, it determines which input is closer to the F, video flow. The output from comparator 102 is, for example, arbitrarily "0" if D is greater than or equal to E and "1" if D is less than E. The output from comparator 102 is applied to a vertical integrator 104 which removes short term aberrations in the output of the magnitude comparator 102. For example, four vertical pixel positions are examined. Such an arrangement can be implemented by applying the magnitude comparator signals to a shift register or multiple delay line arrangement such that an output is provided for a current pixel time and times corresponding to the previous three pixels in the adjacent lines. When four or more consecutive occurrences of the same magnitude comparator output are detected, the integrator puts out a signal corresponding to that comparator output and the integrator output retains that output until four consecutive occurrences of the opposite magnitude comparator occur. Thus, the vertical integrator 104 sets a threshold that defines a minimum vertical size of an object in motion and assures that less than four aberrant comparator outputs will not cause a false indication of film detection. As mentioned above, the vertical integration may be performed along with the horizontal integration in blocks 98 and 100, but at greater complexity and cost because the signals present prior to the comparator 102 are more complex. Alternatively, and perhaps even more effectively from a technical standpoint, vertical integration may be done in blocks 98 and 100 and in block 104. If this is done, the threshold in block 104 may be lowered. The output from vertical integrator 104 is applied to a motion signal field latch circuit 106. The latch is reset to zero at the beginning of each field period at the original scan rate. If F 0 is closer to F, than F 2 is to F, at any time during the present field interval field, the magnitude comparator output goes from "0" to "I" and the output from latch 106 becomes set and is "I" for the remainder of the field. The first occurring "1" from comparator 102 is effective to latch the circuit 106. If no "I" is received from the comparator during a field interval, the latch remains at its reset value. Thus, in the presence of motion within the picture and if F 0 is closer to F, than F 2 , the latch 106 becomes set when the motion is first detected, and remains set for the remainder of the field. Thus, the output from block 106 is the two-state F 0 F 2 compared motion signal C which is applied to the sequence detector 28 (Figure 4). The sequence detector is described in more detail in connection with Figure 10. Only information inside the picture edges are examined by the arrangement of Figure 9. Thus, the horizontal and vertical blanking intervals are ignored as are the edges of the picture information adjacent the blanking intervals. In practice, of the two signals D and E applied to comparator 102, if the source is film, during each field time period, one of the two will nearly always be zero unless there is a dropout or a very large noise spike. The other signal will either be zero for the case of no motion or some non-zero value if there is motion. If the source is film, there will be an obvious and readily detectable imbalance between the two signals during motion conditions. For nearly all practical conditions, only when the source is video with motion rather than film will both signals E and D be other than zero. Referring now to Figure 10 in which the sequence detector 28 (Figure 4) is shown in more detail as a film mode state table decoder 108 which comprises a state machine including a film mode state table decoder 109 and a film mode state latch 110 connected to recirculate a number of bit positions of the output of the latch 110 to address line positions of the film modes state table 109. The low order address bit position for the decoder 109 is provided by the motion signal C. The decoder 109 may be implemented using discrete logic, by a PROM or by other known arrangements. The state machine 108 thus configured is responsive to a pattern of successive film motion bits carried by the signal C at the original field scan rate, such as 10101010, etc. This pattern is tested by the state machine 108 and if found to be present over several repetitions is used to generate the film mode yes signal and to select the F 0 or F 2 signals. If the value of signal C is a "I " during any part of a field interval, the entire field interval is treated as a "I . " When in the video mode and the state machine 108 is in state zero, the state machine looks for a "I" followed by a "0," on a field clock basis. When this pattern is found, it is tested again. Nine successive sequences, for example, of the film mode pattern cause the state machine 108 to enter the film mode. Nine one-zero sequences is 18 fields — a time somewhat less than one-half second. The number of sequences is a tradeoff between the thresholds set in the horizontal and vertical integrators of Figure 9 and the time-weighted ability of the system to operate tolerably when a film source is in fact present but has not been detected. In the case of line doubling, for example, when a film source is present but not yet detected, most systems cause a moire pattern to be displayed. Also, small picture details may appear to shimmer or sparkle. But the human eye requires some time to discern the presence of such anomalies and their presence for less than one- half second is not annoying to most viewers. It is preferable for the system to erroneously fail to detect a film source rather than to erroneously detect a film source when in fact the source is video rather than audio. In the latter case, the false indication of a film source causes a line doubler to disable its motion compensation circuitry, a catastrophic failure that causes very obvious and objectionable errors in the reproduced picture. When in the film mode, the state machine 108 generates and puts out a predetermined switching pattern signal, toggling back and forth, to select the one of F 0 or F 2 that matches F,. The film mode continues until motion signal C has a motion pattern of two ones, which is inconsistent with the film, causing the state machine to return to video mode. A pattern of continuous zeros, indicating no motion (in both film and video), will not cause the state machine to change states either from film mode to video mode or from video mode to film mode. An improper film sequence, such as "101001," as may result from an improper video edit of a film source, causes the machine to return to video mode. Figure 11 sets forth a state diagram for the state machine 108 which is adapted to detect film mode sequences. A first step 112 includes a test for a " 1 " followed by a "0." If this unique video sequence repeats nine times in a row, for example, a logical node 114 determines that the film mode sequence has been detected. The recurrent pattern tested by the step 112 results in a film mode "signature" which is detected at the logical node 114. If a single "1" or "0" is missed, the step 112 is cleared and a second attempt is made to find a film mode signature. Each logical test of the node 114 which is negative results in a return to the step 112. A successful detection of film mode signature at the node 114 causes the state machine 108 to progress to a step 116 which tests each second state to be a "0" in accordance with the unique sequence attributable to film to video transfer. A logical node 118 tests this second state, and if a "1" is present clears step 112 and a further attempt is made to find a film mode signature. If the logical node 118 finds a "0," the state machine progresses to logical node 120 which tests the Edit Yes/No signal from another source. If an Edit Yes signal is present, step 112 is cleared and a further attempt is made to find a film mode signature. If the Edit No signal is present, the machine is looped back to step 106. This loopback continues for the duration of film mode video sequences. Thus, if the source remains film and the film has a picture with motion, the sequence remains the same and the state machine stays in the film mode. Another possibility is that the source remains film but there is no motion. Alternatively, the source may have changed to a video source, but one with no motion. In both motionless cases, film and video, the sequence applied becomes all 0s and in both cases, the state machine stays in the film mode. The third possibility is that the source changes from a film source to a video source in motion. The sequence applied becomes all Is. In this case, the state machine exits the film mode and looks for the next film in motion source sequence. Figure 12 is an alternative mode of generating the motion signal C for application to the state machine 108. This alternative mode is based on the recognition that the differences between the same polarity fields in adjacent frames will be the same when the television signal source is a motion picture film with motion. The input video stream F 0 is applied on line 124. This video stream is delayed by a first field delay 126 (more specifically, a field plus one-half line delay, a 313 line delay in a 625-line system), thereby providing video stream Fj, by a second field delay 128 (more specifically, a field minus one-half line delay, a 312 line delay), thereby providing video steam F 2 , and by a third field delay 130 (more specifically, a field plus one-half line delay, a 313 line delay) providing video stream F 3 . Alternatively, the delays 126, 128 and 130 may be 312 lines, 313 lines and 312 lines, respectively (in a 625-line system). The one frame delayed video F 2 and the incoming undelayed video F 0 are subtractively combined in a first subtraction circuit 132 to put out a difference over a path 134. The field plus one-half line delayed video F, and the frame delayed version of Fj, F 3 , are subtractively combined in a second subtraction circuit 136 to put out a difference over a path 138. The output of path 138 is applied to a serial arrangement of a low-pass filter 86', a full-wave rectifier and threshold 94' and a horizontal and vertical integrator 98'. The output of path 134 is applied to a serial arrangement of a low-pass filter 88', a full- wave rectifier and threshold 96' and a horizontal and vertical integrator 100'. The outputs of the two serial paths are subtractively combined in a third subtraction circuit 140, the output of which is applied to a vertical integrator 104' and a vertical hold 106'. The prime markings indicate that the various blocks correspond to the blocks describe in connection with the embodiment of Figure 7. The c ^ut of block 106' is essentially the same signal generated by block 106 of Figure 7 and is suitable for application to the state machine 108. As mentioned above, the film mode detection schemes disclosed herein are advantageously embodied in video processing apparatus. For example, either embodiment of the film mode detection apparatus (Figures 2 through 9 in combination with Figures 10 and 11 or Figure 12 in combination with Figures 10 and 11) may be used with suitable delays and time compressors to provide a line doubler in the manner of the line doubling arrangements shown in Figures 3A and 3B. As explained above, such a combination also functions as a 2-1 interlace to progressive scan converter. The film mode detection apparatus and line doubler/progressive scan converter apparatus may also form part of a video compression device, a standard converter or a slow motion converter. Alternatively, the video compression device, standard converter or slow motion converter may be configured so as to operate on the two video signal paths (properly identified as Fj and F 0 or F 2 ) without any requirement to assemble the signals into a progressive scan television signal before processing them further in accordance with the purpose of the device.

Claims: CLAIMS 1. Television signal processing apparatus, comprising means for receiving a television input signal having a 25 Hz frame rate and a 50 Hz field rate, each frame made up of two interlaced fields, wherein the television input signal source from time to time is a 25 frame/second motion picture film and the motion picture film frame rate is synchronized to the 25 Hz television signal frame rate, whereby when the television signal source is a 25 frame/second motion picture film the pairs of interlaced fields in each television frame are derived from the same motion picture frame, means for detecting when the television input signal source is a 25 frame/second motion picture film, and means responsive to said means for detecting for processing the television signal. 2. Television signal processing apparatus according to claim 1 wherein said means for detecting when the television input signal source is a 25 frame/second motion picture film includes means for detecting when consecutive adjacent pairs of fields in the television signal alternate between being substantially identical in the temporal domain and being substantially non-identical in the temporal domain. 3. Television signal processing apparatus according to claim 2 wherein said means for detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields. 4. Television signal processing apparatus according to claim 3 wherein, when said means for detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields, said means for detecting generates a signal indicating that the television input signal source is motion picture film. 5. Television signal processing apparatus according to claim 4 wherein when said means for detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields, said means for detecting also generates a signal indicating which pair of adjacent fields are substantially identical. 6. Television signal processing apparatus according to any of claims 2 through 5 wherein said means for detecting includes means for generating a signal of one sense in response to an adjacent pair of fields which are substantially identical in the temporal domain and a signal of another sense in response to an adjacent pair of fields which are substantially non-identical in the temporal domain and means responsive to the signals of one sense and another sense for detecting patterns in said signals. 7. Television signal processing apparatus according to claim 6 wherein said means for generating a signal of one sense and a signal of another sense includes means for comparing video information in a field to that in the immediate previous field and to that in the immediate subsequent field. 8. Television signal processing apparatus according to claim 6 wherein said means for generating a signal of one sense and a signal of another sense includes means for comparing video information in a field F 0 to the field of the same parity, F 2 , one frame earlier and comparing video information in a field F,, the field immediately previous to field F 0 , to the field of the same parity, F 3> one frame earlier, and comparing the result of the two comparisons. 9. Television signal processing apparatus according to claim 5 wherein said means for processing the television signal includes time delay and time compression means responsive to the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical for generating a line-doubled progressively-scanned television signal. 10. Television signal processing apparatus according to claim 9 wherein said means for processing the television signal includes television standard conversion means responsive to said line-doubled progressively-scanned television signal. 11. Television signal processing apparatus according to claim 9 wherein said means for processing the television signal includes video information compression means responsive to said line-doubled progressively-scanned television signal. 12. Television signal processing apparatus according to claim 9 wherein said means for processing the television signal includes television slow motion processing means responsive to said line-doubled progressively-scanned television signal. 13. Television signal processing apparatus according to claim 5 wherein said means for processing the television signal includes television standard conversion means responsive to the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical for generating a line-doubled progressively-scanned television signal. 14. Television signal processing apparatus according to claim 5 wherein said means for processing the television signal includes video information compression means responsive to the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical for generating a line-doubled progressively-scanned television signal. 15. Television signal processing apparatus according to claim 5 wherein said means for processing the television signal includes television slow motion processing means responsive to the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical for generating a line-doubled progressively-scanned television signal. 16. Television signal processing method, comprising receiving a television input signal having a 25 Hz frame rate and a 50 Hz field rate, each frame made up of two interlaced fields, wherein the television input signal source from time to time is a 25 frame/second motion picture film and the motion picture film frame rate is synchronized to the 25 Hz television signal frame rate, whereby when the television signal source is a 25 frame/second motion picture film the pairs of interlaced fields in each television frame are derived from the same motion picture frame, detecting when the television input signal source is a 25 frame/second motion picture film, and processing the television signal in response to detecting that the television input signal source is a 25 frame/ second motion picture film. 17. Television signal processing method according to claim 16 wherein detecting when the television input signal source is a 25 frame/second motion picture film includes detecting when consecutive adjacent pairs of fields in the television signal alternate between being substantially identical in the temporal domain and being substantially non-identical in the temporal domain. 18. Television signal processing method according to claim 16 wherein the detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields. 19. Television signal processing method according to claim 18 wherein, when the detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields and generates a signal indicating that the television input signal source is motion picture film. 20. Television signal processing method according to claim 19 wherein when the detecting detects a predetermined number of alternations in consecutive adjacent pairs of fields and also generates a signal indicating which pair of adjacent fields are substantially identical. 21. Television signal processing method according to any of claims 17 through 20 wherein said detecting includes generating a signal of one sense in response to an adjacent pair of fields which are substantially identical in the temporal domain and a signal of another sense in response to an adjacent pair of fields which are substantially non-identical in the temporal domain and detecting patterns in the signals of one sense and another sense. 22. Television signal processing method according to claim 21 wherein generating a signal of one sense and a signal of another sense includes comparing video information in a field to that in the immediate previous field and in the immediate subsequent field. 23. Television signal processing method according to claim 21 wherein generating a signal of one sense and a signal of another sense includes comparing video information in a field F 0 to the field F 2 one frame earlier and comparing video information in a field Fj, the field immediately previous to field F 0 , to the field F 3 one frame earlier, and comparing the result of the two comparisons. 24. Television signal processing method according to claim 20 wherein processing the television signal includes time delaying and time compressing acting in response to the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical to generate a line-doubled progressively-scanned television signal. 25. Television signal processing method according to claim 24 wherein processing the television signal includes television standard converting acting on said line-doubled progressively-scanned television signal. 26. Television signal processing method according to claim 24 wherein processing the television signal includes video information compressing acting on said line-doubled progressively-scanned television signal. 27. Television signal processing method according to claim 24 wherein processing the television signal includes television slow motion processing acting on said line-doubled progressively-scanned television signal. 28. Television signal processing method according to claim 20 wherein processing the television signal includes television standard converting acting on the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical to generate a line-doubled progressively- scanned television signal. 29. Television signal processing method according to claim 20 wherein processing the television signal includes video information compressing acting on the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical to generate a line-doubled progressively- scanned television signal. 30. Television signal processing method according to claim 20 wherein processing the television signal includes television slow motion processing acting on the signal indicating that the television input signal source is motion picture film and the signal indicating which pair of adjacent fields are substantially identical to generate a line-doubled progressively-scanned television signal.

Inventors: FAROUDJA YVES C, SWARTZ PETER, XU DONG, FAROUDJA, YVES, C., SWARTZ, PETER, XU, DONG
Applicants: FAROUDJA Y C, FAROUDJA, YVES, C.
Application year: 1993
Main classification: H04N5
IPC codes: H04N5, H04N7