KR100618792B1 - Apparatus and method for deinteracing using four successive interlaced fields - Google Patents
Apparatus and method for deinteracing using four successive interlaced fields Download PDFInfo
- Publication number
- KR100618792B1 KR100618792B1 KR1019990048593A KR19990048593A KR100618792B1 KR 100618792 B1 KR100618792 B1 KR 100618792B1 KR 1019990048593 A KR1019990048593 A KR 1019990048593A KR 19990048593 A KR19990048593 A KR 19990048593A KR 100618792 B1 KR100618792 B1 KR 100618792B1
- Authority
- KR
- South Korea
- Prior art keywords
- fields
- line
- motion
- video signal
- field
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0117—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
- H04N7/012—Conversion between an interlaced and a progressive signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0127—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0135—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
- H04N7/0137—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes dependent on presence/absence of motion, e.g. of motion zones
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Television Systems (AREA)
Abstract
연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치 및 방법이 공개된다. 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치 및 방법은 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같은가를 판단하는 (a)단계, (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같다고 판단되면, 보간 계수를 소정 보간값으로 설정하는 (b)단계, (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 다르다고 판단되면, 프레임율을 변환하기 위한 보간 계수를 구하는 (c)단계, 연속되는 4개의 필드들 사이에 움직임이 존재하는 가를 판단하는 (d)단계, (d)단계에서 움직임이 존재한다고 판단되면, 라인 극성에 따라 공간적 필터링을 수행하는 (e)단계, (d)단계에서 움직임이 존재하지 않는다고 판단되면, 라인 극성에 따라 시간적 필터링을 수행하는 (f)단계 및 (e) 또는 (f)단계에서 필터링된 결과와 보간 계수를 이용하여 보간을 수행하고, 보간된 결과를 디인터레이스 영상신호로서 출력하는 (g)단계로 이루어지는 것을 특징으로 하고, 화질의 저하를 최소화하고, 움직임의 유/무 및 짝수/홀수 라인에 따라 독립적으로 필터링을 수행하여 화면의 균질성을 살릴 수 있고, 또한, 입/출력 주파수가 다른 경우에도 시스템의 디스플레이 장치의 조건에 맞게 프레임율 변환 기능을 수행할 수 있다는 효과가 있다. A deinterlacing apparatus and method using four consecutive interlaced fields are disclosed. The deinterlacing apparatus and method using four consecutive interlaced fields according to the present invention determine whether the field rate of the input video signal and the frame rate of the output video signal are the same. If it is determined that the field rate of the signal and the frame rate of the output video signal are the same, the field rate of the input video signal and the frame of the output video signal are set in (b) and (a) of setting the interpolation coefficient to a predetermined interpolation value. If it is determined that the rate is different, it is determined that the motion exists in step (c) of obtaining an interpolation coefficient for converting the frame rate, and in step (d) and step (d) of determining whether there is motion between four consecutive fields. If it is determined, if it is determined that there is no motion in steps (e) and (d) of performing spatial filtering according to the line polarity, step (f) of performing temporal filtering according to the line polarity is performed. And interpolation using the filtered result and the interpolation coefficient in step (e) or (f), and outputting the interpolated result as a deinterlaced video signal. Minimize the screen and filter independently according to the presence / absence and even / odd lines of the motion to improve the homogeneity of the screen. Also, even if the input / output frequency is different, the frame rate is converted to match the condition of the display device of the system. The effect is that it can perform a function.
Description
도 1은 연속되는 2개의 필터를 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 1 is a diagram for describing a deinterlacing method using two consecutive filters.
도 2는 연속되는 3개의 필드들을 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 2 is a diagram for describing a deinterlacing method using three consecutive fields.
도 3은 연속되는 4개의 필드들을 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 3 is a diagram for describing a deinterlacing method using four consecutive fields.
도 4는 본 발명에 따른 디인터레이스 방법을 설명하기 위한 플로우 챠트이다. 4 is a flowchart illustrating a deinterlace method according to the present invention.
도 5는 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 5 is a diagram illustrating a deinterlacing method using four consecutive interlace fields according to the present invention.
도 6은 입력되는 인터레이스 영상의 필드율과 출력되는 디인터레이스 영상의 프레임율이 서로 다른 경우, 입력대비 출력되는 프레임의 위치를 나타내는 도면이다. FIG. 6 is a diagram illustrating a position of a frame output relative to an input when a field rate of an input interlace image and a frame rate of an output deinterlace image are different.
도 7은 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레 이스 장치를 나타내는 개략적인 블록도이다. 7 is a schematic block diagram illustrating a deinterlace device using four consecutive interlace fields according to the present invention.
도 8(a) 및 (b)는 도 7에 도시된 프레임 버퍼(10)가 저장된 데이터를 읽어내는 방법을 설명하기 위한 도면이다. 8A and 8B are diagrams for describing a method of reading data stored in the
도 9는 도 7에 도시된 움직임 검출부(14)에 대한 일실시예의 회로도이다.FIG. 9 is a circuit diagram of an embodiment of the
도 10은 도 7에 도시된 보간 계수 발생부(18)의 일실시예를 나타내는 회로도이다. FIG. 10 is a circuit diagram illustrating an example of the interpolation coefficient generator 18 illustrated in FIG. 7.
본 발명은 영상 신호처리에 관한 것으로, 특히, 인터레이스 영상신호를 디인터레이스 영상으로 변환하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치 및 방법에 관한 것이다. The present invention relates to video signal processing, and more particularly, to a deinterlacing apparatus and method using four consecutive interlaced fields for converting an interlaced video signal into a deinterlaced video.
인터레이스 비디오 신호를 입력받아 디인터레이스 시키는 방법중 가장 간단한 방법으로는 두 개의 필드 데이터를 라인별로 겹쳐서 끼워 넣는 방법이 있다. The simplest method of receiving an interlaced video signal and deinterlacing it is to insert two field data by line.
도 1은 연속되는 2개의 필터를 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 1 is a diagram for describing a deinterlacing method using two consecutive filters.
도 1을 참조하면, 홀수 라인 L1, L3, L5, ....로 이루어진 홀수 필드 f1과 짝수 라인 L2, L4, L6, .....로 이루어진 짝수 필드 f2를 라인별로 겹쳐서, L1, L2, L3, L4, L5, L6, ......로 이루어지는 디인터레이스 프레임 FD을 이룬다. Referring to FIG. 1, the odd field f1 consisting of the odd lines L1, L3, L5, .... and the even field f2 consisting of the even lines L2, L4, L6, ..... are overlapped line by line, L1, L2. , L3, L4, L5, L6, ... form a deinterlaced frame F D.
이처럼, 연속되는 2개의 필드들을 이용하여 디인터레이스 프레임을 만드는 것은 간단하기는 하지만, 필드별로 움직임이 심한 동영상신호의 경우 필드간에 영상의 차이가 심하기 때문에 에지(edge) 근처에서 영상의 화질 열화를 초래한다. 따라서, 이러한 방법은 저가의 디인터레이스 장치에 주로 사용되는 방법이다.As described above, it is simple to make a deinterlaced frame using two consecutive fields. However, in the case of a video signal having a lot of motion in each field, the image quality deteriorates between the fields, causing deterioration of the image quality near the edge. . Therefore, this method is mainly used for low cost deinterlacing apparatus.
좀 더 화질 개선을 하기 위해 연속되는 3개의 필드들을 이용하는 디인터레이스 장치가 있다. There is a deinterlacing device that uses three consecutive fields to further improve image quality.
도 2는 연속되는 3개의 필드들을 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 2 is a diagram for describing a deinterlacing method using three consecutive fields.
도 2를 참조하면, 짝수 라인 L01, L03으로 이루어진 짝수 필드 f1, 홀수 라인 L10, L12, L14로 이루어진 홀수 필드 f2, 짝수 라인 L21, L23으로 이루어진 짝수 필드 f3를 이용하여 디인터레이스 프레임 FD를 만든다. 도 2에 도시된 바와 같이, 2개의 짝수 필드와 1개의 홀수 필드로 이루어진 경우, 홀수 필드 f2의 라인은 그대로 이용한다. 그리고, 두 개의 짝수 필드 f1 및 f3간의 움직임의 정도를 나타내는 움직임값(δm)을 구하고, 구해진 움직임값(δm)에 따라 홀수 필드 f2에 빠진 짝수라인의 데이터를 구한다. Referring to FIG. 2, a deinterlaced frame F D is formed using an even field f1 consisting of even lines L01 and L03, an odd field f2 consisting of odd lines L10, L12 and L14, and an even field f3 consisting of even lines L21 and L23. As shown in FIG. 2, when two even fields and one odd field are used, the lines of the odd field f2 are used as they are. Then, a motion value δ m representing the degree of motion between the two even fields f1 and f3 is obtained, and data of even lines missing in the odd field f2 is obtained according to the obtained motion value δ m .
예컨대, 두 번째 라인 Lxx의 데이터를 구할 경우, 움직임값(δm=L21-L01)을 구하고, 움직임값(δm)이 소정값 보다 크면 홀수 필드 f2의 라인 데이터 L10와 L12를 이용하여 공간적 필터링을 수행하고, 필터링된 값을 Lxx의 라인 데이터로서 구한다. 여기서, 공간적 필터링은 L10와 L12의 평균값을 구하는 것으로 간단히 수행된다. 반면, 움직임값(δm)이 소정값보다 작으면, 짝수 필드 f1의 라인 데이터 L01 과 짝수 필드 f3의 라인 데이터 L21을 이용하여 시간적 필터링을 수행하고, 필터링된 값을 Lxx의 라인 데이터로서 구한다. 여기서, 시간적 필터링은 L01과 L21의 평균값을 구하는 것으로 간단히 수행된다. For example, two cases obtain the data of the second line Lxx and the motion value (δ m = L21-L01) to obtain a motion value (δ m) by the use of line data L10 and L12 in the odd field, f2 is greater than a value of the spatial filtering Is performed, and the filtered value is obtained as line data of Lxx. Here, spatial filtering is simply performed by finding the average of L10 and L12. On the other hand, if the motion value δ m is smaller than the predetermined value, temporal filtering is performed using the line data L01 of the even field f1 and the line data L21 of the even field f3 and the filtered value is obtained as the line data of Lxx. Here, temporal filtering is simply performed by finding the average of L01 and L21.
이상에 설명된 방법으로 디인터레이스 프레임 FD의 짝수번째 라인데이터를 구할 수 있다. The even-numbered line data of the deinterlaced frame F D can be obtained by the method described above.
이처럼, 연속되는 3개의 필드를 이용한 디인터레이스 방법은 2개의 필드를 이용한 디인터레이스 방법보다 많은 화질의 개선을 가져올 수 있으나, 중심이 되는 필드의 라인 데이터를 그대로 이용한다. 예컨대, 도 2에서와 같이 홀수 필드를 중심으로 디인터레이스된 필드 FD를 구할 경우, 홀수 필드 f2의 라인 데이터 L10, L12, L14를 그대로 삽입하기 때문에 움직임이 많은 영상에서는 화면의 균질성이 저하되는 문제점이 발생된다. As described above, the deinterlacing method using three consecutive fields may bring more image quality improvement than the deinterlacing method using two fields, but the line data of the center field is used as it is. For example, when a field F D deinterlaced around an odd field is obtained as shown in FIG. Is generated.
도 3은 연속되는 4개의 필드들을 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 3 is a diagram for describing a deinterlacing method using four consecutive fields.
도 3을 참조하면, 짝수 필드 f1, f3와 홀수 필드 f2, f4로 이루어진 연속되는 4개의 필드를 이용하는 경우, 짝수 필드 f3의 위치에서 디인터레이스된 프레임을 구한다. 도 3에서와 같이, 짝수 필드 f3의 위치에서 디인터레이스된 필드를 구할 경우, 짝수 필드 f3의 라인 데이터를 그대로 이용하고, 짝수 필드 f3에 빠진 홀수 라인 V, W, X, Y는 4개의 필드 전체에 움직임의 유/무에 따라 적절한 라인 데이터를 구하여 삽입한다. Referring to FIG. 3, when four consecutive fields consisting of even fields f1 and f3 and odd fields f2 and f4 are used, a deinterlaced frame is obtained at the position of even field f3. As shown in FIG. 3, when the deinterlaced field is obtained at the even field f3, the line data of the even field f3 is used as it is, and the odd lines V, W, X, and Y missing in the even field f3 are used for all four fields. Obtain and insert the appropriate line data according to the presence / absence of the movement.
4개 필드들 간의 움직임 여부는 먼저, 짝수 필드 f1과 f3간의 움직임 여부를 나타내는 제1플래그 신호(me)와 홀수 필드 f2와 f4간의 움직임여부를 나타내는 제2플래그 신호(mo)를 구한다. 그런 다음, 제1플래그 신호(me)와 제2플래그 신호(mo)를 논리합함으로써, 4개 필드간의 움직임 여부를 나타내는 모션 플래그 신호(MF)를 구할 수 있다. 모션 플래그 신호(MF)가 인에이블되면 움직임이 존재한다고 판단하여 짝수 필드 f3의 라인 데이터를 이용하여 공간적 필터링을 수행하고, 필터링된 결과를 삽입한다. 반면, 모션 플래그 신호(MF)가 디세이블되면 움직임이 없다고 판단하여 홀수 필드 f2의 라인 데이터를 그대로 삽입한다. 여기서, 공간적 필터링 및 시간적 필터링을 수행하는 방법은 도 2를 참조하여 이미 설명되었으므로, 그 상세한 설명을 생략한다. First, the first flag signal me indicating whether the motion between the even fields f1 and f3 and the second flag signal mo indicating the motion between the odd fields f2 and f4 is obtained. Thereafter, by ORing the first flag signal me and the second flag signal mo, the motion flag signal MF indicating whether the four fields are moved can be obtained. When the motion flag signal MF is enabled, it is determined that there is motion, spatial filtering is performed using the line data of the even field f3, and the filtered result is inserted. On the other hand, when the motion flag signal MF is disabled, it is determined that there is no motion and the line data of the odd field f2 is inserted as it is. Here, since the method of performing the spatial filtering and the temporal filtering has already been described with reference to FIG. 2, a detailed description thereof will be omitted.
예컨대, 도 3에서 라인 X의 라인 데이터를 구할 때, 모션 플래그 신호(MF)가 인에이블되면, 짝수 필드 f3의 라인 데이터 C2와 C3를 이용하여 공간적 필터링을 수행하고, 필터링된 결과를 홀수 라인 X의 라인 데이터로서 삽입한다. 반면, 모션 플래그 신호(MF)가 디세이블되면, 홀수 필드 f2의 라인 데이터 b3를 라인 X의 라인 데이터로서 삽입한다. For example, when obtaining the line data of the line X in FIG. 3, if the motion flag signal MF is enabled, spatial filtering is performed using the line data C2 and C3 of the even field f3, and the filtered result is the odd line X. Insert as line data. On the other hand, when the motion flag signal MF is disabled, the line data b3 of the odd field f2 is inserted as the line data of the line X.
도 3를 참조하여 설명된 디인터레이스 방법은 움직임 여부의 판단을 4개의 필드들을 이용하기 때문에 에지 부분에서 화질의 열화를 방지할 수 있으나, 짝수 필드 또는 홀수 필드의 라인 데이터를 그대로 이용함으로써, 화면의 균질성의 저하를 여전히 해결하지 못한다는 문제점이 있다. The deinterlacing method described with reference to FIG. 3 can prevent deterioration of image quality at the edge part because four fields are used to determine whether to move, but by using line data of an even field or an odd field as it is, homogeneity of the screen. There is a problem that still does not solve the degradation of.
본 발명이 이루고자 하는 기술적 과제는 에지 부분에서의 화질 열화 및 화면의 균질성이 저하되는 것을 최소화하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법을 제공하는 데 있다. An object of the present invention is to provide a deinterlacing method using four consecutive interlaced fields to minimize image degradation at the edge portion and deterioration of screen homogeneity.
본 발명이 이루고자 하는 다른 기술적 과제는 에지 부분에서의 화질 열화 및 화면의 균질성이 저하되는 것을 최소화하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치를 제공하는 데 있다. Another object of the present invention is to provide a deinterlacing apparatus using four consecutive interlaced fields that minimize image quality deterioration and degradation of screen homogeneity at an edge portion.
본 발명이 이루고자 하는 또 다른 기술적 과제는 에지 부분에서의 화질 열화 및 균질성 저하를 최소화하면서 프레임율 변환 기능을 갖는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치를 제공하는 데 있다. Another object of the present invention is to provide a deinterlacing apparatus using four consecutive interlaced fields having a frame rate conversion function while minimizing image quality deterioration and homogeneity deterioration at an edge portion.
상기 과제를 이루기 위해, 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법은 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같은가를 판단하는 (a)단계, (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같다고 판단되면, 보간 계수를 소정 보간값으로 설정하는 (b)단계, (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 다르다고 판단되면, 프레임율을 변환하기 위한 보간 계수를 구하는 (c)단계, 연속되는 4개의 필드들 사이에 움직임이 존재하는 가를 판단하는 (d)단계, (d)단계에서 움직임이 존재한다고 판단되면, 라인 극성에 따라 공간적 필터링을 수행하는 (e)단계, (d)단계에서 움직임이 존재하지 않는다고 판단되면, 라인 극성에 따라 시간적 필터링을 수행하는 (f)단계 및 (e) 또는 (f)단계에서 필터 링된 결과와 보간 계수를 이용하여 보간을 수행하고, 보간된 결과를 디인터레이스 영상신호로서 출력하는 (g)단계로 이루어지는 것이 바람직하다. In order to achieve the above object, the deinterlacing method using four consecutive interlaced fields according to the present invention comprises the steps of (a) and (a) determining whether the field rate of the input video signal is the same as the frame rate of the output video signal. If it is determined that the field rate of the input video signal and the frame rate of the output video signal are the same, the field rate and the output rate of the video signal input in steps (b) and (a) of setting the interpolation coefficient to a predetermined interpolation value are determined. If it is determined that the frame rate of the video signal is different, in step (c) of obtaining an interpolation coefficient for converting the frame rate, and in step (d) and (d) of determining whether there is motion between four consecutive fields. If it is determined that there is motion, in step (e) and (d) performing spatial filtering according to the line polarity, if it is determined that there is no motion, the temporal filter is determined according to the line polarity. It is preferable that step (f) and step (e) or (f) perform the interpolation using the filtered result and the interpolation coefficient, and output the interpolated result as a deinterlaced video signal. .
상기 다른 과제를 이루기 위해, 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치는 연속되는 4개의 인터레이스 필드들인 제1 내지 제4필드를 받아들여, 제1 및 제3필드간의 움직임이 있거나 또는 제2 및 제4필드간에 움직임이 있으면 인에이블되는 모션 플래그신호를 발생하는 움직임 검출부, 모션 플래그신호 및 라인 극성에 상응하여 같은 극성을 갖는 두 필드의 픽셀간에 시간적 필터링을 수행하거나, 아니면 제2필드 또는 제3필드의 연속되는 두 라인의 픽셀간에 공간적 필터링을 수행하는 필터링부 및 라인 극성에 상응하여 입력되는 픽셀 데이터와 필터링부에서 발생되는 데이터를 소정의 보간계수에 상응하여 보간하고, 보간된 결과를 제2 및 제3필드 사이에서의 디인터레이스된 픽셀 데이터로서 발생하는 보간부를 구비하는 것이 바람직하다. In order to achieve the above object, the deinterlacing apparatus using the four consecutive interlaced fields according to the present invention accepts the first to fourth fields which are the four consecutive interlaced fields, and there is a motion between the first and third fields. A motion detector for generating a motion flag signal enabled when there is motion between the second and fourth fields, temporal filtering between pixels of two fields having the same polarity corresponding to the motion flag signal and the line polarity or the second field Alternatively, the filtering unit performing spatial filtering between two consecutive pixels of the third field and the pixel data input corresponding to the line polarity and the data generated by the filtering unit are interpolated according to a predetermined interpolation coefficient, and interpolated. Has an interpolation section which generates as deinterlaced pixel data between the second and third fields. It is desirable to.
상기 또 다른 과제를 이루기 위해, 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치는 연속되는 4개의 인터레이스 필드들인 제1 내지 제4필드를 받아들여, 제1 및 제3필드간의 움직임이 있거나 또는 제2 및 제4필드간에 움직임이 있으면 인에이블되는 모션 플래그신호를 발생하는 움직임 검출부, 모션 플래그신호 및 라인 극성에 상응하여 같은 극성을 갖는 두 필드의 픽셀간에 시간적 필터링을 수행하거나, 아니면 제2필드 또는 제3필드의 연속되는 두 라인의 픽셀간에 공간적 필터링을 수행하는 필터링부, 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율을 비교하여, 같으면 소정 보간값을 보간 계수로서 출력 하고, 다르면 프레임율 변환을 위한 보간 계수를 구하여 출력하는 보간 계수 발생부 및 라인 극성에 상응하여 입력되는 픽셀 데이터와 필터링부에서 발생되는 데이터를 보간 계수에 상응하여 보간하고, 보간된 결과를 제2 및 제3필드 사이에서의 디인터레이스된 픽셀 데이터로서 발생하는 보간부를 구비하는 것이 바람직하다. In order to achieve the above object, the deinterlacing apparatus using the four consecutive interlaced fields according to the present invention accepts the first to fourth fields which are the four consecutive interlaced fields, and there is a movement between the first and third fields. Or a motion detector for generating a motion flag signal enabled when there is motion between the second and fourth fields, temporal filtering between pixels of two fields having the same polarity corresponding to the motion flag signal and the line polarity, or otherwise A filtering unit for performing spatial filtering between pixels of two consecutive lines of the field or the third field, comparing the field rate of the input video signal with the frame rate of the output video signal, and outputting a predetermined interpolation value as an interpolation coefficient If different, the interpolation coefficient generator and line polarity Corresponding to the pixel data and the data generated by the filtering unit that is input in response to the interpolation coefficients by interpolation, and preferably includes a interpolator for generating an interpolated result as a pixel data de-interlace in between the second and third fields.
이하, 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법 및 장치를 첨부한 도면들을 참조하여 다음과 같이 설명한다. Hereinafter, a method and apparatus for deinterlacing using four consecutive interlaced fields according to the present invention will be described with reference to the accompanying drawings.
도 4는 본 발명에 따른 디인터레이스 방법을 설명하기 위한 플로우 챠트이다. 4 is a flowchart illustrating a deinterlace method according to the present invention.
도 5는 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법을 설명하기 위한 도면이다. 5 is a diagram illustrating a deinterlacing method using four consecutive interlace fields according to the present invention.
도 4 및 도 5를 참조하면, 본 발명은 짝수 라인 데이터 a1, a2, ...로 이루어진 짝수 필드 f1, 홀수 라인 데이터 b1, b2, ...로 이루어진 홀수 필드 f2, 짝수 라인 데이터 c1, c2, ...로 이루어진 짝수 필드 f3 및 홀수 라인 데이터 d1, d2, ...로 이루어진 홀수 필드 f4의 연속되는 4개의 인터레이스 필드들을 이용하여, 제2필드와 제3필드 사이에서 라인 p1, p2, ...로 이루어진 디인터레이스 프레임 FD를 만든다. 또한, 도 5에서 각 필드와 필드 사이에 표시된 점선은 디인터레이스 프레임들이 만들어지는 시간적 위치를 각각 나타낸다. 4 and 5, the present invention is an even field f1 consisting of even line data a1, a2, ..., odd field f2 consisting of odd line data b1, b2, ..., even line data c1, c2 The lines p1, p2, between the second field and the third field, using the four consecutive interlaced fields of the even field f3 and odd line data d1, d2 consisting of ... Create a deinterlaced frame, F D. Also, in FIG. 5, the dotted lines displayed between the fields and the fields indicate the temporal positions where the deinterlaced frames are made.
먼저, 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같은가를 판단한다(제50단계). 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같으면, 보간 계수(w)를 소정 보간값(w0)으로 로 설정한다(제52단계). 반 면, 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 다르면, 프레임율 변환(frame rate conversion)을 위한 보간 계수(w)를 구한다. 보간 계수(w)를 구하는 구체적인 방법은 후술된다.First, it is determined whether the field rate of the input video signal and the frame rate of the output video signal are the same (step 50). If the field rate of the input video signal and the frame rate of the output video signal are the same, the interpolation coefficient w is set to the predetermined interpolation value w0 (step 52). On the other hand, if the field rate of the input video signal is different from the frame rate of the output video signal, the interpolation coefficient w for frame rate conversion is obtained. A specific method for obtaining the interpolation coefficient w will be described later.
예컨대, 입력되는 인터레이스 영상신호가 NTSC인 경우, 입력되는 영상신호의 프레임율은 30프레임/sec이며, 이를 필드율로 나타내면 60필드/sec이다. 또한, 출력되는 디인터레이스 영상신호가 NTSC인 경우, 출력되는 영상신호의 프레임율은 60프레임/sec이다. 즉, 입/출력되는 영상신호의 형태가 모두 NTSC인 경우, 입력되는 인터레이스 영상신호의 필드율(60필드/sec)과 출력되는 디인터레이스 영상신호의 프레임율(60프레임/sec)이 동일하다. 이처럼, 입력 필드율과 출력 프레임율이 같은 경우, 본 발명에서는 입력되는 영상신호의 필드 데이터의 시간적 위치와 출력되는 영상신호의 프레임 데이터의 시간적 위치에 소정의 오프셋을 유지하도록 보간 계수(w)를 소정 보간값(w0, 예컨대 w0=0.5)으로 설정한다. For example, when the input interlaced video signal is NTSC, the frame rate of the input video signal is 30 frames / sec, which is 60 fields / sec. In addition, when the output deinterlaced video signal is NTSC, the frame rate of the output video signal is 60 frames / sec. That is, when the type of input / output video signal is NTSC, the field rate (60 fields / sec) of the input interlaced video signal and the frame rate (60 frames / sec) of the output deinterlaced video signal are the same. As such, when the input field rate and the output frame rate are the same, in the present invention, the interpolation coefficient w is adjusted to maintain a predetermined offset at the temporal position of the field data of the input video signal and the temporal position of the frame data of the output video signal. A predetermined interpolation value (w0, for example, w0 = 0.5) is set.
한편, 입력되는 인터레이스 영상신호가 PAL인 경우, 입력되는 영상 신호의 프레임율은 25프레임/sec이며, 이를 필드율로 나타내면 50필드/sec이다. 이 때, 출력되는 디인터레이스 영상신호가 NTSC인 경우, 출력 영상신호의 프레임율은 60프레임/sec이다. 이처럼, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 다른 경우, 도 4에 도시된 출력 프레임의 시간적 위치가 프레임 별로 가변된다. On the other hand, when the input interlaced video signal is PAL, the frame rate of the input video signal is 25 frames / sec, which is 50 fields / sec. At this time, when the output deinterlaced video signal is NTSC, the frame rate of the output video signal is 60 frames / sec. As such, when the field rate of the input video signal and the frame rate of the output video signal are different, the temporal position of the output frame shown in FIG. 4 is changed for each frame.
도 6은 입력되는 인터레이스 영상의 필드율과 출력되는 디인터레이스 영상의 프레임율이 서로 다른 경우, 입력대비 출력되는 프레임의 위치를 나타내는 도면으로, 도 6 중 f1 ~ f7은 입력 영상신호의 필드를 나타내고, 도 6 중 F1 ~ F6은 출력 영상신호의 프레임을 나타낸다. FIG. 6 is a diagram illustrating positions of frames output relative to input when a field rate of an input interlaced image is different from a frame rate of an output deinterlaced image. In FIG. 6, f1 to f7 denote fields of an input video signal. In FIG. 6, F1 to F6 indicate frames of an output video signal.
도 4, 도 5 및 도 6을 참조하여, 입력 영상신호가 PAL이고, 출력 영상신호가 NTSC인 경우를 예로서 설명한다. 이러한 경우, 입력 영상은 f1, f2, f3, ..., f50의 50필드가 1초동안 입력되면, 출력은 디인터레이스되어 F1, F2, F3, ..., F60의 60프레임이 1초당 출력된다. 4, 5 and 6, the case where the input video signal is PAL and the output video signal is NTSC will be described as an example. In this case, when 50 fields of f1, f2, f3, ..., f50 are input for one second, the output is deinterlaced so that 60 frames of F1, F2, F3, ..., F60 are output per second. .
도 6을 참조하면, 프레임 F2가 출력되는 시간적 위치는, 필드 f3과 f4사이에서 필드 f3가 발생한 후 w1만큼의 시간적 오프셋을 가진후 프레임 F2가 발생됨을 보인다. 이 때, 시간적 오프셋 w1를 보간 계수(w)로서 구하며, 이는 프레임 단위로 가변됨을 보인다. 예컨대, 프레임 F3의 경우 보간 계수(w)는 w2가 된다. Referring to FIG. 6, the temporal position at which the frame F2 is output shows that the frame F2 is generated after having the temporal offset equal to w1 after the field f3 occurs between the fields f3 and f4. At this time, the temporal offset w1 is obtained as the interpolation coefficient w, which shows that it varies in units of frames. For example, in the case of frame F3, the interpolation coefficient w becomes w2.
보간 계수(w)를 구한 다음, 연속되는 4개의 필드 f1, f2, f3, f4 사이에 움직임이 존재하는 가를 판단한다(제56단계). 제56단계에서 움직임이 존재한다고 판단되면 라인 극성(LP)에 따라 공간적 필터링을 수행하고(제58단계), 움직임이 존재하지 않는다고 판단되면 라인 극성(LP)에 따라 시간적 필터링을 수행한다(제60단계). 제58 또는 제60단계 후에, 라인 극성(LP)에 따라 선택되는 필드 f2 또는 f3의 데이터와 필터링된 결과 및 보간 계수(w)를 이용하여 필드간의 보간을 수행하고, 보간된 결과를 디인터레이스 영상신호로서 출력한다. After the interpolation coefficient w is obtained, it is determined whether motion exists between four consecutive fields f1, f2, f3, and f4 (step 56). If it is determined in
예컨대, 도 5에서 짝수 라인인 p1의 라인 데이터를 구하기 위해 4개의 필드 f1, f2, f3, f4에 움직임이 있는가를 검출한다. 짝수 필드 f1과 f3간의 움직임값(md)을 구하고, 움직임값(md)의 크기에 따라 움직임의 유/무를 나타내는 제1플래그 신호(me)를 구한다. 또한, 홀수 필드 f2와 f4간의 움직임값(md)을 구하 고, 움직임값(md)의 크기에 따라 움직임의 유/무를 나타내는 제2플래그 신호(mo)를 구한다. 여기서, 짝수 필드간 또는 홀수 필드간에 움직임의 유/무에 대한 판단은 임계값 δm에 따라 달라진다. 즉, 움직임값(md)이 임계값 δm보다 크면 움직임이 있다고 판단하여 인에이블되는 제1 또는 제2플래그 신호(me, mo)를 발생한다. 반면, 움직임값(md)이 임계값 δm보다 작으면 움직임이 없다고 판단하여 디세이블되는 제1 또는 제2플래그 신호(me, mo)를 발생한다. 이 때, 임계값 δm은 사용자에 의해 임의로 결정될 수 있는 값이다. For example, in FIG. 5, it is detected whether four fields f1, f2, f3, and f4 have motion to obtain line data of an even line p1. The motion value md between the even fields f1 and f3 is obtained, and a first flag signal me indicating the presence / absence of motion according to the magnitude of the motion value md is obtained. Further, the motion value md between the odd fields f2 and f4 is obtained, and a second flag signal mo indicating the presence / absence of motion is obtained according to the magnitude of the motion value md. Here, the determination of the presence / absence of movement between even fields or between odd fields depends on the threshold δ m . That is, when the motion value md is larger than the threshold δ m , it is determined that there is motion and generates the first or second flag signals me and mo which are enabled. On the other hand, if the motion value md is smaller than the threshold δ m , it determines that there is no motion and generates the first or second flag signals me and mo that are disabled. At this time, the threshold δ m is a value that can be arbitrarily determined by the user.
제1 및 제2플래그 신호(me, mo)를 구한 다음, 제1플래그 신호(me)와 제2플래그 신호(mo)를 논리합하고, 논리합된 결과를 필드 f1~f4간에 움직임 여부를 나타내는 모션 플래그 신호(MF)로서 구할 수 있다. After the first and second flag signals me and mo are obtained, a motion flag indicating whether the first flag signal me and the second flag signal mo are ORed together and the result of the OR is moved between the fields f1 to f4. It can obtain | require as signal MF.
또한, p1의 라인 데이터를 구하기 위해, 먼저, a1, b1, b2, c1을 이용하여 필터링 데이터 α를 구한다. 필터링 데이터 α와 c1을 보간 계수(w)에 상응하여 다음 수학식 1과 같이 보간하고, 보간된 결과를 p1의 라인 데이터로서 구한다. In addition, in order to obtain line data of p1, first, filtering data α is obtained using a1, b1, b2, and c1. The filtering data α and c1 are interpolated corresponding to the interpolation coefficient w as shown in
이 때, 필터링 데이터 α는 위에서 구한 모션 플래그 신호(MF)에 따라 그 값이 달라진다. 즉, 필드 f1~f4간에 움직임이 있어 모션 플래그 신호(MF)가 인에이블되면, 필터링 데이터 α는 다음 수학식 2와 같이 필드 f2의 라인 데이터 b1과 b2를 이용한 공간적 필터링을 수행한 결과 데이터이다. 여기서, 공간적 필터링은 수학식 2에 나타낸 바와 같이 라인 데이터 b1과 b2의 평균값을 구하는 것으로 간단히 구할 수 있다. At this time, the value of the filtering data α varies depending on the motion flag signal MF obtained above. That is, if there is movement between the fields f1 to f4 and the motion flag signal MF is enabled, the filtering data α is the result data of performing spatial filtering using the line data b1 and b2 of the field f2 as shown in Equation 2 below. Here, spatial filtering can be obtained simply by obtaining the average value of the line data b1 and b2 as shown in Equation (2).
반면, 필드 f1~f4에 움직임이 없어 모션 플래그 신호(MF)가 디세이블되면, 필터링 데이터 α는 다음 수학식 3과 같이 필드 f1과 필드 f3의 라인 데이터 a1과 c1을 이용한 시간적 필터링을 수행한 결과 데이터이다. 여기서, 시간적 필터링은 수학식 3에 나타낸 바와 같이 라인 데이터 a1과 c1의 펑균값을 구하는 것으로 간단히 구할 수 있다. On the other hand, if the motion flag signal MF is disabled because there is no movement in the fields f1 to f4, the filtering data α is a result of temporal filtering using the line data a1 and c1 of the field f1 and the field f3 as shown in Equation 3 below. Data. In this case, temporal filtering can be easily obtained by obtaining a mean value of line data a1 and c1 as shown in Equation (3).
이렇게 구해진 필터링 데이터 α는 출력 프레임의 시간적 오프셋인 보간 계수(w) 및 c1 데이터를 이용하여, 수학식 1의 수식에 나타낸 바와 같이 보간을 하여 디인터레이스 라인 데이터 p1을 구하게 된다. The filtering data α thus obtained is interpolated using interpolation coefficients w and c1 data, which are temporal offsets of the output frame, to obtain deinterlaced line data p1 by interpolation as shown in Equation (1).
한편, 도 5에서 홀수 라인인 p2의 라인 데이터를 구할 경우, 짝수 라인 p1의 라인 데이터를 만드는 경우와는 미러 형태의 공식이 적용된다. 즉, 디인터레이스 라인 p2의 데이터를 만들기 위해 필드 f2, f3, f4의 데이터인 b2, c1, c2, d2를 이용하여 필터링된 데이터 β를 구한다. 필터링 데이터 β와 b2를 보간계수 w에 상응하여 다음 수학식 4과 같이 보간하고, 보간된 결과를 라인 데이터 p2로서 구한다. On the other hand, in the case of obtaining the line data of the odd line p2 in Figure 5, the mirror form formula is applied to the case of making the line data of the even line p1. That is, the filtered data β is obtained by using the data of the fields f2, f3, and f4, b2, c1, c2, and d2, to make the data of the deinterlaced line p2. The filtering data β and b2 are interpolated according to the interpolation coefficient w as shown in Equation 4 below, and the interpolated result is obtained as the line data p2.
이 때, 필터링 데이터 β는 위에서 구한 모션 플래그 신호(MF)에 따라 그 값이 달라진다. 즉, 필드 f1~f4에 움직임이 있어 모션 플래그 신호(MF)가 인에이블되면, 필터링 데이터 β는 다음 수학식 5와 같이 필드 f3의 라인 데이터 c1 및 c2를 이용하여 공간적 필터링을 수행한 결과 데이터이다. At this time, the value of the filtering data β varies according to the motion flag signal MF obtained above. That is, if there is motion in the fields f1 to f4 and the motion flag signal MF is enabled, the filtering data β is data obtained by performing spatial filtering using the line data c1 and c2 of the field f3 as shown in Equation 5 below. .
반면, 필드 f1~f4에 움직임이 없어 모션 플래그 신호(MF)가 디세이블되면, 필터링 데이터 β는 다음 수학식 6과 같이 필드 f2의 라인 데이터 b2와 f4의 라인 데이터 d2를 이용하여 시간적 필터링을 수행한 결과 데이터이다. On the other hand, if the motion flag signal MF is disabled because there is no motion in the fields f1 to f4, the filtering data β performs temporal filtering using the line data b2 of the field f2 and the line data d2 of f4 as shown in Equation 6 below. One result data.
이렇게 구해진 필터링 데이터 β는 출력 프레임의 시간적 오프셋인 보간 계수(w) 및 b2 데이터를 이용하여, 수학식 4의 수식에 나타낸 바와 같이 보간을 하여 디인터레이스 라인 데이터 p2를 구하게 된다. The thus obtained filtering data β is interpolated to obtain deinterlaced line data p2 using the interpolation coefficient w and b2 data, which are temporal offsets of the output frame, as shown in the equation (4).
이상에서, 라인 데이터 p1은 디인터레이스 프레임 데이터의 짝수 라인 데이터를 나타내며, p3, p5, ...의 짝수 라인 데이터는 p1을 만드는 것과 동일하다. 따라서, 여기서는 그 상세한 설명을 생략한다. 또한, p2 데이터는 디인터레이스 프레임 데이터의 홀수 라인 데이터를 의미하며, p4, p6, ...의 홀수 라인 데이터는 p2를 만드는 것과 동일하다. 따라서, 여기서는 그 상세한 설명을 생략한다. In the above, the line data p1 represents even line data of the deinterlaced frame data, and the even line data of p3, p5, ... is the same as making p1. Therefore, detailed description thereof is omitted here. Further, p2 data means odd line data of the deinterlaced frame data, and odd line data of p4, p6, ... are the same as making p2. Therefore, detailed description thereof is omitted here.
이렇게, 짝수 혹은 홀수의 라인 극성(LP)별로 이웃한 필드와 시간적 또는 공간적 필터링 및 보간을 수행함으로써, 종래에 발생하였던 화면의 불 균일성을 방지할 수 있다. In this way, by performing temporal or spatial filtering and interpolation with neighboring fields for each even or odd line polarity LP, it is possible to prevent the unevenness of the screen that has occurred in the past.
또한, 보간 계수(w)는 도 6(a) 및 (b)에 도시되었듯이 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율을 비교하여 입력되는 영상신호를 기준으로 출력되는 영상신호의 출력 위치를 나타내는 위치값으로서 입/출력 프레임율에 따라 연동되어 변한다. 결과적으로, 입력되는 영상신호의 필드율과 출력되는 신호의 프레임율이 다른 경우, 프레임율 변환을 수행하면서 디인터레이스을 수행하게 된다. 반면, 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 동일하거나 또는 프레임율 변환을 다른 칩에 의해 수행하는 경우, 즉, 4개의 필드를 이용하여 디인터레이스만을 수행할 경우에는 보간 계수를 소정 보간값(w0)으로 설정한다. 예컨대, w0는 통상적으로 0.5로 할 수 있다. 즉, 프레임율 변환을 수행하지 않더라도 보간 계수를 소정 보간값 w0으로 유지시킴으로써, 디인터레이스시 특정 필드의 데이터를 그대로 이용하지 않고 소정 보간값 w0에 따라 주변 필드들간에 보간을 수행함으로써 프레임의 화면의 균질성이 저하되는 것을 방지한다. Also, as shown in FIGS. 6A and 6B, the interpolation coefficient w is a video signal output based on the input video signal by comparing the field rate of the input video signal with the frame rate of the output video signal. This is a position value indicating the output position of the signal. As a result, when the field rate of the input video signal and the frame rate of the output signal are different, deinterlacing is performed while performing frame rate conversion. On the other hand, when the field rate of the input video signal and the frame rate of the output video signal are the same or when the frame rate conversion is performed by another chip, that is, when only the deinterlacing is performed using four fields, the interpolation coefficient is changed. The predetermined interpolation value w0 is set. For example, w0 can be set to 0.5 normally. That is, even if the frame rate conversion is not performed, the interpolation coefficient is maintained at the predetermined interpolation value w0, and the interpolation is performed between the adjacent fields according to the predetermined interpolation value w0 without using the data of the specific field as it is during deinterlacing. This prevents it from falling.
이제, 본 발명에 따른 4개의 인터레이스 필드를 이용한 디인터레이스 장치의 구성 및 동작을 첨부된 도면들을 참조하여 다음과 같이 설명한다. Now, the configuration and operation of a deinterlacing apparatus using four interlace fields according to the present invention will be described with reference to the accompanying drawings.
도 7은 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치를 나타내는 개략적인 블록도이다. 본 발명에 따른 디인터레이스 장치는 필드 메모리(10), 쉬프트 레지스터(12), 움직임 검출부(14), 필터링부(16), 보간부(20) 및 보간계수 발생부(18)를 포함하여 구성된다. 7 is a schematic block diagram illustrating a deinterlacing apparatus using four consecutive interlaced fields according to the present invention. The deinterlacing apparatus according to the present invention includes a
도 4를 참조하여, 필드 메모리(10)는 입력단자 IN으로 연속하는 4개의 인터레이스 필드인 제1 내지 제4필드(f1~f4)의 픽셀 데이터를 받아들여 저장한다. 또한, 필드 메모리(10)는 현재 디인터레이스되는 라인이 홀수 또는 짝수 라인인가에 따른 라인 극성(LP)에 상응하여 각 필드의 라인 데이터를 독출한다. 예컨대, 필드 메모리(10)는 라인 극성(LP)이 짝수일 때 제1 및 제3필드의 m번째 라인 데이터와 제2필드의 m번째 및 (m+1)번째 라인 데이터를 직렬로 독출한다. 그리고, 필드 메모리(10)는 라인 극성(LP)이 홀수일 때 제3필드의 m번째 및 (m+1)번째 라인 데이터와 제2 및 제4필드의 m번째 라인 데이터를 직렬로 독출한다. Referring to FIG. 4, the
쉬프트 레지스터(12)는 필드 버퍼(10)로부터 직렬로 입력되는 라인 데이터를 각 라인 데이터 별로 병렬 출력한다. The
움직임 검출부(14)는 쉬프트 레지스터(12)로부터 출력되는 각 필드의 라인 데이터들을 받아들여, 제1 및 제3필드간의 움직임이 있거나 또는 제2 및 제4필드간에 움직임이 있는가를 검출하고, 움직임이 있다고 검출되면 인에이블되고 움직임이 없다고 검출되면 디세이블되는 모션 플래그신호(MF)를 발생한다. 움직임 검출부(14)에 대한 상세한 설명은 도 9를 참조하여 후술된다. The
필터링부(16)는 움직임 검출부(14)로부터 발생되는 모션 플래그 신호(MF)에 응답하여 쉬프트 레지스터(12)에서 발생되는 라인 데이터를 공간적 또는 시간적 필터링을 수행한다. 예컨대, 모션 플래그 신호(MF)가 디세이블되면 필터링부(16)는 라인 극성(LP)에 상응하여 쉬프트 레지스터(12)에서 출력되는 제1 및 제3필드의 m 번째 라인 데이터 또는 제2 및 제4필드의 m번째 라인 데이터를 이용하여 시간적 필터링을 수행하고, 필터링된 결과를 출력한다. 반면, 모션 플래그 신호(MF)가 인에이블되면 필터링부(16)는 라인 극성(LP)에 상응하여 쉬프트 레지스터(12)에서 출력되는 제2필드의 m번째 및 (m+1)번째 라인 데이터 또는 제3필드의 m번째 및 (m+1)번째 라인 데이터를 이용하여 공간적 필터링을 수행하고, 필터링된 결과를 출력한다. 바람직하게는, 필터링부(16)는 시간적 필터링부(22), 공간적 필터링부(24) 및 선택기(26)를 포함하여 구성된다. The
시간적 필터링부(22)는 수학식 3 및 5와 같이 짝수 필드간의 라인 데이터 또는 홀수 필드간의 라인 데이터의 평균값을 구하여 간단히 수행된다. 공간적 필터링부(24)는 수학식 2 및 6과 같이, 필드 2의 라인 데이터간 또는 필드 3의 라인 데이터간에 평균값을 구하여 간단히 수행된다. 선택기(26)는 모션 플래그 신호(MF)에 응답하여, 시간적 필터링부(22)에서 필터링된 데이터와 공간적 필터링부(24)에서 필터링된 데이터중 하나의 데이터를 선택하여 출력한다. The
보간 계수 발생부(18)는 입력되는 인터레이스 영상신호의 필드율과 출력되는 디인터레이스 영상신호의 프레임율을 비교한다. 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 같으면 소정 보간값(w0)을 보간 계수(w)로서 출력한다. 반면, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 다르면, 보간 계수 발생부(18)는 프레임율 변환을 위한 보간 계수(w)를 구하여 출력한다. 보간 계수 발생부(18)에 대한 상세한 설명은 도 10을 참조하여 후술된다. The interpolation coefficient generator 18 compares the field rate of the input interlaced video signal with the frame rate of the output deinterlaced video signal. If the field rate of the input video signal and the frame rate of the output video signal are the same, the predetermined interpolation value w0 is output as the interpolation coefficient w. On the other hand, if the field rate of the input video signal is different from the frame rate of the output video signal, the interpolation coefficient generator 18 obtains and outputs an interpolation coefficient w for frame rate conversion. The interpolation coefficient generator 18 will be described in detail later with reference to FIG. 10.
보간부(20)는 라인 극성(LP)에 상응하여 쉬프트 레지스터(12)로부터 출력되 는 제3필드의 라인 데이터 또는 제2필드의 라인 데이터와 필터링부(16)에서 발생되는 데이터를 받아들여, 보간 계수(w)에 상응하여 보간하고, 보간된 결과를 제2 및 제3필드 사이에서의 디인터레이스된 라인 데이터로서 발생한다. The
도 8(a) 및 (b)는 도 7에 도시된 프레임 버퍼(10)가 저장된 데이터를 읽어내는 방법을 설명하기 위한 도면이다. 도 8(a)는 도 5에 도시된 디인터레이스 라인 p1을 구하기 위한 독출 포맷을 나타내고, 도 8(b)는 도 5에 도시된 디인터레이스 라인 P2를 구하기 위한 독출 포맷을 각각 나타낸다. 또한, 도 8(a) 및 (b)에서는 한 라인을 구성하는 각 픽셀들은 8비트로 구성됨을 가정한다. 8A and 8B are diagrams for describing a method of reading data stored in the
도 4, 도 7 및 도 8을 참조하면, p1의 라인 데이터를 구하기 위해 제1필드 f1의 a1 라인 데이터와, 제2필드 f2의 b1 및 b2라인 데이터와, 제3필드 f3의 c1 라인 데이터가 필요하다. 또한, p2 라인 데이터를 구하기 위해 제2필드 f2의 b2 라인 데이터와, 제3필드 f3의 c1 및 c2 라인 데이터와, 제4필드 f4의 d2 라인 데이터가 필요하다. 즉, 구하고자 하는 프레임의 라인 극성(LP)에 따라 필요로하는 필드의 라인 데이터가 달라진다. 이러한 점을 이용하여, 도 8(a)에 도시된 바와 같이, p1 라인 데이터를 구할 때는 필드 메모리(10)에 저장된 4개의 필드중 필드 f1, f2, f3의 3개의 필드에 저장된 라인 데이터 c1, b1, b2, a1를 첫 번째 픽셀에서부터 r 번째 픽셀까지 직렬로 독출한다. 또한, 도 8(b)에 도시된 바와 같이, p2 데이터를 구할 때는 필드 메모리(10)에 저장된 4개의 필드중 필드 f2, f3, f4의 3개의 필드에 저장된 라인 데이터 b2, c1, d2, c2를 첫 번째 픽셀에서부터 r 번째 픽셀까지 직렬로 독출한다. 4, 7 and 8, in order to obtain line data of p1, a1 line data of the first field f1, b1 and b2 line data of the second field f2, and c1 line data of the third field f3 are need. In addition, to obtain the p2 line data, the b2 line data of the second field f2, the c1 and c2 line data of the third field f3, and the d2 line data of the fourth field f4 are required. That is, the line data of the required field varies according to the line polarity LP of the frame to be obtained. Using this point, as shown in Fig. 8A, when obtaining the p1 line data, the line data c1, which is stored in three fields of the fields f1, f2, f3 among the four fields stored in the
일반적으로 4개 라인 데이터의 동시 연산을 수행할 경우, 4개의 라인 메모리를 필요로 한다. 그러나, 도 8(a) 및 (b)에 도시된 바와 같은 필드 메모리(10)의 독출 포맷을 이용함으로써, 1개의 라인 메모리만으로도 4개 라인 데이터의 동시 연산을 가능하게 한다. 이처럼, 3개의 라인 메모리를 사용하지 않아도 되므로, 하드웨어 사이즈를 줄이는 효과가 있다. 단, 도 8(a) 및 (b)에 도시된 바와 같은 독출 포맷을 이용할 경우, 쉬프트 레지스터(12)는 각 라인당 8비트의 픽셀 데이터를 저장할 수 있는 32비트의 쉬프트 레지스터이어야 한다. In general, when performing simultaneous operation of four lines of data, four lines of memory are required. However, by using the read format of the
도 9는 도 7에 도시된 움직임 검출부(14)에 대한 일실시예의 회로도이다. 움직임 검출부(14)는 검출부(80), 라인 메모리(82), 제1 내지 제3지연기(84~88) 및 플래그 신호발생부(90)를 포함하여 구성된다. FIG. 9 is a circuit diagram of an embodiment of the
도 9를 참조하여, n번째 디인터레이스 라인의 q번째 픽셀 데이터를 구하는 경우에 대해 설명한다. 검출부(80)는 라인 극성(LP)에 응답하여 쉬프트 레지스터(12)로부터 출력되는 제1 및 제2필드 또는 제2 및 제4필드의 q번째 픽셀을 입력단자 IN으로 받아들이고, 각 필드의 픽셀간에 움직임이 있는가를 검출한다. 라인 메모리(82)는 검출부(80)로부터 n번째의 디인터레이스 라인의 q번째 픽셀에 대한 움직임 검출 결과를 기입하고, 저장되어있는 (n-1)번째의 디인터레이스 라인의 (q+1)번째 픽셀에 대한 움직임 검출 결과를 독출한다. 제1지연기(84)는 라인 메모리(82)로부터 독출되는 데이터를 지연하고, 지연된 결과를 (n-1)번째 디인터레이스 라인의 q번째 픽셀에 대한 움직임 결과로서 발생한다. 제2지연기(86)는 제1지연기(84)에서 발생되는 데이터를 지연하고, 지연된 결과를 (n-1)번째 디인터 레이스 라인의 (p-1)번째 픽셀에 대한 움직임 검출 결과로서 발생한다. 제3지연기(88)는 검출부(80)에서 검출된 결과 데이터를 지연하고, 지연된 결과를 n번째 디인터레이스 라인의 p번째 픽셀에 대한 움직임 검출 결과로서 발생한다. 플래그 신호 발생부(90)는 검출부(80), 라인 메모리(82), 제1지연기(84), 제2지연기(86) 및 제3지연기(88)의 출력을 논리 조합하고, 논리 조합된 결과를 모션 플래그 신호(MF)로서 발생한다. 한편, 플래그 신호 발생부(90)는 오아 게이트로 구성될 수 있다.A case where the q-th pixel data of the n-th deinterlace line is obtained will be described with reference to FIG. The
도 10은 도 7에 도시된 보간 계수 발생부(18)의 일실시예를 나타내는 회로도이다. 보간 계수 발생부(18)는 위치값 발생부(100), 제산기(102) 및 선택기(104)를 포함하여 구성된다. FIG. 10 is a circuit diagram illustrating an example of the interpolation coefficient generator 18 illustrated in FIG. 7. The interpolation coefficient generator 18 includes a
도 10을 참조하면, 위치값 발생부(100)는 프레임 단위로 입력 영상신호의 라인을 카운트한 입력 라인 카운트값(CNT_i)과 프레임 단위로 출력 영상신호의 라인을 카운트한 출력 라인 카운트값(CNT_o)을 받아들여, 출력 라인 카운트값(CNT_o)이 소정값이 될 때, 입력 라인 카운트값(CNT_i)을 출력 위치값으로서 출력한다. 바람직하게는, 위치값 발생부(100)는 선택기(106) 및 레지스터(108)를 포함하여 구성된다. Referring to FIG. 10, the
선택기(106)는 출력 라인 카운트값(CNT_o)에 응답하여, 입력 라인 카운트값(CNT_i)과 레지스터(108)에 기억된 값중 하나를 선택하여 출력한다. 좀 더 상세히, 선택기(106)는 출력 라인 카운트값(CNT_o)가 소정값이 되면 입력 라인 카운트값(CNT_i)를 선택하여 출력하고, 출력 라인 카운트값(CNT_o)이 소정값 이외의 값이면 레지스터(108)의 값을 선택하여 출력한다. 레지스터(108)는 선택기(106)에서 출력되는 값을 기억하고, 클럭신호(CK)에 응답하여 기억된 값을 선택기(106) 또는 제산기(102)로 출력한다. The
제산기(102)는 위치값 발생부(100)에서 발생되는 출력 위치값을 입력 라인 카운트값(CNT_i)의 최대값(MAX)으로 나누고, 나눈 결과를 출력한다. 선택기(104)는 선택신호(S)에 응답하여, 제산기(102)에서 출력된 데이터 또는 소정 보간값(w0)중 하나를 선택하여 보간 계수(w)로서 출력한다. 여기서, 선택신호(S)는 입력 영상신호의 필드율과 출력 영상신호의 프레임율에 상응하여 발생되는 신호이다. 즉, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 같으면, 선택기(104)가 소정 보간값(w0)을 보간 계수(w)로서 선택 출력하도록 선택신호(S)가 발생된다. 반면, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 다르면, 선택기(104)는 제산기(102)에서 출력되는 데이터를 보간 계수(w)로서 선택 출력하도록 선택신호(S)가 발생된다.The
상술한 바와 같이, 본 발명에 따른 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법 및 장치는 연속되는 4개의 필드를 사용하여 디인터레이스 기능을 수행하기 때문에 화질의 저하를 최소화하고, 또한 움직임의 유/무에 따라 그리고, 짝수/홀수 라인에 따라 각각 독립적으로 공간적 필터링 또는 시간적 필터링을 수행함으로써, 화면의 균질성을 살릴 수 있다. 또한, 보간 계수 발생부 및 보간부를 통해 입/출력의 주파수가 다른 경우에도 시스템의 디스플레이 장치의 조건에 맞게 프레임율 변환 기능을 수행할 수 있다는 효과가 있다. As described above, the deinterlacing method and apparatus using the four consecutive interlaced fields according to the present invention perform the deinterlacing function using the four consecutive interlaced fields, thereby minimizing the deterioration of the image quality and the presence / absence of motion. Accordingly, by performing spatial filtering or temporal filtering independently according to even / odd lines, the homogeneity of the screen may be saved. In addition, even when the input / output frequencies are different through the interpolation coefficient generator and the interpolator, the frame rate conversion function may be performed according to the condition of the display apparatus of the system.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990048593A KR100618792B1 (en) | 1999-11-04 | 1999-11-04 | Apparatus and method for deinteracing using four successive interlaced fields |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990048593A KR100618792B1 (en) | 1999-11-04 | 1999-11-04 | Apparatus and method for deinteracing using four successive interlaced fields |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010045333A KR20010045333A (en) | 2001-06-05 |
KR100618792B1 true KR100618792B1 (en) | 2006-09-06 |
Family
ID=19618505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990048593A KR100618792B1 (en) | 1999-11-04 | 1999-11-04 | Apparatus and method for deinteracing using four successive interlaced fields |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100618792B1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100394175B1 (en) * | 2001-10-06 | 2003-08-09 | 주식회사 아이브이넷 | High speed field switching method of the same |
KR100913890B1 (en) * | 2002-04-17 | 2009-09-02 | 오리온피디피주식회사 | Motion Adaptive Spatial-Temporal Deinterlacing Method |
KR20040061244A (en) | 2002-12-30 | 2004-07-07 | 삼성전자주식회사 | Method and apparatus for de-interlacing viedo signal |
KR100580172B1 (en) | 2003-06-27 | 2006-05-16 | 삼성전자주식회사 | De-interlacing method, apparatus, video decoder and reproducing apparatus thereof |
KR100588901B1 (en) * | 2004-05-07 | 2006-06-09 | 주식회사 대우일렉트로닉스 | Apparatus and method for de-interlacing adaptively field image by using motion compensate technique |
KR100588902B1 (en) * | 2004-05-12 | 2006-06-09 | 주식회사 대우일렉트로닉스 | Video deinterlace apparatus and method |
KR100624304B1 (en) * | 2004-06-04 | 2006-09-18 | 주식회사 대우일렉트로닉스 | Apparatus and method for de-interlacing adaptively field image by using motion |
CN102148953B (en) * | 2011-04-20 | 2013-02-13 | 广东威创视讯科技股份有限公司 | Method and device for detecting three-field motion of de-interlacing processing and de-interlacing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5291275A (en) * | 1990-06-20 | 1994-03-01 | International Business Machines Incorporated | Triple field buffer for television image storage and visualization on raster graphics display |
JPH09307857A (en) * | 1996-05-17 | 1997-11-28 | Sony Corp | Image signal processing unit and image signal processing method |
KR20010005277A (en) * | 1999-06-30 | 2001-01-15 | 구자홍 | Deinterlacing method and apparatus |
KR20010009576A (en) * | 1999-07-12 | 2001-02-05 | 구자홍 | Format variation circuit for lcd television according to image type |
-
1999
- 1999-11-04 KR KR1019990048593A patent/KR100618792B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5291275A (en) * | 1990-06-20 | 1994-03-01 | International Business Machines Incorporated | Triple field buffer for television image storage and visualization on raster graphics display |
JPH09307857A (en) * | 1996-05-17 | 1997-11-28 | Sony Corp | Image signal processing unit and image signal processing method |
KR20010005277A (en) * | 1999-06-30 | 2001-01-15 | 구자홍 | Deinterlacing method and apparatus |
KR20010009576A (en) * | 1999-07-12 | 2001-02-05 | 구자홍 | Format variation circuit for lcd television according to image type |
Also Published As
Publication number | Publication date |
---|---|
KR20010045333A (en) | 2001-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5473381A (en) | Apparatus for converting frame format of a television signal to a display format for a high definition television (HDTV) receiver | |
US7206027B2 (en) | Spatial resolution of video images | |
KR0147209B1 (en) | A device for converting video format of hdtv | |
JP5205621B2 (en) | Advanced deinterlacer for high definition and standard definition video | |
US7193655B2 (en) | Process and device for de-interlacing by pixel analysis | |
US7961252B2 (en) | Reduced memory and bandwidth motion adaptive video deinterlacing | |
JPH0757025B2 (en) | Television image receiving circuit device | |
KR20010069083A (en) | Deinterlacing apparatus | |
JPH0654346A (en) | Video memory device | |
KR100618792B1 (en) | Apparatus and method for deinteracing using four successive interlaced fields | |
KR100629281B1 (en) | Method and apparatus for processing motion information | |
KR0138120B1 (en) | Motion compensated interpolation of digital television images | |
JPH01189285A (en) | Television receiver with flicker interference suppressor | |
US5831684A (en) | Subpicture image signal vertical compression circuit | |
US7116373B2 (en) | Deinterlacing apparatus and method capable of outputting two consecutive deinterlaced frames | |
JP2002369156A (en) | Video signal converter | |
JP2002247529A (en) | Sequential scanning converting device | |
JP4367193B2 (en) | Scanning line converter | |
KR0132262Y1 (en) | Image horizontal interpolation circuit | |
JP4656759B2 (en) | Scanning line converter | |
JPH0795441A (en) | Television signal processing system | |
JP3018384B2 (en) | Video signal processing circuit | |
JPH04372292A (en) | Moving vector detection method | |
EP0802671B1 (en) | Digital signal processing circuit for a television receiver | |
JP3158781B2 (en) | Noise reduction device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20100729 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |