KR20070091411A - Plurality of image data merging method and device thereof - Google Patents

Plurality of image data merging method and device thereof Download PDF

Info

Publication number
KR20070091411A
KR20070091411A KR1020060020848A KR20060020848A KR20070091411A KR 20070091411 A KR20070091411 A KR 20070091411A KR 1020060020848 A KR1020060020848 A KR 1020060020848A KR 20060020848 A KR20060020848 A KR 20060020848A KR 20070091411 A KR20070091411 A KR 20070091411A
Authority
KR
South Korea
Prior art keywords
image data
header information
data
summing
individual image
Prior art date
Application number
KR1020060020848A
Other languages
Korean (ko)
Other versions
KR100771119B1 (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 KR1020060020848A priority Critical patent/KR100771119B1/en
Publication of KR20070091411A publication Critical patent/KR20070091411A/en
Application granted granted Critical
Publication of KR100771119B1 publication Critical patent/KR100771119B1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03CDOMESTIC PLUMBING INSTALLATIONS FOR FRESH WATER OR WASTE WATER; SINKS
    • E03C1/00Domestic plumbing installations for fresh water or waste water; Sinks
    • E03C1/12Plumbing installations for waste water; Basins or fountains connected thereto; Sinks
    • E03C1/22Outlet devices mounted in basins, baths, or sinks
    • E03C1/23Outlet devices mounted in basins, baths, or sinks with mechanical closure mechanisms
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03CDOMESTIC PLUMBING INSTALLATIONS FOR FRESH WATER OR WASTE WATER; SINKS
    • E03C1/00Domestic plumbing installations for fresh water or waste water; Sinks
    • E03C1/12Plumbing installations for waste water; Basins or fountains connected thereto; Sinks
    • E03C1/22Outlet devices mounted in basins, baths, or sinks
    • E03C1/23Outlet devices mounted in basins, baths, or sinks with mechanical closure mechanisms
    • E03C2001/2311Outlet devices mounted in basins, baths, or sinks with mechanical closure mechanisms the actuation force being magnetic or electromagnetic
    • 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
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/06Actuating devices; Operating means; Releasing devices electric; magnetic using a magnet, e.g. diaphragm valves, cutting off by means of a liquid
    • F16K31/0644One-way valve

Abstract

Plural image data merging methods and a device thereof are provided to merge separate image data into one image data, thereby having no need of the large amount of storage areas and having no necessity to decode each image data. An image processing apparatus includes a data merging unit(110) for merging a plurality of corresponding separate image data and generating a merged image data if an image data merging command is received(810). The data merging unit generates modification header information corresponding to a preset merging method when all restart intervals, defined to the DRI(Define Restart Interval) marker of the header information of the plurality of separate image data, are the same and generates merging image data corresponding to the modification header information(820,840,850,860).

Description

복수의 개별 영상 데이터 합산 방법 및 그 장치{Plurality of image data merging method and device thereof}A plurality of individual image data summing method and apparatus therefor {Plurality of image data merging method and device approximately}

도 1은 본 발명의 바람직한 일 실시예에 따른 영상 처리 장치의 구성도.1 is a block diagram of an image processing apparatus according to an exemplary embodiment of the present invention.

도 2는 일반적인 제이펙 데이터의 전체 구조에 관한 도면.2 is a diagram of an overall structure of general JPEG data.

도 3는 일반적인 제이펙 데이터에서 사용되는 마커를 예시한 표.3 is a table illustrating markers used in general jpeg data.

도 4는 일반적인 SOF 마커의 구조를 예시한 표.4 is a table illustrating the structure of a typical SOF marker.

도 5a는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 예시도.Figure 5a is an illustration of a summing method in accordance with a preferred embodiment of the present invention.

도 5b는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 다른 예시도.Figure 5b is another illustration of a summing method in accordance with a preferred embodiment of the present invention.

도 5c는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 또 다른 예시도.Figure 5c is another illustration of a summing method according to a preferred embodiment of the present invention.

도 6은 본 발명의 바람직한 일 실시예에 따른 수정 헤더 정보를 예시한 도면.6 is a diagram illustrating modified header information according to an embodiment of the present invention.

도 7은 본 발명의 바람직한 일 실시예에 따른 합산 영상 데이터의 구성도.7 is a block diagram of aggregated image data according to an embodiment of the present invention.

도 8은 본 발명의 바람직한 일 실시예에 따른 복수의 개별 영상 데이터 합산 방법에 대한 순서도.8 is a flowchart illustrating a method of summing a plurality of individual image data according to an exemplary embodiment of the present invention.

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

100 : 영상 처리 장치100: image processing device

110 : 데이터 합산부110: data summing unit

120 : 제이펙 코덱부 120: jpeg codec unit

120-1 : 샘플링부120-1: Sampling unit

120-2 : 이산 코사인 변환부120-2: discrete cosine transform unit

120-3 : 양자화부120-3: Quantization

120-4 : 엔트로피 코딩부120-4: entropy coding unit

120-5 : 양자화 테이블120-5: Quantization Table

120-6 : 엔트로피 코딩 테이블120-6: Entropy Coding Table

130 : 저장부130: storage unit

본 발명은 영상 데이터 처리 방법 및 그 장치에 관한 것으로, 특히 별개의 영상 데이터를 합산하는 방법 및 그 장치에 관한 것이다.The present invention relates to a video data processing method and apparatus, and more particularly, to a method and apparatus for summing separate video data.

영상 처리 장치는 디지털 카메라, 휴대폰, 컴퓨터 등 다양한 디지털 처리 장치에서 이용되며, 특히 영상 압축 기술과 관련된다. 일반적으로 영상 압축 기술 은 정지 영상인 경우 JPEG(이하 '제이펙'이라고 한다), 비디오 영상인 경우 MPEG(이하 '엠펙'이라고 한다)이 많이 이용된다. 여기서, 제이펙 표준인 ISO/IEC 10918(이하, '제이펙 표준'이라 칭함)은 오늘날 가장 많이 사용되고 있는 정지 영상 압축 포맷이다. Image processing apparatuses are used in various digital processing apparatuses, such as digital cameras, mobile phones, and computers, and are particularly related to image compression technology. In general, image compression technology is commonly used for JPEG (hereinafter referred to as `` JPEG '') in the case of still images, MPEG (hereinafter referred to as `` MPEG '') in the case of video. Here, the JPEG standard ISO / IEC 10918 (hereinafter, referred to as the 'JPEG standard') is the still image compression format which is most used today.

일반적으로 제이펙 인코더는 원본 이미지 데이터(raw data)를 8x8블록으로 나누고, 각각의 블록에 대해 이산 코사인 변환(DCT : Discrete Cosine Transformation)을 행한다. 이후 입력되는 영상 데이터(즉, 이산 코사인 변환된 원본 이미지 데이터)에 대해서 양자화를 행하고, 엔트로피 코딩을 수행한 후 헤더를 붙이고 미리 지정된 형식에 맞춰서 영상 데이터를 저장한다. In general, the JPEG encoder divides original image data into 8x8 blocks and performs Discrete Cosine Transformation (DCT) on each block. Thereafter, quantization is performed on the input image data (i.e., discrete cosine transformed original image data), entropy coding is performed, a header is added, and the image data is stored according to a predetermined format.

이후 제이펙 디코더는 제이펙 데이터(즉, 제이펙 인코더에 의해 생성되어 저장된 영상 데이터)를 읽어서 디코딩한 후 역양자화를 행하고, 각각의 블록에 대하여 역이산 코사인 변환(IDCT : Inverse Discrete Cosine Transformation)을 수행하여 원영상을 재구성한다.Then, the JPEG decoder reads and decodes the JPEG data (that is, the image data generated and stored by the JPEG encoder), dequantizes it, and performs Inverse Discrete Cosine Transformation (IDCT) on each block. To reconstruct the original image.

나아가 최근의 영상 처리 장치는 별개의 영상 데이터를 합산하여 하나의 영상 데이터로 재구성하는 기능(예를 들어, 일명 매트릭스(matrix) 촬영 기능, 파노라마(panorama) 촬영 기능 등)도 구비되어 있다. 즉, 매트릭스 및/또는 파노라마 촬영 모드에서 각각 입력된 복수의 원본 데이터(raw data)는 영상 처리 장치에 의하여 하나의 영상 데이터 데이터로 인코딩된다. 또한, 일반 촬영 모드에서 촬영되어 저장 영역에 저장된 복수개의 각 영상 데이터도 영상 처리 장치에 의하여 하나의 영상 데이터로 재구성될 수 있다. 즉, 영상 처리 장치는 각각 촬영되어 저장된 복수개의 영상 데이터를 각각 원본 데이터로 디코딩한 후 이를 재구성하여 하나의 영상 데이터로 재구성할 수 있다. Furthermore, recent image processing apparatuses are also equipped with a function (eg, a matrix imaging function, a panorama imaging function, etc.) for summing up separate image data and reconstructing it into one image data. That is, the plurality of raw data input in the matrix and / or panoramic photographing mode, respectively, are encoded into one image data data by the image processing apparatus. In addition, each of the plurality of image data captured in the normal photographing mode and stored in the storage area may be reconstructed into one image data by the image processing apparatus. That is, the image processing apparatus may reconstruct each of the plurality of image data captured and stored as original data and then reconstruct it into one image data.

그런데, 상술한 방법에 의하여 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 예를 들어, 매트릭스 및/또는 파노라마 촬영 모드에서 입력된 복수개의 원본 데이터(raw data)를 하나의 영상 데이터로 재구성하는 경우에는 복수개의 원본 데이터를 저장할 수 있는 저장 영역이 확보되어 있어야 한다. 또한, 각각 촬영되어 저장되어 있는 복수개의 영상 데이터를 하나의 영상 데이터로 재구성하는 경우에도 디코딩된 각각의 원본 데이터를 저장할 수 있는 저장 영역이 확보되어 있어야 한다. 원본 데이터는 인코딩된(즉, 압축된) 영상 데이터에 비하여 용량이 월등히 크기 때문에 대용량 저장 영역이 확보되어 있지 아니한 휴대용 디지털 처리 장치에서는 저장 영역 확보가 특히 문제된다. 즉, 휴대용 디지털 처리 장치는 단말기의 크기와 용도상 (상대적으로) 소용량의 저장 영역이 구비되어 있으므로 복수의 고용량, 고화소의 영상 데이터를 하나의 영상 데이터로 재구성할 때 많은 양의 저장 영역을 확보하기 어려운 문제점이 있다. 또한, 상술한 방법에 의하여 저장 영역에 저장되어 있는 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 각 영상 데이터를 일일이 원본 데이터로 디코딩하여야 하므로 처리 시간이 길어지는 문제점도 있다.However, when the separate image data is summed into one image data by the above-described method, for example, a plurality of raw data input in the matrix and / or panorama photographing mode are reconstructed into one image data. In this case, a storage area for storing a plurality of original data should be secured. In addition, even when reconstructing a plurality of image data, each photographed and stored into one image data, a storage area for storing each decoded original data should be secured. Since the original data has a much larger capacity than the encoded (ie, compressed) image data, the storage area is particularly problematic in a portable digital processing apparatus that does not have a large storage area. In other words, the portable digital processing apparatus includes a storage area having a relatively (relatively) small capacity in accordance with the size and purpose of the terminal, so as to secure a large amount of storage area when reconstructing a plurality of high capacity and high pixel image data into one image data. There is a difficult problem. In addition, when the separate image data stored in the storage area is summed into one image data by the above-described method, processing time is long because each image data must be decoded into original data.

따라서, 본 발명은 많은 양의 저장 영역을 차지하지 않아도 별개의 영상 데 이터를 하나의 영상 데이터로 합산할 수 있는 복수의 개별 영상 데이터 합산 방법 및 그 장치를 제공하고자 한다. Accordingly, an aspect of the present invention is to provide a plurality of individual image data summing methods and apparatuses capable of summing separate image data into one image data without occupying a large amount of storage area.

또한, 본 발명은 각 영상 데이터를 디코딩하지 않아도 저장 영역에 저장되어 있는 복수의 각 영상 데이터를 하나의 영상 데이터로 합산할 수 있는 복수의 개별 영상 데이터 합산 방법 및 그 장치를 제공하고자 한다. Another object of the present invention is to provide a plurality of individual image data summing methods and apparatuses capable of summing each of a plurality of image data stored in a storage area into one image data without decoding each image data.

또한, 본 발명은 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 처리 시간을 단축시킬 수 있는 복수의 개별 영상 데이터 합산 방법 및 그 장치를 제공하고자 한다.In addition, the present invention is to provide a plurality of individual image data summing method and apparatus capable of shortening the processing time for summing separate image data into one image data.

본 발명의 이외의 목적들은 하기의 설명을 통해 쉽게 이해될 수 있을 것이다. Other objects of the present invention will be readily understood through the following description.

상기 목적들을 달성하기 위하여, 본 발명의 일 측면에 따른 영상 처리 장치가 제공된다. In order to achieve the above objects, an image processing apparatus according to an aspect of the present invention is provided.

본 발명의 바람직한 일 실시예에 따르면 영상 데이터 합산 명령이 수신되면 상응하는 복수의 개별 영상 데이터를 합산하여 하나의 합산 영상 데이터를 생성하는 데이터 합산부를 포함하되, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하고, 상기 수정 헤더 정보에 상응하는 합산 영상 데이 터를 생성하는 것을 특징으로 하는 영상 처리 장치가 제공된다. According to an exemplary embodiment of the present invention, when an image data summing command is received, the data summing unit may include a data adder configured to add a corresponding plurality of individual image data to generate one combined image data, wherein the data adder includes the plurality of individual image data. If all of the restart intervals of the RST (Restart) markers defined in the DRI (Define Restart Interval) markers of the header information are the same, modification header information corresponding to a preset summation method is generated and corresponding to the modification header information. Provided is an image processing apparatus characterized by generating summed image data.

상기 영상 처리 장치는 제이펙 코덱부를 더 포함하되, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 개별 영상 데이터 모두의 헤더 정보 중 적어도 하나 이상에 상기 DRI 마커가 정의되지 아니한 경우에는 상기 복수의 개별 영상 데이터를 상기 제이펙 코덱부로 전송할 수 있다. The image processing apparatus may further include a Jpec codec unit, wherein the data summing unit analyzes header information of the plurality of pieces of individual image data to determine that the DRI marker is not defined in at least one of header information of all of the pieces of individual image data. The plurality of individual image data may be transmitted to the Jpec codec unit.

상기 영상 처리 장치는 제이펙 코덱부를 더 포함하되, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우에는 상기 복수의 개별 영상 데이터를 상기 제이펙 코덱부로 전송할 수 있다. The image processing apparatus further includes a Jpec codec unit, wherein the data summing unit analyzes header information of the plurality of pieces of individual image data to determine at least one value of the DRI markers defined in header information of the plurality of pieces of individual image data. If different from the rest, the plurality of pieces of individual image data may be transmitted to the JPEG codec unit.

상기 영상 처리 장치는 저장부를 더 포함하되, 상기 제이펙 코덱부는 상기 데이터 합산부로부터 전송받은 상기 복수의 개별 영상 데이터를 원본 데이터(raw data)로 각각 디코딩하여 미리 설정된 방식에 의하여 합산한 후 이를 다시 인코딩하여 상기 저장부에 저장할 수 있다. The image processing apparatus further includes a storage unit, wherein the Jpec codec unit decodes the plurality of individual image data received from the data summing unit into raw data, adds them by a preset method, and then adds them again. It can be encoded and stored in the storage.

상기 수정 헤더 정보는 상기 복수의 헤더 정보 중 임의의 헤더 정보에 포함된 영상의 수직 크기 및 수평 크기에 대한 정보를 수정한 것일 수 있다. The modified header information may be a modification of information on a vertical size and a horizontal size of an image included in arbitrary header information among the plurality of header information.

상기 목적들을 달성하기 위하여, 본 발명의 일 측면에 따른 복수의 개별 영상 데이터 합산 방법이 제공된다. In order to achieve the above objects, a plurality of individual image data summing method according to an aspect of the present invention is provided.

본 발명의 바람직한 일 실시예에 따르면, 복수의 개별 영상 데이터 합산 방 법에 있어서, 데이터 합산부가 데이터 합산 명령에 상응하는 복수의 개별 영상 데이터의 헤더 정보를 분석하여 각 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)을 독출하는 단계; 상기 데이터 합산부가 상기 복수의 RST 마커의 간격을 비교하는 단계; 상기 데이터 합산부가 상기 복수의 RST 마커의 간격이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하는 단계; 및 상기 데이터 합산부가 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 단계를 포함하는 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법이 제공된다. According to an exemplary embodiment of the present invention, in a plurality of individual image data summing methods, a data adding unit analyzes header information of a plurality of individual image data corresponding to a data summing command to define DRI (Define Restart Interval) of each header information. Reading a restart interval of the RST (Restart) marker defined in the marker; Comparing the intervals of the plurality of RST markers by the data summing unit; Generating, by the data summing unit, modified header information corresponding to a preset summing method when the intervals of the plurality of RST markers are all the same; And generating, by the data summing unit, aggregated image data corresponding to the corrected header information.

상기 복수의 개별 영상 데이터 합산 방법은 상기 데이터 합산부가 상기 복수의 개별 영상 데이터 모두의 헤더 정보에 상기 DRI 마커가 정의되어 있는지 판단하는 단계; 및 상기 데이터 합산부가 상기 개별 영상 데이터 모두의 헤더 정보 중 적어도 하나 이상에 상기 DRI 마커가 정의되지 아니한 경우에는 상기 복수의 개별 영상 데이터를 제이펙 코덱부로 전송하는 단계를 더 포함할 수 있다. The plurality of individual image data summing methods may include: determining whether the DRI marker is defined in header information of all of the plurality of individual image data units by the data summing unit; And when the DRI marker is not defined in at least one or more of header information of all the individual image data, transmitting the plurality of individual image data to the JPEG codec unit.

상기 복수의 개별 영상 데이터 합산 방법은 상기 데이터 합산부가 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커를 독출하여 비교하는 단계; 및 상기 데이터 합산부가 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우에는 상기 복수의 개별 영상 데이터를 제이펙 코덱부로 전송하는 단계를 더 포함할 수 있다. The plurality of individual image data summing methods may include: comparing, by the data summing unit, header information of the plurality of individual image data to read and compare the DRI markers defined in the header information of the plurality of individual image data; And transmitting the plurality of pieces of individual image data to a JPEG codec unit when at least one or more values of the DRI markers defined in the header information of the plurality of pieces of individual image data are different from others. Can be.

상기 복수의 개별 영상 데이터 합산 방법은 상기 제이펙 코덱부가 상기 데 이터 합산부로부터 전송받은 상기 복수의 개별 영상 데이터를 원본 데이터(raw data)로 각각 디코딩하는 단계; 상기 제이펙 코덱부가 상기 디코딩된 복수의 원본 데이터를 미리 설정된 방식에 의하여 합산하는 단계; 및 상기 제이펙 코덱부가 상기 합산된 원본 데이터를 다시 인코딩하여 상기 저장부에 저장하는 단계를 더 포함할 수 있다. The plurality of individual image data summing methods may include: decoding the plurality of individual image data received from the data summing unit into raw data by the J-CODEC coder; Summing the decoded plurality of original data by the J-CODEC coder by a preset method; The JPEG codec unit may further include re-encoding the summed original data and storing the encoded original data in the storage unit.

상기 수정 헤더 정보는 상기 복수의 헤더 정보 중 임의의 헤더 정보에 포함된 영상의 수직 크기 및 수평 크기에 대한 정보를 수정한 것일 수 있다. The modified header information may be a modification of information on a vertical size and a horizontal size of an image included in arbitrary header information among the plurality of header information.

상기 목적들을 달성하기 위하여, 본 발명의 일 측면에 따른 멀티미디어 프로세서가 제공된다. In order to achieve the above objects, there is provided a multimedia processor according to an aspect of the present invention.

본 발명의 바람직한 일 실시예에 따르면, 영상 데이터 합산 명령이 수신되면 상응하는 복수의 개별 영상 데이터를 합산하여 하나의 합산 영상 데이터를 생성하는 데이터 합산부를 포함하되, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하고, 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 것을 특징으로 하는 멀티미디어 프로세서가 제공된다. According to an exemplary embodiment of the present invention, when an image data summing command is received, the data summing unit includes a data summing unit configured to add a plurality of corresponding individual image data to generate one sum image data, wherein the data summing unit comprises the plurality of individual images. If all of the restart intervals of the RST (Restart) markers defined in the DRI (Define Restart Interval) markers of the header information of the data are the same, modification header information corresponding to a preset summation method is generated, and the modification header information A multimedia processor is provided which generates corresponding summed image data.

상기 목적들을 달성하기 위하여, 본 발명의 일 측면에 따른 프로그램을 기록한 기록매체가 제공된다.In order to achieve the above objects, a recording medium for recording a program according to an aspect of the present invention is provided.

본 발명의 바람직한 일 실시예에 따르면, 영상 처리 장치 또는 멀티미디어 프로세서에서의 복수의 개별 영상 데이터 합산 프로그램을 기록한 기록매체에 있어서, 데이터 합산 명령에 상응하는 복수의 개별 영상 데이터의 헤더 정보를 분석하여 각 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)을 독출하는 기능; 상기 복수의 RST 마커의 간격을 비교하는 기능; 상기 복수의 RST 마커의 간격이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하는 기능; 및 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 기능을 포함하는 기능을 포함하는 프로그램이 기록된 기록매체가 제공된다. According to a preferred embodiment of the present invention, in a recording medium on which a plurality of individual image data summing programs are recorded in an image processing apparatus or a multimedia processor, header information of a plurality of individual image data corresponding to a data summing command is analyzed and analyzed. Reading a restart interval of an RST (Restart) marker defined in a DRI (Define Restart Interval) marker of the header information; Comparing intervals of the plurality of RST markers; Generating modified header information corresponding to a preset summation method when all of the plurality of RST markers have the same interval; And a function including a function of generating aggregated image data corresponding to the corrected header information.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명한다. 본 명세서에서 동일 또는 유사한 구성 요소를 구분하기 위해 부가되는 서수(예를 들어, 제1, 제2)는 각 구성 요소가 각 단락 또는 명세서 전반적인 설명을 위해 기재되는 순서에 따라 부가한 것에 불과하며, 이는 각 구성 요소의 명칭을 특정하거나 권리범위를 제한하기 위한 것이 아님을 유념하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Ordinal numbers (eg, first and second) added to distinguish the same or similar components in the present specification are merely added in the order in which each component is described for each paragraph or description. It should be noted that this is not intended to specify the name of each component or to limit the scope of rights.

이하의 내용은 단지 본 발명의 원리를 예시한다. 그러므로 당업자는 비록 본 명세서에 명확히 설명되거나 도시되지 않았지만, 본 발명의 원리를 구현하고 본 발명의 개념과 범위에 포함된 다양한 방법 및 이를 사용하는 장치를 발명할 수 있는 것이다. 또한, 본 발명의 원리, 관점 및 실시예들 뿐만 아니라 특정 실시예를 열거하는 모든 상세한 설명은 구조적 및 기능적 균등물을 포함하도록 의도되는 것 으로 이해되어야 한다. The following merely illustrates the principles of the invention. Therefore, those skilled in the art, although not explicitly described or shown herein, can embody the principles of the present invention and invent various methods and apparatus using the same that are included in the concept and scope of the present invention. In addition, it is to be understood that all details, including the principles, aspects, and embodiments of the present invention, as well as listing specific embodiments, are intended to include structural and functional equivalents.

도 1은 본 발명의 바람직한 일 실시예에 따른 영상 처리 장치의 구성도이고, 도 2는 일반적인 제이펙 데이터의 전체 구조에 관한 도면이고, 도 3는 일반적인 제이펙 데이터에서 사용되는 마커를 예시한 표이다. 도 4는 일반적인 SOF 마커의 구조를 예시한 표이고, 도 5a는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 예시도이고, 도 5b는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 다른 예시도이고, 도 5c는 본 발명의 바람직한 일 실시예에 따른 합산 방법에 대한 또 다른 예시도이다. 도 6은 본 발명의 바람직한 일 실시예에 따른 수정 헤더 정보를 예시한 도면이고, 도 7은 본 발명의 바람직한 일 실시예에 따른 합산 영상 데이터의 구성도이다. FIG. 1 is a block diagram of an image processing apparatus according to an exemplary embodiment of the present invention, FIG. 2 is a diagram of an entire structure of general JPEG data, and FIG. 3 is a table illustrating markers used in general JPEG data. to be. 4 is a table illustrating a structure of a general SOF marker, Figure 5a is an illustration of a summing method according to a preferred embodiment of the present invention, Figure 5b is a summing method according to a preferred embodiment of the present invention Another exemplary diagram, Figure 5c is another exemplary diagram for the summation method according to a preferred embodiment of the present invention. 6 is a diagram illustrating modified header information according to a preferred embodiment of the present invention, and FIG. 7 is a block diagram of aggregated image data according to a preferred embodiment of the present invention.

도 1을 참조하면, 본 발명의 바람직한 일 실시예에 따른 영상 처리 장치(100)는 데이터 합산부(110), 제이펙 코덱부(120), 및 저장부(130)를 포함할 수 있다. Referring to FIG. 1, an image processing apparatus 100 according to an exemplary embodiment of the present invention may include a data summing unit 110, a Jpec codec unit 120, and a storage unit 130.

제이펙 코덱부(120)는 샘플링부(120-1), 이산 코사인 변환부(120-2), 양자화부(120-3), 엔트로피 코딩부(120-4), 양자화 테이블(120-5), 엔트로피 코딩 테이블(120-6)을 포함할 수 있다. The J-CODEC coder 120 includes a sampling unit 120-1, a discrete cosine transform unit 120-2, a quantization unit 120-3, an entropy coding unit 120-4, and a quantization table 120-5. The entropy coding table 120-6 may be included.

또한, 비록 도시되지는 않았지만 본 발명의 바람직한 일 실시예에 따른 영상 처리 장치(100)는 사용자의 버튼 조작을 입력받아 상응하는 신호를 발생시키는 입력부, 촬상된 영상을 외부로 표시하는 표시부 등을 더 포함할 수 있음은 자명하 다. In addition, although not shown, the image processing apparatus 100 according to an exemplary embodiment of the present invention further includes an input unit for receiving a user's button operation to generate a corresponding signal, a display unit for displaying the captured image to the outside, and the like. It may be included.

우선, 이해와 설명의 편의를 위하여 도 2를 참조하여 일반적인 제이펙 데이터의 전체 구조에 대하여 간략히 설명한다. 도 2에서 보여지는 바와 같이, 제이펙 데이터는 파일 헤더(file header), 테이블(table) 정보, 프레임(frame) 정보 및 스캔(scan) 정보 등과 같은 여러 개의 블록으로 나뉘어져 있다. 그리고 각각의 블록은 마커(marker)에 의해 구분되어지며, 각각의 마커는 hFF(여기서, h는 16진수임을 나타내는 식별자임)로 시작되는 두 바이트 데이터로 마커 만으로 끝나는 것도 있으며, 마커 뒤에 추가 데이터가 붙는 것도 있다. 마커 뒤에 추가적으로 데이터가 붙는 경우에는 마커 뒤에 두 바이트의 데이터 길이 정보를 포함한 정보가 위치하며, 그 다음에 추가 데이터 정보가 위치하게 된다. 이하, 이해와 설명의 편의를 위하여 파일 헤더, 테이블 정보, 프레임 정보 및 스캔 정보를 '헤더 정보'라 통칭한다. First, for convenience of understanding and explanation, the overall structure of the general JPEG data will be briefly described with reference to FIG. 2. As shown in FIG. 2, the JPEG data is divided into a plurality of blocks such as a file header, table information, frame information, scan information, and the like. Each block is separated by a marker, and each marker is two-byte data starting with hFF (where h is an hexadecimal identifier) and ends with a marker alone. There is also a stick. If additional data is attached after the marker, information including two bytes of data length information is placed after the marker, and then additional data information is placed. Hereinafter, file header, table information, frame information, and scan information are collectively referred to as 'header information' for convenience of understanding and explanation.

제이펙 데이터의 전체 구조는 도 3에 예시된 마커들에 의해 각각의 블록이 구분된다. 제이펙에서 사용되는 마커는 도 3에 예시된 바와 같이, RST(Restart), SOI(Start Of Image), EOI(End Of Image), SOF(Start Of Frame), DHT(Define Huffman Tables), SOS(Start Of Scan), DQT(Define Quantization Tables), DRI(Define Restart Interval) 등이 존재한다. 이하 각 마커에 대해 설명하기로 하며, 각 마커를 위한 식별자는 현재 통상적으로 이용되는 것을 중심으로 설명한다. 따라서, 각 마커를 위한 식별자는 이에 제한되지는 않으며 편의상 또는 필요에 따라 변경될 수 있음은 자명하다.The overall structure of the JPEG data is divided into respective blocks by the markers illustrated in FIG. 3. As shown in FIG. 3, the markers used in the JPE include: Restart (RST), Start Of Image (SOI), End Of Image (EOI), Start Of Frame (SOF), Define Huffman Tables (DHT), and SOS ( Start Of Scan, Define Quantization Tables (DQT), Define Restart Interval (DRI), and the like. Hereinafter, each marker will be described, and an identifier for each marker will be described based on what is currently commonly used. Thus, it is apparent that the identifier for each marker is not limited thereto and can be changed for convenience or need.

RST 마커는 DRI 마커에 의하여 지정되는 간격(Restart Interval)에 따라 MCU(Minimum Coded Unit) 사이에 삽입되는 마커로서, RST 마커 바로 다음부터 독립한 새로운 MCU가 시작된다. 즉, 제이펙 디코더(120)가 RST 마커 다음에 위치한 MCU를 디코드하는 경우에는 앞에서 이미 디코딩한 다른 MCU를 참조하지 아니한다. RST 마커는 hFFD0 내지 hFFD7로 시작할 수 있고, 추가 데이터는 포함하지 않는다. The RST marker is a marker inserted between a minimum coded unit (MCU) at a restart interval specified by the DRI marker, and an independent new MCU starts immediately after the RST marker. That is, when the JPEG decoder 120 decodes the MCU located after the RST marker, it does not refer to another MCU previously decoded. RST markers may begin with hFFD0 through hFFD7 and do not contain additional data.

SOI 마커는 제이펙 데이터의 제일 처음에 기록되며, 주로 JFIF(JPEG file interchange format, JPEG 파일 구조는 JFIF 임을 의미하며, 본 명세서에서는 JPEG과 동일한 의미로 사용됨) 임을 확인하는 용도로 사용된다. SOI 마커는 항상 hFFD8(여기서, h는 16진수임을 나타내는 식별자임)로 시작하며, 추가 데이터 길이를 포함하는 데이터 길이(Data length) 정보, 식별자(Identifier) 정보 등을 더 포함할 수도 있다. The SOI marker is recorded at the beginning of the JPEG data, and is mainly used to confirm that it is JFIF (JPEG file interchange format, which means that the JPEG file structure is JFIF and is used in the same sense as JPEG). The SOI marker always starts with hFFD8 (where h is an identifier indicating that it is hexadecimal) and may further include data length information, identifier information, and the like including additional data length.

EOI 마커는 제이펙 파일의 제일 마지막에 기록되며, 원본 영상 데이터의 마지막임을 나타낸다. EOI 마커는 항상 hFFD9(여기서, h는 16진수임을 나타내는 식별자임)로 시작하며, 일반적으로 추가 데이터가 부가되지는 않는다. The EOI marker is recorded at the end of the JPEG file, indicating that it is the end of the original image data. The EOI marker always starts with hFFD9 (where h is an identifier indicating that it is hexadecimal) and generally no additional data is added.

SOF 마커는 제이펙 이미지 파일의 이미지의 크기 및 샘플링에 관한 정보를 보관하는 블록으로, 항상 hFFC0 내지 hFFC2로 시작한다. SOF 마커는 도 4에 예시된 바와 같이 추가 데이터 길이 정보를 나타내는 2 바이트(byte) 데이터 길이 정보, 샘플링 비트 수를 나타내는 1바이트의 정보 등을 포함할 수 있다. 그리고, SOF 마커는 1바이트의 Y, Cb, Cr 성분의 수의 정보를 나타내는 컴포넌트 개수(No. of components) 정보를 포함할 수 있다.The SOF marker is a block that holds information about the size and sampling of an image of a JPEG image file, and always starts with hFFC0 to hFFC2. As illustrated in FIG. 4, the SOF marker may include 2 byte data length information indicating additional data length information, 1 byte information indicating the number of sampling bits, and the like. The SOF marker may include component number (No. of components) information indicating information of the number of 1-byte Y, Cb, and Cr components.

DRI 마커는 RST 마커의 간격을 정의하는 블록으로서 항상 hFFDD로 시작한 다. DRI 마커는 추가 데이터를 포함할 수 있는데, 추가 데이터에는 RST 마커의 간격이 MCU 단위로 정의된다. 예를 들어, DRI 마커에 포함되는 추가 데이터의 값이 '100'인 경우, RST 마커 사이에 100개의 MCU가 존재한다.DRI markers are blocks that define the spacing of RST markers and always start with hFFDD. The DRI marker may include additional data, wherein the interval of the RST marker is defined in MCU units. For example, when the value of the additional data included in the DRI marker is '100', 100 MCUs exist between the RST markers.

여기에서, 제이펙 파일의 비트스트림에 포함된 마커들은 반드시 동일한 순서로 저장되지 않을 수도 있다. 즉, 제이펙 파일의 헤더 정보는 SOI 마커로 시작하여 EOI 마커로 그 끝을 정의하며, SOI 마커와 EOI 마커 내에 포함되는 마커들의 순서는 동일하지 않을 수도 있다.Here, the markers included in the bitstream of the JPEG file may not necessarily be stored in the same order. That is, the header information of the JPEG file starts with the SOI marker and defines the end with the EOI marker, and the order of the markers included in the SOI marker and the EOI marker may not be the same.

다시 도 1을 참조하면, 데이터 합산부(110)는 영상 데이터 합산 명령을 수신하여 상응하는 복수의 개별 영상 데이터를 저장부(130)에서 독출한다. 여기에서 영상 데이터 합산 명령이란, 사용자의 메뉴 항목의 선택 또는 버튼 조작 등에 상응하여 입력부(도시되지 않음) 등에서 발생된 신호일 수 있다. 즉, 입력부는 메트릭스 촬영 모드(즉, 연속적으로 촬영된 복수의 개별 영상 데이터가 하나의 영상 데이터로 조합되는 촬영 모드)에서 미리 설정된 횟수만큼의 버튼 조작이 입력되면 영상 데이터 합산 명령을 발생시킨 후, 데이터 합산부(110)로 출력할 수 있다. 예를 들어, 합산할 영상 데이터가 n개로 미리 설정되어 있는 경우, 입력부는 n번의 버튼 조작(예를 들어, '셔터'버튼 등)이 입력되면 영상데이터 합산 명령을 발생시켜 데이터 합산부(110)로 출력할 수 있다. Referring back to FIG. 1, the data summing unit 110 receives an image data summing command and reads a plurality of corresponding individual image data from the storage 130. The image data summing command may be a signal generated from an input unit (not shown) or the like corresponding to a user's selection of a menu item or a button operation. That is, the input unit generates an image data summing command when a predetermined number of button manipulations are input in the matrix photographing mode (that is, a photographing mode in which a plurality of individual image data photographed continuously are combined into one image data). The data may be output to the adder 110. For example, when the number of video data to be summed is preset to n, the input unit generates an image data summing command when n button manipulations (for example, a 'shutter' button) are input to the data summing unit 110. You can output

복수의 개별 영상 데이터를 종래의 방법으로 합산하여 영상 데이터를 생성하는 과정은 본 발명과는 무관하고, 당업자에 있어서 자명한 바, 이에 대한 상세한 설명은 생략한다. The process of generating the image data by summing a plurality of individual image data by a conventional method is irrelevant to the present invention and will be apparent to those skilled in the art, and a detailed description thereof will be omitted.

반대로, 모든 개별 영상 데이터의 헤더 정보에 DRI 마커가 존재하는 경우, 데이터 합산부(110)는 모든 개별 영상 데이터의 헤더 정보의 DRI 마커에 정의되어 있는 RST 마커의 간격을 독출한다. On the contrary, when the DRI marker exists in the header information of all the individual image data, the data summing unit 110 reads the interval of the RST markers defined in the DRI marker of the header information of all the individual image data.

또한, 데이터 합산부(110)는 독출한 복수의 RST 마커의 간격(즉, DRI 마커에 정의되어 있는 값)을 상호 비교한다. 비교 결과, 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우, 데이터 합산부(110)는 복수의 개별 영상 데이터를 제이펙 코덱부(120)로 전송한다. 이는 복수의 개별 영상 데이터를 종래의 방법으로 합산하여 하나의 영상 데이터를 생성하기 위함이다. 그 이유는 상술한 바와 동일하다. 즉, 제이펙 표준에 의하면 하나의 영상 데이터는 DRI 마커를 정의함에 있어서 하나의 값만을 취할 수 있기 때문이다. In addition, the data summing unit 110 compares the intervals (ie, values defined in the DRI markers) of the read plurality of RST markers. As a result of the comparison, when at least one or more values of the DRI markers defined in the header information of the plurality of individual image data are different from the rest, the data summing unit 110 transmits the plurality of individual image data to the JPEG codec unit 120. send. This is to generate one image data by summing a plurality of individual image data in a conventional method. The reason is the same as described above. That is, according to the JPEG standard, one image data may take only one value in defining the DRI marker.

반대로, 독출한 RST 마커의 간격이 모두 동일한 경우, 데이터 합산부(110)는 수정 헤더 정보(630)를 생성한다. 도 5a에 예시된 합산 영상 데이터(500)는 제1 영상 데이터(510) 및 제2 영상 데이터(520)를 수평으로 합산한 데이터이다. 여기에서 제1 영상 데이터(510) 및 제2 영상 데이터(520)는 'YUV422 2:1' 포맷(format)의 제이펙 데이터이고, 해상도는 '320x240'(10진수)(수평크기x수직크기, 이하 동일한 순서임), DRI 마커는 '14(16진수)'로 정의된 경우를 가정한다. YUV422 2:1 포맷은 영상 데이터의 MCU 하나가 Y(광도) 2개, U(파랑색도) 1개, V(빨강색도) 1개로 이루어진 경우를 의미한다. 인간의 눈은 색도에 비하여 광도에 더욱 민감하기 때문에 원본 데이터(raw data)를 영상 데이터(제이펙 데이터)로 압축함에 있어서 YUV422 2:1 포맷이 주로 사용된다. 이때, 하나의 MCU는 16x8의 해상도를 가지게 된다. 따라서, DRI 마커는 14(16진수)'로 정의된 경우에는 RST 마커가 '320x8'(10진수) 마다 삽입된다. 즉, 20(10진수)개의 MCU 마다 RST 마커가 삽입된다. On the contrary, when the intervals of the read RST markers are all the same, the data summing unit 110 generates the correction header information 630. The combined image data 500 illustrated in FIG. 5A is data obtained by horizontally adding the first image data 510 and the second image data 520. Here, the first image data 510 and the second image data 520 are JPEG data of the 'YUV422 2: 1' format, and the resolution is '320x240' (decimal) (horizontal size x vertical size, In the same order), the DRI marker is assumed to be defined as '14 (hexadecimal) '. The YUV422 2: 1 format refers to the case where one MCU has two Y (luminance), one U (blue), and one V (red) image data. Since the human eye is more sensitive to luminosity than chromaticity, the YUV422 2: 1 format is mainly used for compressing raw data into image data (JPEG data). At this time, one MCU has a resolution of 16x8. Therefore, when the DRI marker is defined as 14 (hexadecimal), the RST marker is inserted every '320x8' (decimal). That is, an RST marker is inserted for every 20 (decimal) MCUs.

도 6을 참조하면, 제1 영상 데이터(510)의 SOF 마커(600)에는 수직 크기 '32(10진수)'에 해당하는 '01 40(16진수)'(620), 수평 크기 '240(10진수)'에 해당하는 '00 F0(16진수)'(610)값이 각각 2바이트씩 존재한다. 그런데, 합산 영상 데이터(500)는 제1 영상 데이터(510) 및 제2 영상 데이터(520)를 수평으로 합산한 데이터이므로 해상도는 '640x240'으로 수정되어야 한다. Referring to FIG. 6, the SOF marker 600 of the first image data 510 includes '01 40 (hexadecimal) '620 corresponding to the vertical size '32 (decimal number)' 620 and the horizontal size '240 (10'). '00 F0 (hexadecimal) '610 corresponding to' decimal number 'exists for 2 bytes each. However, since the sum image data 500 is data obtained by horizontally summing the first image data 510 and the second image data 520, the resolution should be corrected to '640x240'.

따라서, 데이터 합산부(110)는 이러한 제1 영상 데이터(510)의 헤더 정보를 임의의 저장 영역(예를 들어, 버퍼 등)에 저장한 후, '320x240'의 해상도를 '640x240'의 해상도로 수정하기 위하여 수직크기에 대한 정보인'00 F0'(610)는 수정하지 아니하고, 수평크기에 대한 '01 40'(620)을 '02 80'(640)으로 수정할 수 있다(단, 610 내지 640은 16진수). 수정된 헤더 정보(이하, '수정 헤더 정보'라 칭함)(630)는 도 6에 예시된 바와 같다. 즉, 수정 헤더 정보(630)의 SOF 마커(630)에는 수평크기 '640(10진수)'에 해당하는 '02 80(16진수)'(640), 수직크기 '240(10진수)'에 해당하는 '00 F0(16진수)'(630)값이 각각 2바이트씩 존재한다. 데이터 합산부(110)는 생성된 수정 헤더 정보(630)를 저장부(130) 및/또는 임의의 저장부(예를 들어, 버퍼 등)에 저장할 수 있다.Accordingly, the data summing unit 110 stores the header information of the first image data 510 in an arbitrary storage area (for example, a buffer, etc.), and then converts the resolution of '320x240' to the resolution of '640x240'. In order to correct, the information '00 F0 '610, which is information on the vertical size, may be modified, and the '01 40' 620 for the horizontal size may be modified to '02 80 '640 (however, 610 to 640). Is a hexadecimal number). The modified header information (hereinafter, referred to as 'modification header information') 630 is as illustrated in FIG. 6. That is, the SOF marker 630 of the modified header information 630 corresponds to '02 80 (hexadecimal number) '640 and the vertical size' 240 (decimal number) 'corresponding to the horizontal size' 640 (decimal number) '. '00 F0 (hexadecimal) '630 values exist for 2 bytes each. The data summing unit 110 may store the generated modified header information 630 in the storage 130 and / or any storage unit (eg, a buffer, etc.).

여기에서는 제1 영상 데이터(510)의 헤더 정보에 DRI 마커가 '20(10진수)'으로 정의된 경우를 가정하였으나, 제이펙 표준에 따르면 DRI 마커에는 RST 마커의 간격의 값이 자유로이 정의될 수 있으므로, 수정 헤더 정보(630)는 다양한 해상도로 생성될 수 있음은 자명하다. 또한, 제1 영상 데이터(510)(즉, 합산 데이터(500)를 구성하는 복수의 개별 영상 데이터 중 좌측 최상단에 위치한 영상 데이터)를 기준으로 하여 수정 헤더 정보(630)가 생성되었으나, 나머지 영상 데이터의 헤더 정보를 기준으로 하여도 동일한 결과를 얻을 수 있음은 지명하다. 또한, 제1 영상 데이터(510) 및 제2 영상 데이터(520)를 수직으로 합산한 경우(도 5b 참조)에도 상술한 방법에 의하여 수정 헤더 정보(630)를 생성할 수 있다. 예를 들어, 상술한 실시예에서, 수평 크기에 대한 정보(01 40)(620)는 수정하지 아니하고, 수직 크기에 대한 정보(00 F0)(610)를 상응하도록(즉, 480(10진수)에 상응하는 '01 E0'(16진수)) 수정할 수 있다. 또한, 상기에서는 2개의 영상 데이터를 합산하는 경우에 대해서만 설명하였으나 2개 이상의 영상 데이터를 합산하는 경우에도 상술한 바와 같이 수평 크기 및/또는 수직 크기에 대한 정보를 수정하여 동일한 결과를 얻을 수 있음은 자명하다. 예를 들어, 4개의 영상 데이터를 합산하는 경우(도 5c 참조)에는 상술한 2개의 영상 데이터를 수평으로 합산한 경우 및 수직으로 합산한 경우를 조합하면 동일한 결과를 얻을 수 있다. 또한, 합산 영상 데이터를 구성하는 복수의 개별 영상 데이터의 개수 및/또는 합산 방법(즉, 수평 및/또는 수직 합산) 등은 사용자에 의하여 미리 설정될 수 있음은 자명하다. Herein, it is assumed that the DRI marker is defined as '20 (decimal) 'in the header information of the first image data 510. However, according to the Jpec standard, an interval value of the RST marker may be freely defined in the DRI marker. Therefore, it is obvious that the modified header information 630 can be generated at various resolutions. In addition, the corrected header information 630 is generated based on the first image data 510 (that is, image data located at the top left of the plurality of individual image data constituting the summing data 500). The same result can be obtained based on the header information. In addition, even when the first image data 510 and the second image data 520 are vertically summed (see FIG. 5B), the modified header information 630 may be generated by the above-described method. For example, in the above-described embodiment, the information about the horizontal size (01 40) 620 is not modified and corresponds to the information about the vertical size (00 F0) 610 (i.e., 480 (decimal)). Corresponding to '01 E0 '(hexadecimal)). In the above description, only the case of summing two image data is described, but in the case of summing two or more image data, the same result can be obtained by modifying the information about the horizontal size and / or the vertical size as described above. Self-explanatory For example, in the case of summing up the four image data (see FIG. 5C), the same result can be obtained by combining the case in which the two image data described above are horizontally summed and the vertical summation. In addition, it is apparent that the number and / or summation method (ie, horizontal and / or vertical summation) of the plurality of individual image data constituting the summed image data may be preset by the user.

다시 도 1을 참조하면, 데이터 합산부(110)는 수정 헤더 정보(630)에 상응하도록 합산 영상 데이터(500)를 생성한다. 도 7을 참조하면, 제1 영상 데이터(510)는 제1 헤더 정보(610), 제1 MCU 그룹(710-1), 제3 MCU 그룹(710-3), …, 제k MCU 그룹(710-k, 단 k는 홀수(이하 동일함)), 하나 이상의 RST 마커(730) 및 EOI 마커(740)를 포함할 수 있다. 또한, 제2 영상 데이터(520)는 제2 헤더 정보(620), 제2 MCU 그룹(720-2), 제4 MCU 그룹(720-4), …, 제m MCU 그룹(720-m, 단 m은 짝수(이하 동일함)), 하나 이상의 RST 마커(730) 및 EOI 마커(740)를 포함할 수 있다. 여기에서는 제1 영상 데이터(510)가 홀수(즉, k)의 서수가 부가된 MCU 그룹을, 제2 영상 데이터(520)가 짝수(m)의 서수가 부가된 MCU 그룹을 각각 포함하는 것으로 표시되었으나, 이는 이해와 설명의 편의를 위하여 부가한 것일 뿐 당해 발명의 권리 범위를 제한하기 위한 것이 아니다. 즉, 각 영상 데이터는 각각 독립적인 복수의 MCU 그룹을 포함한다. 예를 들어, 제1 영상 데이터(510) 및 제2 영상 데이터(520)의 해상도가 '320x240'이고, DRI 마커에는 RST 마커의 간격이 '20(10진수)'으로 정의된 경우(YUV422 2:1 포맷인 경우를 가정), 제1 영상 데이터(510) 및 제2 영상 데이터(520)는 30(10진수)개의 MCU 그룹을 포함한다(즉 n=30). Referring back to FIG. 1, the data summing unit 110 generates summed image data 500 to correspond to the corrected header information 630. Referring to FIG. 7, the first image data 510 may include the first header information 610, the first MCU group 710-1, the third MCU group 710-3,. , K-th MCU group 710-k, where k is an odd number (hereinafter, the same is the same), one or more RST markers 730, and an EOI marker 740. Also, the second image data 520 may include the second header information 620, the second MCU group 720-2, the fourth MCU group 720-4,. , M-th MCU group 720-m, where m is an even number (hereinafter, the same is the same), one or more RST markers 730, and an EOI marker 740. In this case, the first image data 510 indicates that the MCU group to which the odd (i.e., ord) k is added, and the second image data 520 includes the MCU group to which the even (m) ordinal is added, respectively. However, this is only for the convenience of understanding and explanation, but is not intended to limit the scope of the invention. That is, each image data includes a plurality of independent MCU groups. For example, the resolution of the first image data 510 and the second image data 520 is' 320x240 ', and the interval between the RST markers is defined as '20 (decimal)' in the DRI marker (YUV422 2: Assuming a case of one format), the first image data 510 and the second image data 520 include 30 (decimal) MCU groups (that is, n = 30).

따라서, 데이터 합산부(110)는 수정 헤더 정보(630), 제k MCU 그룹(710-k), 제m MCU그룹(720-m), 복수의 RST 마커(730) 및 EOI 마커(740)를 포함하는 합산 영상 데이터(500)를 생성할 수 있다. 즉, 데이터 합산부(110)는 제1 MCU 그룹(710-1)부터 제m MCU 그룹(720-m)을 순차적으로 복사하여 수정 헤더 정보(630)와 순차적으로 합산하고, 각 MCU 그룹 사이에 RST 마커(730)를 삽입하고, 제m MCU 그룹(720-m)을 합산한 후 EOI 마커(740)를 삽입하여 합산 영상 데이터(630)를 생성할 수 있다. Accordingly, the data summing unit 110 may use the modified header information 630, the k-th MCU group 710-k, the m-th MCU group 720-m, the plurality of RST markers 730, and the EOI markers 740. The aggregated image data 500 may be generated. That is, the data summing unit 110 sequentially copies the first MCU group 710-1 to the m-th MCU group 720-m, and sequentially adds the modified header information 630 to each other, and between the MCU groups. The RST marker 730 may be inserted, the m-th MCU group 720-m may be added, and the EOI marker 740 may be inserted to generate the summed image data 630.

이때 제1 영상 데이터(510)에서는 제k MCU 그룹 뒤에 EOI 마커(740)가 삽입되어 있으나 합산 영상 데이터(630)에서는 RST 마커(730)로 수정되어야 함에 유의 하여야 한다. 즉, 데이터 합산부(110)는 제k MCU 그룹을 합산한 후 EOI 마커(740)를 RST 마커로 수정하여 합산할 수 있다. 또한, 제이펙 표준에 의하면 RST 마커는 'RST0'(FFDO) 내지 'RST7'(FFD7) 까지 위치하는 순서에 따라 정의될 수 있으므로(도 3 참조), 데이터 합산부(110)는 RST 마커가 합산 영상 데이터에 위치하는 순서에 상응하도록 정보를 수정할 수 있다. 즉, 제2 MCU 그룹(720-2) 뒤에 삽입되는 RST 마커(730)는 제2 영상 데이터(520)에서는 'FFD0'(즉, 'RST0') 값으로 정의되어 있지만, 합산 영상 데이터(630)에서는 제2 MCU 그룹(720-2)이 가장 처음에 위치하는 MCU 그룹이 아닌 두번째 위치하는 MCU 그룹이므로 'FFD1'(즉, 'RST1')값으로 정의될 수 있다. 데이터 합산부(110)는 다른 RST 마커도 상술한 방법에 의하여 위치하는 순서에 상응하도록 정보가 수정할 수 있다. In this case, it should be noted that the EOI marker 740 is inserted after the k-th MCU group in the first image data 510 but should be corrected by the RST marker 730 in the summed image data 630. That is, the data summing unit 110 may add the k-th MCU group and then modify and add the EOI marker 740 to the RST marker. In addition, according to the Jpeg standard, since the RST markers may be defined in the order of 'RST0' (FFDO) to 'RST7' (FFD7) (see FIG. 3), the data summing unit 110 may add up the RST markers. The information may be modified to correspond to the order in which the image data is located. That is, although the RST marker 730 inserted after the second MCU group 720-2 is defined as a 'FFD0' (ie, 'RST0') value in the second image data 520, the summed image data 630 is used. In the second MCU group 720-2 is a group of MCUs positioned second rather than the first group of MCUs, the second MCU group 720-2 may be defined as a 'FFD1' (ie, 'RST1') value. The data summing unit 110 may modify the information to correspond to the order in which other RST markers are located by the above-described method.

다시 도 1을 참조하면, 데이터 합산부(110)는 생성된 합산 영상 데이터(500)를 저장부(130)에 저장시키거나 이를 디스플레이하기 위하여 디스플레이부(도시되지 않음) 등으로 전송할 수 있다.Referring back to FIG. 1, the data summing unit 110 may store the generated aggregated image data 500 in the storage unit 130 or transmit the generated sum image data 500 to a display unit (not shown).

여기에서, 상술한 데이터 합산부(110)는 영상 처리 장치(100) 내의 구성요소로서 설명되었다. 그러나, 본 발명의 바람직한 일 실시예에 따르면 데이터 합산부(110)는 영상 처리 장치(100)의 다른 구성 요소(예를 들어, 제이펙 코덱부(120) 등)와는 별개로서 동작할 수 있다. 따라서, 데이터 합산부(110)는 영상 처리 장치(100)와는 별개의 독립한 멀티미디어 프로세서로 구현될 수도 있음은 자명하다. 즉, 본 발명의 바람직한 일 실시예에 따른 멀티미디어 프로세서가 구비된 장치는 제이펙 코덱부(120)가 구비되지 아니하여도 복수의 개별 영상 데이터를 하나의 합산 영상 데이터로 재구성할 수 있다.Here, the data summing unit 110 described above has been described as a component in the image processing apparatus 100. However, according to an exemplary embodiment of the present invention, the data summing unit 110 may operate separately from other components of the image processing apparatus 100 (for example, the Jpec codec unit 120, etc.). Accordingly, it is apparent that the data summing unit 110 may be implemented as a multimedia processor that is separate from the image processing apparatus 100. That is, a device equipped with a multimedia processor according to an exemplary embodiment of the present invention may reconstruct a plurality of individual image data into one aggregated image data even without the J-CODEC coder 120.

제이펙 코덱부(120)는 샘플링부(120-1), 이산 코사인 변환부(120-2), 양자화부(120-3), 엔트로피 코딩부(120-4), 양자화 테이블(120-5), 엔트로피 코딩 테이블(120-6)을 포함하여 구성되며, 양자화부(120-3)는 양자화 테이블(120-5)과 결합되어 기능을 수행하며, 엔트로피 코딩부(120-4)는 엔트로피 코딩 테이블(120-6)과 결합되어 기능을 수행할 수 있다. 제이펙 코덱부(120)는 압축된 원본 영상 데이터를 입력받거나 임의의 저장부로부터 독출하여 엔트로피 디코딩, 역양자화를 수행하고, 역이산 코사인 변환을 수행하여 원본 이미지를 재구성한다. 또한, 이미지 센서(도시되지 않음)를 통하여 입력된 원본 데이터(raw data)를 양자화, 엔트로피 인코딩 등의 과정을 거쳐 영상 데이터(즉, 제이펙 데이터)로 압축(인코딩)한다. 제이펙 코덱부(120)에서 원본 데이터를 인코딩하거나 인코딩된 영상 데이터를 디코딩하는 것는 당업자에게는 자명한 기술사항이므로 이에 관련된 자세한 설명은 생략하기로 한다.The J-CODEC coder 120 includes a sampling unit 120-1, a discrete cosine transform unit 120-2, a quantization unit 120-3, an entropy coding unit 120-4, and a quantization table 120-5. And an entropy coding table 120-6, and the quantization unit 120-3 is combined with the quantization table 120-5 to perform a function, and the entropy coding unit 120-4 is an entropy coding table. It may be combined with (120-6) to perform a function. The JPEG codec unit 120 receives the compressed original image data or reads it from an arbitrary storage unit to perform entropy decoding, inverse quantization, and inverse discrete cosine transform to reconstruct the original image. In addition, raw data input through an image sensor (not shown) is compressed (encoded) into image data (ie, JPEG data) through a process such as quantization and entropy encoding. Since encoding the original data or decoding the encoded image data in the JPEG codec unit 120 is well known to those skilled in the art, a detailed description thereof will be omitted.

저장부(130)는 영상 데이터를 저장한다. 특히, 데이터 합산부(110)에서 합산된 합산 영상 데이터(500)를 저장한다. The storage unit 130 stores the image data. In particular, the sum image data 500 that is added by the data summing unit 110 is stored.

도 8은 본 발명의 바람직한 일 실시예에 따른 복수의 개별 영상 데이터 합산 방법에 대한 순서도이다. 8 is a flowchart illustrating a method of summing a plurality of individual image data according to an exemplary embodiment of the present invention.

도 8을 참조하면, 먼저 데이터 합산부(110)는 영상 데이터 합산 명령을 수신하면(단계 810) 상응하는 복수의 개별 영상 데이터를 저장부(130)에서 독출한 후 , 모든 개별 영상 데이터의 헤더 정보에 DRI 마커가 정의되어 있는지 판단한다(단계 820). 여기에서 영상 데이터 합산 명령이란, 사용자의 버튼 조작에 상응하여 입력부(도시되지 않음)에서 발생된 신호일 수 있음은 상술한 바와 같다. Referring to FIG. 8, when the data summing unit 110 receives an image data summing command (step 810), the data summing unit 110 reads a plurality of corresponding individual image data from the storage unit 130, and then header information of all individual image data. It is determined whether the DRI marker is defined in step 820. Here, the video data summing command may be a signal generated by an input unit (not shown) corresponding to the user's button manipulation, as described above.

판단 결과, 개별 영상 데이터 모두의 헤더 정보 중 적어도 하나 이상에 상기 DRI 마커가 정의되어 있지 아니한 경우, 데이터 합산부(110)는 종래의 방법에 의하여 합산 영상 데이터(500)를 생성하기 위하여 복수의 개별 영상 데이터를 제이펙 코덱부(120)로 전송한다(단계 825). 즉, 제이펙 코덱부(120)는 데이터 합산부(110)로부터 전송받은 복수의 개별 영상 데이터를 원본 데이터(raw data)로 각각 디코딩하여 미리 설정된 방식에 의하여 합산한 후 이를 다시 인코딩하여 저장부(130)에 저장하거나 이를 디스플레이하기 위하여 디스플레이부(도시되지 않음) 등으로 전송할 수 있다.As a result of determination, when the DRI marker is not defined in at least one or more of header information of all the individual image data, the data summing unit 110 generates a plurality of individual image data to generate the sum image data 500 by a conventional method. The image data is transmitted to the JPEG codec unit 120 (step 825). That is, the Jpec codec unit 120 decodes a plurality of individual image data received from the data summing unit 110 into raw data, sums them by a preset method, and then encodes them again to store the storage unit ( 130 may be transmitted to a display unit (not shown) for storing or displaying the same.

여기에서, RST 마커를 포함하는 방법으로 인코딩된 영상 데이터와 RST 마커를 포함하지 않는 방법으로 인코딩된 영상 데이터를 합산하여 하나의 영상 데이터를 생성하는 경우에는 종래의 방법에 의하여야 하는 이유는 상술한 바와 같다. 여기에서, 복수의 개별 영상 데이터를 종래의 방법으로 합산하여 영상 데이터를 생성하는 과정은 본 발명과는 무관하고 당업자에 있어서 자명한 바, 이에 대한 상세한 설명은 생략한다.Here, in the case where the image data encoded by the method including the RST marker and the image data encoded by the method not including the RST marker are generated to generate one image data, the above-mentioned reason of the conventional method should be described above. As shown. Here, the process of generating the image data by summing a plurality of individual image data by a conventional method is not related to the present invention and will be apparent to those skilled in the art, and a detailed description thereof will be omitted.

반대로, 판단 결과 모든 개별 영상 데이터의 헤더 정보에 DRI 마커가 존재하는 경우, 데이터 합산부(110)는 모든 개별 영상 데이터의 헤더 정보의 DRI 마커에 정의되어 있는 RST 마커의 간격을 독출한다(단계 830). On the contrary, when the DRI marker exists in the header information of all the individual image data, the data summing unit 110 reads the interval of the RST markers defined in the DRI marker of the header information of all the individual image data (step 830). ).

단계 840에서, 데이터 합산부(110)는 독출한 복수의 RST 마커의 간격(즉, DRI 마커에 정의되어 있는 값)을 상호 비교한다. In operation 840, the data summing unit 110 compares the intervals (ie, values defined in the DRI markers) of the read plurality of RST markers.

비교 결과, 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우, 데이터 합산부(110)는 복수의 개별 영상 데이터를 제이펙 코덱부(120)로 전송한다(단계 825). 이는 복수의 개별 영상 데이터를 종래의 방법으로 합산하여 하나의 영상 데이터를 생성하기 위함이다. 그 이유는 상술한 바와 동일하다. 즉, 제이펙 표준에 의하면 하나의 영상 데이터는 DRI 마커를 정의함에 있어서 하나의 값만을 취할 수 있기 때문이다. As a result of the comparison, when at least one or more values of the DRI markers defined in the header information of the plurality of individual image data are different from the rest, the data summing unit 110 transmits the plurality of individual image data to the JPEG codec unit 120. Transmit (step 825). This is to generate one image data by summing a plurality of individual image data in a conventional method. The reason is the same as described above. That is, according to the JPEG standard, one image data may take only one value in defining the DRI marker.

그러나 비교 결과, 독출한 RST 마커의 간격이 모두 동일한 경우, 데이터 합산부(110)는 수정 헤더 정보(630)를 생성한다(단계 850). 여기에서, 합산 영상 데이터(500)는 제1 영상 데이터(510) 및 제2 영상 데이터(520)를 수평으로 합산한 데이터이고, 제1 영상 데이터(510) 및 제2 영상 데이터(520)는 'YUV422 2:1' 포맷의 제이펙 데이터이고, 해상도는 '320x240'(10진수)(수평크기x수직크기, 이하 동일한 순서임), DRI 마커는 '14(16진수)'로 정의된 경우를 가정한다. 이때 하나의 MCU는 16x8의 해상도를 가지게 된다. 따라서, DRI 마커는 14(16진수)'로 정의된 경우에는 RST 마커가 '320x8'(10진수) 마다 삽입된다. 즉, 20(10진수)개의 MCU 마다 RST 마커가 삽입된다. 이때, 수정 헤더 정보(630)의 SOF 마커(630)에는 수평크기 '640(10진수)'에 해당하는 '02 80(16진수)'(640), 수직크기 '240(10진수)'에 해당하는 '00 F0(16진수)'(630)값이 각각 2바이트씩 존재할 수 있음은 상술한 바와 같다. 또한, 도시되지는 않았으나 데이터 합산부(110)는 생성된 수정 헤더 정보(630)를 저장부 (130) 및/또는 임의의 저장부(예를 들어, 버퍼 등)에 저장할 수 있다.However, as a result of the comparison, when the intervals of the read RST markers are all the same, the data summing unit 110 generates the correction header information 630 (step 850). Here, the sum image data 500 is data obtained by horizontally summing the first image data 510 and the second image data 520, and the first image data 510 and the second image data 520 are ' YUV422 2: 1 'format, which is JPEG data, resolution is' 320x240 '(decimal) (horizontal size x vertical size, in the same order), and DRI marker is defined as '14 (hexadecimal)' do. At this time, one MCU has a resolution of 16x8. Therefore, when the DRI marker is defined as 14 (hexadecimal), the RST marker is inserted every '320x8' (decimal). That is, an RST marker is inserted for every 20 (decimal) MCUs. In this case, the SOF marker 630 of the modified header information 630 corresponds to '02 80 (hexadecimal) '640 corresponding to the horizontal size' 640 (decimal) 'and 640' 240 (decimal) '. As described above, '00 F0 (hexadecimal) '630 may exist by 2 bytes. In addition, although not shown, the data summing unit 110 may store the generated modified header information 630 in the storage 130 and / or any storage unit (eg, a buffer, etc.).

단계 860에서, 데이터 합산부(110)는 수정 헤더 정보(630)에 상응하도록 합산 영상 데이터(500)를 생성한다. 여기에서, 제1 영상 데이터(510)는 제1 헤더 정보(610), 제1 MCU 그룹(710-1), 제3 MCU 그룹(710-3), …, 제k MCU 그룹(710-k), 하나 이상의 RST 마커(730) 및 EOI 마커(740)를 포함하고, 제2 영상 데이터(520)는 제2 헤더 정보(620), 제2 MCU 그룹(720-2), 제4 MCU 그룹(720-4), …, 제m MCU 그룹(720-m), 하나 이상의 RST 마커(730) 및 EOI 마커(740)를 포함하는 경우를 가정하면 제1 영상 데이터(510) 및 제2 영상 데이터(520)는 30(10진수)개의 MCU 그룹을 포함한다(즉 n=30). 따라서, 데이터 합산부(110)는 수정 헤더 정보(630), 제k MCU 그룹(710-k),제m MCU그룹(720-m), 복수의 RST 마커(730) 및 EOI 마커(740)를 포함하는 합산 영상 데이터(500)를 생성할 수 있다. 즉, 데이터 합산부(110)는 제1 MCU 그룹(710-1)부터 제m MCU 그룹(720-m)을 순차적으로 복사하여 수정 헤더 정보(630)와 순차적으로 합산하고, 각 MCU 그룹 사이에 RST 마커(730)를 삽입하고, 제m MCU 그룹(720-m)을 합산한 후 EOI 마커(740)를 삽입하여 합산 영상 데이터(630)를 생성할 수 있다. In operation 860, the data adding unit 110 generates the aggregated image data 500 to correspond to the corrected header information 630. Here, the first image data 510 may include the first header information 610, the first MCU group 710-1, the third MCU group 710-3,. And a k-th MCU group 710-k, one or more RST markers 730, and an EOI marker 740, wherein the second image data 520 includes the second header information 620 and the second MCU group 720. -2), fourth MCU group 720-4,... , Assuming that the m-th MCU group 720-m, one or more RST markers 730, and an EOI marker 740 are included, the first image data 510 and the second image data 520 are 30 (10). Hexadecimal) MCU groups (ie n = 30). Accordingly, the data summing unit 110 may use the modified header information 630, the k-th MCU group 710-k, the m-th MCU group 720-m, the plurality of RST markers 730, and the EOI markers 740. The aggregated image data 500 may be generated. That is, the data summing unit 110 sequentially copies the first MCU group 710-1 to the m-th MCU group 720-m, and sequentially adds the modified header information 630 to each other, and between the MCU groups. The RST marker 730 may be inserted, the m-th MCU group 720-m may be added, and the EOI marker 740 may be inserted to generate the summed image data 630.

이때 제1 영상 데이터(510)에서는 제k MCU 그룹 뒤에 EOI 마커(740)가 삽입되어 있으나 합산 영상 데이터(630)에서는 RST 마커(730)로 수정되어야 함에 유의하여야 한다. 즉, 데이터 합산부(110)는 제k MCU 그룹을 합산한 후 EOI 마커(740)를 RST 마커로 수정하여 합산할 수 있다. 또한, 데이터 합산부(110)는 RST 마커가 합산 영상 데이터에 위치하는 순서에 상응하도록 정보를 수정할 수도 있다. 이에 대한 상세한 설명은 상술한 바(도 7 참조), 여기에서는 상세한 설명을 생략한다. In this case, it should be noted that the EOI marker 740 is inserted after the k-th MCU group in the first image data 510 but should be corrected to the RST marker 730 in the summed image data 630. That is, the data summing unit 110 may add the k-th MCU group and then modify and add the EOI marker 740 to the RST marker. In addition, the data summing unit 110 may modify the information to correspond to the order in which the RST markers are located in the summed image data. Detailed description thereof has been described above (see FIG. 7), and detailed description thereof will be omitted herein.

단계 870에서, 데이터 합산부(110)는 생성된 합산 영상 데이터(500)를 저장부(130)에 저장시키거나 이를 디스플레이하기 위하여 디스플레이부(도시되지 않음) 등으로 전송할 수 있다.In operation 870, the data summing unit 110 may store the generated aggregated image data 500 in the storage 130 or transmit the generated sum image data 500 to a display unit (not shown).

여기에서는 제1 영상 데이터(510)의 헤더 정보에 DRI 마커가 '20(10진수)'으로 정의된 경우를 가정하였으나, 제이펙 표준에 따르면 DRI 마커에는 RST 마커의 간격의 값이 자유로이 정의될 수 있으므로, 수정 헤더 정보(630)는 다양한 해상도로 생성될 수 있음은 자명하다. 또한, 제1 영상 데이터(510)(즉, 합산 데이터(500)를 구성하는 복수의 개별 영상 데이터 중 좌측 최상단에 위치한 영상 데이터)를 기준으로 하여 수정 헤더 정보(630)가 생성되었으나, 나머지 영상 데이터의 헤더 정보를 기준으로 하여도 동일한 결과를 얻을 수 있음은 지명하다. 또한, 제1 영상 데이터(510) 및 제2 영상 데이터(520)를 수직으로 합산한 경우(도 5b 참조)에도 상술한 방법에 의하여 수정 헤더 정보(630)를 생성할 수 있다. 또한, 상기에서는 2개의 영상 데이터를 합산하는 경우에 대해서만 설명하였으나 2개 이상의 영상 데이터를 합산하는 경우에도 상술한 바와 같이 수평 크기 및/또는 수직 크기에 대한 정보를 수정하여 동일한 결과를 얻을 수 있음은 자명하다.Herein, it is assumed that the DRI marker is defined as '20 (decimal) 'in the header information of the first image data 510. However, according to the Jpec standard, an interval value of the RST marker may be freely defined in the DRI marker. Therefore, it is obvious that the modified header information 630 can be generated at various resolutions. In addition, the corrected header information 630 is generated based on the first image data 510 (that is, image data located at the top left of the plurality of individual image data constituting the summing data 500). The same result can be obtained based on the header information. In addition, even when the first image data 510 and the second image data 520 are vertically summed (see FIG. 5B), the modified header information 630 may be generated by the above-described method. In the above description, only the case of summing two image data is described, but in the case of summing two or more image data, the same result can be obtained by modifying the information about the horizontal size and / or the vertical size as described above. Self-explanatory

또한, 여기에서는 제1 영상 데이터(510)가 홀수(즉, k)의 서수가 부가된 MCU 그룹을, 제2 영상 데이터(520)가 짝수(m)의 서수가 부가된 MCU 그룹을 각각 포함하는 것으로 표시되었으나, 이는 이해와 설명의 편의를 위하여 부가한 것일 뿐 당해 발명의 권리 범위를 제한하기 위한 것이 아니다. In this case, the first image data 510 includes an MCU group to which an odd (i.e., k) ordinal number is added, and the second image data 520 includes an MCU group to which an even (m) ordinal number is added, respectively. Although shown as being added for convenience of understanding and explanation, it is not intended to limit the scope of the invention.

또한, 영상 처리 장치(100) 및/또는 멀티미디어 프로세서 등에서 상술한 본 발명의 바람직한 일 실시예에 따른 복수의 개별 영상 데이터 합산 방법을 실행시키기 위한 프로그램을 기록한 기록매체가 제공될 수 있다. 즉, 데이터 합산 명령에 상응하는 복수의 개별 영상 데이터의 헤더 정보를 분석하여 각 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)을 독출하는 기능, 상기 복수의 RST 마커의 간격을 비교하는 기능, 상기 복수의 RST 마커의 간격이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하는 기능 및 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 기능을 포함하는 기능을 포함하는 프로그램이 기록된 기록매체가 제공될 수 있다.In addition, a recording medium may be provided that records a program for executing a plurality of individual image data summing methods according to an exemplary embodiment of the present invention described above in the image processing apparatus 100 and / or the multimedia processor. That is, by analyzing the header information of a plurality of individual image data corresponding to the data summing command to read the restart interval of the RST (Restart) marker defined in the DRI (Define Restart Interval) marker of each header information, A function of comparing intervals of the plurality of RST markers, generating correction header information corresponding to a preset summation method if the intervals of the plurality of RST markers are all the same, and adding image data corresponding to the correction header information. A recording medium may be provided in which a program including a function including a generating function is recorded.

상술한 바와 같이, 본 발명에 따르면 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 많은 양의 저장 영역을 확보할 필요가 없는 효과가 있다. As described above, according to the present invention, when summing separate image data into one image data, there is an effect that it is not necessary to secure a large amount of storage area.

또한, 본 발명에 따르면 저장 영역에 미리 저장되어 있는 복수의 각 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 각 영상 데이터를 디코딩할 필요가 없는 효과도 있다. In addition, according to the present invention, when the plurality of pieces of image data pre-stored in the storage area are summed into one image data, there is an effect of not having to decode each image data.

또한, 본 발명에 따르면 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 영상 데이터를 원본 데이터로 디코딩할 필요가 없으므로 처리 시간을 단축시킬 수 있는 효과도 있다. In addition, according to the present invention, when summing separate image data into one image data, it is not necessary to decode the image data into original data, thereby reducing the processing time.

또한, 본 발명에 따르면 별개의 영상 데이터를 하나의 영상 데이터로 합산하는 경우, 영상 데이터를 원본 데이터로 디코딩할 필요가 없으므로 제이펙 코덱부를 구비하지 않은 단말기에서도 별개의 영상 데이터를 하나의 영상 데이터로 합산할 수 있는 효과도 있다.In addition, according to the present invention, when the separate image data is summed into one image data, since the image data does not need to be decoded as the original data, even if the terminal does not have the CODEC code unit, the separate image data is converted into one image data. There is also an effect that can be added up.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 수정시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art to which the present invention pertains without departing from the spirit and scope of the present invention as set forth in the claims below It will be appreciated that modifications can be made and modifications can be made.

Claims (12)

영상 데이터 합산 명령이 수신되면 상응하는 복수의 개별 영상 데이터를 합산하여 하나의 합산 영상 데이터를 생성하는 데이터 합산부를 포함하되,When the image data summing command is received includes a data summing unit for generating a summed image data by summing a plurality of corresponding individual image data, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하고, 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 것을 특징으로 하는 영상 처리 장치.The data summing unit corrects header information corresponding to a preset summation method when the restart intervals of the RST markers defined in the DRI markers of the header information of the plurality of individual image data are all the same. And generate summed image data corresponding to the corrected header information. 제1항에 있어서,The method of claim 1, 제이펙 코덱부를 더 포함하되,Including the Jpec codec unit, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 개별 영상 데이터 모두의 헤더 정보 중 적어도 하나 이상에 상기 DRI 마커가 정의되지 아니한 경우에는 상기 복수의 개별 영상 데이터를 상기 제이펙 코덱부로 전송하는 것을 특징으로 하는 영상 처리 장치.The data summing unit analyzes header information of the plurality of pieces of individual image data, and when the DRI marker is not defined in at least one or more of header information of all of the pieces of individual image data, the plurality of pieces of individual image data is transferred to the Jpec codec unit. The image processing apparatus, characterized in that for transmitting. 제1항에 있어서,The method of claim 1, 제이펙 코덱부를 더 포함하되,Including the Jpec codec unit, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우에는 상기 복수의 개별 영상 데이터를 상기 제이펙 코덱부로 전송하는 것을 특징으로 하는 영상 처리 장치.The data summing unit analyzes header information of the plurality of pieces of individual image data and selects the plurality of pieces of individual image data when at least one or more values of the DRI markers defined in the header information of the plurality of pieces of individual image data are different from others. And transmitting the data to the Jpec codec unit. 제2항 또는 제3항에 있어서,The method according to claim 2 or 3, 저장부를 더 포함하되,Including a storage unit, 상기 제이펙 코덱부는 상기 데이터 합산부로부터 전송받은 상기 복수의 개별 영상 데이터를 원본 데이터(raw data)로 각각 디코딩하여 미리 설정된 방식에 의하여 합산한 후 이를 다시 인코딩하여 상기 저장부에 저장하는 것을 특징으로 하는 영상 처리 장치.The CODEC codec decodes the plurality of individual image data received from the data summing unit into raw data, adds them by a preset method, and re-encodes the plurality of individual image data to be stored in the storage unit. Image processing device. 제1항에 있어서,The method of claim 1, 상기 수정 헤더 정보는 상기 복수의 헤더 정보 중 임의의 헤더 정보에 포함된 영상의 수직 크기 및 수평 크기에 대한 정보를 수정한 것을 특징으로 하는 영상 처리 장치.The modified header information is an image processing apparatus, characterized in that for modifying the information on the vertical size and the horizontal size of the image included in any header information of the plurality of header information. 복수의 개별 영상 데이터 합산 방법에 있어서,In the plural individual video data summing method, 데이터 합산부가 데이터 합산 명령에 상응하는 복수의 개별 영상 데이터의 헤더 정보를 분석하여 각 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)을 독출하는 단계;The data summing unit analyzes the header information of the plurality of individual image data corresponding to the data summing command and reads the restart interval of the RST (Restart) marker defined in the DRI (Define Restart Interval) marker of each header information. ; 상기 데이터 합산부가 상기 복수의 RST 마커의 간격을 비교하는 단계;Comparing the intervals of the plurality of RST markers by the data summing unit; 상기 데이터 합산부가 상기 복수의 RST 마커의 간격이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하는 단계; 및 Generating, by the data summing unit, modified header information corresponding to a preset summing method when the intervals of the plurality of RST markers are all the same; And 상기 데이터 합산부가 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 단계를 포함하는 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법.And a step of generating, by the data summing unit, summed image data corresponding to the corrected header information. 제6항에 있어서,The method of claim 6, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터 모두의 헤더 정보에 상기 DRI 마커가 정의되어 있는지 판단하는 단계; 및 Determining whether the DRI marker is defined in header information of all of the plurality of pieces of individual image data; And 상기 데이터 합산부는 상기 개별 영상 데이터 모두의 헤더 정보 중 적어도 하나 이상에 상기 DRI 마커가 정의되지 아니한 경우에는 상기 복수의 개별 영상 데이터를 제이펙 코덱부로 전송하는 단계를 더 포함하는 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법.The data summing unit may further include transmitting the plurality of individual image data to a JPEG codec unit when the DRI marker is not defined in at least one of header information of all the individual image data. How to add individual image data. 제6항에 있어서,The method of claim 6, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보를 분석하여 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커를 독출하여 비교하는 단계; 및 The data summing unit analyzes header information of the plurality of pieces of individual image data, and reads and compares the DRI markers defined in header information of the plurality of pieces of individual image data; And 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보에 정의되어 있는 상기 DRI 마커 중 적어도 하나 이상의 값이 나머지와 상이한 경우에는 상기 복수의 개별 영상 데이터를 제이펙 코덱부로 전송하는 단계를 더 포함하는 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법.The data summing unit further includes the step of transmitting the plurality of individual image data to the JPEG codec unit when at least one or more values of the DRI markers defined in the header information of the plurality of individual image data is different from the rest. And a plurality of individual image data summing methods. 제7항 또는 제8항에 있어서,The method according to claim 7 or 8, 상기 제이펙 코덱부는 상기 데이터 합산부로부터 전송받은 상기 복수의 개별 영상 데이터를 원본 데이터(raw data)로 각각 디코딩하는 단계;Decoding each of the plurality of pieces of individual image data received from the data summing unit into raw data; 상기 제이펙 코덱부는 상기 디코딩된 복수의 원본 데이터를 미리 설정된 방식에 의하여 합산하는 단계; 및 Summing the decoded plurality of original data by a preset method; And 상기 제이펙 코덱부는 상기 합산된 원본 데이터를 다시 인코딩하여 상기 저장부에 저장하는 단계를 더 포함하는 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법.And the J codec unit re-encodes the summed original data and stores the encoded original data in the storage unit. 제6항에 있어서,The method of claim 6, 상기 수정 헤더 정보는 상기 복수의 헤더 정보 중 임의의 헤더 정보에 포함된 영상의 수직 크기 및 수평 크기에 대한 정보를 수정한 것을 특징으로 하는 복수의 개별 영상 데이터 합산 방법.And the modified header information modifies information on a vertical size and a horizontal size of an image included in arbitrary header information among the plurality of header information. 영상 데이터 합산 명령이 수신되면 상응하는 복수의 개별 영상 데이터를 합산하여 하나의 합산 영상 데이터를 생성하는 데이터 합산부를 포함하되,When the image data summing command is received includes a data summing unit for generating a summed image data by summing a plurality of corresponding individual image data, 상기 데이터 합산부는 상기 복수의 개별 영상 데이터의 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하고, 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 것을 특징으로 하는 멀티미디어 프로세서.The data summing unit corrects header information corresponding to a preset summation method when the restart intervals of the RST markers defined in the DRI markers of the header information of the plurality of individual image data are all the same. And generating aggregated image data corresponding to the modified header information. 영상 처리 장치 또는 멀티미디어 프로세서에서의 복수의 개별 영상 데이터 합산 프로그램을 기록한 기록매체에 있어서,A recording medium recording a plurality of individual image data summing programs in an image processing apparatus or a multimedia processor, 데이터 합산 명령에 상응하는 복수의 개별 영상 데이터의 헤더 정보를 분석 하여 각 헤더 정보의 DRI(Define Restart Interval) 마커에 정의된 RST(Restart) 마커의 간격(Restart Interval)을 독출하는 기능;Analyzing a header information of a plurality of pieces of individual image data corresponding to a data summing command and reading a restart interval of an RST (Restart) marker defined in a DRI (Define Restart Interval) marker of each header information; 상기 복수의 RST 마커의 간격을 비교하는 기능;Comparing intervals of the plurality of RST markers; 상기 복수의 RST 마커의 간격이 모두 동일한 경우에는 미리 설정된 합산 방식에 상응하는 수정 헤더 정보를 생성하는 기능; 및 Generating modified header information corresponding to a preset summation method when all of the plurality of RST markers have the same interval; And 상기 수정 헤더 정보에 상응하는 합산 영상 데이터를 생성하는 기능을 포함하는 프로그램이 기록된 기록매체.And a program for generating summed image data corresponding to the corrected header information.
KR1020060020848A 2006-03-06 2006-03-06 Plurality of image data merging method and device thereof KR100771119B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060020848A KR100771119B1 (en) 2006-03-06 2006-03-06 Plurality of image data merging method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060020848A KR100771119B1 (en) 2006-03-06 2006-03-06 Plurality of image data merging method and device thereof

Publications (2)

Publication Number Publication Date
KR20070091411A true KR20070091411A (en) 2007-09-11
KR100771119B1 KR100771119B1 (en) 2007-10-29

Family

ID=38689206

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060020848A KR100771119B1 (en) 2006-03-06 2006-03-06 Plurality of image data merging method and device thereof

Country Status (1)

Country Link
KR (1) KR100771119B1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09247423A (en) * 1996-03-04 1997-09-19 Canon Inc Image processor and its method
KR100321771B1 (en) * 1998-08-12 2002-03-08 이계철 Image composition system and method based on the cell division
AUPQ152599A0 (en) 1999-07-09 1999-08-05 Canon Kabushiki Kaisha Digital image meta-data
JP2004266376A (en) 2003-02-25 2004-09-24 Matsushita Electric Ind Co Ltd Video compositing device
JP4321251B2 (en) 2003-12-16 2009-08-26 株式会社日立製作所 Apparatus and method for generating and displaying composite image

Also Published As

Publication number Publication date
KR100771119B1 (en) 2007-10-29

Similar Documents

Publication Publication Date Title
US11032573B2 (en) Method, apparatus and medium for decoding or encoding
US20220377386A1 (en) Generation of chroma components using cross-component adaptive loop filters
US7965897B2 (en) Method for processing a digital image and image representation format
JP2010515397A (en) Architecture for image compression in video hardware
JP4682102B2 (en) Image coding apparatus and image coding method
WO2011031902A4 (en) Video editing and reformatting for digital video recorder
CN113875242A (en) Signaling of video codec tools supporting various chroma formats
US8558909B2 (en) Method and apparatus for generating compressed file, camera module associated therewith, and terminal including the same
US20080165843A1 (en) Architecture for image compression in a video hardware
US11930214B2 (en) Method, apparatus and medium for decoding or encoding
TW200939782A (en) Image capturing system and method thereof
CN113711586A (en) Simplified most probable mode list generation scheme
US20240155159A1 (en) Frequency-dependent joint component secondary transform
CN101677385B (en) Moving-image reproducing apparatus and moving-image reproducing method
US7593578B2 (en) Coding and decoding of image data with additional information
KR100771119B1 (en) Plurality of image data merging method and device thereof
TWI300311B (en) Progressive differential motion jpeg codec
JP2005123738A (en) Apparatus and method of image processing, and electronic camera
US20090317007A1 (en) Method and apparatus for processing a digital image
US11039170B2 (en) Method, apparatus and medium for decoding
US20240163481A1 (en) Primary transform using 8-bit cores
KR100799906B1 (en) Image data decoding method and apparatus thereof
JP2006333299A (en) Encoding apparatus, encoding method and image forming apparatus
CN117529916A (en) Improved signaling method for parameter scaling in intra-prediction mode for predicting chroma based on luminance
KR20060099026A (en) Method for processing zoom-in function of image

Legal Events

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

Payment date: 20121011

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130926

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151001

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20190925

Year of fee payment: 13