Picture processing apparatus and method

Abstract: An interpolation interval V dp obtained by the picture sizes of the original picture and the converted picture is cumulated by an adder. In the odd field, a selector (17) selects [0.5] as an offset corresponding to an odd/even field determination signal. In the even field, the selector selects [0] as an offset corresponding to the odd/even field determination signal. In a vertical blanking interval, the offset is selected as an output. Thus, in the odd field, the offset value [0.5] is added to the cumulated value of V dp . Thereafter, V dp is cumulated again. Corresponding to the cumulated value, a line read address n and linear interpolating coefficients q n1 and q n2 are obtained. When V dp is cumulated, offsets corresponding to the scanning start points in the odd field and the even field are added. Thus, the interlace accuracy is kept.

Description: The present invention relates to a picture processing apparatus and a processing method thereof for performing an interpolating process upon an interlaced picture. Normally, a video signal is sent and processed in an interlace system. As is known, in a video signal corresponding to the interlace system, one frame is composed of two fields that are an odd field and an even field. Lines that are skipped in the odd field are scanned in the even field. In this case, the scanning start position of the odd field is different from the scanning start position of the even field by 0.5H (horizontal frequency) as timing difference. The timing difference keeps the interlace relation. On the other hand, there are needs for enlargement and reduction of pictures. A picture is enlarged or reduced by a line number converting process for a video signal. The line number converting process is performed by writing a video signal to the field memory line by line (every 1H). Since the video signal is written line by line, the odd field and the even field are written to the field memory in the same manner. In other words, a particular line of each of the odd field and even field is written to the same address of the field memory. Thus, the deviation of the scanning start position by 0.5H does not take place. Consequently, in the space of the field memory, the above-described interlace relation does not become kept. Thus, when the picture enlarging process for increasing the number of lines in the fields is performed by reading data from the field memory, the resultant resolution adversely deteriorates. This is because when the number of lines is converted by linearly interpolating adjacent two lines in the field, the variation of the relation of lines in each field adversely affects the interpolating process. However, when the picture reducing process for decreasing the number of lines in the fields is performed, such a problem does not take place. Thus, conventionally, when a line is read from the field memory, the read timing between the fields is varied for the interlace time period (namely, 0.5 H). Thus, the problem of the deterioration of the resolution in the enlarging process was solved. This method is effective when the number of lines is increased an integer number of times (for example, two times). Figs. 7A to 7C show examples of which lines are read at different read timings that vary for 0.5 H and linearly interpolated so as to increase the number of lines two times. Pixels in Figs. 7A to 7C show representative points of which the horizontal positions on individual lines are the same. This representation applies to other drawings that follow. "○" represents a pixel in white level. "×" represents a pixel in black level. Pixels on lines of the odd field and even field are interlaced. "" represents a dark gray whose brightness is 50 % or less. Hatched "○" represents a bright gray whose brightness is 50 % or more. In Figs. 7A to 7C, the top odd line is for example the first line. An original signal shown in Fig. 7A is written to the field memory in such a manner that the original signal in the odd field is treated in the same manner as the original signal in the even field as shown in Fig. 7B. When the number of lines is converted and increased two times, the interpolating process is performed at positions denoted by arrows corresponding to these pixels as shown in Fig. 7B. The interpolating process is performed every 1/2 lines in each field. When an original signal is read, timing for 0.5H is controlled. Thus, pixels as shown in Fig. 7C are obtained. A pixel that is interpolated with a pixel of white level and a pixel of black level becomes a gray pixel. Thus, in the converting process for increasing the number of lines two times, the interpolating process can be properly performed in the conventional method. In the converting process for increasing the number of lines two times, there are several methods. As a first method, one frame image which the odd field and the even field are overlaid is displayed in succession over two fields without an in-field interpolating process. As a second method, each field is read twice so as to increase the number of lines. However, in these methods, in the first method, as shown in Fig. 8A, since pictures that have a delay each other are displayed on the same screen, the motion thereof becomes unnatural. In the second method, as shown in Fig. 8B, the sufficient resolution deteriorates. Thus, it cannot be said that such methods are good. On the other hand, there are needs for a variable enlarging process rather than a fixed enlarging process (for example, the enlargement ratio is not an integer value such as 4/3 times the original picture). In this case, the optimum interlace relation cannot be maintained. Thus, the resolution will deteriorate or lines will flicker. Consequently, the picture quality of the resultant picture becomes poor. Figs. 9A to 9C show examples of the result of a conventional interpolating process in the case that an enlarging process for 4/3 times was performed. As shown in Fig. 9B, the interlace relation of the odd field and even field is lost in an original pixel signal (Fig. 9A) written to a field memory. The resultant signal is written to the field memory. When the number of lines is converted and increased 4/3 times, the interpolating process is performed at the positions denoted by arrows shown in Fig. 9B. In other words, the interpolating process is performed every 1/(4/3) lines in each field (namely, every 3/4 lines). When data is read, timing for 0.5H is controlled. Thus, pixels as shown in Fig. 9C are obtained. Consequently, since the symmetrical shape of the original pixel signal becomes asymmetrical, the resultant signal is observed as lines that flicker. Thus, in the conventional method, when data is written to the field memory, the interlace relation is not kept. Consequently, when a picture is enlarged with an enlargement ratio of a non-integer value (such as 4/3 times), the resultant picture gets distorted against the original picture. An object of at least preferred embodiments of the invention is to provide a picture processing apparatus and method that allow the result of an interpolating process to be obtained with the interlace relation of the original picture even if the magnification factor is not an integer value in a line number converting process with a field memory for accessing an interlace signal line by line. European Patent Application Publication No. EP-A-0 477 884 discloses a picture processing apparatus according to the pre-characterising part of claim 1 hereof and a picture processing method according to the pre-characterising part of claim 8 hereof. The present invention provides a picture processing apparatus according to claim 1 hereof and a picture processing method according to claim 8 hereof. As described in more detail below, according to a preferred implementation of the present invention, since an interpolating process is performed for a line number converting process corresponding to an interpolation interval initialized and cumulated for each field with a value corresponding to the scanning start point of each of the odd field and even field, the interlace relation is kept in the result of the interpolating process. An embodiment of the invention will now be described, by way of example only, with reference to the accompanying drawings in which: Fig. 1 is a block diagram showing an example of the structure of a picture processing apparatus according to one embodiment of the present invention; Fig. 2 is a schematic diagram for explaining a liner interpolating process; Figs. 3A and 3B are schematic diagrams showing an example of mapping of a field memory; Fig. 4 is a block diagram showing an example of the structure of a vertical interpolating address/coefficient generator; Figs. 5A to 5C are schematic diagrams for explaining a conversion for increasing the number of lines two times; Figs. 6A to 6C are schematic diagrams for explaining a conversion for increasing the number of lines 4/3 times; Figs. 7A to 7C are schematic diagrams for explaining a conventional conversion for increasing the number of lines two times; Figs. 8A and 8B are schematic diagrams for explaining a frame overlaying process and a twice reading process; and Figs. 9A to 9C are schematic diagrams for explaining a conventional conversion for increasing the number of lines 4/3 times. Next, with reference to the accompanying drawings, an embodiment of the present invention will be described. Fig. 1 shows an example of the structure of a picture processing apparatus according to the present invention. In this embodiment, an enlargement/reduction ratio has been designated to an input picture signal. A linear interpolation is performed with adjacent two lines. By properly selecting positions to be interpolated, the interlace relation is maintained and thereby the picture quality is improved. The number of effective lines in one field of an original signal (V active ) and the number of effective lines of which the original signal is converted ( V size ) are supplied to a divider 1. These values are supplied from a system controller (not shown) corresponding to a user's setup value or a system's setup value. When the number of effective lines in the 525 lines/50 Hz system is 240, the picture is enlarged 4/3 times and the number of lines is increased to 320 lines, V active becomes 240 and V size becomes 320 lines. In the divider 1, the vertical interpolation interval V dp is obtained by V active /V size . The vertical interpolation interval V dp is supplied to a vertical interpolating address/coefficient generator 2. Corresponding to an input picture signal, a vertical blanking pulse V blk that represents the vertical blanking interval of the picture signal and a line clock f H generated every 1H are extracted by a predetermined means (not shown). The vertical blanking pulse V blk and the line clock f H are supplied to a vertical interpolating address/coefficient generator 2. The vertical address/coefficient generator 2 generates an interpolation vertical address n and a vertical interpolating coefficient q n1 corresponding to the received vertical interpolation interval V dp , the vertical blanking pulse V blk , and the line clock f H . In addition, q n2 that is a 1's complement of q n1 is generated. The process of the vertical address/coefficient generator 2 will be described later. As described above, according to the embodiment of the present invention, the picture is enlarged/reduced by the linear interpolating process. As shown in Fig. 2, the position of a pixel x n in the coordinates after the enlargement is obtained corresponding to pixel A n and A n+1 in the coordinates before the enlargement. Corresponding to the ratio of internally divided points of the pixels A n and A n+1 to the pixel x n , the data of the pixel x n is obtained corresponding to Formula (1). As the ratio of internally divided points, the vertical interpolating coefficient q n1 and the 1's complement q n2 are used. x n = q n2 • A n + q n1 • A n-1 Line data A t is successively supplied from a terminal 3 of Fig. 1 corresponding to the scanning of the picture signal. The data A t is composed of pixel data such as a luminance signal Y, a color difference signal U/V, or an RGB signal. If necessary, the line data A t is filtered in a preceding stage (not shown). The line data A t is written to field memories 4 and 5 that are accessed line by line. The line addresses of the memories 4 and 5 deviate by one line. Figs. 3A and 3B show examples of address mapping of the memories 4 and 5. In Figs. 3A and 3B, there are addresses for N - 1 lines in the vertical direction corresponding to the number of effective lines N in one field. The number of effective lines in one field (N) depends on the standard of the video signal. For example, in the case of the 525 line/60 Hz system, the number of effective line in one field is 240 lines. In the case of the 625 line/50 Hz system, the number of effective lines in one field is 288 lines. In this example, line data from line 1 to line (N - 1) is written to the field memory 5 shown in Fig. 3A. Line data from line 2 to line N is written to the field memory 4 shown in Fig. 3B. In other words, with respect to the same line address n, while the line A n is written to the field memory 5, whereas the line An-1 is written to the field memory 4. The line data is read from the same address of the field memories 4 and 5 corresponding to the vertical interpolating address n that is output from the above-described vertical interpolating address/coefficient generator 3. The line data read from the field memory 4 is supplied to a first input terminal of a multiplier 6a of a sum-of-product calculator 6 composed of multipliers 6a and 6b and an adder 6c. The line data read from the field memory 5 is supplied to a first input terminal of the multiplier 6b. The interpolating coefficient q n1 is supplied to a second input terminal of the multiplier 6a. The interpolating coefficient q n2 is supplied to a second input terminal of the multiplier 6b. In the multipliers 6a and 6b, the interpolating coefficients and the line data are multiplied. The multiplied results are supplied to the first and the second input terminals of the adder 6c. The added result of the adder 6c is the calculated result of the sum-of-product calculator 6c. Thus, the sum-of-product calculator 6 calculates the above-described Formula (1) and obtains the line data x n . Next, the vertical interpolating address/coefficient generator 2 in the above-described structure will be described. In the embodiment, the generator 2 properly selects the interpolation position of a line. Fig. 4 shows an example of the structure of the vertical interpolating address/coefficient generator 2. The vertical interpolation interval V dp is supplied to a terminal 10. The line clock f H and the vertical blanking pulse V blk are supplied to terminals 11 and 12, respectively. The clock f H is an operation clock for registers 13 and 15 that will be described later. The vertical blanking pulse V blk is supplied to the registers 13 and 15 and a selector 16 that will be described later. The vertical interpolation interval V dp supplied to the terminal 10 is stored in the register 13. The vertical interpolation interval V dp is supplied to the register 15 through the adder 14. The vertical interpolation interval V dp is delayed by the register 15 for one clock f H . The resultant vertical interpolation interval V dp is supplied to a second input terminal of the adder 14 through the selector 16. In other words, the vertical interpolation interval V dp is cumulated by the adder 14. On the other hand, an odd/even signal for determining the odd/even field of the input video signal is supplied to a selector 17. The odd/even signal is in "H" level when the input video signal is in the odd field. The odd/even signal is in "L" level when the input video signal is in the even field. In addition, a first value corresponding to the scanning start point in the even field and a second value corresponding to the scanning start point in the odd field are supplied to the selector 17. The first value and the second value are [0.5] and [0] corresponding to 1H that represents one horizontal interval, respectively. Corresponding to the odd/even signal, when the input video signal is in the odd field, the first value is selected and output. When the input video signal is in the even field, the second value is selected and output. The output data is supplied to the selector 16. In the selector 16, the output data of the selector 17 is selected as input data in a vertical blanking interval. Thus, the initial value of the register 15 is designated as the first value or the second value corresponding to the odd/even signal. In addition, the vertical interpolation interval V dp is initialized every vertical blanking interval. In other words, the first value or second value selected by the selector 17 corresponding to the odd/even signal is an offset value corresponding to the vertical interpolation interval V dp . With the first value or the second value, the initializing process is performed. Thus, when the first value is [0.5] and the second value is [0], the output data of each line in the odd field and even field of the register 15 in the effective line interval is as follows. Odd field: 0.5, 0.5 + dp, 0.5 + 2dp, ..., 5 + (N - 1)dp Even field: 0, dp, 2dp, ..., (N - 1)dp The integer part of the output data of the register 15 is supplied as a vertical interpolation address n to a terminal 18. On the other hand, the decimal part of the output signal of the register 15 is supplied as a vertical interpolating coefficient q n1 to a terminal 19. The decimal part, vertical interpolating coefficient q n1 , is subtracted from 1 by a subtracter 20. The resultant data is supplied as a coefficient q n2 to a terminal 21. Thus, according to the present invention, predetermined offsets are added to the vertical interpolation interval V dp corresponding to the odd field and even field. Consequently, the start position of the interpolating process is shifted by the predetermined offsets. Next, with reference to Figs. 5 and 6, the interpolating process according to the present invention will be conceptually described. Figs. 5A to 5C show examples of which the number of lines of an interlace signal is converted and increased twice per field and thereby the picture is enlarged two times. In this case, the interpolation interval is 1/2 the line interval in one field. As shown in Fig. 5A, pixels in the odd field are written to the field memories 4 and 5. In this example, in the odd field, [0.5] has been selected as an offset value by the selector 17. Thus, as shown with the left portion of Fig. 5B, the first interpolation position is shifted for 0.5H. On the other hand, in the even field, since (0] has been selected as an offset value, as shown with the right portion of Fig. 5B, the interpolating process is started from the first line. Fig. 5C shows an example of the interpolated result. In both the odd field and even field, a pixel that is generated at the first interpolation position is the first line. In the odd field, the first line is output by interpolating "×" and "×". The second line is output as "×". The third line is output by interpolating 1/2 "×" and 1/2 "○". The fourth line is output as "○". And so on. Thus, the interpolated result as shown in Fig. 5C is obtained. Likewise, in the even field, the first line is output as "×". The second line is output by interpolating 1/2 "×" and 1/2 "○". And so on. Consequently, the interpolated result as shown in Fig. 5C is obtained. Thus, a picture of one frame composed of the odd field and even field, a picture similar to the original picture shown in Fig. 5A is obtained. Next, Figs. 6A to 6C show examples of which the enlargement ratio is not an integer value, for example, the original picture is enlarged 4/3 times. In this case, the interpolation interval is 3/4 times the line interval of one field. In this example, as shown in Fig. 6B, the interpolating start position in the odd field deviates from the interpolating start position in the even field by 0.5H. In the odd field, the first line is output by interpolating "×" and "×". The second line is output by interpolating that "×" and "○" are in the ratio of 3/4 : 1/4. The third line is output as "○". And so on. An interpolated line of which "×" and "○" are in the ratio of 3/4 : 1/4 is in gray close to black. Thus, the interpolated result as shown in Fig. 6C is obtained. On the other hand, in the even field, the first line is output as "×". The second line is output by interpolating that "×" and "○" are in the ratio of 3/4 : 1/4. The third line is output by interpolating "○" and "○". Thus, the interpolated result as shown with the right portion in Fig. 6C is obtained. Thus, with a picture of one frame composed of the odd field and even field as shown in Fig. 6C, the same picture as the original picture is obtained as shown in Fig. 6A. Thus, a distortion does not take place unlike with the related art reference shown in Fig. 9C. Thus, according to the present invention, even if the line number converting process whose enlargement ratio is not an integer is performed, the interlace accuracy can be kept. In the above-described embodiment, the linear interpolating process for vertical two lines was described. However, it should be noted that the present invention is not limited to such a process. Instead, the present invention can be applied to an interpolating process with many lines other than two lines. As described above, according to at least preferred embodiments of the present invention, when the number of lines is converted with a field memory of which a signal with the interlace accuracy is accessed line by line, since the interpolating start position of the odd field is offset by 0.5H against the even field. Thus, even if the conversion ratio is not an integer value, the optimum interlace relation is obtained. Thus, when a picture is enlarged, even if the line number converting process whose conversion ratio is not an integer value is performed, the resolution of the picture can be prevented from deteriorating and the lines from flickering. Having described specific preferred embodiments of the present invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the invention as defined in the appended claims.

Claims: A picture processing apparatus for interpolating an interlaced video signal, the apparatus comprising: memory means (4, 5) for storing the video signal; reading means (2) for reading signals corresponding to two adjacent scanning lines of the same field from said memory means; and interpolating means (6) for interpolating the two signals read from said memory means (4, 5) in accordance with interpolation coefficients (q); characterised in that said reading means (2) is operative to cause said signals corresponding to two adjacent scanning lines of the same field to be read from said memory means at the same time, and is responsive to an odd/even field signal to add respective different offsets (0, 0.5) to a vertical interpolation signal (Vdp) in dependence on whether signals of an odd field or an even field are to be read from the memory means so as thereby to change a read start address of the memory means and the interpolation coefficients in dependence on whether signals of an odd field or an even field are to be read. A picture processing apparatus as set forth in claim 1, wherein: said memory means (4, 5) is divided into a first memory (4) and a second memory (5); signals corresponding to two adjacent scanning lines of the field are stored in the same address of the first and second memory, respectively; and said reading means (2) is operative to supply the same read address to the first and second memories. A picture processing apparatus as set forth in claim 2, wherein the signals that are output from said interpolating means (6) are enlarged signals of the signals stored in said memory means. A picture processing apparatus as set forth in claim 3, wherein said reading means (2) comprises: generating means for generating an initial value that depends on whether signals of the odd field or the even field are read; and cumulating means (15) for cumulating the inverse number of an enlargement ratio corresponding to said vertical interpolation signal to the initial value that has been generated. A picture processing apparatus as set forth in claim 4, wherein said reading means (2) comprises means for supplying an integer part of output data of said cumulating means (15) as a read address to the first and second memories. A picture processing apparatus as set forth in claim 5, wherein said interpolating means (6) is operative to multiply (6a, 6b) by interpolation coefficients the two signals that have been read, add (6c) the resultant signals, and output (7) the added signal. A picture processing apparatus as set forth in claim 6, wherein said reading means (2) comprises means for supplying a decimal part of the output data of said cumulating means (15) as an interpolation coefficient to said interpolating means (6). A picture processing method for interpolating an interlaced video signal, the method comprising: storing the video signal in a memory means (4, 5); reading (2) signals corresponding to two adjacent scanning lines of the same field from said memory means; and interpolating (6) the two signals read from said memory means, (4, 5) in accordance with interpolation coefficients (q); characterised in that said reading step (2) causes said signals corresponding to two adjacent scanning lines of the same field to be read from said memory means at the same time, and is responsive to an odd/even field signal to add respective different offsets (0, 0.5) to a vertical interpolation signal (Vdp) in dependence on whether signals of an odd field or an even field are to be read from the memory means so as thereby to change a read start address of the memory means and the interpolation coefficients in dependence on whether signals of an odd field or an even field are to be read. A picture processing method as set forth in claim 8, wherein: said memory means (4, 5) is divided into a first memory (4) and a second memory (5); signals corresponding to two adjacent scanning lines of the field are stored in the same address of the first and second memory, respectively; and the same read address is supplied to the first and second memories. A picture processing method as set forth in claim 9, wherein the signals that have been interpolated (6) are enlarged signals of the signals stored in said memory means. A picture processing method as set forth in claim 10, wherein the read address is an initial value that depends on whether signals of the odd field or the even field are read, the read address being a value of which the inverse number of an enlargement ratio corresponding to said vertical interpolation signal is cumulated to the initial value that has been generated, an integer part of the cumulated value being the read address. A picture processing method as set forth in claim 11, wherein the interpolating step is performed by multiplying (6a, 6b) by interpolation coefficients the two signals that have been read, adding (6c) the resultant signals, and outputting (7) the added signal. A picture processing method as set forth in claim 12, wherein the interpolation coefficient is a decimal part of the cumulated result.

Inventors: MIYAZAKI SHINICHIRO, OHNO TAKESHI, SHIRAHAMA AKIRA, UEKI NOBUO, MIYAZAKI, SHINICHIRO, OHNO, TAKESHI, SHIRAHAMA, AKIRA, UEKI, NOBUO
Applicants: SONY CORP, SONY CORPORATION
Application year: 1997
Main classification: G06T3
IPC codes: G06T3