KR100531322B1 - Apparatus for conversing format and method for the same - Google Patents

Apparatus for conversing format and method for the same Download PDF

Info

Publication number
KR100531322B1
KR100531322B1 KR10-2004-0005054A KR20040005054A KR100531322B1 KR 100531322 B1 KR100531322 B1 KR 100531322B1 KR 20040005054 A KR20040005054 A KR 20040005054A KR 100531322 B1 KR100531322 B1 KR 100531322B1
Authority
KR
South Korea
Prior art keywords
output
input
pixels
pixel
mapped
Prior art date
Application number
KR10-2004-0005054A
Other languages
Korean (ko)
Other versions
KR20050077518A (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 KR10-2004-0005054A priority Critical patent/KR100531322B1/en
Publication of KR20050077518A publication Critical patent/KR20050077518A/en
Application granted granted Critical
Publication of KR100531322B1 publication Critical patent/KR100531322B1/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H23/00Registering, tensioning, smoothing or guiding webs
    • B65H23/04Registering, tensioning, smoothing or guiding webs longitudinally
    • B65H23/26Registering, tensioning, smoothing or guiding webs longitudinally by transverse stationary or adjustable bars or rollers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H23/00Registering, tensioning, smoothing or guiding webs
    • B65H23/04Registering, tensioning, smoothing or guiding webs longitudinally
    • B65H23/18Registering, tensioning, smoothing or guiding webs longitudinally by controlling or regulating the web-advancing mechanism, e.g. mechanism acting on the running web
    • B65H23/188Registering, tensioning, smoothing or guiding webs longitudinally by controlling or regulating the web-advancing mechanism, e.g. mechanism acting on the running web in connection with running-web
    • B65H23/192Registering, tensioning, smoothing or guiding webs longitudinally by controlling or regulating the web-advancing mechanism, e.g. mechanism acting on the running web in connection with running-web motor-controlled
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2404/00Parts for transporting or guiding the handled material
    • B65H2404/10Rollers
    • B65H2404/15Roller assembly, particular roller arrangement
    • B65H2404/152Arrangement of roller on a movable frame
    • B65H2404/1521Arrangement of roller on a movable frame rotating, pivoting or oscillating around an axis, e.g. parallel to the roller axis
    • B65H2404/15212Arrangement of roller on a movable frame rotating, pivoting or oscillating around an axis, e.g. parallel to the roller axis rotating, pivoting or oscillating around an axis perpendicular to the roller axis
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2701/00Handled material; Storage means
    • B65H2701/10Handled articles or webs
    • B65H2701/19Specific article or web
    • B65H2701/192Labels

Abstract

본 발명은 디지털 영상의 공간 해상도를 변환하는 장치 및 그 방법에 관한 것이다. 특히 본 발명은 입력 영상의 크기가 출력 영상의 사이즈보다 작아 업 컨버젼하는 경우 두 입력 화소 사이에 매핑될 다수개의 출력 화소를 한 클럭 사이클에서 동시에 보간하여 생성함으로써, 포맷 변환 시간을 단축하는 효과가 있다. The present invention relates to an apparatus and method for converting a spatial resolution of a digital image. In particular, when the size of the input image is smaller than the size of the output image, the present invention has an effect of shortening the format conversion time by simultaneously generating a plurality of output pixels to be mapped between two input pixels in one clock cycle. .

Description

포맷 변환 장치 및 그 방법{Apparatus for conversing format and method for the same}Apparatus for conversing format and method for the same}

본 발명은 디지털 영상의 공간 해상도를 변환하는 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for converting a spatial resolution of a digital image.

영상의 공간 해상도를 표현하는 포맷에는 QCIF, QVGA, SIF, CIF, NTSC, PAL, 480P, 720P, 1080I 등의 다양한 포맷이 존재한다. 따라서, 다양한 입력을 고정된 해상도의 디스플레이 디바이스에 맞게 출력하기 위해서는 공간 해상도 변환이 필수적이다. There are various formats such as QCIF, QVGA, SIF, CIF, NTSC, PAL, 480P, 720P, and 1080I as a format for expressing spatial resolution of an image. Therefore, spatial resolution conversion is necessary to output various inputs for a display device having a fixed resolution.

일반적으로 영상의 공간 해상도 변환을 구현하는데는 출력 영상의 좌표를 입력 영상의 좌표에 재 매핑(Re-mapping)하는 인버스 매핑(Inverse Mapping) 방법이 사용되어진다. In general, an inverse mapping method of re-mapping the coordinates of the output image to the coordinates of the input image is used to implement the spatial resolution conversion of the image.

도 1에는 이러한 인버스 매핑 방법의 예를 보이고 있다. Figure 1 shows an example of such an inverse mapping method.

이때, 입력 영상과 출력 영상의 사이즈가 다를 경우 입력 영상 좌표에 매핑되어지는 출력 영상 좌표는 하나의 입력 영상 좌표에 매핑되어지지 않으므로 주변 입력 영상 좌표의 화소값들을 이용하여 출력 영상의 좌표의 화소값을 결정하는 방법이 필요하다.In this case, when the sizes of the input image and the output image are different, the output image coordinates mapped to the input image coordinates are not mapped to one input image coordinate, and thus the pixel values of the coordinates of the output image using the pixel values of the peripheral input image coordinates. How to determine

이를 위해 입력 영상 좌표에 매핑되어지는 출력 화소의 좌표를 구하는 방법을 재샘플링(Re-sampling)이라 한다. 그리고, 주변 입력 영상 좌표의 화소들을 이용하여 상기 재샘플링에 의해 구해진 출력 영상의 좌표의 화소값을 결정하는 방법을 보간(Interpolation)이라 한다.To this end, a method of obtaining coordinates of an output pixel mapped to an input image coordinate is called re-sampling. A method of determining pixel values of coordinates of the output image obtained by the resampling using pixels of the peripheral input image coordinates is called interpolation.

상기 보간 방법에 따라 필요한 주변 입력 영상 화소의 수가 결정되어진다. The number of peripheral input image pixels required is determined according to the interpolation method.

도 2 내지 도 4는 종래의 공간 해상도를 변환하는 포맷 변환 장치의 일 예를 보인 것으로서, 미국 특허 US 5,835,160에 기술되어 있다.2 to 4 show an example of a format conversion apparatus for converting a conventional spatial resolution, which is described in US Pat. No. 5,835,160.

상기된 미국 특허 US 5,835,160은 도 2에 도시한 DDA(Digital Differential Analyzers)를 사용하여 공간 해상도를 변환한다.The above-mentioned US patent US 5,835,160 converts the spatial resolution using Digital Differential Analyzers (DDA) shown in FIG.

즉, 매 출력 화소마다 증가분(11-BIT RATIO REGISTER)과 이전 누적값(12-BIT STATUS REGISTER)을 더하고, 이렇게 더해진 누적값을 사용하여 공간 해상도를 변환한다. 이때, 도 3에서와 같이 누적값의 정수 부분을 사용하여 입력 샘플을 쉬프팅한다. 그리고, 소수 부분은 입력 샘플들 사이에서 출력 화소가 재샘플링되어야 할 위치를 나타낸다. 즉, 소수 부분은 도 1에서 Sx 또는, Sy를 나타낸다. 또한, 보간 필터의 계수는 소수점 2자리를 사용하여 선택된다.That is, an increment (11-BIT RATIO REGISTER) and a previous cumulative value (12-BIT STATUS REGISTER) are added to every output pixel, and the spatial resolution is converted using the accumulated value. In this case, as shown in FIG. 3, the input sample is shifted by using an integer part of the cumulative value. The fractional portion indicates the position where the output pixel should be resampled between the input samples. That is, the fractional part represents Sx or Sy in FIG. In addition, the coefficients of the interpolation filter are selected using two decimal places.

이때, 영상의 공간 해상도 변환은 입력 레이트를 출력 레이트로 변환하는데, 그 처리 시간은 입력과 출력 레이트 중 큰 레이트만큼 소요되어진다. 즉, 입력 영상의 사이즈보다 출력 영상의 사이즈가 작을 때 수행되는 다운 컨버젼(Down Conversion)시에는 입력 레이트만큼의 처리 시간이 필요하다. 반대로 입력 영상의 사이즈보다 출력 영상의 사이즈가 클 때 수행되는 업 컨버젼(Up Conversion)시에는 출력 레이트만큼의 처리 시간이 필요하다.At this time, the spatial resolution conversion of the image converts the input rate to the output rate, and the processing time is required by the larger of the input and output rates. That is, when down conversion is performed when the size of the output image is smaller than the size of the input image, processing time equal to the input rate is required. On the contrary, when upconversion is performed when the size of the output image is larger than the size of the input image, processing time equal to the output rate is required.

따라서, 상기된 미국 특허 US 5,835,160의 경우 업 컨버젼시 출력 레이트만크의 처리 시간이 필요하다. 이는 한 클럭 사이클 동안 하나의 출력 화소가 보간되어 출력되기 때문이다.Thus, the U.S. patent US 5,835,160 described above requires a processing time of output rate only when up-converting. This is because one output pixel is interpolated and output for one clock cycle.

본 발명의 목적은 업 컨버젼시 처리 시간을 단축하는 포맷 변환 장치 및 그 방법을 제공함에 있다.It is an object of the present invention to provide a format conversion apparatus and method for shortening the processing time during up-conversion.

본 발명의 다른 목적은 업 컨버젼시 처리 시간을 입력 레이트와 같게 하거나 출력 레이트보다 작게 하는 포맷 변환 장치 및 그 방법에 관한 것이다.Another object of the present invention is to provide an apparatus and method for converting a format such that an up conversion time is equal to or smaller than an input rate.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 포맷 변환 장치는, 입/출력 영상 사이즈를 입력받아 포맷 정보를 검출하고, 검출된 포맷 정보를 근거로 두 입력 화소 사이에 매핑될 출력 화소들의 위치 값을 계산하여 동시에 출력하는 영상 재샘플링부; 그리고 다수개의 보간부로 구성되고, 상기 각 보간부는 상기 영상 재샘플링부에서 출력되는 해당 출력 화소의 위치 값으로부터 보간 필터의 계수를 생성하고, 생성된 계수와 입력 화소를 이용하여 상기 출력 화소 위치의 화소를 보간하여 생성하는 것을 특징으로 한다.In order to achieve the above object, a format conversion apparatus according to an embodiment of the present invention receives an input / output image size, detects format information, and positions values of output pixels to be mapped between two input pixels based on the detected format information. Image resampling unit for calculating and outputting at the same time; And a plurality of interpolators, wherein each interpolator generates coefficients of an interpolation filter from position values of corresponding output pixels output from the image resampling unit, and generates the coefficients of the output pixel using the generated coefficients and the input pixels. And interpolating and generating the pixels.

상기 영상 재샘플링부는 한 클럭 사이클마다 입력 화소를 이동시키면서 두 입력 화소 사이에 매핑될 출력 화소들의 위치 값을 동시에 출력하는 것을 특징으로 한다.The image resampling unit simultaneously outputs position values of output pixels to be mapped between two input pixels while moving the input pixels every one clock cycle.

상기 영상 재샘플링부는 두 입력 화소 사이에 매핑될 출력 화소의 수가 상기 다수개의 보간부의 수보다 많다면 현 클럭 사이클에서 입력을 이동시키지 않고 상기 보간부의 수만큼 출력 화소의 위치값들을 출력한 후 다음 클럭 사이클에서 입력 화소를 이동시키면서 나머지 출력 화소의 위치 값들을 출력하는 것을 특징으로 한다.If the number of output pixels to be mapped between the two input pixels is greater than the number of the interpolation units, the image resampling unit outputs the position values of the output pixels by the number of the interpolation units without moving the input in the current clock cycle. The position values of the remaining output pixels are output while the input pixels are moved in the next clock cycle.

상기 영상 재샘플링부는 현 입력 화소의 위치를 기준으로 매핑할 출력 화소 위치까지의 거리를 해당 출력 화소의 위치 값으로 출력하는 것을 특징으로 한다.The image resampling unit outputs a distance to an output pixel position to be mapped based on the current input pixel position as a position value of the corresponding output pixel.

본 발명에 따른 포맷 변환 방법은,The format conversion method according to the present invention,

(a) 입/출력 영상 사이즈를 입력받아 포맷 정보를 검출하고, 검출된 포맷 정보를 근거로 두 입력 화소 사이에 매핑될 출력 화소들의 위치값을 계산하여 동시에 출력하고 입력 화소를 이동시키는 단계; 그리고(a) inputting an input / output image size to detect format information, and simultaneously calculating and outputting position values of output pixels to be mapped between two input pixels based on the detected format information and moving the input pixels; And

(b) 상기 (a) 단계에서 출력되는 해당 출력 화소의 위치 값으로부터 보간 필터의 계수를 생성하고, 생성된 계수와 입력 화소를 이용하여 상기 출력 화소 위치의 화소를 보간하는 과정을 상기 (a) 단계에서 출력되는 출력 화소 위치값들의 수만큼 병렬로 동시에 수행하여 두 입력 화소 사이에 매핑될 출력 화소들을 한 클럭 사이클에서 생성하는 단계를 포함하여 이루어지는 것을 특징으로 한다.(b) generating a coefficient of an interpolation filter from the position value of the corresponding output pixel output in the step (a), and interpolating the pixel at the output pixel position using the generated coefficient and the input pixel (a) And simultaneously generating the output pixels to be mapped between the two input pixels in one clock cycle by simultaneously performing the same number of output pixel position values output in the step.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 첨부된 도면을 참조하여 본 발명의 실시예의 구성과 그 작용을 설명하며, 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 상기한 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.Hereinafter, with reference to the accompanying drawings illustrating the configuration and operation of the embodiment of the present invention, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, By the technical spirit of the present invention described above and its core configuration and operation is not limited.

일반적으로 업 컨버젼일 경우 보간될 출력 화소는 두 개의 입력 화소 사이에 위치한다. In general, in up-conversion, the output pixel to be interpolated is located between two input pixels.

이때 입/출력 영상의 사이즈 정보를 이용하면 공간 해상도 변환 전에 보간될 출력 화소들의 위치를 미리 알 수 있다. In this case, when the size information of the input / output image is used, the positions of the output pixels to be interpolated before the spatial resolution conversion may be known in advance.

따라서, 본 발명에서는 한 클럭 사이클 동안 두 입력 화소 사이에 매핑될 다수개의 출력 화소를 동시에 보간하여 생성함으로써, 공간 해상도 변환 시간을 단축할 수 있다. 즉, 매 클럭 사이클마다 입력 화소를 이동시키면서 두 입력 화소에 위치하는 다수개의 출력 화소를 동시에 보간함으로써, 처리 시간을 단축할 수 있다. 상기 처리 시간은 입력 레이트와 같거나 출력 레이트보다 작다. Accordingly, the present invention can shorten the spatial resolution conversion time by interpolating and generating a plurality of output pixels to be mapped between two input pixels at one clock cycle. In other words, by simultaneously interpolating a plurality of output pixels located at two input pixels while moving the input pixels every clock cycle, processing time can be shortened. The processing time is equal to or less than the input rate.

도 5는 1:3으로 업 컨버젼하는 예를 보인 것으로서, 입/출력 영상 사이즈를 알면 두 입력 화소 사이에 매핑될 출력 화소의 수 및 그 위치를 알 수 있다. 도 5의 경우 두 입력 화소 사이에 매핑될 출력 화소는 2개이다. 즉 두 입력 화소 사이에서 보간될 화소가 2개임을 의미한다. 따라서, 입력 화소가 이동할 때마다 2개의 출력 화소가 동시에 보간되어 발생된다. FIG. 5 illustrates an example of up-conversion to 1: 3. When the input / output image size is known, the number and positions of output pixels to be mapped between two input pixels can be known. In the case of FIG. 5, there are two output pixels to be mapped between two input pixels. That is, two pixels to be interpolated between two input pixels. Thus, each time the input pixel moves, two output pixels are interpolated and generated at the same time.

그리고 상기 두 보간될 출력 화소의 위치 값은 s1, s2이다. 상기 s1은 두 입력 화소 사이의 거리를 1로 정규화했을 때 기준 입력 화소 f(n-1)의 위치로부터 재샘플링 위치 x1까지의 거리 값이고, s2는 재샘플링 위치 x2까지의 거리 값이다.The position values of the two output pixels to be interpolated are s1 and s2. S1 is a distance value from the position of the reference input pixel f (n-1) to the resampling position x1 when the distance between two input pixels is normalized to 1, and s2 is a distance value from the resampling position x2.

도 6은 본 발명에 따른 포맷 변환 장치의 일 예를 보인 것으로서, 영상 재샘플링부(110)와 다수개의 보간부(210~230)로 구성된다. 본 발명에서는 보간부의 수를 3개로 하고 있으나 이는 설계자에 의해 달라지므로 상기된 예로 한정되지 않는다.6 shows an example of a format conversion apparatus according to the present invention, and includes an image resampling unit 110 and a plurality of interpolators 210 to 230. In the present invention, the number of interpolation parts is three, but this is not limited to the examples described above because it depends on the designer.

상기 영상 재샘플링부(110)는 매 클럭마다 입력 화소를 이동시키고, 동시에 입력 화소가 이동될 때마다 두 입력 화소 사이에 매핑될 다수개의 출력 화소 위치를 다수개의 보간부(210~230)로 각각 출력한다. The image resampling unit 110 moves input pixels every clock, and simultaneously outputs a plurality of output pixel positions to be mapped between two input pixels each time the input pixels are moved to the plurality of interpolators 210 to 230. Output

상기 각 보간부는 입력되는 출력 화소 위치 값으로부터 보간 필터의 계수를 생성하는 계수 발생기와, 생성된 계수와 입력 화소를 이용하여 해당 위치의 출력 화소를 보간하는 보간 필터로 구성된다.Each interpolation unit includes a coefficient generator for generating a coefficient of an interpolation filter from an input output pixel position value, and an interpolation filter for interpolating an output pixel at a corresponding position using the generated coefficient and the input pixel.

상기 계수 발생기는 리니어, 큐빅, 보간 필터와 같은 폴리-페이즈(poly phase) 필터의 계수를 상기 영상 재샘플링부(110)에서 출력되는 화소 위치 값(fractional point ; s)를 이용하여 생성한다. The coefficient generator generates a coefficient of a poly phase filter such as a linear, cubic, and interpolation filter by using a pixel position value (s) that is output from the image resampling unit 110.

또한, 상기 계수 발생기는 출력 화소의 위치 값을 어드레스로 하여 이미 저장되어 있는 계수들의 페어 중 하나를 룩업(Look up)하는 방식으로 구현되어질 수 있다.In addition, the coefficient generator may be implemented by looking up one of a pair of coefficients already stored by using the position value of the output pixel as an address.

이와 같이 구성된 본 발명에서 영상 재샘플링부(110)는 입/출력 영상 사이즈를 입력받아 포맷 변환비를 검출하고, 검출된 포맷 변환비에 따라 두 개의 입력 화소 사이에 매핑될 출력 화소들의 위치값을 계산한다. 예를 들어 포맷 변환비가 도 5와 같이 1:3이라면 두 개의 입력 화소 사이에 매핑될 출력 화소들의 위치 값 s1, s2가 계산된다. 각 출력 화소들의 위치 값은 각 보간부로 동시에 출력된다. In the present invention configured as described above, the image resampling unit 110 receives an input / output image size and detects a format conversion ratio, and determines a position value of output pixels to be mapped between two input pixels according to the detected format conversion ratio. Calculate For example, if the format conversion ratio is 1: 3 as shown in FIG. 5, position values s1 and s2 of output pixels to be mapped between two input pixels are calculated. The position values of the respective output pixels are simultaneously output to each interpolation unit.

즉, 제 1 출력 화소 위치 값 s1은 제 1 보간부(210)로, 제 2 출력 화소 위치 값 s2는 제 2 보간부(220)로 동시에 출력된다. That is, the first output pixel position value s1 is simultaneously output to the first interpolator 210 and the second output pixel position value s2 is output to the second interpolator 220.

상기 제 1 보간부(210)의 계수 발생기는 상기 출력 화소 위치 값 s1으로부터 필터 계수를 생성한다. The coefficient generator of the first interpolator 210 generates filter coefficients from the output pixel position value s1.

이때 본 발명에서는 리니어 보간을 한다고 예를 들면, 상기 계수 발생기는 화소 위치 값 s1으로부터 2개의 계수 C0(=1-s1),C1(=s1)을 생성한다. 상기 계수들은 화소 위치 값 s1을 이용한 계산에 의해 생성할 수도 있고, 미리 각 계수들을 룩업 테이블을 구성한 후 상기 위치 값 s1을 어드레스로 하여 저장되어 있는 계수들의 페어 중 하나를 읽어 와 생성할 수도 있다. 상기 제 1 보간부(210)의 계수 발생기에서 발생된 계수들은 보간 필터로 출력된다. 상기 보간 필터는 계수들 C0,C1을 이용하여 상기 출력 화소 위치 s1의 출력 화소 x1를 생성한다. 리니어 보간을 예로 든다면 상기 출력 화소 x1은 다음의 수학식 1과 같이 보간되어 생성된다.In the present invention, for example, linear interpolation is performed. The coefficient generator generates two coefficients C0 (= 1-s1) and C1 (= s1) from the pixel position value s1. The coefficients may be generated by calculation using a pixel position value s1, or may be generated by reading a pair of coefficients stored by using the position value s1 as an address after constructing a lookup table in advance. The coefficients generated by the coefficient generator of the first interpolator 210 are output to the interpolation filter. The interpolation filter generates the output pixel x1 at the output pixel position s1 using the coefficients C0, C1. Taking linear interpolation as an example, the output pixel x1 is interpolated and generated as shown in Equation 1 below.

x1=f(n-1)*C0 + f(n)*C1x1 = f (n-1) * C0 + f (n) * C1

마찬가지로, 출력 화소 위치 값 s2를 입력받는 제 2 보간부(220)의 계수 발생기는 출력 화소 위치 값 s2를 이용하여 필터 계수 C0,C1을 생성한 후 보간 필터로 출력한다. 상기 보간 필터는 상기 수학식 1과 같이 각 계수와 입력 화소를 곱한 후 더하여 출력 화소 위치 s2의 출력 화소 x2를 생성한다.Similarly, the coefficient generator of the second interpolator 220 which receives the output pixel position value s2 generates the filter coefficients C0 and C1 using the output pixel position value s2 and then outputs them to the interpolation filter. The interpolation filter multiplies each coefficient by an input pixel as shown in Equation 1 and adds them to generate an output pixel x2 at an output pixel position s2.

이와 같이 본 발명은 영상 재샘플링부(110)에서 입력 화소는 매 클럭 사이클마다 이동되고, 입력 화소가 이동될 때마다 다수개의 출력 화소 위치가 동시에 다수개의 보간부로 각각 출력되어 다수개의 출력 화소가 동시에 보간되어 생성된다.As described above, in the image resampling unit 110, the input pixels are moved every clock cycle, and each time the input pixels are moved, the plurality of output pixel positions are output to the plurality of interpolators at the same time. Generated by interpolation at the same time.

이때, 상기 두 입력 화소 사이에 매핑될 출력 화소의 수가 구현되어진 보간부의 수보다 많다면 입력을 이동시키지 않고 다음 클럭 사이클에 나머지 출력 화소 위치 값을 출력한다. 예를 들어, 두 입력 화소 사이에 매핑될 출력 화소의 수가 5인데, 보간부는 도 6과 같이 세 개만 구성되어 있다면 한 클럭 사이클에 3개의 출력 화소 위치 값을 출력하고 이때 입력 화소는 이동시키지 않는다. 그리고 다음 클럭 사이클에서 입력 화소를 이동시키면서 다시 2개의 출력 화소 위치 값을 출력한다.At this time, if the number of output pixels to be mapped between the two input pixels is greater than the number of interpolation units implemented, the remaining output pixel position values are output in the next clock cycle without moving the input. For example, if the number of output pixels to be mapped between two input pixels is 5, and if only three interpolators are configured as shown in FIG. 6, three output pixel position values are output in one clock cycle, and the input pixels are not moved. In the next clock cycle, two output pixel position values are output again while moving the input pixel.

한편, 본 발명에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로써 이는 당분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본 발명의 전반에 걸친 내용을 토대로 내려져야 할 것이다. On the other hand, the terms used in the present invention (terminology) are terms defined in consideration of the functions in the present invention may vary according to the intention or practice of those skilled in the art, the definitions are the overall contents of the present invention It should be based on.

또한, 본 발명에서는 본 발명의 바람직한 실시예를 통해 본 발명을 설명했으므로 본 발명의 기술적인 난이도 측면을 고려할 때, 당분야에 통상적인 기술을 가진 사람이면 용이하게 본 발명에 대한 또 다른 실시예와 다른 변형을 가할 수 있다. 따라서 상술한 설명에서 사상을 인용한 실시예와 변형은 모두 본 발명의 청구 범위에 모두 귀속됨은 명백하다.In addition, since the present invention has been described through the preferred embodiment of the present invention, in view of the technical difficulty aspects of the present invention, those having ordinary skill in the art can easily and other embodiments of the present invention. Other variations can be made. Therefore, it is apparent that all of the embodiments and variations cited in the above description belong to the claims of the present invention.

이상에서와 같이 본 발명에 따른 포맷 변환 장치 및 방법에 의하면, 업 컨버젼시 두 입력 화소 사이에 매핑될 다수개의 출력 화소를 한 클럭 사이클에서 동시에 보간하여 생성함으로써, 포맷 변환 시간을 단축하는 효과가 있다. 특히 향상된 작업 처리량(Throughput)으로 처리 시간이 단축되므로, 하나의 포맷 변환기로 한 출력 수직 동기 구간(VSYN) 동안 2개의 입력 영상을 처리하는데 사용되어질 수 있다. 즉, 하나의 포맷 변환기만을 사용하여 주/부화면을 처리할 수 있는 장점을 가진다. 또한, 1개의 입력 영상만을 처리할 때는 동작 속도를 낮게 함으로써, 저전력으로 처리할 수 있는 장점을 가진다. As described above, according to the apparatus and method for converting a format according to the present invention, a plurality of output pixels to be mapped between two input pixels are simultaneously generated in one clock cycle during up-conversion, thereby reducing the format conversion time. . In particular, because of improved throughput, processing time can be shortened, so one format converter can be used to process two input images during one output vertical sync interval (VSYN). That is, it has an advantage of processing main / sub picture using only one format converter. In addition, when only one input image is processed, the operation speed is lowered, so that the processing can be performed at low power.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다. Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다. Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

도 1은 입력 화소 그리드에서 재샘플링 출력 화소의 예를 보인 일반적인 도면1 is a general diagram illustrating an example of resampling output pixels in an input pixel grid

도 2는 종래의 포맷 변환 장치의 일 실시예를 보인 도면2 is a view showing an embodiment of a conventional format conversion apparatus;

도 3은 도 2의 DDA 제어부의 상세 블록도FIG. 3 is a detailed block diagram of the DDA controller of FIG. 2.

도 4는 도 3의 상태 레지스터의 상세 도면4 is a detailed view of the status register of FIG.

도 5는 1:3 업 컨버젼시 입력 화소 그리드에서 출력 화소의 위치 예를 보인 도면 5 illustrates an example of positions of output pixels in an input pixel grid during 1: 3 up-conversion.

도 6은 본 발명에 따른 포맷 변환 장치의 일 실시예를 보인 구성 블록도6 is a block diagram showing an embodiment of a format conversion apparatus according to the present invention;

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

110 : 영상 재샘플링부 210~230 : 보간부110: image resampling unit 210 ~ 230: interpolation unit

Claims (8)

입력 영상의 사이즈가 출력 영상의 사이즈보다 작아 업 컨버젼하는 포맷 변환 장치에 있어서, In the format conversion apparatus for up-converting the size of the input video is smaller than the size of the output video, 입/출력 영상 사이즈를 입력받아 포맷 정보를 검출하고, 검출된 포맷 정보를 근거로 두 입력 화소 사이에 매핑될 출력 화소들의 위치 값을 계산하여 동시에 출력하는 영상 재샘플링부; 그리고An image resampling unit configured to receive input / output image sizes, detect format information, and calculate and output position values of output pixels to be mapped between two input pixels based on the detected format information; And 다수개의 보간부로 구성되고, 상기 각 보간부는 상기 영상 재샘플링부에서 출력되는 해당 출력 화소의 위치 값으로부터 보간 필터의 계수를 생성하고, 생성된 계수와 입력 화소를 이용하여 상기 출력 화소 위치의 화소를 보간하여 생성하는 것을 특징으로 하는 포맷 변환 장치.A plurality of interpolation units, each interpolation unit generating coefficients of an interpolation filter from position values of corresponding output pixels output from the image resampling unit, and using the generated coefficients and input pixels, pixels of the output pixel positions And converting the generated format. 제 1 항에 있어서, 상기 영상 재샘플링부는The method of claim 1, wherein the image resampling unit 한 클럭 사이클마다 입력 화소를 이동시키면서 두 입력 화소 사이에 매핑될 출력 화소들의 위치 값을 동시에 출력하는 것을 특징으로 하는 포맷 변환 장치.And simultaneously outputting position values of output pixels to be mapped between two input pixels while moving the input pixels every one clock cycle. 제 2 항에 있어서, 상기 영상 재샘플링부는The image resampling unit of claim 2, wherein the image resampling unit 상기 두 입력 화소 사이에 매핑될 출력 화소의 수가 상기 다수개의 보간부의 수보다 많다면 현 클럭 사이클에서 입력을 이동시키지 않고 상기 보간부의 수만큼 출력 화소의 위치값들을 출력한 후 다음 클럭 사이클에서 입력 화소를 이동시키면서 나머지 출력 화소의 위치 값들을 출력하는 것을 특징으로 하는 포맷 변환 장치.If the number of output pixels to be mapped between the two input pixels is larger than the number of the plurality of interpolators, the position values of the output pixels are output as many as the number of interpolators without moving the input in the current clock cycle, and then in the next clock cycle. And outputting position values of the remaining output pixels while moving the input pixels. 제 2 항에 있어서, 상기 영상 재샘플링부는The image resampling unit of claim 2, wherein the image resampling unit 현 입력 화소의 위치를 기준으로 매핑할 출력 화소 위치까지의 거리를 해당 출력 화소의 위치 값으로 출력하는 것을 특징으로 하는 포맷 변환 장치.And outputting a distance to an output pixel position to be mapped based on the position of the current input pixel as a position value of the corresponding output pixel. 제 2 항에 있어서, 상기 각 보간부는 The method of claim 2, wherein each interpolation unit 입력되는 출력 화소 위치 값으로부터 보간 필터의 계수를 생성하는 계수 발생기와, A coefficient generator for generating coefficients of an interpolation filter from input output pixel position values, 생성된 계수와 입력 화소를 이용하여 해당 위치의 출력 화소를 보간하는 보간 필터로 구성되는 것을 특징으로 하는 포맷 변환 장치.And an interpolation filter for interpolating an output pixel at a corresponding position using the generated coefficients and the input pixel. 제 5 항에 있어서, 상기 계수 발생기는 6. The coefficient generator of claim 5 wherein said coefficient generator 상기 출력 화소의 위치값에 따른 계수들을 미리 룩업 테이블화한 후 상기 영상 재샘플링부에서 출력되는 출력 화소의 위치값을 어드레스로 하여 상기 룩업 테이블에서 해당 계수를 읽어 와 생성하는 것을 특징으로 하는 포맷 변환 장치.Format conversion according to the position value of the output pixel in advance look-up table after the output coefficient from the image resampling unit to output the corresponding coefficient from the lookup table format conversion characterized in that the generated Device. 입력 영상의 사이즈가 출력 영상의 사이즈보다 작아 업 컨버젼하는 포맷 변환 방법에 있어서, In the format conversion method for up-converting the size of the input video is smaller than the size of the output video, (a) 입/출력 영상 사이즈를 입력받아 포맷 정보를 검출하고, 검출된 포맷 정보를 근거로 두 입력 화소 사이에 매핑될 출력 화소들의 위치값을 계산하여 동시에 출력하고 입력 화소를 이동시키는 단계; 그리고(a) inputting an input / output image size to detect format information, and simultaneously calculating and outputting position values of output pixels to be mapped between two input pixels based on the detected format information and moving the input pixels; And (b) 상기 (a) 단계에서 출력되는 해당 출력 화소의 위치 값으로부터 보간 필터의 계수를 생성하고, 생성된 계수와 입력 화소를 이용하여 상기 출력 화소 위치의 화소를 보간하는 과정을 상기 (a) 단계에서 출력되는 출력 화소 위치값들의 수만큼 병렬로 동시에 수행하여 두 입력 화소 사이에 매핑될 출력 화소들을 한 클럭 사이클에서 생성하는 단계를 포함하여 이루어지는 것을 특징으로 하는 포맷 변환 방법.(b) generating a coefficient of an interpolation filter from the position value of the corresponding output pixel output in the step (a), and interpolating the pixel at the output pixel position using the generated coefficient and the input pixel (a) And simultaneously outputting the output pixels to be mapped between the two input pixels in one clock cycle by simultaneously performing the same number of output pixel position values output in the step. 제 7 항에 있어서, 상기 (a) 단계는The method of claim 7, wherein step (a) 현 입력 화소의 위치를 기준으로 매핑할 출력 화소 위치까지의 거리를 해당 출력 화소의 위치 값으로 출력하는 것을 특징으로 하는 포맷 변환 방법.And outputting a distance to an output pixel position to be mapped based on the position of the current input pixel as a position value of the corresponding output pixel.
KR10-2004-0005054A 2004-01-27 2004-01-27 Apparatus for conversing format and method for the same KR100531322B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2004-0005054A KR100531322B1 (en) 2004-01-27 2004-01-27 Apparatus for conversing format and method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2004-0005054A KR100531322B1 (en) 2004-01-27 2004-01-27 Apparatus for conversing format and method for the same

Publications (2)

Publication Number Publication Date
KR20050077518A KR20050077518A (en) 2005-08-03
KR100531322B1 true KR100531322B1 (en) 2005-11-28

Family

ID=37264969

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2004-0005054A KR100531322B1 (en) 2004-01-27 2004-01-27 Apparatus for conversing format and method for the same

Country Status (1)

Country Link
KR (1) KR100531322B1 (en)

Also Published As

Publication number Publication date
KR20050077518A (en) 2005-08-03

Similar Documents

Publication Publication Date Title
US8189941B2 (en) Image processing device, display device, image processing method, and program
JP3013808B2 (en) Resolution conversion method and display control device using the same
WO1998010377A1 (en) Video signal processor
JP2006251861A (en) Image processing apparatus, image processing method, display controller, and electronic apparatus
JP4191246B2 (en) Method and apparatus for non-interlaced scanning of video fields into progressively scanned video frames
JP4035408B2 (en) Resolution conversion apparatus and method, and information processing apparatus
JP2006352611A (en) Picture interpolator, frame rate changer and picture display
JP2007324830A (en) Frame rate converting device, and frame rate converting method
EP2346240B1 (en) Image processing method and device, and imaging apparatus using the image processing device
JP5208381B2 (en) Moving picture frame rate conversion apparatus and moving picture frame rate conversion method
US6961479B1 (en) Image processing device, image processing method, image-processing program recorded medium
US7421150B2 (en) Coordinate conversion apparatus and method
JPH04347969A (en) Picture element density converter
KR100294676B1 (en) Apparatus for universal image format converting
KR100531322B1 (en) Apparatus for conversing format and method for the same
JP2003018552A (en) Scanning line conversion circuit
JP4483255B2 (en) Liquid crystal display
US8553050B2 (en) Video signal processing apparatus, video signal processing method, and imaging device
WO2005112425A1 (en) Method and apparatus for vertically scaling pixel data
KR20040065806A (en) Cubic convolution interpolation apparatus and method
JP2002064760A (en) Image display device
JP2000115720A (en) Scanning line interpolation device and scanning line interpolation method
KR100645962B1 (en) Graphic processing apparatus having enlargement function of graphic and method thereof
JP2005311526A (en) Video output device and video output method
JP2012142818A (en) Color moving image motion estimation method and color moving image motion estimation apparatus

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: 20121026

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131024

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141024

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20151023

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee