KR20070069441A - Apparatus and method for real-time image reduction - Google Patents

Apparatus and method for real-time image reduction Download PDF

Info

Publication number
KR20070069441A
KR20070069441A KR1020050131601A KR20050131601A KR20070069441A KR 20070069441 A KR20070069441 A KR 20070069441A KR 1020050131601 A KR1020050131601 A KR 1020050131601A KR 20050131601 A KR20050131601 A KR 20050131601A KR 20070069441 A KR20070069441 A KR 20070069441A
Authority
KR
South Korea
Prior art keywords
image
line memory
line
output
predetermined ratio
Prior art date
Application number
KR1020050131601A
Other languages
Korean (ko)
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 KR1020050131601A priority Critical patent/KR20070069441A/en
Publication of KR20070069441A publication Critical patent/KR20070069441A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/393Enlarging or reducing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

An apparatus and a method for reducing an image in real time are provided to process images within a short period by using a single line memory functioning as an accumulator. An apparatus for reducing an image includes a first line memory(430), an image reduction unit(410), a sub-sampling unit(420), and a second line memory(440). The first line memory accumulates and stores inputted images. The image reduction unit accumulates an inputted image in the first line memory such that the inputted image is reduced at a predetermined rate and outputs the reduced image. The sub-sampling unit interpolates the image output from the image reduction unit at a predetermined rate to reduce the image. The second line memory stores the output of the sub-sampling unit.

Description

실시간 영상 축소 장치 및 방법{Apparatus and method for real-time image reduction}Apparatus and method for real-time image reduction

도 1은 종래의 영상 축소 장치의 구성도,1 is a block diagram of a conventional video reduction apparatus;

도 2는 종래의 영상 축소 장치가 영상을 축소하는 것을 설명하기 위한 예시도,2 is an exemplary view for explaining a conventional image reduction apparatus to reduce an image;

도 3a는 일반적인 라인 메모리의 동작을 설명하기 위한 개념도, 3A is a conceptual diagram illustrating the operation of a general line memory;

도 3b는 종래의 LPF에 사용되는 라인 메모리의 동작을 설명하기 위한 개념도,3B is a conceptual diagram for explaining the operation of the line memory used in the conventional LPF;

도 4는 본 발명에 따른 실시간 영상 축소 장치의 일실시예 구조도,4 is a structural diagram of an embodiment of a real-time image reduction apparatus according to the present invention;

도 5는 도 4의 서브 샘플링부가 샘플링을 수행하는 것을 설명하기 위한 개략도,FIG. 5 is a schematic diagram illustrating that the sub-sampling unit of FIG. 4 performs sampling;

도 6은 본 발명의 영상 축소 장치가 영상을 축소하는 것을 설명하기 위한 일예시도,6 is an exemplary view for explaining that an image reduction apparatus of the present invention reduces an image;

도 7은 본 발명의 실시간 영상 처리 장치의 다른 실시예의 구조도,7 is a structural diagram of another embodiment of a real-time image processing apparatus of the present invention;

도 7 및 도 8은 본 발명의 실시간 영상 처리 장치의 다른 실시예의 구조도.7 and 8 are structural diagrams of another embodiment of the real-time image processing apparatus of the present invention.

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

410 : 영상 축소부 420 : 서브 샘플링부410: Image reduction unit 420: Sub sampling unit

430, 440 : 라인 메모리430, 440: line memory

본 발명은 실시간 영상 축소 장치 및 방법에 관한 것으로서, 보다 상세하게는 영상 처리 시스템 등에 사용하기 위한 실시간 영상 축소 장치 및 방법에 관한 것이다.The present invention relates to a real-time image reduction apparatus and method, and more particularly to a real-time image reduction apparatus and method for use in an image processing system.

일반적으로, 실시간 영상 축소 방법이란, 센서로부터 수신되는 영상을 끊임 없이 축소하는 기술을 말한다.In general, the real-time image reduction method refers to a technique for continuously reducing the image received from the sensor.

도 1은 종래의 영상 축소 장치의 구성도이다.1 is a block diagram of a conventional image reduction apparatus.

도면에 도시된 바와 같이, 종래의 영상 축소 장치는, 저역 통과 필터(low pass filter; 이하, 간단히 'LPF'라 함)(110), 서브 샘플링부(sub-sampling)(120), LPF(110)를 통과하는 데이터를 저장하기 위한 라인 메모리(130~160) 및 서브 샘플링부(120)를 통과하는 데이터를 저장하기 위한 라인 메모리(170)를 포함하여 구성된다.As shown in the figure, a conventional image reduction apparatus includes a low pass filter (hereinafter, simply referred to as 'LPF') 110, a sub-sampling 120, and an LPF 110. It includes a line memory 130 to 160 for storing data passing through) and a line memory 170 for storing data passing through the sub-sampling unit 120.

종래의 영상 축소 장치는, 축소된 영상의 화질의 열화를 줄이기 위하여 LPF(110)를 거친 영상을 서브 샘플링부(120)가 보간(interpolation)을 통하여 축소 한다.In the conventional image reduction apparatus, in order to reduce deterioration of image quality of the reduced image, the sub-sampler 120 reduces the image that has passed through the LPF 110 through interpolation.

이러한 방식으로 좋은 화질의 영상을 얻기 위하여, 충분한 다항식의 LPF(110)를 사용해야 하며, 논리회로로 구현시 많은 개수의 곱셈기가 사용되며, 또한, LPF(110)가 화면을 왜곡시키지 않는 결과를 만들기 위하여 {1, 3, 8, 3, 1} 등의 계수를 이용한 유한 임펄스 응답(finite impulse response; FIR) LPF(110)가 사용되므로, 적어도 4개 이상의 라인 메모리가 필요하여, 시스템의 부피가 커지고, 전력 소모가 커지는 문제점이 있다.In order to obtain a good quality image in this way, a sufficient polynomial LPF 110 must be used, and a large number of multipliers are used when implementing a logic circuit, and also LPF 110 does not distort the screen. In order to use a finite impulse response (FIR) LPF 110 using coefficients of {1, 3, 8, 3, 1}, etc., at least four or more line memories are required, which increases the volume of the system. There is a problem in that power consumption increases.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 누산기 역할을 수행하는 하나의 라인 메모리를 사용함으로써, 데이터 버스의 점유가 적으면서 빠른 시간에 영상을 처리하기 위한 실시간 영상 축소 장치 및 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and by using a single line memory that serves as an accumulator, a real-time image reduction apparatus and method for processing an image in a short time with less data bus occupancy The purpose is to provide.

상기한 바와 같은 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면, 입력되는 영상을 누적하여 저장하기 위한 제1라인 메모리; 입력되는 영상을 소정의 비율로 축소되도록 상기 제1라인 메모리에 누적하고, 축소된 영상을 출력하기 위한 영상 축소부; 및 상기 영상 축소부에서 출력한 영상을 소정의 비율에 따라 보간하여 축소하기 위한 서브 샘플링부를 포함하는 영상 축소 장치가 제공되며, 상기 서브 샘플링부의 출력을 저장하기 위한 제2라인 메모리가 더 포함된다.In order to achieve the above object, according to a preferred embodiment of the present invention, a first line memory for accumulating and storing the input image; An image reduction unit for accumulating the input image in the first line memory to reduce the input image at a predetermined ratio and outputting the reduced image; And a subsampling unit for interpolating and reducing the image output from the image reducing unit according to a predetermined ratio, and further comprising a second line memory for storing the output of the subsampling unit.

이때, 상기 제1 및 제2라인 메모리는, 수직 라인(vertical line) 정적 기억 장치(SRAM)인 것이 바람직하며, 상기 영상 축소부가 축소하는 소정의 비율은, 2n(n은 1 이상의 정수임)인 것이 바람직하다.In this case, the first and second line memories are preferably vertical line static memories (SRAMs), and a predetermined ratio of the image reduction unit is reduced to 2 n (n is an integer of 1 or more). It is preferable.

또한, 본 발명의 다른 실시예에 따르면, 입력되는 영상을 소정의 비율로 축소되도록 라인 메모리에 누적하여 저장하는 단계; 축소된 영상을 출력하는 단계; 및 상기에서 축소된 영상을 소정의 비율에 따라 보간하여 축소하는 단계를 포함하는 영상 축소 방법이 제공된다.Further, according to another embodiment of the present invention, accumulating and storing the input image in the line memory to be reduced to a predetermined ratio; Outputting a reduced image; And interpolating and reducing the reduced image according to a predetermined ratio.

여기서, 상기 라인 메모리는, 수직 라인 SRAM인 것이 바람직하고, 영상을 축소하는 소정의 비율은, 2n(n은 1 이상의 정수임)인 것이 바람직하다.Here, it is preferable that the line memory is a vertical line SRAM, and the predetermined ratio of reducing the video is 2 n (n is an integer of 1 or more).

한편, 본 발명의 다른 실시예에 따르면, 영상을 실시간으로 축소하는 이미징 장치의 이미지 프로세서에 있어서, 입력되는 영상을 소정의 비율로 축소되도록 상기 제1라인 메모리에 누적하고, 축소된 영상을 출력하고, 이 출력한 영상을 소정의 비율에 따라 보간하여 축소하기 위한 영상 축소부; 및 입력되는 영상을 누적하여 저장하기 위한 라인 메모리를 포함하는 이미지 프로세서가 제공된다.On the other hand, according to another embodiment of the present invention, in the image processor of the imaging device for reducing the image in real time, the input image is accumulated in the first line memory to be reduced to a predetermined ratio, and output the reduced image An image reduction unit for interpolating and reducing the output image according to a predetermined ratio; And a line memory for accumulating and storing an input image.

본 발명의 설명에 앞서, 먼저 일반적인 라인 메모리의 동작 및 도 1의 라인 메모리의 동작에 대하여 설명하기로 하자.Prior to the description of the present invention, the operation of the general line memory and the operation of the line memory of FIG. 1 will be described first.

도 2는 종래의 영상 축소 장치가 영상을 축소하는 것을 설명하기 위한 예시 도이다.2 is an exemplary diagram for explaining a conventional image reduction apparatus to reduce an image.

도면에 도시된 바와 같이, 210의 영상 데이터가 본 발명의 영상 축소 장치에 입력되어 LPF(110)가 영상의 화질 열화를 방지하면, 220과 같이 필터링된 영상이 출력된다. 이후, 서브 샘플링부(120)가 보간에 의해 영상을 축소하면, 230과 같은 축소된 영상 데이터가 출력된다.As shown in the figure, when 210 image data is input to the image reduction apparatus of the present invention and the LPF 110 prevents deterioration of image quality, the filtered image is output as shown in 220. Thereafter, when the subsampling unit 120 reduces the image by interpolation, the reduced image data such as 230 is output.

도 3a는 일반적인 라인 메모리의 동작을 설명하기 위한 개념도이며, 도 3b는 종래의 LPF에 사용되는 라인 메모리의 동작을 설명하기 위한 개념도이다.3A is a conceptual diagram illustrating the operation of a general line memory, and FIG. 3B is a conceptual diagram illustrating the operation of a line memory used in a conventional LPF.

도 3a를 참조하면, 영상은 A에서부터 입력되어, 점선으로 표시된 방향에 따라, 130, 140, 150 및 170 라인 메모리에 각각 저장되고, 최종적으로 5라인이 LPF(110)의 입력이 된다. 도 1과 같이 세로 방향으로 5-탭(tap)의 LPF인 {1, 3, 8, 3, 1}/16을 적용한다고 하면, 4라인의 정보를 가지고 있어야 실시간으로 영상 처리가 가능하다.Referring to FIG. 3A, an image is input from A, and stored in 130, 140, 150, and 170 line memories, respectively, according to a direction indicated by a dotted line, and finally, 5 lines are input to the LPF 110. As shown in FIG. 1, when the 5-tap LPF {1, 3, 8, 3, 1} / 16 is applied in the vertical direction, the image processing may be performed in real time when the information has four lines.

이때, 현재 t에서의 출력은 종래 4개의 라인 메모리를 사용하는 시스템에서는 다음 수학식과 같다. At this time, the output at the current t is as follows in the system using the conventional four-line memory.

Figure 112005077167153-PAT00001
Figure 112005077167153-PAT00001

이때,

Figure 112005077167153-PAT00002
은 입력 함수이며,
Figure 112005077167153-PAT00003
은 출력함수이다. 이
Figure 112005077167153-PAT00004
이 LPF(110)의 입력이 된다. 이와 같은 종래의 기술에 따르면, 이전에 저장된 결과값이 현재에 적용될 수 없으므로, 이전 4라인을 저장하고 있어야 하며, 이에 따라 시스템의 부피가 커지고, 전력 소모량이 많아지게 된다. At this time,
Figure 112005077167153-PAT00002
Is an input function,
Figure 112005077167153-PAT00003
Is the output function. this
Figure 112005077167153-PAT00004
The LPF 110 is input. According to this conventional technique, since previously stored results cannot be applied at present, the previous four lines should be stored, thereby increasing the volume of the system and increasing power consumption.

본 발명은 누산기(accumulator) 역할을 수행하는 하나의 라인 메모리를 사용하여, 시스템을 간소화하는 것이다. The present invention simplifies the system by using one line memory to act as an accumulator.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 우선 각 도면의 구성요소들에 참조 번호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same components have the same number as much as possible even if displayed on different drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 실시간 영상 축소 장치의 일실시예 구조도이다.4 is a structural diagram of an embodiment of a real-time image reduction apparatus according to the present invention.

도면에 도시된 바와 같이, 본 발명의 영상 축소 장치는, 영상 축소부(410), 서브 샘플링부(420), 제1라인 메모리(430) 및 제2라인 메모리(440)를 포함하여 구성된다.As shown in the figure, the image reduction apparatus of the present invention includes an image reduction unit 410, a sub sampling unit 420, a first line memory 430, and a second line memory 440.

영상 축소부(410)는 입력되는 영상을 2n(n은 1 이상의 정수)으로 축소하여 출력한다. 이는 누산기(accumulator) 기능을 하는 1줄 크기의 제1라인 메모리(430)에 의해 가능하다. 이때, 제1라인 메모리는 수직 라인(vertical line) 정적 기억 장치(static random access memory; 이하, 간단히 'SRAM'이라 함)인 것이 바람직하다.The image reduction unit 410 reduces and outputs the input image to 2 n (n is an integer of 1 or more). This is possible by the first line memory 430 having a single line size that functions as an accumulator. In this case, the first line memory may be a vertical line static random access memory (hereinafter, simply referred to as 'SRAM').

제1라인 메모리(430)가 8비트×(라인 길이)인 경우에, 입력이 Y(t)[7:0]인 경우를 상정하여, 입력되는 영상을 2배 축소하고자 하는 경우를 예를 들어 설명하 자.In the case where the first line memory 430 is 8 bits x (line length), assuming that the input is Y (t) [7: 0], the input image is to be reduced by 2 times. Let's explain.

현재 시간을 (t)라 하고, 그 이전 시간을 (t-1)라고 하였을 때, 제1라인 메모리(430)는 (t-1) 라인에는 Y(t-1)[7:1]을 저장(즉, 1/2한 결과값을 저장)하고, (t) 라인에는 Y(t)[7:1]을 저장되어 있던 Y(t-1)[7:1]과 합한다. 그러면, 0.5Y(t)+0.5Y(t-1)의 결과값을 얻을 수 있으며, 영상 축소부(410)는 2배 축소된 영상을 얻을 수 있게 된다.When the current time is called (t) and the previous time is (t-1), the first line memory 430 stores Y (t-1) [7: 1] in the (t-1) line. (I.e., save the half result) and add Y (t) [7: 1] to Y (t-1) [7: 1]. Then, a result value of 0.5Y (t) + 0.5Y (t-1) can be obtained, and the image reduction unit 410 can obtain a reduced image of 2 times.

만약, 영상을 4배 축소하고자 하는 경우를 예를 들면, 제1라인 메모리(430)에서 (t-3) 라인에는 Y(t-3)[7:2]을 저장(즉, 1/4한 결과값을 저장)하고(0.25Y(t-3) 저장), (t-2) 라인에는 Y(t-2)[7:2]을 저장되어 있던 Y(t-3)[7:2]과 합하여 저장한다(0.25 Y(t-2) + 0.25 Y(t-3)를 저장). (t-1) 라인에는 Y(t-1)[7:2]을 저장되어 있는 결과와 합하여 저장한다(0.25Y(t-1) + 0.25Y(t-2) + 0.25Y(t-3)를 저장). 마지막으로, (t) 라인에서는 Y(t)[7:2]을 저장되어 있는 결과와 합한다. 최종적으로, 0.25Y(t) + 0.25Y(t-1) + 0.25Y(t-2) + 0.25Y(t-3)의 결과값을 얻을 수 있으며, 이는 영상을 4배로 축소한 것이다.For example, if the image is to be reduced 4 times, the first line memory 430 stores Y (t-3) [7: 2] in the (t-3) line (that is, 1/4 The result value (0.25Y (t-3)) and Y (t-2) [7: 2] in the (t-2) line. And store (0.25 Y (t-2) + 0.25 Y (t-3)). In the line (t-1), Y (t-1) [7: 2] is added to the stored result and stored (0.25Y (t-1) + 0.25Y (t-2) + 0.25Y (t-3). Save). Finally, in line (t), Y (t) [7: 2] is summed with the stored result. Finally, the result is 0.25Y (t) + 0.25Y (t-1) + 0.25Y (t-2) + 0.25Y (t-3), which is a 4x reduction of the image.

또한, 영상을 8배 축소하고자 하는 경우에는, 제1라인 메모리(430)에 (t-7) 라인에는 Y(t-7)[7:3]을 저장(즉, 1/4한 결과값을 저장)하고(0.125Y(t-7) 저장), (t-6) 라인에는 Y(t-6)[7:3]을 저장되어 있던 Y(t-7)[7:3]과 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) 저장). (t-5) 라인에는 Y(t-5)[7:3]을 저장되어 있는 결과와 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) 저장). (t-4) 라인에는 Y(t-4)[7:3]을 저장되어 있는 결과와 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) + 0.125Y(t-4) 저장). (t-3)라인에는 Y(t-3)[7:3]을 저장되어 있는 결과와 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) + 0.125Y(t-4) + 0.125Y(t-3) 저장). (t-2)라인에는 Y(t-2)[7:3]을 저장되어 있는 결과와 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) + 0.125Y(t-4) + 0.125Y(t-3) + 0.125Y(t-2) 저장). (t-1) 라인에는 Y(t-1)[7:3]을 저장되어 있는 결과와 합하여 저장한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) + 0.125Y(t-4) + 0.125Y(t-3) + 0.125Y(t-2) + 0.125Y(t-1) 저장). 마지막으로, (t)라인에는 Y(t)[7:3]을 저장되어 있는 결과와 합한다(0.125Y(t-7) + 0.125Y(t-6) + 0.125Y(t-5) + 0.125Y(t-4) + 0.125Y(t-3) + 0.125Y(t-2) + 0.125Y(t-1) + 0.125Y(t)).In addition, when the image is to be reduced by 8 times, Y (t-7) [7: 3] is stored in the (t-7) line in the first line memory 430 (that is, the result of 1/4) (Y25t [7: 3]) and Y (t-6) [7: 3] on the (t-6) line and save Y (t-7) [7: 3]. (Save 0.125Y (t-7) + 0.125Y (t-6)). In the (t-5) line, Y (t-5) [7: 3] is stored with the result stored (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) ) Save). In the (t-4) line, Y (t-4) [7: 3] is added to the stored result and stored (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) ) + 0.125Y (t-4) storage). In the (t-3) line, Y (t-3) [7: 3] is added to the stored result (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) ) + 0.125Y (t-4) + 0.125Y (t-3) storage). In the line (t-2), Y (t-2) [7: 3] is added to the stored result and stored (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) ) + 0.125Y (t-4) + 0.125Y (t-3) + 0.125Y (t-2) storage). In the (t-1) line, Y (t-1) [7: 3] is added to the stored result and stored (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) ) + 0.125Y (t-4) + 0.125Y (t-3) + 0.125Y (t-2) + 0.125Y (t-1)). Finally, in line (t), Y (t) [7: 3] is summed with the result stored (0.125Y (t-7) + 0.125Y (t-6) + 0.125Y (t-5) + 0.125 Y (t-4) + 0.125Y (t-3) + 0.125Y (t-2) + 0.125Y (t-1) + 0.125Y (t)).

이와 같은 방식으로, 영상 축소부(410)는 영상을 2n으로 배수로 축소할 수 있다.In this manner, the image reduction unit 410 may reduce the image in multiples of 2 n .

한편, 제1라인 메모리(430)가 12비트×(라인 길이)인 경우에는, 영상 축소부(410)는 다른 방식으로 영상 축소를 수행할 수 있다.Meanwhile, when the first line memory 430 is 12 bits x (line length), the image reduction unit 410 may perform image reduction in another manner.

마찬가지로, 입력이 Y(t)[7:0]인 경우에, 영상을 1/2로 축소하고자 하는 경우에는, (t-1)라인에는 Y(t-1)[7:0]을 저장(즉, 1/2한 결과값을 저장)하고, (t) 라인에는 Y(t)[7:0]을 저장되어 있던 Y(t-1)[7:0]과 합한 후 [8:1]을 출력한다. 이 경우 출력은 {Y(t) + Y(t-1)}/2이다. 즉, 2배 축소된 영상이 출력된다.Similarly, if the input is Y (t) [7: 0], and the image is to be reduced to 1/2, the line (t-1) stores Y (t-1) [7: 0] ( That is, the half value is stored), and Y (t) [7: 0] is added to Y (t-1) [7: 0] in the line (t), and then [8: 1] Outputs In this case, the output is {Y (t) + Y (t-1)} / 2. That is, a 2x reduced image is output.

또한, 영상을 1/4로 축소할 때에는, (t-3) 라인에는 Y(t-3)[7:0]을 저장 (즉, 1/4한 결과값을 저장)하고, (t-2)라인에는 Y(t-2)[7:0]을 저장되어 있는 결과 와 합하여 저장한다(Y(t-2) + Y(t-3) 저장). (t-1) 라인에는 Y(t-1)[7:0]을 저장되어 있는 결과와 합하여 저장한다(Y(t-1) + Y(t-2) + Y(t-3) 저장). (t)라인에는 Y(t)[7:0]을 저장되어 있는 결과와 합한 후 [9:2]을 출력한다. 이 출력은 {Y(t) + Y(t-1) + Y(t-2) + Y(t-3)}/4로서, 영상을 1/4배 한 것이다.In addition, when the image is reduced to 1/4, Y (t-3) [7: 0] is stored in the (t-3) line (that is, the 1/4 result is stored), and (t-2 In the line, Y (t-2) [7: 0] is added to the stored result (Y (t-2) + Y (t-3)). In the (t-1) line, Y (t-1) [7: 0] is added to the stored result (Y (t-1) + Y (t-2) + Y (t-3)). . In line (t), Y (t) [7: 0] is summed with the stored result and [9: 2] is output. This output is {Y (t) + Y (t-1) + Y (t-2) + Y (t-3)} / 4, which is 1/4 of the image.

이와 같은 방식으로, 8배로 영상을 축소하고자 하는 경우에는 최종적으로 [10:3]을 출력하여, {Y(t-7) + Y(t-6) + Y(t-5) + Y(t-4) + Y(t-3) + Y(t-2) + Y(t-1) + Y(t)}/8를 얻을 수 있다.In this way, if you want to reduce the image by 8 times, you can finally output [10: 3] and output {Y (t-7) + Y (t-6) + Y (t-5) + Y (t -4) + Y (t-3) + Y (t-2) + Y (t-1) + Y (t)} / 8 can be obtained.

본 발명은 어떤 방식에 의해서든지, 2n(n은 1 이상의 정수)로 축소된 영상을 얻어 서브 샘플링부(420)로 출력할 수 있다.According to the present invention, the image reduced in 2 n (n is an integer greater than or equal to 1) may be obtained and output to the sub-sampling unit 420.

서브 샘플링부(420)는 픽셀을 선택하여 영상을 축소한다. 즉, 입력되는 영상에서 비율에 맞추어 픽셀을 선택하여 저장한다.The sub sampling unit 420 selects pixels to reduce the image. That is, the pixels are selected and stored according to the ratio in the input image.

도 5는 도 4의 서브 샘플링부가 샘플링을 수행하는 것을 설명하기 위한 개략도이다.FIG. 5 is a schematic diagram illustrating an example in which the sub-sampling unit of FIG. 4 performs sampling.

도면에 도시된 바와 같이, 본 발명의 서브 샘플링부(420)는 A와 같이 입력되는 영상에서 일정한 비율의 픽셀에 대하여 보간을 수행하여, 영상을 축소한다. 도 5에서는 9개의 샘플에 대하여 6개 픽셀만을 출력하는 것을 보여준다. 입력되는 픽셀에 대한 출력 픽셀의 비율은 시스템의 성능에 따라 결정될 수 있을 것이다.As shown in the figure, the sub-sampling unit 420 of the present invention performs interpolation on a predetermined ratio of pixels in an input image such as A to reduce an image. 5 shows that only six pixels are output for nine samples. The ratio of output pixels to input pixels may depend on the performance of the system.

제2라인 메모리(440)는 서브 샘플링부(430)가 서브 샘플링을 수행한 결과를 저장한다. 제2라인 메모리(440) 역시 수직 라인 SRMA인 것이 바람직하다.The second line memory 440 stores a result of the sub sampling performed by the sub sampling unit 430. The second line memory 440 is also preferably a vertical line SRMA.

이와 같이, 본 발명의 영상 축소 장치는, 영상 축소부(410)가 미리 정해진 축소 비율에 따라 영상의 축소를 수행하고, 이후 서브 샘플링부(420)가 서브 샘플링 비율에 따라 영상의 축소를 수행하게 된다.As described above, in the image reduction apparatus of the present invention, the image reduction unit 410 reduces the image according to a predetermined reduction ratio, and then causes the sub-sampling unit 420 to reduce the image according to the sub-sampling ratio. do.

도 6은 본 발명의 영상 축소 장치가 영상을 축소하는 것을 설명하기 위한 일예시도이다.6 is an exemplary view for explaining the reduction of the image by the image reduction device of the present invention.

도면에 도시된 바와 같이, 본 발명에 따라 입력되는 영상 데이터(610)는 영상 축소부(410)에 의해 미리 정해진 축소 비율에 따라 축소가 수행되어, 620의 데이터가 출력되고, 이후, 서브 샘플링부(420)가 서브 샘플링 비율에 따라 다시 영상을 축소를 수행하여, 축소된 영상 데이터 630을 얻을 수 있게 된다.As shown in the figure, the image data 610 input according to the present invention is reduced by the image reduction unit 410 according to a predetermined reduction ratio, so that data of 620 is output, and then the sub-sampling unit. The image 420 may further reduce the image according to the sub-sampling ratio, thereby obtaining the reduced image data 630.

도 7 및 도 8은 본 발명의 실시간 영상 처리 장치의 다른 실시예의 구조도이다.7 and 8 are structural diagrams of another embodiment of the real-time image processing apparatus of the present invention.

도 7을 참조로 하면, 도 4의 영상 축소부(410)와 서브 샘플링부(420)의 순서를 바꾼 것으로서, 본 발명에서는 두 디바이스(device)의 순서를 바꾸어 영상 축소를 수행하여도 무방하다 할 것이다.Referring to FIG. 7, the order of the image reduction unit 410 and the sub-sampling unit 420 of FIG. 4 is changed. In the present invention, image reduction may be performed by changing the order of the two devices. will be.

또한, 도 8을 참조로 하면, 도 4의 영상 축소부(410)가 2개 사용된 것으로, 축소 비율에 따라 여러 개의 영상 축소부(410)를 배치하여 사용할 수도 있을 것이다.In addition, referring to FIG. 8, two image reduction units 410 of FIG. 4 are used, and a plurality of image reduction units 410 may be arranged and used according to a reduction ratio.

원영상의 정보를 잃어버리지 않도록 하는 것은 영상 축소 결과물의 척도이다. 이러한 점에서 도 1과 같은 종래의 영상 축소 방식은 좋은 결과를 얻을 수 있었으나, 이러한 방식은 하드웨어의 크기적 제한 때문에 프레임 메모리를 사용하여 처리하게 되므로 실시간 영상 축소 방식에는 적합하지 않았다.It is a measure of the image reduction result that the information of the original image is not lost. In this regard, the conventional image reduction method as shown in FIG. 1 has a good result, but this method is not suitable for real-time image reduction method because it is processed using a frame memory due to the size limitation of hardware.

본 발명에서 따르면, 2단계로 영상을 축소하는 방법을 간단히 구현하고, 프레임 메모리를 사용하지 않아도 되므로, 실시간 영상 축소가 가능할 것이다.According to the present invention, since the method of reducing the image is simply implemented in two steps, and the frame memory does not need to be used, real-time image reduction may be possible.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes can be made in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 라인 메모리를 줄임으로써, 논리 회로의 최소화를 통해 비용을 절감할 수 있도록 하는 효과가 있으며, 논리회로의 단순화를 통해 소비전력을 감소시키도록 하는 효과가 있다. 또한, 프레임 메모리의 사용이 불필요하므로, 실시간으로 영상의 축소가 가능하며, 좋은 화질의 축소 영상을 얻을 수 있도록 하는 효과가 있다.The present invention as described above, by reducing the line memory, there is an effect to reduce the cost by minimizing the logic circuit, there is an effect to reduce the power consumption through the simplification of the logic circuit. In addition, since the use of the frame memory is unnecessary, it is possible to reduce an image in real time and to obtain a reduced image of good quality.

Claims (8)

입력되는 영상을 누적하여 저장하기 위한 제1라인 메모리; A first line memory for accumulating and storing an input image; 입력되는 영상을 소정의 비율로 축소되도록 상기 제1라인 메모리에 누적하고, 축소된 영상을 출력하기 위한 영상 축소부; 및An image reduction unit for accumulating the input image in the first line memory to reduce the input image at a predetermined ratio and outputting the reduced image; And 상기 영상 축소부에서 출력한 영상을 소정의 비율에 따라 보간하여 축소하기 위한 서브 샘플링부를 포함하는 영상 축소 장치.And a sub-sampling unit for interpolating and reducing the image output from the image reduction unit according to a predetermined ratio. 제1항에 있어서, 상기 서브 샘플링부의 출력을 저장하기 위한 제2라인 메모리를 더 포함하는 영상 축소 장치.The image reduction device of claim 1, further comprising a second line memory for storing an output of the sub-sampler. 제1항 또는 제2항에 있어서, 상기 제1 및 제2라인 메모리는, 수직 라인(vertical line) 정적 기억 장치(SRAM)인 영상 축소 장치.The image reduction device according to claim 1 or 2, wherein the first and second line memories are vertical line static memory (SRAM). 제1항에 있어서, 상기 영상 축소부가 축소하는 소정의 비율은, 2n(n은 1 이상의 정수임)인 영상 축소 장치.The image reduction device according to claim 1, wherein a predetermined ratio of the image reduction unit is 2 n (n is an integer of 1 or more). 입력되는 영상을 소정의 비율로 축소되도록 라인 메모리에 누적하여 저장하는 단계;Accumulating and storing the input image in a line memory to reduce the input image at a predetermined ratio; 축소된 영상을 출력하는 단계; 및Outputting a reduced image; And 상기에서 축소된 영상을 소정의 비율에 따라 보간하여 축소하는 단계를 포함하는 영상 축소 방법.And reducing the interpolated image by the interpolation according to a predetermined ratio. 제5항에 있어서, 상기 라인 메모리는, 수직 라인 SRAM인 영상 축소 방법.The method of claim 5, wherein the line memory is a vertical line SRAM. 제5항에 있어서, 영상을 축소하는 소정의 비율은, 2n(n은 1 이상의 정수임)인 영상 축소 방법.The image reduction method according to claim 5, wherein the predetermined ratio of reducing the image is 2 n (n is an integer of 1 or more). 영상을 실시간으로 축소하는 이미징 장치의 이미지 프로세서에 있어서,An image processor of an imaging device that reduces an image in real time, 입력되는 영상을 소정의 비율로 축소되도록 상기 제1라인 메모리에 누적하고, 축소된 영상을 출력하고, 이 출력한 영상을 소정의 비율에 따라 보간하여 축소 하기 위한 영상 축소부; 및An image reduction unit configured to accumulate an input image in the first line memory to reduce the input image at a predetermined ratio, output a reduced image, and reduce the output image by interpolating the output image according to a predetermined ratio; And 입력되는 영상을 누적하여 저장하기 위한 라인 메모리를 포함하는 이미지 프로세서.An image processor including a line memory for accumulating and storing the input image.
KR1020050131601A 2005-12-28 2005-12-28 Apparatus and method for real-time image reduction KR20070069441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050131601A KR20070069441A (en) 2005-12-28 2005-12-28 Apparatus and method for real-time image reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050131601A KR20070069441A (en) 2005-12-28 2005-12-28 Apparatus and method for real-time image reduction

Publications (1)

Publication Number Publication Date
KR20070069441A true KR20070069441A (en) 2007-07-03

Family

ID=38505057

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050131601A KR20070069441A (en) 2005-12-28 2005-12-28 Apparatus and method for real-time image reduction

Country Status (1)

Country Link
KR (1) KR20070069441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932123B1 (en) * 2007-11-09 2009-12-16 한국전자통신연구원 Image reduction method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932123B1 (en) * 2007-11-09 2009-12-16 한국전자통신연구원 Image reduction method and device

Similar Documents

Publication Publication Date Title
US9082205B2 (en) Image processing apparatus for processing image data to produce compressed image data and display data
JPS62231509A (en) Adaptable median filter apparatus
US5410616A (en) Loop-up table image scaling for rational factors
JPH11266460A (en) Video information processing circuit
EP1531399A2 (en) Method and system for preventing data transfer bus bottlenecks through image compression
JP3133702B2 (en) Digital still camera
US20090179913A1 (en) Apparatus for image reduction and method thereof
JPH07212652A (en) Video special effect device
KR20070069441A (en) Apparatus and method for real-time image reduction
US6970207B1 (en) Anti-flicker filtering process and system
CN107071326B (en) Video processing method and device
JPH06113265A (en) Motion compensation predicting unit
KR100463552B1 (en) Cubic convolution interpolation apparatus and method
US7405768B2 (en) Apparatus and method for determining image region
JP3331626B2 (en) Cyclic noise reduction device
US8085345B2 (en) Image processing apparatus and image processing method
TWI384880B (en) Method for video conversion of video stream and apparatus thereof
US6668087B1 (en) Filter arithmetic device
JP4367193B2 (en) Scanning line converter
US5946036A (en) Image decoding using read/write memory control based on display region setting
KR100683383B1 (en) A video display processor in digital broadcasting receiver system with reduced internal memory
JP3271220B2 (en) Image processing device
CN114697468A (en) Image signal processing method and device and electronic equipment
KR100224689B1 (en) Apparatus and method for reducing image with high resolution
JP2005286954A (en) Image processing apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application