KR100226836B1 - Apparatus for field format conversion - Google Patents

Apparatus for field format conversion Download PDF

Info

Publication number
KR100226836B1
KR100226836B1 KR1019970050129A KR19970050129A KR100226836B1 KR 100226836 B1 KR100226836 B1 KR 100226836B1 KR 1019970050129 A KR1019970050129 A KR 1019970050129A KR 19970050129 A KR19970050129 A KR 19970050129A KR 100226836 B1 KR100226836 B1 KR 100226836B1
Authority
KR
South Korea
Prior art keywords
motion
edge
pixel
field
data
Prior art date
Application number
KR1019970050129A
Other languages
Korean (ko)
Other versions
KR19990027636A (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 KR1019970050129A priority Critical patent/KR100226836B1/en
Publication of KR19990027636A publication Critical patent/KR19990027636A/en
Application granted granted Critical
Publication of KR100226836B1 publication Critical patent/KR100226836B1/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

Abstract

비월 주사를 순차 주사 방식으로 변환하는 영상 포맷 변환 장치에 관한 것으로서, 특히 현재의 필드 영상 데이타와 2 필드 지연된 필드 영상 데이타를 입력받아 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 판별하는 에지 검출부와, 상기 에지 검출부에서 검출된 에지에 움직임이 있다고 판단된 경우에만 두 필드 영상의 밝기 성분의 차를 미리 설정된 임계값과 비교하여 움직임을 검출하는 움직임 검출부와, 상기 움직임 검출부에서 검출된 움직임 정보에 따라 움직임 데이터를 수평 및 수직 방향으로 확장하는 수평 및 수직 확장부와, 상기 수평 및 수직 확장부에서 확장되어 출력되는 데이타의 움직임 정도에 따라 데이터 보간을 한 후 라인 압축을 수행하는 디인터레이싱부를 포함하여 구성되어, 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 판단함으로써 움직임이 없는 바탕영상에서 움직임이 있는 것으로 판단하거나 움직임이 있는데 움직임이 없다고 판단하는 오류를 범하지 않으며, 에지의 움직임을 검출한 후 다시 2개의 원 영상 필드끼리의 차를 구하여 비교함으로써 에지를 비교하는 과정에서 움직임을 검출하지 못하거나 움직임을 제거하는 부분이 생기는 것을 방지할 수 있다.An image format conversion apparatus for converting interlaced scanning into a sequential scanning method. In particular, an edge detection unit which detects an edge on a pixel-by-pixel basis by receiving current field image data and 2-field delayed field image data, and determines a detected edge movement And a motion detector for detecting motion by comparing the difference between the brightness components of the two field images with a preset threshold value only when it is determined that there is motion on the edge detected by the edge detector, and the motion information detected by the motion detector. A horizontal and vertical extension unit for extending the motion data in a horizontal and vertical direction, and a deinterlacing unit for performing line compression after interpolating the data according to the degree of movement of the data output from the horizontal and vertical extension units. To detect the edge on a pixel-by-pixel basis It does not make an error to judge that there is motion in the background image without motion by judging whether it is motionless, or to judge that there is no motion, and after detecting the motion of the edge, it calculates and compares the difference between two original image fields again. In the process of comparing the edges, it is possible to prevent the detection of motion or the removal of motion.

Description

영상 포맷 변환 장치Video format converter

본 발명은 엔티에스시(NTSC) 방식인 비월 주사(Interlacing)를 순차 주사(Progressive) 방식으로 변환하는 장치에 관한 것으로서, 특히 영상의 엣지 부분을 이용하여 움직임을 판단하여 디인터레이싱을 수행하는 영상 포맷 변환 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for converting interlacing, which is an NTSC method, into a progressive scan. In particular, an image format conversion for performing deinterlacing by determining a motion using an edge portion of an image is performed. Relates to a device.

일반적인 텔레비젼 영상 신호는 2개의 필드가 1 프레임을 형성하는 비월 주사 방식을 채택하여 송신되는 주파수 대역의 압축을 실행하고 있다. 그리고, 최근 PC나 고선명 텔레비젼에서는 상기 비월 주사를 화면에 디스플레이하고자 하고 있다. 그러나, PC나 고선명 텔레비젼에서는 통상 순차 방식으로 디스플레이하므로 기존의 비월 주사를 디스플레이하기 위해서는 기존의 비월 주사에서 없는 영상 라인을 임의의 방법으로 만들어 순차 주사할 수 있도록 하여야 하는데, 이것을 디-인터레이싱(De-interlacing)이라고 한다. 이를 위해서 먼저 영상의 움직임 검출을 정확히 하여야 한다.A typical television video signal adopts an interlaced scanning method in which two fields form one frame, thereby performing compression of a frequency band transmitted. In recent years, PCs and high-definition televisions attempt to display the interlaced scans on the screen. However, since PCs or high-definition televisions usually display in a sequential manner, in order to display a conventional interlaced scan, an image line that is not present in a conventional interlaced scan must be arbitrarily made to be sequentially scanned, which is de-interlaced. -interlacing). To do this, the motion of the image must be detected first.

즉, 비월 주사를 순차 주사로 변환하는 종래의 기술에서는 움직임 검출을 두 개의 프레임 차를 가지는 필드 영상의 차를 이용하거나 여러 개의 필드를 이용하여 움직임을 검출한다.That is, in the conventional technique of converting interlaced scanning into sequential scanning, motion detection is detected by using a difference of field images having two frame differences or by using multiple fields.

예를 들면, 미국 특허 제 5,488,422호에 개시된 기술에서는 단지 두 개의 프레임차를 갖는 필드 영상의 밝기 성분만을 가지고 움직임을 찾기 때문에 즉, 두 프레임 차를 갖는 밝기 성분이 어떤 값 이상이면 움직임이 있고 어떤 값 이하이면 움직임이 없다고 판단하기 때문에 실질적으로 움직임이 없는 영상에서도 상당히 많은 부분이 움직임이 있음을 나타내고 있다. 따라서, 움직임을 찾고나서 후처리 부분에서 이러한 에러를 제거하기 위해 필터와 같은 프로세서가 필요하게 된다.For example, the technique disclosed in US Pat. No. 5,488,422 finds motion with only the brightness component of a field image having only two frame differences, that is, if the brightness component with two frame differences is above a certain value, there is a motion and a certain value. Since it is determined that there is no motion below, it indicates that there is a considerable part of the motion even in an image having substantially no motion. Thus, a processor, such as a filter, is needed to remove this error in the post-processing part after finding the movement.

또한, 미국 특허 제 5,027,201호에 개시된 기술에서는 움직임을 찾기 위하여 여러 개의 필드 영상이 필요하여 많은 필드 메모리를 필요로 하게 된다. 즉, 기본적으로 4개의 필드 메모리를 가지고 5개의 필드 영상의 대각선간의 픽셀차와 3 필드간의 픽셀차를 이용하여 움직임 검출을 하므로 많은 필드 메모리를 이용하게 된다.In addition, the technique disclosed in U.S. Patent No. 5,027,201 requires a large number of field memories because several field images are required to find motion. That is, since the motion detection is performed by using the pixel difference between the diagonals of the five field images and the pixel difference between the three fields with four field memories, basically, many field memories are used.

이와같이 종래에는 전자의 경우처럼 단지 2개의 필드 차를 이용하여 움직임 검출을 하면 많은 에러가 발생하고, 그렇지 않고 후자의 경우처럼 여러 장의 필드 영상을 이용하여 움직음 검출을 하면 많은 필드 메모리를 필요로 하는 문제점이 있었다.As described above, when the motion detection is performed using only two field differences as in the former case, many errors occur. Otherwise, when the motion detection is performed using several field images as in the latter case, many field memories are required. There was a problem.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 두 개의 필드 메모리를 사용하여 두 개의 필드 영상에서 각각의 에지 성분만을 추출하여 차를 구함으로써, 물체의 움직임을 정확히 검출하는 영상 포맷 변환 장치를 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to extract an edge by extracting each edge component only from two field images using two field memories, thereby accurately detecting the motion of an object. The present invention provides a format conversion apparatus.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 영상 포맷 변환 장치의 특징은, 현재의 필드 데이터와 2 필드 지연된 필드 데이터를 입력받아 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 판별하는 에지 검출부와, 현재의 필드 데이터와 2 필드 지연된 필드 데이터를 비교하여 두 영상의 밝기 성분의 차를 구하여 래치하는 밝기성분 검출부와, 상기 에지 검출부에서 검출된 에지에 움직임이 있다고 판단된 경우에만 상기 밝기성분 검출부로부터 두 영상의 밝기 성분의 차를 입력받고 미리 설정된 임계값과 비교하여 움직임을 검출하는 움직임 검출부와, 상기 움직임 검출부에서 검출된 움직임 정보에 따라 움직임 데이터를 수평 및 수직 방향으로 확장하는 수평 및 수직 확장부와, 상기 수평 및 수직 확장부에서 확장되어 출력되는 데이타의 움직임 정도에 따라 데이터 보간을 한 후 라인 압축을 수행하는 디인터레이싱부로 구성되는데 있다.A feature of the image format conversion apparatus according to the present invention for achieving the above object is an edge detection unit for detecting the edge in the pixel unit by receiving the current field data and two field delayed field data and determines the movement of the detected edge And a brightness component detector which compares current field data with two field delayed field data, obtains and latches the difference between the brightness components of the two images, and the brightness component detector only when it is determined that there is motion in the edge detected by the edge detector. A motion detector for detecting motion by receiving the difference between the brightness components of the two images from a second threshold and a horizontal and vertical extension for expanding the motion data in the horizontal and vertical directions according to the motion information detected by the motion detector; Section of the data output from the horizontal and vertical expansion units. After the data interpolation according to the degree jikim may consists of parts that perform the de-interlacing a line compression.

도 1은 본 발명에 따른 영상 포맷 변환 장치의 구성 블록도1 is a block diagram of an image format conversion apparatus according to the present invention

도 2는 도 1의 에지 검출부의 상세 블록도FIG. 2 is a detailed block diagram of the edge detector of FIG. 1. FIG.

도 3은 도 2의 에지 검출기의 상세 블록도3 is a detailed block diagram of the edge detector of FIG.

도 4는 도 1의 수평 확장부의 상세 블록도4 is a detailed block diagram of the horizontal extension of FIG.

도 5는 도 1의 수직 확장 및 데이터 샘플부에서 수직 확장의 상세 블록도FIG. 5 is a detailed block diagram of vertical expansion in the vertical expansion and data sample part of FIG. 1; FIG.

도 6은 도 1의 수직 확장 및 데이터 샘플부에서 데이터 샘플의 상세 블록도FIG. 6 is a detailed block diagram of a data sample in the vertical expansion and data sample unit of FIG. 1. FIG.

도면의 주요 부분에 대한 부호의 설명Explanation of symbols for the main parts of the drawings

101 : A/D 컨버터 102, 103 : 필드 메모리101: A / D converter 102, 103: field memory

104 : 에지 검출부 105 : 감산기104: edge detector 105: subtractor

107 : 버퍼 108 : 스위칭부107: buffer 108: switching unit

109 : 움직임 검출부 110 : 수평 확장부109: motion detection unit 110: horizontal expansion unit

111 : 수직 확장 및 데이터 샘플부 112 : 2:1 라인 압축부111: vertical expansion and data sample section 112: 2: 1 line compression section

113 : D/A 컨버터 201,202 : 에지 검출기113: D / A converter 201,202: edge detector

203 : 감산기203: Subtractor

이하, 본 발명의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 영상 포맷 변환 장치의 전체 구성 블록도로서, 콤필터(도시되지 않음.)를 이용하여 입력되는 복합 영상 신호(비월 주사방식의 영상신호)를 휘도 신호(Y)와 색 신호(C)로 분리하고 분리된 휘도 신호(Y)를 디인터레이싱한다.FIG. 1 is a block diagram illustrating an overall configuration of an image format conversion apparatus according to an embodiment of the present invention, in which a complex video signal (interlaced video signal) input using a comb filter (not shown) is converted into a luminance signal Y and a color. The signal C is separated and the separated luminance signal Y is deinterlaced.

즉, 도 1을 보면, 분리된 휘도 신호(Y)를 디지탈 신호로 변환하는 아날로그/디지탈(Analog/Digital ; A/D) 컨버터(101), 상기 A/D 컨버터(101)에서 디지탈로 변환되어 출력되는 비월 주사 영상에서의 263 라인(H)을 저장하는 제 1 필드 메모리(102), 상기 제 1 필드 메모리(102)에 연결되어 제 1 필드 메모리(102)에서 1 필드 지연된 데이터 즉, 262 라인을 저장하는 제 2 필드 메모리(103), 상기 제 2 필드 메모리(103)에서 출력되는 첫 번째 필드 영상 데이터와 상기 A/D 컨버터(101)를 통해 출력되는 세 번째 필드 영상 데이터 각각에서 픽셀 단위로 에지를 검출한 후 픽셀 단위로 2개의 영상의 차를 구하여 스위칭 제어 신호로 출력하는 에지 검출부(104), 상기 제 2 필드 메모리(103)에서 출력되는 첫 번째 필드 영상 데이터와 상기 A/D 컨버터(101)를 통해 출력되는 세 번째 필드 영상 데이터를 비교하여 두 영상의 차를 출력하는 감산기(105), 상기 감산기(105)의 출력을 일시 래치하는 버퍼(107), 상기 에지 검출부(104)에서 출력되는 스위칭 제어 신호에 따라 스위칭되어 상기 버퍼(107)에 선택적으로 접속되는 스위칭부(108), 상기 스위칭부(108)를 통해 출력되는 데이터와 미리 설정된 임계값을 비교하여 영상의 움직임을 검출하는 움직임 검출부(109)를 포함하여 구성된다. 여기서, 미언급된 부호 106은 에지 검출부(104)에서 에지가 검출되지 않거나 에지가 검출되었어도 움직임이 없다고 판단된 경우에 스위칭부(18)가 접속되는 라인으로 이 라인(106)은 접지되어 있을 수도 있고 이 라인을 통해 의미없는 데이터가 입력될 수도 있다.That is, referring to FIG. 1, an analog / digital (A / D) converter 101 for converting the separated luminance signal Y into a digital signal is converted into digital in the A / D converter 101. First field memory 102 for storing 263 lines H in the interlaced scan image output, data connected to the first field memory 102 and delayed by one field in the first field memory 102, that is, 262 lines The second field memory 103 for storing the first field image data output from the second field memory 103 and the third field image data output through the A / D converter 101 in pixel units. After detecting an edge, the edge detector 104 obtains a difference between two images on a pixel basis and outputs the switching control signal, and the first field image data output from the second field memory 103 and the A / D converter ( Third field video day output through 101) The subtractor 105 for outputting the difference between the two images, the buffer 107 temporarily latching the output of the subtractor 105, and the switching control signal output from the edge detector 104 are switched to the buffer ( The switching unit 108 is selectively connected to the 107, and the motion detection unit 109 for detecting the motion of the image by comparing the data output through the switching unit 108 and a predetermined threshold value is configured. Here, reference numeral 106 denotes a line to which the switching unit 18 is connected when the edge detector 104 determines that no edge is detected or no movement is detected even when the edge is detected. The line 106 may be grounded. This line can be used to input meaningless data.

상기 에지 검출부(104)는 도 2에서와 같이 세번째 필드 영상에서 픽셀 단위로 에지를 검출하는 에지 검출기(201), 첫 번째 필드 영상에서 픽셀 단위로 에지를 검출하는 에지 검출기(202), 상기 두 에지 검출기(201,202)에서 각각 검출된 에지의 차를 구하여 스위칭 제어 신호로 출력하는 감산기(203)로 구성된다.As shown in FIG. 2, the edge detector 104 detects an edge in units of pixels in a third field image, an edge detector 202 in which edges are detected in pixels in a first field image, and the two edges. The subtractor 203 obtains the difference between the edges detected by the detectors 201 and 202 and outputs the switching control signal.

상기 두 에지 검출기(201,202)의 구성은 동일하며, 그중 하나를 도 3에 상세하게 도시하였다. 도 3을 보면, 필드 영상 데이터의 1 라인을 지연시키는 제 1 라인 메모리(301), 상기 제 1 라인 메모리(301)에서 지연된 1 라인을 다시 1 라인 지연시키는 제 2 라인 메모리(302), 입력되는 필드 영상 데이터 즉, 세 번째 라인의 첫 번째 픽셀부터 세 번째 픽셀까지 순차적으로 래치하는 버퍼(303,304,305), 상기 버퍼(304)에서 출력되는 두 번째 픽셀에 임의의 상수(α)를 곱하는 곱셈기(306), 상기 버퍼(303,305)에서 출력되는 첫 번째 픽셀과 세 번째 픽셀 그리고, 곱셈기(306)에서 출력되는 두 번째 픽셀을 더하는 가산기(307), 제 1 라인 메모리(301)에서 출력되는 두 번째 라인의 첫 번째 픽셀부터 세 번째 픽셀까지 순차적으로 래치하는 버퍼(308,309,310), 상기 버퍼(310)에서 출력되는 첫 번째 픽셀에 임의의 상수(α)를 곱하는 곱셈기(311), 상기 버퍼(308)에서 출력되는 세 번째 픽셀에 임의의 상수(α)를 곱하는 곱셈기(312), 제 2 라인 메모리(302)에서 출력되는 첫 번째 라인의 첫 번째 픽셀부터 세 번째 픽셀까지 순차적으로 래치하는 버퍼(313,314,315), 상기 버퍼(314)에서 출력되는 두 번째 픽셀에 임의의 상수(α)를 곱하는 곱셈기(316), 상기 버퍼(313,315)에서 출력되는 첫 번째 픽셀과 세 번째 픽셀 그리고, 곱셈기(316)에서 출력되는 두 번째 픽셀을 더하는 가산기(317), 상기 버퍼(305)에서 출력되는 세 번째 라인의 첫 번째 픽셀과 상기 곱셈기(311)에서 출력되는 두 번째 라인의 첫 번째 픽셀과 상기 버퍼(315)에서 출력되는 첫 번째 라인의 첫 번째 픽셀을 더하는 가산기(318), 상기 버퍼(303)에서 출력되는 세 번째 라인의 세 번째 픽셀과 상기 곱셈기(312)에서 출력되는 두 번째 라인의 세 번째 픽셀 그리고, 상기 버퍼(313)에서 출력되는 첫 번째 라인의 세 번째 픽셀을 더하는 가산기(319), 상기 가산기(307,317,318,319)에서 각각 출력되는 값을 각각 래치하는 버퍼(320,321,322,323), 상기 버퍼(320,321,322,323)의 각 출력을 더하는 가산기(324), 및 상기 가산기(324)의 결과에 절대치을 취하는 절대치화부(325)로 구성된다. 여기서, 임의의 상수(α)는 2를 예로 들었으나, 설계 목적에 따라 달라질 수 있다. 즉, 상수(α) 값이 크면 에지가 두툼해지므로 에지가 대충 검출되고, 상수(α) 값이 작을수록 에지가 정확하게 검출된다.The two edge detectors 201 and 202 have the same configuration, and one of them is shown in detail in FIG. 3. Referring to FIG. 3, a first line memory 301 for delaying one line of field image data, a second line memory 302 for delaying one line delayed by the first line memory 301 again, is inputted. Field image data, that is, buffers 303, 304, and 305 which sequentially latch from the first pixel to the third pixel of the third line, and a multiplier 306 that multiplies the second pixel output from the buffer 304 by an arbitrary constant α. An adder 307 that adds a first pixel and a third pixel output from the buffers 303 and 305, and a second pixel output from the multiplier 306, and a first line of the second line output from the first line memory 301. Buffers 308, 309 and 310 sequentially latching from the first pixel to the third pixel, a multiplier 311 that multiplies the first pixel output from the buffer 310 by an arbitrary constant α, and three outputs from the buffer 308 Th pixel A multiplier 312 multiplying a constant α, buffers 313, 314, 315 sequentially latching from the first pixel to the third pixel of the first line output from the second line memory 302, in the buffer 314 A multiplier 316 multiplying the second pixel output by an arbitrary constant α, an adder that adds a first pixel and a third pixel output from the buffers 313 and 315, and a second pixel output from the multiplier 316 ( 317), the first pixel of the third line output from the buffer 305 and the first pixel of the second line output from the multiplier 311 and the first pixel of the first line output from the buffer 315. An adder 318 that adds the third pixel of the third line output from the buffer 303 and the third pixel of the second line output from the multiplier 312 and the first output of the buffer 313. Of the line An adder 319 for adding the second pixel; It consists of an absolute value part 325 which takes an absolute value in a result. Here, the arbitrary constant α is 2 as an example, but may vary depending on the design purpose. That is, the larger the value of the constant α, the thicker the edge is, so that the edge is roughly detected, and the smaller the value of the constant α is, the more accurately the edge is detected.

이와같이 구성된 본 발명은 복합 영상 신호(비월 주사방식의 영상신호)를 휘도 신호(Y)와 색 신호(C)로 분리한 후 분리된 휘도 신호(Y)는 A/D 컨버터(101)로 입력시켜 8비트의 디지털 밝기 성분의 신호로 만든다.According to the present invention configured as described above, the composite video signal (interlaced scanning video signal) is separated into the luminance signal Y and the color signal C, and the separated luminance signal Y is inputted to the A / D converter 101. It is made of a signal of 8-bit digital brightness components.

상기 A/D 컨버터(101)에서 디지털 화된 첫 번째 필드 영상 데이터는 263 라인을 저장하는 필드 메모리(102)에 저장되었다가 A/D 컨버터(101)를 통해 두 번째 필드 영상 데이터가 출력되면 필드 메모리(102)에서 출력되어 262 라인을 저장하는 필드 메모리(103)에 저장되고 필드 메모리(102)에는 두 번째 필드 영상 데이터가 저장된다. 그리고나서, 상기 A/D 컨버터(101)를 통해 출력되는 세 번째 필드 영상 데이터가 필드 메모리(102)에 입력됨과 동시에 에지 검출기(104)와 감산기(105)로 출력되면 필드 메모리(103)에 저장된 첫 번째 필드 영상 데이터도 에지 검출기(104)와 감산기(105)로 출력된다.The first field image data digitized by the A / D converter 101 is stored in the field memory 102 storing 263 lines, and when the second field image data is output through the A / D converter 101, the field memory is output. The second field image data is stored in the field memory 103 which is output from the 102 and stores 262 lines, and the second field image data is stored in the field memory 102. Then, when the third field image data output through the A / D converter 101 is input to the field memory 102 and output to the edge detector 104 and the subtractor 105, the third field image data stored in the field memory 103 is stored. The first field image data is also output to the edge detector 104 and the subtractor 105.

상기 감산기(105)는 첫 번째 필드 영상과 세 번째 필드 영상의 차 즉, 밝기 성분의 차를 구한 후 상기 에지 검출부(104)에서 에지가 검출될 때까지 버퍼(107)에 래치시킨다.The subtractor 105 obtains the difference between the first field image and the third field image, that is, the difference between the brightness components and latches the buffer 107 until the edge is detected by the edge detector 104.

한편, 상기 에지 검출부(104)의 에지 검출기(201)는 세 번째 필드 영상에서 픽셀 단위로 에지를 검출하고, 에지 검출기(202)는 첫 번째 필드 영상에서 픽셀 단위로 에지를 검출한다. 여기서, 상기 에지 검출기(201)와 에지 검출기(202)의 구성은 동일하며, 그 중 하나가 도 3에 도시되어 있다. 이때, 제 1 라인 메모리(301)와 제 2 라인 메모리(302)에서는 각각 필드 영상에서의 한 라인을 저장하므로, 픽셀 단위로 에지를 검출하기 위해서는 3개의 라인이 필요하다.Meanwhile, the edge detector 201 of the edge detector 104 detects an edge in pixels in the third field image, and the edge detector 202 detects an edge in pixels in the first field image. Here, the configuration of the edge detector 201 and the edge detector 202 is the same, one of which is shown in FIG. In this case, since the first line memory 301 and the second line memory 302 each store one line in the field image, three lines are required to detect an edge in pixel units.

즉, 도 3에서와 같이 첫 번째 라인의 데이타는 제 1 라인 메모리(301)에 저장되었다가 두 번째 라인의 데이터가 들어오면 제 2 라인 메모리(303)로 출력되어 제 2 라인 메모리(302)에 저장되고, 두 번째 라인의 데이타는 제 1 라인 메모리(301)에 저장된다. 이때, 세 번째 라인의 데이타가 들어오면 제 2 라인 메모리(302)에 저장되어 있는 첫 번째 라인의 첫 번째 픽셀, 두 번째 픽셀, 세 번째 픽셀이 시리얼로 버퍼(313,314,315)에 래치된다. 즉, 제 2 라인 메모리(302)에서 출력되는 첫 번째 픽셀은 버퍼(313)에 래치되고, 두 번째 픽셀이 출력되면 첫 번째 픽셀은 버퍼(313)에서 출력되어 버퍼(314)에 래치되고 두 번째 픽셀이 버퍼(313)에 래치되고, 세 번째 픽셀이 출력되면 첫 번째 픽셀은 버퍼(314)에서 출력되어 버퍼(315)에 래치되고 두 번째 픽셀은 버퍼(313)에서 출력되어 버퍼(314)에 래치되며 세 번째 픽셀이 버퍼(313)에 래치된다. 따라서, 버퍼(315)에는 첫 번째 픽셀이, 버퍼(314)에는 두 번째 픽셀이, 버퍼(313)에는 세 번째 픽셀이 각각 래치된다.That is, as shown in FIG. 3, the data of the first line is stored in the first line memory 301, and when the data of the second line comes in, it is output to the second line memory 303 and then to the second line memory 302. The second line of data is stored in the first line memory 301. At this time, when the data of the third line comes in, the first pixel, the second pixel, and the third pixel of the first line stored in the second line memory 302 are serially latched in the buffers 313, 314, and 315. That is, the first pixel output from the second line memory 302 is latched in the buffer 313, and when the second pixel is output, the first pixel is output from the buffer 313, latched in the buffer 314, and the second pixel is output. When the pixel is latched to the buffer 313, the third pixel is output, the first pixel is output from the buffer 314, latched to the buffer 315, and the second pixel is output from the buffer 313 to the buffer 314. The third pixel is latched in the buffer 313. Therefore, the first pixel is buffered in the buffer 315, the second pixel is buffered in the buffer 314, and the third pixel is buffered in the buffer 313, respectively.

마찬가지 방법으로, 제 1 라인 메모리(301)에서 출력되는 두 번째 라인의 첫 번째 픽셀은 버퍼(310)에 래치되고 두 번째 픽셀은 버퍼(309)에 래치되며 세 번째 픽셀은 버퍼(308)에 래치된다. 또한, 세 번째 라인의 첫 번째 픽셀은 버퍼(305)에 래치되고 두 번째 픽셀은 버퍼(304)에 래치되며 세 번째 픽셀은 버퍼(303)에 래치된다.In the same way, the first pixel of the second line output from the first line memory 301 is latched in the buffer 310, the second pixel is latched in the buffer 309, and the third pixel is latched in the buffer 308. do. In addition, the first pixel of the third line is latched in the buffer 305, the second pixel is latched in the buffer 304, and the third pixel is latched in the buffer 303.

이때, 첫 번째 라인의 1 픽셀을 x01로 나타내고 2 픽셀, 3 픽셀을 각각 x02, x03으로 나타내며, 마찬가지로 두 번째 라인의 1 픽셀부터 3 픽셀까지를 x11, x12, x13으로, 세 번째 라인의 1 픽셀부터 3 픽셀까지를 x21, x22, x23으로 나타내고, 임의의 상수(α)를 2라고 가정한다. 그리고, 두 번째 라인의 두 번째 픽셀(x12)이 에지인지 아닌지를 검출하는 경우를 실시예로 설명하면, 곱셈기(306)는 버퍼(304)에서 출력되는 세 번째 라인의 두 번째 픽셀 데이터(x22)에 2를 곱하여 가산기(307)로 출력하고, 곱셈기(311)는 버퍼(310)에서 출력되는 두번째 라인의 첫 번째 픽셀 데이터(x11)에 2를 곱하여 가산기(318)로 출력하고, 곱셈기(312)는 버퍼(308)에서 출력되는 두 번째 라인의 세 번째 픽셀 데이터(x13)에 2를 곱하여 가산기(319)로 출력하고, 곱셈기(316)는 버퍼(314)에서 출력되는 첫 번째 라인의 두 번째 픽셀 데이터(x02)에 2를 곱하여 가산기(317)로 출력한다.At this time, 1 pixel of the first line is represented by x01, 2 pixels, and 3 pixels are represented by x02 and x03, respectively. Similarly, 1 to 3 pixels of the second line are x11, x12 and x13, and 1 pixel of the third line. To 3 pixels are represented by x21, x22, and x23, and an arbitrary constant α is assumed to be 2. If the second pixel x12 of the second line is detected as an edge in the embodiment, the multiplier 306 outputs the second pixel data x22 of the third line output from the buffer 304. Multiplied by 2 and output to the adder 307, the multiplier 311 multiplies the first pixel data (x11) of the second line output from the buffer 310 by 2 to output to the adder 318, multiplier 312 Multiplies the third pixel data (x13) of the second line output from the buffer 308 by 2 to output to the adder 319, and the multiplier 316 outputs the second pixel of the first line output from the buffer 314. The data x02 is multiplied by 2 and output to the adder 317.

상기 가산기(317)는 상기 버퍼(313,315)에서 출력되는 첫 번째 라인의 첫 번째 픽셀(x01)과 세 번째 픽셀(x03) 그리고, 곱셈기(316)에서 출력되는 두 번째 픽셀(2x02)을 더한다(x01+2x02+x03). 상기 가산기(307)는 상기 버퍼(303,305)에서 출력되는 세 번째 라인의 첫 번째 픽셀(x21)과 세 번째 픽셀(x23) 그리고, 곱셈기(306)에서 출력되는 두 번째 픽셀(2x22)을 더한다(x21+2x22+x23). 상기 가산기(318)는 상기 버퍼(305)에서 출력되는 세 번째 라인의 첫 번째 픽셀(x21)과 상기 곱셈기(311)에서 출력되는 두 번째 라인의 첫 번째 픽셀(2x11)과 상기 버퍼(315)에서 출력되는 첫 번째 라인의 첫 번째 픽셀(x01)을 더한다(x01+2x11+x21). 상기 가산기(319)는 상기 버퍼(303)에서 출력되는 세 번째 라인의 세 번째 픽셀(x23)과 상기 곱셈기(312)에서 출력되는 두 번째 라인의 세 번째 픽셀(2x13) 그리고, 상기 버퍼(313)에서 출력되는 첫 번째 라인의 세 번째 픽셀(x03)을 더한다(x03+2x13+x23).The adder 317 adds the first pixel x01 and the third pixel x03 of the first line output from the buffers 313 and 315 and the second pixel 2x02 output from the multiplier 316 (x01). + 2x02 + x03). The adder 307 adds the first pixel x21 and the third pixel x23 of the third line output from the buffers 303 and 305 and the second pixel 2x22 output from the multiplier 306 (x21). + 2x22 + x23). The adder 318 is the first pixel (x21) of the third line output from the buffer 305 and the first pixel (2x11) of the second line output from the multiplier 311 and the buffer 315 The first pixel x01 of the first line to be output is added (x01 + 2x11 + x21). The adder 319 is the third pixel (x23) of the third line output from the buffer 303 and the third pixel (2x13) of the second line output from the multiplier 312 and the buffer 313 The third pixel (x03) of the first line output from is added (x03 + 2x13 + x23).

그리고, 각 가산기(307,317,318,319)의 가산 결과는 각각의 버퍼(320,321,322,323)에서 래치된 후 동시에 가산기(324)로 출력되어 가산된다. 이때, 픽셀이 - 가중치를 갖는 경우에는 해당 버퍼에서 2의 보수(2's)를 취하여 출력하면 된다. 즉, 상기 버퍼(321)에서 가산기(317)의 출력에 2의 보수를 취하면 버퍼(321)의 출력은 -x01-2x02-x03가 된다. 또한, 상기 버퍼(322)에서 가산기(318)의 출력에 2의 보수를 취하면 버퍼(322)의 출력은 -x01-2x11-x21 가 된다. 그리고, 상기 버퍼(320, 321,322,323)의 출력을 가산기(324)에서 더하면 (-x01-2x02-x03) + (x21+2x22+x23) + (-x01-2x11-x21) + (x03+2x13+x23)이 된다. 절대치화부(325)는 상기 가산기(324)의 가산 결과에 절대치를 취한 후 에지 여부를 검출한다.The addition results of the adders 307, 317, 318 and 319 are latched in the respective buffers 320, 321, 322 and 323, and then output to the adder 324 at the same time. In this case, when the pixel has a -weight, it is enough to take a two's complement (2's) from the corresponding buffer and output the result. That is, when the buffer 321 takes two's complement to the output of the adder 317, the output of the buffer 321 becomes -x01-2x02-x03. In addition, when the buffer 322 takes two's complement to the output of the adder 318, the output of the buffer 322 becomes -x01-2x11-x21. Then, when the output of the buffers 320, 321, 322, 323 is added in the adder 324, (-x01-2x02-x03) + (x21 + 2x22 + x23) + (-x01-2x11-x21) + (x03 + 2x13 + x23 ) The absolute digitizer 325 detects an edge after taking an absolute value to the addition result of the adder 324.

이때, 상기 가산기(324)의 가산 결과에 절대치화부(325)에서 절대치를 취하면 하기 수학식 1과 같다.In this case, when the absolute value is taken by the absolute value unit 325 to the addition result of the adder 324, the following equation (1) is obtained.

Figure kpo00001
Figure kpo00001

또한, 상기 절대치화부(325)는 연산된 절대값을 어떤 임계값과 비교하여 해당 픽셀 즉, 두 번째 라인의 두 번째 픽셀(x12)이 에지인지 아닌지를 판별하고 그에 따른 로직 신호를 출력한다. 여기서, 임계값을 255로 설정하였을 경우, 가산 결과의 절대값이 255 이상이면 에지로 판단하여 1을 출력하고, 255 이하이면 에지가 아니라고 판단하여 0을 출력한다.In addition, the absolute value unit 325 compares the calculated absolute value with a certain threshold to determine whether the corresponding pixel, that is, the second pixel x12 of the second line, is an edge, and outputs a logic signal accordingly. Here, when the threshold value is set to 255, if the absolute value of the addition result is 255 or more, it is determined as an edge and 1 is output. If it is 255 or less, it is determined that it is not an edge and 0 is output.

따라서, 검출된 에지의 움직임은 감산기(203)를 이용하여 상기 세 번째 필드 영상의 에지를 검출하는 에지 검출기(201)의 출력과 첫 번째 필드 영상의 에지를 검출하는 에지 검출기(202)의 출력의 차 신호를 구하면 알 수 있다.Thus, the detected edge movement is determined by the output of the edge detector 201 detecting the edge of the third field image using the subtractor 203 and the output of the edge detector 202 detecting the edge of the first field image. Find the difference signal.

즉, 두 번째 라인의 두 번째 픽셀(x12)을 예로 들 경우, 에지 검출기(201)에서 1을 출력하고 에지 검출기(202)에서도 1을 출력하면, 두 번째 라인의 두 번째 픽셀(x12)은 에지지만 세 번째 필드와 첫 번째 필드에서 변화가 없으므로 움직임은 없었음을 알 수 있다. 그러므로, 감산기(203)의 출력이 0이면 검출된 에지에 움직임이 없음을 나타내고, 1이면 검출된 에지에 움직임이 있었음을 나타낸다.That is, when the second pixel x12 of the second line is taken as an example, if the edge detector 201 outputs 1 and the edge detector 202 also outputs 1, the second pixel x12 of the second line is an edge. However, since there is no change in the third field and the first field, there is no movement. Therefore, if the output of the subtractor 203 is 0, there is no motion at the detected edge, and if 1, there is motion at the detected edge.

그리고, 에지 검출기(201)에서 1을 출력하고 에지 검출기(202)에서 0을 출력하거나, 에지 검출기(201)에서 0을 출력하고 에지 검출기(202)에서 1을 출력하면 두 번째 라인의 두 번째 픽셀(x12)은 에지이면서 세 번째 필드와 첫 번째 필드에서 서로 다른 값을 가지므로 감산기(203)의 출력이 1이 되면서 움직임이 있었음을 알 수 있다.If the edge detector 201 outputs 1 and the edge detector 202 outputs 0, or the edge detector 201 outputs 0 and the edge detector 202 outputs 1, the second pixel of the second line is output. Since (x12) is an edge and has a different value in the third field and the first field, it can be seen that the output of the subtractor 203 is 1 and there is a movement.

이와같이 상기 에지 검출부(104)는 3×3 픽셀의 상관 관계를 이용하여 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 판별한다.As described above, the edge detector 104 detects an edge on a pixel-by-pixel basis by using a correlation of 3x3 pixels and determines a movement of the detected edge.

이때, 상기 감산기(203)에서 출력되는 신호는 스위칭부(108)의 스위칭 제어 신호로서, 0이 출력되면 검출된 에지에 움직임이 없다고 판단하고, 1이 출력되면 검출된 에지에 움직임이 있다고 판단한다.At this time, the signal output from the subtractor 203 is a switching control signal of the switching unit 108. When 0 is output, it is determined that there is no movement on the detected edge, and when 1 is output, it is determined that there is motion on the detected edge. .

따라서, 상기 스위칭부(108)는 상기 에지 검출부(104)에서 0이 출력되면 106 라인으로 스위칭되는데. 106 라인으로 입력되는 신호는 0이 될 수도 있고, 의미가 없는 어떤 임의의 값이 될 수도 있다. 한편, 상기 에지 검출부(104)에서 1이 출력되면 상기 스위칭부(108)는 버퍼(107)로 접속된다. 이때, 상기 버퍼(107)에는 첫 번째 필드와 세 번째 필드 영상의 밝기 성분의 차가 래치되어 있으므로, 스위칭부(108)가 버퍼(107)로 접속되면 두 필드의 밝기 성분의 차가 움직임 검출(Motion Detect)부(109)로 입력된다.Therefore, the switching unit 108 is switched to 106 lines when 0 is output from the edge detector 104. The signal input to line 106 may be zero, or may be any arbitrary value that is not meaningful. On the other hand, when 1 is output from the edge detector 104, the switching unit 108 is connected to the buffer 107. In this case, since the difference between the brightness components of the first field and the third field image is latched in the buffer 107, when the switching unit 108 is connected to the buffer 107, the difference between the brightness components of the two fields is detected. Is input to the unit 109.

상기 움직임 검출부(109)는 움직임을 검출하는데 있어서 밝기 성분의 영상에 대한 임계값을 주어 영상에 움직이는 물체를 검출한다. 즉, 상기 스위칭부(108)를 통해 입력되는 밝기 성분의 차가 어느 값 이상이면 움직임이 있고 어느 값 이하이면 움직임이 없다고 판단하고 그 결과를 출력한다. 이때, 최대값과 최저값 사이의 값은 움직임 정도로 분할할 수 있다. 본 발명에서는 최대값과 최저값 사이를 3단계로 분리하였으며, 이것은 다음 블록으로 움직임 데이터값에 대한 밴드폭을 줄일 수 있다.The motion detector 109 detects a moving object in the image by giving a threshold value to the image of the brightness component in detecting the motion. That is, if the difference between the brightness components inputted through the switching unit 108 is greater than or equal to a value, it is determined that there is motion and if it is less than or equal to a value, there is no motion, and the result is output. At this time, a value between the maximum value and the minimum value may be divided by the degree of movement. In the present invention, the maximum value and the minimum value are separated in three stages, which can reduce the bandwidth for the motion data value in the next block.

한편, 하나의 픽셀만으로는 움직임 검출이 어려우므로 주변의 상황을 보기 위해 수평 확장부(110)과 수직 확장 및 데이터 샘플부(111)에서 움직임 데이타를 수평 방향과 수직 방향으로 확장하고 디인터레이싱을 위해 데이터를 보간한다.On the other hand, since it is difficult to detect motion with only one pixel, the horizontal expansion unit 110 and the vertical expansion unit and the data sample unit 111 expand the movement data in the horizontal direction and the vertical direction to see the surrounding situation, and deinterlacing the data for deinterlacing. Interpolate

상기 수평 확장부(110)는 도 4에 도시된 바와 같이 움직임 데이터를 수평 방향으로 확장하는데, 움직임 데이터 값중 최대값으로 8 픽셀 단위로 확장한다. 즉, 각 버퍼(400∼407)에는 1 픽셀부터 8 픽셀의 데이터가 차례로 입력되어 최대값 검출기(408)로 출력되고, 최대값 검출기(408)는 이 값들중 최대값을 찾아 수직 확장 및 데이터 샘플부(111)로 출력한다. 여기서, 최대값을 출력하는 것은 최대값이 움직임이 제일 많기 때문이다.As shown in FIG. 4, the horizontal expansion unit 110 expands the motion data in the horizontal direction, and expands it in units of 8 pixels as the maximum value of the motion data values. That is, data of 1 pixel to 8 pixels are sequentially input to each buffer 400 to 407 and output to the maximum value detector 408. The maximum value detector 408 finds the maximum value among these values and performs vertical expansion and data samples. Output to the unit 111. Here, the maximum value is output because the maximum value has the most movement.

상기 수직 확장 및 데이터 샘플부(111)는 도 5에 도시된 바와 같이 수직 방향으로 4 픽셀중 최고값으로 4개의 픽셀을 세팅한다. 즉, 라인 단위로 수행하여야 하므로, 1 라인의 데이터는 라인 메모리(500, 501)를 순차적으로 거쳐 라인 메모리(502)에 저장되고, 2 라인의 데이터는 라인 메모리(500)를 거쳐 라인 메모리(501)에 저장되고, 3 라인의 데이터는 라인 메모리(500)에 저장된다. 최대값 검출기(503)는 현재 입력되는 4번째 라인의 픽셀과 라인 메모리(500∼502)에서 출력되는 각 픽셀을 수직 방향으로 비교하여 최고값을 출력한다.As illustrated in FIG. 5, the vertical expansion and data sample unit 111 sets four pixels as the highest value among four pixels in the vertical direction. That is, since data should be performed in line units, one line of data is sequentially stored in the line memory 502 via the line memories 500 and 501, and two lines of data are stored in the line memory 501 via the line memory 500. ), And three lines of data are stored in the line memory 500. The maximum value detector 503 compares the pixel of the fourth line currently input with each pixel output from the line memories 500 to 502 in the vertical direction and outputs the highest value.

그리고, 상기 최고값 즉, 움직임 정도에 따라 상기 제 1 필드 메모리(102)에서 출력되는 두 번째 필드 데이터와 제 2 필드 메모리(103)에서 출력되는 첫 번째 필드 데이터를 이용하여 필드 영상에 없는 데이터를 만들어내는 데이터 보간을 수행한다. 즉, 도 6에 도시된 바와같이 움직임 여부에 따라 제 1 필드 메모리(102)에서 출력되는 두 번째 필드의 픽셀과 제 2 필드 메모리(103)에서 출력되는 첫 번째 필드의 픽셀을 조합하여 데이터를 만들어낸다.The second field data output from the first field memory 102 and the first field data output from the second field memory 103 may be used to display data not present in the field image according to the maximum value, that is, the degree of movement. Perform interpolation of the data you produce. That is, as shown in FIG. 6, data is generated by combining pixels of the second field output from the first field memory 102 and pixels of the first field output from the second field memory 103, depending on whether the motion is performed or not. Serve

예를들어, 제 2 필드 메모리(103)에서 출력되는 첫 번째 필드의 픽셀을 a라고 하고, 제 1 필드 메모리(102)에서 현재 출력되는 두 번째 필드의 픽셀은 c, 1H 지연기(600)에서 1H 지연된 이전 픽셀을 b라고 하면, 가산기(601)는 현재 들어오는 두 번째 필드의 픽셀 c와 1H 지연기(600)에서 지연된 픽셀 c을 더하고(b+c), 제산기(602)는 상기 가산기(600)의 가산 결과(b+c)를 2로 나눈다(

Figure kpo00002
). 감산기(603)는 상기 제산기(602)의 출력에서 첫 번째 필드의 픽셀 a를 빼고(
Figure kpo00003
- a), 곱셈기(605)는 상기 감산기(603)의 결과(
Figure kpo00004
- a)에 움직임 검출상태를 나타내는 계수 α를 곱한다((
Figure kpo00005
- a) * α). 그리고나서, 가산기(606)는 상기 곱셈기(605)의 결과에 첫 번째 필드의 픽셀 a를 더하여 새로운 픽셀(d = (
Figure kpo00006
- a) * α + a) 을 출력한다.For example, a pixel of the first field output from the second field memory 103 is called a, and a pixel of the second field currently output from the first field memory 102 is c, 1H in the delayer 600. If the previous pixel delayed by 1H is called b, the adder 601 adds the pixel c of the currently incoming second field and the delayed pixel c in the 1H delayer 600 (b + c), and the divider 602 is the adder ( The addition result (b + c) of 600 is divided by two (
Figure kpo00002
). Subtractor 603 subtracts pixel a of the first field from the output of divider 602 (
Figure kpo00003
a), the multiplier 605 is the result of the subtractor 603 (
Figure kpo00004
a) is multiplied by a coefficient α representing the motion detection state ((
Figure kpo00005
a) * α). Then, the adder 606 adds the pixel a of the first field to the result of the multiplier 605 to add a new pixel d = (
Figure kpo00006
a) Print * α + a).

이때, 상기 α는 수평 확장부(110)의 출력이며, 움직임이 전혀 없을때는 0이, 움직임이 아주 많으면 1이 출력된다고 하면, 새로운 픽셀(d)은 움직임이 없으면 픽셀 a로 만들어지고, 움직임이 있으면 두 번째 필드의 두 픽셀의 평균 값(

Figure kpo00007
)으로 만들어진다. 즉, 움직임이 없으면 α는 0이므로, 가산기(606)의 출력에서 a 픽셀만 남고, 움직임이 있어 α가 1이면
Figure kpo00008
픽셀만 남는다.At this time, the α is the output of the horizontal expansion unit 110, 0 when there is no movement at all, 1 if the output is very large, a new pixel (d) is made of a pixel if there is no movement, the movement is If present, the average value of the two pixels in the second field (
Figure kpo00007
Is made of). That is, if there is no motion, α is 0, so if only a pixel remains at the output of the adder 606, and if there is motion and α is 1,
Figure kpo00008
Only pixels remain.

이와같이 상기 수직 확장 및 데이터 샘플부(111)에서 새로이 생성된 픽셀은 원래의 픽셀과 함께 2:1 라인 압축부(112)로 입력된다. 여기서, 새로운 픽셀이 만들어졌으므로 순차주사의 데이타로 변환한 것처럼 보이나 시간적으로 실질적인 순차 주사의 데이타에 비해 2배 확장되어 있기 때문에 시간압축을 실시하여야 한다. 따라서, 상기 2:1 라인 압축부(112)는 적어도 1/2배의 시간으로 압축하여 순차주사 변환된 데이터 즉, 휘도 신호를 출력한다. 이를 위해 2:1 라인 압축부(112)는 수직 확장 및 데이터 샘플부(111)에서 출력되는 데이터를 노말한 클럭으로 입력받고 출력시에는 적어도 상기 노말한 클럭의 2배 이상의 클럭으로 출력함으로써 가능하다. 상기 2:1 라인 압축부(112)에서 순차 주사로 변환된 휘도 신호는 D/A 컨버터(113)에서 아날로그로 변환되어 출력된다.In this way, the newly generated pixels in the vertical expansion and data sample unit 111 are input to the 2: 1 line compression unit 112 together with the original pixels. Here, since new pixels have been created, they appear to have been converted to sequential scanning data, but since they are twice as wide as the sequential scanning data in time, time compression must be performed. Accordingly, the 2: 1 line compression unit 112 compresses the data at least 1/2 times as a sequential scan-converted data, that is, outputs a luminance signal. To this end, the 2: 1 line compression unit 112 may receive the data output from the vertical expansion and data sample unit 111 as a normal clock and output at least twice as much as the normal clock at the time of output. . The luminance signal converted into the sequential scan by the 2: 1 line compression unit 112 is converted into analog by the D / A converter 113 and output.

이상에서와 같이 본 발명에 따른 영상 포맷 변환 장치에 의하면, 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 정확히 판단함으로써 움직임이 없는 바탕영상에서 움직임이 있는 것으로 판단하거나 움직임이 있는데 움직임이 없다고 판단하는 오류를 범하지 않으며, 에지의 움직임을 검출한 후 다시 2개의 원 영상 필드끼리의 차를 구하여 비교함으로써 에지를 비교하는 과정에서 움직임을 검출하지 못하거나 움직임을 제거하는 부분이 생기는 것을 방지할 수 있다. 이로인해, 필드 메모리는 2개면 충분하므로 필드 메모리의 수를 줄이면서 디인터레이싱을 정확하게 수행할 수 있게된다.As described above, according to the image format conversion apparatus according to the present invention, by detecting an edge on a pixel basis and accurately determining the movement of the detected edge, it is determined that there is motion or there is no movement in the background image without motion. After detecting the edge movement, the difference between the two original image fields is obtained and compared again to prevent the detection of the movement or the removal of the movement portion in the edge comparison process. have. This allows two field memories to be sufficient so that the deinterlacing can be performed accurately while reducing the number of field memories.

Claims (9)

비월 주사 방식의 필드 영상 신호를 디지탈화하여 순차 주사 방식으로 디인터레이싱하는 영상 포맷 변환 장치에 있어서,A video format conversion apparatus for digitalizing a interlaced field video signal and performing deinterlacing in a sequential scanning method, 상기 디지탈화된 필드 영상 데이타를 1 필드 지연시켜 출력하는 제 1 필드 메모리와,A first field memory for delaying and outputting the digitalized field image data by one field; 상기 제 1 필드 메모리에서 1 필드 지연되어 출력되는 데이터를 다시 1 필드 지연시켜 출력하는 제 2 필드 메모리와,A second field memory configured to delay and output data output by being delayed by one field in the first field memory by one field delay; 현재 입력되는 필드 영상 데이타와 상기 제 2 필드 메모리에서 2 필드 지연된 필드 영상 데이타를 입력받아 픽셀 단위로 에지를 검출하고 검출된 에지의 움직임을 판별하는 에지 검출부와,An edge detector which detects an edge on a pixel-by-pixel basis by receiving field image data currently input and field image data delayed by two fields from the second field memory, and determines movement of the detected edge; 현재 입력되는 필드 영상 데이타와 상기 제 2 필드 메모리에서 2 필드 지연된 필드 영상 데이터를 비교하여 두 영상의 밝기 성분의 차를 구하여 래치하는 밝기성분 검출부와,A brightness component detector for comparing the currently input field image data with the field image data delayed by two fields in the second field memory to obtain and latch a difference between the brightness components of the two images; 상기 에지 검출부에서 검출된 에지에 움직임이 있다고 판단된 경우에만 상기 밝기성분 검출부로부터 두 영상의 밝기 성분의 차를 입력받아 미리 설정된 임계값과 비교하여 움직임을 검출하는 움직임 검출부와,A motion detector that detects motion by receiving a difference between brightness components of two images from the brightness component detector only when it is determined that there is motion on the edge detected by the edge detector; 상기 움직임 검출부에서 검출된 움직임 정보에 따라 움직임 데이터를 수평 및 수직 방향으로 확장하는 수평 및 수직 확장부와,Horizontal and vertical expansion units configured to expand motion data in horizontal and vertical directions according to the motion information detected by the motion detection unit; 상기 수평 및 수직 확장부에서 확장되어 출력되는 데이타의 움직임 정도에 따라 데이터 보간을 한 후 라인 압축을 수행하는 디인터레이싱부를 포함하여 구성됨을 특징으로 하는 영상 포맷 변환 장치.And a deinterlacing unit which performs line compression after interpolating data according to the degree of movement of data output from the horizontal and vertical expansion units. 제 1 항에 있어서, 상기 에지 검출부는The method of claim 1, wherein the edge detector 현재 입력되는 필드 영상 데이터로부터 픽셀 단위로 에지를 검출하는 에지 검출기와,An edge detector for detecting an edge in units of pixels from currently input field image data; 상기 제 2 필드 메모리에서 2 필드 지연된 필드 영상 데이터로부터 픽셀 단위로 에지를 검출하는 에지 검출기와,An edge detector for detecting an edge on a pixel-by-pixel basis from field image data delayed by two fields in the second field memory; 상기 두 에지 검출기의 출력을 비교하여 검출된 에지의 움직임을 판별하는 에지 움직임 판별기로 구성됨을 특징으로 하는 영상 포맷 변환 장치.And an edge motion discriminator for comparing the outputs of the two edge detectors to determine the detected edge motion. 제 2 항에 있어서, 상기 에지 검출기는The method of claim 2, wherein the edge detector is 3×3 픽셀의 상관 관계를 이용하여 에지를 검출함을 특징으로 하는 영상 포맷 변환 장치.And an edge is detected by using a correlation of 3x3 pixels. 제 2 항에 있어서, 상기 에지 검출기는The method of claim 2, wherein the edge detector is 상하좌우측 각각의 3 픽셀의 값에 가중치를 주어 더하는(-x01-x02-x03 + x21+x22+x23 -x01-x11-x21 + x03+x13+x23) 가산부와,An adder that adds weights to the values of the three pixels on the top, bottom, left, and right sides (-x01-x02-x03 + x21 + x22 + x23 -x01-x11-x21 + x03 + x13 + x23); 상기 가산 결과에 절대치를 취한 후 미리 설정된 임계값과 비교하여 에지를 판별하는 절대치화부로 구성됨을 특징으로 하는 영상 포맷 변환 장치.And an absolute value unit which determines an edge by taking an absolute value of the addition result and comparing the threshold value with a preset threshold value. 여기서, 첫 번째 라인의 1 픽셀부터 3 픽셀까지를 x01, x02, x03로, 두 번째 라인의 1 픽셀부터 3 픽셀까지를 x11, x12, x13로, 세 번째 라인의 1 픽셀부터 3 픽셀까지를 x21, x22, x23로 정의함.Here, x1, x02, x03 for 1 to 3 pixels on the first line, x11, x12, x13 for 1 to 3 pixels on the second line, and x21 for 1 to 3 pixels on the third line. Defined as x22, x23. 제 1 항에 있어서, 상기 수평 및 수직 확장부는The method of claim 1, wherein the horizontal and vertical expansion portion 움직임 데이터 값중 최대값으로 움직임 데이터를 수평 방향으로 확장함을 특징으로 하는 영상 포맷 변환 장치.An apparatus for converting video formats, wherein the motion data is extended in a horizontal direction to a maximum value among the motion data values. 제 1 항에 있어서, 상기 수평 및 수직 확장부는The method of claim 1, wherein the horizontal and vertical expansion portion 수직 방향으로 소정개의 픽셀을 비교하여 그중 최고값으로 소정개의 픽셀을 세팅함을 특징으로 하는 영상 포맷 변환 장치.And comparing the predetermined pixels in the vertical direction and setting the predetermined pixels to the highest value among them. 제 1 항에 있어서, 상기 디인터레이싱부는The method of claim 1, wherein the de-interlacing unit 보간하려는 픽셀이 움직임이 없다고 판별되면 이전 필드의 픽셀로 보간함을 특징으로 하는 영상 포맷 변환 장치.And if the pixel to be interpolated is determined to have no motion, interpolate to the pixel of the previous field. 제 1 항에 있어서, 상기 디인터레이싱부는The method of claim 1, wherein the de-interlacing unit 보간하려는 픽셀이 움직임이 있다고 판별되면 현 필드의 상, 하측 픽셀의 평균값(
Figure kpo00009
)으로 보간함을 특징으로 하는 영상 포맷 변환 장치.
If it is determined that the pixel to be interpolated has movement, the average value of the upper and lower pixels of the current field (
Figure kpo00009
And an image format conversion device characterized by interpolation.
제 1 항에 있어서, 상기 디인터레이싱부는The method of claim 1, wherein the de-interlacing unit 데이터를 노말한 클럭으로 입력받고 적어도 상기 노말한 클럭의 2배 이상의 클럭으로 데이터를 출력하는 시간 압축을 수행함을 특징으로 하는 영상 포맷 변환 장치.And performing time compression for receiving data as a normal clock and outputting data at least twice as large as the normal clock.
KR1019970050129A 1997-09-30 1997-09-30 Apparatus for field format conversion KR100226836B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970050129A KR100226836B1 (en) 1997-09-30 1997-09-30 Apparatus for field format conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970050129A KR100226836B1 (en) 1997-09-30 1997-09-30 Apparatus for field format conversion

Publications (2)

Publication Number Publication Date
KR19990027636A KR19990027636A (en) 1999-04-15
KR100226836B1 true KR100226836B1 (en) 1999-10-15

Family

ID=19521997

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970050129A KR100226836B1 (en) 1997-09-30 1997-09-30 Apparatus for field format conversion

Country Status (1)

Country Link
KR (1) KR100226836B1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100324752B1 (en) * 1999-07-12 2002-02-20 구자홍 Format variation circuit for lcd television according to image type
JP3644874B2 (en) 1999-07-15 2005-05-11 シャープ株式会社 Image interpolation device
KR100644601B1 (en) * 2000-09-30 2006-11-10 삼성전자주식회사 Apparatus for de-interlacing video data using motion-compensated interpolation and method thereof
KR20020057526A (en) * 2001-01-05 2002-07-11 엘지전자 주식회사 Method for interpolating image
KR100927143B1 (en) * 2002-11-27 2009-11-18 삼성전자주식회사 Motion Detection Device and Method
KR100624304B1 (en) * 2004-06-04 2006-09-18 주식회사 대우일렉트로닉스 Apparatus and method for de-interlacing adaptively field image by using motion

Also Published As

Publication number Publication date
KR19990027636A (en) 1999-04-15

Similar Documents

Publication Publication Date Title
US4768092A (en) Image signal conversion device
JP3908802B2 (en) How to detect film mode
KR100272582B1 (en) Scan converter
US5583575A (en) Image reproduction apparatus performing interfield or interframe interpolation
KR930006531B1 (en) Motion detection circuit of tv
KR950009654B1 (en) Scan display system
JP2952631B2 (en) Video memory device
JP2736699B2 (en) Video signal processing device
JPH0750927B2 (en) Image signal converter
KR100226836B1 (en) Apparatus for field format conversion
KR920005018B1 (en) Motional adative vertical contour compensative circuit in tv receiver
JP3258999B2 (en) Scanning line converter
JPH0832025B2 (en) Motion-aware signal processing circuit
US7636129B2 (en) Method and device for detecting sawtooth artifact and/or field motion
US5070394A (en) Image signal processing device
KR100296311B1 (en) The circuit for improving picture quality of ntsc mode standard image
KR920003394B1 (en) Motion detecting circuit
KR920008628B1 (en) Internal signal producing method and the same circuit between line of image signal
KR100232143B1 (en) Scan format converter circuit
KR930002691B1 (en) Fax device and method
KR930007988B1 (en) Interpolation circuit of tv
JPH03185984A (en) Movement adaptive scanning line inteprolation circuit
JP3918759B2 (en) Image data generation apparatus and generation method
KR970003433B1 (en) Television receiver for moniterace scanning
KR0138100B1 (en) Vertical resolution improving apparatus of television image signal

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20050607

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee