KR100595067B1 - Apparatus and method for resizing image - Google Patents

Apparatus and method for resizing image Download PDF

Info

Publication number
KR100595067B1
KR100595067B1 KR1020030005353A KR20030005353A KR100595067B1 KR 100595067 B1 KR100595067 B1 KR 100595067B1 KR 1020030005353 A KR1020030005353 A KR 1020030005353A KR 20030005353 A KR20030005353 A KR 20030005353A KR 100595067 B1 KR100595067 B1 KR 100595067B1
Authority
KR
South Korea
Prior art keywords
resizing
image
size
horizontal
vertical
Prior art date
Application number
KR1020030005353A
Other languages
Korean (ko)
Other versions
KR20040068805A (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 KR1020030005353A priority Critical patent/KR100595067B1/en
Publication of KR20040068805A publication Critical patent/KR20040068805A/en
Application granted granted Critical
Publication of KR100595067B1 publication Critical patent/KR100595067B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 미리 정의한 테이블 또는 새로운 테이블을 사용하여 소프트웨어적으로 입력된 이미지를 리사이징(Resizing)하는 장치와 방법에 관한 것이다.The present invention relates to an apparatus and method for resizing an image input in software using a predefined table or a new table.

본 발명은 입력된 정보를 분석하여 크기를 추출하는 단계; 상기 추출된 정보의 크기를 디스플레이의 화면 해상도와 비교하는 단계; 상기 추출된 정보의 크기가 디스플레이 화면 해상도보다 작지 않은 경우에 미리 정의한 테이블 또는 새로 생성한 테이블을 이용하여 상기 입력된 정보의 크기를 조정하는 단계;를 포함한다.The present invention comprises the steps of extracting the size by analyzing the input information; Comparing the size of the extracted information with a screen resolution of a display; And adjusting the size of the input information by using a predefined table or a newly created table when the size of the extracted information is not smaller than the display screen resolution.

따라서 본 발명에 의하면, JPEG이미지를 resizing하는데 소요되는 시간을 소프트웨어 적인 방법으로 단축하므로 하드웨어적인 구현에 따른 비용을 절감하고 전자 액자 사용자의 편의성을 증대하는 효과가 있다. Therefore, according to the present invention, the time required for resizing a JPEG image is reduced by a software method, thereby reducing the cost of hardware implementation and increasing the convenience of an electronic frame user.

Description

이미지 크기 조정 장치 및 방법{Apparatus and method for resizing image}Apparatus and method for resizing image}

도 1은 filter를 이용해 JPEG이미지를 resizing하는 일반적인 순서도1 is a general flowchart of resizing JPEG images using a filter

도 2는 본 발명을 나타내는 블럭도2 is a block diagram illustrating the present invention.

도 3은 본 발명의 JPEG이미지 resizing방법을 나타낸 흐름도3 is a flowchart illustrating a JPEG image resizing method of the present invention.

도 4는 table생성에 대한 흐름도4 is a flow chart for table generation

도 5는 (이미지 크기 : 화면 해상도)의 비가 (4:3)일 경우의 table에 대한 예를 나타낸 도면5 is a diagram illustrating an example of a table when the ratio of (image size: screen resolution) is (4: 3).

도 6은 Table을 이용한 이미지 decoding/resizing에 대한 세부 흐름도6 is a detailed flowchart of image decoding / resizing using a table.

본 발명은 이미지의 resizing에 관한 것으로, 특히 미리 정의한 테이블 또는 새로운 테이블을 사용하여 소프트웨어적으로 상기 입력된 이미지를 Resizing하는 장치와 방법에 관한 것이다.The present invention relates to resizing an image, and more particularly, to an apparatus and a method for resizing the input image in software using a predefined table or a new table.

이하 종래 및 본 발명에 대해 설명한다.Hereinafter, the conventional and the present invention will be described.

일반적으로 이미지를 원하는 크기로 resizing하는 데는 크게 하드웨어로 하는 방법과 소프트웨어로 하는 방법이 있다. In general, resizing an image to a desired size can be done in hardware or software.

하드웨어적인 구현은 속도는 빠르게 할 수 있으나 하드웨어 설계 및 장착을 위한 비용이 많이 든다는 단점이 있다. Hardware implementations can be fast but have the disadvantage of being expensive to design and mount hardware.

소프트웨어적인 구현은 하드웨어에 비해 속도는 느리지만 설계의 변경이 용이하고 하드웨어에 비해 비용이 적게 든다는 장점이 있다.Software implementations are slower than hardware but have the advantage of easy design changes and lower cost than hardware.

따라서 종래에는 이미지 resizing에는 필터(filter)를 이용한 하드웨어 방법이 많이 쓰인다. Therefore, in the related art, a hardware method using a filter is often used for image resizing.

도 1은 filter를 이용해 JPEG이미지를 resizing하는 일반적인 순서도를 나타낸 것으로 JPEG이미지를 디코딩(decoding)하는 부분과 filter를 이용한 수평 리사이징(horizontal resizing), 수직 리사이징(vertical resizing) 부분으로 구성되어 있다.1 illustrates a general flowchart of resizing a JPEG image using a filter, and includes a portion for decoding a JPEG image, a horizontal resizing, and a vertical resizing portion using a filter.

이하 도 1를 설명한다.1 will be described below.

JPEG 이미지가 입력된다. (S 101).JPEG image is input. (S 101).

상기 입력된 이미지에 대해 JPEG 매크로(macro) 블럭 단위로 디코딩을 수행한다. (S 102).The input image is decoded in units of JPEG macro blocks. (S 102).

상기 디코딩한 결과를, 메모리에 기록하는 과정을 매크로 블럭의 끝까지 수행하는지 판단하여 매크로 블럭의 끝까지 수행한 경우에는 필터를 이용한 수평 Resizing을 수행하여 메모리에 기록한다. (S105,S106).When the decoding result is determined whether the process of writing the memory to the end of the macro block is performed until the end of the macro block, horizontal resizing using a filter is performed to record the decoded result in the memory. (S105, S106).

이후에, 필터를 이용한 수직 Resizing을 수행하여 메모리에 기록한다. (S107,S108).Thereafter, vertical resizing using a filter is performed to write to the memory. (S107, S108).

상기 필터를 이용한 수평 및 수직 Resizing결과를 디스플레이 수단인 TV상에 출력한다. (S 109). The horizontal and vertical resizing results using the filter are output on the TV which is a display means. (S 109).

상기와 같은 필터를 이용한 Resizing한 방법은, 이미지의 화질 저하를 감소시키기 위해서는 좋은 방법이나, 전자 액자에서 사용하기에는 처리 시간이 오래 걸린다는 단점이 있다. The resizing method using the filter as described above is a good method for reducing the deterioration of an image, but has a disadvantage in that it takes a long time to use in an electronic picture frame.

그리고 세 부분으로 나누어 처리하기 때문에 각 처리 단위 사이에 이를 저장하기 위한 추가 메모리 접근(memory access)이 필요하게 되어 부가적인 처리시간이 필요하게 된다.In addition, since the processing is divided into three parts, additional memory access is required between each processing unit to store it, and thus additional processing time is required.

TV의 한 가지 기능으로 들어가는 전자 액자는 하드웨어를 설치할 공간도 한정되어 있고 소프트웨어로 처리할 수 있는 일의 양에도 한계가 있다. Electronic picture frames, which are a function of a TV, have limited space to install hardware and a limited amount of work that can be done with software.

따라서 전자 액자를 위한 소프트웨어적인 빠른 resizing 방법이 요구된다.Thus a software fast resizing method for electronic picture frames is required.

따라서 본 발명에서는 상기와 같은 문제점을 해결하고자 한것으로, 미리 정의한 테이블 또는 새로운 테이블을 생성하여 소프트웨어적으로 Resizing을 수행하는 것을 제안한다.
Therefore, in the present invention, to solve the above problems, it is proposed to create a predefined table or a new table to perform the software resizing.

본 발명의 JPEG 이미지 Resizing 장치는, 입력되는 정보의 크기를 판별하는부와; 상기 입력되는 정보의 크기와 디스플레이 해상도를 비교하여 Resizing여부를 판단하는부와; 하나이상의 정보의 크기에 대응하는 미리 정의한 Resizing 테이블 또는 새로운 Resizing 테이블을 생성하는부와; 상기 테이블을 이용하여 입력되는 정보를 Resizing하여 저장하는부와; 상기 Resizing 한 결과를 출력하는 디스플레이부;를 포함한다.The JPEG image resizing apparatus of the present invention includes: a unit for determining a size of input information; A unit for determining whether to resizing by comparing the size of the input information with a display resolution; Generating a predefined resizing table or a new resizing table corresponding to the size of one or more pieces of information; Resizing and storing the information input by using the table; And a display unit for outputting the result of the resizing.

본 발명의 JPEG 이미지 Resizing 방법은, 입력되는 JPEG 이미지의 헤더를 분석하여 크기를 추출하는 단계; 상기 추출된 정보의 크기와 디스플레이 화면 해상도을 비교하여, 작지 않은 경우에 상기 입력되는 이미지의 크기와 디스플레이의 해상도의 비를 산출하는 단계; 상기 산출된 비율이 미리 정의한 테이블에 존재하는가를 판단하는 단계; 상기 판단 결과에 따라 미리 정의한 테이블을 이용 또는 새로운 테이블을 생성하는 단계; 상기 미리 정의한 테이블 또는 새로 생성한 테이블을 이용하여 상기 입력된 정보의 크기를 조정하는 단계;를 포함하는 것을 특징으로 한다.JPEG image resizing method of the present invention comprises the steps of extracting the size by analyzing the header of the input JPEG image; Comparing the size of the extracted information with a display screen resolution and calculating a ratio of the size of the input image to the resolution of the display when the size of the extracted information is not small; Determining whether the calculated ratio exists in a predefined table; Generating a new table or using a predefined table according to the determination result; And adjusting the size of the input information by using the predefined table or the newly created table.

또한 본 발명은 입력된 정보를 미리 정의한 크기단위로 디코딩 및 크기를 추출하는 단계; 상기 추출된 정보의 크기를 디스플레이의 화면 해상도와 비교하는 단계; 상기 추출된 정보의 크기가 디스플레이 화면 해상도보다 작지 않은 경우에 미리 정의한 테이블 또는 새로 생성한 테이블을 이용하여 상기 입력된 정보의 크기를 조정하는 단계; 상기 결과를 메모리에 기록하는 단계; 상기 미리 정의한 크기 단위가 끝난경우에 디스플레이에 출력하는 단계;를 포함하는 것을 특징으로 한다.In another aspect, the present invention comprises the steps of decoding and size the input information in a predefined size unit; Comparing the size of the extracted information with a screen resolution of a display; Adjusting the size of the input information using a predefined table or a newly created table when the size of the extracted information is not smaller than a display screen resolution; Writing the result to a memory; And outputting to the display when the predefined size unit is finished.

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

이하 첨부된 도면을 참조하여 본 발명에 따른 JPEG 이미지 Resizing 장치와 방법에 대하여. 설명한다.With reference to the accompanying drawings with respect to the JPEG image resizing apparatus and method according to the present invention. Explain.

먼저, 본 발명의 특징을 설명한다.First, the features of the present invention will be described.

본 발명의 목적은 전자 액자에서 이미지의 resizing에 소요되는 시간을 줄이는 데 있다.An object of the present invention is to reduce the time required to resizing an image in an electronic picture frame.

따라서 본 발명의 제 1특징에 따르면, JPEG이미지의 폭과 높이를 알아내는 부분이 있다.Therefore, according to the first aspect of the present invention, there is a part for finding out the width and height of a JPEG image.

본 발명의 제2특징에 따르면, TV 해상도와 JPEG이미지의 폭과 높이를 비교해 resizing여부를 판단하는 부분이 있다.According to a second aspect of the present invention, there is a part for determining whether to resizing by comparing the TV resolution and the width and height of a JPEG image.

본 발명의 제3특징에 따르면, 여러 이미지 size에 대응하는 미리 정의한(pre-defined) resizing table을 갖는다.According to a third aspect of the invention, there is a pre-defined resizing table corresponding to various image sizes.

본 발명의 제4특징에 따르면, JPEG이미지에 적합한 resizing table을 결정하는 부분을 갖는다.According to a fourth aspect of the invention, there is a part for determining a resizing table suitable for a JPEG image.

본 발명의 제5특징에 따르면, 적합한 리사이징 테이블 (resizing table)을 찾지 못했을 경우 직접 generate하는 부분을 갖는다.According to a fifth aspect of the present invention, if a suitable resizing table is not found, it has a portion for generating directly.

본 발명의 제6특징에 따르면, JPEG이미지의 decoding부분과 메모리 쓰기(memory writing) 부분 사이에 resizing부분이 있다.According to a sixth aspect of the present invention, there is a resizing portion between a decoding portion and a memory writing portion of a JPEG image.

도 2는 상기의 특징을 나타내는 본 발명의 블럭도이다.2 is a block diagram of the present invention showing the above features.

도 2를 참조하면, 입력되는 JPEG 정보의 크기(폭과 높이)를 디코딩/판별하는 부와(21)와; 상기 입력되는 JPEG이미지의 크기와 디스플레이 해상도를 비교하여 Resizing여부를 판단하는부(22)와; 하나이상의 정보의 크기에 대응하는 미리 정의한 Resizing 테이블 또는 새로운 Resizing 테이블을 생성하는부(23)와; 상기 테이블을 이용하여 입력되는 정보를 Resizing하여 저장하는부(24)와; 상기 Resizing 한 결과를 출력하는 디스플레이부(25);를 포함하여 구성된다.2, a section 21 for decoding / determining the size (width and height) of input JPEG information; A unit 22 for determining whether to resizing by comparing the size of the input JPEG image with a display resolution; A unit 23 for generating a predefined resizing table or a new resizing table corresponding to the size of one or more pieces of information; Resizing section 24 for storing the information input by using the table; And a display unit 25 for outputting the result of the resizing.

도 3은 본 발명의 JPEG이미지 resizing방법을 나타낸 흐름도이다.3 is a flowchart illustrating a JPEG image resizing method according to the present invention.

JPEG이미지를 입력으로 받으면 상기 이미지의 헤더를 분석하여 이미지의 폭과 높이를 추출한다. (S 301, S 302).When the JPEG image is received as an input, the header of the image is analyzed to extract the width and height of the image. (S 301, S 302).

이미지의 크기를 TV의 화면 해상도와 비교하여 더 크면 리사이징 과정 (resizing process)이 시작된다. (S 303).If the size of the image is larger compared to the screen resolution of the TV, the resizing process begins. (S 303).

작거나 같으면 바로 JPEG decoding을 한 후 화면에 디스플레이 한다. (S 308, S 309).If it is smaller than or equal to one, JPEG decoding is performed and displayed on the screen. (S 308, S 309).

Resizing을 할 때는 우선 이미지의 크기와 TV의 화면 해상도의 비를 구해 이 비율에 맞는 미리 지정된 또는 미리 정의한 테이블 (pre-defined table)이 있는지 검색한다. (S 304)When resizing, first find the ratio of the image size to the TV's screen resolution and search for a predefined or pre-defined table that matches this ratio. (S 304)

Pre-defined table에는 (이미지 크기 : 화면 해상도)가 (25:16), (4:3), (9:8), (5:4), (11:8), (3:2), (13:8), (7:4), (15:8), (2:1), (17:8), (9:4), (5:2), (11:4), (3:1)인 경우가 있다. Pre-defined table includes (image size: screen resolution) (25:16), (4: 3), (9: 8), (5: 4), (11: 8), (3: 2), ( 13: 8), (7: 4), (15: 8), (2: 1), (17: 8), (9: 4), (5: 2), (11: 4), (3: 1) may be the case.

상기 table의 종류와 개수는 하드웨어 및 소프트웨어의 환경에 따라 가변적이며, 상기 비율에 속할 경우 해당 table을 사용하고, 없을 경우에는 table을 만든 다. (S 305, S 306).The type and number of the tables are variable according to the hardware and software environment. If the ratio is in the above ratio, the table is used. If not, the table is created. (S 305, S 306).

상기에서 Table은 JPEG 이미지의 각 픽셀(pixel)이 resize된 이미지의 어떤 위치에 찍혀야 하는지를 나타낸다. In the above table, each pixel of the JPEG image indicates at which position of the resized image.

YCrCb color model에는 하나의 비율 마다 Horizontal resizing table 1 (Y), Horizontal resizing table 2 (CrCb), vertical resizing table의 3개의 table이 있다. There are three tables in the YCrCb color model: horizontal resizing table 1 (Y), horizontal resizing table 2 (CrCb), and vertical resizing table for each ratio.

상기 단계 이후에, 상기 테이블을 가지고 JPEG를 해석(디코딩) 및 Resizing을 수행하여 디스플레이 수단인 TV상에 출력한다. (S 307, S 308).After the above step, JPEG is interpreted (decoded) and resized with the table and output on a TV which is a display means. (S 307, S 308).

도 4는 table생성에 대한 흐름도이다. 4 is a flowchart of table generation.

Table을 생성하기 위해서 우선 이미지 크기와 화면 해상도의 비를 바탕으로 table의 크기를 계산한다. (S 401, S 402).To create a table, first calculate the size of the table based on the ratio of image size to screen resolution. (S 401, S 402).

상기에서 Table의 크기는 JPEG이미지의 decoding 단위인 macro block의 가로 개수의 배수이며 resizing시 반복하여 사용할 수 있는 최소 단위이다. The size of the table is a multiple of the horizontal number of macro blocks, which is a decoding unit of JPEG images, and is a minimum unit that can be repeatedly used when resizing.

Table의 크기가 결정이 되면 Horizontal, vertical resizing에 대한 table을 만든다. (S 403).Once the size of the table is determined, create a table for horizontal and vertical resizing. (S 403).

도 5a 내지 도 5c에 나타낸 바와 같이, Horizontal resizing table의 경우에는 2 개의 table이 마련되며, Vertical resizing table의 경우에는 1 개의 table이 마련된다. 상기 Horizontal resizing table은 Horizontal resizing table 1 (Y)과 Horizontal resizing table 2 (CrCb)을 포함하는 것으로, 각 픽셀의 x좌표를 나타내고, vertical resizing table은 각 픽셀의 y좌표를 나타내는 것입니다.As shown in FIGS. 5A to 5C, two tables are provided for a horizontal resizing table, and one table is provided for a vertical resizing table. The horizontal resizing table includes a horizontal resizing table 1 (Y) and a horizontal resizing table 2 (CrCb), which represents the x-coordinate of each pixel, and the vertical resizing table represents the y-coordinate of each pixel.
즉, Horizontal resizing table 1 (Y)은 이미지의 각 픽셀이 resizing된 이미지의 어느 픽셀에 해당하는 것인지 계산하여 생성된 것이고, Horizontal resizing table 2 (CrCb)는 이미지의 각 픽셀이 Cr이면, 그 열은 Cr로만, Cb이면 그 열은 Cb로만 가도록 생성된 것입니다. 따라서, 한 픽셀이 YCr이면 다음 픽셀은 YCb가 나오게 된다. That is, the horizontal resizing table 1 (Y) is generated by calculating which pixel of the resized image corresponds to each pixel of the image, and the horizontal resizing table 2 (CrCb) is generated if each pixel of the image is Cr. If only Cr, if Cb, then the column was created to go only to Cb. Thus, if one pixel is YCr, the next pixel is YCb.
상기 Vertical resizing table은 여러 pixel이 하나의 pixel로 겹치지 않도록 생성한다.The vertical resizing table is generated so that several pixels do not overlap one pixel.
상기와 같이 생성된 Horizontal resizing table의 값을 이용하여 해당 픽셀에 대한 화면의 x좌표를 구하고, vertical resizing table의 값을 이용하여 해당 픽셀에 대한 화면의 y좌표를 구하여 그 좌표에 해당 픽셀을 표시한다.Obtain the x-coordinate of the screen for the pixel using the value of the horizontal resizing table generated as above, and obtain the y-coordinate of the screen for the pixel using the value of the vertical resizing table and display the pixel at the coordinate. .

상기 생성된 resizing 테이블을 이용하여 입력된 이미지를 resizing하여 디스플레이에 출력하도록 한다. (S 404).The input image is resized using the generated resizing table and output to the display. (S 404).

도 5는 (이미지 크기 : 화면 해상도)의 비가 (4:3)일 경우의 table에 대한 예이다. 5 is an example of a table when the ratio of (image size: screen resolution) is (4: 3).

Table을 이용한 이미지의 resizing방법은 대략 다음과 같다.The method of resizing an image using a table is as follows.

이미지의 각 pixel에 대해, 해당 pixel의 세로 좌표가 vertical resizing table(도 5c)의 몇 번째 열인지 계산한 후 그 table이 가리키는 세로 좌표를 얻는다. 이때 얻은 세로 좌표 값이 - 1 이면 그 pixel은 사용하지 않는다.For each pixel in the image, calculate the column of the vertical resizing table (FIG. 5C) of the vertical coordinate of the pixel and then obtain the vertical coordinate indicated by the table. If the obtained vertical coordinate value is -1, the pixel is not used.

세로 좌표를 얻은 후 해당 pixel의 가로 좌표가 Horizontal resizing table 1 (Y)(도 5a)과 Horizontal resizing table 2 (CrCb)(도 5b)의 몇 번째 열인지 계산한 후 그 table이 가리키는 가로 좌표를 얻는다.After obtaining the vertical coordinates, calculate the number of columns of horizontal resizing table 1 (Y) (FIG. 5A) and horizontal resizing table 2 (CrCb) (FIG. 5B), and then obtain the horizontal coordinates indicated by the table. .

이렇게 얻은 새로운 가로, 세로 좌표를 이용하여 resize된 이미지 영역에 pixel을 찍는다.The new horizontal and vertical coordinates are used to print pixels on the resized image area.

도 6은 Table을 이용한 이미지 디코딩/리사이징 (decoding/resizing)에 대한 세부 흐름도이다.6 is a detailed flowchart for image decoding / resizing using a table.

도면에서 보는바와 같이, JPEG이미지는 통상적으로 macro block 단위로 decoding을 하게 되는데, table을 이용하여 이 macro block 단위의 decoding후에 이 결과를 바로 resizing 하여 메모리에 저장한다.As shown in the figure, a JPEG image is usually decoded in units of macro blocks. After decoding in units of macro blocks using a table, the result is immediately resized and stored in a memory.

입력된 정보를 미리 정의한 크기단위로 디코딩 및 크기를 추출한다. (S 601, S 602).The input information is decoded and sized in predefined size units. (S 601, S 602).

상기 추출된 정보의 크기를 디스플레이의 화면 해상도와 비교하여, 상기 추출된 정보의 크기가 디스플레이 화면 해상도보다 작지 않은 경우에 미리 정의한 테 이블 또는 새로 생성한 테이블을 이용하여 상기 입력된 정보의 크기를 조정한다. (S 603).Compare the size of the extracted information with the screen resolution of the display and adjust the size of the input information using a predefined table or a newly created table when the size of the extracted information is not smaller than the display screen resolution. do. (S 603).

상기 결과를 메모리에 기록한다. (S 604).The result is written to memory. (S 604).

상기 미리 정의한 크기 단위 (end of macro block)가 끝난경우에 디스플레이에 출력한다. (S 605, S 606).Output to the display when the predefined size unit (end of macro block) is finished. (S 605, S 606).

상기한 바와같이 본 발명에서는 미리 정의한 테이블 또는 새로운 테이블을 사용하여 소프트웨어적으로 상기 입력된 이미지를 Resizing하는 장치와 방법에 관한 것이다.As described above, the present invention relates to an apparatus and a method for resizing the input image in software using a predefined table or a new table.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments.

따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

본 발명에 의하면, JPEG이미지를 resizing하는데 소요되는 시간을 소프트웨어 적인 방법으로 단축하므로 하드웨어적인 구현에 따른 비용을 절감하고 전자 액자 사용자의 편의성을 증대하는 효과가 있다. According to the present invention, the time required for resizing a JPEG image is reduced by a software method, thereby reducing the cost of hardware implementation and increasing convenience of an electronic frame user.

또한 본 발명은 디지털 카메라, 모바일 폰 등의 분야에 적용할 수 있다.
In addition, the present invention can be applied to the field of digital cameras, mobile phones and the like.

Claims (12)

삭제delete 입력되는 이미지의 헤더를 분석하여 상기 이미지의 크기를 추출하는 단계; Analyzing the header of the input image to extract the size of the image ; 상기 이미지의 추출된 크기 정보와 디스플레이 화면 해상도를 비교하여, 상기 이미지가 디스플레이 화면 해상도에 비하여 작지 않은 경우에 상기 입력되는 이미지의 크기와 디스플레이 화면 해상도의 비를 산출하는 단계;Comparing the extracted size information of the image with a display screen resolution and calculating a ratio of the size of the input image to the display screen resolution when the image is not smaller than the display screen resolution; 상기 산출된 비율이 미리 정의한 테이블에 존재하는가를 판단하는 단계;Determining whether the calculated ratio exists in a predefined table; 상기 판단 결과에 따라 미리 정의한 테이블을 이용 또는 새로운 테이블을 생성하는 단계;Generating a new table or using a predefined table according to the determination result; 상기 미리 정의한 테이블 또는 새로 생성한 테이블을 이용하여 상기 입력된 이미지의 크기를 조정하는 단계;를 포함하는 것을 특징으로 하는 이미지 크기 조정방법. And adjusting the size of the input image using the predefined table or the newly created table . 제 2항에 있어서,The method of claim 2, 상기 정의된 테이블은 가로 좌표 선택을 위한 horizontal resizing table 1 (Y) 및 horizontal resizing table 2 (CrCb)과, 세로 좌표 선택을 위한 vertical resizing table로 구성된 것을 특징으로 하는 이미지 크기 조정방법.The defined table comprises a horizontal resizing table 1 (Y) and a horizontal resizing table 2 (CrCb) for horizontal coordinate selection, and a vertical resizing table for vertical coordinate selection. 제 2항에 있어서,The method of claim 2, 상기 산출된 비율이 정의된 테이블에 존재하지 않는 경우에, If the calculated ratio does not exist in the defined table, 상기 산출된 비율을 참조하여 테이블의 크기를 계산하는 단계; horizontal resizing table 1 (Y), horizontal resizing table 2 (CrCb), vertical resizing table을 생성하는 단계; 상기 생성된 resizing 테이블을 이용하여 입력된 이미지를 resizing하여 디스플레이에 출력하는 단계;를 더 포함하는 것을 특징으로 하는 이미지 크기 조정방법. Calculating a size of a table with reference to the calculated ratio; generating a horizontal resizing table 1 (Y), a horizontal resizing table 2 (CrCb), and a vertical resizing table ; And resizing the input image using the generated resizing table and outputting the image to a display . 제 2항 또는 제 4항에 있어서, 상기 테이블의 크기는 이미지의 decoding 단위인 macro block의 가로 개수의 배수이며, resizing시 반복하여 사용할 수 있는 단위인 것을 특징으로 하는 이미지 크기 조정 방법. The method of claim 2 or 4, wherein the size of the table is a multiple of a horizontal number of macro blocks, which is a decoding unit of an image , and a unit that can be repeatedly used when resizing . 삭제delete 제 3항 또는 제 4항에 있어서, 상기 horizontal resizing table 2 (CrCb)는 이미지의 각 pixel이 홀수 pixel은 홀수 pixel로만, 짝수 pixel은 짝수 pixel로만 가도록 생성하는 것을 특징으로 하는 이미지 크기 조정방법.5. The method of claim 3 or 4, wherein the horizontal resizing table 2 (CrCb) generates each pixel of the image such that odd pixels are only odd pixels and even pixels are only even pixels. 제 3항 또는 제 4항에 있어서, 상기 Vertical resizing table은 여러 pixel이 하나의 pixel로 겹치지 않도록 생성하는 것을 특징으로 하는 이미지 크기 조정 방법. Claim 3 or claim 4, wherein the table is Vertical resizing image scaling method, characterized in that so as to generate multiple pixel is overlapped with a single pixel. 제 3항 또는 제 4항에 있어서, 상기 테이블을 이용한 이미지의 resizing방법은,The method of claim 3 or 4, wherein the resizing method of the image using the table comprises: 이미지의 각 pixel에 대해, 해당 pixel의 세로 좌표가 vertical resizing table의 몇 번째 열인지 계산한 후 그 table이 가리키는 세로 좌표를 얻는 단계와;For each pixel of the image, calculating which column of the vertical resizing table the pixel's vertical coordinate is and obtaining the vertical coordinate indicated by the table; 세로 좌표를 얻은 후 해당 pixel의 가로 좌표가 horizontal resizing table 1 (Y), horizontal resizing table 2 (CrCb)의 몇 번째 열인지 계산한 후 그 table이 가리키는 가로 좌표를 얻는 단계와;Calculating the number of columns of the horizontal resizing table 1 (Y) and the horizontal resizing table 2 (CrCb) after obtaining the vertical coordinates, and then obtaining the horizontal coordinates indicated by the table; 상기의 새로운 가로, 세로 좌표를 이용하여 resize된 이미지 영역에 pixel을 찍는 단계;를 포함하는 것을 특징으로 하는 이미지 크기 조정방법. And dipping a pixel in the resized image area by using the new horizontal and vertical coordinates . 제 9항에 있어서, 상기 vertical resizing table로부터 얻은 세로 좌표 값이 - 1 이면 그 pixel은 사용하지 않는것을 특징으로 하는 이미지 크기 조정 방법. 10. The method of claim 9, wherein the vertical resizing the ordinate value obtained from the table - if the first pixel is not an image scaling method according to claim unused. 삭제delete 입력되는 이미지의 헤더 정보를 참조하여 상기 이미지의 크기를 판별하는부;A unit for determining a size of the image by referring to header information of an input image ; 상기 입력되는 정보의 크기와 디스플레이 해상도를 비교하여 Resizing여부를 판단하는부;A unit for determining whether to resizing by comparing the size of the input information with a display resolution; 하나이상의 정보의 크기에 대응하는 미리 정의한 Resizing 테이블 또는 새로운 Resizing 테이블을 생성하는부;Generating a predefined resizing table or a new resizing table corresponding to the size of one or more pieces of information; 상기 테이블을 이용하여 입력되는 정보를 Resizing하여 저장하는부;Resizing and storing the information input by using the table; 상기 Resizing 한 결과를 출력하는 디스플레이부;를 포함하는 것을 특징으로 하는 이미지 크기 조정 장치.And a display unit for outputting the result of the resizing .
KR1020030005353A 2003-01-27 2003-01-27 Apparatus and method for resizing image KR100595067B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030005353A KR100595067B1 (en) 2003-01-27 2003-01-27 Apparatus and method for resizing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030005353A KR100595067B1 (en) 2003-01-27 2003-01-27 Apparatus and method for resizing image

Publications (2)

Publication Number Publication Date
KR20040068805A KR20040068805A (en) 2004-08-02
KR100595067B1 true KR100595067B1 (en) 2006-07-03

Family

ID=37357840

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030005353A KR100595067B1 (en) 2003-01-27 2003-01-27 Apparatus and method for resizing image

Country Status (1)

Country Link
KR (1) KR100595067B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746394B1 (en) * 2005-06-27 2007-08-03 주식회사 팬택앤큐리텔 Method and apparatus for processing JPEG data in mobile phone
KR100720871B1 (en) * 2006-06-20 2007-05-23 삼성전자주식회사 Apparatus and method for low distortion display in portable communication terminal

Also Published As

Publication number Publication date
KR20040068805A (en) 2004-08-02

Similar Documents

Publication Publication Date Title
JP4157568B2 (en) Method and apparatus for increasing image resolution
JP4782105B2 (en) Image processing apparatus and image processing method
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
US6731285B2 (en) System and method for providing high performance image magnification in a web browser
JP3793142B2 (en) Moving image processing method and apparatus
TWI520598B (en) Image processing apparatus and image processing method
KR101297177B1 (en) The method and system of adaptive reformatting of digital images
US20120229501A1 (en) Method and a Computer System for Displaying and Selecting Images
JP2011170840A (en) Image processing device and electronic apparatus
JP2008501170A (en) Method and system for viewing and enhancing images
CN105827963B (en) Scene-change detecting method and mobile terminal during one kind is taken pictures
JP2011119974A (en) Panoramic image synthesizer, panoramic image synthesis method, and program
Zhang et al. Seam warping: a new approach for image retargeting for small displays
KR100595067B1 (en) Apparatus and method for resizing image
US7355610B2 (en) Method and apparatus for expanding image data to create enlarged images for display
JP5409400B2 (en) Image processing method, image processing apparatus, and program
CN110418195B (en) Real-time video abbreviating method based on optimal cutting
US20050174362A1 (en) Method and system of zooming digital images
JP2007087218A (en) Image processor
JP2003323456A (en) Image display device and image display method
JP2005055973A (en) Personal digital assistant
JPH06208368A (en) Magnification setting device for picture display
JP5085589B2 (en) Image processing apparatus and method
US20230022878A1 (en) Cache-based warp engine
US8768060B2 (en) Image processing apparatus, image processing method and computer-readable medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee