JP2010026614A - Slide show reproduction method, program, slide show reproduction device, and camera - Google Patents

Slide show reproduction method, program, slide show reproduction device, and camera Download PDF

Info

Publication number
JP2010026614A
JP2010026614A JP2008184360A JP2008184360A JP2010026614A JP 2010026614 A JP2010026614 A JP 2010026614A JP 2008184360 A JP2008184360 A JP 2008184360A JP 2008184360 A JP2008184360 A JP 2008184360A JP 2010026614 A JP2010026614 A JP 2010026614A
Authority
JP
Japan
Prior art keywords
image data
slide show
data
image
reproduction
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2008184360A
Other languages
Japanese (ja)
Inventor
Makoto Sasaki
誠 佐々木
Keizo Kitamura
啓造 北村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Systems Inc
Original Assignee
Nikon Systems Inc
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 Nikon Systems Inc filed Critical Nikon Systems Inc
Priority to JP2008184360A priority Critical patent/JP2010026614A/en
Publication of JP2010026614A publication Critical patent/JP2010026614A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a slide show reproduction method, a program, a slide show reproduction device and a camera for displaying an image giving different impressions to one screen at once in reproducing a slide show. <P>SOLUTION: A slide show reproduction method to be performed by a processing part configured of a CPU 105 or the like includes: featured value calculation processing for extracting image data from a storage part such as a memory card 110, and for calculating the featured value of the image data; class-sorting processing for sorting image data into prescribed classes based on the featured value calculated in this way; reproduction image data instruction processing for generating reproduction image data in which two or more image data among the image data are arranged so that the inter-class distance of the adjacent image data can be separated by a prescribed value or more and reproduction processing for making a slide show display part 134 display reproduction image data as a slide show. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、スライドショー再生方法、プログラム、スライドショー再生装置及びこのスライドショー再生装置を有するカメラに関する。   The present invention relates to a slide show playback method, a program, a slide show playback device, and a camera having the slide show playback device.

従来、デジタルカメラ等で撮影されたデジタル画像を記録保存しておき、その保存されたデジタル画像をデジタルカメラ等の液晶表示部や、テレビモニタ若しくはパソコン画面等の表示装置で表示するという使い方がされている。このようなデジタル画像を表示する使い方は、一般に「スライドショー」と呼ばれている形態で実現されている。このようなスライドショーにおいて、記録保存されているデジタル画像から任意に画像を選択して表示する方法として、撮影されたデジタル画像からその画像の特徴、例えば、色調、明るさ、撮影時間、顔画像など、を設定し、設定した特徴がその画像に対してどの程度であるかの量を算出し、その算出した量をその画像の特徴量として同様な特徴量を持つデジタル画像をグループ化して表示する手法が提案されている。   Conventionally, a digital image taken with a digital camera or the like is recorded and stored, and the stored digital image is displayed on a liquid crystal display unit such as a digital camera or a display device such as a TV monitor or a personal computer screen. ing. Such usage of displaying a digital image is realized in a form generally called “slide show”. In such a slide show, as a method for arbitrarily selecting and displaying an image from digital images recorded and stored, characteristics of the image from the captured digital image, such as color tone, brightness, shooting time, face image, etc. , And the amount of the set feature is calculated with respect to the image, and the calculated amount is used as a feature amount of the image, and digital images having similar feature amounts are grouped and displayed. A method has been proposed.

グループ化する方法としては、例えば、クリスプ技法やファジィ技法によるクラスタリングを実行して画像データの特徴量を算出し、その結果において、中心付近に位置する画像データと関連性の高い特徴量を持つ画像データの表示出力を行う方法、撮影日時や記録条件に基づいて、特徴量によるグループを生成することによって表示する画像を選択する方法、画像に含まれるイベント情報や予め分類された属性と特徴量抽出を併用してグループ化が行われ、プリントする画像の選択が行われる方法、さらには、スライドショー再生する画像データから顔画像が抽出され、その顔画像を基に類似度の高いものにグループ化するか、あるいは、各グループ内の顔画像の計数を行い、顔画像のうちで最も顔の面積の割合が大きいものを主画像として選択し、その他の画像についても、同様に評価し、序列を形成して表示画面を生成する方法がある(例えば、特許文献1参照)。
特開2001−256244
As a method of grouping, for example, image data feature amounts are calculated by performing clustering using a crisp technique or a fuzzy technique, and as a result, an image having a feature quantity highly relevant to image data located near the center. A method for displaying and outputting data, a method for selecting an image to be displayed by generating a group based on the feature amount based on the shooting date and recording conditions, event information included in the image, and pre-classified attribute and feature amount extraction Are used for grouping and selection of images to be printed. In addition, face images are extracted from image data to be played back as a slideshow, and grouped into high similarity based on the face images. Alternatively, the face images in each group are counted, and the face image with the largest proportion of the face area is used as the main image. Selected, for the other image, and evaluated in the same manner, there is a method of generating a display screen to form a hierarchy (e.g., see Patent Document 1).
JP 2001-256244 A

しかしながら、従来のスライドショーの表示方法では、色々な特徴量を算出して、近接する特徴量ごとにグループ化されるので、そのようなグループ化をされた画像を画面上に表示させると、1つの画面上に類似する画像が配置されることになる。このため、視聴者に与える印象が弱い画像の表示しかできずに、視聴者の視認性が低いという課題があった。   However, in the conventional slide show display method, various feature amounts are calculated and grouped according to adjacent feature amounts. Therefore, when such grouped images are displayed on the screen, one feature amount is displayed. A similar image is arranged on the screen. For this reason, there is a problem that only an image with a weak impression given to the viewer can be displayed, and the visibility of the viewer is low.

本発明は、このような課題に鑑みてなされたものであり、表示装置にデジタル画像を出力してスライドショー再生する際に、1つの画面上に異なる印象を与える画像を一度に表示してユーザーの視認性が得られるスライドショー再生方法、プログラム、スライドショー再生装置、及び、このスライドショー再生装置を有するカメラを提供することを目的とする。   The present invention has been made in view of such problems. When a digital image is output to a display device and a slide show is reproduced, images that give different impressions on one screen are displayed at a time. An object of the present invention is to provide a slide show playback method, a program, a slide show playback device, and a camera having the slide show playback device capable of obtaining visibility.

前記課題を解決するため、本発明に係るスライドショー再生方法は、処理部を有し、少なくとも2以上の画像データが記憶された記憶部にアクセス可能なコンピュータにより実行され、複数の画像データによる像を表示可能なスライドショー表示部に前記画像データで構成されるスライドショーを表示するスライドショー再生方法であって、処理部により、記憶部から画像データを取り出し、当該画像データの特徴量を算出する特徴量算出処理と、このようにして算出された特徴量に基づいて、画像データを所定のクラスに分類するクラス分類処理と、画像データのうち、2以上の画像データを、少なくとも一側の隣接する画像データのクラスが異なるように配置した再生画像データを生成する再生画像データ指示処理と、再生画像データをスライドショーとしてスライドショー表示部に表示する再生処理と、を有する。   In order to solve the above-described problems, a slide show reproduction method according to the present invention is executed by a computer having a processing unit and having access to a storage unit in which at least two or more image data is stored, and images by a plurality of image data are obtained. A slide show reproduction method for displaying a slide show composed of the image data on a displayable slide show display unit, wherein the processing unit extracts image data from the storage unit and calculates a feature amount of the image data. A class classification process for classifying image data into a predetermined class based on the feature amount calculated in this way, and two or more pieces of image data of image data are converted into at least one side of adjacent image data. Playback image data instruction processing for generating playback image data arranged in different classes, and playback image data Having a reproduction process of displaying the slide show display unit as slide show.

このようなスライドショー再生方法において、上述のクラスは、当該クラスごとに特徴量データの所定の範囲に対応するように配列されており、再生画像データ指示処理は、隣接して配置される画像データを、隣接するクラスに属する画像データからは選択しないように構成されることが好ましい。   In such a slide show reproduction method, the above-described classes are arranged so as to correspond to a predetermined range of the feature amount data for each class, and the reproduction image data instruction process performs image data arranged adjacently. It is preferable that the image data belonging to the adjacent class is not selected.

また、このようなスライドショー再生方法において、再生画像データ指示処理は、再生画像データとして、画像データの再生順であるシーケンスデータを生成し、再生処理は、このシーケンスデータにしたがって画像データをスライドショーとして再生するように構成されることが好ましい。   In such a slide show playback method, the playback image data instruction process generates sequence data as the playback order of the image data as playback image data, and the playback process plays back the image data as a slide show according to the sequence data. It is preferable to be configured to do so.

なお、本発明に係るスライドショー再生方法をコンピュータ等の処理装置に実行させるためのプログラムを作成することができ、このプログラムは、例えば、フレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリー、ハードディスク等の記憶媒体または記憶装置に格納される。また、ネットワークなどを介してデジタル信号として配信される場合もある。このとき、中間的な処理結果はメインメモリー(RAM)等の記憶装置に一時的に保管される。   A program for causing a processing device such as a computer to execute the slide show playback method according to the present invention can be created, such as a flexible disk, CD-ROM, magneto-optical disk, semiconductor memory, hard disk, etc. Stored in a storage medium or storage device. Moreover, it may be distributed as a digital signal via a network or the like. At this time, intermediate processing results are temporarily stored in a storage device such as a main memory (RAM).

また、本発明に係るスライドショー再生装置は、少なくとも2以上の画像データを記憶するユーザーデータ格納部と、スライドショーを表示するスライドショーデータ表示部と、上述のプログラムを実行し、ユーザーデータ格納部に記憶されている画像データからスライドショーを生成し、スライドショーデータ表示部に表示する処理装置と、を有する。   The slide show playback apparatus according to the present invention executes a user data storage unit that stores at least two or more image data, a slide show data display unit that displays a slide show, and the program described above, and is stored in the user data storage unit. And a processing device for generating a slide show from the image data being displayed and displaying the slide show on a slide show data display unit.

さらに、本発明に係るカメラは、上述のスライドショー再生装置と、光学系及び当該光学系で結像された像を検出する撮像素子を備え、当該撮像素子で検出された画像を画像データとしてユーザーデータ格納部に記憶させる撮像部と、を有する。   Furthermore, a camera according to the present invention includes the above-described slide show reproduction device, an optical system and an image sensor that detects an image formed by the optical system, and user data is obtained by using the image detected by the image sensor as image data. An imaging unit to be stored in the storage unit.

本発明に係るスライドショー再生方法、プログラム、スライドショー再生装置、及び、カメラを以上のように構成すると、スライドショー再生する際の画像データの特徴量データからクラス分けされ、そのクラス間距離の大きな画像データが再生画像データとして、スライドショー再生する際に、隣接して出力されるので、1つのスライドショーの再生画面上には、異なる印象を与える画像データが一度に表示されるので、ユーザーの良好な視認性が得られることとなる。   When the slide show playback method, the program, the slide show playback device, and the camera according to the present invention are configured as described above, the image data is classified from the feature amount data of the image data when the slide show is played back, and image data having a large distance between the classes is obtained. As playback image data, it is output adjacently when a slide show is played back, so image data that gives different impressions is displayed at a time on the playback screen of one slide show, so that the user has good visibility. Will be obtained.

以下、本発明の好ましい実施形態について図面を参照して説明する。まず、図1を用いて、本実施形態に係るスライドショー再生装置を有するデジタルカメラ100(以下、デジタルカメラ100という)の構成について説明する。図1に示すように、このデジタカメラ100は、光学レンズ101、撮像素子102、A/Dコンバータ103、バッファメモリ104、CPU(Central Processing Unit)105、操作スイッチ107やタッチパネル108を有する操作パネル106、RAM(Random Access Memory)113、ROM(Read Only Memory)114、画像信号処理プロセッサ115等を有しており、これらが相互に、又はデータバス121を介して接続されている。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. First, the configuration of a digital camera 100 (hereinafter referred to as a digital camera 100) having a slide show playback device according to the present embodiment will be described with reference to FIG. As shown in FIG. 1, the digital camera 100 includes an optical lens 101, an image sensor 102, an A / D converter 103, a buffer memory 104, a CPU (Central Processing Unit) 105, an operation panel 106 having operation switches 107 and a touch panel 108. , RAM (Random Access Memory) 113, ROM (Read Only Memory) 114, image signal processor 115, and the like, which are connected to each other or via a data bus 121.

光学レンズ101は、撮影対象となる被写体像を撮像素子102上に結像する役目を果たすものである。また、この光学レンズ101は、オートフォーカスおよびズーム機能を備えており、モータ118やアクチュエータ120によって、この光学レンズ101の構成レンズの相対位置を移動させることにより実現される。センサ117は、光学レンズ101の状態を取得する機能を有しており、モータ118は、光学レンズ101の位置を移動させるための機構を駆動するものである。そして、モータ/アクチュエータドライバ119は、I/Oコントローラ116からの制御信号を電力に変換し、モータ118、アクチュエータ120が駆動するのに必要な電力の供給を行う。また、アクチュエータ120は、レンズアクチュエータであり、光学レンズ101の構成レンズの相対位置を移動させ、光学レンズ101の絞り機構を駆動するものである。   The optical lens 101 serves to form a subject image to be photographed on the image sensor 102. The optical lens 101 has an autofocus and zoom function, and is realized by moving the relative positions of the constituent lenses of the optical lens 101 by a motor 118 and an actuator 120. The sensor 117 has a function of acquiring the state of the optical lens 101, and the motor 118 drives a mechanism for moving the position of the optical lens 101. The motor / actuator driver 119 converts the control signal from the I / O controller 116 into electric power, and supplies electric power necessary for driving the motor 118 and the actuator 120. The actuator 120 is a lens actuator that moves the relative position of the constituent lenses of the optical lens 101 and drives the aperture mechanism of the optical lens 101.

CPU105は、マイクロプロッセッサであり、デジタルカメラ100の全体の動作を制御する。そして、このCPU105は、ROM114や画像信号処理プロッセッサ115に格納されているプログラムコードやプログラムコードが参照するデータに基づいて動作するように構成されている。RAM113は、CPU105や画像信号処理プロセッサ115、ビデオコントローラ112の動作時に必要なデータの格納用として機能するようになっている。ROM114は、CPU105や画像信号処理プロセッサ115が所定の動作を行うために必要なプログラムコードやデータを格納する記憶部となっている。画像信号処理プロッセッサ115は、画像データの処理を行うプロッセッサであり、画像データの処理に必要な各種演算が高速で行えるような機能を備えており、CPU105の制御により動作するようになっている。   The CPU 105 is a microprocessor and controls the overall operation of the digital camera 100. The CPU 105 is configured to operate based on program codes stored in the ROM 114 and the image signal processing processor 115 and data referred to by the program codes. The RAM 113 functions to store data necessary for the operation of the CPU 105, the image signal processor 115, and the video controller 112. The ROM 114 is a storage unit that stores program codes and data necessary for the CPU 105 and the image signal processor 115 to perform predetermined operations. The image signal processing processor 115 is a processor for processing image data, has a function capable of performing various calculations necessary for processing image data at high speed, and operates under the control of the CPU 105.

そして、上述のモータ118やアクチュエータ120の作動は、CPU105からの制御信号がデータバス121を介してI/Oコントローラ116に送信され、さらに、このI/Oコントローラ116からモータ/アクチュエータドライバ119に送信されることで、制御されるように構成されている。また、撮像素子102は、光学レンズ101によって結像された画像を電気信号に変換し、A/Dコンバータ103によって、撮像素子102から出力される電気信号の連続値が離散値へ変換される。バッファメモリ104は、CPU105や画像信号処理プロッセッサ115において、画像信号処理およびデータフロー制御を行うために一時的にデータが格納されるようになっている。なお、I/Oコントローラ116は、CPU105の制御によって機構部の動作を制御するものである。   As for the operation of the motor 118 and the actuator 120 described above, a control signal from the CPU 105 is transmitted to the I / O controller 116 via the data bus 121, and further transmitted from the I / O controller 116 to the motor / actuator driver 119. By doing so, it is configured to be controlled. The image sensor 102 converts an image formed by the optical lens 101 into an electric signal, and the A / D converter 103 converts a continuous value of the electric signal output from the image sensor 102 into a discrete value. The buffer memory 104 temporarily stores data for the CPU 105 and the image signal processing processor 115 to perform image signal processing and data flow control. The I / O controller 116 controls the operation of the mechanism unit under the control of the CPU 105.

操作パネル106は、各種操作に必要な指示をユーザーが入力するものである。この操作パネル106には、操作スイッチ107が配置されており、ユーザーが操作スイッチ107を操作すると、この操作スイッチ107が通電または遮断されることにより、ユーザーの操作入力が実現される。また、この操作パネル106にはタッチパネル108が接続されており、このタッチパネル108は、実際にはディスプレイ109上に配置されるようになっている。そのため、ディスプレイ109に表示された内容に応じて、ユーザーが操作入力すると、この操作入力が、タッチパネル108で検出される。つまり、タッチパネル108は、ユーザーによって指示された位置の検出と圧力の検出が同時に行えるものとなっているため、ユーザーが触れると、その操作入力を検出できる。このタッチパネル108の検出方法としては、例えば、抵抗膜による電圧変化を検出する方法、画像認識による検出方法、電磁誘導による磁界変化を検出する方法などが挙げられるが、本実施形態のデジタルカメラ100においては、これらの検出方法に限定されない。   The operation panel 106 is used by the user to input instructions necessary for various operations. An operation switch 107 is arranged on the operation panel 106. When the user operates the operation switch 107, the operation switch 107 is energized or cut off, thereby realizing a user operation input. Further, a touch panel 108 is connected to the operation panel 106, and the touch panel 108 is actually arranged on the display 109. Therefore, when the user inputs an operation according to the content displayed on the display 109, the operation input is detected by the touch panel 108. In other words, the touch panel 108 can detect the position instructed by the user and the pressure at the same time, and can detect the operation input when touched by the user. Examples of the detection method of the touch panel 108 include a method of detecting a voltage change due to a resistive film, a detection method based on image recognition, a method of detecting a magnetic field change due to electromagnetic induction, and the like in the digital camera 100 of the present embodiment. Is not limited to these detection methods.

ディスプレイ109は、表示装置であり、例えば、デジタルカメラ100におけるその取り付け位置は、このデジタルカメラ100本体の背面側、つまり、光学レンズ101の取り付け側とは反対側に配置されている。そして、ディスプレイ109は、ユーザーが実際に現在撮影しており撮像素子102上に結像されている画像データの表示や、デジタルカメラ100の動作状況に対する情報等をユーザーに示すことができる。また、ディスプレイ109は、メモリーカード110に記憶された画像データの再生やタッチパネル108を介した操作入力のためのボタンやスライドスイッチを画像として表示することもできるようになっている。なお、このディスプレイ109に表示される映像はビデオコントローラ112にから出力される。ビデオコントローラ112は、データバス121を介して、ディスプレイ109上に表示する画像として操作パネル106で選択された画像を生成するものである。   The display 109 is a display device. For example, the mounting position of the digital camera 100 is arranged on the back side of the digital camera 100 main body, that is, on the side opposite to the mounting side of the optical lens 101. The display 109 can display to the user information on the display of image data that the user is actually shooting and is imaged on the image sensor 102, information on the operation status of the digital camera 100, and the like. The display 109 can also display buttons and slide switches for reproducing image data stored in the memory card 110 and operating input via the touch panel 108 as images. The video displayed on the display 109 is output from the video controller 112. The video controller 112 generates an image selected on the operation panel 106 as an image to be displayed on the display 109 via the data bus 121.

メモリーカード110は、不揮発メモリーであって、一旦、画像データ等が記憶されると、デジタルカメラ100本体の電源が遮断された場合であっても、記憶された画像データ等を保持することができるようになっている。このメモリーカード110は、ストレージコントローラ111を介して画像データおよび付加情報の記録再生を行う際に制御されるようになっている。   The memory card 110 is a non-volatile memory, and once image data and the like are stored, the stored image data and the like can be retained even when the power source of the digital camera 100 is turned off. It is like that. The memory card 110 is controlled when recording and reproducing image data and additional information via the storage controller 111.

このような構成のデジタルカメラ100の電源が投入されると、CPU105はROM114からプログラムコードを読み込み、実行を開始する。このプログラムコードは、最初に、上述したデジタルカメラ100の各構成部分の機能を初期化し、撮影できる待機状態を設定する。設定が完了すると、光学レンズ101より集光され、撮像素子102上に結像された画像データが、A/Dコンバータ103を通じて、バッファメモリ104に格納される。そして、バッファメモリ104に一旦格納された画像データは、画像信号処理プロッセッサ115で処理される。その処理された結果が再びバッファメモリ104へ格納され、同時にビデオコントローラ112を介してディスプレイ109上に画像データとして表示される。この状態において、ユーザーは操作パネル106に配置された操作スイッチ107、タッチパネル108を用いて、操作することができ、例えば、レリーズスイッチが押されたときの画像を静止画としてメモリーカード110に記憶するように構成されている。   When the digital camera 100 having such a configuration is turned on, the CPU 105 reads the program code from the ROM 114 and starts executing the program code. This program code first initializes the function of each component of the digital camera 100 described above and sets a standby state in which photographing can be performed. When the setting is completed, the image data collected from the optical lens 101 and imaged on the image sensor 102 is stored in the buffer memory 104 through the A / D converter 103. The image data once stored in the buffer memory 104 is processed by the image signal processing processor 115. The processed result is stored again in the buffer memory 104 and simultaneously displayed as image data on the display 109 via the video controller 112. In this state, the user can operate using the operation switch 107 and the touch panel 108 disposed on the operation panel 106. For example, an image when the release switch is pressed is stored in the memory card 110 as a still image. It is configured as follows.

以上のように、このデジタルカメラ100は、ユーザーが撮影した画像データをメモリーカード110等に記憶することができるようになっており、本実施の形態のデジタルカメラ100では、このように、予め取得され記憶された画像データを使用して、スライドショーの生成、再生表示が行われるように構成されている。   As described above, the digital camera 100 can store image data taken by the user in the memory card 110 or the like. In the digital camera 100 according to the present embodiment, the digital camera 100 can obtain in advance as described above. Using the stored image data, a slide show is generated and played back.

それでは、以上のようなデジタルカメラ100に組み込まれ、このデジタルカメラ100で撮影されてメモリーカード110等に記憶されている画像データからスライドショーを作成し、再生表示する機能について説明する。図2は、スライドショーを作成・再生表示するために必要な各処理部等からなるデジタルカメラ100の内部構成要素122と、記憶媒体(例えば、メモリーカード110)や表示装置(ディスプレイ109、またはスライドショー再生した際に画像データを表示させるテレビジョン等のモニター)からなる外部構成要素129との関係が示されている。   Now, a function of creating a slide show from the image data incorporated in the digital camera 100 as described above, captured by the digital camera 100 and stored in the memory card 110, and playing back the image will be described. FIG. 2 shows an internal component 122 of the digital camera 100 that includes each processing unit necessary for creating, playing back, and displaying a slide show, a storage medium (for example, the memory card 110), and a display device (display 109 or slide show playback). A relationship with an external component 129 including a monitor such as a television for displaying image data when the image data is displayed is shown.

内部構成要素122は、シーケンスデータ作成部123、スライドショー再生部127、及び、表示画像データ格納部128の各構成要素を有している。また、シーケンスデータ作成部123は、さらに、画像データ分類部124、画像データ整列部125、及び、画像データレイアウト部126を有している。一方、外部構成要素129は、スライドショー格納部130、操作入力部133、及び、スライドショーデータ表示部134を有している。ここで、この図2で示す内部構成要素122は、図1で示されたCPU105で実行されるプログラム、及び、画像信号処理プロッセッサ115、ROM114、RAM113、ビデオコントローラ112等の処理部である。なお、以降の説明では、デジタルカメラ100にスライドショーの生成、再生表示を実装した場合について説明するが、本発明がこの構成に限定されることはなく、例えば、CPUやROM、RAM等の処理装置と、ハードディスク等の記憶部を備えるコンピュータに実装しても良いことは言うまでもない。   The internal constituent element 122 includes constituent elements of a sequence data creation unit 123, a slide show playback unit 127, and a display image data storage unit 128. The sequence data creation unit 123 further includes an image data classification unit 124, an image data alignment unit 125, and an image data layout unit 126. On the other hand, the external component 129 includes a slide show storage unit 130, an operation input unit 133, and a slide show data display unit 134. 2 is a program executed by the CPU 105 shown in FIG. 1, and processing units such as the image signal processing processor 115, ROM 114, RAM 113, video controller 112, and the like. In the following description, a case where slide show generation and playback display are implemented in the digital camera 100 will be described. However, the present invention is not limited to this configuration, and for example, a processing device such as a CPU, ROM, or RAM Needless to say, it may be mounted on a computer having a storage unit such as a hard disk.

(シーケンスデータのデータ構造)
まず、このデジタルカメラ100において、スライドショーを作成する機能について説明する。なお、本実施例において、スライドショーの再生は、画面に表示される画像ファイルのファイル名によりその表示順序や場所等を示しているシーケンスデータを用いて行われる。外部構成要素129のスライドショー格納部130は、例えば、図1に示したメモリーカード110であって、このスライドショー格納部130には、ユーザーが撮影した画像データが格納されるユーザー画像格納部131と、上述のシーケンスデータが格納されるシーケンスデータ格納部132と、を有している。シーケンスデータ格納部132に格納されるシーケンスデータは、図3に示すようなデータ構造を有するシーケンスデータファイル140として管理されている。このシーケンスデータファイル140は、所定の時間表示される一つの画面(以下、「シーン」と呼ぶ)を一つのデータ(シーンデータ141)として、これらが時間順に連続して並んで構成されておりこのシーンデータ141は、当該シーンのシーケンシャル番号が設定されるシーン番号データカラム141a、このシーンで表示される画像データが格納される画像データカラム141b、各画像データを画面に表示するときにトリミングを行うための位置が格納される切り出し位置データカラム141c、このシーンにおいて上述の画像データを表示する順序が設定される画像表示順データカラム141d、及び、このシーンの代表画像データが記憶される代表画像データカラム141eから構成される。なお、本実施の形態では、図4(a)に示すように、一つのシーンに5枚の画像を左右方向に並べて配置した合成画像135として表示するように構成されている場合について説明する。
(Data structure of sequence data)
First, a function for creating a slide show in the digital camera 100 will be described. In the present embodiment, the slide show is played back using sequence data that indicates the display order, location, and the like of the image file displayed on the screen. The slide show storage unit 130 of the external component 129 is, for example, the memory card 110 shown in FIG. 1, and the slide show storage unit 130 includes a user image storage unit 131 that stores image data taken by the user, A sequence data storage unit 132 in which the above-described sequence data is stored. The sequence data stored in the sequence data storage unit 132 is managed as a sequence data file 140 having a data structure as shown in FIG. The sequence data file 140 is composed of one screen (hereinafter referred to as “scene”) displayed for a predetermined time as one piece of data (scene data 141), and these are continuously arranged in time order. The scene data 141 includes a scene number data column 141a in which a sequential number of the scene is set, an image data column 141b in which image data displayed in this scene is stored, and trimming when displaying each image data on the screen. The cut-out position data column 141c for storing the position for the image, the image display order data column 141d for setting the display order of the above-mentioned image data in this scene, and the representative image data for storing the representative image data of this scene It consists of a column 141e. In the present embodiment, as shown in FIG. 4A, a case will be described in which five images are arranged in one scene and displayed as a composite image 135 arranged in the left-right direction.

(画像データの特徴量データ算出処理)
本実施形態におけるデジタルカメラ100は、スライドショーを再生する際に、1つのシーンにおける合成画像135上の隣接する画像同士が異なる印象を持つ画像データとなるように構成されている。これは、上述のシーケンスデータ140を構成するシーンデータ141のデータ構成において、画像データカラム141bに画像データ(画像Aデータ〜画像Eデータ)を設定する際に選択される画像データにより決定される。そこで、本実施の形態では、各画像データ(画像Aデータ〜画像Eデータ)の特徴量データの一例として、色味を使用して異なる印象を持つ画像データを選択する方法を例に挙げて説明する。ここで、色味は、例えば、HSV表色系における、色相h、彩度s及び明度vからなる値である。これらの色相h、彩度s及び明度vの値から各画像データの代表的な色味を判別し、これをこの画像データの特徴量データとして、その特徴量データごとに色のクラスに分類する方法を説明する。
(Image data feature data calculation processing)
The digital camera 100 according to the present embodiment is configured such that, when a slide show is played, adjacent images on the composite image 135 in one scene have different impressions. This is determined by the image data selected when setting the image data (image A data to image E data) in the image data column 141b in the data structure of the scene data 141 constituting the sequence data 140 described above. Therefore, in the present embodiment, as an example of feature amount data of each image data (image A data to image E data), a method of selecting image data having a different impression using color is described as an example. To do. Here, for example, the color is a value composed of hue h, saturation s, and brightness v in the HSV color system. From these values of hue h, saturation s, and lightness v, a representative color tone of each image data is discriminated, and this is classified as a color class for each feature value data as feature value data of this image data. A method will be described.

まず、本実施の形態においては、色のクラスは予め設定されており、例えば、図5に示すように5つの彩色と、1つの略無彩色とからなる6つのクラスに分類されている。例えば、略無彩色は、色クラスC0であり、これは、上記の色相h、彩度s及び明度vの値において、彩度s、明度vの値が一定値以上有しない画像データが分類されることになる。つまり、画像の色が全体的に薄いと感じる場合、暗く色がはっきりしない場合、若しくは、モノクロ調やセピア調などの場合などが分類される。また、5つの彩色は、色クラスC1は赤、色クラスC2は黄、色クラスC3は緑、色クラスC4は青、色クラスC5は紫がそれぞれ代表色として設定されている。そして、これらの各色は、いわゆる色相環を構成しており、各色は色クラスC1〜C5が連続値となっており、ある一定の幅を有している。ここで、これらの色クラスは、所定の範囲を有する複数のクラスクラスの一例となっており、特徴量データと対応するような範囲をもっている。   First, in the present embodiment, color classes are set in advance, and for example, as shown in FIG. 5, the classes are classified into six classes including five chromatic colors and one substantially achromatic color. For example, the substantially achromatic color is the color class C0, which is classified as image data in which the values of the saturation s and the brightness v do not have a certain value or more in the values of the hue h, the saturation s, and the brightness v. Will be. That is, a case where the color of the image is felt as a whole, a case where the color is dark and the color is not clear, or a case where the color is monochrome or sepia is classified. As the five chromatic colors, red is set as the representative color for the color class C1, yellow for the color class C2, green for the color class C3, blue for the color class C4, and purple for the color class C5. Each of these colors constitutes a so-called hue circle, and each color has a continuous value in the color classes C1 to C5 and has a certain width. Here, these color classes are examples of a plurality of class classes having a predetermined range, and have a range corresponding to the feature amount data.

画像データの特徴量データである色クラス等の算出処理は、図6のフローチャートに従って実行されるようになっている。なお、この処理は、画像データが取得された際に速やかに実行されてもよいし、画像群を構成した後に実行されてもよく、スライドショー再生が実行される前に当該処理の実行が終了していると、再生の際の準備時間等が短縮できるので好ましい。   The calculation process of the color class, which is the feature amount data of the image data, is executed according to the flowchart of FIG. This process may be executed promptly when the image data is acquired, or may be executed after the image group is configured, and the execution of the process ends before the slide show reproduction is executed. It is preferable because preparation time for reproduction can be shortened.

まず、シーケンスデータ作成部123の画像データ分類部124は、分類しようとする画像データ(対象画像データ)をスライドショーソース格納部130のユーザー画像格納部131から読み込む(ステップS100)。そして、対象画像データが読み込まれると、画像データ分類部124は、当該対象画像データの画像を予め決められた方法により小領域に分割する(ステップS101)。ここで、当該画像データを小領域に分割する手法の一例を説明する。   First, the image data classification unit 124 of the sequence data creation unit 123 reads image data (target image data) to be classified from the user image storage unit 131 of the slide show source storage unit 130 (step S100). When the target image data is read, the image data classification unit 124 divides the image of the target image data into small regions by a predetermined method (step S101). Here, an example of a method for dividing the image data into small regions will be described.

図7に示すように、対象画像データ136上に、当該画像データの中心点を軸に同心円が描かれる。この同心円は、まず、画像の中心点から一定の距離で、比較的、この中心点に近い距離で、最初の円が描かれる。そして、最初の円を描いて決定した後、さらにその外側に最初の円の周囲から一定の距離を保つように、一回り大きい第二の円を描く。つまり、半径方向に、最初の円より大きい半径を有する円となるように一定の間隔をあけて、第二の円が描かれる。さらに、第二の円の外側に、第二の円の周囲から一定の距離を保つように、半径方向に第二の円より大きい半径となるように一定の間隔をあけて、一回り大きい第三の円が描かれる。そして、同様に繰り返され、画像の外周に同心円が内接するまで実行される。この時、隣接する同心円の半径差は、常に一定に設定されている。つまり、隣接する同心円の半径差は、最初の円と第二の円の半径差、あるいは、第二の円と第三の円の半径差などである。そして、同心円の間の領域は、同心円を分割して、それぞれの弧の中心に対する角度が一定となるように分割され、サンプリング領域である小領域138を形成する。   As shown in FIG. 7, concentric circles are drawn on the target image data 136 with the center point of the image data as an axis. The concentric circle is first drawn at a certain distance from the center point of the image and relatively close to the center point. Then, after determining by drawing the first circle, a second circle that is one size larger is drawn on the outer side so as to keep a certain distance from the circumference of the first circle. That is, the second circle is drawn at a certain interval in the radial direction so as to be a circle having a larger radius than the first circle. Further, outside the second circle, in order to maintain a certain distance from the circumference of the second circle, the first circle is slightly larger at a certain interval so as to have a radius larger than the second circle in the radial direction. A third circle is drawn. The process is repeated in the same manner until the concentric circle is inscribed in the outer periphery of the image. At this time, the radius difference between adjacent concentric circles is always set to be constant. That is, the radius difference between adjacent concentric circles is the radius difference between the first circle and the second circle, or the radius difference between the second circle and the third circle. The regions between the concentric circles are divided so that the angle with respect to the center of each arc is constant by dividing the concentric circles to form a small region 138 which is a sampling region.

図7から明らかなように、小領域138は、複数個、形成されており、この図7の図面上では、これらを区別するためにS1(r)、S2(r)、S3(r)、・・・・Sm(r)と示している。また、この図7では、最外周の同心円の領域のみを分割した例を示しているが、図面の制約上であって、実際には、全ての同心円間の領域が、小領域138(S(r))に分割される。ここで、同心円間の領域は、1つの円の外周とその次に外側に配置される円の内周との間の領域、つまり最初の円と第二の円の間、あるいは、第二の円と第三の円の間等の領域のことである。また、同心円を分割して、それぞれの弧の中心に対する角度が一定となるように分割して、小領域138を形成させる際に、分割した領域の面積が極端に小さくなる中心付近の同心円間や、逆に極端に大きくなる外周付近の同心円間では、分割数を増減させて、各小領域138間の面積差を少なくするようにこの小領域138が形成されることが好ましい。   As is apparent from FIG. 7, a plurality of small regions 138 are formed. In the drawing of FIG. 7, in order to distinguish these, S1 (r), S2 (r), S3 (r), ... Sm (r). Further, FIG. 7 shows an example in which only the outermost concentric region is divided. However, because of the restriction of the drawing, in reality, the region between all the concentric circles is a small region 138 (S ( r)). Here, the area between the concentric circles is the area between the outer circumference of one circle and the inner circumference of the circle arranged next to the outer circle, that is, between the first circle and the second circle, or the second circle. An area between the circle and the third circle. Further, when the concentric circles are divided so that the angle with respect to the center of each arc is constant and the small region 138 is formed, between the concentric circles near the center where the area of the divided region becomes extremely small, On the contrary, it is preferable that the small regions 138 are formed so as to reduce the area difference between the small regions 138 by increasing / decreasing the number of divisions between the concentric circles near the outer periphery which becomes extremely large.

このようにして対象画像データが小領域138に分割されると、画像データ分類部124は、次に、この小領域138ごとの色相値の平均値h(S(r))から色Hmを決定する。つまり、各小領域138の色相値を求め、次に、これらの色相値の平均値h(S(r))を求め、その平均値h(S(r))が、以下の式(1)を満たすときは、その平均値h(S(r))を有する小領域138は、色Hmとして、分類される。   When the target image data is divided into the small areas 138 in this way, the image data classification unit 124 next determines the color Hm from the average value h (S (r)) of the hue values for each small area 138. To do. That is, the hue value of each small area 138 is obtained, and then the average value h (S (r)) of these hue values is obtained. The average value h (S (r)) is expressed by the following equation (1). Is satisfied, the small region 138 having the average value h (S (r)) is classified as the color Hm.

(m−1)t/M ≦ h(S(r)) < mt/M (1)
但し、tは色相の最大値
(M−1) t / M ≦ h (S (r)) <mt / M (1)
Where t is the maximum hue value

ここで、各色Hm(m=1,2、3、・・・M)として、この各色Hmに含まれる色相値の範囲は下記の式(2)で表すことができる。これは、色相値xのとりうる範囲の値がx:0≦x<t(x,t∈N)とした時、色相空間全体をM個に等分割し量子化を行う場合である。   Here, as each color Hm (m = 1, 2, 3,... M), the range of hue values included in each color Hm can be expressed by the following equation (2). In this case, when the range of possible hue values x is x: 0 ≦ x <t (x, tεN), the entire hue space is equally divided into M pieces for quantization.

(m−1)t/M ≦ x < mt/M (2) (M-1) t / M ≦ x <mt / M (2)

このステップS102で対象画像データに含まれる全ての小領域138の色Hmが決定されると、次にステップS103に進む。このステップS103では、彩度s(S(r))及び明度v(S(r))が、基準値以上であるか否かが判断される。具体的には、画像データ分類部124は、対象画像データの小領域138(S(r))ごとの彩度s(S(r))及び明度v(S(r))を算出し、共に、基準値以上であるか否かの判断を行う。ここで、彩度s及び明度vは、色相hと異なり、特に量子化を行う必要はないが、精度を上げる為、演算量が増えても性能上問題ない場合には、量子化を行っても構わない。このステップS103において、彩度s(S(r))及び明度v(S(r))が、基準値に満たないと判断した場合は、その対象画像データの小領域138を、略無彩色クラスC0に分類する(ステップS105)。一方、彩度s(S(r))及び明度v(S(r))が、基準値以上である場合には、その小領域138を色Hmに対応した色クラスCm(m=1,2,3、・・・M)に分類する(ステップS104)。ここでは、上述したように、色クラスCmは、m=1,2,3,4,5のM=5として5つの彩色として設定されている。このように、対象画像データ136のサンプリング対象領域137の全ての小領域138を、色クラスCmに分類する。ここで、対象画像136において、サンプリング対象領域137以外の領域については、色クラスCmを決定するに際し、サンプリングを行わない。   When the color Hm of all the small areas 138 included in the target image data is determined in step S102, the process proceeds to step S103. In step S103, it is determined whether or not the saturation s (S (r)) and the lightness v (S (r)) are equal to or greater than a reference value. Specifically, the image data classification unit 124 calculates the saturation s (S (r)) and the brightness v (S (r)) for each small region 138 (S (r)) of the target image data, and both Then, it is determined whether or not the reference value is exceeded. Here, the saturation s and the lightness v are different from the hue h, and it is not necessary to perform quantization in particular. However, in order to increase accuracy, if there is no problem in performance even if the amount of calculation increases, the quantization is performed. It doesn't matter. If it is determined in step S103 that the saturation s (S (r)) and the lightness v (S (r)) are less than the reference value, the small area 138 of the target image data is set to the substantially achromatic class. Classification into C0 (step S105). On the other hand, when the saturation s (S (r)) and the lightness v (S (r)) are equal to or higher than the reference value, the small area 138 has a color class Cm (m = 1, 2) corresponding to the color Hm. , 3,... M) (step S104). Here, as described above, the color class Cm is set as five chromatic colors with M = 5 where m = 1, 2, 3, 4, 5. In this way, all the small areas 138 of the sampling target area 137 of the target image data 136 are classified into the color class Cm. Here, in the target image 136, for the areas other than the sampling target area 137, sampling is not performed when the color class Cm is determined.

全ての小領域138について色クラスCmが決定すると、小領域138ごとに、以下の式(3)により重み付けを行う。   When the color class Cm is determined for all the small areas 138, weighting is performed for each small area 138 by the following equation (3).

G(S(r)) = D(S(r))・L(S(r)) (3)   G (S (r)) = D (S (r)) · L (S (r)) (3)

ここで、G(S(r))は、小領域138の重みであり、加重値である。D(S(r))は、小領域138の面積値であり、L(S(r))は、小領域138の存在するサンプリング領域137の中心点からの距離に応じた加重係数である。すなわち、L(S(r))は、画像の中心点に近い領域である場合には、大きい値となり、画像の外周付近の同心円の領域である場合には小さくなるように設定されている。   Here, G (S (r)) is a weight of the small region 138 and is a weight value. D (S (r)) is an area value of the small region 138, and L (S (r)) is a weighting coefficient according to the distance from the center point of the sampling region 137 where the small region 138 exists. That is, L (S (r)) is set to a large value when the region is close to the center point of the image, and to be small when the region is a concentric region near the outer periphery of the image.

次いで、ステップS104及びS105で分類された色クラスC0,Cmごとに、各小領域138の加重ヒストグラムを作成する(ステップS107)。そして、この加重ヒストグラム上の最大頻度の色クラスC0,Cm(m=1,2,3,4,5)を当該対象画像データ136の色クラスとする(ステップS138)。例えば、この対象画像データ136は、色クラスC1が最大頻度であれば、この対象画像データ136は、赤に分類され、対象画像データ136の画像データに色クラスC1の情報が記憶される。また、上述のステップS108で、決定した色クラスC0,Cm(m=1,2,3,4,5)に対するヒストグラム値を当該対象画像データ136の色レベルとする(ステップS109)。   Next, a weighted histogram of each small region 138 is created for each of the color classes C0 and Cm classified in steps S104 and S105 (step S107). Then, the color class C0, Cm (m = 1, 2, 3, 4, 5) with the highest frequency on the weighted histogram is set as the color class of the target image data 136 (step S138). For example, in the target image data 136, if the color class C1 is the maximum frequency, the target image data 136 is classified as red, and information on the color class C1 is stored in the image data of the target image data 136. Further, the histogram values for the color classes C0, Cm (m = 1, 2, 3, 4, 5) determined in step S108 are set as the color level of the target image data 136 (step S109).

なお、上述のステップS108及びS109において、画像データ分類部124は、上述のようにして求められた対象画像ファイルの色クラス及び色レベルを、ユーザー画像データ格納部131に設けられた特徴量データベース142に記憶するように構成されている。ここで、図8は特徴量データベース142のデータ構造を示しており、対象画像データ136のファイル名を記憶する画像ファイル名フィールド142a、色クラスが記憶される色クラスフィールド142b及び色レベルが記憶される色レベルフィールド142cを有して構成される。   Note that in steps S108 and S109 described above, the image data classification unit 124 uses the feature amount database 142 provided in the user image data storage unit 131 for the color class and color level of the target image file obtained as described above. It is comprised so that it may memorize. Here, FIG. 8 shows the data structure of the feature quantity database 142, in which an image file name field 142a for storing the file name of the target image data 136, a color class field 142b for storing a color class, and a color level are stored. And a color level field 142c.

最後に、ステップS110に進み、対象画像データを色クラスごとに分類して、色レベル順に整列し、記憶する。つまり、画像データ分類部124は、対象画像データを色クラスC0、Cm(m=1,2,3,4,5)ごとに分類し、次の画像データ整列部125が、色レベル順に画像データを整列する。このようにして、色クラス毎に分類され、色レベルの順に整列された画像群は、スライドショー再生する際の画像データの表示に利用される。これにより、次に説明するスライドショー再生用データとしてのシーケンスデータ140の作成において、1つのシーンに隣接して配置される画像データの選択が、異なる印象を与える画像群からスムーズに選択することができるようになる。つまり、色クラスC0、Cm(m=1,2,3,4,5)の分類の異なる画像群から、スライドショー再生の際に隣接して配置される画像が選択される。これにより、選択された画像は、クラス間距離が所定以上の画像となる。   Finally, the process proceeds to step S110, where the target image data is classified for each color class, arranged in order of color level, and stored. That is, the image data classification unit 124 classifies the target image data for each of the color classes C0 and Cm (m = 1, 2, 3, 4, 5), and the next image data alignment unit 125 sets the image data in the order of color levels. Align. In this way, the image group classified for each color class and arranged in the order of the color level is used for display of image data when the slide show is reproduced. As a result, in the generation of sequence data 140 as slide show reproduction data described below, selection of image data arranged adjacent to one scene can be smoothly selected from a group of images that give different impressions. It becomes like this. That is, images arranged adjacent to each other during slide show reproduction are selected from image groups having different classifications of color classes C0 and Cm (m = 1, 2, 3, 4, 5). As a result, the selected image is an image having an interclass distance of a predetermined value or more.

(シーケンスデータの作成)
それでは、上述のような画像データの分類に基づいて、スライドショーのためのシーケンスデータを作成する処理について図9を用いて説明する。このシーケンスデータの作成は、シーケンスデータ作成部123の画像データレイアウト部126で作成されるものであり、まず、ユーザーにより指定画像群の設定が行われる(ステップS200)。ここで、指定画像群とは、スライドショー再生する際の、画像群であり、日付や場所などの情報や、人物、風景、建物、植物等の画像の種類に応じて予め分類され、例えば、スライドショーソース格納部130のユーザー画像格納部131のフォルダ内に格納されているものとする。そして、これらの指定画像群は、上述したように、色クラスC0、Cm(m=1,2,3,4,5)分類、整列済みの画像群となっている。
(Create sequence data)
A process for creating sequence data for a slide show based on the above-described image data classification will be described with reference to FIG. The sequence data is created by the image data layout unit 126 of the sequence data creation unit 123. First, the user sets a designated image group (step S200). Here, the designated image group is an image group at the time of slide show reproduction, and is classified in advance according to information such as date and place and the type of image such as a person, landscape, building, plant, etc. Assume that it is stored in a folder of the user image storage unit 131 of the source storage unit 130. Then, as described above, these designated image groups are image groups in which the color classes C0 and Cm (m = 1, 2, 3, 4, 5) are classified and aligned.

以下に、スライドショーのシーン毎の処理について説明するが、ここでは、最初のシーン(シーン001)の設定について説明する。まず、画像データレイアウト部126は、この指定画像群から1つの画像データファイルを任意に選択する。選択は、ユーザーが操作入力部133などから設定することも可能であるし、この画像データレイアウト部126が任意に選択するように構成することも可能である。画像レイアウト部126が任意に選択する場合には、たとえば、各色クラスC0、Cm(m=1,2,3,4,5)分類の中から、最も画像データファイルの多い色クラスC0、Cm(m=1,2,3,4,5)を選択し、その中でも色レベルの一番高い画像データファイルを選択するようにしてもよい。   Hereinafter, processing for each scene of the slide show will be described. Here, setting of the first scene (scene 001) will be described. First, the image data layout unit 126 arbitrarily selects one image data file from the designated image group. The selection can be set by the user from the operation input unit 133 or the like, or the image data layout unit 126 can be arbitrarily selected. When the image layout unit 126 arbitrarily selects, for example, among the color classes C0 and Cm (m = 1, 2, 3, 4, 5), the color classes C0 and Cm (with the largest image data file) are used. m = 1, 2, 3, 4, 5), and the image data file having the highest color level may be selected.

そして、ステップS201で選択した画像データファイルを、図4(a)に示した5つの領域の何れかに配置し、その情報をシーン001に対応するシーンデータ141の画像データ領域141bに記憶する(ステップS202)。例えば、ここでは、画面の左側からA〜Eと名付け、Aから順に配置して行くものとすると、図3に示す例の場合、ファイル名が0001.jpgのファイルが画像Aデータとして記憶される。   Then, the image data file selected in step S201 is arranged in any one of the five areas shown in FIG. 4A, and the information is stored in the image data area 141b of the scene data 141 corresponding to the scene 001 ( Step S202). For example, here, A to E are named from the left side of the screen, and the files are arranged in order from A. In the example shown in FIG. The jpg file is stored as image A data.

次に、画像データレイアウト部126は、ステップS202で設定した画像データの色クラスC0、Cm(m=1,2,3,4,5)を確認する(ステップS203)。つまり、画像データレイアウト部126が、上述の特徴量データベース142を参照し、ステップS202で配置した画像データに関連して記憶されている色クラス142bの情報を確認する。または、画像データレイアウト部126が、指定画像群から1つの画像データファイルを選択した際に、その画像データファイルが分類されている色クラスCmのデータを同時に取得するようにしてもよい。そして、上述のステップS203で確認した色クラスC0、Cm(m=1,2,3,4,5)のデータと隣接しない色クラスに分類されている画像データの中から次の画像データを選択する(ステップS204)。例えば、先に選択された画像データ(0001.jpg)が、色クラスC1であった場合には、色クラスC2及び色クラスC5からは選択せずに、色クラスC3及び色クラスC4、または、色クラスC0に分類されている画像データから選択する。   Next, the image data layout unit 126 checks the color classes C0 and Cm (m = 1, 2, 3, 4, 5) of the image data set in step S202 (step S203). That is, the image data layout unit 126 refers to the feature database 142 described above, and confirms the information of the color class 142b stored in association with the image data arranged in step S202. Alternatively, when the image data layout unit 126 selects one image data file from the designated image group, the data of the color class Cm into which the image data file is classified may be simultaneously acquired. Then, the next image data is selected from the image data classified in the color class that is not adjacent to the data of the color classes C0 and Cm (m = 1, 2, 3, 4, 5) confirmed in the above step S203. (Step S204). For example, when the previously selected image data (0001.jpg) is the color class C1, it is not selected from the color class C2 and the color class C5, but the color class C3 and the color class C4, or The image data selected from the color class C0 is selected.

次に、ステップS204で選択した画像データを、ステップS202で配置した領域に隣接する領域に配置し、その情報をシーン001に対応するシーンデータ141の画像データ領域141bに記憶する(ステップS205)。例えば、図3に示す場合、ファイル名が0003.jpgのファイルが画像Bデータとして記憶される。そして、画像データレイアウト部126は、画像Aデータ〜画像Eデータの全てに画像データファイルが設定されたか否かを判断し、全て設定されていない場合は、ステップS203に戻る(ステップS206)。一方、全て設定された場合には、画像データレイアウト部126は、合成画面135における、画像Aデータ〜画像Eデータの切り取り位置、画像表示順、代表画像の各データを決定し、シーンデータ141の切り出し位置データカラム141c、画像表示順データカラム141d及び代表画像データカラム141eに記憶する(ステップS207)。さらに、スライドショーのシーン番号をシーン番号データカラム141aに設定し、シーケンスデータ140に記憶する(ステップS208)。   Next, the image data selected in step S204 is arranged in an area adjacent to the area arranged in step S202, and the information is stored in the image data area 141b of the scene data 141 corresponding to the scene 001 (step S205). For example, in the case shown in FIG. A jpg file is stored as image B data. Then, the image data layout unit 126 determines whether or not an image data file has been set for all of the image A data to the image E data. If all of the image data files have not been set, the process returns to step S203 (step S206). On the other hand, when all the settings are made, the image data layout unit 126 determines the cut-out position, the image display order, and the representative image data of the image A data to the image E data on the composite screen 135, and the scene data 141. The cut-out position data column 141c, the image display order data column 141d, and the representative image data column 141e are stored (step S207). Further, the scene number of the slide show is set in the scene number data column 141a and stored in the sequence data 140 (step S208).

以上のようにして、一枚のシーンの設定が終わると、画像データレイアウト部126は、指定画像群の全ての画像データが、シーケンスデータ141として作成され、記憶されたが否かを判断し、全ての画像データのシーケンスデータが作成されていない場合には、ステップS201に戻り、全て作成されるまで、上述の処理を繰り返す(ステップS209)。一方、ステップS209で、全てが作成されたと判断されると、終了する。   When the setting of one scene is completed as described above, the image data layout unit 126 determines whether all the image data of the designated image group has been created and stored as the sequence data 141, and If the sequence data of all the image data has not been created, the process returns to step S201, and the above-described processing is repeated until all the image data is created (step S209). On the other hand, if it is determined in step S209 that all have been created, the process ends.

本実施形態のデジタルカメラ100では、上述のように作成されたシーケンスデータ140に従って、スライドショー再生が行われる。これにより、合成画面135上で、隣接する位置に配置される画像データのクラス間距離が、所定以上となるように設定される。つまり、各画像Aデータ〜画像Eデータに設定された画像データは、上述のように異なる色クラスC0、Cm(m=1,2,3,4,5)に分類された画像データから選択されており、しかも、合成画面135上で、隣接する位置に配置される画像データは、色クラスC0、Cm(m=1,2,3,4,5)の隣接しない色クラスから選択されるようになっている。従って、合成画面135上で、隣接する位置に配置される画像は、色差の異なる画像であり、印象の異なる画像となっている。   In the digital camera 100 of the present embodiment, slide show reproduction is performed according to the sequence data 140 created as described above. As a result, the inter-class distance of the image data arranged at adjacent positions on the synthesis screen 135 is set to be a predetermined value or more. That is, the image data set for each of the image A data to the image E data is selected from the image data classified into the different color classes C0 and Cm (m = 1, 2, 3, 4, 5) as described above. In addition, image data arranged at adjacent positions on the synthesis screen 135 is selected from non-adjacent color classes of color classes C0 and Cm (m = 1, 2, 3, 4, 5). It has become. Therefore, the images arranged at adjacent positions on the composite screen 135 are images having different color differences and images having different impressions.

これにより、スライドショー再生する際に、1つの画面に表示される画像は、隣接する画像が異なる印象の画像となるので、本実施形態のデジタルカメラ100は、ユーザーの満足度(高い視認性)が得られるスライドショー再生を行うことができる。なお、上述の説明では、特徴量データとして、色味である色差のデータを用いて、クラスに分類する例を説明したが、他にも、例えば、画像に写っている人物の数や、顔のデータ、撮影時間帯(例えば、朝、昼、夜など)によって、特徴量データを算出するようにして、クラスに分類するようにしてもよい。   As a result, when a slide show is reproduced, images displayed on one screen are images having different impressions from adjacent images. Therefore, the digital camera 100 of the present embodiment has high user satisfaction (high visibility). The resulting slide show playback can be performed. In the above description, an example is described in which color difference data that is a color is used as feature amount data, and classification is made into a class. However, for example, the number of people in an image, a face, The feature amount data may be calculated according to the data and the shooting time zone (for example, morning, noon, night, etc.) and classified into classes.

(スライドショー再生処理)
最後に、上述のようにして作成されたシーケンスデータ140に基づいて、スライドショーを再生表示する機能について説明する。なお、機能間のデータの流れ等を、図10に示し、処理の流れについては図11に示す。このデジタルカメラ100において、スライドショー再生の起動は、操作スイッチ107や、ディスプレイ109に表示されるメニュー画面からタッチパネル108を通じて行うことができる。このようにして、ユーザーが操作スイッチ107等(図1参照)を操作するとその操作情報が、操作入力部133(図2参照)に入力され、シーケンス再生制御情報として、スライドショー再生部127に指示され、スライドショー再生機能の開始が指示される。
(Slide show playback process)
Finally, a function for reproducing and displaying a slide show based on the sequence data 140 created as described above will be described. The flow of data between functions is shown in FIG. 10, and the flow of processing is shown in FIG. In this digital camera 100, slide show playback can be activated via the touch panel 108 from the operation switch 107 or a menu screen displayed on the display 109. In this way, when the user operates the operation switch 107 or the like (see FIG. 1), the operation information is input to the operation input unit 133 (see FIG. 2), and is instructed to the slide show playback unit 127 as sequence playback control information. The start of the slide show playback function is instructed.

ユーザーが、スライドショーの対象とする画像群を指定すると(ステップS300)、その画像群に対応するシーケンスデータ140のうち、最初のシーン(n=001)に対応するシーンデータ141をシーケンスデータ格納部132から読み出す(ステップS301)。次に、読み出したシーンデータ141の画像データカラム141bに設定されているファイル名の画像データをユーザーデータ格納部131から読み出す(ステップS302)。ここでは、0001.jpg〜0005.jpgの5枚の画像データが読み出される。   When the user designates an image group to be subjected to the slide show (step S300), among the sequence data 140 corresponding to the image group, the scene data 141 corresponding to the first scene (n = 001) is stored in the sequence data storage unit 132. (Step S301). Next, the image data of the file name set in the image data column 141b of the read scene data 141 is read from the user data storage unit 131 (step S302). Here, 0001. jpg-0005. Five pieces of image data of jpg are read out.

また、このシーンデータ141には、再生画面上に画像データを表示させる際の順番である画像表示順データと、画像Aデータ〜画像Eデータの5枚の画像データを合成して表示させるために、これらの画像Aデータ〜画像Eデータに対して一部を切り取って(トリミングして)表示させるための切り出し位置データも管理されており、表示順にしたがって画像データを選択し、切り出し位置で切り出して画像を表示する(ステップS303)。例えば、シーンデータ141が図3のような情報を有する場合、画像Aデータの切り出し位置は、(X1−X3)と記憶されており、これは、図12(a)を参照すると、画像Aデータ135Aのうち、横方向の座標X1からX3の範囲で切り出して、合成画像135の画像Aの位置135aに表示させる(合成画像については図4参照)。なお、この切り出し位置の指定は、ユーザーが行っても良いし、ランダムに任意に設定されるものでもよい。指定の方法は、ここでは、画像データの横方向の座標位置のみで指定しているが、例えば、画像データを縦横の座標位置で指定してもよく、またスライドショー再生する際の画面分割に従って、画像データをいくつかに分割して、その分割した領域を指定するようにしてもよい。   Further, in this scene data 141, in order to display by combining the image display order data, which is the order in which the image data is displayed on the reproduction screen, and the five pieces of image data of image A data to image E data. The cutout position data for cutting out (trimming) and displaying a part of these image A data to image E data is also managed, and the image data is selected according to the display order and cut out at the cutout position. An image is displayed (step S303). For example, when the scene data 141 has information as shown in FIG. 3, the cut-out position of the image A data is stored as (X1-X3), which can be obtained by referring to FIG. 135A is cut out in the range of the horizontal coordinates X1 to X3 and displayed at the position 135a of the image A of the composite image 135 (see FIG. 4 for the composite image). Note that the designation of the cutout position may be performed by the user or may be arbitrarily set at random. Here, the designation method is designated only by the horizontal coordinate position of the image data. However, for example, the image data may be designated by the vertical and horizontal coordinate positions, and according to the screen division when the slide show is reproduced, The image data may be divided into several parts and the divided areas may be designated.

このように、スライドショー再生部127は、画像表示順データにしたがって画像Aデータ〜画像Eデータを表示し、全ての画像が表示されたと判断すると(ステップS304)、所定の時間経過後に、合成画像135を表示画面からフェードアウトさせた後に、図6(b)に示すように、代表画像をフェードインさせて表示画面全体に表示させる(ステップS305)。この代表画像のデータは、シーンデータ141の代表画像データカラム141eに記憶されており、図3に示す例では、例えば、画像Eデータ135e(0004.jpg)が設定されている。つまり、図4(a)の合成画像135が表示された後に、一度この、合成画像135が消えて、図4(b)の代表画像である画像Eデータ135eが表示画面全体に表示される。   As described above, when the slide show reproduction unit 127 displays the image A data to the image E data according to the image display order data and determines that all the images are displayed (step S304), the composite image 135 is displayed after a predetermined time has elapsed. Is faded out from the display screen, and as shown in FIG. 6B, the representative image is faded in and displayed on the entire display screen (step S305). The representative image data is stored in the representative image data column 141e of the scene data 141. In the example shown in FIG. 3, for example, image E data 135e (0004.jpg) is set. That is, after the composite image 135 of FIG. 4A is displayed, the composite image 135 disappears once, and the image E data 135e that is the representative image of FIG. 4B is displayed on the entire display screen.

ステップS305で代表画像305eが表示されると、スライドショー再生部127は、全てのシーンをスライドショー表示したか否かが判断する(ステップS306)。つまり、シーケンスデータ140に含まれる全てのシーンデータ141を読み込んで表示したか否かが判断される。このステップS306で、全てのシーンのスライドショー再生表示がされていないと判断すると、シーン番号に1を加算し(ステップS307)、ステップS302に戻って、次のシーンの再生を行い、全てのシーンが表示されるまで、上述のステップS302〜S307の処理が繰り返される。また、ステップS306で、全てのシーンのスライドショー再生表示がされたと判断すると、スライドショー再生は終了する。   When the representative image 305e is displayed in step S305, the slide show reproduction unit 127 determines whether or not all scenes are displayed as a slide show (step S306). That is, it is determined whether all the scene data 141 included in the sequence data 140 has been read and displayed. If it is determined in this step S306 that all scenes are not being played back as a slide show, 1 is added to the scene number (step S307), the process returns to step S302, and the next scene is played back. Until the screen is displayed, the processes in steps S302 to S307 described above are repeated. If it is determined in step S306 that all scenes have been displayed as a slide show, slide show playback ends.

なお、スライドショー再生部127で生成された合成画像135及び代表画像135eは、表示画像データ格納部128に一旦格納され、そこから外部構成要素129のスライドショーデータ表示部134を介して、このデジタルカメラ100に内蔵されているディスプレイ109や、外部のモニター等に出力されるように構成されている。そのため、上述のように、合成画像135に表示される際の画像データの切り出し位置が指定されていると、スライドショー再生する際の画像データは、一部で済むので、表示画像データ格納部128で一旦記憶させる際に、データ容量を少なくすることができる。   Note that the composite image 135 and the representative image 135e generated by the slide show reproduction unit 127 are temporarily stored in the display image data storage unit 128, and from there, via the slide show data display unit 134 of the external component 129, the digital camera 100. It is configured to be output to a display 109 built in the computer, an external monitor, or the like. Therefore, as described above, if the cutout position of the image data when displayed on the composite image 135 is specified, only a part of the image data for the slide show reproduction is required, so the display image data storage unit 128 Once stored, the data capacity can be reduced.

以上のように、このデジタルカメラ100におけるスライドショーは、上述のシーケンスデータ作成部123で作成されたシーケンスデータ140に基づいて再生表示されるように構成されているため、合成画像135上に一度に表示される画像データは、隣接するデータが異なる印象を与える画像データとなるように設定されている。すなわち、隣接する画像データの特徴量は所定のクラス距離以上離れており、このスライドショーを見る者に強い印象を与えることができる。また、画像表示順データカラム141dに記憶される表示順序を、シーン毎にランダムに変更することにより、ユーザーがスライドショー再生された画面を見る際に、シーンごとに再生順がランダムとなるため、合成画像135の中で、どの画像が最初に表示され、どの順番で表示されるのかがについて、飽きることがなくスライドショー再生を楽しむことができる。   As described above, since the slide show in the digital camera 100 is configured to be reproduced and displayed based on the sequence data 140 created by the sequence data creation unit 123 described above, it is displayed on the composite image 135 at a time. The image data to be processed is set so that adjacent data is image data that gives a different impression. That is, the feature amounts of adjacent image data are separated by a predetermined class distance or more, and a strong impression can be given to the viewer of this slide show. In addition, since the display order stored in the image display order data column 141d is randomly changed for each scene, the playback order is random for each scene when the user views the slide show playback screen. It is possible to enjoy the slide show reproduction without getting tired of which image is displayed first in the image 135 and in what order.

本実施形態に係るスライドショー再生装置を有するデジタルカメラのブロック図である。It is a block diagram of a digital camera having a slide show playback device according to the present embodiment. 本実施形態に係るスライドショー再生装置の構成を示すブロック図であって、シーケンスデータの生成処理の動作状態を示す。It is a block diagram which shows the structure of the slide show reproducing | regenerating apparatus concerning this embodiment, Comprising: The operation state of the production | generation process of sequence data is shown. シーケンスデータの構成を示すデータ構成図である。It is a data block diagram which shows the structure of sequence data. スライドショーとして表示されるシーンの画像を示す説明図であって、(a)はスライドショー再生の際の合成画像例を示し、(b)はスライドショー再生の際の代表画面例を示す。It is explanatory drawing which shows the image of the scene displayed as a slide show, Comprising: (a) shows the example of a synthesized image at the time of slide show reproduction, (b) shows the example of the representative screen at the time of slide show reproduction. 本実施形態におけるクラスデータの構成を示す説明図である。It is explanatory drawing which shows the structure of the class data in this embodiment. 画像データの特徴量データを算出するためのフローチャートである。5 is a flowchart for calculating feature amount data of image data. 画像データの特徴量データを算出するためのサンプリング領域を示す説明図である。It is explanatory drawing which shows the sampling area | region for calculating the feature-value data of image data. 画像データの特徴量データを示すデータ構造図である。It is a data structure figure which shows the feature-value data of image data. スライドショーの再生用データの作成処理を示すフローチャートである。It is a flowchart which shows the production processing of the data for reproduction | regeneration of a slide show. 本実施形態に係るスライドショー再生装置の構成を示すブロック図であって、スライドショーの再生表示処理の動作状態を示す。It is a block diagram which shows the structure of the slide show reproduction | regeneration apparatus concerning this embodiment, Comprising: The operation | movement state of the reproduction | regeneration display process of a slide show is shown. スライドショー再生処理を示すフローチャートである。It is a flowchart which shows a slide show reproduction | regeneration process. スライドショー表示時に、画像データを切り出す方法を説明する説明図である。It is explanatory drawing explaining the method to cut out image data at the time of a slide show display.

符号の説明Explanation of symbols

100 デジタルカメラ(スライドショー再生装置)
101 光学レンズ 102 撮像素子
105 CPU(処理部) 110 メモリーカード(記憶部)
130 スライドショーソース格納部 131 ユーザー画像格納部
132 シーケンスデータ格納部 134 スライドショー表示部
100 Digital camera (Slideshow playback device)
DESCRIPTION OF SYMBOLS 101 Optical lens 102 Image pick-up element 105 CPU (processing part) 110 Memory card (memory | storage part)
130 slide show source storage unit 131 user image storage unit 132 sequence data storage unit 134 slide show display unit

Claims (6)

処理部を有し、少なくとも2以上の画像データが記憶された記憶部にアクセス可能なコンピュータにより実行され、複数の前記画像データによる像を表示可能なスライドショー表示部に前記画像データで構成されるスライドショーを表示するスライドショー再生方法であって、
前記処理部により、
前記記憶部から前記画像データを取り出し、当該画像データの特徴量を算出する特徴量算出処理と、
前記特徴量に基づいて、前記画像データを所定のクラスに分類するクラス分類処理と、
前記画像データのうち、2以上の画像データを、少なくとも一側の隣接する前記画像データのクラスが異なるように配置した再生画像データを生成する再生画像データ指示処理と、
前記再生画像データを前記スライドショーとして前記スライドショー表示部に表示する再生処理と、
を有するスライドショー再生方法。
A slide show configured by the image data on a slide show display unit, which is executed by a computer having a processing unit and capable of accessing a storage unit in which at least two or more pieces of image data are stored, and capable of displaying a plurality of images based on the image data A slide show playback method for displaying
By the processing unit,
A feature amount calculation process for extracting the image data from the storage unit and calculating a feature amount of the image data;
Class classification processing for classifying the image data into a predetermined class based on the feature amount;
Reproduction image data instruction processing for generating reproduction image data in which two or more pieces of image data among the image data are arranged so that at least one of the adjacent image data classes is different;
A reproduction process for displaying the reproduction image data as the slide show on the slide show display unit;
A slide show playback method comprising:
前記クラスは、当該クラスごとに前記特徴量データの所定の範囲に対応するように配列されており、
前記再生画像データ指示処理は、隣接して配置される前記画像データを、隣接する前記クラスに属する前記画像データからは選択しないように構成された請求項1に記載のスライドショー再生方法。
The classes are arranged so as to correspond to a predetermined range of the feature data for each class,
The slide show playback method according to claim 1, wherein the playback image data instruction processing is configured not to select the image data arranged adjacent to the image data belonging to the adjacent class.
前記再生画像データ指示処理は、前記再生画像データとして、前記画像データの再生順であるシーケンスデータを生成し、
前記再生処理は、前記シーケンスデータにしたがって前記画像データを前記スライドショーとして再生するように構成された請求項1または2に記載のスライドショー再生方法。
The reproduction image data instruction process generates sequence data that is the reproduction order of the image data as the reproduction image data,
The slide show playback method according to claim 1, wherein the playback process is configured to play back the image data as the slide show according to the sequence data.
請求項1〜3いずれか一項に記載のスライドショー再生方法をコンピュータに実行させるためのプログラム。   The program for making a computer perform the slide show reproduction method as described in any one of Claims 1-3. 少なくとも2以上の画像データを記憶するユーザーデータ格納部と、
スライドショーを表示するスライドショーデータ表示部と、
請求項4に記載のプログラムを実行し、前記ユーザーデータ格納部に記憶されている前記画像データからスライドショーを生成し、前記スライドショーデータ表示部に表示する処理装置と、を有するスライドショー再生装置。
A user data storage unit for storing at least two or more image data;
A slide show data display section for displaying a slide show;
A slide show playback device, comprising: a processing device that executes the program according to claim 4, generates a slide show from the image data stored in the user data storage unit, and displays the slide show on the slide show data display unit.
請求項5に記載のスライドショー再生装置と、
光学系及び当該光学系で結像された像を検出する撮像素子を備え、当該撮像素子で検出された画像を前記画像データとして前記ユーザ−データ格納部に記憶させる撮像部と、を有するカメラ。
A slide show playback device according to claim 5;
A camera comprising: an optical system; and an imaging unit that detects an image formed by the optical system, and stores an image detected by the imaging device in the user-data storage unit as the image data.
JP2008184360A 2008-07-16 2008-07-16 Slide show reproduction method, program, slide show reproduction device, and camera Pending JP2010026614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008184360A JP2010026614A (en) 2008-07-16 2008-07-16 Slide show reproduction method, program, slide show reproduction device, and camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008184360A JP2010026614A (en) 2008-07-16 2008-07-16 Slide show reproduction method, program, slide show reproduction device, and camera

Publications (1)

Publication Number Publication Date
JP2010026614A true JP2010026614A (en) 2010-02-04

Family

ID=41732417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008184360A Pending JP2010026614A (en) 2008-07-16 2008-07-16 Slide show reproduction method, program, slide show reproduction device, and camera

Country Status (1)

Country Link
JP (1) JP2010026614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10269157B2 (en) 2015-09-18 2019-04-23 Fujifilm Corporation Template selection system, template selection method and recording medium storing template selection program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10269157B2 (en) 2015-09-18 2019-04-23 Fujifilm Corporation Template selection system, template selection method and recording medium storing template selection program

Similar Documents

Publication Publication Date Title
US7239347B2 (en) Image display controlling method, image display controlling apparatus and image display controlling program
JP4593314B2 (en) Image reproduction apparatus, program and method, and photo movie creation apparatus, program and method
US20100214442A1 (en) Image display apparatus and image display method
US8782563B2 (en) Information processing apparatus and method, and program
US9014537B2 (en) Information processing apparatus and method, and program
JP4280656B2 (en) Image display device and image display method thereof
JP4663699B2 (en) Image display device and image display method
US20060039674A1 (en) Image editing apparatus, method, and program
JP2012044646A (en) Image processing device, image processing method and program
JP2007295212A (en) Image reproducing apparatus, its control method and its control program
JP5550305B2 (en) Imaging device
US8176441B2 (en) Information display device
JP2005227896A (en) Display selection device and display selection method for electronic device
JP5826026B2 (en) Imaging apparatus and control method thereof
JP2010177731A (en) Image reproducing device and imaging apparatus
JP2010026614A (en) Slide show reproduction method, program, slide show reproduction device, and camera
JP5032363B2 (en) Image display method
JP4885602B2 (en) Image reproducing apparatus, control method therefor, and control program therefor
JP4175622B2 (en) Image display system
JP2010199771A (en) Image display apparatus, image display method, and program
JP5167964B2 (en) Display control apparatus, display control method, and program
JP4682254B2 (en) Image display method and image processing apparatus
JP2010056622A (en) Electronic camera
JP2010199772A (en) Image display apparatus, image display method, and program
JP2006094202A (en) Imaging apparatus, focusing processing method, and program