KR101426083B1 - Apparatus and Method for providing thumnail image on digital device - Google Patents

Apparatus and Method for providing thumnail image on digital device Download PDF

Info

Publication number
KR101426083B1
KR101426083B1 KR1020070108982A KR20070108982A KR101426083B1 KR 101426083 B1 KR101426083 B1 KR 101426083B1 KR 1020070108982 A KR1020070108982 A KR 1020070108982A KR 20070108982 A KR20070108982 A KR 20070108982A KR 101426083 B1 KR101426083 B1 KR 101426083B1
Authority
KR
South Korea
Prior art keywords
thumbnail image
photo file
file
image
photo
Prior art date
Application number
KR1020070108982A
Other languages
Korean (ko)
Other versions
KR20090043242A (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 KR1020070108982A priority Critical patent/KR101426083B1/en
Publication of KR20090043242A publication Critical patent/KR20090043242A/en
Application granted granted Critical
Publication of KR101426083B1 publication Critical patent/KR101426083B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

본 발명은 디지털 기기에서 썸네일(Thumnail) 이미지를 제공하는 장치 및 방법에 관한 것으로서, 사용자가 선택한 사진 파일에 썸네일 이미지가 존재하지 않는 경우, 해당 사진 파일을 디코딩하고 스케일링하여 썸네일 이미지를 생성한 후 표시하여 주고, 생성된 썸네일 이미지를 해당 사진 파일에 저장하거나 별도의 저장 매체에 저장함으로써, 나중에 사용자가 해당 사진 파일을 선택하는 경우 썸네일 이미지가 존재하였던 다른 사진 파일과 동일한 속도로 썸네일 이미지를 제공해주는 디지털 기기에서 썸네일(Thumnail) 이미지를 제공하는 장치 및 방법이 개시된다.The present invention relates to an apparatus and a method for providing a thumbnail image in a digital device. When a thumbnail image does not exist in a photo file selected by the user, the thumbnail image is decoded and scaled to generate a thumbnail image. And stores the generated thumbnail image in a corresponding photograph file or in a separate storage medium so that when a user selects the corresponding photo file at a later time, a digital image file providing a thumbnail image at the same speed as another photo file in which the thumbnail image exists An apparatus and method for providing a thumbnail image in a device is disclosed.

디지털 기기, 미리 보기, 썸네일 이미지, 검색, 스케일링 Digital device, preview, thumbnail image, search, scaling

Description

디지털 기기에서 썸네일 이미지를 제공하는 장치 및 방법{ Apparatus and Method for providing thumnail image on digital device }[0001] Apparatus and method for providing a thumbnail image in a digital device [0002]

본 발명은 디지털 기기에서 썸네일(Thumnail) 이미지를 제공하는 장치 및 방법에 관한 것으로, 더욱 상세하게는 사용자가 선택한 사진 파일에 썸네일 이미지가 존재하지 않는 경우에도 미리 보기 기능을 제공할 수 있는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and a method for providing a thumbnail image in a digital device, and more particularly, to an apparatus and a method capable of providing a preview function even when a thumbnail image does not exist in a photo file selected by a user .

최근 디지털 컨버전스(Digital Convergence)의 동향에 따라, 대용량의 저장 매체를 가진 여러 디지털 기기에서 포토 앨범(Photo Album) 기능을 제공하고 있다. Recently, according to the trend of digital convergence (Digital Convergence), a digital photo device having a large capacity storage media provides a photo album function.

여기서, 디지털 기기란 디지털 데이터를 처리하는 디지털 회로를 가진 장치로서, 이미지 데이터를 제품의 화면에 디스플레이할 수 있는 컴퓨터, 프린터, 디지털 TV, 디지털 카메라, 디지털 복사기, 개인용 디지털 단말기(PDA), 휴대폰, 이동 멀티미디어 플레이어(PMP), MP3 플레이어, 디지털 비디오 레코더 등을 예로 들 수 있다.Here, a digital device is a device having a digital circuit for processing digital data. The digital device is a computer, a printer, a digital TV, a digital camera, a digital copier, a personal digital assistant (PDA) Mobile multimedia players (PMPs), MP3 players, digital video recorders, and the like.

이러한 디지털 기기에서 이미지 데이터(예를 들면, 사진)는 일반적으로 JPEG(Joint Picture Expert Group)로 압축되어 저장된다.In such digital devices, image data (e.g., photographs) are generally compressed and stored in JPEG (Joint Picture Expert Group).

상기 JPEG은 H.261과 함께 MPEG(Moving Picture Expert Group)의 기초가 되는 중요한 표준으로, 컬러 정지 영상의 압축 표준이다. 상기 JPEG은 디지털 방식의 전자 스틸 카메라나 영상 데이터베이스와 같은 저장계, 정지화상 전송장치나 오디오 그래픽 회의, 영상회의 등의 전송계, 나아가 컬러 프린터 등의 인쇄계 등에 널리 사용되고 있다.The JPEG is an important standard that is based on MPEG (Moving Picture Expert Group) together with H.261, and is a compression standard for color still images. The JPEG is widely used in storage systems such as digital still cameras and image databases, transmission systems such as still image transmission apparatuses, audio graphic conferences, video conferencing systems, and printing systems such as color printers.

상기 JPEG 파일 포맷에는 파일 정보(File Information), 썸네일 이미지(Thumbnail Image), 스캔 데이터(Scan Data) 등이 포함된다.The JPEG file format includes file information, a thumbnail image, and scan data.

상기 썸네일 이미지(Thumbnail Image)는 이미지 검색을 위하여 화면에 표시되는 작은 이미지이다. The thumbnail image is a small image displayed on the screen for image search.

스캔 데이터(Scan Data)는 각 픽셀들의 색 정보 즉, 샘플링-DCT-양자화-허프만 부호화 과정을 거쳐 생성된 압축 데이터를 저장한다.The scan data stores the color information of each pixel, that is, the compressed data generated through the sampling-DCT-quantization-Huffman encoding process.

파일 정보(File Information)는 교환 이미지 파일 형식(Exchangeable Image File : EXIF)으로서, JPEG 파일 포맷의 헤더(Header) 부분에 저장된다.The file information is an Exchangeable Image File (EXIF), and is stored in a header portion of the JPEG file format.

EXIF는 디지털 카메라에 사용되는 각종 정보를 저장해 놓은 데이터로서, JPEG 파일에 삽입된 부가 정보이다. EXIF에는 촬영 일시, 셔터 속도, 조리개 수치, 플래시 사용 여부, ISO 설정 값, 줌 배율 등 다양한 부가 정보를 기록하는 것이 가능하다. 이 같은 정보는 기본적으로 사진에는 나타나지 않으며 찍은 사진을 이미지 뷰터로 볼 때 부가 정보로서 제공된다.EXIF is data that stores various information used in a digital camera, and is additional information inserted in a JPEG file. In EXIF, it is possible to record various additional information such as shooting date and time, shutter speed, aperture value, whether to use the flash, ISO setting value, zoom magnification and the like. Such information is basically not displayed in the photograph, and the photograph is provided as additional information when viewed in the image viewer.

일반적으로 디지털 기기에서 사진 목록을 제공하는 경우, 각 사진 파일의 썸 네일 이미지를 추출한 후 재생하여 보여주는데, 이때 사용자는 썸네일 이미지를 통해 빠른 속도로 현재 선택된 사진들이 어떤 사진들인지 파악할 수 있다. In general, when a digital device provides a list of photographs, a thumbnail image of each photo file is extracted and reproduced and displayed. At this time, the user can quickly grasp what photos are currently selected through the thumbnail image.

즉, 원본 이미지를 보여주려 하면 사진 전체를 디코딩하여 보여주어야 하기 때문에 상당히 많은 시간이 소요되는데 반해, 썸네일 이미지를 통한 미리 보기 기능을 이용하면 빠르게 이미지를 검색할 수 있게 된다.In other words, if you want to show the original image, you need to decode and display the entire image, so it takes a lot of time, but you can preview the image quickly with thumbnail preview function.

그러나, 사진 파일들에는 썸네일 이미지가 누락되어 있는 것들도 많이 있는데, 이는 다양한 개인들이 다양한 방법을 통해 사진 파일을 생성하는 것이 가능하기 때문이다.However, there are many photo files that are missing a thumbnail image because it is possible for various individuals to create photo files in various ways.

이와 같이, 썸네일 이미지가 포함되어 있지 않은 사진들을 미리 보기 기능을 통해 보여주기 위해서는, 사진 전체를 디코딩한 후 스케일링하여 보여줄 수밖에 없는데, 이러한 방법은 사진의 크기가 커질수록 시간이 오래 걸린다는 문제점이 있다.As described above, in order to show pictures not including a thumbnail image through a preview function, the entire picture must be decoded and then scaled and displayed. However, such a method has a problem that it takes a long time as the size of a picture increases .

따라서, 포토 앨범 기능을 제공하는 디지털 기기에서 사진 파일들의 미리 보기 기능을 빠르게 제공하고, 썸네일 이미지가 없는 사진 파일에 대해서도 썸네일 이미지가 있는 사진 파일과 같은 속도로 미리 보기 기능을 제공하는 방법이 요구된다.Accordingly, there is a demand for a method of rapidly providing a preview function of photo files in a digital device providing a photo album function and providing a preview function at the same speed as a photo file having a thumbnail image for a photo file without a thumbnail image .

상기 기술적 과제를 해결하기 위한 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 장치의 바람직한 실시예는, 사용자에 의해 선택된 사진 파일에서 썸네일(Thumnail) 이미지의 존재 여부에 따라 상기 썸네일 이미지를 추출하여 출력하거나 상기 사진 파일을 출력하는 썸네일 이미지 추출부와, 상기 썸네일 이미지 추출부에서 선택적으로 출력된 썸네일 이미지 또는 상기 사진 파일을 디코딩하는 디 코더와, 상기 디코딩된 사진 파일을 스케일링(Scaling)하여 상기 사진 파일의 썸네일 이미지를 생성하는 스케일러와, 상기 디코딩된 썸네일 이미지 또는 상기 생성된 썸네일 이미지를 화면에 표시하는 표시부와, 상기 사진 파일에 썸네일 이미지가 존재하면 썸네일 이미지를 추출하여 출력하도록 하고, 상기 사진 파일에 썸네일 이미지가 없으면 상기 사진 파일을 출력하도록 상기 썸네일 이미지 추출부를 제어하고, 상기 썸네일 이미지 또는 상기 사진 파일을 디코딩하도록 상기 디코더를 제어하며, 상기 디코딩된 사진 파일을 썸네일 이미지의 크기로 스케일링하도록 상기 스케일러를 제어하는 제어부를 포함하여 이루어지는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a device for providing a thumbnail image in a digital device, the device extracting and outputting the thumbnail image according to whether a thumbnail image exists in a photo file selected by a user A decoder for decoding the thumbnail image or the photo file selectively output by the thumbnail image extracting unit; and a scaling unit for scaling the decoded photo file, A display unit for displaying the decoded thumbnail image or the generated thumbnail image on a screen; and a thumbnail image extracting unit for extracting and outputting a thumbnail image if a thumbnail image exists in the photo file, If there is no image, Controlling the thumbnail image extracting unit to output a file, controlling the decoder to decode the thumbnail image or the photo file, and controlling the scaler to scale the decoded photo file to a size of a thumbnail image .

상기 기술적 과제를 해결하기 위한 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 방법의 바람직한 실시예는, 썸네일 이미지 추출부가 사용자에 의해 선택된 사진 파일에서 썸네일(Thumnail) 이미지가 존재하는지 여부를 판단하는 단계와, 상기 판단 결과, 썸네일 이미지가 존재하지 않으면 상기 사진 파일을 디코더로 전달하는 단계와, 상기 디코더가 상기 사진 파일을 디코딩한 후, 스케일러에 전달하는 단계와, 상기 스케일러가 디코딩된 사진 파일을 스케일링하여 상기 사진 파일의 썸네일 이미지를 생성한 후, 표시부로 전달하여 화면에 표시하는 단계를 포함하여 이루어지는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of providing a thumbnail image in a digital device, the method comprising: determining whether a thumbnail image exists in a thumbnail image extracting unit selected by a user; A step of transmitting the photo file to a decoder when the thumbnail image does not exist as a result of the determination, decoding the photo file and transmitting the decoded photo file to a scaler, scaling the decoded photo file, Generating a thumbnail image of the photo file, and transmitting the thumbnail image to a display unit and displaying the thumbnail image on the screen.

본 발명에 의하면, 사용자에 의해 선택된 사진 파일에 썸네일 이미지가 존재하지 않는 경우, 해당 사진 파일을 디코딩한 후, 스케일링하여 썸네일 이미지를 생 성함으로써, 미리 보기 기능을 제공할 수 있다.According to the present invention, if a thumbnail image does not exist in a photo file selected by the user, the preview function can be provided by decoding the photo file and then generating a thumbnail image by scaling.

또한, 상기 생성한 썸네일 이미지를 상기 사진 파일에 저장하거나 별도의 저장 매체에 저장함으로써, 다음번 사용자가 해당 사진 파일을 선택하는 경우, 썸네일 이미지가 존재하던 다른 사진 파일과 동일한 속도로 미리 보기 기능을 제공할 수 있다.The generated thumbnail image may be stored in the photo file or may be stored in a separate storage medium. If the user selects the corresponding photo file, the preview function is provided at the same speed as another photo file in which the thumbnail image exists can do.

이하, 도 1 내지 도 6을 참조하여 본 발명의 디지털 기기에서 썸네일 이미지 를 제공하는 장치 및 방법에 대해 상세히 살펴보기로 한다. Hereinafter, an apparatus and method for providing a thumbnail image in the digital device of the present invention will be described in detail with reference to FIGS. 1 to 6. FIG.

본 발명을 설명함에 있어서, 본 발명과 관련된 공지기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification.

도 1은 디지털 기기에서 사진 목록에 대한 GUI(Graphical User Interface)를 나타낸 도면이다.1 is a diagram illustrating a GUI (Graphical User Interface) for a list of pictures in a digital device.

이에 도시된 바와 같이, 사진 목록에 대한 GUI(100)에는 현재 폴더에 저장되어 있는 사진 파일의 제목과 사진의 미리 보기가 목록에 표시된다.As shown in the figure, the GUI 100 for the photo list displays a preview of the title and the photo of the photo file stored in the current folder.

여기서, 사용자가 어느 특정 미리 보기 사진상에 포커스를 두고 팝업 메뉴(150)를 띄우면 현 시점에서 수행할 수 있는 기능들이 표시되고, 이때 사용자가 상기 팝업 메뉴(150)에서 '보기' 메뉴를 선택하면 그에 해당하는 이미지 데이터를 디코딩하여 전체 사진 영상을 보여주게 된다.Here, when the user places the focus on a specific preview picture and pops up the pop-up menu 150, functions that can be performed at the present time are displayed. At this time, when the user selects the 'view' menu in the pop-up menu 150 The corresponding image data is decoded to display the entire photographic image.

사용자는 이와 같이 사진 목록의 미리 보기 기능을 통하여 사진 파일들을 빠르게 검색할 수 있고, 원하는 사진 파일을 재생할 수 있게 된다.In this way, the user can quickly search for the photo files through the preview function of the photo list and play the desired photo file.

도 2는 사진 목록의 미리 보기 기능의 동작을 개략적으로 나타낸 순서도이다.2 is a flowchart schematically showing the operation of the preview function of the photograph list.

이에 도시된 바와 같이, 미리 보기 기능은 해당 폴더에 있는 사진 파일 중에서 첫 번째 사진 파일의 썸네일 이미지를 추출하여 화면에 표시해준다(S 100).As shown in the figure, the preview function extracts a thumbnail image of the first photo file among the photo files in the folder and displays the thumbnail image on the screen (S 100).

상기 썸네일 이미지는 크기가 큰 원본 이미지를 작은 크기의 이미지로 나타냄으로써, 많은 량의 이미지를 쉽고 빠르게 보거나 관리할 수 있도록 하기 위한 것으로, 상기 썸네일 이미지는 크기가 작기 때문에 짧은 시간 동안 디코딩하여 화면에 표시해주는 것이 가능하다.The thumbnail image is used to display a large original image as a small size image so that a large amount of images can be easily and quickly viewed and managed. Since the thumbnail image is small in size, it is decoded for a short time and displayed on a screen It is possible to do.

다음으로, 상기 사진 파일이 해당 폴더의 마지막 사진 파일인지 확인한 후(S 110), 마지막 사진 파일이 아닌 경우, 다음 순서의 사진 파일로 이동하여 해당 사진 파일의 썸네일 이미지를 추출한 후 화면에 표시해주며(S 120), 해당 폴더의 마지막 사진 파일에 이르기까지 상기 과정을 반복한다.Next, if it is determined that the photo file is the last photo file of the folder (S110), if the photo file is not the last photo file, the photo file is moved to the next photo file to extract a thumbnail image of the photo file, S 120) and repeats the above process until reaching the last photo file of the folder.

그러나, 해당 사진 파일에 썸네일 이미지가 없는 경우에는, 사진의 전체 보 기를 할 때와 마찬가지로 사진 파일 전체를 디코딩한 후, 전체 사진을 화면에 표시할 수 밖에 없다.However, if there is no thumbnail image in the picture file, the entire picture file can not be displayed on the screen after the entire picture file is decoded as in the case of viewing the whole picture.

따라서 본 발명에서는, 사진 파일에 썸네일 이미지가 없는 경우, 사진 파일 전체를 디코딩한 후, 스케일링(Scaling)을 통하여 썸네일 이미지의 크기에 맞도록 줄인 다음 화면에 표시함으로써, 사진 파일에 썸네일 이미지가 없는 경우에도 미리 보기 기능이 가능하도록 한다.Accordingly, in the present invention, if there is no thumbnail image in the photo file, the whole photo file is decoded, scaled down to fit the size of the thumbnail image, and then displayed on the screen. If there is no thumbnail image in the photo file Also enables preview function.

그리고, 상기 생성한 썸네일 이미지는 원본 사진 파일의 썸네일 이미지 저장 공간에 저장하거나 별도의 저장 매체에 저장하여, 다음 미리 보기를 할 때 상기 저장된 썸네일 이미지를 화면에 표시해주는 것을 특징으로 한다.The generated thumbnail image may be stored in a thumbnail image storage space of the original photo file, or may be stored in a separate storage medium, and the thumbnail image may be displayed on the screen when previewing the next thumbnail image.

도 3은 JPEG 파일 구조를 나타낸 도면이다. 여기서, JPEG 파일 구조란 JFIF(JPEG File Interchange Format)을 의미하며, 이에 대해 간략히 설명하면 다음과 같다.3 is a diagram showing a JPEG file structure. Here, the JPEG file structure means a JPEG File Interchange Format (JFIF), which will be briefly described below.

SOI(Start of Image) 블록과 어플리케이션 마커(Application Marker) 블록은 JPEG 파일임을 확인하는 용도로 사용된다. 그리고 상기 어플리케이션 마커 블록은 썸네일 이미지의 크기 정보 및 썸네일 이미지 데이터를 포함한다.The Start of Image (SOI) block and the Application Marker block are used to confirm that they are JPEG files. The application marker block includes thumbnail image size information and thumbnail image data.

DQT(Define Quantization Tables) 블록은 양자화 테이블을 보관하며, JFIF는 최대 4개의 양자화 테이블을 보관할 수 있다.The Define Quantization Tables (DQT) block holds quantization tables, and JFIF can store up to four quantization tables.

SOF(Start of Frame) 블록은 이미지의 크기 및 샘플링에 관한 정보를 보관한다.The Start of Frame (SOF) block holds information about image size and sampling.

DHT(Define Huffman Tables) 블록은 허프만 코드 테이블을 보관한다. 허프만 코드 테이블은 AC 계수용, DC 계수용이 따로 보관되며, 각각 최대 4개의 테이블을 가질 수 있다.The DHT (Define Huffman Tables) block holds the Huffman code table. Huffman code tables are stored separately for AC and DC, and each can have up to four tables.

SOS(Start of Scan) 블록은 Y, Cb, Cr 각 성분들이 어떤 허프만 테이블을 사용할지 알려주는 블록이다.The SOS (Start of Scan) block is a block that tells Y, Cb, and Cr components which Huffman table to use.

스캔 데이터(Scan Data) 블록은 픽셀들의 색 정보를 샘플링-DCT-양자화-허프만 부호화 과정을 거쳐 생성된 압축 데이터를 저장한다.The scan data block stores compressed data generated through sampling-DCT-quantization-Huffman encoding of color information of pixels.

EOI(End of Image) 블록은 JPEG 파일의 끝을 나타낸다.The End of Image (EOI) block represents the end of the JPEG file.

도 4는 JPEG 파일 구조 중 SOI(Start of Image) 블록과 어플리케이션 마커(Application Marker) 블록을 나타낸 도면이다. 4 is a block diagram illustrating an SOI (Start of Image) block and an application marker block in a JPEG file structure.

여기서, 어플리케이션 마커 블록에 썸네일 이미지 정보가 포함되어 있다. 즉, Xthumnail 필드는 미리 보기 이미지(즉, 썸네일 이미지)의 폭을 나타내고, Ythumnail 필드는 미리 보기 이미지의 높이를 나타내며, Thumnail 필드에는 미리 보기 이미지가 RGB 컬러 순으로 픽셀 데이터들이 저장된다.Here, thumbnail image information is included in the application marker block. That is, the Xthumnail field indicates the width of the preview image (i.e., the thumbnail image), the Ythumnail field indicates the height of the preview image, and the thumbnail field stores the pixel data in the RGB color order.

도 5는 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 장치의 실시예를 나타낸 블록도이다.5 is a block diagram showing an embodiment of an apparatus for providing a thumbnail image in the digital device of the present invention.

이에 도시된 바와 같이, 기록 매체(210), 썸네일 이미지 추출부(220), 디코더(Decoder)(230), 스케일러(Scaler)(240), 인코더(Encoder)(250), 표시부(260), 제어부(270)를 포함하여 이루어진다.A thumbnail image extracting unit 220, a decoder 230, a scaler 240, an encoder 250, a display unit 260, a control unit 260, (270).

이와 같이 구성된 본 발명의 이미지 검색 장치에 있어서, 상기 기록 매체(210)는 JPEG 파일 포맷의 사진 파일을 저장한다.In the image search apparatus of the present invention configured as described above, the recording medium 210 stores a picture file of a JPEG file format.

상기 썸네일 이미지 추출부(220)는 사용자에 의해 선택된 사진 파일에서 썸네일 이미지가 존재하는지 여부를 판단한 후, 썸네일 이미지가 존재하는 경우 상기 썸네일 이미지를 추출하여 디코더(230)로 전달하고, 상기 선택된 사진 파일에 썸네일 이미지가 존재하지 않는 경우, 해당 사진 파일을 디코더(230)로 전달한다.The thumbnail image extracting unit 220 determines whether a thumbnail image exists in the photo file selected by the user. If the thumbnail image exists, the thumbnail image extractor 220 extracts the thumbnail image and transmits the extracted thumbnail image to the decoder 230, If the thumbnail image does not exist, the corresponding photo file is transmitted to the decoder 230.

이때, 상기 썸네일 이미지 추출부(220)는 상기 선택된 사진 파일의 JPEG 파일 구조 중, 어플리케이션 마커 블록(Application Marker Block)에서 썸네일 이미지의 존재 여부를 판단하게 된다. At this time, the thumbnail image extracting unit 220 determines whether a thumbnail image exists in an application marker block of the JPEG file structure of the selected photo file.

상기 디코더(Decoder)(230)는 상기 썸네일 이미지 추출부(220)로부터 썸네일 이미지가 전달되면, 썸네일 이미지를 디코딩한 후 표시부(260)로 전달하고, 상기 썸네일 이미지 추출부(220)로부터 해당 사진 파일이 전달되면, 상기 해당 사진 파일을 디코딩한 후 스케일러(240)로 전달한다.When the thumbnail image is received from the thumbnail image extracting unit 220, the decoder 230 decodes the thumbnail image and transmits the thumbnail image to the display unit 260. The thumbnail image extracting unit 220 extracts a corresponding thumbnail image from the thumbnail image, The decoded picture file is decoded and then transmitted to the scaler 240. [

상기 디코더(230)에서 상기 썸네일 이미지 및 해당 사진 파일을 디코딩하는 과정을 간략히 살펴보면 다음과 같다.A process of decoding the thumbnail image and corresponding photo file by the decoder 230 will be briefly described below.

상기 JPEG로 압축된 데이터는 호프만 및 런 길이 디코딩에 의해 DCT( Discrete Cosine Transform)계수로 변환된 후, 양자화 값에 따라 역 양자화된다. 그 후, 역 양자화된 값은 IDCT(Inverse Discrete Cosine Transform)에 의해 공간적 화소 값들로 변환된다. 즉, 주파수 영역의 원본 데이터가 공간 영역 데이터로 변환된다. 상기 IDCT된 데이터는 라스터(Raster) 방식으로 스캔 된 후 JPEG 압축 과정에서 손실된 휘도 신호(Y)를 복원하게 된다. 이어서, 휘도 신호(Y)까지 복원된 YUV 영상 신호는 표시부(250)에서 디스플레이되기 위해 RGB 형태로 변환된다.The data compressed by the JPEG is transformed into DCT (Discrete Cosine Transform) coefficients by Hoffman and run length decoding, and is then dequantized according to the quantization values. Then, the dequantized values are converted into spatial pixel values by IDCT (Inverse Discrete Cosine Transform). That is, the original data in the frequency domain is transformed into the spatial domain data. The IDCT data is scanned by a raster method and then the luminance signal Y lost in the JPEG compression process is restored. Then, the YUV image signal reconstructed up to the luminance signal Y is converted into an RGB form to be displayed on the display unit 250.

상기 스케일러(240)는 상기 디코더(230)에 의해 디코딩된 해당 사진 파일을 썸네일 이미지의 크기로 스케일링(Scaling) 한 후, 인코더(250) 및 표시부(260)에 전달한다.The scaler 240 scales the picture file decoded by the decoder 230 to a size of a thumbnail image and then transmits the scaled picture file to the encoder 250 and the display unit 260.

한편, 상기 스케일러(240)에 의해 썸네일 이미지의 크기로 축소된 이미지는 인코더(250)에 의해 인코딩된 후, 별도의 저장 매체에 저장할 수 있다. 이때, 상기 썸네일 이미지의 크기로 축소된 이미지는 상기 해당 사진 파일과 매칭되어 저장됨으로써, 상기 해당 사진 파일의 썸네일 이미지로 인식된다.Meanwhile, the image reduced to the size of the thumbnail image by the scaler 240 may be encoded by the encoder 250, and then stored in a separate storage medium. At this time, the image reduced to the size of the thumbnail image is recognized as a thumbnail image of the corresponding photo file by being matched with the corresponding photo file.

이 경우, 다음에 사용자가 해당 사진 파일의 미리 보기를 선택하면, 제어부(270)는 상기 저장 매체에서 상기 스케일러(240)에 의해 축소된 이미지(즉, 해당 사진 파일의 썸네일 이미지)를 추출한 후, 디코더(230)를 통해 디코딩한 후, 표시부(260)에 전달하여 화면에 표시한다.In this case, when the user next selects a preview of the corresponding photo file, the control unit 270 extracts a reduced image (i.e., a thumbnail image of the corresponding photo file) from the storage medium by the scaler 240, Decoded by the decoder 230, and transmitted to the display unit 260 for display on the screen.

상기 인코더(Encoder)(250)는 상기 스케일러(240)에 의해 전달된 해당 사진 파일의 썸네일 이미지를 JPEG로 인코딩한 후, 제어부(270)로 전달한다. 이는 상기 인코딩된 썸네일 이미지를 상기 기록 매체(210)에 저장된 해당 사진 파일에 저장하기 위함이다.The encoder 250 encodes the thumbnail image of the corresponding photo file transmitted by the scaler 240 into JPEG, and then transmits the thumbnail image to the controller 270. This is for storing the encoded thumbnail image in the corresponding photo file stored in the recording medium 210. [

이때, 제어부(270)는 해당 사진 파일의 어플리케이션 마커 블록 중 Thumnail 필드에 상기 썸네일 이미지를 저장하고, Xthumnail 필드 및 Ythumnail 필드에 상기 썸네일 이미지의 폭 및 높이가 표시되도록 한다.At this time, the controller 270 stores the thumbnail image in the thumbnail field of the application marker block of the corresponding photo file, and displays the width and height of the thumbnail image in the Xthumnail field and the Ythumnail field.

본 발명은 이와 같이, 썸네일 이미지가 존재하지 않는 사진 파일의 경우, 상기 디코더(230) 및 스케일러(240)를 통해 썸네일 이미지를 생성한 후 해당 사진 파일에 저장하거나 별도의 저장 매체에 저장하여 둠으로써, 다음번에 사용자가 해당 사진 파일을 선택하는 경우 미리 보기 기능을 제공할 수 있게 된다.In the case of a photo file in which no thumbnail image exists, the thumbnail image is generated through the decoder 230 and the scaler 240 and is then stored in a corresponding photo file or in a separate storage medium , And a preview function can be provided when the user selects the corresponding photo file next time.

상기 표시부(260)는 상기 디코더(230) 및 스케일러(240)에 의해 전달된 썸네일 이미지를 화면에 표시한다.The display unit 260 displays a thumbnail image transmitted by the decoder 230 and the scaler 240 on the screen.

상기 제어부(270)는 상기 각 구성 요소들의 동작을 전반적으로 제어하는 역할을 한다.The controller 270 controls the operations of the components.

즉, 상기 제어부(270)는 사용자에 의해 선택된 사진 파일에서 썸네일 이미지를 추출하도록 상기 썸네일 이미지 추출부(220)를 제어하고, 썸네일 이미지 및 해당 사진 파일을 디코딩하도록 상기 디코더(230)를 제어하며, 디코딩된 해당 사진 파일의 크기를 썸네일 이미지의 크기로 축소하도록 상기 스케일러(240)를 제어한다.That is, the control unit 270 controls the thumbnail image extracting unit 220 to extract a thumbnail image from a photo file selected by the user, controls the decoder 230 to decode the thumbnail image and the corresponding photo file, And controls the scaler 240 to reduce the size of the decoded corresponding photo file to the size of the thumbnail image.

그리고, 상기 제어부(270)는 상기 스케일러(240)에 의해 축소된 해당 사진 파일의 썸네일 이미지를 인코딩하도록 인코더(250)를 제어한 후, 해당 사진 파일의 Thumnail 필드에 저장하거나 별도의 저장 매체에 저장한다.The control unit 270 controls the encoder 250 to encode a thumbnail image of a corresponding photo file reduced by the scaler 240, and then stores the thumbnail image in a thumbnail field of the corresponding photo file or in a separate storage medium do.

도 6은 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 방법을 나타낸 순서도이다.6 is a flowchart illustrating a method of providing a thumbnail image in the digital device of the present invention.

이에 도시된 바와 같이, 먼저 사용자가 소정의 사진 파일을 선택하면 제어부(270)는 해당 사진 파일을 기록 매체(210)에서 추출하여 썸네일 이미지 추출부(220)로 전달한다(S 200).As shown in the figure, when the user selects a predetermined photo file, the control unit 270 extracts the corresponding photo file from the recording medium 210 and transfers the extracted photo file to the thumbnail image extracting unit 220 (S 200).

다음으로, 상기 썸네일 이미지 추출부(220)는 해당 사진 파일에 썸네일 이미지가 존재하는지 여부를 판단한다(S 210).Next, the thumbnail image extracting unit 220 determines whether a thumbnail image exists in the corresponding photo file (S 210).

상기 단계 S 210의 판단 결과, 해당 사진 파일에 썸네일 이미지가 존재하면 상기 썸네일 이미지 추출부(220)는 해당 사진 파일에서 썸네일 이미지를 추출하여 디코더(230)로 전달한다(S 220).If it is determined in step S 210 that a thumbnail image exists in the corresponding photo file, the thumbnail image extracting unit 220 extracts a thumbnail image from the corresponding photo file and transmits the extracted thumbnail image to the decoder 230 (S 220).

이어서, 상기 디코더(230)가 썸네일 이미지를 디코딩하여 표시부(260)로 전달하고(S 230), 상기 표시부(260)가 디코딩된 썸네일 이미지를 화면에 표시한다(S 240).Then, the decoder 230 decodes the thumbnail image and transmits the decoded thumbnail image to the display unit 260 (S230). The display unit 260 displays the decoded thumbnail image on the screen (S240).

상기 단계 S 210의 판단 결과, 해당 사진 파일에 썸네일 이미지가 존재하지 않으면 상기 썸네일 이미지 추출부(220)는 해당 사진 파일을 디코더(230)로 전달한다(S 250).If the thumbnail image does not exist in the corresponding photo file as a result of the determination in step S 210, the thumbnail image extraction unit 220 delivers the corresponding photo file to the decoder 230 (S 250).

다음으로, 상기 디코더(230)는 해당 사진 파일을 디코딩하여 스케일러(240)로 전달한다(S 260).Next, the decoder 230 decodes the corresponding picture file and transmits the decoded picture file to the scaler 240 (S260).

이어서, 상기 스케일러(240)는 디코딩된 사진 파일을 썸네일 이미지의 크기로 축소하여 해당 사진 파일의 썸네일 이미지를 생성한 후, 표시부(260)로 전달하여 화면에 표시되도록 하며, 또한 인코더(250)로 전달한다(S 270).Then, the scaler 240 reduces the decoded picture file to the size of the thumbnail image, generates a thumbnail image of the corresponding picture file, and transmits the thumbnail image to the display unit 260 to be displayed on the screen. (S 270).

연이어, 상기 인코더(250)는 상기 생성된 해당 사진 파일의 썸네일 이미지를 인코딩하며(S 280), 제어부(270)는 상기 생성된 썸네일 이미지를 해당 사진 파일에 저장하거나 별도의 저장 매체에 저장한다(S 290).Subsequently, the encoder 250 encodes a thumbnail image of the generated corresponding photo file (S280), and the controller 270 stores the generated thumbnail image in the corresponding photo file or in a separate storage medium S 290).

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the present invention. I will understand.

그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위 뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

도 1은 디지털 기기에서 사진 목록에 대한 GUI(Graphical User Interface)를 나타낸 도면.1 is a diagram illustrating a GUI (Graphical User Interface) for a list of pictures in a digital device.

도 2는 사진 목록의 미리 보기 기능의 동작을 개략적으로 나타낸 순서도.2 is a flowchart schematically showing the operation of a preview function of a photo list;

도 3은 JPEG 파일 구조를 나타낸 도면.3 is a diagram showing a JPEG file structure;

도 4는 JPEG 파일 구조 중 SOI(Start of Image) 블록과 어플리케이션 마커(Application Marker) 블록을 나타낸 도면.4 is a block diagram showing an SOI (Start of Image) block and an application marker block in a JPEG file structure;

도 5는 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 장치의 실시예를 나타낸 블록도.5 is a block diagram showing an embodiment of an apparatus for providing a thumbnail image in the digital device of the present invention.

도 6은 본 발명의 디지털 기기에서 썸네일 이미지를 제공하는 방법을 나타낸 순서도.6 is a flowchart showing a method of providing a thumbnail image in the digital device of the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Description of the Related Art [0002]

210 : 기록 매체 220 : 썸네일 이미지 추출부210: recording medium 220: thumbnail image extracting unit

230 : 디코더 240 : 스케일러230: decoder 240: scaler

250 : 인코더 260 : 표시부250: Encoder 260: Display

270 : 제어부270:

Claims (7)

사용자에 의해 선택된 사진 파일에 대한 썸네일(Thumnail) 이미지가 존재하는 경우 상기 썸네일 이미지를 추출하여 출력하거나, 상기 사진 파일에 대한 썸네일 이미지가 존재하지 않는 경우 상기 사진 파일을 출력하는 썸네일 이미지 추출부;A thumbnail image extracting unit for extracting and outputting the thumbnail image when a thumbnail image of a photo file selected by a user exists and outputting the thumbnail image if the thumbnail image does not exist for the photo file; 상기 썸네일 이미지 추출부로부터 수신한 상기 썸네일 이미지 또는 상기 사진 파일을 디코딩하는 디코더;A decoder for decoding the thumbnail image or the photo file received from the thumbnail image extracting unit; 디코딩된 사진 파일을 스케일링하여, 상기 사진 파일에 대한 썸네일 이미지(생성 썸네일 이미지)를 생성하는 스케일러;A scaler for scaling the decoded picture file to generate a thumbnail image (generated thumbnail image) for the picture file; 상기 생성 썸네일 이미지를 상기 사진 파일과 매칭하여 저장하는 저장부;A storage unit for matching the generated thumbnail image with the photo file and storing the generated thumbnail image; 디코딩된 상기 썸네일 이미지 또는 상기 생성 썸네일 이미지를 표시하는 표시부; 및A display unit for displaying the decoded thumbnail image or the generated thumbnail image; And 상기 사진 파일에 대한 썸네일 이미지가 존재하면 썸네일 이미지를 추출하여 출력하도록 하고, 상기 사진 파일에 대한 썸네일 이미지가 존재하지 않으면 상기 사진 파일을 출력하도록 상기 썸네일 이미지 추출부를 제어하는 제어부를 포함하는 디지털 기기에서 썸네일 이미지를 제공하는 장치.And a control unit for controlling the thumbnail image extracting unit to output a thumbnail image if the thumbnail image exists for the photo file and to output the thumbnail image if the thumbnail image does not exist for the photo file A device providing a thumbnail image. 제1항에 있어서,The method according to claim 1, 상기 생성 썸네일 이미지를 인코딩하는 인코더를 더 포함하며,Further comprising an encoder for encoding the generated thumbnail image, 상기 제어부는, 인코딩된 상기 생성 썸네일 이미지를 상기 저장부에 저장하는 디지털 기기에서 썸네일 이미지를 제공하는 장치.Wherein the control unit stores the encoded generated thumbnail image in the storage unit. 삭제delete 썸네일 이미지 추출부가 사용자에 의해 선택된 사진 파일에 대한 썸네일 이미지가 존재하는지 여부를 판단하는 단계;Determining whether a thumbnail image of the photo file selected by the user is present; 상기 판단 결과, 썸네일 이미지가 존재하지 않으면 디코더가 상기 사진 파일을 디코딩하는 단계;Decoding the photo file if the thumbnail image does not exist; 스케일러가 디코딩된 상기 사진 파일을 스케일링하여, 상기 사진 파일에 대한 썸네일 이미지(생성 썸네일 이미지)를 생성하는 단계;Generating a thumbnail image (generated thumbnail image) for the photo file by scaling the photo file decoded by the scaler; 상기 생성 썸네일 이미지를 인코딩하는 단계;Encoding the generated thumbnail image; 인코딩된 상기 생성 썸네일 이미지를 상기 사진 파일에 매칭하여 저장하는 단계; 및Matching the generated thumbnail image with the photo file and storing the generated thumbnail image; And 상기 디코더가 상기 사진 파일을 디코딩한 후, 스케일러에 전달하는 단계; 및Decoding the photo file and transmitting the decoded photo file to a scaler; And 상기 생성 썸네일 이미지를 표시하는 단계를 포함하는 디지털 기기에서 썸네일 이미지를 제공하는 방법.And displaying the generated thumbnail image. 삭제delete 삭제delete 제4항에 있어서,5. The method of claim 4, 상기 판단 결과, 상기 사진 파일에 대한 썸네일 이미지가 존재하는 경우, 상기 디코더가 상기 썸네일 이미지를 디코딩하는 단계; 및Decoding the thumbnail image if the thumbnail image exists in the photo file as a result of the determination; And 디코딩된 상기 썸네일 이미지를 표시하는 단계를 더 포함하는 디지털 기기에서 썸네일 이미지를 제공하는 방법.And displaying the decoded thumbnail image. ≪ RTI ID = 0.0 > 31. < / RTI >
KR1020070108982A 2007-10-29 2007-10-29 Apparatus and Method for providing thumnail image on digital device KR101426083B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070108982A KR101426083B1 (en) 2007-10-29 2007-10-29 Apparatus and Method for providing thumnail image on digital device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070108982A KR101426083B1 (en) 2007-10-29 2007-10-29 Apparatus and Method for providing thumnail image on digital device

Publications (2)

Publication Number Publication Date
KR20090043242A KR20090043242A (en) 2009-05-06
KR101426083B1 true KR101426083B1 (en) 2014-07-31

Family

ID=40854108

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070108982A KR101426083B1 (en) 2007-10-29 2007-10-29 Apparatus and Method for providing thumnail image on digital device

Country Status (1)

Country Link
KR (1) KR101426083B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060099274A (en) * 2005-03-11 2006-09-19 삼성전자주식회사 Image display apparatus and method for proceeding improved thumbnail image display
KR20070006410A (en) * 2005-07-08 2007-01-11 주식회사 팬택앤큐리텔 Appratus and method for capturing a high resolution image in preview mode
KR20070029523A (en) * 2005-09-10 2007-03-14 삼성전자주식회사 Method and apparatus for making thumbnails out of digital image
KR20090086715A (en) * 2008-02-11 2009-08-14 엘지전자 주식회사 Apparatus and method for displaying thumbnail image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060099274A (en) * 2005-03-11 2006-09-19 삼성전자주식회사 Image display apparatus and method for proceeding improved thumbnail image display
KR20070006410A (en) * 2005-07-08 2007-01-11 주식회사 팬택앤큐리텔 Appratus and method for capturing a high resolution image in preview mode
KR20070029523A (en) * 2005-09-10 2007-03-14 삼성전자주식회사 Method and apparatus for making thumbnails out of digital image
KR20090086715A (en) * 2008-02-11 2009-08-14 엘지전자 주식회사 Apparatus and method for displaying thumbnail image

Also Published As

Publication number Publication date
KR20090043242A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
US7271832B1 (en) JPEG compatible image file format using multiple application segments
US8659678B2 (en) Image recording apparatus, image reproducing apparatus, method of controlling image recording apparatus, method of controlling image reproducing apparatus, computer program, and recording medium, with storing of a plurality of frame images, a plurality of attribute information in EXIF format, and plurality of offset data in one image file
KR100630983B1 (en) Image processing method, and image encoding apparatus and image decoding apparatus capable of employing the same
US8934627B2 (en) Video event capture, storage and processing method and apparatus
JP2005252754A (en) Apparatus and method for creating and reproducing image file
JP2010098615A (en) Image processing apparatus, image processing method, printing device, printing method, and, image processing system employing the same
US7319480B2 (en) Method and apparatus for compressing motion image files to provide an improved image navigation display
EP3490250A1 (en) Image processing apparatus and image processing method
US10003767B2 (en) Image processing apparatus and image processing method
WO2014141637A1 (en) Imaging apparatus and imaging apparatus control method
US7982792B2 (en) Image processing apparatus
US10360660B2 (en) Image processing apparatus and image processing method for handling raw images
KR101426083B1 (en) Apparatus and Method for providing thumnail image on digital device
JP2006303937A (en) Image display, image displaying method and program for executng the same
JP4430731B2 (en) Digital camera and photographing method
JP4154178B2 (en) Video camera
JP2018019122A (en) Image data processor and imaging apparatus
JP4251618B2 (en) Image reproducing apparatus and control method thereof
JP2007053744A (en) Image display system
KR100777286B1 (en) The device for scanning several photos fast and method for controlling the same
JP2004080095A (en) Image-processing apparatus and image-processing method
JP2004112132A (en) Method and apparatus for imaging
JP4809451B2 (en) Image file generating apparatus and method, and image file reproducing apparatus and method
JP5300630B2 (en) Imaging device
JP2009118195A (en) Imaging apparatus and method

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: 20170614

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180614

Year of fee payment: 5