KR100618792B1 - Apparatus and method for deinteracing using four successive interlaced fields - Google Patents

Apparatus and method for deinteracing using four successive interlaced fields Download PDF

Info

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
Application number
KR1019990048593A
Other languages
Korean (ko)
Other versions
KR20010045333A (en
Inventor
송석범
한용인
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1019990048593A priority Critical patent/KR100618792B1/en
Publication of KR20010045333A publication Critical patent/KR20010045333A/en
Application granted granted Critical
Publication of KR100618792B1 publication Critical patent/KR100618792B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion 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/012Conversion between an interlaced and a progressive signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0135Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
    • H04N7/0137Conversion 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

연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치 및 방법{Apparatus and method for deinteracing using four successive interlaced fields} Deinterlacing apparatus and method using four consecutive interlaced fields {Apparatus and method for deinteracing using four successive interlaced fields}

도 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 frame buffer 10 shown in FIG. 7.

도 9는 도 7에 도시된 움직임 검출부(14)에 대한 일실시예의 회로도이다.FIG. 9 is a circuit diagram of an embodiment of the motion detector 14 shown in FIG.

도 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 step 56 that there is motion, spatial filtering is performed according to the line polarity LP (step 58). If it is determined that there is no motion, temporal filtering is performed according to the line polarity LP (step 60). step). After the 58th or 60th step, interpolation is performed between data of the field f2 or f3 selected according to the line polarity LP, the filtered result and the interpolation coefficient w, and the interpolated result is deinterlaced. Output as.

예컨대, 도 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 Equation 1 below, and the interpolated result is obtained as line data of p1.

p1=w*c1 +(1-w)*αp1 = w * c1 + (1-w) * α

이 때, 필터링 데이터 α는 위에서 구한 모션 플래그 신호(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).

α=(b1+b2)/2 α = (b1 + b2) / 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).

α=(a1+c1)/2 α = (a1 + c1) / 2

이렇게 구해진 필터링 데이터 α는 출력 프레임의 시간적 오프셋인 보간 계수(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.

p2=w*β + (1-w)*b2 p2 = w * β + (1-w) * b2

이 때, 필터링 데이터 β는 위에서 구한 모션 플래그 신호(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. .

β=(c1+c2)/2 β = (c1 + c2) / 2

반면, 필드 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.

β=(b2+d2)/2 β = (b2 + d2) / 2

이렇게 구해진 필터링 데이터 β는 출력 프레임의 시간적 오프셋인 보간 계수(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 field memory 10, a shift register 12, a motion detector 14, a filter 16, an interpolator 20, and an interpolation coefficient generator 18.

도 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 field memory 10 receives and stores pixel data of the first to fourth fields f1 to f4, which are four interlaced fields that are continuous to the input terminal IN. In addition, the field memory 10 reads the line data of each field corresponding to the line polarity LP according to whether the current deinterlaced line is an odd or even line. For example, when the line polarity LP is an even number, the field memory 10 reads m-th line data of the first and third fields and m-th and (m + 1) th line data of the second field in series. When the line polarity LP is odd, the field memory 10 reads the m-th and (m + 1) -th line data of the third field and the m-th line data of the second and fourth fields in series.

쉬프트 레지스터(12)는 필드 버퍼(10)로부터 직렬로 입력되는 라인 데이터를 각 라인 데이터 별로 병렬 출력한다. The shift register 12 outputs line data serially input from the field buffer 10 in parallel for each line data.

움직임 검출부(14)는 쉬프트 레지스터(12)로부터 출력되는 각 필드의 라인 데이터들을 받아들여, 제1 및 제3필드간의 움직임이 있거나 또는 제2 및 제4필드간에 움직임이 있는가를 검출하고, 움직임이 있다고 검출되면 인에이블되고 움직임이 없다고 검출되면 디세이블되는 모션 플래그신호(MF)를 발생한다. 움직임 검출부(14)에 대한 상세한 설명은 도 9를 참조하여 후술된다. The motion detector 14 receives the line data of each field output from the shift register 12, detects whether there is motion between the first and third fields, or whether there is motion between the second and fourth fields, and indicates that there is motion. A motion flag signal MF is generated which is enabled when detected and disabled when it is detected that there is no motion. The motion detector 14 will be described in detail later with reference to FIG. 9.

필터링부(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 filtering unit 16 performs spatial or temporal filtering on the line data generated in the shift register 12 in response to the motion flag signal MF generated from the motion detector 14. For example, when the motion flag signal MF is disabled, the filtering unit 16 may output the m-th line data of the first and third fields or the second and second fields output from the shift register 12 corresponding to the line polarity LP. Temporal filtering is performed using the m-th line data of the 4 fields, and the filtered result is output. On the other hand, when the motion flag signal MF is enabled, the filtering unit 16 may output the m-th and (m + 1) -th line data of the second field output from the shift register 12 corresponding to the line polarity LP or Spatial filtering is performed using the m-th and (m + 1) -th line data of the third field, and the filtered result is output. Preferably, the filtering unit 16 includes a temporal filtering unit 22, a spatial filtering unit 24, and a selector 26.

시간적 필터링부(22)는 수학식 3 및 5와 같이 짝수 필드간의 라인 데이터 또는 홀수 필드간의 라인 데이터의 평균값을 구하여 간단히 수행된다. 공간적 필터링부(24)는 수학식 2 및 6과 같이, 필드 2의 라인 데이터간 또는 필드 3의 라인 데이터간에 평균값을 구하여 간단히 수행된다. 선택기(26)는 모션 플래그 신호(MF)에 응답하여, 시간적 필터링부(22)에서 필터링된 데이터와 공간적 필터링부(24)에서 필터링된 데이터중 하나의 데이터를 선택하여 출력한다. The temporal filtering unit 22 is simply performed by obtaining an average value of line data between even fields or line data between odd fields as shown in Equations 3 and 5. The spatial filtering unit 24 is performed simply by obtaining an average value between the line data of the field 2 or the line data of the field 3, as shown in Equations 2 and 6. The selector 26 selects and outputs one of the data filtered by the temporal filtering unit 22 and the data filtered by the spatial filtering unit 24 in response to the motion flag signal MF.

보간 계수 발생부(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 interpolator 20 receives line data of the third field or line data of the second field and data generated by the filtering unit 16 outputted from the shift register 12 corresponding to the line polarity LP, Interpolate corresponding to the interpolation coefficient w, and generate the interpolated result as deinterlaced line data between the second and third fields.

도 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 frame buffer 10 shown in FIG. 7. FIG. 8A shows a read format for obtaining the deinterlace line p1 shown in FIG. 5, and FIG. 8B shows a read format for obtaining the deinterlace line P2 shown in FIG. 8 (a) and (b), it is assumed that each pixel constituting one line is composed of 8 bits.

도 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 field memory 10, Reads b1, b2, a1 in series from the first pixel to the rth pixel. In addition, as shown in FIG. 8B, when obtaining p2 data, the line data b2, c1, d2, and c2 stored in three fields of the fields f2, f3, and f4 among four fields stored in the field memory 10 are obtained. Reads in series from the first pixel to the rth pixel.

일반적으로 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 field memory 10 as shown in Figs. 8A and 8B, simultaneous operation of four line data is possible with only one line memory. As such, it is not necessary to use three line memories, thereby reducing the hardware size. However, when using the read format as shown in Figs. 8A and 8B, the shift register 12 should be a 32-bit shift register capable of storing 8 bits of pixel data for each line.

도 9는 도 7에 도시된 움직임 검출부(14)에 대한 일실시예의 회로도이다. 움직임 검출부(14)는 검출부(80), 라인 메모리(82), 제1 내지 제3지연기(84~88) 및 플래그 신호발생부(90)를 포함하여 구성된다. FIG. 9 is a circuit diagram of an embodiment of the motion detector 14 shown in FIG. The motion detector 14 includes a detector 80, a line memory 82, first to third delayers 84 to 88, and a flag signal generator 90.

도 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 detection unit 80 receives the q-th pixel of the first and second fields or the second and fourth fields output from the shift register 12 in response to the line polarity LP as the input terminal IN, and between the pixels of each field. Detect if there is motion. The line memory 82 writes the motion detection result of the qth pixel of the nth deinterlaced line from the detector 80 and writes to the (q + 1) th pixel of the stored (n-1) th deinterlaced line. Read out the motion detection result. The first delay unit 84 delays the data read from the line memory 82, and generates the delayed result as a result of the movement for the qth pixel of the (n-1) th deinterlaced line. The second delay unit 86 delays the data generated by the first delay unit 84 and uses the delayed result as a motion detection result for the (p-1) th pixel of the (n-1) th deinterlacing line. Occurs. The third delay unit 88 delays the result data detected by the detection unit 80, and generates the delayed result as a motion detection result for the p-th pixel of the n-th deinterlace line. The flag signal generator 90 logically combines the outputs of the detector 80, the line memory 82, the first delayer 84, the second delayer 86, and the third delayer 88. The combined result is generated as the motion flag signal MF. Meanwhile, the flag signal generator 90 may be configured as an ora gate.

도 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 position value generator 100, a divider 102, and a selector 104.

도 10을 참조하면, 위치값 발생부(100)는 프레임 단위로 입력 영상신호의 라인을 카운트한 입력 라인 카운트값(CNT_i)과 프레임 단위로 출력 영상신호의 라인을 카운트한 출력 라인 카운트값(CNT_o)을 받아들여, 출력 라인 카운트값(CNT_o)이 소정값이 될 때, 입력 라인 카운트값(CNT_i)을 출력 위치값으로서 출력한다. 바람직하게는, 위치값 발생부(100)는 선택기(106) 및 레지스터(108)를 포함하여 구성된다. Referring to FIG. 10, the position value generator 100 may include an input line count value CNT_i that counts lines of an input video signal in units of frames and an output line count value CNT_o that counts lines of an output image signal in units of frames. ), And when the output line count value CNT_o becomes a predetermined value, the input line count value CNT_i is output as an output position value. Preferably, the position value generator 100 comprises a selector 106 and a register 108.

선택기(106)는 출력 라인 카운트값(CNT_o)에 응답하여, 입력 라인 카운트값(CNT_i)과 레지스터(108)에 기억된 값중 하나를 선택하여 출력한다. 좀 더 상세히, 선택기(106)는 출력 라인 카운트값(CNT_o)가 소정값이 되면 입력 라인 카운트값(CNT_i)를 선택하여 출력하고, 출력 라인 카운트값(CNT_o)이 소정값 이외의 값이면 레지스터(108)의 값을 선택하여 출력한다. 레지스터(108)는 선택기(106)에서 출력되는 값을 기억하고, 클럭신호(CK)에 응답하여 기억된 값을 선택기(106) 또는 제산기(102)로 출력한다. The selector 106 selects and outputs one of the input line count value CNT_i and the value stored in the register 108 in response to the output line count value CNT_o. More specifically, the selector 106 selects and outputs the input line count value CNT_i when the output line count value CNT_o becomes a predetermined value, and registers the output line count value CNT_o when the output line count value CNT_o is other than the predetermined value. Select the value of 108) and output it. The register 108 stores the value output from the selector 106 and outputs the stored value to the selector 106 or divider 102 in response to the clock signal CK.

제산기(102)는 위치값 발생부(100)에서 발생되는 출력 위치값을 입력 라인 카운트값(CNT_i)의 최대값(MAX)으로 나누고, 나눈 결과를 출력한다. 선택기(104)는 선택신호(S)에 응답하여, 제산기(102)에서 출력된 데이터 또는 소정 보간값(w0)중 하나를 선택하여 보간 계수(w)로서 출력한다. 여기서, 선택신호(S)는 입력 영상신호의 필드율과 출력 영상신호의 프레임율에 상응하여 발생되는 신호이다. 즉, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 같으면, 선택기(104)가 소정 보간값(w0)을 보간 계수(w)로서 선택 출력하도록 선택신호(S)가 발생된다. 반면, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 다르면, 선택기(104)는 제산기(102)에서 출력되는 데이터를 보간 계수(w)로서 선택 출력하도록 선택신호(S)가 발생된다.The divider 102 divides the output position value generated by the position value generator 100 by the maximum value MAX of the input line count value CNT_i, and outputs the divided result. The selector 104 selects either the data output from the divider 102 or the predetermined interpolation value w0 in response to the selection signal S and outputs it as the interpolation coefficient w. Here, the selection signal S is a signal generated corresponding to the field rate of the input video signal and the frame rate of the output video signal. That is, if the field rate of the input video signal and the frame rate of the output video signal are the same, the selection signal S is generated such that the selector 104 selectively outputs the predetermined interpolation value w0 as the interpolation coefficient w. On the other hand, if the field rate of the input video signal and the frame rate of the output video signal are different, the selector 104 generates a selection signal S to output the data output from the divider 102 as the interpolation coefficient w. .

상술한 바와 같이, 본 발명에 따른 연속하는 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)

(a)입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같은가를 판단하는 단계;(a) determining whether the field rate of the input video signal and the frame rate of the output video signal are the same; (b)상기 (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 같다고 판단되면, 보간 계수를 소정 보간값으로 설정하는 단계;(b) 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 in step (a), setting the interpolation coefficient to a predetermined interpolation value; (c)상기 (a)단계에서 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율이 다르다고 판단되면, 프레임율을 변환하기 위한 상기 보간 계수를 구하는 단계;(c) if it is determined that the field rate of the input video signal and the frame rate of the output video signal are different in step (a), obtaining the interpolation coefficient for converting the frame rate; (d)연속되는 4개의 인터레이스 필드들 사이에 움직임이 존재하는가를 판단하는 단계;(d) determining whether motion exists between four consecutive interlaced fields; (e)상기 (d)단계에서 움직임이 존재한다고 판단되면, 라인 극성에 따라 공간적 필터링을 수행하는 단계;(e) if it is determined in step (d) that motion exists, performing spatial filtering according to the line polarity; (f)상기 (d)단계에서 움직임이 존재하지 않는다고 판단되면, 상기 라인 극성에 따라 시간적 필터링을 수행하는 단계; 및 (f) if it is determined in step (d) that there is no motion, performing temporal filtering according to the line polarity; And (g)상기 (e) 또는 (f)단계에서 필터링된 결과와 상기 보간 계수를 이용하여 보간을 수행하고, 보간된 결과를 디인터레이스 영상신호로서 출력하는 단계로 이루어지는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 방법. (g) performing interpolation using the filtered result and the interpolation coefficient in the step (e) or (f), and outputting the interpolated result as a deinterlaced video signal. Deinterlacing method using fields. 연속되는 4개의 인터레이스 필드들인 제1 내지 제4필드를 받아들여, 상기 제1 및 제3필드간의 움직임이 있거나 또는 상기 제2 및 제4필드간에 움직임이 있으면 인에이블되는 모션 플래그신호를 발생하는 움직임 검출부; A motion that receives first to fourth fields, which are four consecutive interlaced fields, and generates a motion flag signal that is enabled when there is motion between the first and third fields or when there is motion between the second and fourth fields. Detection unit; 상기 모션 플래그신호 및 라인 극성에 상응하여 같은 극성을 갖는 두 필드의 픽셀간에 시간적 필터링을 수행하거나, 아니면 상기 제2필드 또는 상기 제3필드의 연속되는 두 라인의 픽셀간에 공간적 필터링을 수행하는 필터링부; 및 A filtering unit that performs temporal filtering between pixels of two fields having the same polarity corresponding to the motion flag signal and the line polarity, or performs spatial filtering between pixels of two consecutive lines of the second field or the third field ; And 상기 라인 극성에 상응하여 입력되는 픽셀 데이터와 상기 필터링부에서 발생되는 데이터를 소정의 보간 계수에 상응하여 보간하고, 보간된 결과를 상기 제2 및 상기 제3필드 사이에서의 디인터레이스된 픽셀 데이터로서 발생하는 보간부를 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치.Interpolates pixel data input corresponding to the line polarity and data generated by the filtering unit according to a predetermined interpolation coefficient, and generates the interpolated result as deinterlaced pixel data between the second and third fields. A deinterlacing apparatus using four consecutive interlacing fields, characterized by comprising an interpolation section. 제2항에 있어서, 상기 움직임 검출부는The method of claim 2, wherein the motion detector 상기 라인 극성에 응답하여 동일 극성을 갖는 두 필드의 p번째 픽셀을 입력하고, 상기 p번째 픽셀간에 움직임이 있는가를 검출하는 검출부;A detector configured to input a p-th pixel of two fields having the same polarity in response to the line polarity, and detect whether there is motion between the p-th pixel; 상기 검출부의 검출 결과를 n번째 디인터레이스 라인의 p번째 픽셀에 대한 움직임 검출 결과로서 저장하고, 저장되어있는 (n-1)번째 디인터레이스 라인의 (p+1)번째 픽셀에 대한 움직임 검출 결과를 독출하는 라인 메모리;The detection result of the detection unit is stored as a motion detection result for the pth pixel of the nth deinterlace line, and the motion detection result for the (p + 1) th pixel of the stored (n-1) th deinterlace line is read. Is line memory; 상기 검출부의 검출 결과를 지연하여, n번째 디인터레이스 라인의 (p-1)번째 픽셀에 대한 움직임 결과로서 발생하는 제1지연기;A first delay unit which delays the detection result of the detection unit and occurs as a result of movement of the (p-1) th pixel of the nth deinterlace line; 상기 라인 메모리에서 독출되는 데이터를 지연하여 (n-1)번째 디인터레이스 라인의 p번째 픽셀에 대한 움직임 검출 결과로서 발생하는 제2지연기; A second delayer which delays the data read out from the line memory and occurs as a result of motion detection for the p-th pixel of the (n-1) th deinterlace line; 상기 제2지연기에서 발생되는 데이터를 지연하여 (n-1)번째 디인터레이스 라인의 (p-1)번째 픽셀에 대한 움직임 검출 결과로서 발생하는 제3지연기; 및A third delayer delaying the data generated by the second delayer and generating the motion detection result for the (p-1) th pixel of the (n-1) th deinterlace line; And 상기 제1 내지 제3지연기, 상기 검출부 및 상기 라인 메모리에서 각각 출력되는 데이터를 논리 조합하고, 논리 조합된 결과를 상기 모션 플래그 신호로서 발생하는 플래그 신호 발생부를 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치. And a flag signal generator for logically combining the data output from the first to third delay units, the detection unit and the line memory, and generating the logical combined result as the motion flag signal. Deinterlacing device using two interlace fields. 제2항에 있어서, 상기 필터링부는 The method of claim 2, wherein the filtering unit 상기 라인 극성에 상응하여, 같은 극성을 갖는 두 필드의 픽셀 데이터를 각각 입력하고, 입력된 픽셀 데이터의 평균값을 상기 시간적 필터링을 수행한 결과로서 출력하는 시간적 필터링부;A temporal filtering unit for inputting pixel data of two fields having the same polarity, respectively, corresponding to the line polarity, and outputting an average value of the input pixel data as a result of performing the temporal filtering; 상기 라인 극성에 상응하여, 상기 제2필드 또는 상기 제3필드의 연속되는 두 라인의 픽셀 데이터를 입력하고, 입력된 픽셀 데이터의 평균값을 상기 공간적 필터링을 수행한 결과로서 출력하는 공간적 필터링부; 및 A spatial filtering unit configured to input pixel data of two consecutive lines of the second field or the third field corresponding to the line polarity, and output an average value of the input pixel data as a result of performing the spatial filtering; And 상기 모션 플래그 신호에 응답하여, 상기 시간적 필터링부의 출력 또는 상기 공간적 필터링부의 출력을 선택적으로 출력하는 선택기를 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치. And a selector for selectively outputting the output of the temporal filtering unit or the output of the spatial filtering unit in response to the motion flag signal. 제2항에 있어서, 상기 디인터레이스 장치는The apparatus of claim 2, wherein the deinterlacing device 상기 연속하는 4개의 인터레이스 필드의 픽셀 데이터를 저장하고 있고, 상기 라인 극성에 상응하여 상기 제1 및 제3필드의 m번째 인터레이스 라인의 p번째 픽셀 데이터와 상기 제2필드의 m번째 및 (m+1)번째 인터레이스 라인의 p번째 픽셀 데이터를 직렬로 독출하거나, 아니면 상기 제3필드의 m번째 및 (m+1)번째 인터레이스 라인의 p번째 픽셀 데이터와 상기 제2 및 제4필드의 m번째 인터레이스 라인의 p번째 픽셀 데이터를 직렬로 독출하는 필드 버퍼; 및 The pixel data of the four consecutive interlaced fields are stored, and the p-th pixel data of the m-th interlaced line of the first and third fields and the m-th and (m +) of the second field correspond to the line polarity. 1) Read the p-th pixel data of the th interlace line serially or otherwise, the p-th pixel data of the m th and (m + 1) th interlace lines of the third field and the m th interlace of the second and fourth fields. A field buffer for serially reading the p-th pixel data of the line; And 상기 필드 버퍼로부터 직렬로 독출되는 픽셀 데이터를 병렬로 변환하고, 병렬 변환된 픽셀 데이터를 상기 움직임 검출부 및 상기 필터링부로 각각 출력하는 쉬프트 레지스터를 더 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치.Further comprising a shift register for converting the pixel data read out serially from the field buffer in parallel and outputting the parallel converted pixel data to the motion detector and the filtering unit, respectively. Deinterlacing device. 연속되는 4개의 인터레이스 필드들인 제1 내지 제4필드를 받아들여, 상기 제1 및 제3필드간의 움직임이 있거나 또는 상기 제2 및 제4필드간에 움직임이 있으면 인에이블되는 모션 플래그신호를 발생하는 움직임 검출부; A motion that receives first to fourth fields, which are four consecutive interlaced fields, and generates a motion flag signal that is enabled when there is motion between the first and third fields or when there is motion between the second and fourth fields. Detection unit; 상기 모션 플래그신호 및 라인 극성에 상응하여 같은 극성을 갖는 두 필드의 픽셀간에 시간적 필터링을 수행하거나, 아니면 상기 제2필드 또는 상기 제3필드의 연속되는 두 라인의 픽셀간에 공간적 필터링을 수행하는 필터링부; A filtering unit that performs temporal filtering between pixels of two fields having the same polarity corresponding to the motion flag signal and the line polarity, or performs spatial filtering between pixels of two consecutive lines of the second field or the third field ; 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율을 비교하여, 같으면 소정 보간값을 보간 계수로서 출력하고, 다르면 프레임율 변환을 위한 보간 계수를 구하여 출력하는 보간 계수 발생부; 및 An interpolation coefficient generator that compares a field rate of an input video signal with a frame rate of an output video signal and outputs a predetermined interpolation value as interpolation coefficients, and obtains and outputs an interpolation coefficient for frame rate conversion if different; And 상기 라인 극성에 상응하여 입력되는 픽셀 데이터와 상기 필터링부에서 발생되는 데이터를 상기 보간 계수에 상응하여 보간하고, 보간된 결과를 상기 제2 및 상기 제3필드 사이에서의 디인터레이스된 픽셀 데이터로서 발생하는 보간부를 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치.Interpolating pixel data input corresponding to the line polarity and data generated by the filtering unit according to the interpolation coefficients, and generating the interpolated result as deinterlaced pixel data between the second and third fields. A deinterlacing apparatus using four consecutive interlaced fields, characterized by comprising an interpolation section. 제6항에 있어서, 상기 보간 계수 발생부는The method of claim 6, wherein the interpolation coefficient generator 프레임 단위로 입력 영상신호의 라인과 출력 영상신호의 라인을 각각 카운트하여 입력 라인 카운트값과 출력 라인 카운트값을 구하고, 상기 출력 라인 카운트값이 소정값이 될 때, 상기 입력 라인 카운트값을 출력 프레임 위치값으로서 발생하는 프레임 위치값 발생부; An input line count value and an output line count value are obtained by counting lines of an input video signal and lines of an output video signal in frame units, and when the output line count value reaches a predetermined value, output the input line count value to an output frame. A frame position value generator that generates as a position value; 상기 출력 프레임 위치값을 상기 입력 라인 카운트값의 최대값으로 나누는 제산기; 및 A divider for dividing the output frame position value by the maximum value of the input line count value; And 입력되는 영상신호의 필드율과 출력되는 영상신호의 프레임율을 비교하여, 입력 영상신호의 필드율과 출력 영상신호의 프레임율이 같으면 상기 소정 보간값을 상기 보간 계수로서 출력하고, 입력 영상신호의 필드율과 출력 영상신호가 다르면 상기 제산기에서 제산된 결과를 상기 보간 계수로서 출력하는 선택기를 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치.By comparing the field rate of the input video signal and the frame rate of the output 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 is output as the interpolation coefficient, and And a selector for outputting the result of dividing by the divider as the interpolation coefficient when the field rate and the output video signal are different from each other. 제6항에 있어서, 상기 디인터레이스 장치는7. The apparatus of claim 6, wherein the deinterlacing device is 상기 연속하는 4개의 인터레이스 필드의 픽셀 데이터를 저장하고 있고, 상기 라인 극성에 상응하여 상기 제1 및 제3필드의 m번째 인터레이스 라인의 p번째 픽셀 데이터와 상기 제2필드의 m번째 및 (m+1)번째 인터레이스 라인의 p번째 픽셀 데이터를 직렬로 독출하거나, 아니면 상기 제3필드의 m번째 및 (m+1)번째 인터레이스 라인의 p번째 픽셀 데이터와 상기 제2 및 제4필드의 m번째 인터레이스 라인의 p번째 픽셀 데이터를 직렬로 독출하는 필드 버퍼; 및 The pixel data of the four consecutive interlaced fields are stored, and the p-th pixel data of the m-th interlaced line of the first and third fields and the m-th and (m +) of the second field correspond to the line polarity. 1) Read the p-th pixel data of the th interlace line serially or otherwise, the p-th pixel data of the m th and (m + 1) th interlace lines of the third field and the m th interlace of the second and fourth fields. A field buffer for serially reading the p-th pixel data of the line; And 상기 필드 버퍼로부터 직렬로 독출되는 픽셀 데이터를 병렬로 변환하고, 병렬 변환된 픽셀 데이터를 상기 움직임 검출부 및 상기 필터링부로 각각 출력하는 쉬프트 레지스터를 더 구비하는 것을 특징으로 하는 연속하는 4개의 인터레이스 필드를 이용한 디인터레이스 장치.Further comprising a shift register for converting the pixel data read out serially from the field buffer in parallel and outputting the parallel converted pixel data to the motion detector and the filtering unit, respectively. Deinterlacing device.
KR1019990048593A 1999-11-04 1999-11-04 Apparatus and method for deinteracing using four successive interlaced fields KR100618792B1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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