1. Field of the Invention
The present invention relates generally to an equal-interval vertical image conversion method and apparatus for converting a CIF (Common Intermediate Format) image into an NTSC (National Television Standards Committee) image, and more particularly to an equal-interval vertical image conversion method and apparatus for converting, into an NTSC image, a CIF image available in a circuit implementing a digital image data compression/decompression (or encoding/decoding) standard such as MPEG (Moving Picture Experts Group)-1, MPEG-2, MPEG-4, H.261, or H.263.
2. Description of the Related Art
Because countries use different TV (Television) systems, ITU-T (International Telecommunications Union-Telecommunication sector) prescribes CIF (Common Intermediate Format) that can be internationally and commonly used.
A CIF image (of 352×288 pixels) is mainly used in video communication at a low bit rate such as in a videophone or video conferencing. A videophone system allows calling and called parties to perform communication while looking at each other through a screen. A video conferencing system can have the effect as if the conference is held at the same time in the same place, by using multimedia data such as video, audio, text, graphics, and images anytime and anywhere.
As compression rates of video data have recently increased with the development of communication network and video compression technology, video data can be sent through a communication channel. As a video system is miniaturized with the development of semiconductor technology, mobile and personal video systems are supplied. In particular, with supply of PCs (Personal Computers) and LANs (Local Area Networks), a video system has developed into a personal system rather than a public system.
A CIF image for use in a videophone or video conferencing is originally an image standardized appropriately to a PAL (Phase Alternation by Line) display rather than an NTSC (National Television Standards Committee) display. When the CIF image is displayed on the NTSC display, 48 (=288−240) lines are not viewed on a screen. In order for the CIF image (of 352×288 pixels) to be converted into an NTSC image (of 720×240 pixels), the number of lines of video data must be converted first.
When a conversion operation is repeated 48 times every 6 lines because the number of lines of the CIF video data is 288, 240 output lines can be obtained from 288 input lines.
Output Lines 2, 3 and 4 are produced by multiplications of weight coefficients taking into account spatial distances with corresponding input lines, respectively.
Output Line 1 equal to Input Line 1 is outputted.
Output Line 2 is produced when spatial distances associated with Input Lines 2 and 3 are calculated and a vertical filtering value is outputted.
Output Lines 3 and 4 are produced in the same way that Output Line 2 is outputted.
Output Line 5 equal to Input Line 6 is outputted.
As described above, 288 lines consecutively inputted can be converted using the single line buffer.
However, because a spatial distance B between Output Lines 5 and 6 is different from a spatial distance A between other output lines, a staircase effect occurs as shown in
Because a spatial distance between Output Lines 5k and 5k+1 (where k=1, 2, 3, . . . , 48) newly generated is different from a spatial distance between other output lines, the conventional vertical image conversion method cannot obtain a high-quality image due to the staircase effect in a vertical line direction of an image. Because input lines are stored in the line buffer at all times, power cannot be efficiently used.
Therefore, the present invention has been made in view of the above and other problems, and it is an object of the present invention to provide an equal-interval vertical image conversion method for converting, into an NTSC (National Television Standards Committee) image, a CIF (Common Intermediate Format) image available in a circuit implementing a digital image data compression/decompression (or encoding/decoding) standard such as MPEG (Moving Picture Experts Group)-1, MPEG-2, MPEG-4, H.261, or H.263.
It is another object of the present invention to provide an equal-interval vertical image conversion apparatus for converting a CIF (Common Intermediate Format) image into an NTSC (National Television Standards Committee) image that can reduce CPU (Central Processing Unit) load by implementing hardware available in a circuit for the digital image data compression/decompression (or encoding/decoding) standard such as MPEG (Moving Picture Experts Group)-1, MPEG-2, MPEG-4, H.261, or H.263.
In accordance with an aspect of the present invention, the above and other objects can be accomplished by an equal-interval vertical image conversion method for converting a CIF (Common Intermediate Format) image into an NTSC (National Television Standards Committee) image, comprising: storing at least one input line (Y(n)) in a line buffer; reading at least one output line (Y(b)) from the line buffer; extracting coefficients to be applied to the at least one input line (Y(n)) and the at least one output line (Y(b)) from a weight coefficient set; producing at least one filtered line (F(n)) by means of a filtering operation for applying the extracted coefficients to the at least one input line (Y(n)) and the at least one output line (Y(b)); and outputting at least one new line (X(m)) by multiplexing the at least one input line (Y(n)) and the at least one filtered line (F(n)).
Preferably, the at least one input line (Y(n)) is selectively stored in the line buffer and the at least one output line (Y(b)) is selectively read from the line buffer.
Preferably, 5 new lines (X(m)) are generated from 6 input lines (Y(n)).
Preferably, ratios of weight coefficients by which the at least one input line (Y(n)) and the at least one output line (Y(b)) are multiplied are {1:0, 4/5:1/5, 3/5:2/5, 2/5:3/5, 1/5:4/5} in the weight coefficient set.
In accordance with another aspect of the present invention, the above and other objects can be accomplished by an equal-interval vertical image conversion apparatus for converting a CIF (Common Intermediate Format) image into an NTSC (National Television Standards Committee) image, comprising: line buffer controllers provided before and after a line buffer for controlling read and write operations of the line buffer; the line buffer arranged between the line buffer controllers for storing at least one selected input line (Y(b-1)) of at least one input line (Y(n)) in response to a read and write control signal (C1); a coefficient set for storing weight coefficients by which the at least one input line (Y(n)) and at least one line buffer output line (Y(b)) are multiplied; a vertical filter for generating at least one filtered line (F(n)) from the at least one input line (Y(n)) and the at least one line buffer output line (Y(b)); a multiplexer for outputting at least one new line X(m) by multiplexing the at least one input line (Y(n)) and the at least one filtered line (F(n)); and a controller for outputting the write and read control signal (C1) to the line buffer controllers, outputting a control signal (C2) for selecting the weight coefficients by which the at least one input line (Y(n)) and the at least one line buffer output line (Y(b)) are multiplexed, and outputting a control signal (C3) for controlling the multiplexer.
Preferably, the vertical filter comprises: multipliers for multiplying the at least one input line (Y(n)) and the at least one line buffer output line (Y(b)) by the weight coefficients; and an adder for summing outputs of the multipliers to generate the at least one filtered line (F(n)).
The above and other objects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
Preferred embodiments of the present invention will be described in detail herein below with reference to the annexed drawings.
The vertical filter 110 is a conventional filter consisting of multipliers and an adder. That is, the vertical filter 110 can be the conventional filter 6 shown in
As shown in
In response to the control signal C1, the line buffer controller 102 determines whether to store the current input line Y(n) as the selected input line Y(b-1) in the line buffer 104 and the line buffer controller 106 determines whether to read the line buffer output line Y(b) to be vertically filtered.
The control signal C2 selects, from the coefficient set 108, a weight coefficient α by which the current input line Y(n) is multiplied and a weight coefficient 1-α by which the line buffer output line Y(b) is multiplied.
The control signal C3 controls the multiplexer 112 for outputting the new line X(m) by selecting one of the current input line Y(n) and the filtered line F(n) based on the vertical filtering.
A weight coefficient set for equalizing intervals between the output lines X(m,m+1,m+2,Λ) is {1:0, 4/5:1/5, 3/5:2/5, 2/5:3/5, 1/5:4/5}. When 6 input lines are converted into 5 output lines, the weight coefficient set is used. The equal-interval vertical image conversion using a corrected downscaling concept is carried out on the basis of 6 input lines.
Step 1. Output Line 1 equal to Input Line 1 is outputted at a ratio of 1:0
Step 2. Output Line 2 is produced when spatial distances (at a ratio of 4/5:1/5) with Input Lines 2 and 3 are calculated and a filtering value is outputted.
Step 3. Output Line 3 is produced when spatial distances (at a ratio of 3/5:2/5) with Input Lines 3 and 4 are calculated and a filtering value is outputted.
Step 4. Output Line 4 is produced when spatial distances (at a ratio of 2/5:3/5) with Input Lines 4 and 5 are calculated and a filtering value is outputted.
Step 5. Output Line 5 is produced when spatial distances (at a ratio of 1/5:4/5) with Input Lines 5 and 6 are calculated and a filtering value is outputted.
Until 240 lines of the NTSC image are produced, the above Steps 1 to 5 are iterated.
A spatial distance between Output Lines 5 and 6 is different from a spatial distance between other output lines in the prior art. However, it can be seen that a spatial distance D between Output Lines 5 and 6 generated by the above-described process is equal to a spatial distance (e.g., C) between other output lines. A new equal-interval vertical image conversion system in accordance with the present invention can obtain the same high-quality image as when an ideal conversion filter shown in
The conventional vertical image conversion circuit cannot obtain a high-quality image when converting a CIF image into an NTSC image because a spatial distance between Output Lines 5k and 5k+1 is different from a spatial distance between other output lines. However, when converting a CIF image into an NTSC image, the equal-interval vertical image conversion method and apparatus in accordance with the present invention can obtain a high-quality image in which spatial distances between all output lines X(m) are the same as each other, using a corrected weight coefficient set of {1:0, 4/5:1/5, 3/5:2/5, 2/5:3/5, 1/5:4/5} for making all spatial distances equal to each other and a corrected vertical image conversion circuit. Moreover, the equal-interval vertical image conversion method and apparatus in accordance with the present invention can reduce the overall power consumption of a vertical image conversion system by reducing the number of operations that input lines Y(n) are read from or written to the line buffer.
As apparent from the above description, the equal-interval vertical image conversion method and apparatus can be designed such that it exhibits low power consumption while requiring the same processing speed and hardware size as in the prior art. Moreover, the equal-interval vertical image conversion method and apparatus can obtain a high-quality image by eliminating the staircase effect from an image.
The present invention is appropriate for use in low-power real-time systems such as in a videophone or video conferencing to which an NTSC (National Television Standards Committee) system is applied.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
2004-23536 | Apr 2004 | KR | national |