KR101589490B1 - Apparatus and method for compressing/decompressing image in digital image processing device - Google Patents
Apparatus and method for compressing/decompressing image in digital image processing device Download PDFInfo
- Publication number
- KR101589490B1 KR101589490B1 KR1020080114854A KR20080114854A KR101589490B1 KR 101589490 B1 KR101589490 B1 KR 101589490B1 KR 1020080114854 A KR1020080114854 A KR 1020080114854A KR 20080114854 A KR20080114854 A KR 20080114854A KR 101589490 B1 KR101589490 B1 KR 101589490B1
- Authority
- KR
- South Korea
- Prior art keywords
- image
- compression
- compressed
- decompression unit
- thumbnail
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
Abstract
본 발명은 디지털 영상 처리기에서 이미지를 압축하여 저장하고, 저장된 이미지를 압축해제하여 재생하는 장치 및 방법에 관한 것이다. 이미지 압축 및 해제 장치는 디지털 영상 처리기로써, 촬영된 영상을 썸네일 영상 및 메인 영상으로 압축 처리하는 제1 압축 및 해제부; 상기 촬영 영상을 스크린 네일 영상으로 압축 처리하는 제2 압축 및 해제부; 및 상기 제1 압축 및 해제부 및 제2 압축 및 해제부에 의해 압축 처리된 영상을 합성하여 이미지 파일을 생성하는 제어부를 포함한다.
메인 영상 및 썸네일 영상, JPEG 코덱, 스크린네일 영상, H.264 코덱
The present invention relates to an apparatus and method for compressing and storing an image in a digital image processor and decompressing and reproducing the stored image. An image compression and decompression apparatus is a digital image processor, comprising: a first compression and decompression unit compressing a photographed image into a thumbnail image and a main image; A second compression and decompression unit compressing the photographed image into a screen nail image; And a controller for synthesizing images compressed by the first compression / decompression unit and the second compression / decompression unit to generate an image file.
Main video and thumbnail video, JPEG codec, screen nail video, H.264 codec
Description
본 발명은 디지털 영상 처리기에서 이미지를 압축하여 저장하고, 저장된 이미지를 압축해제하여 재생하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for compressing and storing an image in a digital image processor and decompressing and reproducing the stored image.
디지털 영상 처리기의 해상도가 증가함에 따라 고속으로 영상을 디스플레이 하기 위해, 원 영상 대비 작게 축소된 영상을 추가적으로 처리하여 사용하여 왔다. 즉, 디스플레이 및 브라우징 시에 스크린네일 영상의 크기가 작은 점을 활용하여 고속으로 처리가 가능하다. 아울러 이 스크린네일 영상의 저장용량을 감소하기 위해서 일반적으로 JPEG으로 압축하여 보관하고 있다.In order to display images at high speed as the resolution of a digital image processor increases, an image reduced to a smaller size compared to the original image has been further processed and used. That is, it is possible to process at a high speed by utilizing the small size of the screen nail image during display and browsing. In addition, in order to reduce the storage capacity of the screen nail image, it is generally compressed and stored as JPEG.
종래에는 디지털 영상 처리기의 LCD 창으로만 촬영된 영상을 재생하여 왔으나, 현재는 디지털 TV가 일반화 됨에 따라서 TV에 연결하여 촬영된 영상을 감상하거나 브라우징 하는 경우가 많아지게 되었다. 이를 위해서 스크린네일 영상은 HD급 크기로 확대하여 저장하여야 화질 손실 없이 디지털 TV에서 처리 가능하다. 그러나 HD급 영상 크기의 스크린네일 영상을 추가적으로 저장하였다가 추후 디스플레 이 하기에는 저장용량에 부담이 크다.Conventionally, an image captured only by an LCD window of a digital image processor has been reproduced. However, as digital TV is becoming common, there are many cases in which a captured image is viewed or browsed by connecting to a TV. For this purpose, the screen nail image should be enlarged and stored in HD size so that it can be processed in digital TV without loss of image quality. However, after additionally storing the screen nail image of the HD-level image size, it is burdensome for the storage capacity to be displayed later.
본 발명이 해결하고자 하는 기술적인 과제는 이미지 파일 생성 시에 메인 영상 및 썸네일 영상은 JPEG으로 처리하고, 스크린네일 영상은 H.264로 처리함으로써, 스크린네일 영상의 저장공간을 확보하고 스크린네일 영상을 디지털 TV에서 디스플레이 가능하도록 하는 디지털 영상 처리기에서 이미지 압축 및 해제 장치 및 방법을 제공하는데 있다.The technical problem to be solved by the present invention is to secure the storage space of the screen nail image by processing the main image and the thumbnail image as JPEG and the screen nail image as H.264 when generating the image file, And to provide an apparatus and method for compressing and decompressing an image in a digital image processor capable of being displayed on a digital TV.
본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 이미지 압축 및 해제 장치는 디지털 영상 처리기로써, 촬영된 영상을 썸네일 영상 및 메인 영상으로 압축 처리하는 제1 압축 및 해제부; 상기 촬영 영상을 스크린 네일 영상으로 압축 처리하는 제2 압축 및 해제부; 및 상기 제1 압축 및 해제부 및 제2 압축 및 해제부에 의해 압축 처리된 영상을 합성하여 이미지 파일을 생성하는 제어부를 포함하는 것이 바람직하다.According to an aspect of the present invention, there is provided an image compression and decompression apparatus comprising: a first compression and decompression unit for compressing a photographed image into a thumbnail image and a main image; A second compression and decompression unit compressing the photographed image into a screen nail image; And a controller for synthesizing images compressed by the first compression / decompression unit and the second compression / decompression unit to generate an image file.
본 발명에 있어서, 상기 제어부는 상기 제1 압축 및 해제부에서 압축된 썸네일 영상 및 메인 영상과 상기 제2 압축 및 해제부에서 압축된 스크린네일 영상으로 구성되는 이미지 파일을 생성할 수 있다.In the present invention, the controller may generate an image file composed of a thumbnail image and a main image compressed by the first compression / decompression unit and a screen nail image compressed by the second compression / decompression unit.
본 발명에 있어서, 상기 제어부는 상기 스크린네일 영상을 상기 이미지 파일 중 촬영 정보를 포함하는 MakerNote data 영역에 저장할 수 있다.In the present invention, the controller may store the screen nail image in a MakerNote data area including shooting information of the image file.
본 발명에 있어서, 상기 생성된 이미지 파일로부터 압축된 썸네일 영상 및 메인 영상을 상기 제1 압축 및 해제부에서 해제하여 재생하고, 상기 생성된 이미지 파일로부터 압축된 스크린네일 영상을 상기 제2 압축 및 해제부에서 해제하여 재생할 수 있다.In the present invention, the thumbnail image and the main image compressed from the generated image file are released and reproduced by the first compression and decompression unit, and a compressed screen nail image is compressed from the generated image file by the second compression and decompression Can be released and reproduced.
본 발명에 있어서, 상기 제1 압축 및 해제부는 JPEG 코덱이고, 상기 제2 압축 및 해제부는 H.264 코덱일 수 있다.In the present invention, the first compression and decompression unit may be a JPEG codec, and the second compression and decompression unit may be an H.264 codec.
본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 이미지 압축 및 해제 방법은 디지털 영상 처리기의 동작 방법으로써, (a) 촬영된 영상을 제1 압축처리하여 썸네일 영상 및 메인 영상을 생성하는 단계; (b) 상기 촬영된 영상을 제2 압축 처리하여 스크린네일 영상을 생성하는 단계; 및 (c) 상기 제1 및 제2 압축 처리된 영상을 합성하여 이미지 파일을 생성하는 단계를 포함하는 것이 바람직하다.According to an aspect of the present invention, there is provided an image compressing and decompressing method including: (a) generating a thumbnail image and a main image by first compressing a photographed image; (b) performing a second compression process on the photographed image to generate a screen nail image; And (c) synthesizing the first and second compressed images to generate an image file.
본 발명에 있어서, 상기 (c)단계에서 상기 제1 압축 처리된 썸네일 영상 및 메인 영상과 상기 제2 압축 처리된 스크린네일 영상으로 구성되는 이미지 파일을 생성할 수 있다.In the present invention, in step (c), an image file composed of the thumbnail image subjected to the first compression processing and the screen image of the main image and the second compression-processed screen nail image may be generated.
본 발명에 있어서, 상기 (c)단계에서 상기 스크린네일 영상을 상기 이미지 파일 중 촬영 정보를 포함하는 MakerNote data 영역에 저장할 수 있다.In the present invention, in the step (c), the screen nail image may be stored in a MakerNote data area including shooting information of the image file.
본 발명에 있어서, 상기 제1 압축처리는 JPEG 코덱으로 수행하고, 상기 제2 압축처리는 H.264 코덱일 수 있다.In the present invention, the first compression process may be performed by the JPEG codec, and the second compression process may be performed by the H.264 codec.
본 발명에 있어서, 상기 생성된 이미지 파일로부터 압축된 썸네일 영상 및 메인 영상을 상기 JPEG 코덱으로 해제하여 재생하고, 상기 생성된 이미지 파일로부터 압축된 스크린네일 영상을 상기 H.264 코덱으로 해제하여 재생할 수 있다.In the present invention, the compressed thumbnail image and the main image from the generated image file are released by the JPEG codec, and the compressed screen nail image is released from the generated image file by the H.264 codec have.
상술한 바와 같이 본 발명에 따르면, 이미지 파일 생성 시에 메인 영상 및 썸네일 영상은 JPEG으로 처리하고, 스크린네일 영상은 H.264로 처리함으로써, 스크린네일 영상의 저장공간을 확보하고 스크린네일 영상을 디지털 TV에서 디스플레이 가능한 효과를 창출한다.As described above, according to the present invention, when the image file is generated, the main image and the thumbnail image are processed as JPEG, and the screen nail image is processed as H.264, thereby securing the storage space of the screen nail image, Create displayable effects on your TV.
이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 상세히 설명한다. 하기의 설명에는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts may be omitted so as not to disturb the gist of the present invention.
또한 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 본 발명을 가장 적절하게 표현할 수 있도록 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다.It is also to be understood that the terms and words used in the following description and claims are not to be construed in a limiting sense and that they are used in a generic and descriptive sense only and not for purposes of the present invention, Should be interpreted as a concept.
도 1은 본 발명에 따른 디지털 영상 처리기에서 이미지 압축 및 해제 장치의 구성을 보이는 블록도 이다. 도 1에 나타난 바와 같은 본 발명에 따른 디지털 영상 처리기는 줌렌즈(102), 조리개(104), 포커스 렌즈(106), 구동장치(102a, 104a, 106a), CMOS(complementary metal oxide semiconductor)소자(108), 앰프 일체형의 CDS(correlated double sampling) 앰프(amplifier)(110), A/D변환기(112), 영상 입력 콘트롤러(114), 영상신호 처리부(116), 압축 처리부(120), OSD(on screen display)(121), LCD(liquid crystal display)드라이브(122), LCD(124), 타이밍 발생기(126), CPU(central processing unit)(128), 조작부(132), 셔터버튼(133), 메모리(134), VRAM(video random access memory)(136), 미디어 콘트롤러(138), 기록 미디어(140), 모터 드라이버(142a, 142b, 142c), 플래시(144)를 포함하여 구성된다.1 is a block diagram showing the configuration of an image compression and decompression apparatus in a digital image processor according to the present invention. 1, a digital image processor according to the present invention includes a
줌렌즈(102)는 구동장치(102a)에 의해 광축방향으로 전후하여 이동되어 초점거리와 연속적으로 변화하는 렌즈로서, 피사체의 크기를 변화하여 촬영한다. 조리개(104)는 영상을 촬영할 때, 구동장치(104a)에 의해 CMOS소자(108)에 들어오는 광량의 조절을 행한다. 포커스 렌즈(106)는 구동장치(106a)에 의해 광축 방향으로 전후하여 이동시킴으로써 피사체의 핀트를 조절하는 것이다.The
본 실시 예에서는 줌렌즈(102) 및 포커스 렌즈(106)는 1장만 나타내고 있는데, 줌렌즈(102)의 매수는 2장 이상이어도 되고, 포커스 렌즈(106)의 매수도 2장 이상이어도 된다.In this embodiment, only one
CMOS소자(108)는 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)로부터 입사된 광을 전기신호로 변환하기 위한 소자이다. 본 실시 예에서는 전자셔터에 의해 입사광을 제어하여 전기신호를 추출하는 시간을 조절하고 있는데, 메카셔터를 이용하여 입사광을 제어하여 전기신호를 추출하는 시간을 조절해도 된다. 본 실시 예에서는 줌렌즈(102), 조리개(104), 포커스 렌즈(106) 및 CDS 앰프(110)로 촬상부를 구성한다. 또 촬상부의 세트는 이에 한정되지 않고, 줌렌즈(102)나 조리개(104)를 포함하지 않는 구성이어도 된다.The
본 실시 예에서는 CMOS소자(108)를 사용하고 있으며, 바람직하게는 고속 CMOS 이미지 센서이다. 여기서, 고속 CMOS 이미지 센서를 통해 디지털 영상 처리기(100)는 초당 60매의 연속 촬영을 할 수 있다. CDS 앰프(110)는 CMOS소자(108)로부터 출력된 전기신호의 잡음을 제거하는 샘플링 회로의 일종이 CDS 회로와, 잡음을 제거한 후에 전기신호를 증폭하는 앰프가 일체로 된 회로이다. 본 실시 예에서는 CDS 회로와 앰프가 일체로 된 회로를 이용하여 디지털 영상 처리기(100)를 구성하고 있는데, CDS 회로와 앰프를 별도의 회로로 구성해도 된다.In this embodiment, a
A/D 변환기(112)는 CMOS 소자(108)에서 생성된 전기신호를 디지털 신호로 변환하여 영상의 RAW 데이터를 생성한다.The A /
영상 입력 콘트롤러(114)는 A/D 변환기(112)에서 생성된 영상의 RAW 데이터를 메모리(134)로 입력하기 위한 제어를 수행한다.The
영상신호 처리부(116)는 CMOS소자(108)로부터 출력된 전기신호에 대해, 광량의 게인 보정이나 화이트 밸런스의 조정을 수행한다. 영상 신호 처리부(116)는 촬영한 영상의 노광 데이터를 취득하는데, 노광 데이터에는 합초평가값(AF평가값)이나 AE(auto exposure:자동노광)평가값이 포함되어 있는데, 영상 신호 처리부(116)에서 합초평가값 또는 AE평가값의 산출을 수행한다.The video
압축 및 해제 처리부(120)는 영상신호 처리부(116)에서 현상 처리된 영상을 적절한 형식의 영상 데이터로 압축하는 압축처리를 수행한다. 영상의 압축형식은 가역형식 또는 비가역 형식이어도 된다. The compression and
도 2에는 본 실시 예에 따른 압축 및 해제 처리부(120)의 개략적인 블록도가 도시되어 있으며, JPEG 코덱(120-1) 및 H.264 코덱(120-2)을 포함한다.FIG. 2 is a schematic block diagram of the compression /
디지털 영상 처리기(100)의 촬영 동작에 의해 메인(full resolution) 영상, 썸네일 영상 및 스크린네일 영상을 획득하게 되는데, JPEG 코덱(120-1)은 메인 영상 및 썸네일 영상을 압축 및 해제 처리하고, H.264 코덱(120-2)은 스크린네일 영상을 압축 및 해제 처리한다.A thumbnail image and a screen nail image are acquired by a photographing operation of the
고화질의 영상을 생성하기 위해 현지 디지털 영상 처리기(100)에서 H.264 코덱(120-2)의 main profile/high profile 등이 속속 지원됨에 따라, JPEG 코덱(102-1)과 압축 효율면에서 차이가 나게 된다. H.264 코덱(102-2)는 현재 가장 효율적인 영상 압축 및 해제 기술을 지원하는 승인된 개방형 표준으로, H.264 코덱(120-2)은 JPEG 코덱(120-1)과 비교했을 때 화질의 손상 없이 50% 이상으로 디지털 영상 파일 사이즈를 줄일 수 있다. Since the main profile / high profile of the H.264 codec 120-2 is continuously supported in the local
H.264 코덱(120-2)은 프로파일에 따라서 인코더는 I-프레임, P-프레임 및 B-프레임과 같은 상이한 프레임 종류를 사용할 수 있으며, 스크린네일 영상 압축 및 해제를 위해 다른 이미지를 참조하지 않고 독립적으로 해독인 가능한 독립형 프레임 형태인 I-프레임 즉, 인트라 프레임(Intra Frame)을 이용한다.Depending on the profile, the H.264 codec 120-2 may use different frame types such as I-frame, P-frame and B-frame depending on the profile, without reference to other images for screen nail image compression and decompression An I-frame, i.e., an intra frame, which is a stand-alone frame type that can be independently decoded, is used.
OSD(121)는 디지털 영상 처리기(100)의 설정화면을 LCD(124)에 표시시키는 기능을 수행한다. LCD(124)는 촬영 조작을 수행하기 전의 라이브뷰 영상의 표시나, 디지털 영상 처리기(100)의 각종 설정화면이나, 촬영한 영상의 표시 등을 수행한다. 영상 데이터나 디지털 영상 처리기(100)의 각종 정보의 LDC(124)에의 표시는 LCD 드라이브(122)를 개재하여 수행된다.The OSD 121 displays a setting screen of the
타이밍 발생기(126)는 CMOS소자(108)에 타이밍 신호를 입력한다. 타이밍 발 생기(126)로부터의 타이밍 신호에 의해 셔터속도가 결정된다. 즉, 타이밍 발생기(126)로부터의 타이밍 신호에 의해 CMOS소자(108)의 구동이 제어되고, CMOS 소자(108)가 구동하는 시간 내에 피사체로부터의 영상 광을 입사함으로써, 영상 데이터의 기초가 되는 전기신호가 생성된다.The
CPU(128)는 CMOS소자(108)나 CDS 앰프(110) 등에 대해 신호계의 명령을 수행하거나, 조작부(132)의 조작에 대한 조작계의 명령을 수행한다. 본 실시 예에서는 CPU(128)를 하나만 포함하고 있는데, 신호계의 명령과 조작계의 명령을 별도의 CPU에서 행하도록 해도 된다. 본 실시 예에서 CPU(128)는 압축 및 해제 처리부(120)에서 압축된 메인 영상, 썸네일 영상 및 스크린네일 영상을 이용하여 이미지 파일을 생성 및 생성된 이미지 파일이 재생되도록 제어하는데, 그 상세한 설명은 하기에 설명하기로 한다.The
조작부(132)는 디지털 영상 처리기(100)의 조작을 수행하거나, 촬영 시의 각종 설정을 수행하기 위한 부재가 배치되어 있다. 조작부(132)에 배치되는 부재에는 전원버튼, 촬영모드나 촬영 드라이브 모드의 선택 및 소프트 포커스 효과의 설정을 수행하는 십자키 및 선택버튼 등이 배치된다. 셔터버튼(133)은 촬영조작을 행하기 위한 것으로, 반누름 상태에서 피사체를 합초하고, 완전누름 상태에서 피사체의 촬영을 수행한다.The operation unit 132 is provided with members for performing operations of the
메모리(134)는 영상 기억부의 일례로서, 촬영한 영상이나 압축 및 해제 처리부(120)에서 압축된 영상을 일시적으로 기억한다. 메모리(134)는 복수의 영상을 기억할 수 있을 만큼의 기억용량을 가진다. 메모리(134)에의 영상의 판독 기입은 영상 입력 콘트롤러(114)에 의해 제어된다.The
VRAM(136)은 LCD(124)에 표시하는 내용을 유지하는 것으로, LCD(124)의 해상도나 최대 발색수는 VRAM(136)의 용량에 의존한다.The
기록 미디어(140)는 영상 기록부의 일례로서, 촬영한 영상을 기록한다. 기록 미디어(140)에의 입출력은 미디어 콘트롤러(138)에 의해 제어된다. 기록 미디어(140)에는 플래시 메모리에 데이터를 기록하는 카드형의 기억장치인 메모리 카드를 사용할 수 있다.The
모터 드라이버(142a, 142b, 142c)는 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)를 동작시키는 구동장치(102a, 104a, 106a)의 제어를 수행한다. 모터 드라이버(142a, 142b, 142c)를 개재하여 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)를 동작시킴으로써, 피사체의 크기나 광량, 핀트의 조절을 수행한다.The
플래시(144)는 야간의 옥외나 어두운 장소에서의 촬영 시에 피사체를 밝게 비추기 위한 것이다. 플래시 촬영을 수행할 때에, CPU(128)로부터 발광명령이 플래시(144)로 입력되고, CPU(128)로부터의 발광명령에 따라 플래시(144)를 발광시켜 플래시(144)가 발광한 광에 따라 피사체가 밝게 비친다.The
도 3에는 도 1에 도시된 CPU(128)의 개략적인 블록도가 도시되어 있으며, 디지털 영상 처리기(100)의 전반적인 동작을 제어한다. 본 실시 예에서 CPU(128)는 특히, 압축 및 해제 처리부(120)에서 압축된 메인 영상, 썸네일 영상 및 스크린네일 영상을 이용하여 이미지 파일을 생성 및 생성된 이미지 파일이 재생되도록 제어한다. 이를 위해 CPU(128)는 JPEG 영상 생성부(128-1) 및 H.264 영상 생성부(128-2) 및 이미지 파일 생성부(128-3)를 포함한다.FIG. 3 is a schematic block diagram of the
JPEG 영상 생성부(128-1)는 JPEG 코덱(120-1)으로부터 압축된 메인 영상 및 썸네일 영상을 수신하여 이미지 파일을 구성하기 위한 영상을 생성한다.The JPEG image generation unit 128-1 receives the compressed main image and thumbnail image from the JPEG codec 120-1 and generates an image for composing the image file.
H.264 영상 생성부(128-2)는 H.264 코덱(120-2)으로부터 압축된 스크린네일 영상을 수신하여 이미지 파일을 구성하기 위한 영상을 생성한다.The H.264 image generating unit 128-2 receives the compressed screen nail image from the H.264 codec 120-2 and generates an image for composing the image file.
이미지 파일 생성부(128-3)는 JPEG 영상 생성부(128-1) 및 H.264 영상 생성부(128-2)가 생성한 압축된 메인 영상, 썸네일 영상 및 스크린네일 영상을 포함하는 이미지 파일을 생성한다. 본 실시 예에서 이미지 파일 생성부(128-3)는 H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 이미지 파일 중 촬영 정보를 포함하는 MakerNote data 영역에 저장한다.The image file generation unit 128-3 generates an image file including a compressed main image, a thumbnail image, and a screen nail image generated by the JPEG image generation unit 128-1 and the H.264 image generation unit 128-2. . In this embodiment, the image file generation unit 128-3 stores the screen nail image generated by the H.264 image generation unit 128-2 in the MakerNote data area including the shooting information among the image files.
도 4a에는 일반적인 JPEG 파일 구조가 도시되어 있는데, 일반적인 JPEG 영상 파일은 [Header][Thumbnail][MainImage][ScreenNail]의 구조를 갖는다.FIG. 4A shows a general JPEG file structure. A typical JPEG image file has a structure of [Header] [Thumbnail] [MainImage] [ScreenNail].
헤더(header)는 디지털 영상 처리기(100)에서 사용되는 각종 정보를 저장해 놓은 데이터로서 JPEG 파일에 삽입된 부가정보이다. 헤더에는 촬영 일시, 셔터 속도, 조리개 수치, 플래시 사용여부, ISO 설정값, 줌 배율 등 다양한 부가정보를 기록하는 것이 가능하다. 이 같은 정보는 기본적으로 영상에는 나타나지 않으며 촬영한 영상을 이미지 뷰어로 볼 때 부가 정보로서 제공된다. 썸네일(thumbnail) 영상은 촬영한 영상 재생을 편하게 하기 위해 메인영상보다 작고 간결하게 만들어진 영상(예를 들어, 160×120)으로, 썸네일 영상을 이용하면 촬영된 메인 영상 검색을 편리하게 할 수 있어 영상 검색 시간을 단축시킬 수 있다. 스크린네 일(screennail) 영상은 썸네일 영상과는 별도로 LCD(124)의 가시 영역의 크기(예를 들어 640×480)에 맞추어 압축된 영상이다. 영상 재생모드에서는 스크린네일 영상을 복원하여 LCD(124)에 표시한다.A header is additional information embedded in a JPEG file as data that stores various types of information used in the
도 4b 에는 본 발명에 따라 생성된 이미지 파일의 구조가 도시되어 있는데, [Header][Thumbnail][MainImage]의 구조를 갖는다.FIG. 4B shows a structure of an image file generated according to the present invention, and has a structure of [Header] [Thumbnail] [MainImage].
헤더(header)에는 촬영 정보를 포함하는 MakerNote data 영역이 존재하는데, H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 MakerNote data 영역에 저장한다. 본 실시 예에서 H.264 코덱(120-2)이 VGA급, SVGA급, 720P 또는 1080P를 너머 Full HD급까지 지원 가능하기 때문에, H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 HD급 크기로 확대하여 디지털 TV에서 재생이 가능하게 된다.The header includes a MakerNote data area including shooting information, and stores the screen nail image generated by the H.264 image generator 128-2 in the MakerNote data area. In this embodiment, since the H.264 codec 120-2 can support the VGA class, the SVGA class, the full HD class beyond 720P or 1080P, the screen nail generated by the H.264 video generator 128-2 The image can be enlarged to HD size and can be played back on digital TV.
이후, 영상 재생 시에, CPU(128)는 생성된 이미지 파일로부터 압축된 썸네일 영상 및 메인 영상을 JPEG 코덱(120-1)에서 해제하여 재생하고, 생성된 이미지 파일로부터 압축된 스크린네일 영상을 MakerNote로부터 리드하고 H.264 코덱(120-2)에서 해제하여 재생한다.Then, at the time of image reproduction, the
이어서 도 5 및 도 6을 참조하여 본 발명에 따른 디지털 영상 처리기에서 이미지 압축 및 해제 방법을 설명한다.Next, an image compression and decompression method in the digital image processor according to the present invention will be described with reference to FIGS. 5 and 6. FIG.
먼저, 도 5를 참조하여 이미지 압축 방법을 설명하면, 디지털 영상 처리기(100)를 이용하여 영상이 촬영되면(510), JPEG 영상 생성부(128-1)는 JPEG 코덱(120-1)으로부터 JPEG 압축된 영상으로부터 메인 영상 및 썸네일 영상을 생성하고(520단계), H.264 영상 생성부(128-2)는 H.264 코덱(120-2)으로부터 H.264 압축 된 영상으로부터 스크린네일 영상을 생성한다(530단계).5, an image is compressed using the
고화질의 영상을 생성하기 위해 현지 디지털 영상 처리기(100)에서 H.264 코덱(120-2)의 main profile/high profile 등이 속속 지원됨에 따라, JPEG 코덱(102-1)과 압축 효율면에서 차이가 나게 된다. H.264 코덱(102-2)는 현재 가장 효율적인 영상 압축 및 해제 기술을 지원하는 승인된 개방형 표준으로, H.264 코덱(120-2)은 JPEG 코덱(120-1)과 비교했을 때 화질의 손상 없이 50% 이상으로 디지털 영상 파일 사이즈를 줄일 수 있다. Since the main profile / high profile of the H.264 codec 120-2 is continuously supported in the local
H.264 코덱(120-2)은 프로파일에 따라서 인코더는 I-프레임, P-프레임 및 B-프레임과 같은 상이한 프레임 종류를 사용할 수 있으며, 스크린네일 영상 압축 및 해제를 위해 다른 이미지를 참조하지 않고 독립적으로 해독인 가능한 독립형 프레임 형태인 I-프레임 즉, 인트라 프레임(Intra Frame)을 이용한다.Depending on the profile, the H.264 codec 120-2 may use different frame types such as I-frame, P-frame and B-frame depending on the profile, without reference to other images for screen nail image compression and decompression An I-frame, i.e., an intra frame, which is a stand-alone frame type that can be independently decoded, is used.
이어서, 이미지 파일 생성부(128-3)는 압축된 JPEG 메인 영상 및 썸네일 영상과 압축된 H.264 스크린네일 영상을 이용하여 이미지 파일을 생성하고 저장한다(540단계). 이때 이미지 파일 생성부(128-3)는 H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 이미지 파일 중 촬영 정보를 포함하는 MakerNote data 영역에 저장한다.In
도 4a에는 일반적인 JPEG 파일 구조가 도시되어 있는데, 일반적인 JPEG 영상 파일은 [Header][Thumbnail][MainImage][ScreenNail]의 구조를 갖는다.FIG. 4A shows a general JPEG file structure. A typical JPEG image file has a structure of [Header] [Thumbnail] [MainImage] [ScreenNail].
헤더(header)는 디지털 영상 처리기(100)에서 사용되는 각종 정보를 저장해 놓은 데이터로서 JPEG 파일에 삽입된 부가정보이다. 썸네일(thumbnail) 영상은 촬 영한 영상 재생을 편하게 하기 위해 메인영상보다 작고 간결하게 만들어진 영상(예를 들어, 160×120)으로, 썸네일 영상을 이용하면 촬영된 메인 영상 검색을 편리하게 할 수 있어 영상 검색 시간을 단축시킬 수 있다. 스크린네일(screennail) 영상은 썸네일 영상과는 별도로 LCD(124)의 가시 영역의 크기(예를 들어 640×480)에 맞추어 압축된 영상이다. 영상 재생모드에서는 스크린네일 영상을 복원하여 LCD(124)에 표시한다.A header is additional information embedded in a JPEG file as data that stores various types of information used in the
도 4b 에는 본 발명에 따라 생성된 이미지 파일의 구조가 도시되어 있는데, [Header][Thumbnail][MainImage]의 구조를 갖는다.FIG. 4B shows a structure of an image file generated according to the present invention, and has a structure of [Header] [Thumbnail] [MainImage].
헤더(header)에는 촬영 정보를 포함하는 MakerNote data 영역이 존재하는데, H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 MakerNote data 영역에 저장한다. 본 실시 예에서 H.264 코덱(120-2)이 VGA급, SVGA급, 720P 또는 1080P를 너머 Full HD급까지 지원 가능하기 때문에, H.264 영상 생성부(128-2)가 생성한 스크린네일 영상을 HD급 크기로 확대하여 디지털 TV에서 재생이 가능하게 된다.The header includes a MakerNote data area including shooting information, and stores the screen nail image generated by the H.264 image generator 128-2 in the MakerNote data area. In this embodiment, since the H.264 codec 120-2 can support the VGA class, the SVGA class, the full HD class beyond 720P or 1080P, the screen nail generated by the H.264 video generator 128-2 The image can be enlarged to HD size and can be played back on digital TV.
이어서, 도 6을 참조하여 이미지 압축해제 방법을 설명하면, 디지털 영상 처리기(100)가 영상재생 모드로 진입하면(610단계), CPU(128)는 사용자 입력신호에 의해 스크린네일 영상을 재생할 것인가를 판단하고(620단계), 스크린네일 영상을 재생하는 경우, H.264 코덱(120-2)에 명령을 내려 재생할 이미지 파일의 MakerNote로부터 H.264 압축된 스크린네일 영상을 리드하고 H.264 압축해제 하여 재생한다(630단계).6, when the
CPU(128)는 사용자 입력신호에 의해 메인 영상 또는 썸네일 영상을 재생할 것인가를 판단하고(640단계), 메인 영상 또는 썸네일 영상을 재생하는 경우, JPEG 코덱(120-1)에 명령을 내려 재생할 이미지 파일로부터 JPEG 압축된 메인 영상 또는 썸네일 영상을 리드하고 JPEG 압축해제 하여 재생한다(650단계).In
도 1은 본 발명에 따른 디지털 영상 처리기에서 이미지 압축 및 해제 장치의 구성을 보이는 블록도 이다.1 is a block diagram showing the configuration of an image compression and decompression apparatus in a digital image processor according to the present invention.
도 2는 도 1에 도시된 압축 및 해제 처리부(120)의 개략적인 블록도 이다.2 is a schematic block diagram of the compression and
도 3은 도 1에 도시된 CPU(128)의 개략적인 블록도 이다.3 is a schematic block diagram of the
도 4는 종래의 이미지 파일 구조 및 본 발명의 이미지 파일 구조를 도시한 도면이다.4 is a diagram showing a conventional image file structure and an image file structure of the present invention.
도 5는 본 발명에 따른 디지털 영상 처리기에서 이미지 압축 방법의 동작을 보이는 흐름도 이다.5 is a flowchart illustrating an operation of an image compression method in a digital image processor according to the present invention.
도 6은 본 발명에 따른 디지털 영상 처리기에서 이미지 압축해제 방법의 동작을 보이는 흐름도 이다.6 is a flowchart illustrating an operation of an image decompression method in a digital image processor according to the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080114854A KR101589490B1 (en) | 2008-11-18 | 2008-11-18 | Apparatus and method for compressing/decompressing image in digital image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080114854A KR101589490B1 (en) | 2008-11-18 | 2008-11-18 | Apparatus and method for compressing/decompressing image in digital image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100055942A KR20100055942A (en) | 2010-05-27 |
KR101589490B1 true KR101589490B1 (en) | 2016-01-28 |
Family
ID=42280187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080114854A KR101589490B1 (en) | 2008-11-18 | 2008-11-18 | Apparatus and method for compressing/decompressing image in digital image processing device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101589490B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3303922B2 (en) * | 1997-07-10 | 2002-07-22 | フラッシュポイント テクノロジー インコーポレイテッド | Method and apparatus for live view and immediate review on an image capture device |
KR100731581B1 (en) * | 2005-07-25 | 2007-06-22 | 경북대학교 산학협력단 | Transmitting and receiving method of remote surveillant images through object recognition and system at the same of |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070074029A (en) * | 2006-01-06 | 2007-07-12 | 엘지전자 주식회사 | Digital image processing apparatus and method |
KR101235805B1 (en) * | 2006-05-26 | 2013-02-21 | 삼성전자주식회사 | Recording medium and method of replaying image file formed in the recording medium |
-
2008
- 2008-11-18 KR KR1020080114854A patent/KR101589490B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3303922B2 (en) * | 1997-07-10 | 2002-07-22 | フラッシュポイント テクノロジー インコーポレイテッド | Method and apparatus for live view and immediate review on an image capture device |
KR100731581B1 (en) * | 2005-07-25 | 2007-06-22 | 경북대학교 산학협력단 | Transmitting and receiving method of remote surveillant images through object recognition and system at the same of |
Also Published As
Publication number | Publication date |
---|---|
KR20100055942A (en) | 2010-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8553092B2 (en) | Imaging device, edition device, image processing method, and program | |
US7692690B2 (en) | Image sensing apparatus for recording a moving image and a still image and its control method | |
US8416310B2 (en) | Imaging device and imaging processing apparatus capable of recording and generating movie image data | |
JP2009111518A (en) | Imaging apparatus, image reproducing unit and program thereof, and data structure of image file | |
JP2009194770A (en) | Imaging device, moving image reproducing apparatus, and program thereof | |
JP2008085689A (en) | Image pickup device, image pickup control program and image pickup control method | |
US20090153704A1 (en) | Recording and reproduction apparatus and methods, and a storage medium having recorded thereon computer program to perform the methods | |
JP2010199884A (en) | Imaging device | |
JP5164610B2 (en) | Imaging apparatus and control method thereof | |
JP4901673B2 (en) | Imaging apparatus, recording apparatus, reproducing apparatus, imaging method, recording method, reproducing method, and program | |
US20090153677A1 (en) | Recording and reproduction apparatus and methods, and a recording medium storing a computer program for executing the methods | |
JP2009077265A (en) | Imaging apparatus | |
KR101589490B1 (en) | Apparatus and method for compressing/decompressing image in digital image processing device | |
KR101542742B1 (en) | Apparatus and method for high speed booting in digital image processing device | |
KR101480407B1 (en) | Digital image processing apparatus, method for controlling the same and medium of recording the method | |
JP5012985B2 (en) | Imaging apparatus and program thereof | |
KR101545902B1 (en) | Photographing apparatus recording apparatus reproducing apparatus photographing method recording method reproducing method and storing medium having program to perform the recording method | |
JP2006262128A (en) | Digital camera | |
JP2001230958A (en) | Electronic camera apparatus | |
JP4952739B2 (en) | Image file generation apparatus and image reproduction apparatus | |
JP2012100022A (en) | Image processing system | |
JP5141626B2 (en) | Image processing apparatus and image reproduction apparatus | |
JP2009100199A (en) | Image processor, imaging device, image processing method, and program | |
JP2007081463A (en) | Image processing apparatus and method | |
KR20050036559A (en) | Photographing apparatus of copying moving-image signals from one recording medium to another and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E90F | Notification of reason for final refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |