KR20060099026A - Method for processing zoom-in function of image - Google Patents

Method for processing zoom-in function of image Download PDF

Info

Publication number
KR20060099026A
KR20060099026A KR1020050020000A KR20050020000A KR20060099026A KR 20060099026 A KR20060099026 A KR 20060099026A KR 1020050020000 A KR1020050020000 A KR 1020050020000A KR 20050020000 A KR20050020000 A KR 20050020000A KR 20060099026 A KR20060099026 A KR 20060099026A
Authority
KR
South Korea
Prior art keywords
image data
image
decoding
screen
display screen
Prior art date
Application number
KR1020050020000A
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 KR1020050020000A priority Critical patent/KR20060099026A/en
Publication of KR20060099026A publication Critical patent/KR20060099026A/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D23/00General constructional features
    • F25D23/06Walls
    • F25D23/062Walls defining a cabinet
    • F25D23/064Walls defining a cabinet formed by moulding, e.g. moulding in situ
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C44/00Shaping by internal pressure generated in the material, e.g. swelling or foaming ; Producing porous or cellular expanded plastics articles
    • B29C44/02Shaping by internal pressure generated in the material, e.g. swelling or foaming ; Producing porous or cellular expanded plastics articles for articles of definite length, i.e. discrete articles
    • B29C44/12Incorporating or moulding on preformed parts, e.g. inserts or reinforcements
    • B29C44/1228Joining preformed parts by the expanding material
    • B29C44/1233Joining preformed parts by the expanding material the preformed parts being supported during expanding
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16LPIPES; JOINTS OR FITTINGS FOR PIPES; SUPPORTS FOR PIPES, CABLES OR PROTECTIVE TUBING; MEANS FOR THERMAL INSULATION IN GENERAL
    • F16L59/00Thermal insulation in general
    • F16L59/02Shape or form of insulating materials, with or without coverings integral with the insulating materials
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2201/00Insulation
    • F25D2201/10Insulation with respect to heat
    • F25D2201/12Insulation with respect to heat using an insulating packing material
    • F25D2201/126Insulation with respect to heat using an insulating packing material of cellular type

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

본 발명은 영상의 확대 처리 방법에 관한 것으로서, 각종 영상처리장치의 화면 모드가 k배 확대 모드인 경우에는 디스플레이 화면 크기의 k배 크기에 맞는 영상 데이터만을 서브 샘플링하여 디코딩 버퍼에 저장하도록 한다. 또한, 사용자의 관심 영역이 변동되면 변동된 영역만을 서브 샘플링이 이루어지기 전의 영상 데이터로 변환하여 화면에 출력한다.The present invention relates to an image magnification processing method. When the screen mode of various image processing apparatuses is a k times magnification mode, only the image data corresponding to the k times the size of the display screen is subsampled and stored in the decoding buffer. In addition, when the region of interest of the user changes, only the changed region is converted into image data before subsampling and output to the screen.

본 발명에 따르면, 메모리 사용을 최소화하면서도 영상을 실시간으로 확대하여 디스플레이할 수 있고, 화면 확대시의 화면 품질을 좋게 유지할 수 있다. 이에 따라 메모리가 충분하지 않은 각종 영상처리장치에서 효율적인 화면 확대(zoom-in) 기능을 구현할 수 있다.According to the present invention, it is possible to enlarge and display an image in real time while minimizing memory use, and to maintain a good screen quality when the screen is enlarged. Accordingly, an efficient zoom-in function may be implemented in various image processing apparatuses that do not have enough memory.

영상 확대, zoom-in, JPEG, 메모리, 서브 샘플링 Image magnification, zoom-in, JPEG, memory, subsampling

Description

영상의 확대 처리 방법{Method for processing zoom-in function of image}Method for processing zoom-in function of image}

도 1은 영상처리장치에서의 영상 데이터 처리 과정에 관한 개요,1 is an overview of an image data processing process in an image processing apparatus;

도 2는 본 발명에 따른 일 실시예의 흐름도,2 is a flow chart of one embodiment according to the present invention;

도 3은 화면의 확대에 관한 개요,3 is an overview of enlargement of a screen;

도 4는 본 발명에 따른 또 다른 실시예의 흐름도,4 is a flow chart of another embodiment according to the present invention;

도 5와 도 6은 관심 영역 변경시의 설명을 위한 개요도이다.5 and 6 are schematic diagrams for explaining when changing the ROI.

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

11: JPEG 파일 12: 디코더11: JPEG file 12: Decoder

13: 디코딩 버퍼 14: 디스플레이 화면13: decoding buffer 14: display screen

15: 원본 영상15: original video

16: 디코딩 버퍼에 저장되는 확대된 영상 데이터16: Enlarged image data stored in decoding buffer

52,53: 실제 화면에 디스플레이되는 영상 데이터52,53: Image data displayed on the actual screen

본 발명은 영상의 확대 처리 방법에 관한 것으로서, 특히 메모리가 충분하지 않은 각종 영상처리장치에서 JPEG 등의 영상 파일에 기록되어 있는 영상 데이터를 최소한의 메모리를 이용하여 실시간으로 확대(zoom-in) 처리할 수 있는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image magnification processing method. In particular, in various image processing apparatuses having insufficient memory, zoom-in processing of image data recorded in an image file such as JPEG in real time using a minimum memory It's about how you can do it.

현재 영상을 처리하여 디스플레이 화면에 출력해 주는 다양한 종류의 장치들이 사용되고 있다. 영상 데이터는 JPEG 등 영상 데이터를 효율적으로 압축할 수 있도록 해주는 각종 압축방식을 통해 기록되고, 영상처리장치에서는 압축된 영상 데이터를 디코딩하여 디스플레이 화면에 출력하게 된다.Currently, various kinds of devices that process an image and output it on a display screen are used. The image data is recorded through various compression methods for efficiently compressing image data such as JPEG, and the image processing apparatus decodes the compressed image data and outputs it to the display screen.

이러한 각종 영상처리장치는 단순히 영상 데이터를 디스플레이 화면에 출력하는 기능뿐만 아니라 슬라이드 쇼 기능이나 화면 확대(zoom-in) 기능과 같이 다양한 형태로 처리할 수 있도록 구성될 수 있다.Such various image processing apparatuses may be configured not only to output image data to a display screen but also to be processed in various forms such as a slide show function or a zoom-in function.

한편, 디지털 카메라나 개인용 컴퓨터(PC)와 같이 영상을 처리하기에 충분한 메모리 용량이 확보된 영상처리장치의 경우에는 전체 영상을 모두 디코딩하여 메모리에 상주시켜 놓고 실시간으로 화면을 확대해 줄 수 있으나, 메모리 용량이 충분하지 않은 영상처리장치에서는 메모리의 제한으로 인하여 전체 영상을 실시간으로 확대해 주는 것이 용이하지 않다.On the other hand, in the case of an image processing apparatus that has sufficient memory capacity to process an image, such as a digital camera or a personal computer (PC), the entire image can be decoded and resided in a memory and the screen can be enlarged in real time. In an image processing apparatus having insufficient memory capacity, it is not easy to enlarge an entire image in real time due to memory limitations.

메모리가 충분하지 않은 영상처리장치의 예로는 개인용 디지털 비디오 녹화기(PVR: Personal Video Recorder)를 들 수 있다. PVR은 마그네틱 테이프에 영상신호를 기록하는 VCR(Video Cassette Recorder)과는 달리 하드 디스크 드라이브(HDD)에 영상신호를 기록하는 신개념의 디지털 녹화기이다.An example of an image processing apparatus having insufficient memory is a personal video recorder (PVR). The PVR is a new concept of digital recorder that records video signals to a hard disk drive (HDD), unlike a VCR (Video Cassette Recorder) that records video signals to magnetic tape.

이러한 PVR은 기본적으로 셋탑 박스 또는 텔레비젼 세트 본체에 하드 디스크 드라이브(HDD)를 내장하여 방송 프로그램을 녹화할 수 있는 기능을 제공하지만, 다양한 기능을 원하는 사용자 요구에 의해 외장 메모리를 이용하여 텔레비젼 세트에서 MP3 음악을 들을 수 있도록 하거나, 디지털 카메라를 통해 저장한 사진을 볼 수 있도록 해주는 전자앨범 기능 등 각종 기능이 추가되고 있다. 이에 따라 사진 등의 영상 확대(zoom-in) 기능도 필요로 하게 된다.These PVRs basically provide a built-in hard disk drive (HDD) in the set-top box or television set main unit to record broadcast programs, but MP3 in the TV set using external memory can be used by users who want various functions. Various functions are added, such as an electronic album function that allows you to listen to music or view stored pictures through a digital camera. Accordingly, a zoom-in function such as a photo is also required.

그러나, 위에서 설명한 바와 같이 메모리가 제한되어 있는 경우에는 전체 영상의 실시간 확대 처리가 거의 불가능하다.However, when the memory is limited as described above, real-time magnification of the entire image is almost impossible.

물론, 추가적인 메모리의 사용을 억제하기 위하여 현재 디스플레이된 화면에서 사용자가 선택한 영역을 2배 이상으로 확대하는 것은 가능하지만, 이 경우에는 화질의 열화가 발생하여 화면의 크기가 큰 경우에는 사람의 시각에 큰 영향을 준다. 또한, 화면 확대를 하기 전에 사용자로 하여금 먼저 확대할 영역을 선택하게 하고 선택한 영역에 대해서만 디코딩 과정을 수행할 수 있지만 다른 영역을 보기 위해서는 매번 다시 영역을 선택해야 한다는 단점을 가진다.Of course, in order to suppress the use of additional memory, it is possible to enlarge the area selected by the user more than twice on the currently displayed screen, but in this case, deterioration of image quality occurs, so that when the size of the screen is large, It has a big impact. In addition, before the screen is enlarged, the user may first select an area to be enlarged, and the decoding process may be performed only on the selected area, but the disadvantage of having to select the area again each time is to view another area.

이에 본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, PVR과 같이 메모리 용량이 충분하지 않은 각종 영상처리장치에서도 화질의 열화 없이 영상 데이터를 실시간으로 확대(zoom-in)할 수 있는 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, and a method for zooming-in image data in real time without deterioration of image quality even in various image processing apparatuses such as a PVR that does not have sufficient memory capacity. The purpose is to provide.

상기와 같은 목적을 달성하기 위하여, 본 발명에 따른 영상의 확대 처리 방법은, 영상 파일에 기록되어 있는 영상 데이터를 블록 단위로 디코딩하는 단계; 현재 선택된 화면 모드가 k배 확대 모드인지를 판단하는 단계; 상기 판단 결과, 화면 확대 모드가 아닌 경우에는 상기 디코딩된 데이터를 디스플레이 화면의 크기(M*N)에 맞도록 서브 샘플링(sub-sampling)하고, k배 확대 모드인 경우에는 kM*kN의 크기에 맞도록 서브 샘플링하는 단계; 상기 서브 샘플링된 영상 데이터를 디코딩 버퍼에 저장하는 단계; 및 해당 영상 데이터의 마지막 블록에 대한 디코딩이 종료하였는지의 여부에 따라 상기 디코딩하는 단계로 되돌아가거나 상기 디코딩 버퍼에 저장되어 있는 영상 데이터를 디스플레이 화면에 출력하는 단계를 포함하여 이루어진다.In order to achieve the above object, a method for processing an enlargement of an image according to the present invention includes: decoding image data recorded in an image file in units of blocks; Determining whether the currently selected screen mode is a kx magnification mode; As a result of the determination, sub-sampling the decoded data to fit the size (M * N) of the display screen when the screen is not in the magnification mode, and kM * kN when the magnification is k times. Subsampling to fit; Storing the subsampled image data in a decoding buffer; And returning to the decoding or outputting the image data stored in the decoding buffer on the display screen according to whether or not decoding of the last block of the image data is completed.

상기 서브 샘플링은 4개의 화소 당 4개의 Y 신호 및 각각 1개의 U 신호와 V 신호로 이루어지도록 구성할 수 있다.The subsampling may be configured to consist of four Y signals per four pixels and one U signal and one V signal, respectively.

본 발명에 따른 영상의 확대 처리 방법의 또 다른 실시예는, 영상 파일에 기록되어 있는 영상 데이터를 디코딩하여 디스플레이 화면 크기(M*N)의 k배 크기인 kM*kN에 맞도록 서브 샘플링한 후 디코딩 버퍼에 저장하는 단계; 상기 디코딩 버퍼에 저장된 영상 데이터들 중 일정 기준점을 기준으로 M*N 크기의 영상 데이터를 선택하여 상기 서브 샘플링이 이루어지기 전의 영상 데이터로 변환한 후 상기 디스플레이 화면에 출력하는 변환/출력 단계; 및 사용자의 관심 영역이 변경되면, 상기 변경 사항을 나타내는 기준점을 기준으로 하여 다시 상기 변환/출력 단계를 수행하는 단계를 포함하여 이루어진다.Another embodiment of the image magnification processing method according to the present invention is to decode the image data recorded in the image file and sub-sample it to fit kM * kN, which is k times the display screen size (M * N). Storing in a decoding buffer; A conversion / output step of selecting M * N size image data based on a predetermined reference point among the image data stored in the decoding buffer, converting the image data into the image data before the subsampling is performed, and outputting the image data to the display screen; And when the region of interest of the user is changed, performing the conversion / output step again based on a reference point indicating the change.

상기 변환/출력 단계는 처음 실행시 영상의 중심을 기준으로 처리하도록 구성할 수 있다.The conversion / output step may be configured to process based on the center of the image at the first execution.

상기 변환/출력 단계는 상기 관심 영역이 변경되었을 경우 변경된 영역의 데이터에 대해서만 상기 서브 샘플링이 이루어지기 전의 영상 데이터로 변환하도록 구성할 수 있다.In the converting / outputting step, when the ROI is changed, only the data of the changed region may be converted into image data before the subsampling is performed.

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

도 1을 참조하여 영상처리장치에서 영상을 처리하는 과정의 예를 간략히 설명하자면, JPEG 파일(11)과 같이 압축된 영상 데이터를 저장하고 있는 영상파일로부터 읽혀진 영상 데이터는 디코더(12)에 의해 디코딩되어 디코딩 버퍼(13)에 일단 저장되고, 디코딩 버퍼(13)에 저장된 영상 데이터가 디스플레이 화면(14)을 통해 출력된다.Referring to FIG. 1, an example of a process of processing an image in the image processing apparatus will be described briefly. Image data read from an image file storing compressed image data, such as a JPEG file 11, is decoded by the decoder 12. Once stored in the decoding buffer 13, the image data stored in the decoding buffer 13 is output through the display screen (14).

도 1에는 디스플레이 화면(14)의 크기가 M*N이고, JPEG 파일에 기록된 영상의 크기가 5M*5N이며, 디코딩 버퍼(13)의 크기가 2M*2N인 실시예를 도시하였다. 여기서, M과 N은 정수로서 디스플레이 화면(14)을 구성하는 픽셀의 수를 의미하고, '2'는 영상을 확대할 배수를 의미한다. 또한, 영상처리장치는 JPEG 파일에 기록된 압축된 영상 데이터(15)를 8*8 픽셀로 이루어지는 블록의 스캔 단위로 디코딩한다고 가정한다.FIG. 1 shows an embodiment in which the size of the display screen 14 is M * N, the size of the image recorded in the JPEG file is 5M * 5N, and the size of the decoding buffer 13 is 2M * 2N. Here, M and N are integers, and the number of pixels constituting the display screen 14, and '2' means a multiple to enlarge the image. Further, it is assumed that the image processing apparatus decodes the compressed image data 15 recorded in the JPEG file in units of scans of blocks consisting of 8 * 8 pixels.

이러한 가정은 설명의 이해를 돕기 위해 설정한 것이며, 본래 영상의 크기(5M*5N), 디코딩 버퍼의 크기(2M*2N), 확대할 배수(k=2), 스캔 단위를 이루는 블록의 크기(8*8) 등은 필요에 따라 임의적으로 구성할 수 있는 것이다.These assumptions are set for better understanding of the description.The size of the original image (5M * 5N), the size of the decoding buffer (2M * 2N), the multiple to be enlarged (k = 2), and the size of the block in scan units ( 8 * 8) etc. can be arbitrarily comprised as needed.

도 2를 참조하여, 본 발명에 따라 영상 확대 기능을 실현하기 위한 디코딩 과정을 설명하기로 한다.Referring to FIG. 2, a decoding process for realizing an image magnification function according to the present invention will be described.

먼저, 영상 데이터의 크기와 관계없이 디코딩할 수 있도록 하기 위하여 8x8 블록의 스캔 단위로 디코딩을 수행한다(S21). 여기서 1 블록을 디코딩하였을 때의 데이터 크기는 각 화소당 3 바이트(Y 신호, U 신호, V 신호)가 필요하므로 총 192(8*8*3) 바이트이다.First, in order to be able to decode regardless of the size of the image data, decoding is performed in units of scans of 8x8 blocks (S21). Here, the data size when decoding one block is 192 (8 * 8 * 3) bytes in total since 3 bytes (Y signal, U signal, V signal) are required for each pixel.

그리고, 현재 설정되어 있는 화면모드가 보통 화면모드인지 또는 2배 확대(zoom-in) 모드인지를 확인한다(S22).Then, it is checked whether the currently set screen mode is a normal screen mode or a 2x zoom-in mode (S22).

단계 S22에서의 확인 결과, 보통 화면 모드인 경우에는 단계 S21에서 8*8 블록의 스캔 단위로 디코딩된 데이터를 디스플레이 화면 크기인 M*N 크기에 맞도록 서브 샘플링(sub-sampling)한다. 즉, 보통 화면 모드인 경우 최종적으로 화면에 보이는 영상의 크기는 디스플레이 화면의 크기와 관련이 있으므로, 단계 S21에서 8*8 블록의 스캔 단위로 디코딩된 데이터는 디스플레이 화면 크기인 M*N에 맞게 서브 샘플링하게 된다.As a result of the check in step S22, in the normal screen mode, the data decoded in units of scans of 8 * 8 blocks in step S21 is sub-sampled to match the size of the display screen M * N. That is, in the normal screen mode, the size of the image finally seen on the screen is related to the size of the display screen. Therefore, in step S21, the data decoded in units of scans of 8 * 8 blocks is used to match the display screen size M * N Will be sampled.

그러나, 단계 S22에서의 확인 결과, 2배 확대 모드인 경우에는 디스플레이 화면에 출력될 수 있는 최대 영역은 화면 크기의 4배(2M*2N)이므로 이 크기에 맞도록 디코딩된 영상 데이터를 서브 샘플링한다(S24).However, as a result of the confirmation in step S22, in the 2x magnification mode, the maximum area that can be output on the display screen is 4 times the screen size (2M * 2N), so sub-sampled decoded image data to fit this size. (S24).

이 때, 단계 S23과 S24에서 4:2:0 서브 샘플링을 수행한다고 가정하면, 4개 화소당 4개의 Y 신호, 1개의 U 신호 및 1개의 V 신호가 나오기 때문에 1 블록을 디코딩할 때 발생하는 데이터의 크기는 96(8*8+4*4*2) 바이트이다.At this time, assuming that 4: 2: 0 subsampling is performed in steps S23 and S24, since four Y signals, one U signal, and one V signal are output per four pixels, it occurs when decoding one block. The size of the data is 96 (8 * 8 + 4 * 4 * 2) bytes.

이제 단계 S23 또는 단계 S24에서 서브 샘플링한 영상 데이터를 디스플레이화면에 출력하기 위하여 디코딩 버퍼에 저장한다(S25).The video data sub-sampled in the step S23 or the step S24 is stored in the decoding buffer for output to the display screen (S25).

위에서 설명한 단계 S21 내지 S26는 해당 영상 데이터의 모든 1 블록 스캔 단위에 대하여 실행되고(S26), 해당 영상 데이터에 대한 디코딩이 종료되면 디코딩 버퍼에 저장되어 있는 영상 데이터를 디스플레이 화면에 출력한다(S27).Steps S21 to S26 described above are executed for every one block scan unit of the corresponding image data (S26), and when the decoding of the corresponding image data is finished, the image data stored in the decoding buffer is output to the display screen (S27). .

즉, 도 3에 도시한 예와 같이 사용자가 2배 확대 모드를 선택한 경우에는 원래 영상 데이터(15)의 M*N 부분 영역(15-1)이 2배 확대되어 서브 샘플링된 영상 데이터(16)로서 디코딩 버퍼에 저장된다. 그러므로, 디코딩 버퍼에 저장되어 있는 2배 확대 영상 데이터(16)는 사용자가 각종 방향 키 등으로 관심영역을 변동시키는데 따라 실시간으로 디스플레이 화면에 표시될 수 있다.That is, when the user selects the 2x magnification mode as shown in the example shown in FIG. 3, the M * N partial region 15-1 of the original image data 15 is enlarged by 2 times to sub-sample the image data 16. As a decode buffer. Therefore, the 2X magnification image data 16 stored in the decoding buffer may be displayed on the display screen in real time as the user changes the ROI with various direction keys.

이제 도 4를 참조하여 본 발명에 따른 또 다른 실시예를 설명하기로 한다.Another embodiment according to the present invention will now be described with reference to FIG. 4.

먼저, 영상 파일에 기록되어 있는 영상 데이터를 디코딩하여 디스플레이 화면 크기(M*N)의 k배 크기인 kM * kN에 맞도록 서브 샘플링하여 디코딩 버퍼에 저장한다(S41). 이 때, 8*8 블록에 대해 4:2:0 서브 샘플링을 수행한다고 가정하면, 4개 화소당 4개의 Y 신호, 1개의 U 신호 및 1개의 V 신호가 나오기 때문에 1 블록을 디코딩할 때 발생하는 데이터의 크기는 96(8*8+4*4*2) 바이트이다.First, the video data recorded in the video file is decoded and subsampled to fit kM * kN, which is k times the display screen size M * N, and stored in the decoding buffer (S41). In this case, assuming 4: 2: 0 subsampling is performed on an 8 * 8 block, it occurs when decoding one block because four Y signals, one U signal, and one V signal are generated per four pixels. The data size is 96 (8 * 8 + 4 * 4 * 2) bytes.

이제 디코딩 버퍼에 저장되어 있는 확대된 영상 데이터를 디스플레이 화면에 출력하게 되는데, 디코딩 버퍼에는 k배 확대된 영상 데이터(kM*kN)가 저장되어 있고 디스플레이 화면의 크기는 M*N이므로, 디코딩 버퍼에 저장되어 있는 영상 데이터들 중 어느 부분을 출력할 것인지를 결정해야 한다.Now, the enlarged image data stored in the decoding buffer is output to the display screen. The decoding buffer has k times enlarged image data (kM * kN) and the display screen size is M * N. Which part of the stored image data should be determined.

이 부분은 다양하게 선택할 수 있는 것이지만, 최초 출력시에는 영상의 중심을 기준점으로 설정하는 것이 바람직하다(S42).This part can be selected in various ways, but it is preferable to set the center of the image as a reference point at the time of initial output (S42).

이제 디코딩 버퍼에 저장된 영상 데이터에 대하여 기준점을 기준으로 M*N 크기의 데이터를 선택하고, 선택된 영상 데이터를 서브 샘플링이 이루어지기 전의 영상 데이터로 변환하여 화면에 출력한다(S43). 하나의 예로서, 단계 S41에서의 서브 샘플링이 4:2:0으로 이루어진 경우에는 화소가 휘도 신호와 색차 신호를 모두 가지는 4:4:4의 데이터로 변환하여 화면에 출력하게 된다.Now, data of size M * N is selected with respect to the image data stored in the decoding buffer based on the reference point, and the selected image data is converted into image data before subsampling is performed (S43). As an example, when the subsampling in step S41 is 4: 2: 0, the pixel converts the data into 4: 4: 4 data having both a luminance signal and a chrominance signal, and outputs the data to the screen.

그리고, 사용자로부터 방향키 등을 이용한 관심 영역이 변동되는 경우에는 변동된 기준점을 기준으로하여 단계 S43을 실행하는 과정을 반복한다(S44).When the ROI is changed from the user, the process of executing step S43 is repeated based on the changed reference point (S44).

설명의 이해를 돕기 위하여 도 5를 참조하여 설명하자면, 단계 S41을 통해 M*N 크기의 영상 데이터가 2배 확대되어 서브 샘플링된 후 디코딩 버퍼에 저장되므로, 디코딩 버퍼에는 2M*2N 크기의 영상 데이터(51)가 저장된다.For better understanding of the description, referring to FIG. 5, since the M * N size image data is enlarged twice by subsampling and stored in the decoding buffer after step S41, the image data having 2M * 2N size is included in the decoding buffer. 51 is stored.

그리고 단계 S43이 처음으로 실행되면 디코딩 버퍼에 저장된 영상 데이터들 중 M*N 크기의 영상 데이터(52)가 디스플레이 화면에 출력된다. 이 때, 단계 S42에서 최초의 기준점이 영상의 중심으로 설정되었다면, 사용자는 영상의 중심(A)을 기준으로 2배 확대되어 있는 화면을 보게 된다.When step S43 is executed for the first time, image data 52 of M * N size among the image data stored in the decoding buffer is output on the display screen. At this time, if the first reference point is set to the center of the image in step S42, the user sees a screen enlarged twice with respect to the center (A) of the image.

이제 사용자가 방향키 등을 이용하여 도 6에 도시한 예와 같이 좌측 상단으로 관심 영역을 이동하였을 경우, 새로운 기준점 B에 대하여 디코딩 버퍼에 저장되어 있는 M*N 크기의 2배 확대 영상 데이터(53)가 디스플레이 화면에 출력된다. 즉, 화면의 확대가 실시간으로 이루어질 수 있게 된다.Now, when the user moves the region of interest to the upper left as shown in the example shown in FIG. 6 by using the arrow keys, the image data 53 of twice the M * N size stored in the decoding buffer with respect to the new reference point B is shown. Is displayed on the display screen. In other words, the screen can be enlarged in real time.

한편, 단계 S43에서는 디코딩 버퍼에 저장되어 있는 서브 샘플링된 상태의 영상 데이터를 서브 샘플링이 이루어지기 전의 영상 데이터로 변환하여 출력한다. 이 때, 사용자가 관심 영역을 변경한 경우에는 새로운 M*N 영역 전체(53)에 대해 데이터 변환을 하지 않고 빗금친 부분과 같이 변경된 영역만 변환하도록 구성할 수도 있다. 그 이외의 부분은 기존에 이미 변환해 놓은 영상 데이터를 이용하여 출력할 수 있다.On the other hand, in step S43, the video data in the subsampled state stored in the decoding buffer is converted into video data before subsampling is output and output. In this case, when the user changes the region of interest, the new M * N region 53 may be configured to convert only the changed region such as the hatched portion without data conversion. Other parts can be output using image data which has already been converted.

본 발명은 상술한 각 실시예에 한정되지 않고 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 당업자에 의해 다양하게 변형하여 실시할 수 있는 것이다.The present invention is not limited to the above embodiments and can be variously modified and implemented by those skilled in the art without departing from the technical spirit of the present invention.

본 발명에 따르면, 메모리 사용을 최소화하면서도 영상을 실시간으로 확대하여 디스플레이할 수 있으므로, 메모리가 충분하지 않은 각종 영상처리장치에서 효율적인 화면 확대(zoom-in) 기능을 구현할 수 있다. 또한, 현재 화면에 디스플레이 되는 영역에 대해 단순히 인터폴레이션(interpolation)을 적용하여 확대하는 것이 아니라 원래의 영상에서 디코딩하여 디스플레이하기 때문에 영상 확대시에도 뛰어난 화질을 유지할 수 있다.According to the present invention, since the image can be enlarged and displayed in real time while minimizing the memory usage, an efficient zoom-in function can be implemented in various image processing apparatuses in which there is not enough memory. In addition, it is possible to maintain excellent image quality even when the image is enlarged because the image is decoded and displayed in the original image instead of being enlarged by simply applying interpolation to the area currently displayed on the screen.

뿐만아니라, 전체 영상에 대한 디코딩 데이터를 저장하지 않고 확대 배수에 따른 영역(2M*2N)만을 서브 샘플링(sub-sampling)하여 저장하거나, 한 화소를 표현하기 위해 필요한 데이터를 모두 저장하지 않고 4 화소당 4개의 휘도신호와 1개의 색차신호를 저장하도록 하면 전체 메모리 사용량을 크게 줄일 수 있다.In addition, 4 pixels without storing the decoded data of the entire image and sub-sampling only the area (2M * 2N) according to the magnification factor, or without storing all the data necessary to represent one pixel Storing four luminance signals and one color difference signal per unit can greatly reduce the total memory usage.

Claims (6)

영상 파일에 기록되어 있는 영상 데이터를 블록 단위로 디코딩하는 단계;Decoding the image data recorded in the image file in units of blocks; 현재 선택된 화면 모드가 k배 확대 모드인지를 판단하는 단계;Determining whether the currently selected screen mode is a kx magnification mode; 상기 판단 결과, 화면 확대 모드가 아닌 경우에는 상기 디코딩된 데이터를 디스플레이 화면의 크기(M*N)에 맞도록 서브 샘플링(sub-sampling)하고, k배 확대 모드인 경우에는 kM * kN의 크기에 맞도록 서브 샘플링하는 단계;As a result of the determination, the sub-sampling of the decoded data to fit the size (M * N) of the display screen when the screen is not in the magnification mode, and kM * kN in the case of the k-fold magnification mode. Subsampling to fit; 상기 서브 샘플링된 영상 데이터를 디코딩 버퍼에 저장하는 단계; 및Storing the subsampled image data in a decoding buffer; And 해당 영상 데이터의 마지막 블록에 대한 디코딩이 종료하였는지의 여부에 따라 상기 디코딩하는 단계로 되돌아가거나 상기 디코딩 버퍼에 저장되어 있는 영상 데이터를 디스플레이 화면에 출력하는 단계를 포함하여 이루어지는 영상의 확대 처리 방법.And returning to the decoding step or outputting the image data stored in the decoding buffer to a display screen according to whether or not decoding of the last block of the image data is completed. 제 1 항에 있어서,The method of claim 1, 상기 서브 샘플링은 4개의 화소 당 4개의 Y 신호 및 각각 1개의 U 신호와 V 신호로 이루어지도록 구성되는 것을 특징으로 하는 영상의 확대 처리 방법.And the sub-sampling comprises four Y signals per four pixels and one U signal and one V signal, respectively. 영상 파일에 기록되어 있는 영상 데이터를 디코딩하여 디스플레이 화면 크기(M*N)의 k배 크기인 kM * kN에 맞도록 서브 샘플링한 후 디코딩 버퍼에 저장하는 단계;Decoding the image data recorded in the image file, subsampling to fit kM * kN, which is k times the display screen size (M * N), and storing the result in a decoding buffer; 상기 디코딩 버퍼에 저장된 영상 데이터들 중 일정 기준점을 기준으로 M*N 크기의 영상 데이터를 선택하여 상기 서브 샘플링이 이루어지기 전의 영상 데이터로 변환한 후 상기 디스플레이 화면에 출력하는 변환/출력 단계; 및A conversion / output step of selecting M * N size image data based on a predetermined reference point among the image data stored in the decoding buffer, converting the image data into the image data before the subsampling is performed, and outputting the image data to the display screen; And 사용자의 관심 영역이 변경되면, 상기 변경 사항을 나타내는 기준점을 기준으로 하여 다시 상기 변환/출력 단계를 수행하는 단계를 포함하여 이루어지는 영상의 확대 처리 방법.If the user's region of interest changes, the step of performing the conversion / output step based on the reference point indicating the change again. 제 3 항에 있어서,The method of claim 3, wherein 상기 변환/출력 단계는 처음 실행시 영상의 중심을 기준으로 처리하도록 구성되는 것을 특징으로 하는 영상의 확대 처리 방법.And the converting / outputting step is configured to process based on the center of the image at the first execution. 제 3 항에 있어서,The method of claim 3, wherein 상기 변환/출력 단계는 상기 관심 영역이 변경되었을 경우 변경된 영역의 데이터에 대해서만 상기 서브 샘플링이 이루어지기 전의 영상 데이터로 변환하도록 구성되는 것을 특징으로 하는 영상의 확대 처리 방법.And the converting / outputting step is configured to convert only the data of the changed region into the image data before the subsampling when the region of interest is changed. 제 1 항 내지 제 5 항 중 어느 하나의 항에 있어서,The method according to any one of claims 1 to 5, 상기 영상 파일은 JPEG 파일로 구성되는 것을 특징으로 하는 영상의 확대 처리 방법.And the image file comprises a JPEG file.
KR1020050020000A 2005-03-10 2005-03-10 Method for processing zoom-in function of image KR20060099026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050020000A KR20060099026A (en) 2005-03-10 2005-03-10 Method for processing zoom-in function of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050020000A KR20060099026A (en) 2005-03-10 2005-03-10 Method for processing zoom-in function of image

Publications (1)

Publication Number Publication Date
KR20060099026A true KR20060099026A (en) 2006-09-19

Family

ID=37630352

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050020000A KR20060099026A (en) 2005-03-10 2005-03-10 Method for processing zoom-in function of image

Country Status (1)

Country Link
KR (1) KR20060099026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8681879B2 (en) 2007-03-28 2014-03-25 Samsung Electronics Co., Ltd. Method and apparatus for displaying video data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8681879B2 (en) 2007-03-28 2014-03-25 Samsung Electronics Co., Ltd. Method and apparatus for displaying video data

Similar Documents

Publication Publication Date Title
JP4680166B2 (en) Imaging apparatus and imaging method
CN100525425C (en) Image pickup apparatus and image processing method
US7899260B2 (en) Method and apparatus for generating thumbnail of digital image
CN102045578B (en) Image processing apparatus and image processing method
MX2012011451A (en) Image processing device and method.
US8358363B2 (en) Video-processing apparatus, method and system
KR20080013674A (en) Imaging apparatus and method
US8340494B2 (en) Image converter, image reproducer, image conversion/reproduction system, and recording medium
CN102301723A (en) image processing device and method
US20130216150A1 (en) Image processing device, image processing method, and program
JP2010147508A (en) Image capturing apparatus and reproduction apparatus
US20110052140A1 (en) Image editing device and imaging device provided with the image editing device, image reproduction device and imaging device provided with the image reproduction device
CN101677385B (en) Moving-image reproducing apparatus and moving-image reproducing method
WO2013073328A1 (en) Image processing apparatus and image processing method
US20090153704A1 (en) Recording and reproduction apparatus and methods, and a storage medium having recorded thereon computer program to perform the methods
JP2005311776A (en) Image reproduction device
KR20060099026A (en) Method for processing zoom-in function of image
JP3933554B2 (en) Video encoding / decoding device
JP2011049927A (en) Image processing device, and imaging apparatus with the same mounted thereon
JPWO2008035655A1 (en) Recording apparatus, recording method, recording program, and integrated circuit
JP2009027535A (en) Image processor and imaging apparatus using same
JP4631736B2 (en) Recording apparatus, recording method, and program
WO2011114633A1 (en) Video signal processing device and video signal processing method
JP5034717B2 (en) Decoding device and decoding method
JP2005080219A (en) Image reproducing apparatus

Legal Events

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