WO2012147772A1 - Image processing device, image display device, imaging device and program - Google Patents

Image processing device, image display device, imaging device and program Download PDF

Info

Publication number
WO2012147772A1
WO2012147772A1 PCT/JP2012/061051 JP2012061051W WO2012147772A1 WO 2012147772 A1 WO2012147772 A1 WO 2012147772A1 JP 2012061051 W JP2012061051 W JP 2012061051W WO 2012147772 A1 WO2012147772 A1 WO 2012147772A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
color
evaluation value
switching
processing apparatus
Prior art date
Application number
PCT/JP2012/061051
Other languages
French (fr)
Japanese (ja)
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 JP2013512396A priority Critical patent/JPWO2012147772A1/en
Publication of WO2012147772A1 publication Critical patent/WO2012147772A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

An image processing device is provided with: a calculation unit for calculating, on the basis of an image, an evaluation value pertaining to an attribute of a color in the image; and a generation unit for generating an insertion color, which is a switching image color inserted during the switching period when switching from display of a first image to display of a second image, on the basis of at least one of either a first color evaluation value, which is an evaluation value calculated by the calculation unit on the basis of the first image, or a second color evaluation value, which is an evaluation value calculated by the calculation unit on the basis of the second image; and a switching process unit for performing a process for inserting the switching image of the insertion color during the switching period, and switching from the first image to the second image.

Description

画像処理装置、画像表示装置、撮像装置、及びプログラムImage processing apparatus, image display apparatus, imaging apparatus, and program
 本発明の態様は、画像処理装置、画像表示装置、撮像装置、及びプログラムに関する。
 本願は、2011年4月26日に出願された日本国特願2011-098188号に基づき優先権を主張し、その内容をここに援用する。
Aspects of the present invention relate to an image processing device, an image display device, an imaging device, and a program.
This application claims priority based on Japanese Patent Application No. 2011-098188 filed on April 26, 2011, the contents of which are incorporated herein by reference.
 複数の画像を切り替えて表示する際に、フェードイン処理やフェードアウト処理等のトランジション処理を挿入する技術が知られている。
 例えば、異なる2つの動画像を切り替えて表示する際に、トランジション処理を挿入してつなぎ合わせる編集技術として、2つの動画像それぞれのフレームの内、同じ色またはその近傍色があるフレームを、トランジション処理を挿入してつなぎ合わせる編集技術がある(例えば、特許文献1参照)。
A technique is known in which a transition process such as a fade-in process or a fade-out process is inserted when a plurality of images are switched and displayed.
For example, when two different moving images are displayed by switching, as an editing technique for inserting and connecting transition processing, a frame having the same color or its neighboring color is included in each of the two moving images. There is an editing technique that inserts and connects them (for example, see Patent Document 1).
特開2007-184869号公報JP 2007-184869 A
 ところで、撮像された画像の色味は、撮影場所や被写体の種類によって様々である。それに対して、画像を切替えて表示する際のフェードイン処理やフェードアウト処理に用いられる色は、一般的に黒色または白色である場合が多くその他の色が用いられることは少ない。例えば、赤っぽい色味の複数の画像間に、黒色によるフェードイン処理やフェードアウト処理が挿入されて順次切替え表示される場合、表示される画像の色味が交互に赤色と黒色とに切替わることにより画面のちらつきが多くなり、ユーザーにとって不快に感じられる場合がある。一方、スポーツやロックコンサート等のような動きの激しい被写体が撮像された複数の動画像が順次切替え表示される場合、複数の動画像間に黒色または白色による処理が挿入されると、動画像から感じられるべき躍動感が遮断され、ユーザーにとって不快に感じられる場合がある。 By the way, the color of the captured image varies depending on the shooting location and the type of subject. On the other hand, the color used for the fade-in process and the fade-out process when switching and displaying an image is generally black or white and other colors are rarely used. For example, when a fade-in process or fade-out process using black is inserted between a plurality of images having a reddish tint and sequentially switched and displayed, the color of the displayed image is alternately switched between red and black. As a result, the flickering of the screen increases and the user may feel uncomfortable. On the other hand, when a plurality of moving images obtained by capturing a subject that moves rapidly, such as sports and rock concerts, are sequentially switched and displayed, if black or white processing is inserted between the plurality of moving images, The feeling of dynamism that should be felt may be cut off and may be uncomfortable for the user.
 また、特許文献1に示す画像処理装置にあっては、2つの動画像それぞれのフレームのうち、同じ色またはその近傍色があるフレームにトランジション処理を挿入して2つの動画像を切替えることができるが、2つの動画像に同じ色またはその近傍色が含まれない場合には適応できないことがある。 Further, in the image processing apparatus disclosed in Patent Document 1, it is possible to switch between two moving images by inserting a transition process into a frame having the same color or a color near the same among the frames of the two moving images. However, this may not be applicable when the two moving images do not include the same color or its neighboring colors.
 本発明の態様は、ユーザーにとって不快感が少ないように画像を切替えることができる画像処理装置、画像表示装置、撮像装置、及びプログラムを提供する。 An aspect of the present invention provides an image processing device, an image display device, an imaging device, and a program that can switch images so as to reduce discomfort for the user.
 この発明の態様は画像に基づいて前記画像の色の属性に関する評価値を算出する算出部と、第1の画像から第2の画像に切替えて表示する際の切替え期間に挿入される切替え画像の色である挿入色を、前記第1の画像に基づいて前記算出部により算出された評価値である第1の色評価値と前記第2の画像に基づいて前記算出部により算出された評価値である第2の色評価値との少なくとも一方に基づいて生成する生成部と、前記切替え期間に前記挿入色の前記切替え画像を挿入して、前記第1の画像から前記第2の画像に切替える処理をする切替え処理部と、を備えることを特徴とする画像処理装置である。 An aspect of the present invention is a calculation unit that calculates an evaluation value related to a color attribute of the image based on the image, and a switching image that is inserted in a switching period when switching from the first image to the second image for display. The first color evaluation value, which is the evaluation value calculated by the calculation unit based on the first image, and the evaluation value calculated by the calculation unit based on the second image are inserted colors that are colors. A generation unit configured to generate based on at least one of the second color evaluation values, and the switching image of the insertion color is inserted during the switching period to switch from the first image to the second image. An image processing apparatus comprising: a switching processing unit that performs processing.
 また、本発明の態様は、上述の画像処理装置と、前記第1の画像と前記第2の画像とを表示する表示部と、前記第1の画像から前記第2の画像に切替えて表示させる場合に、前記切替え期間に前記挿入色の切替え画像を挿入して表示部に表示させる表示制御部と、を備えることを特徴とする画像表示装置である。 According to another aspect of the present invention, the image processing apparatus described above, a display unit that displays the first image and the second image, and the first image to the second image are displayed. In this case, the image display device includes a display control unit that inserts the switching image of the insertion color during the switching period and displays the inserted image on the display unit.
 また、本発明の態様は、上述の画像処理装置を備えることを特徴とする撮像装置である。 Also, an aspect of the present invention is an imaging device including the above-described image processing device.
 また、本発明の態様は、画像処理装置としてのコンピュータに、画像に基づいて前記画像の色の属性に関する評価値を算出する算出手順と、第1の画像から第2の画像に切替えて表示される場合の切替え期間に挿入される切替え画像の色である挿入色を、前記第1の画像に基づいて算出された前記評価値である第1の色評価値と前記第2の画像に基づいて算出された前記評価値である第2の色評価値とに基づいて生成する生成手順と、前記切替え期間に前記挿入色の前記切替え画像を挿入して、前記第1の画像から前記第2の画像に切替える処理をする切替え処理手順と、を実行させるためのプログラムである。 According to another aspect of the present invention, a computer as an image processing apparatus displays a calculation procedure for calculating an evaluation value related to a color attribute of the image based on the image, and switches from the first image to the second image. The inserted color, which is the color of the switching image inserted in the switching period in the case of the first image, is based on the first color evaluation value, which is the evaluation value calculated based on the first image, and the second image. A generation procedure that is generated based on the calculated second color evaluation value that is the evaluation value, and the switching image of the insertion color is inserted in the switching period, and the second image is converted into the second color from the first image. A switching processing procedure for performing processing for switching to an image.
 この発明の態様によれば、ユーザーにとって不快感が少ないように画像を切替えることができる。 According to this aspect of the present invention, it is possible to switch images so as to reduce discomfort for the user.
本発明の一実施形態による画像表示装置の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the image display apparatus by one Embodiment of this invention. 静止画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches a still image by a transition process. 動画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches a moving image by a transition process. 画像を切替える際に中間色を挿入色とする場合の一例を示す図である。It is a figure which shows an example in case an intermediate color is made into an insertion color when switching an image. 中間色を挿入色とした切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process which used the intermediate color as the insertion color. 画像を切替える際に中間色の補色を挿入色とする場合の一例を示す図である。It is a figure which shows an example in the case of using the complementary color of an intermediate color as an insertion color when switching an image. 画像の動きベクトルの大きさに応じた挿入色による切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process by the insertion color according to the magnitude | size of the motion vector of an image. 画像の色の変化率に応じた挿入色による切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process by the insertion color according to the change rate of the color of an image. 画像の音量に応じた挿入色による切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process by the insertion color according to the volume of an image. 表示画像の前または後に画像が無い場合の切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process in case there is no image before or after a display image. 1枚のみ動画像を表示開始する場合の切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process in the case of starting display of only one moving image. 1枚のみ動画像を表示終了する場合の切替え処理の一例を示すフローチャートである。It is a flowchart which shows an example of the switching process in the case of ending display of only one moving image. 本発明の一実施形態による撮像装置の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the imaging device by one Embodiment of this invention. 撮像された動画像に挿入色による切替え処理をして記録する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which records and switches the picked-up moving image by the insertion color. 画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches an image by a transition process. 画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches an image by a transition process. 画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches an image by a transition process. 画像をトランジション処理により切替える処理の一例を示す図である。It is a figure which shows an example of the process which switches an image by a transition process.
 以下、図面を参照して、本発明の実施の形態について説明する。図1は、本発明の一実施形態による画像表示装置100の構成を示す概略ブロック図である。
 図1に示す画像表示装置100は、画像処理装置1、表示制御部110、表示部120、外部出力部130、及びバス10Aを備えている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a configuration of an image display device 100 according to an embodiment of the present invention.
An image display device 100 illustrated in FIG. 1 includes an image processing device 1, a display control unit 110, a display unit 120, an external output unit 130, and a bus 10A.
 表示制御部110は、画像処理装置1により処理された画像を表示部120に表示させる。例えば、スライドショー再生を実行して画像表示装置100で画像を順次切替えて表示する場合、表示制御部110は、画像処理装置1においてトランジション処理が加えられた画像を表示部120に表示させる。
 表示部120は、例えば、液晶ディスプレイであり、表示制御部110の制御により画像処理装置1において処理された画像、またはメニュー画面などを表示する。例えば、表示部120は、画像をスライドショー再生で表示する。ここで、スライドショー再生とは、予め設定された1画像あたりの表示時間を表示したあとに、操作者に、または、記録されている動画像の時間により、画像を順次切替えて表示(再生)するような再生動作のことをいう。
 尚、本発明の実施の形態で説明する画像とは、静止画像または動画像である。
The display control unit 110 causes the display unit 120 to display an image processed by the image processing apparatus 1. For example, when slide show reproduction is performed and images are sequentially switched and displayed on the image display device 100, the display control unit 110 causes the display unit 120 to display images that have undergone transition processing in the image processing device 1.
The display unit 120 is, for example, a liquid crystal display, and displays an image processed in the image processing apparatus 1 or a menu screen under the control of the display control unit 110. For example, the display unit 120 displays images by slide show reproduction. Here, the slide show reproduction means that after displaying a preset display time per image, images are sequentially switched and displayed (reproduced) by the operator or according to the recorded moving image time. Such a playback operation.
The image described in the embodiment of the present invention is a still image or a moving image.
 外部出力部130は、例えば、ピン端子、またはHDMI(High-Definition Multimedia Interface)端子等を有している。外部出力部130は、画像処理装置1において処理された画像、またはメニュー画面などの画像信号を外部の表示装置に出力する。
 バス10Aは、画像処理装置1が備える各部、表示制御部110、及び外部出力部130と接続され、各部から出力された画像データや制御信号等を転送する。
The external output unit 130 has, for example, a pin terminal or an HDMI (High-Definition Multimedia Interface) terminal. The external output unit 130 outputs an image processed by the image processing device 1 or an image signal such as a menu screen to an external display device.
The bus 10A is connected to each unit included in the image processing apparatus 1, the display control unit 110, and the external output unit 130, and transfers image data, control signals, and the like output from each unit.
 画像処理装置1は、画像処理部2、記憶部4、バッファメモリ部5、記憶装置6、操作部7を備えている。
 画像処理部2は、記憶装置6に記憶されている画像を読み出して表示制御部110を介して表示部120にさせる。例えば、画像処理部2は、記憶装置6に記憶されている圧縮処理された画像データ(例えば、JPEG方式により圧縮された画像データ)を読み出して、前記画像データに伸張処理した画像を生成して表示部120に表示させる。また、画像処理部2は、記憶装置6に記憶されている画像データを読み出して、外部出力部130を介して接続された外部の表示装置に適応する出力フォーマットに変換した画像(画像信号)を出力する。
The image processing apparatus 1 includes an image processing unit 2, a storage unit 4, a buffer memory unit 5, a storage device 6, and an operation unit 7.
The image processing unit 2 reads an image stored in the storage device 6 and causes the display unit 120 to display the image via the display control unit 110. For example, the image processing unit 2 reads compressed image data (for example, image data compressed by the JPEG method) stored in the storage device 6 and generates an image that is decompressed to the image data. It is displayed on the display unit 120. Further, the image processing unit 2 reads out image data stored in the storage device 6 and converts the image (image signal) converted into an output format suitable for an external display device connected via the external output unit 130. Output.
 また、画像処理部2は、操作者により操作部7が操作されるのに応じて、記憶装置6から読み出した画像のスライドショー再生を実行する。例えば、画像処理部2は、複数の画像を順次切替える場合、切替え前後の画像の色の属性に関する評価値に基づいて、画像間に挿入する切替え画像の色(以下、挿入色)を算出する。そして、算出した挿入色によるトランジション処理を加えて画像を順次切替える。この画像処理部2による画像の切替え処理の詳細については後述する。 Further, the image processing unit 2 executes slide show reproduction of the images read from the storage device 6 in response to the operation unit 7 being operated by the operator. For example, when sequentially switching a plurality of images, the image processing unit 2 calculates a color of a switching image to be inserted between images (hereinafter referred to as an insertion color) based on an evaluation value relating to a color attribute of the image before and after switching. Then, a transition process using the calculated insertion color is added to sequentially switch images. Details of the image switching processing by the image processing unit 2 will be described later.
 記憶部4には、画像表示装置100を制御するための、予め定められた画像処理条件、再生制御条件、表示制御条件、及び出力制御条件などが記憶されている。例えば、記憶部4は、ROM(Read Only Memory)である。 The storage unit 4 stores predetermined image processing conditions, reproduction control conditions, display control conditions, output control conditions, and the like for controlling the image display device 100. For example, the storage unit 4 is a ROM (Read Only Memory).
 バッファメモリ部5は、画像処理部2が画像表示装置100を制御する際の作業領域として利用される。記憶装置6から読み出された画像データは、画像処理部2による画像処理の過程においてバッファメモリ部5に一時的に記憶される。バッファメモリ部5は、例えばRAM(Random Access Memory)である。 The buffer memory unit 5 is used as a work area when the image processing unit 2 controls the image display device 100. The image data read from the storage device 6 is temporarily stored in the buffer memory unit 5 in the course of image processing by the image processing unit 2. The buffer memory unit 5 is, for example, a RAM (Random Access Memory).
 記憶装置6は、メモリカード等の着脱可能な記憶媒体300が挿入される。記憶媒体300には画像データが記録されており、前記画像データは、画像処理部2により読み出される。なお、記憶装置6は、ハードディスク装置や光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリ、またはこれらの組み合わせにより構成されていてもよい。また、記憶装置6は、画像表示装置100の内部に設けられていてもよいし、外部装置として画像表示装置100に接続されていてもよい。 In the storage device 6, a removable storage medium 300 such as a memory card is inserted. Image data is recorded in the storage medium 300, and the image data is read by the image processing unit 2. The storage device 6 may be configured by a hard disk device, a magneto-optical disk device, a nonvolatile memory such as a flash memory, or a combination thereof. The storage device 6 may be provided inside the image display device 100, or may be connected to the image display device 100 as an external device.
 操作部7は、画像表示装置100に対して操作者が操作入力するための操作スイッチを有している。例えば、操作部7は、電源スイッチ、モードスイッチ、メニュースイッチ、上下左右選択スイッチ、確定スイッチ、取消スイッチ、及びその他の操作スイッチ等を有している。また、操作部7は、タッチパネル、キーボード、またはマウス等の入力デバイスであってもよい。 The operation unit 7 has an operation switch for an operator to input an operation to the image display device 100. For example, the operation unit 7 includes a power switch, a mode switch, a menu switch, an up / down / left / right selection switch, a confirmation switch, a cancel switch, and other operation switches. The operation unit 7 may be an input device such as a touch panel, a keyboard, or a mouse.
 例えば、操作者が操作部7を操作することにより、スライドショー再生を実行するか否かを選択する画面、スライドショー再生時の1画像あたりの表示時間を設定する画面、または、画像を切替える際のトランジション処理の種類を選択する画面などのメニュー画面が表示部120に表示され、それぞれ選択または設定された内容を示す信号が操作部7から画像処理部2に出力される。 For example, when the operator operates the operation unit 7, a screen for selecting whether or not to execute a slide show reproduction, a screen for setting a display time per image during slide show reproduction, or a transition when switching images are displayed. A menu screen such as a screen for selecting the type of processing is displayed on the display unit 120, and a signal indicating the content selected or set is output from the operation unit 7 to the image processing unit 2.
 次に、画像処理部2の構成について詳しく説明する。
 画像処理部2は、評価値算出部(算出部)21、挿入色生成部(生成部)22、動きベクトル検出部23、動きベクトル判定部24、変化率算出部25、色変化判定部26、音量判定部27、及び切替え処理部28を備えている。
Next, the configuration of the image processing unit 2 will be described in detail.
The image processing unit 2 includes an evaluation value calculation unit (calculation unit) 21, an insertion color generation unit (generation unit) 22, a motion vector detection unit 23, a motion vector determination unit 24, a change rate calculation unit 25, a color change determination unit 26, A volume determination unit 27 and a switching processing unit 28 are provided.
 評価値算出部21は、画像に基づいて画像の色の属性に関する評価値を算出する。ここで、色の属性とは色相、明度、または彩度等である。例えば、評価値算出部21は、画像内(画像のフレーム内)における画素の色データの加算平均値を評価値として算出する。具体的には、評価値算出部21は、画像内における全画素のR(赤)、G(緑)、B(青)データの加算平均値を評価値として算出する。なお、評価値算出部21は、R(赤)、G(緑)、B(青)データに代えて、例えば、Y、Cr、Cbデータ(Yは輝度信号、Cr,Cbは色差信号)等、色の属性に関するその他のデータとしてもよい。また、評価値算出部21は、画像内における全画素のデータの加算平均値を評価値として算出するのに代えて、画像内における予め定められた範囲の画素のデータの加算平均値を評価値として算出してもよい。 The evaluation value calculation unit 21 calculates an evaluation value related to the color attribute of the image based on the image. Here, the color attribute is a hue, brightness, saturation, or the like. For example, the evaluation value calculation unit 21 calculates the addition average value of the color data of the pixels in the image (in the frame of the image) as the evaluation value. Specifically, the evaluation value calculation unit 21 calculates an addition average value of R (red), G (green), and B (blue) data of all pixels in the image as an evaluation value. The evaluation value calculation unit 21 replaces R (red), G (green), and B (blue) data with, for example, Y, Cr, and Cb data (Y is a luminance signal, Cr and Cb are color difference signals), etc. Other data related to color attributes may be used. In addition, the evaluation value calculation unit 21 calculates the addition average value of the pixel data in a predetermined range in the image as the evaluation value instead of calculating the addition average value of the data of all the pixels in the image as the evaluation value. May be calculated as
 また、評価値算出部21は、画像が動画像である場合、動画像のフレーム内における画素の色データの加算平均値を所定の複数フレーム分加算平均して評価値として算出する。
 なお、評価値算出部21は、画像が動画像である場合、動画像の予め定められた1つのフレーム内における画素の色データの加算平均値を評価値として算出してもよい。例えば、評価値算出部21は、画像が動画像である場合、動画像の最後のフレーム内における画素の色データの加算平均値を評価値として算出してもよいし、動画像の最初のフレーム内における画素の色データの加算平均値を評価値として算出してもよい。
In addition, when the image is a moving image, the evaluation value calculation unit 21 calculates the addition average value of the color data of the pixels in the frame of the moving image as an evaluation value by adding and averaging the predetermined plurality of frames.
When the image is a moving image, the evaluation value calculation unit 21 may calculate an average value of the color data of pixels in one predetermined frame of the moving image as the evaluation value. For example, when the image is a moving image, the evaluation value calculation unit 21 may calculate the addition average value of the color data of the pixels in the last frame of the moving image as the evaluation value, or the first frame of the moving image An average value of the color data of the pixels in the image may be calculated as the evaluation value.
 挿入色生成部22は、画像表示装置100において画像を順次切替えて表示する場合、切替え前の画像(第1の画像)から切替え後の画像(第2の画像)に切替えて表示する際の切替え期間に挿入される切替え画像の色である挿入色を生成する。例えば、挿入色生成部22は、切替え前の画像(第1の画像)に基づいて評価値算出部21により算出された切替え前の画像(第1の画像)の評価値(第1の色評価値)と、切替え後の画像(第2の画像)に基づいて評価値算出部21により算出された切替え後の画像(第2の画像)の評価値(第2の色評価値)とに基づいて挿入色を生成する。 When the images are sequentially switched and displayed on the image display device 100, the insertion color generation unit 22 performs switching when switching and displaying the image before switching (first image) and the image after switching (second image). An insertion color that is the color of the switching image inserted in the period is generated. For example, the insertion color generation unit 22 calculates the evaluation value (first color evaluation) of the image before switching (first image) calculated by the evaluation value calculation unit 21 based on the image before switching (first image). Value) and the evaluation value (second color evaluation value) of the image after switching (second image) calculated by the evaluation value calculation unit 21 based on the image after switching (second image). To generate an insertion color.
 ここで、本実施形態において、切替え前後の画像について、切替え前の画像を第1の画像、切替え後の画像を第2の画像とも記述する。また、評価値算出部21により算出された切替え前の画像(第1の画像)の評価値を第1の色評価値、評価値算出部21により算出された切替え後の画像(第2の画像)の評価値を第2の色評価値とも記述する。 Here, in the present embodiment, for the images before and after switching, the image before switching is also described as a first image and the image after switching is described as a second image. The evaluation value of the image before switching (first image) calculated by the evaluation value calculation unit 21 is used as the first color evaluation value, and the image after switching calculated by the evaluation value calculation unit 21 (second image). ) Is also referred to as a second color evaluation value.
 挿入色生成部22は、例えば、第1の色評価値と第2の色評価値との間の色(中間値となる色、中間値付近の色、中間色)を、挿入色として生成する。また、挿入色生成部22は、第1の色評価値と第2の色評価値との間の色(中間値となる色、中間値付近の色、中間色)の補色(反対色)を、挿入色として生成する。
 なお、挿入色として生成される第1の色評価値と第2の色評価値との間の色は、第1の色評価値と第2の色評価値との中間値のみに限られず、中間値近傍やそれより広い範囲の色であってもよい。中間色は、中間色と類似する色を含んでもよい。
 また、中間色とその中間色の補色とは、例えば、第1の色評価値が赤色であって第2の色評価値が青色である場合、色相環において赤色と青色との中間に位置する色である紫色が中間色であって、その中間色の正反対に位置する色である黄緑色が補色である。また、挿入色生成部22は、後述する画像の動きベクトル、画像の音の音量、または画像の色の変化率等の条件によって、中間色を挿入色とするか中間色の補色を挿入色とするかを選択する。
For example, the insertion color generation unit 22 generates a color between the first color evaluation value and the second color evaluation value (a color that is an intermediate value, a color near the intermediate value, and an intermediate color) as an insertion color. Further, the insertion color generation unit 22 calculates a complementary color (opposite color) of a color between the first color evaluation value and the second color evaluation value (a color that is an intermediate value, a color near the intermediate value, and an intermediate color). Generate as insert color.
Note that the color between the first color evaluation value and the second color evaluation value generated as the insertion color is not limited to only an intermediate value between the first color evaluation value and the second color evaluation value. The color may be in the vicinity of the intermediate value or in a wider range. The intermediate color may include a color similar to the intermediate color.
The intermediate color and the complementary color of the intermediate color are, for example, colors that are located between red and blue in the hue circle when the first color evaluation value is red and the second color evaluation value is blue. A certain purple color is an intermediate color, and a yellow-green color, which is a color opposite to the intermediate color, is a complementary color. Also, the insertion color generation unit 22 determines whether the intermediate color is used as the insertion color or the intermediate color as the insertion color depending on conditions such as an image motion vector, an image sound volume, or an image color change rate, which will be described later. Select.
 動きベクトル検出部23は、画像の動きベクトルを検出する。つまり、動きベクトル検出部23は、動きベクトルを検出することにより画像の動きの激しさを検出する。動きベクトル検出部23は、画像が動画像である場合、前記画像の所定の複数フレームにおける動きベクトルを検出する。所定の複数フレームにおける動きベクトルとは、動画像の予め定められた期間における動きベクトルであって、例えば、動画像の最初のフレームを含む所定の期間、最後のフレームを含む所定の期間、途中のフレームの所定の期間、または全てフレームの期間等である。 The motion vector detection unit 23 detects a motion vector of the image. That is, the motion vector detection unit 23 detects the intensity of the motion of the image by detecting the motion vector. When the image is a moving image, the motion vector detection unit 23 detects a motion vector in a predetermined plurality of frames of the image. The motion vectors in the predetermined plurality of frames are motion vectors in a predetermined period of the moving image, for example, a predetermined period including the first frame of the moving image, a predetermined period including the last frame, A predetermined period of a frame or a period of all frames.
 例えば、動きベクトル検出部23は、動画像における主要被写体画像のフレーム間の動きを動きベクトルとして検出する。なお、動きベクトル検出部23は、動画像における主要被写体画像以外の背景画像のフレーム間の動きを動きベクトルとして検出するように設定されてもよい。また、動きベクトル検出部23は、静止画像の場合であって、静止画像が撮像された際の被写体の動き量(例えば、被写体の動きの速さまたは激しさを示す量)が静止画像に関連付けられている場合、この関連付けられている動き量を動きベクトルとして検出してもよい。また、静止画像における主要被写体画像または背景画像の像流れの程度から静止画像が撮像された際の動き量を推定して、この推定した動き量を動きベクトルとして検出してもよい。なお、画像から主要被写体画像または背景画像を推定する方法は、画像のパターンマッチングにより推定する方法、動きベクトルにより推定する方法、撮像レンズの焦点距離情報により推定する方法、または被写体の特徴量(大きさ、形、色等)により推定する方法等、公知の技術を適用することができる。 For example, the motion vector detection unit 23 detects a motion between frames of a main subject image in a moving image as a motion vector. The motion vector detection unit 23 may be set to detect a motion between frames of a background image other than the main subject image in the moving image as a motion vector. The motion vector detection unit 23 is a still image, and associates the amount of motion of the subject (for example, an amount indicating the speed or intensity of motion of the subject) with the still image when the still image is captured. If so, the associated motion amount may be detected as a motion vector. Alternatively, the motion amount when a still image is captured may be estimated from the degree of image flow of the main subject image or the background image in the still image, and the estimated motion amount may be detected as a motion vector. The method for estimating the main subject image or the background image from the image includes a method for estimating by image pattern matching, a method for estimating by a motion vector, a method for estimating by focal length information of an imaging lens, or a feature amount (large) of a subject. Well-known techniques, such as a method of estimation based on the size, shape, color, etc., can be applied.
 動きベクトル判定部24は、画像から動きベクトル検出部23により検出された動きベクトルの大きさが所定値以上であるか否かを判定する。この所定値は、画像の動きの激しさを判定するために予め定められた値であって、挿入色生成部22が中間色を挿入色とするか中間色の補色を挿入色とするかを選択するための判定条件として設定されている閾値である。すなわち、動きベクトル判定部24は、動きベクトル検出部23により検出された動きベクトルの大きさに基づいて、動きの激しい(動きベクトルの大きさが大きい)画像であるか動きの激しくない(動きベクトルの大きさが小さい)画像であるかを判定する。 The motion vector determination unit 24 determines whether or not the magnitude of the motion vector detected from the image by the motion vector detection unit 23 is a predetermined value or more. This predetermined value is a predetermined value for determining the intensity of image movement, and the insertion color generation unit 22 selects whether the intermediate color is the insertion color or the intermediate color is the insertion color. This is a threshold value set as a determination condition. That is, based on the magnitude of the motion vector detected by the motion vector detection unit 23, the motion vector determination unit 24 is an image with a strong motion (large motion vector size) or no motion (motion vector). It is determined whether the image is small.
 変化率算出部25は、画像が動画像である場合、評価値算出部21により前記動画像のフレーム毎に算出された色の属性に関する評価値のフレーム間の変化率を算出する。つまり、変化率算出部25は、評価値のフレーム間の変化率を算出することにより動画像の色変化の激しさを算出する。 When the image is a moving image, the change rate calculating unit 25 calculates the rate of change between frames of the evaluation value related to the color attribute calculated for each frame of the moving image by the evaluation value calculating unit 21. That is, the change rate calculation unit 25 calculates the intensity of the color change of the moving image by calculating the change rate of the evaluation value between frames.
 色変化判定部26は、変化率算出部25により算出された変化率が所定の変化率以上であるか否かを判定する。この所定の変化率は、画像の色の変化の激しさを判定するために予め定められた値であって、挿入色生成部22が中間色を挿入色とするか中間色の補色を挿入色とするかを選択するための判定条件として設定されている閾値である。すなわち、色変化判定部26は、変化率算出部25により算出された変化率に基づいて、色の変化が激しい(変化率が大きい)動画像であるか、色の変化が激しくない(変化率が小さい)動画像をあるかを判定する。 The color change determination unit 26 determines whether or not the change rate calculated by the change rate calculation unit 25 is equal to or greater than a predetermined change rate. This predetermined rate of change is a predetermined value for determining the intensity of the color change of the image, and the insertion color generation unit 22 uses the intermediate color as the insertion color or the intermediate color as the insertion color. This is a threshold value set as a determination condition for selecting. That is, based on the change rate calculated by the change rate calculation unit 25, the color change determination unit 26 is a moving image with a large color change (a large change rate) or a color change is not abrupt (change rate). It is determined whether there is a moving image.
 音量判定部27は、画像に関連付けられている音が所定の音量以上であるか否かを判定する。この所定の音量は、画像に関連付けられている音の騒がしさを判定するために予め定められた値であって、挿入色生成部22が中間色を挿入色とするか中間色の補色を挿入色とするかを選択するための判定条件として設定されている閾値である。例えば、音量判定部27は、動画像に記録されている音の騒がしさ(音量)を判定する。また、音量判定部27は、静止画像に記録されている音の騒がしさ(音量)を判定する。静止画像に記録されている音は、例えば、静止画像が撮像される際に、予め設定された期間(例えば、レリーズ押下後の10秒間など)に検出されて記録された音である。また、静止画像に記録されている音は、記録されている静止画像に関連付けて後から録音された音であってもよい。 The volume determination unit 27 determines whether or not the sound associated with the image is equal to or higher than a predetermined volume. This predetermined volume is a predetermined value for determining the noise of the sound associated with the image, and the insertion color generation unit 22 uses the intermediate color as the insertion color or the intermediate color as the insertion color. It is a threshold value set as a determination condition for selecting whether to do. For example, the volume determination unit 27 determines the noise level (volume) of the sound recorded in the moving image. The volume determination unit 27 determines the noise level (volume) of the sound recorded in the still image. The sound recorded in the still image is, for example, a sound that is detected and recorded during a preset period (for example, 10 seconds after the release is pressed) when the still image is captured. The sound recorded in the still image may be a sound recorded later in association with the recorded still image.
 具体的には、音量判定部27は、画像に関連付けられている音が録音されている録音時間における音量の最大値、音量の平均値、または予め設定された期間の音量の最大値若しくは平均値等、を前記画像に関連付けられている音の音量として所定の音量以上であるか否かを判定する。なお、音量判定部27は、画像に関連付けられている音が録音されている録音時間において予め設定された閾値を超える音量となる期間の割合等に基づいて、前記音が所定の音量以上であるか否かを判定してもよい。 Specifically, the volume determination unit 27 determines the maximum volume value, the average volume value, or the maximum or average volume value during a preset period of time during which the sound associated with the image is recorded. Etc., whether or not the sound volume associated with the image is equal to or higher than a predetermined sound volume is determined. Note that the sound volume determination unit 27 determines that the sound is equal to or higher than a predetermined sound volume based on, for example, a ratio of a period during which the sound associated with the image is recorded at a sound volume that exceeds a preset threshold. It may be determined whether or not.
 切替え処理部28は、第1の画像から第2の画像に切替わる切替え期間に、挿入色生成部22により生成された挿入色の切替え画像を挿入して、第1の画像から第2の画像に切替える処理をする。例えば、切替え処理部28は、第1の画像から第2の画像に切替える処理として、挿入色に基づいたトランジション処理をする。 The switching processing unit 28 inserts the switching image of the insertion color generated by the insertion color generation unit 22 during the switching period in which the first image is switched to the second image, and the first image to the second image. Process to switch to. For example, the switching processing unit 28 performs a transition process based on the insertion color as a process of switching from the first image to the second image.
 表示制御部110は、第1の画像から第2の画像に切替えて表示させる場合に、切替え期間に挿入色の切替え画像を挿入して表示部120に表示させる。つまり、切替え処理部28が切替え期間に挿入色の切替え画像を挿入して第1の画像から第2の画像に切替える処理を行い、その切替え処理に基づいて、表示制御部110は、第1の画像から第2の画像に切替えて表示部120に表示させる。よって、表示部120は、切替え期間に挿入色の切替え画像が挿入されて切替えられる第1の画像と第2の画像とを表示する。これにより、画像表示装置100は、切替え前後の画像の色の評価値に基づいて生成した挿入色(中間色または中間色の補色)の切替え画像を挿入して順次画像を切替えて表示することができる。例えば、画像表示装置100は、生成した挿入色(中間色または中間色の補色)に基づいたトランジション処理により順次画像を切替えて表示するスライドショー再生を実行することができる。 When the display control unit 110 switches from the first image to the second image for display, the display control unit 110 inserts the switching image of the insertion color in the switching period and causes the display unit 120 to display the inserted image. In other words, the switching processing unit 28 performs processing for inserting the switching image of the insertion color during the switching period to switch from the first image to the second image, and based on the switching processing, the display control unit 110 performs the first processing. The display unit 120 displays the image by switching from the image to the second image. Therefore, the display unit 120 displays the first image and the second image that are switched by inserting the switching image of the insertion color in the switching period. Thereby, the image display apparatus 100 can insert and display the switching image of the insertion color (the intermediate color or the complementary color of the intermediate color) generated based on the evaluation value of the color of the image before and after the switching, and sequentially display the images. For example, the image display apparatus 100 can execute slide show reproduction in which images are sequentially switched and displayed by a transition process based on the generated insertion color (intermediate color or complementary color of the intermediate color).
 なお、以下の実施形態においては、第1の画像から第2の画像に切替える際のトランジション処理を、フェードイン処理またはフェードアウト処理とした場合を例にして説明する。
 図2は、静止画像をトランジション処理により切替える処理の一例を示す図である。図2は、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える処理を、横軸を時間軸として示している。
In the following embodiments, a case where the transition process when switching from the first image to the second image is a fade-in process or a fade-out process will be described as an example.
FIG. 2 is a diagram illustrating an example of processing for switching still images by transition processing. FIG. 2 shows the process of fading out from the first image to the insertion color and fading in from the insertion color to the second image to switch the image, with the horizontal axis as the time axis.
 切替え処理部28は、時刻t1から時刻t4の期間(期間ST1)において、トランジション処理により第1の画像から第2の画像に切替える。すなわち、期間ST1は、トランジション処理期間(切替え期間)である。そして、期間ST1の内、時刻t1から時刻t2の期間(期間ST2)において、切替え処理部28は、第1の画像から挿入色にフェードアウトする処理を実行する。すなわち、期間ST2における画像は、切替え処理部28によって生成された、第1の画像から徐々に挿入色に移り変わる合成画像である。次に、時刻t2から時刻t3の期間(期間ST3)において、切替え処理部28は、挿入色の切替え画像を挿入する。続いて、時刻t3から時刻t4の期間(期間ST4)において、切替え処理部28は、挿入色から第2の画像にフェードインする処理を実行する。すなわち、期間ST4における画像は、切替え処理部28によって生成された、挿入色から徐々に第2の画像に移り変わる合成画像である。このように、切替え処理部28は、例えば、挿入色にフェードアウトし、そして挿入色からフェードインするトランジション処理により、第1の画像から第2の画像に切替える処理をする。 In the period from time t1 to time t4 (period ST1), the switching processing unit 28 switches from the first image to the second image by the transition process. That is, the period ST1 is a transition processing period (switching period). Then, in the period from the time t1 to the time t2 (period ST2) in the period ST1, the switching processing unit 28 performs a process of fading out from the first image to the insertion color. That is, the image in the period ST2 is a composite image that is generated by the switching processing unit 28 and gradually changes from the first image to the insertion color. Next, in the period from time t2 to time t3 (period ST3), the switching processing unit 28 inserts a switching image of the insertion color. Subsequently, in a period from time t3 to time t4 (period ST4), the switching processing unit 28 executes a process of fading in the inserted color to the second image. That is, the image in the period ST4 is a composite image that is generated by the switching processing unit 28 and gradually changes from the insertion color to the second image. In this way, the switching processing unit 28 performs a process of switching from the first image to the second image, for example, by a transition process of fading out to the insertion color and fading in from the insertion color.
 図3は、動画像をトランジション処理により切替える処理の一例を示す図である。図3は、図2と同様に、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える処理を、横軸を時間軸として示している。
 図2の静止画像の場合と異なるのは、動画像である場合、第1の画像及び第2の画像がそれぞれ複数のフレーム画像により構成されていることである。
FIG. 3 is a diagram illustrating an example of processing for switching moving images by transition processing. FIG. 3 shows the processing for fading out from the first image to the insertion color and fading in from the insertion color to the second image to switch the image, with the horizontal axis as the time axis, as in FIG.
The difference from the still image in FIG. 2 is that, in the case of a moving image, the first image and the second image are each composed of a plurality of frame images.
 例えば、評価値算出部21は、第1の画像の最後のフレーム内における画素の色データの加算平均値を第1の色評価値として算出し、第2の画像の最初のフレーム内における画素の色データの加算平均値を第2の色評価値として算出する。この第1の色評価値を算出する際の第1の画像の最後のフレームは、時刻t2の直前のフレーム(n)であって、フェードアウト処理がされる前のフレームである。また、この第2の色評価値を算出する際の第2の画像の最初のフレームは、時刻t3の直後のフレーム(1)であって、フェードイン処理がされる前のフレームである。挿入色生成部22は、第1の色評価値と第2の色評価値とに基づいて挿入色を生成する。切替え処理部28は、この生成された挿入色に基づいて、期間ST1において図2の期間ST1と同様にトランジション処理を実行する。
 なお、期間ST2のフェードアウト処理において、切替え処理部28は、第1の画像から徐々に挿入色に移り変わる合成画像をフレーム毎に生成する。また、期間ST4のフェードイン処理において、切替え処理部28は、挿入色から徐々に第2の画像に移り変わる合成画像をフレーム毎に生成する。このように、動画像を切替える場合においても、切替え処理部28は、例えば、挿入色にフェードアウトし、そして挿入色からフェードインするトランジション処理により、第1の画像から第2の画像に切替える処理をする。
For example, the evaluation value calculation unit 21 calculates the addition average value of the color data of the pixels in the last frame of the first image as the first color evaluation value, and calculates the pixel values in the first frame of the second image. The addition average value of the color data is calculated as the second color evaluation value. The last frame of the first image when calculating the first color evaluation value is the frame (n) immediately before the time t2, and is the frame before the fade-out process. Further, the first frame of the second image when calculating the second color evaluation value is the frame (1) immediately after the time t3, and is the frame before the fade-in process is performed. The insertion color generation unit 22 generates an insertion color based on the first color evaluation value and the second color evaluation value. Based on the generated insertion color, the switching processing unit 28 performs a transition process in the period ST1 as in the period ST1 of FIG.
In the fade-out process in the period ST2, the switching processing unit 28 generates a composite image that gradually changes from the first image to the insertion color for each frame. Further, in the fade-in process in the period ST4, the switching processing unit 28 generates a composite image that gradually changes from the inserted color to the second image for each frame. Thus, even when moving images are switched, the switching processing unit 28 performs a process of switching from the first image to the second image by, for example, a transition process of fading out to the insertion color and fading in from the insertion color. To do.
 以下に、画像処理装置1を有する画像表示装置100が、切替え前後の画像の色の評価値に基づいて挿入色を生成して画像を切替える処理について、例を挙げて順に説明する。
<中間色を挿入色に設定する例>
 図4は、画像を切替える際に中間色を挿入色とする場合の一例を示す図である。
 図4に示す第1の画像30は、画像の殆どの領域を青い空が占めている構図の画像である。
 また、第2の画像50は、画像の殆どの領域を黄色の花畑が占めている構図の画像である。この画像の例において、評価値算出部21により算出される評価値は、第1の色評価値が青色(より正確には、青色に近い色)であり、第2の色評価値が黄色(より正確には、黄色に近い色)である。そして、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色である緑色40(より正確には、緑色に近い色)を挿入色として生成する。これにより、切替え処理部28は、青い空の画像(第1の画像30)から緑色40(より正確には、緑色に近い色)の画像にフェードインし、緑色40(より正確には、緑色に近い色)の画像から黄色の花畑の画像(第2の画像50)にフェードアウトする切替え処理をする。ここで、近い色とは、換言すれば、類似する色、同系色のことである。
Hereinafter, a process in which the image display apparatus 100 including the image processing apparatus 1 generates an insertion color based on the evaluation value of the color of the image before and after switching and switches the image will be described in order by example.
<Example of setting the intermediate color as the insertion color>
FIG. 4 is a diagram illustrating an example in which an intermediate color is used as an insertion color when switching images.
The first image 30 shown in FIG. 4 is an image having a composition in which the blue sky occupies most of the area of the image.
The second image 50 is an image having a composition in which a yellow flower field occupies most of the area of the image. In the example of this image, the evaluation value calculated by the evaluation value calculation unit 21 is such that the first color evaluation value is blue (more precisely, a color close to blue) and the second color evaluation value is yellow ( More precisely, it is a color close to yellow). Then, the insertion color generation unit 22 generates green 40 (more accurately, a color close to green), which is an intermediate color between the first color evaluation value and the second color evaluation value, as the insertion color. As a result, the switching processing unit 28 fades in from the blue sky image (first image 30) to the image of green 40 (more precisely, a color close to green), and green 40 (more precisely, green). A switching process of fading out from an image of a color close to (2) to a yellow flower field image (second image 50) is performed. Here, the close color is, in other words, a similar color or a similar color.
 図5は、中間色を挿入色とした切替え処理の一例を示すフローチャートである。図5を用いて、上述した図4に示す画像を例とする中間色を挿入色としたトランジション処理による切替え処理の動作について説明する。
 まず初めに、評価値算出部21は、切替え前後の第1の画像の色評価値及び第2の画像の色評価値を算出する。例えば、評価値算出部21は、第1の画像30に基づいて、青色(より正確には、青色に近い色)を示す評価値を第1の色評価値として算出する。また、評価値算出部21は、第2の画像50に基づいて、黄色(より正確には、黄色に近い色)を示す評価値を第2の色評価値として算出する(ステップS11)。
FIG. 5 is a flowchart illustrating an example of a switching process in which the intermediate color is an insertion color. With reference to FIG. 5, the operation of the switching process by the transition process using the intermediate color as an insertion color, taking the image shown in FIG. 4 as an example, will be described.
First, the evaluation value calculation unit 21 calculates the color evaluation value of the first image and the color evaluation value of the second image before and after switching. For example, the evaluation value calculation unit 21 calculates an evaluation value indicating blue (more precisely, a color close to blue) as the first color evaluation value based on the first image 30. Further, the evaluation value calculation unit 21 calculates an evaluation value indicating yellow (more accurately, a color close to yellow) as the second color evaluation value based on the second image 50 (step S11).
 次に、挿入色生成部22は、第1の画像の色評価値である第1の色評価値と第2の画像の色評価値である第2の色評価値とに基づいて、第1の色評価値と第2の色評価値との中間値となる中間色を挿入色として算出する。例えば、挿入色生成部22は、第1の色評価値として算出された青色(より正確には、青色に近い色)を示す評価値と、第2の色評価値として算出された黄色(より正確には、黄色に近い色)を示す評価値との中間色である緑色40(より正確には、緑色に近い色)を挿入色として生成する(ステップS12)。 Next, the insertion color generation unit 22 performs the first color evaluation based on the first color evaluation value that is the color evaluation value of the first image and the second color evaluation value that is the color evaluation value of the second image. An intermediate color that is an intermediate value between the color evaluation value and the second color evaluation value is calculated as an insertion color. For example, the insertion color generation unit 22 calculates an evaluation value indicating blue (more precisely, a color close to blue) calculated as the first color evaluation value, and yellow (more according to the color evaluation value). Precisely, green 40 (more precisely, a color close to green) that is an intermediate color with the evaluation value indicating a color close to yellow) is generated as an insertion color (step S12).
 そして、切替え処理部28は、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える。例えば、切替え処理部28は、青い空の画像(第1の画像30)から緑色40(より正確には、緑色に近い色)の画像にフェードアウトし、緑色40(より正確には、緑色に近い色)の画像から黄色の花畑の画像(第2の画像50)にフェードインして画像を切替える(ステップS13)。そして、表示制御部110は、この切替え処理により第1の画像から第2の画像に切替えて表示部120に表示させる。 Then, the switching processing unit 28 fades out from the first image to the insertion color and fades in from the insertion color to the second image to switch the image. For example, the switching processing unit 28 fades out from a blue sky image (first image 30) to an image of green 40 (more accurately, a color close to green), and green 40 (more accurately, close to green) The image is switched by fading in from the color image to the yellow flower field image (second image 50) (step S13). Then, the display control unit 110 switches from the first image to the second image by the switching process and causes the display unit 120 to display the image.
 このように、画像処理装置1は、切替え前後の画像の色評価値に基づいて、切替え前後の画像の色評価値の中間色を挿入色としたトランジション処理により画像を切替える。よって、画像表示装置100は、切替え前後の画像の色に対して色の差が小さい色を挿入色としたトランジション処理により画像を切替えて表示することができる。これにより、画像処理装置1は、ユーザーにとって不快感が少ないように画像を切替えることができる。
 すなわち、画像表示装置100は、ユーザーにとって不快感が少ないように画像を切替えて表示することができる。
As described above, the image processing apparatus 1 switches the image based on the color evaluation value of the image before and after switching by the transition process using the intermediate color of the color evaluation value of the image before and after switching as the insertion color. Therefore, the image display apparatus 100 can switch and display images by a transition process in which a color having a small color difference with respect to the color of the image before and after switching is used as an insertion color. Thereby, the image processing apparatus 1 can switch an image so that there is little discomfort for the user.
That is, the image display device 100 can switch and display images so that the user has less discomfort.
<動きが激しい画像である場合に中間色の補色を挿入色に設定する例>
 図6は、画像を切替える際に中間色の補色を挿入色とする場合の一例を示す図である。
 この図は、画像の動きベクトルの大きさが所定値以上である場合(すなわち、動きの激しい画像である場合)、画像処理装置1が切替え前後の画像の第1の色評価値と前記第2の色評価値との中間色の補色を挿入色として切替え処理をする場合の一例を示している。
<Example of setting the complementary color of the intermediate color as the insertion color when the image is intensely moving>
FIG. 6 is a diagram illustrating an example in which an intermediate color is used as an insertion color when switching images.
In this figure, when the magnitude of the motion vector of the image is equal to or larger than a predetermined value (that is, when the image is intensely moving), the image processing apparatus 1 uses the first color evaluation value of the image before and after switching and the second color value. An example is shown in which switching processing is performed using a complementary color of the intermediate color with the color evaluation value as an insertion color.
 図6に示す第1の画像60及び第2の画像80は、被写体の動きが激しいロックコンサートの様子が撮像された動画像である。そして、第1の画像60は、室内空間の中で赤い照明に照らされており画像全体に赤色の色成分が多く含まれる画像である。また、第2の画像80は、室内空間の中で黄色い照明に照らされており画像全体に黄色の色成分が多く含まれる画像である。この場合、評価値算出部21に算出される評価値は、第1の色評価値が赤色(より正確には、赤色に近い色)であり、第2の色評価値が黄色(より正確には、黄色に近い色)である。そして、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色である橙色(より正確には、橙色に近い色)を生成する。 A first image 60 and a second image 80 shown in FIG. 6 are moving images in which a state of a rock concert in which a subject moves strongly is captured. The first image 60 is an image that is illuminated with red illumination in the indoor space and contains a large amount of red color components in the entire image. Further, the second image 80 is an image that is illuminated with yellow illumination in the indoor space and contains a large amount of yellow color components in the entire image. In this case, the evaluation value calculated by the evaluation value calculator 21 is such that the first color evaluation value is red (more precisely, a color close to red) and the second color evaluation value is yellow (more accurately). Is a color close to yellow). Then, the inserted color generation unit 22 generates an orange color (more precisely, a color close to orange) that is an intermediate color between the first color evaluation value and the second color evaluation value.
 次に、動きベクトル検出部23は、第1の画像60及び第2の画像80の動きベクトルを検出する。そして、動きベクトル判定部24は、動きベクトル検出部23により検出された動きベクトルの大きさが所定値以上である(動きが激しい)と判定する。挿入色生成部22は、動きベクトル判定部24により検出された動きベクトルの大きさが所定値以上である(動きが激しい)と判定されたため、第1の色評価値と第2の色評価値との中間色である橙色(より正確には、橙色に近い色)の補色である青色70(より正確には、青色に近い色)を挿入色として生成する。これにより、切替え処理部28は、赤味の画像(第1の画像60)から青色70(より正確には、青色に近い色)の画像にフェードインし、青色70(より正確には、青色に近い色)の画像から黄色味の画像(第2の画像80)にフェードアウトする切替え処理をする。 Next, the motion vector detection unit 23 detects the motion vectors of the first image 60 and the second image 80. Then, the motion vector determination unit 24 determines that the magnitude of the motion vector detected by the motion vector detection unit 23 is equal to or greater than a predetermined value (the motion is intense). Since the inserted color generation unit 22 determines that the magnitude of the motion vector detected by the motion vector determination unit 24 is greater than or equal to a predetermined value (severe motion), the first color evaluation value and the second color evaluation value Blue 70 (more precisely, a color close to blue), which is a complementary color of orange (more precisely, a color close to orange), which is an intermediate color between and, is generated as an insertion color. As a result, the switching processing unit 28 fades in from the reddish image (first image 60) to the image of blue 70 (more precisely, a color close to blue), and blue 70 (more precisely, blue A switching process for fading out from an image of a color close to (2) to a yellowish image (second image 80) is performed.
 図7は、画像の動きベクトルの大きさに応じた挿入色による切替え処理の一例を示すフローチャートである。図7を用いて、上述した図6に示す画像を例とする中間色の補色を挿入色としたトランジション処理による切替え処理の動作について説明する。
 まず初めに、評価値算出部21は、切替え前後の第1の画像の色評価値及び第2の画像の色評価値を算出する。例えば、評価値算出部21は、第1の画像60に基づいて、赤色(より正確には、赤色に近い色)を示す評価値を第1の色評価値として算出する。また、評価値算出部21は、第2の画像80に基づいて、黄色(より正確には、黄色に近い色)を示す評価値を第2の色評価値として算出する(ステップS21)。
FIG. 7 is a flowchart illustrating an example of a switching process using an insertion color according to the size of a motion vector of an image. The operation of the switching process by the transition process using the complementary color of the intermediate color as an example of the image shown in FIG. 6 as an example will be described with reference to FIG.
First, the evaluation value calculation unit 21 calculates the color evaluation value of the first image and the color evaluation value of the second image before and after switching. For example, the evaluation value calculation unit 21 calculates an evaluation value indicating red (more accurately, a color close to red) as the first color evaluation value based on the first image 60. Further, the evaluation value calculation unit 21 calculates an evaluation value indicating yellow (more precisely, a color close to yellow) as the second color evaluation value based on the second image 80 (step S21).
 次に、挿入色生成部22は、第1の画像の色評価値である第1の色評価値と第2の画像の色評価値である第2の色評価値とに基づいて、第1の色評価値と第2の色評価値との中間値となる中間色を算出する。例えば、挿入色生成部22は、第1の色評価値として算出された赤色(より正確には、赤色に近い色)を示す評価値と、第2の色評価値として算出された黄色(より正確には、黄色に近い色)を示す評価値との中間色である橙色(より正確には、橙色に近い色)を算出する(ステップS22)。 Next, the insertion color generation unit 22 performs the first color evaluation based on the first color evaluation value that is the color evaluation value of the first image and the second color evaluation value that is the color evaluation value of the second image. An intermediate color that is an intermediate value between the color evaluation value and the second color evaluation value is calculated. For example, the insertion color generation unit 22 calculates an evaluation value indicating red (more precisely, a color close to red) calculated as the first color evaluation value, and yellow (more according to the second color evaluation value). To be precise, an orange color (more precisely, a color close to orange) that is an intermediate color with the evaluation value indicating a color close to yellow) is calculated (step S22).
 続いて、動きベクトル検出部23は、第1の画像の動きベクトルと第2の画像の動きベクトルとを検出する(ステップS23)。次に、動きベクトル判定部24は、第1の画像から動きベクトル検出部23により検出された動きベクトル、または第2の画像から動きベクトル検出部23により検出された動きベクトルの大きさが所定値以上であるか否か(動きが激しいか否か)を判定する(ステップS24)。 Subsequently, the motion vector detection unit 23 detects the motion vector of the first image and the motion vector of the second image (step S23). Next, the motion vector determination unit 24 determines whether the motion vector detected by the motion vector detection unit 23 from the first image or the magnitude of the motion vector detected by the motion vector detection unit 23 from the second image has a predetermined value. It is determined whether or not this is the case (whether or not the movement is intense) (step S24).
 ステップS24において、動きベクトル判定部24により、第1の画像から検出された動きベクトル、または第2の画像から検出された動きベクトルの大きさが所定値以上であると判定された場合(動きが激しいと判定された場合)、第1の色評価値と第2の色評価値との中間色の補色を挿入色として生成する。例えば、挿入色生成部22は、ステップS22において算出した中間色である橙色(より正確には、橙色に近い色)の補色である青色70(より正確には、青色に近い色)を挿入色として生成する(ステップS25)。すなわち、図6に示す挿入色の例の場合である。 In step S24, when the motion vector determination unit 24 determines that the motion vector detected from the first image or the magnitude of the motion vector detected from the second image is greater than or equal to a predetermined value (the motion is If it is determined that the color is intense, a complementary color of an intermediate color between the first color evaluation value and the second color evaluation value is generated as an insertion color. For example, the insertion color generation unit 22 uses, as an insertion color, blue 70 (more precisely, a color close to blue) that is a complementary color of orange (more precisely, a color close to orange) that is the intermediate color calculated in step S22. Generate (step S25). That is, this is the case of the example of the insertion color shown in FIG.
 一方、ステップS24において、動きベクトル判定部24により、第1の画像から検出された動きベクトル、または第2の画像から検出された動きベクトルの大きさが所定値未満であると判定された場合(動きが激しくないと判定された場合)、ステップS22において算出した中間色を挿入色とする(ステップS26)。 On the other hand, when the motion vector determination unit 24 determines in step S24 that the motion vector detected from the first image or the motion vector detected from the second image is less than a predetermined value ( When it is determined that the movement is not intense), the intermediate color calculated in step S22 is set as the insertion color (step S26).
 そして、ステップS25またはステップS26において生成された挿入色に基づいて、切替え処理部28は、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える(ステップS27)。例えば、検出された動きベクトルの大きさが所定値以上の場合、切替え処理部28は、赤味の画像(第1の画像60)から青色70(より正確には、青色に近い色)の画像にフェードインし、青色70(より正確には、青色に近い色)の画像から黄色味の画像(第2の画像80)にフェードアウトして切替える。また、検出された動きベクトルの大きさが所定値未満の場合、切替え処理部28は、赤味の画像(第1の画像60)から橙色(より正確には、橙色に近い色)の画像にフェードインし、橙色(より正確には、橙色に近い色)の画像から黄色味の画像(第2の画像80)にフェードアウトして切替える。そして、表示制御部110は、この切替え処理により第1の画像から第2の画像に切替えて表示部120に表示させる。 Then, based on the insertion color generated in step S25 or step S26, the switching processing unit 28 fades out from the first image to the insertion color, and fades in from the insertion color to the second image to switch the image ( Step S27). For example, when the magnitude of the detected motion vector is greater than or equal to a predetermined value, the switching processing unit 28 selects an image from a reddish image (first image 60) to blue 70 (more precisely, a color close to blue). And fade out from the image of blue 70 (more precisely, the color close to blue) to the yellowish image (second image 80). If the detected motion vector is smaller than the predetermined value, the switching processing unit 28 changes the reddish image (first image 60) to an orange image (more accurately, a color close to orange). Fade in, and fade out from the orange image (more precisely, the color close to orange) to the yellow image (second image 80) and switch. Then, the display control unit 110 switches from the first image to the second image by the switching process and causes the display unit 120 to display the image.
 このように、画像処理装置1は、切替え前後の画像の動きベクトルの大きさに基づいて、切替え前後の画像の色評価値の中間色を挿入色としたトランジション処理により画像を切替えるか、または、中間色の補色を挿入色としたトランジション処理により画像を切替えるかを変更する。例えば、動きの激しい画像を切替えて表示する場合、画像処理装置1は、中間色の補色を挿入色としたトランジション処理により画像を切替える。よって、動きの激しい画像(例えば、ロックコンサートまたはスポーツ等における動きの激しい画像)を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が大きい色を挿入色としたトランジション処理により画像を切替えて表示することができる。これにより、画像表示装置100は、動きの激しい画像を切替えて表示する際に、ユーザーにとって躍動感が遮断されないように画像を切替えて表示することができる。
 一方、動きの激しくない画像を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が小さい色を挿入色としたトランジション処理により画像を切替えて表示することができる。
As described above, the image processing apparatus 1 switches the image by the transition process using the intermediate color of the color evaluation value of the image before and after the switching as the insertion color based on the magnitude of the motion vector of the image before and after the switching, or the intermediate color. Change whether the image is switched by the transition processing using the complementary color as the insertion color. For example, when switching and displaying an image with intense movement, the image processing apparatus 1 switches the image by a transition process using an intermediate color complementary color as an insertion color. Therefore, when switching and displaying an image with high motion (for example, an image with high motion in a rock concert or sports), the image display device 100 inserts a color having a large color difference with respect to the color of the image before and after the switching. The images can be switched and displayed by the transition process using colors. Thereby, the image display apparatus 100 can switch and display an image so that a user's feeling of dynamism is not interrupted when switching and displaying an image with intense movement.
On the other hand, when switching and displaying an image that does not move strongly, the image display apparatus 100 switches and displays the image by a transition process in which a color having a small color difference with respect to the color of the image before and after the switching is an insertion color. Can do.
<色の変化が激しい画像である場合に中間色の補色を挿入色に設定する例>
 次に、画像を切替える際に中間色の補色を挿入色とする場合の別の例について説明する。ここでは、画像のフレーム毎に算出された評価値のフレーム間の変化率が所定の変化率以上である場合(すなわち、色の変化が激しい画像である場合)、画像処理装置1が切替え前後の画像の第1の色評価値と前記第2の色評価値との中間色の補色を挿入色としたトランジション処理による切替え処理をする例について説明する。
<Example of setting the complementary color of the intermediate color as the insertion color when the image undergoes drastic color change>
Next, another example when the complementary color of the intermediate color is set as the insertion color when the image is switched will be described. Here, when the rate of change between frames of the evaluation value calculated for each frame of the image is equal to or higher than a predetermined rate of change (that is, when the image has a significant color change), the image processing apparatus 1 is A description will be given of an example of performing a switching process by a transition process using a complementary color of an intermediate color between the first color evaluation value of the image and the second color evaluation value as an insertion color.
 例えば、図6を用いて説明したようなロックコンサートが撮像された動画像であっても、動きの激しい被写体が画角に対して小さく撮像されている場合等においては、検出された動きベクトルの大きさが所定値より小さくなる場合がある。このような場合であっても、例えば、撮像された動画像の色の変化が激しい場合(例えば、ロックコンサートの照明の色が激しく変化している場合)は、画像の切替えの際に、ユーザーにとって躍動感が遮断されないように切替え処理がされることが望ましい。そのため、画像処理装置1は、画像のフレーム毎に算出された評価値のフレーム間の変化率が所定の変化率以上である場合(すなわち、色の変化が激しい画像である場合)、切替え前後の画像の第1の色評価値と前記第2の色評価値との中間色の補色を挿入色として切替え処理をする。 For example, even in the case of a moving image in which a rock concert such as that described with reference to FIG. 6 is captured, when a subject with intense motion is captured with a small angle with respect to the angle of view, the detected motion vector The size may be smaller than a predetermined value. Even in such a case, for example, when the color of the captured moving image is drastically changed (for example, when the color of the lighting of the rock concert is changing drastically), the user is required to change the image. Therefore, it is desirable that the switching process is performed so that the dynamic feeling is not blocked. Therefore, when the rate of change between frames of the evaluation values calculated for each frame of the image is equal to or higher than a predetermined rate of change (that is, when the color changes drastically), the image processing apparatus 1 The switching process is performed with an intermediate color between the first color evaluation value of the image and the second color evaluation value as an insertion color.
 図8は、画像の色の変化率に応じた挿入色による切替え処理の一例を示すフローチャートである。図8を用いて、画像の色の変化率に応じた挿入色による切替え処理の動作について説明する。図8のステップS31、ステップS32、及びステップS37は、図7のステップS21、ステップS22、及びステップS27と同様の処理であり、その詳しい説明を省略する。 FIG. 8 is a flowchart showing an example of the switching process using the insertion color in accordance with the change rate of the color of the image. The operation of the switching process using the inserted color according to the color change rate of the image will be described with reference to FIG. Steps S31, S32, and S37 in FIG. 8 are the same processes as steps S21, S22, and S27 in FIG. 7, and detailed descriptions thereof are omitted.
 まず初めに、評価値算出部21は、切替え前後の第1の画像の色評価値及び第2の画像の色評価値を算出する(ステップS31)。次に、挿入色生成部22は、第1の画像の色評価値(第1の色評価値)と第2の画像の色評価値(第2の色評価値)との中間値となる中間色を算出する(ステップS32)。 First, the evaluation value calculation unit 21 calculates the color evaluation value of the first image and the color evaluation value of the second image before and after the switching (step S31). Next, the insertion color generation unit 22 is an intermediate color that is an intermediate value between the color evaluation value of the first image (first color evaluation value) and the color evaluation value of the second image (second color evaluation value). Is calculated (step S32).
 変化率算出部25は、評価値算出部21により画像のフレーム毎に算出された色評価値のフレーム間の変化率を算出する。例えば、変化率算出部25は、第1の画像の色評価値(第1の色評価値)と第2の画像の色評価値(第2の色評価値)との、それぞれのフレーム間の変化率を算出する(ステップS33)。 The change rate calculation unit 25 calculates the rate of change between frames of the color evaluation value calculated by the evaluation value calculation unit 21 for each frame of the image. For example, the rate-of-change calculator 25 calculates the color evaluation value (first color evaluation value) of the first image and the color evaluation value (second color evaluation value) of the second image between the frames. The rate of change is calculated (step S33).
 次に、色変化判定部26は、変化率算出部25により算出された変化率が所定の変化率以上であるか否かを判定する。例えば、色変化判定部26は、第1の画像から変化率算出部25により算出された変化率、または第2の画像から変化率算出部25により算出された変化率が所定の変化率以上であるか否かを判定する(ステップS34)。 Next, the color change determination unit 26 determines whether or not the change rate calculated by the change rate calculation unit 25 is equal to or greater than a predetermined change rate. For example, the color change determination unit 26 determines that the change rate calculated from the first image by the change rate calculation unit 25 or the change rate calculated from the second image by the change rate calculation unit 25 is greater than or equal to a predetermined change rate. It is determined whether or not there is (step S34).
 ステップS34において、色変化判定部26により、第1の画像から算出された変化率、または第2の画像から算出された変化率が所定の変化率以上であると判定された場合(色の変化が激しいと判定された場合)、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色(ステップS32において算出された中間色)の補色を挿入色として生成する(ステップS35)。 In step S34, when the color change determination unit 26 determines that the rate of change calculated from the first image or the rate of change calculated from the second image is equal to or greater than a predetermined rate of change (color change When the color is determined to be intense), the insertion color generation unit 22 generates a complementary color of an intermediate color between the first color evaluation value and the second color evaluation value (the intermediate color calculated in step S32) as the insertion color ( Step S35).
 一方、ステップS34において、色変化判定部26により、第1の画像から算出された変化率、または第2の画像から算出された変化率が所定の変化率未満であると判定された場合(色の変化が激しくないと判定された場合)、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色(ステップS32において算出された中間色)を挿入色として生成する(ステップS36)。 On the other hand, when the color change determination unit 26 determines in step S34 that the change rate calculated from the first image or the change rate calculated from the second image is less than the predetermined change rate (color When it is determined that the change in color is not severe), the insertion color generation unit 22 generates an intermediate color between the first color evaluation value and the second color evaluation value (the intermediate color calculated in step S32) as the insertion color. (Step S36).
 そして、ステップS35またはステップS36において生成された挿入色に基づいて、切替え処理部28は、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える(ステップS37)。 Then, based on the insertion color generated in step S35 or step S36, the switching processing unit 28 fades out from the first image to the insertion color and fades in from the insertion color to the second image to switch the image ( Step S37).
 このように、画像処理装置1は、切替え前後の画像の色の変化率に基づいて、切替え前後の画像の色評価値の中間色を挿入色としたトランジション処理により画像を切替えるか、または、中間色の補色を挿入色としたトランジション処理により画像を切替えるかを変更する。例えば、色の変化が激しい画像を切替えて表示する場合、画像処理装置1は、中間色の補色を挿入色としたトランジション処理により画像を切替える。よって、色の変化が激しい画像(例えば、ロックコンサートにおける照明の色の変化が激しい画像)を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が大きい色を挿入色としたトランジション処理により画像を切替えて表示することができる。これにより、画像表示装置100は、色の変化が激しい画像を切替えて表示する際に、ユーザーにとって躍動感が遮断されないように画像を切替えて表示することができる。
 一方、色の変化が激しくない画像を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が小さい色を挿入色としたトランジション処理により画像を切替えて表示することができる。
As described above, the image processing apparatus 1 switches the image by the transition process using the intermediate color of the color evaluation value of the image before and after the switching as the insertion color based on the change rate of the color of the image before and after the switching, or the intermediate color Change whether the image is switched by transition processing using the complementary color as the insertion color. For example, when switching and displaying an image with a drastic color change, the image processing apparatus 1 switches the image by a transition process using an intermediate color complementary color as an insertion color. Therefore, when switching and displaying an image with a drastic change in color (for example, an image with a drastic change in illumination color in a rock concert), the image display device 100 has a large color difference with respect to the color of the image before and after switching. Images can be switched and displayed by transition processing using the color as the insertion color. Thereby, the image display apparatus 100 can switch and display an image so that a user's feeling of dynamism is not interrupted when switching and displaying an image with a large color change.
On the other hand, when switching and displaying an image whose color change is not severe, the image display device 100 switches and displays the image by a transition process using a color having a small color difference as compared with the color of the image before and after the switching. can do.
<音が騒がしい場合に中間色の補色を挿入色に設定する例>
 次に、画像を切替える際に中間色の補色を挿入色とする場合のさらに別の例について説明する。ここでは、画像に関連付けられている音が所定の音量以上である場合(すなわち、音が騒がしい画像である場合)、画像処理装置1が切替え前後の画像の第1の色評価値と前記第2の色評価値との中間色の補色を挿入色としたトランジション処理による切替え処理をする例について説明する。
<Example of setting the complementary color of the intermediate color as the insertion color when the sound is noisy>
Next, another example in the case where the complementary color of the intermediate color is used as the insertion color when switching images will be described. Here, when the sound associated with the image is equal to or higher than a predetermined volume (that is, when the sound is a noisy image), the image processing apparatus 1 uses the first color evaluation value of the image before and after switching and the second color. An example of performing a switching process by a transition process using a complementary color of an intermediate color with the color evaluation value as an insertion color will be described.
 例えば、図6を用いて説明したようなロックコンサートが撮像された動画像であっても、動きの激しい被写体が画角に対して小さく撮像されている場合等においては、検出された動きベクトルの大きさが所定値より小さくなる場合がある。このような場合であっても、例えば、撮像された動画像の音が騒がしい場合(例えば、撮像されたロックコンサートにおける音量が大きい場合)は、画像の切替えの際に、ユーザーにとって躍動感が遮断されないように切替え処理がされることが望ましい。そのため、画像処理装置1は、画像に関連付けられている音が所定の音量以上である場合(すなわち、音が騒がしい画像である場合)、切替え前後の画像の第1の色評価値と前記第2の色評価値との中間色の補色を挿入色として切替え処理をする。 For example, even in the case of a moving image in which a rock concert such as that described with reference to FIG. 6 is captured, when a subject with intense motion is captured with a small angle with respect to the angle of view, the detected motion vector The size may be smaller than a predetermined value. Even in such a case, for example, when the sound of the captured moving image is noisy (for example, when the volume of the captured rock concert is high), the feeling of dynamism is interrupted for the user when switching the image. It is desirable that the switching process is performed so as not to be performed. Therefore, when the sound associated with the image is equal to or higher than the predetermined volume (that is, when the sound is a noisy image), the image processing apparatus 1 and the first color evaluation value of the image before and after switching and the second color Switching processing is performed with an intermediate color complementary to the color evaluation value as an insertion color.
 図9は、画像の音量に応じた挿入色による切替え処理の一例を示すフローチャートである。図9を用いて、画像の音量に応じた挿入色による切替え処理の動作について説明する。図9のステップS41、ステップS42、及びステップS47は、図7のステップS21、ステップS22、及びステップS27と同様の処理であり、その詳しい説明を省略する。 FIG. 9 is a flowchart showing an example of the switching process using the insertion color according to the volume of the image. With reference to FIG. 9, the operation of the switching process using the insertion color corresponding to the volume of the image will be described. Steps S41, S42, and S47 in FIG. 9 are the same processes as steps S21, S22, and S27 in FIG. 7, and detailed descriptions thereof are omitted.
 まず初めに、評価値算出部21は、切替え前後の第1の画像の色評価値及び第2の画像の色評価値を算出する(ステップS41)。次に、挿入色生成部22は、第1の画像の色評価値(第1の色評価値)と第2の画像の色評価値(第2の色評価値)との中間値となる中間色を算出する(ステップS42)。 First, the evaluation value calculation unit 21 calculates the color evaluation value of the first image and the color evaluation value of the second image before and after switching (step S41). Next, the insertion color generation unit 22 is an intermediate color that is an intermediate value between the color evaluation value of the first image (first color evaluation value) and the color evaluation value of the second image (second color evaluation value). Is calculated (step S42).
 音量判定部27は、第1の画像に関連付けられている音の音量と第2の画像に関連付けられている音の音量とを、それぞれの画像に関連付けられている音データから読み出す(ステップS43)。次に、音量判定部27は、第1の画像に関連付けられている音、または第2の画像に関連付けられている音が所定の音量以上であるか否かを判定する(ステップS44)。 The volume determination unit 27 reads out the volume of the sound associated with the first image and the volume of the sound associated with the second image from the sound data associated with each image (step S43). . Next, the volume determination unit 27 determines whether the sound associated with the first image or the sound associated with the second image is equal to or higher than a predetermined volume (step S44).
 ステップS44において、音量判定部27により、第1の画像に関連付けられている音、または第2の画像に関連付けられている音が所定の音量以上であると判定された場合(音が騒がしいと判定された場合)、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色(ステップS42において算出された中間色)の補色を挿入色として生成する(ステップS45)。 In step S44, when the sound volume determination unit 27 determines that the sound associated with the first image or the sound associated with the second image is equal to or higher than the predetermined sound volume (determined that the sound is noisy). If so, the insertion color generation unit 22 generates a complementary color of the intermediate color (intermediate color calculated in step S42) between the first color evaluation value and the second color evaluation value as the insertion color (step S45).
 一方、ステップS44において、音量判定部27により、第1の画像に関連付けられている音、または第2の画像に関連付けられている音が所定の音量未満であると判定された場合(音が騒がしくないと判定された場合)、挿入色生成部22は、第1の色評価値と第2の色評価値との中間色(ステップS42において算出された中間色)を挿入色として生成する(ステップS46)。 On the other hand, when the sound volume determination unit 27 determines in step S44 that the sound associated with the first image or the sound associated with the second image is less than the predetermined sound volume (sound is noisy). If it is determined that there is not, the insertion color generation unit 22 generates an intermediate color between the first color evaluation value and the second color evaluation value (the intermediate color calculated in step S42) as the insertion color (step S46). .
 そして、ステップS45またはステップS46において生成された挿入色に基づいて、切替え処理部28は、第1の画像から挿入色にフェードアウトし、挿入色から第2の画像にフェードインして画像を切替える(ステップS47)。 Then, based on the insertion color generated in step S45 or step S46, the switching processing unit 28 fades out from the first image to the insertion color, and fades in from the insertion color to the second image to switch the image ( Step S47).
 このように、画像処理装置1は、切替え前後の画像に関連付けられている音の音量に基づいて、切替え前後の画像の色評価値の中間色を挿入色としたトランジション処理により画像を切替えるか、または、中間色の補色を挿入色としたトランジション処理により画像を切替えるかを変更する。例えば、関連付けられている音の音量が大きい画像を切替えて表示する場合、画像処理装置1は、中間色の補色を挿入色としたトランジション処理により画像を切替える。よって、関連付けられている音の音量が大きい画像(例えば、ロックコンサート等のような音が騒がしい画像)を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が大きい色を挿入色としたトランジション処理により画像を切替えて表示することができる。これにより、画像表示装置100は、色の変化が激しい画像を切替えて表示する際に、ユーザーにとって躍動感が遮断されないように画像を切替えて表示することができる。
 一方、関連付けられている音の音量が小さい画像を切替えて表示する場合、画像表示装置100は、切替え前後の画像の色に対して色の差が小さい色を挿入色としたトランジション処理により画像を切替えて表示することができる。
As described above, the image processing apparatus 1 switches the image by the transition process using the intermediate color of the color evaluation value of the image before and after the switching as the insertion color based on the sound volume associated with the image before and after the switching, or Then, it is changed whether the image is switched by the transition process using the complementary color of the intermediate color as the insertion color. For example, when switching and displaying an image with a large volume of the associated sound, the image processing apparatus 1 switches the image by a transition process using an intermediate color complementary color as an insertion color. Therefore, when switching and displaying an image with a large associated sound volume (for example, a noisy sound such as a rock concert), the image display device 100 has a color that is different from the color of the image before and after the switching. Images can be switched and displayed by transition processing using a color having a large difference as an insertion color. Thereby, the image display apparatus 100 can switch and display an image so that a user's feeling of dynamism is not interrupted when switching and displaying an image with a large color change.
On the other hand, when switching and displaying an image with a low volume of the associated sound, the image display apparatus 100 displays the image by a transition process using a color having a small color difference as compared with the color of the image before and after the switching. It can be switched and displayed.
<表示画像の前または後に画像が無い場合の例>
 次に、表示画像の前または後に画像が無い場合のトランジション処理の例について説明する。表示画像の前または後に画像が無い場合とは、以下のような場合である。
(1)1枚のみの画像を表示開始または表示終了する場合。
(2)スライドショー再生における最初の画像を表示開始する場合。
(3)スライドショー再生における最後の画像を表示終了する場合。
 このような場合、画像表示装置100は、画像を表示開始または表示終了する際に、前記画像の色評価値と同じ値の色、または前記画像の色評価値と同じ値の色の補色を挿入色としてトランジション処理をする。
<Example when there is no image before or after the display image>
Next, an example of transition processing when there is no image before or after the display image will be described. The case where there is no image before or after the display image is as follows.
(1) A case where only one image is displayed or displayed.
(2) When starting to display the first image in the slide show reproduction.
(3) When the display of the last image in the slide show reproduction ends.
In such a case, the image display apparatus 100 inserts a color having the same value as the color evaluation value of the image or a complementary color having the same value as the color evaluation value of the image when the display of the image starts or ends. Process transition as color.
 例えば、1枚のみの画像を表示開始する場合、またはスライドショー再生における最初の画像を表示開始する場合は、切替え前の画像(第1の画像)が無い状態である。この場合、画像表示装置100は、これから表示する切替え後の画像(第2の画像)と第1の画像とが同じ画像であるとして処理をする。これにより、第1の色評価値が第2の色評価値と同じになり、第1の色評価値と第2の色評価値との中間色は、第2の色評価値と同じ値の色になる。すなわち、画像表示装置100は、これから表示する切替え後の画像(第2の画像)の色評価値と同じ値の色、または前記色の補色を挿入色としてトランジション処理をすることができる。 For example, when display of only one image is started or when display of the first image in slide show playback is started, there is no image before switching (first image). In this case, the image display apparatus 100 performs processing assuming that the image after switching (second image) to be displayed from now on and the first image are the same image. As a result, the first color evaluation value becomes the same as the second color evaluation value, and an intermediate color between the first color evaluation value and the second color evaluation value is a color having the same value as the second color evaluation value. become. In other words, the image display apparatus 100 can perform transition processing using a color having the same value as the color evaluation value of the image after switching (second image) to be displayed (second image) or a complementary color of the color as an insertion color.
 一方、1枚のみの画像を表示終了する場合、またはスライドショー再生における最後の画像を表示終了する場合は、切替え後の画像(第2の画像)が無い状態である。この場合、画像表示装置100は、これから表示を終了する切替え前の画像(第1の画像)と第2の画像とが同じ画像であるとして処理をする。これにより、第2の色評価値が第1の色評価値と同じになり、第1の色評価値と第2の色評価値との中間色は、第1の色評価値と同じ値の色になる。すなわち、画像表示装置100は、これから表示を終了する切替え前の画像(第2の画像)の色評価値と同じ値の色、または前記色の補色を挿入色としてトランジション処理をすることができる。 On the other hand, when the display of only one image is finished or when the display of the last image in the slide show reproduction is finished, there is no image after switching (second image). In this case, the image display apparatus 100 performs processing on the assumption that the image before switching (first image) and the second image that are to end display are the same image. As a result, the second color evaluation value becomes the same as the first color evaluation value, and an intermediate color between the first color evaluation value and the second color evaluation value is a color having the same value as the first color evaluation value. become. In other words, the image display apparatus 100 can perform transition processing using the color having the same value as the color evaluation value of the pre-switching image (second image) from which display is to be finished, or a complementary color of the color as an insertion color.
 図10は、表示画像の前または後に画像が無い場合の切替え処理の一例を示すフローチャートである。図10を用いて、表示画像の前後の画像があるか否かの判定結果に応じて生成された挿入色による切替え処理の動作について説明する。なお、この図においては、挿入色生成部22が中間色を挿入色として生成する場合を例としている。 FIG. 10 is a flowchart showing an example of the switching process when there is no image before or after the display image. With reference to FIG. 10, the operation of the switching process using the insertion color generated according to the determination result of whether or not there are images before and after the display image will be described. In this figure, an example is shown in which the insertion color generation unit 22 generates an intermediate color as the insertion color.
 まず初めに、画像処理部2は、切替え前の画像がない表示画像、切替え後の画像がない表示画像、または切替え前後に画像がある表示画像の何れかを判定するために、切替え前後の画像を検出する (ステップS51)。画像処理部2は、切替え前の画像(第1の画像)があるか否かを判定する(ステップS52)。ステップS52において、切替え前の画像(第1の画像)がないと判定された場合(例えば、最初の表示画像または1枚のみの表示画像を表示開始する場合)、評価値算出部21は、第1の画像を第2の画像(これから表示する切替え後の画像)と同じ画像として、第1の色評価値と第2の色評価値とを算出する(ステップS53)。 First, the image processing unit 2 determines whether the display image without the image before switching, the display image without the image after switching, or the display image with the image before and after switching to determine whether the display image is before or after switching. To detect (step S51). The image processing unit 2 determines whether there is an image before switching (first image) (step S52). In step S52, when it is determined that there is no image (first image) before switching (for example, when displaying the first display image or only one display image), the evaluation value calculation unit 21 The first color evaluation value and the second color evaluation value are calculated by using one image as the second image (the image after switching to be displayed from now on) (step S53).
 一方、ステップS52において、切替え前の画像(第1の画像)があると判定された場合、画像処理部2は、切替え後の画像(第2の画像)があるか否かを判定する(ステップS54)。ステップS54において、切替え後の画像(第2の画像)がないと判定された場合(例えば、最後の表示画像または1枚のみの表示画像を表示終了する場合)、評価値算出部21は、第2の画像を第1の画像(表示していた切替え前の画像)と同じ画像として、第1の色評価値と第2の色評価値とを算出する(ステップS55)。 On the other hand, if it is determined in step S52 that there is an image before switching (first image), the image processing unit 2 determines whether there is an image after switching (second image) (step S52). S54). When it is determined in step S54 that there is no image after switching (second image) (for example, when the last display image or only one display image is displayed), the evaluation value calculation unit 21 The first image evaluation value and the second color evaluation value are calculated with the second image as the same image as the first image (displayed image before switching) (step S55).
 一方、ステップS54において、切替え後の画像(第2の画像)があると判定された場合(例えば、スライドショー再生の途中に表示(再生)される画像、すなわち切替え前後に画像がある画像の切替えの場合)、第1の画像(表示していた切替え前の画像)及び第2の画像から第1の色評価値と第2の色評価値とを算出する(ステップS56)。 On the other hand, when it is determined in step S54 that there is an image after switching (second image) (for example, an image displayed (played back) during slide show playback, that is, an image with images before and after switching is switched. ), The first color evaluation value and the second color evaluation value are calculated from the first image (the displayed image before switching) and the second image (step S56).
 次に、挿入色生成部22は、それぞれ判定された条件によりステップS53、ステップS55、またはステップS56において算出された第1の色評価値と第2の色評価値とに基づいて、第1の色評価値と第2の色評価値との中間色を挿入色として生成する(ステップS57)。 Next, the insertion color generation unit 22 performs the first color evaluation value based on the first color evaluation value and the second color evaluation value calculated in step S53, step S55, or step S56 according to the determined conditions. An intermediate color between the color evaluation value and the second color evaluation value is generated as an insertion color (step S57).
 そして、切替え処理部28は、ステップS57において生成された挿入色に基づいて、画像を切替える処理をする(ステップS58)。
 例えば、切替え処理部28は、最初の画像(第2の画像)を表示開始する場合、前記最初の画像(第2の画像)の色評価値と同じ値の色の挿入色から第2の画像にフェードインする処理をし、最後の画像(第1の画像)を表示終了する場合、第1の画像から前記最後の画像(第1の画像)の色評価値と同じ値の色の挿入色にフェードアウトする処理をする。また、切替え処理部28は、スライドショー再生における途中の画像切替えの場合、第1の色評価値と第2の色評価値との中間色を挿入色として、第1の画像と第2の画像とを挿入色を介してフェードアウト処理及びフェードイン処理して画像を切替える。
Then, the switching processing unit 28 performs a process of switching images based on the insertion color generated in step S57 (step S58).
For example, when the switching processing unit 28 starts to display the first image (second image), the second image starts from the insertion color having the same value as the color evaluation value of the first image (second image). When the last image (first image) is displayed after the process of fading in, the inserted color having the same value as the color evaluation value of the last image (first image) from the first image Process to fade out. Further, in the case of image switching in the middle of slide show reproduction, the switching processing unit 28 uses the intermediate color between the first color evaluation value and the second color evaluation value as an insertion color, and uses the first image and the second image. The image is switched by performing fade-out processing and fade-in processing through the insertion color.
 なお、図10においては、挿入色生成部22が第1の色評価値と第2の色評価値との中間色を挿入色として生成する場合を例に示したが、前述したように、画像の動きベクトル、画像の色の変化率、または画像に関連付けられている音の音量等に応じて、中間色の補色を挿入色として生成してもよい。 Note that FIG. 10 shows an example in which the insertion color generation unit 22 generates an intermediate color between the first color evaluation value and the second color evaluation value as an insertion color. However, as described above, Depending on the motion vector, the rate of change of the color of the image, or the volume of the sound associated with the image, a complementary color of the intermediate color may be generated as the insertion color.
 このように、画像表示装置100は、表示画像の前または後に画像が無い場合(1枚のみの画像を表示開始または表示終了する場合、最初の画像を表示開始する場合、または、最後の画像を表示終了する場合)においても、表示する画像に基づいた色によるトランジション処理により画像を切替えて表示することができる。 As described above, the image display apparatus 100 has no image before or after the display image (when only one image starts to be displayed or ends, when the first image starts to be displayed, or when the last image is displayed. Even when the display is terminated, the images can be switched and displayed by a transition process using colors based on the image to be displayed.
<1枚のみの動画像をトランジション処理して表示する場合>
 図11は、1枚のみの動画像を表示開始(再生開始)する場合の切替え処理の一例を示すフローチャートである。また、図12は、1枚のみの動画像を表示終了(再生終了)する場合の切替え処理の一例を示すフローチャートである。なお、図11及び図12においては、評価値算出部21が動画像の色評価値を最初のフレームまたは最後のフレームから算出する場合を例としている。また、挿入色生成部22が中間色を挿入色として生成する場合を例としている。
<When displaying only one moving image after transition processing>
FIG. 11 is a flowchart illustrating an example of a switching process in the case where display of only one moving image is started (reproduction is started). FIG. 12 is a flowchart illustrating an example of a switching process when display of only one moving image is ended (reproduction is ended). 11 and 12 exemplify a case where the evaluation value calculation unit 21 calculates the color evaluation value of a moving image from the first frame or the last frame. Further, the case where the insertion color generation unit 22 generates an intermediate color as an insertion color is taken as an example.
 まず、図11を用いて、1枚のみの動画像を表示開始(再生開始)する場合の切替え処理の動作について説明する。
 評価値算出部21は、動画像の最初のフレームの色評価値を算出する(ステップS61)。また、評価値算出部21は、切替え前の画像(第1の画像)がないため、第1の画像の色評価値を、動画像(第2の画像)の最初のフレーム(これから表示する切替え後の画像の最初のフレーム)と同じ色評価値として算出する(ステップS62)。
First, the operation of the switching process in the case where display of only one moving image is started (reproduction start) will be described using FIG.
The evaluation value calculation unit 21 calculates the color evaluation value of the first frame of the moving image (step S61). Further, since there is no image before switching (first image), the evaluation value calculation unit 21 displays the color evaluation value of the first image in the first frame (moving to be displayed from now on) of the moving image (second image). It is calculated as the same color evaluation value as the first frame of the subsequent image (step S62).
 次に、挿入色生成部22は、第1の画像の色評価値と動画像(第2の画像)の最初のフレームの色評価値との中間色を表示開始(再生開始)する際の挿入色として生成する(ステップS63)。すなわち、挿入色生成部22は、動画像(第2の画像)の最初のフレームの色評価値と同じ値の色を表示開始(再生開始)する際の挿入色として生成する。 Next, the insertion color generation unit 22 inserts a color when starting to display (start reproduction) an intermediate color between the color evaluation value of the first image and the color evaluation value of the first frame of the moving image (second image). (Step S63). That is, the insertion color generation unit 22 generates a color having the same value as the color evaluation value of the first frame of the moving image (second image) as an insertion color when starting display (reproduction start).
 そして、切替え処理部28は、ステップS63において生成された挿入色からフェードインして動画像の表示(再生)を開始する(ステップS64)。 The switching processing unit 28 fades in from the insertion color generated in step S63 and starts displaying (reproducing) the moving image (step S64).
 次に、図12を用いて、1枚のみの動画像を表示終了(再生終了)する場合の切替え処理の動作について説明する。
 評価値算出部21は、動画像の最後のフレームの色評価値を算出する(ステップS71)。また、評価値算出部21は、切替え後の画像(第2の画像)がないため、第2の画像の色評価値を、動画像(第1の画像)の最後のフレーム(表示していた切替え前の画像の最後のフレーム)と同じ色評価値として算出する(ステップS72)。
Next, the operation of the switching process in the case where display of only one moving image ends (reproduction ends) will be described using FIG.
The evaluation value calculation unit 21 calculates the color evaluation value of the last frame of the moving image (step S71). In addition, since there is no image after switching (second image), the evaluation value calculation unit 21 displays the color evaluation value of the second image in the last frame (moving image (first image)). It is calculated as the same color evaluation value as the last frame of the image before switching) (step S72).
 次に、挿入色生成部22は、動画像(第1の画像)の最後のフレームの色評価値と第2の画像の色評価値との中間色を表示終了(再生終了)する際の挿入色として生成する(ステップS73)。すなわち、挿入色生成部22は、動画像(第1の画像)の最後のフレームの色評価値と同じ値の色を表示終了(再生終了)する際の挿入色として生成する。 Next, the insertion color generation unit 22 inserts the color when the intermediate color between the color evaluation value of the last frame of the moving image (first image) and the color evaluation value of the second image ends (reproduction ends). (Step S73). In other words, the insertion color generation unit 22 generates a color having the same value as the color evaluation value of the last frame of the moving image (first image) as an insertion color when the display ends (reproduction ends).
 そして、切替え処理部28は、ステップS73において生成された挿入色にフェードアウトして動画像の表示(再生)を終了する(ステップS74)。 Then, the switching processing unit 28 fades out to the insertion color generated in step S73 and ends the display (playback) of the moving image (step S74).
 なお、図11及び図12においては、挿入色生成部22が第1の色評価値と第2の色評価値との中間色を挿入色として生成する場合を例に示したが、前述したように、画像の動きベクトル、画像の色の変化率、または画像に関連付けられている音の音量等に応じて、中間色の補色を挿入色として生成してもよい。 11 and 12 show an example in which the insertion color generation unit 22 generates an intermediate color between the first color evaluation value and the second color evaluation value as the insertion color, but as described above. Depending on the motion vector of the image, the rate of change of the color of the image, or the volume of the sound associated with the image, an intermediate complementary color may be generated as the insertion color.
 このように、画像表示装置100は、1枚のみの動画像を表示開始(再生開始)または表示終了(再生終了)する際に、表示する動画像に基づいた色によるトランジション処理をして動画像を表示(再生)することができる。 In this way, the image display device 100 performs a transition process using colors based on the moving image to be displayed when starting to display (start reproduction) or ending (reproduction end) display of only one moving image. Can be displayed (played back).
 以上のように、画像表示装置100は、切替え前後の画像の色評価値に基づいて、切替え前後の画像の色評価値の中間色、または中間色の補色を挿入色としたトランジション処理(例えば、フェードイン処理またはフェードアウト処理)により画像を切替えて表示することができる。例えば、画像表示装置100は、切替え前後の画像の色に対して色の差が小さい色(中間色)を挿入色としたトランジション処理により画像を切替えて表示することができる。よって、一般的に用いられている、黒色または白色によるトランジション処理の場合に画面の色変化が大きいことにより生じることがある画面のちらつきを低減することができる。 As described above, the image display apparatus 100 performs transition processing (for example, fade-in) using an intermediate color of the color evaluation value of the image before and after switching or a complementary color of the intermediate color based on the color evaluation value of the image before and after switching. The images can be switched and displayed by processing or fade-out processing. For example, the image display apparatus 100 can switch and display images by transition processing using a color (intermediate color) having a small color difference with respect to the colors of the images before and after switching as an insertion color. Accordingly, it is possible to reduce screen flicker that may be caused by a large color change of the screen in the case of a transition process using black or white that is generally used.
 例えば、図4を用いて説明した例によれば、黒色によるトランジション処理の場合、「青色(青い空)→黒色→黄色(黄色の花畑)」と切替わり、切替わる画像の色の差が大きいことにより画面のちらつきが生じる。一方、中間色として生成された緑色によるトランジション処理の場合、「青色(青い空)→緑色→黄色(黄色の花畑)」と切替わり、切替わる画像の色の差が小さいため画面のちらつきが低減される。また、例えば、赤色の評価値が大きい画像(赤っぽい画像)を連続して黒色によるトランジション処理により切替える場合、「赤色(赤っぽい画像)→黒色→赤色(赤っぽい画像)」と切替わり、切替わる画像の色の差が大きいことにより画面のちらつきが生じるが、赤色によるトランジション処理により切替える場合は、切替わる画像の色の差が小さいため画面のちらつきが低減される。これにより、画像表示装置100は、ユーザーにとって不快感が少ないように画像を切替えて表示(例えば、スライドショー再生)することができる。 For example, according to the example described with reference to FIG. 4, in the case of the black transition process, “blue (blue sky) → black → yellow (yellow flower field)” is switched, and the color difference between the switched images is large. This causes screen flickering. On the other hand, in the case of transition processing with green color generated as an intermediate color, the color is switched from “blue (blue sky) → green → yellow (yellow flower garden)”, and the flickering of the screen is reduced because the color difference between the images to be switched is small. The In addition, for example, when switching a red image with a large evaluation value (reddish image) continuously by a black transition process, “red (reddish image) → black → red (reddish image)” is cut off. Instead, the flickering of the screen occurs due to a large difference in the colors of the images to be switched. However, when switching is performed by a transition process using red, the flickering of the screen is reduced because the difference in the colors of the images to be switched is small. As a result, the image display apparatus 100 can switch and display images (for example, slide show playback) so that the user has less discomfort.
 また、画像表示装置100は、動きの激しい画像、色の変化が激しい画像、または音が騒がしい画像等の場合、切替え前後の画像の色に対して色の差が大きい色(中間色の補色)を挿入色としたトランジション処理により画像を切替えて表示することができる。例えば、スポーツやロックコンサート等のように動きの激しい画像、色の変化が激しい画像、または音が騒がしい画像等をトランジション処理して切替えて表示する場合、一般的に用いられている、黒色または白色によるトランジション処理が挿入された場合、画像の躍動感が遮断されてユーザーにとって不快に感じられる場合がある。このような場合、画像表示装置100は、切替え前後の画像の色に対して色の差が大きい色(中間色の補色)を挿入色としたトランジション処理により画像を切替えて表示することにより、ユーザーにとって躍動感が遮断されないように画像を切替えて表示することができる。
 これにより、撮像装置200は、ユーザーにとって不快感が少ないように画像を切替えて表示(例えば、スライドショー再生)することができる。
Further, the image display device 100 selects a color (intermediate color complementary color) having a large color difference with respect to the color of the image before and after the switching in the case of an image with intense movement, an image with a large color change, or an image with noisy sound. The images can be switched and displayed by the transition process using the insertion color. For example, black or white, which is commonly used when switching and displaying images with intense movement, images with significant color changes, or images with noisy sounds, such as sports and rock concerts When the transition process by is inserted, the dynamic feeling of the image may be cut off and the user may feel uncomfortable. In such a case, the image display apparatus 100 switches and displays the image by a transition process in which a color having a large color difference (a complementary color of the intermediate color) with respect to the color of the image before and after the switching is used as an insertion color. Images can be switched and displayed so that the feeling of dynamism is not blocked.
As a result, the imaging apparatus 200 can switch and display images (for example, slide show playback) so as to reduce discomfort for the user.
 次に、画像処理装置1を有する撮像装置200が、動画像をトランジション処理により記録開始または記録終了する場合の例について説明する。
<撮像装置において動画像を記録する場合の例>
 図13は、本発明の一実施形態による撮像装置200の構成を示す概略ブロック図である。まず、この図を用いて、撮像装置200の構成について説明する。なお、図13において、図1の各部に対応する部分には同一の符号を付け、その説明を省略する。
Next, an example in which the imaging apparatus 200 including the image processing apparatus 1 starts or ends recording of a moving image by a transition process will be described.
<Example of recording a moving image in the imaging apparatus>
FIG. 13 is a schematic block diagram illustrating a configuration of the imaging apparatus 200 according to an embodiment of the present invention. First, the configuration of the imaging apparatus 200 will be described with reference to FIG. In FIG. 13, parts corresponding to those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.
 図13に示す撮像装置200は、画像処理装置1、表示制御部110、表示部120、外部出力部130、撮像部210、撮像制御部220、音入力部230、記録制御部240、及びバス10Bを備えている。 An imaging apparatus 200 illustrated in FIG. 13 includes an image processing apparatus 1, a display control unit 110, a display unit 120, an external output unit 130, an imaging unit 210, an imaging control unit 220, a sound input unit 230, a recording control unit 240, and a bus 10B. It has.
 撮像部210は、レンズ部211、撮像素子212、及びA/D変換部213を有しており、被写体を撮像して画像データを生成する。この撮像部210は設定された撮像条件(例えば絞り値、露出値等)に基づいて撮像制御部220により制御され、レンズ部211を介して入射した被写体光束が撮像素子212の撮像面上に被写体像を結像させる。また、撮像部210は、撮像素子212から出力されたアナログ信号をA/D変換部213においてデジタル信号に変換し、画像データを生成して出力する。
 なお、上述したレンズ部211は、撮像装置200に取り付けられて一体とされていてもよいし、撮像装置200に着脱可能に取り付けられてもよい。
The imaging unit 210 includes a lens unit 211, an imaging element 212, and an A / D conversion unit 213, and captures an image of a subject and generates image data. The imaging unit 210 is controlled by the imaging control unit 220 based on the set imaging conditions (for example, aperture value, exposure value, etc.), and the subject luminous flux incident through the lens unit 211 is photographed on the imaging surface of the image sensor 212. Form an image. In addition, the imaging unit 210 converts the analog signal output from the imaging device 212 into a digital signal in the A / D conversion unit 213, generates image data, and outputs the image data.
The lens unit 211 described above may be attached to and integrated with the imaging device 200, or may be detachably attached to the imaging device 200.
 例えば、撮像部210は、操作部7による動画撮像操作に応じて、撮像した動画像データを出力する。また、撮像部210は、操作部7による静止画撮像操作に応じて、撮像した静止画像データを出力する。そして、撮像部210によって撮像された動画像データ及び静止画像データは、撮像制御部220の制御によりバス10Bを介して画像処理装置1に入力され、画像処理装置1に処理された後、記憶媒体300に記録される。また、撮像部210は、静止画撮像を行うための待機状態中に、スルー画(live camera)の画像データを出力する。
 撮像制御部220は、撮像部210の撮像動作を制御し、撮像部210により撮像された動画像データ及び静止画像データ等を、バス10Bを介して画像処理装置1に入力する。
For example, the imaging unit 210 outputs captured moving image data in response to a moving image imaging operation by the operation unit 7. Further, the imaging unit 210 outputs captured still image data in response to a still image imaging operation by the operation unit 7. The moving image data and still image data captured by the imaging unit 210 are input to the image processing device 1 via the bus 10B under the control of the imaging control unit 220, processed by the image processing device 1, and then a storage medium. 300. The imaging unit 210 outputs image data of a live camera during a standby state for capturing a still image.
The imaging control unit 220 controls the imaging operation of the imaging unit 210, and inputs moving image data, still image data, and the like captured by the imaging unit 210 to the image processing apparatus 1 via the bus 10B.
 音入力部230は、音を検出するマイクを有しており、検出された音に基づく音信号を生成して、バス10Bを介して画像処理装置1に入力する。例えば、音入力部230は、撮像部210により動画像が撮像されている期間、検出された音に基づく音信号を画像処理装置1に入力する。そして、画像処理装置1は、前記音信号を撮像された動画像に関連付けて、記録制御部240を介して記憶装置(記録部)6に記録する。なお、音入力部230は、撮像部210により静止画像が撮像される際に、予め設定された時間(例えば、レリーズ押下後の10秒間など)において、検出された音に基づく音信号を画像処理装置1に入力してもよい。また、音入力部230は、操作部7の操作に応じて、記録されている静止画像に関連付けて後から録音される期間に検出された音に基づく音信号を画像処理装置1に入力してもよい。 The sound input unit 230 has a microphone that detects sound, generates a sound signal based on the detected sound, and inputs the sound signal to the image processing apparatus 1 via the bus 10B. For example, the sound input unit 230 inputs a sound signal based on the detected sound to the image processing apparatus 1 during a period in which a moving image is captured by the imaging unit 210. Then, the image processing apparatus 1 records the sound signal in the storage device (recording unit) 6 via the recording control unit 240 in association with the captured moving image. The sound input unit 230 performs image processing on a sound signal based on the detected sound for a preset time (for example, 10 seconds after the release is pressed) when a still image is captured by the imaging unit 210. You may input into the apparatus 1. FIG. In addition, the sound input unit 230 inputs a sound signal based on a sound detected during a later recording period in association with the recorded still image to the image processing apparatus 1 according to the operation of the operation unit 7. Also good.
 記録制御部240は、撮像部210により撮像された画像データ(動画像、静止画像)、及び音入力部230により入力された画像データに関連付けられている音データ(音信号)を、記憶装置(記録部)6に記録する制御をする。例えば、記録制御部240は、記憶装置(記録部)6に接続されているカードメモリ等の着脱可能な記憶媒体300に記録する。また、記録制御部240は、動画像の記録開始直後の所定のフレーム期間、または記録停止の直前の所定のフレーム期間に、挿入色の切替え画像を挿入して(トランジション処理をして)記憶装置(記録部)6に記録する。 The recording control unit 240 stores image data (moving image, still image) captured by the imaging unit 210 and sound data (sound signal) associated with the image data input by the sound input unit 230 in a storage device ( (Recording unit) 6 is controlled to record. For example, the recording control unit 240 records in a removable storage medium 300 such as a card memory connected to the storage device (recording unit) 6. In addition, the recording control unit 240 inserts an insertion color switching image (by performing a transition process) in a predetermined frame period immediately after the start of recording of a moving image or a predetermined frame period immediately before the stop of recording. (Recording section) Record in 6.
 バス10Bは、画像処理装置1の備える各部、表示制御部110、及び外部出力部130と接続され、各部から出力された画像データや制御信号等を転送する。 The bus 10B is connected to each unit included in the image processing apparatus 1, the display control unit 110, and the external output unit 130, and transfers image data, control signals, and the like output from each unit.
 図14は、撮像された動画像に挿入色による切替え処理をして記録する処理の一例を示すフローチャートである。図14を用いて、撮像装置200が動画像に挿入色による切替え処理をして(トランジション処理をして)記録する動作について説明する。 FIG. 14 is a flowchart illustrating an example of a process of recording a captured moving image by performing a switching process using an insertion color. With reference to FIG. 14, an operation in which the imaging apparatus 200 performs switching processing (transition processing) on a moving image using an insertion color and records it will be described.
 まず、撮像制御部220は、ユーザーの操作部7による動画撮像操作に応じて、動画像の撮像を実行して撮像された動画像を画像処理装置1に入力する。画像処理装置1は入力された動画像をバッファメモリ部5に保持させる(ステップS81)。次に、評価値算出部21は、動画像の最初のフレーム及び最後のフレームをバッファメモリ部5から読み出して、それぞれの色評価値を算出する(ステップS82)。 First, the imaging control unit 220 executes imaging of a moving image and inputs the captured moving image to the image processing apparatus 1 in accordance with a moving image imaging operation by the operation unit 7 of the user. The image processing apparatus 1 holds the input moving image in the buffer memory unit 5 (step S81). Next, the evaluation value calculation unit 21 reads the first frame and the last frame of the moving image from the buffer memory unit 5 and calculates the respective color evaluation values (step S82).
 続いて、挿入色生成部22は、評価値算出部21により算出された動画像の最初のフレーム及び最後のフレームの色評価値に基づいて、動画像の記録開始時の挿入色を最初のフレームの色評価値の色とし、動画像の記録終了時の挿入色を最後のフレームの色評価値の色として生成する(ステップS83)。 Subsequently, based on the color evaluation values of the first frame and the last frame of the moving image calculated by the evaluation value calculation unit 21, the insertion color generation unit 22 sets the insertion color at the start of moving image recording to the first frame. And the color inserted at the end of moving image recording is generated as the color evaluation value color of the last frame (step S83).
 そして、切替え処理部28は、動画像に対して、最初のフレームの色評価値の色からフェードインし、最後のフレームの色評価値の色にフェードアウトする画像処理(トランジション処理)を実行する(ステップS84)。記録制御部240は、この画像処理された動画像を記録する(ステップS85)。 Then, the switching processing unit 28 executes image processing (transition processing) for fading in the moving image from the color of the color evaluation value of the first frame and fading out to the color of the color evaluation value of the last frame ( Step S84). The recording control unit 240 records the image-processed moving image (step S85).
 なお、ステップS83の1枚の動画像に対して挿入色を生成する処理は、図11及び図12を用いて説明した、1枚のみ動画像を表示開始または表示終了する場合の挿入色を生成する処理と同様に実行することができる。 Note that the processing for generating an insertion color for one moving image in step S83 generates an insertion color when only one moving image starts or ends as described with reference to FIGS. It can be executed in the same manner as the processing to be performed.
 また、撮像装置200は、撮像した動画像をバッファメモリ部5に保持させてから、トランジション処理に使用するフレームを読み出して処理をする。この時、撮像装置200は、1回の撮像操作により撮像された動画像の全てをバッファメモリ部5に保持させてから、トランジション処理に使用するフレーム(例えば、最初のフレームまたは最後のフレーム)を読み出して評価値の算出処理やトランジション処理をしてもよいが、バッファメモリ部5のメモリ容量は動画像の記録容量に対して少ないことが一般的である。そのため、撮像装置200は、動画像の撮像開始の際に、撮像処理と並列処理によりバッファメモリ部5に保持させた最初のフレーム(または、最初のフレームを含む所定の期間のフレーム)に対してトランジション処理を実行して記録するといったリアルタイム処理をすることにより、バッファメモリ部5に保持させる動画像を最小限の容量になるように処理をしてもよい。 In addition, the image capturing apparatus 200 stores the captured moving image in the buffer memory unit 5 and then reads and processes a frame used for the transition process. At this time, the image capturing apparatus 200 stores all the moving images captured by one image capturing operation in the buffer memory unit 5 and then selects a frame (for example, the first frame or the last frame) to be used for the transition process. Although the calculation processing and transition processing of the evaluation value may be performed after reading, the memory capacity of the buffer memory unit 5 is generally small with respect to the moving image recording capacity. Therefore, the imaging apparatus 200 performs the first frame (or the frame of a predetermined period including the first frame) held in the buffer memory unit 5 by the imaging process and the parallel process when starting the imaging of the moving image. By performing real-time processing such as executing and recording transition processing, processing may be performed so that the moving image held in the buffer memory unit 5 has a minimum capacity.
 なお、撮像装置200は、画像の動きベクトル、画像の色の変化率、または画像に関連付けられている音の音量等に応じて、動画像の色評価値と同じ値となる色の補色を挿入色として生成してもよい。この場合、撮像装置200は、動画像を撮像開始する前のスルー画(live camera)の画像から、画像の動きベクトル、画像の色の変化率、または画像に関連付けられている音の音量等を検出して、動画像の色評価値と同じ値となる色を挿入色として生成するか、あるいは前記色の補色を挿入色として生成するかを判定してもよい。 Note that the imaging apparatus 200 inserts a complementary color having the same value as the color evaluation value of the moving image according to the motion vector of the image, the rate of change of the color of the image, or the volume of the sound associated with the image. It may be generated as a color. In this case, the imaging apparatus 200 calculates the motion vector of the image, the rate of change of the color of the image, or the volume of the sound associated with the image from the live image (live 開始 camera) image before starting to capture the moving image. It may be detected to determine whether a color having the same value as the color evaluation value of the moving image is generated as an insertion color or whether a complementary color of the color is generated as an insertion color.
 以上のように、撮像装置200は、動画像を撮像して記録する場合、記録開始または記録終了の際に、撮像する動画像の色の評価値に基づいた挿入色を生成してトランジション処理(例えば、フェードイン処理またはフェードアウト処理)を実行して記録することができる。例えば、撮像する動画像の最初のフレームの色の評価値と同じ値となる色、または前記色の補色を挿入色とすることにより、前述した画像表示装置100における画像の切替え表示の際のトランジション処理と同様に、撮像する動画像に適した挿入色に基づいたトランジション処理を実行して記録することができる。 As described above, when capturing and recording a moving image, the imaging apparatus 200 generates an insertion color based on the evaluation value of the color of the moving image to be captured at the start or end of recording, and performs transition processing ( For example, a fade-in process or a fade-out process) can be executed and recorded. For example, by using a color having the same value as the evaluation value of the color of the first frame of the moving image to be captured, or a complementary color of the color as an insertion color, the transition at the time of the image switching display in the image display device 100 described above. Similar to the processing, the transition processing based on the insertion color suitable for the moving image to be captured can be executed and recorded.
 つまり、撮像装置200は、動画像を撮像して記録する場合、記録開始または記録終了の際のフレームの色に対して色の差が小さい色を挿入色としたトランジション処理により動画像を記録開始または記録終了することができる。また、撮像装置200は、動きの激しい動画像、色の変化が激しい動画像、または音が騒がしい動画像等を撮像して記録する場合、記録開始または記録終了の際のフレームの色に対して色の差が大きい色を挿入色としたトランジション処理により動画像を記録開始または記録終了することができる。これにより、撮像装置200は、動画像の記録開始または記録終了の際の画像の切替わりに、ユーザーにとって不快感が少ないようなトランジション処理をして記録することができる。 That is, when capturing and recording a moving image, the imaging apparatus 200 starts recording the moving image by a transition process using a color having a small color difference with respect to the color of the frame at the start or end of recording. Or the recording can be terminated. In addition, when capturing and recording a moving image with a large amount of motion, a moving image with a large change in color, or a moving image with a noisy sound, the imaging apparatus 200 performs the recording with respect to the color of the frame at the start or end of recording. Recording of a moving image can be started or ended by a transition process using a color having a large color difference as an insertion color. As a result, the imaging apparatus 200 can perform recording by performing a transition process that causes less discomfort to the user, instead of switching the image at the start or end of recording of a moving image.
 なお、撮像装置200は、画像表示装置100が備える画像処理装置1、表示制御部110、表示部120、及び外部出力部130の構成と同様の構成を備えているため、動画像の記録の場合のみに限らず、前述した画像表示装置100における画像の切替え表示も実行することができる。これにより、撮像装置200は、ユーザーにとって不快感が少ないように画像を切替えて表示することができる。 Note that the imaging apparatus 200 has the same configuration as the configuration of the image processing apparatus 1, the display control unit 110, the display unit 120, and the external output unit 130 included in the image display apparatus 100. In addition to the above, it is also possible to execute switching display of images in the image display device 100 described above. Thereby, the imaging apparatus 200 can switch and display images so that the user has less discomfort.
 以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。
 例えば、評価値算出部21は、画像の色の属性に関する評価値を算出する場合、色相に関する評価値に限らず、明度に関する評価値、彩度に関する評価値、またはその組み合わせによる評価値を算出してもよい。
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within a scope not departing from the gist of the present invention.
For example, when calculating the evaluation value related to the color attribute of the image, the evaluation value calculation unit 21 calculates the evaluation value related to the lightness evaluation value, the saturation evaluation value, or a combination thereof, without being limited to the hue evaluation value. May be.
 なお、上記実施形態において、評価値算出部21が画像の色の属性に関する評価値を算出する場合、画像の画素データの加算平均値を評価値として算出する例について説明したが、これに限られるものではない。例えば、評価値算出部21は、画像の全体の領域の内、占める領域が多い色または中央の領域の色等に重み付けをした加重平均値を評価値として算出してもよい。
 また、例えば、前後の画像それぞれの領域内における色について、近い色(類似する色、同系色)をグループ化し、そのグループから色評価値を算出してもよい。例えば、前後の画像の領域内において、暖色や寒色などの色でグループ化をおこない、これらのグループから色評価値を算出してもよい。
 また、例えば、前の画像の平均色をA1とし、後の画像の平均色をB1として、これらA1及びB1から色評価値を算出してもよい。
 また、例えば、前の画像の領域内に占める面積が最大となる色をA1とし、後の画像の領域内に占める面積が最大となる色をB1として、これら最大面積を占める色A1及びB1から色評価値を算出してもよい。
 また例えば、前の画像の領域内に占める面積が大きい色から順にA1、A2、…、とし、後の画像の領域内に占める面積が大きい色から順にB1、B2、…、として、これら複数の色A1、A2、…、及び、B1、B2、…、から色評価値を算出してもよい。
 また、例えば、前後の画像中に含まれる色を区分けしたカラーマップを作成し、表示画像領域内の全ての色をそのカラーマップの区分けに従って分類をおこなう。まず、前の画像のカラーマップに区分けされた色の区分に従い、単色をA1とし、あるいは、複数色をA1、A2、…、とする。次に、後の画像のカラーマップに区分けされた色の区分に従い、単色をB1とし、あるいは、複数色をB1、B2、…、とする。そして、これらの単色A1あるいは複数色A1、A2、…、及び、単色B1あるいは複数色B1、B2、…、から色評価値を算出してもよい。カラーマップの作成は、評価値算出部がおこなってもよいし、画像処理部がカラーマップ作成部(不図示)を備えてもよい。
 ここでは、前後に画像がある場合において、画像の色の属性に関する評価値を算出方法の例について述べた。しかし、上記のような色評価値の算出方法は、表示画像の前または後に画像が無い場合(表示画像が最初の画像又は最後の画像の場合)においても、前または後ろの一方の画像のみを利用して行ってもよい。つまり、例えば、前の画像しかない場合には、前の画像の領域内における色について、近い色をグループ化し、そのグループから色評価値を算出してもよい。その他の色評価値の算出方法についても同様に、前または後ろの一方の画像のみを利用して行ってもよい。
In the above-described embodiment, the evaluation value calculation unit 21 calculates the evaluation value related to the color attribute of the image. However, the present invention is not limited to this example. It is not a thing. For example, the evaluation value calculation unit 21 may calculate, as the evaluation value, a weighted average value obtained by weighting a color that occupies a large area or a color in the center area among the entire area of the image.
Further, for example, for the colors in the respective regions of the preceding and following images, close colors (similar colors and similar colors) may be grouped, and a color evaluation value may be calculated from the group. For example, grouping may be performed with colors such as warm colors and cold colors in the preceding and following image regions, and color evaluation values may be calculated from these groups.
For example, the average color of the previous image may be A1, and the average color of the subsequent image may be B1, and the color evaluation value may be calculated from these A1 and B1.
Further, for example, the color having the largest area in the area of the previous image is A1, and the color having the largest area in the area of the subsequent image is B1, and the colors A1 and B1 occupying these maximum areas are used. A color evaluation value may be calculated.
Further, for example, A1, A2,... In order from the color having the largest area in the area of the previous image, and B1, B2,... In order from the color having the largest area in the area of the subsequent image. Color evaluation values may be calculated from the colors A1, A2,... And B1, B2,.
In addition, for example, a color map in which colors included in the preceding and following images are classified is created, and all colors in the display image area are classified according to the classification of the color maps. First, let A1 be a single color, or A1, A2,... Next, according to the color classification divided into the color map of the subsequent image, a single color is set to B1, or a plurality of colors are set to B1, B2,. Then, the color evaluation value may be calculated from these single color A1 or multiple colors A1, A2,... And single color B1 or multiple colors B1, B2,. The color map may be created by an evaluation value calculation unit, or the image processing unit may include a color map creation unit (not shown).
Here, an example of a method for calculating an evaluation value related to a color attribute of an image when there are images before and after has been described. However, the color evaluation value calculation method as described above is such that only one of the front and rear images is displayed even when there is no image before or after the display image (when the display image is the first image or the last image). You may use it. That is, for example, when there is only the previous image, the colors in the region of the previous image may be grouped and the color evaluation value may be calculated from the group. Similarly, other color evaluation value calculation methods may be performed using only one of the front and rear images.
 なお、上記実施形態における画像処理装置1は、切替え前後の画像の動きベクトル、色の変化率、または音の音量、の各条件の組み合わせに基づいて、切替え前後の画像の色評価値の中間色を挿入色とするか、中間色の補色を挿入色とするかを判定してもよい。例えば、予め設定された各条件の優先度に基づいた順序により各条件の判定をしてもよいし、前記優先度に基づいて各条件の判定閾値を変更してもよい。 Note that the image processing apparatus 1 in the embodiment described above determines an intermediate color of the color evaluation values of the image before and after switching based on a combination of the conditions of the motion vector, the color change rate, or the sound volume before and after the switching. It may be determined whether to use an insertion color or a complementary color of an intermediate color. For example, each condition may be determined in the order based on the preset priority of each condition, or the determination threshold value for each condition may be changed based on the priority.
 また、上記実施形態における画像処理装置1は、切替え前後の画像の間に挿入する挿入色として、例えば、前の画像の色をA1とし、後の画像の色をB1とした場合において、これらA1とB1の中間色であるC1のみを使用してもよい。
 また、切替え前後の画像の間に挿入する挿入色として、例えば、前の画像の色A1及び後の画像の色B1の中間色C1の補色であるD1のみを使用してもよい。
 また、切替え前後の画像の間に挿入する挿入色として、例えば、前の画像の色A1、後の画像の色B1、中間色C1及び中間色C1の補色D1などの中から、一色あるいは複数色を使用してもよい。
 また、切替え前後の画像の間に挿入する挿入色として、例えば、前の画像の色A1、後の画像の色B1、中間色C1及び中間色C1の補色D1などの色の中から選んだ単色あるいは複数色と同輝度のモノクロ色を使用してもよい。
 また、切替え前後の画像の間に挿入する挿入色として、例えば、前の画像のカラーマップと後の画像のカラーマップを合わせて、そこから得られた最大面積の単色であるE1、あるいは最大面積の複数色であるE1、E2、…、を使用してもよい。
 また、切替え前後の画像の間に挿入する挿入色は、例えば、前の画像のカラーマップと後の画像のカラーマップから得られた共通色であるF1、あるいは複数の共通色であるF1、F2、…、を使用してもよい。
 ここでは、前後に画像がある場合において、切替え前後の画像の間に挿入する挿入色の決定方法の例について述べた。しかし、上記のような挿入色の決定方法は、表示画像の前または後に画像が無い場合(表示画像が最初の画像又は最後の画像の場合)においても、前または後ろの一方の画像のみを利用して行ってもよい。つまり、前の画像しかない場合には、前の画像から得られた少なくとも1つの色評価値を利用して、単色あるいは複数色の挿入色を決定してもよい。例えば、前の画像の領域内でA1及びB1を選び、それらの中間色であるC1を挿入色として使用してもよい。その他の挿入色の決定方法についても同様に、前または後ろの一方の画像のみを利用して行ってもよい。
Further, the image processing apparatus 1 in the above embodiment, for example, when the color of the previous image is A1 and the color of the subsequent image is B1 as the insertion colors to be inserted between the images before and after switching, these A1 Only C1, which is an intermediate color between B1 and B1, may be used.
Further, for example, only D1 which is a complementary color of the intermediate color C1 of the color A1 of the previous image and the color B1 of the subsequent image may be used as the insertion color inserted between the images before and after switching.
Further, as an insertion color to be inserted between the images before and after switching, for example, one color or a plurality of colors are used from among the color A1 of the previous image, the color B1 of the subsequent image, the intermediate color C1, and the complementary color D1 of the intermediate color C1. May be.
Further, as an insertion color to be inserted between the images before and after the switching, for example, a single color or a plurality of colors selected from among the color A1 of the previous image, the color B1 of the subsequent image, the intermediate color C1, and the complementary color D1 of the intermediate color C1, etc. A monochrome color having the same brightness as the color may be used.
In addition, as an insertion color to be inserted between images before and after switching, for example, the color map of the previous image and the color map of the subsequent image are combined, and E1 which is the single color of the maximum area obtained therefrom, or the maximum area E1, E2,..., Which are a plurality of colors, may be used.
The insertion color inserted between the images before and after switching is, for example, F1 that is a common color obtained from the color map of the previous image and the color map of the subsequent image, or a plurality of common colors F1 and F2. , ... may be used.
Here, an example of a method of determining an insertion color to be inserted between images before and after switching when there are images before and after switching has been described. However, the insertion color determination method as described above uses only one of the front and rear images even when there is no image before or after the display image (when the display image is the first image or the last image). You may do it. That is, when there is only a previous image, at least one color evaluation value obtained from the previous image may be used to determine a single color or a plurality of inserted colors. For example, A1 and B1 may be selected in the area of the previous image, and C1 that is an intermediate color between them may be used as the insertion color. Similarly, other insertion color determination methods may be performed using only one of the front and rear images.
 また、上記実施形態における画像処理装置1の以下のような場合における表示画像のトランジション処理の他の例を示す。
(1)スライドショー再生における最初の画像を表示開始する場合。
(2)スライドショー再生において表示画像の前後に画像がある場合。
(3)スライドショー再生における最後の画像を表示終了する場合。
 このような場合、画像表示装置は、例えば、以下のようなトランジション処理を行ってもよい。なお、以下に示すトランジション処理の例において使用される挿入色は、上述した決定方法を用いて決定され、単色あるいは複数色の挿入色であってもよい。以下、図15、図16A,図16B及び図17における説明においては、複数色の挿入色が用いられた例として示す。
Further, another example of the display image transition process in the following case of the image processing apparatus 1 in the above embodiment will be described.
(1) When starting to display the first image in the slide show reproduction.
(2) When there are images before and after the display image in the slide show reproduction.
(3) When the display of the last image in the slide show reproduction ends.
In such a case, the image display apparatus may perform the following transition processing, for example. Note that the insertion color used in the following transition processing example is determined using the determination method described above, and may be a single color or a plurality of insertion colors. Hereinafter, in the description in FIG. 15, FIG. 16A, FIG. 16B, and FIG. 17, an example in which a plurality of insertion colors are used is shown.
 例えば、スライドショー再生における最初の画像を表示開始する場合は、切替え前の画像(第1の画像)が無い状態である。この場合、画像表示装置は、これから表示する切替え後の画像(第2の画像)から色評価値を算出し、その色評価値に基づいて得られた挿入色を使用してトランジション処理を行ってもよい。具体的には、例えば図15に示すように、色評価値に基づいて得られた複数色の挿入色40Aを画面全体の領域に表示したあとに、第2の画像50Aが画面左側より画面右側に向かって広がりながら表示される(スライドイン)ようにトランジション処理を行ってもよい。図15の矢印r1は、先に複数色の挿入色40Aが表示されている画面において、第2の画像50Aが画面左端から画面右側に向かって広がりながら表示されるトランジション処理の様子を表現している。また、第1の画像30Aは点線による四角で示されており、画像が無い状態を表現している。
 ここで、第2の画像50Aに基づいた色評価値の算出には、上述した種々の算出法によって算出されてもよい。また、挿入色40Aについても、上述した方法で決定された種々の挿入色であってもよい。
For example, when the display of the first image in the slide show reproduction is started, there is no image before switching (first image). In this case, the image display device calculates a color evaluation value from the image after switching (second image) to be displayed, and performs a transition process using the insertion color obtained based on the color evaluation value. Also good. Specifically, as shown in FIG. 15, for example, after the plurality of insertion colors 40A obtained based on the color evaluation value is displayed in the entire screen area, the second image 50A is displayed on the right side of the screen from the left side of the screen. The transition processing may be performed so that the image is displayed while expanding toward (slide in). The arrow r1 in FIG. 15 expresses the state of the transition process in which the second image 50A is displayed while spreading from the left end of the screen toward the right side of the screen on the screen on which the plurality of insertion colors 40A are displayed first. Yes. Further, the first image 30A is indicated by a square with a dotted line, and expresses a state where there is no image.
Here, the color evaluation value based on the second image 50A may be calculated by the various calculation methods described above. Also, the insertion color 40A may be various insertion colors determined by the method described above.
 次に、例えば、スライドショー再生において表示画像の前後に画像がある場合には、画像表示装置は、切替え前の画像(第1の画像)と切替え後の画像(第2の画像)から色評価値を算出し、その色評価値に基づいて得られた挿入色を使用してトランジション処理を行ってもよい。具体的には、例えば、図16Aに示すように、前後の画像の色評価値に基づいて得られた複数色の挿入色40Bの表示が画面右側から開始され、この複数色の挿入色40Bに連続して第2の画像50Bが画面左側に向かって広がりながら表示される(スライドイン)ようにトランジション処理を行ってもよい。このとき、画面右側から流れてくる複数色の挿入色40B及び第2の画像50Bの表示が広がるにつれて、先に表示されていた第1の画像30Bの表示は、図16Aに示されるように徐々に画面左方向に圧縮されて表示されていく。その後、第1の画像に代わって、全画面領域に複数色の挿入色40B及び第2の画像50Bが表示されるようになる。続いて、複数色の挿入色40Bも画面左方向に圧縮されて表示されていく。そして最終的には、画面領域の全てが第2の画像50Bに切り替わる。図16Aの矢印r2は、複数色の挿入色40Bと第2の画像50Bが連続した状態で、画面右端から画面左端に向かって広がりながら表示されていくトランジション処理の様子を表現している。 Next, for example, when there are images before and after the display image in the slide show reproduction, the image display device determines the color evaluation value from the image before switching (first image) and the image after switching (second image). And the transition processing may be performed using the insertion color obtained based on the color evaluation value. Specifically, for example, as shown in FIG. 16A, the display of a plurality of insertion colors 40B obtained based on the color evaluation values of the preceding and following images is started from the right side of the screen. The transition process may be performed so that the second image 50B is continuously displayed (slide in) while spreading toward the left side of the screen. At this time, as the display of the plurality of insertion colors 40B and the second image 50B flowing from the right side of the screen spreads, the display of the first image 30B that has been displayed earlier is gradually as shown in FIG. 16A. Will be displayed compressed in the left direction of the screen. Thereafter, in place of the first image, a plurality of insertion colors 40B and the second image 50B are displayed in the entire screen area. Subsequently, a plurality of insertion colors 40B are also compressed and displayed in the left direction of the screen. Eventually, the entire screen area is switched to the second image 50B. An arrow r2 in FIG. 16A represents a state of transition processing that is displayed while spreading from the right end of the screen toward the left end of the screen in a state where the plurality of insertion colors 40B and the second image 50B are continuous.
 また、別の具体的な例として、例えば、図16Bに示すように、前後の画像の色評価値に基づいて得られた複数色の挿入色40Bの表示が画面右側から開始され、そのまま複数色の挿入色40Bのみが画面領域の全てに表示された後、それに続いて第2の画像50Bが画面右側から表示されていくようなトランジション処理を行ってもよい。このとき、画面右側から流れてくる複数色の挿入色40Bの表示が広がるにつれて、先に表示されていた第1の画像30Bの表示は、図16Bに示されるように徐々に画面左方向に圧縮されて表示されていく。その後、第1の画像に代わって、全画面領域に複数色の挿入色40Bが表示されるようになる。続いて、画面右側から第2の画像50Bの表示が画面左側に向かって開始される。第2の画像50Bの表示が広がるにつれて、先に表示されていた複数色の挿入色40Bの表示は、図16Bに示されるように徐々に画面左方向に圧縮されて表示されていく。そして最終的には、画面領域の全てが第2の画像50Bに切り替わる。図16Bの矢印r3は、複数色の挿入色40Bが画面右端から画面左側に向かって広がりながら表示されていくトランジション処理の様子を表現している。また、図16Bの矢印r4は、複数色の挿入色40Bが全画面領域に表示された後に、第2の画像50Bが画面右端から画面左側に向かって広がりながら表示されていくトランジション処理の様子を表現している。そして最終的には、画面領域の全てが第2の画像50Bに切り替わる。
 ここで、第1の画像30B及び第2の画像50Bに基づいた色評価値の算出には、上述した種々の算出法によって算出されてもよい。また、第1の画像30B及び第2の画像50Bに基づいて表示される挿入色40Bについても、上述した方法で決定された種々の挿入色であってもよい。
As another specific example, for example, as shown in FIG. 16B, display of a plurality of insertion colors 40B obtained based on the color evaluation values of the preceding and following images is started from the right side of the screen, After only the insertion color 40B is displayed on the entire screen area, a transition process in which the second image 50B is displayed from the right side of the screen may be performed. At this time, as the display of the plurality of insertion colors 40B flowing from the right side of the screen spreads, the display of the first image 30B displayed previously is gradually compressed in the left direction of the screen as shown in FIG. 16B. Will be displayed. Thereafter, a plurality of insertion colors 40B are displayed in the entire screen area instead of the first image. Subsequently, the display of the second image 50B starts from the right side of the screen toward the left side of the screen. As the display of the second image 50B spreads, the display of the plurality of insertion colors 40B displayed previously is gradually compressed and displayed in the left direction of the screen as shown in FIG. 16B. Eventually, the entire screen area is switched to the second image 50B. An arrow r3 in FIG. 16B represents a state of transition processing in which a plurality of insertion colors 40B are displayed while spreading from the right end of the screen toward the left side of the screen. In addition, an arrow r4 in FIG. 16B shows the state of the transition process in which the second image 50B is displayed spreading from the right end of the screen toward the left side of the screen after the plurality of insertion colors 40B are displayed in the entire screen area. expressing. Eventually, the entire screen area is switched to the second image 50B.
Here, the color evaluation values based on the first image 30B and the second image 50B may be calculated by the various calculation methods described above. Also, the insertion color 40B displayed based on the first image 30B and the second image 50B may be various insertion colors determined by the method described above.
 次に、例えば、スライドショー再生における最後の画像を表示終了する場合は、切替え後の画像(第2の画像)が無い状態である。この場合、画像表示装置は、これから表示を終了する切替え前の画像(第1の画像)から色評価値を算出し、その色評価値に基づいて得られた挿入色を使用してトランジション処理を行ってもよい。具体的には、例えば図17に示すように、第1の画像30Cが表示されている状態で、色評価値に基づいて得られた複数色の挿入色40Cが画面左側より画面右側に向かって広がりながら表示されるようにトランジション処理を行ってもよい。図17の矢印r5は、第1の画像30Cが表示されている画面において、複数色の挿入色40Cが画面右端から画面左側に向かって広がりながら表示されるトランジション処理の様子を表現している。また、第2の画像50Cは点線による四角で示されており、画像が無い状態を表現している。
 ここで、第1の画像30Cに基づいた色評価値の算出には、上述した種々の算出法によって算出されてもよい。また、挿入色40Cについても、上述した方法で決定された種々の挿入色であってもよい。
Next, for example, when the display of the last image in the slide show reproduction is ended, there is no image after switching (second image). In this case, the image display device calculates a color evaluation value from the image before switching (first image) from which display is to be finished, and performs transition processing using the insertion color obtained based on the color evaluation value. You may go. Specifically, for example, as shown in FIG. 17, in the state where the first image 30C is displayed, a plurality of insertion colors 40C obtained on the basis of the color evaluation value is shifted from the left side of the screen toward the right side of the screen. Transition processing may be performed so that the image is displayed while spreading. An arrow r5 in FIG. 17 represents a state of transition processing in which a plurality of insertion colors 40C are displayed while spreading from the right end of the screen toward the left side of the screen on the screen on which the first image 30C is displayed. The second image 50C is indicated by a dotted-line square and represents a state where there is no image.
Here, the color evaluation value based on the first image 30C may be calculated by the various calculation methods described above. Also, the insertion color 40C may be various insertion colors determined by the method described above.
 なお、上記実施形態における画像処理装置1は、切り替え前後の画像に基づいて切替え期間の挿入色を生成するのに加えて、切替え期間の長さを変更する処理をしてもよい。例えば、画像処理装置1は、動きの激しい画像を切替える場合、切替え期間の長さを短く、反対に、動きの激しくない画像を切替える場合、切替え期間の長さを長くする処理をしてもよい。また、画像処理装置1は、画像の動きベクトルの大きさに応じて、切替え期間の長さを変更してもよいし、画像の色評価値の変化率または音量に応じて、切替え期間の長さを変更してもよい。更に、画像処理装置1は、図2または図3に示す期間ST1(切替え期間)に対する期間ST2、期間ST3、または期間ST4の長さの割合を変更してもよい。 Note that the image processing apparatus 1 in the above embodiment may perform processing for changing the length of the switching period in addition to generating the insertion color of the switching period based on the images before and after the switching. For example, the image processing apparatus 1 may perform a process of shortening the length of the switching period when switching an image with a strong motion, and conversely increasing the length of the switching period when switching an image with a low motion. . In addition, the image processing apparatus 1 may change the length of the switching period according to the magnitude of the motion vector of the image, or the length of the switching period according to the change rate or volume of the color evaluation value of the image. You may change the size. Furthermore, the image processing apparatus 1 may change the ratio of the length of the period ST2, the period ST3, or the period ST4 to the period ST1 (switching period) shown in FIG.
 なお、上記実施形態におけるトランジション処理は、フェードイン処理またはフェードアウト処理としたが、これに限られるものではない。例えば、トランジション処理は、ワイプ処理であってもよいし、その他、画像をスクロールさせる処理、画像をオーバーラップさせる処理、または、各種の形状パターン(モザイク、ボックス、サークル等)によるトランジション処理としてもよい。また、画像処理装置1は、切替え前後の画像と挿入色の切替え画像との合成画像(例えば、切替え前の画像から徐々に挿入色に移り変わる画像、または挿入色から徐々に切替え後の画像に移り変わる画像)を生成せずに、切替え前後の画像の間に挿入色の切替え画像のみを挿入して切替える処理をしてもよい。 In addition, although the transition process in the said embodiment was made into the fade-in process or the fade-out process, it is not restricted to this. For example, the transition process may be a wipe process, or may be a process for scrolling images, a process for overlapping images, or a transition process using various shape patterns (mosaic, box, circle, etc.). . In addition, the image processing apparatus 1 is a composite image of the images before and after the switching and the switching image of the insertion color (for example, an image that gradually changes from the image before the switching to the insertion color, or an image that gradually changes from the insertion color to the image after the switching. (Image) may not be generated, and a process of switching by inserting only the switching image of the insertion color between the images before and after switching may be performed.
 なお、画像処理装置1の有する各部は専用のハードウェアにより実現されるものであってもよく、また、メモリおよびCPU(中央演算装置)により構成され、上述の各部の機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。 Each unit included in the image processing apparatus 1 may be realized by dedicated hardware, and is configured by a memory and a CPU (central processing unit), and a program for realizing the functions of the above-described units. The function may be realized by loading the program into a memory and executing it.
 また、画像処理装置1の有する各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述の各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。 Further, the program for realizing the function of each unit included in the image processing apparatus 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed, thereby executing the above-described process. You may perform the process of each part. Here, the “computer system” includes an OS and hardware such as peripheral devices.
 また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
 また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM or a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
 1 画像処理装置、6 記憶装置(記録部)、21 評価値算出部(算出部)、22 挿入色生成部(生成部)、23 動きベクトル検出部、24 動きベクトル判定部、25 変化率算出部25 色変化判定部、27 音量判定部、28 切替え処理部、100 画像表示装置、110 表示制御部、120 表示部、200 撮像装置、240 記録制御部 DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 6 Storage device (recording part), 21 Evaluation value calculation part (calculation part), 22 Insertion color generation part (generation part), 23 Motion vector detection part, 24 Motion vector determination part, 25 Change rate calculation part 25 color change determination unit, 27 volume determination unit, 28 switching processing unit, 100 image display device, 110 display control unit, 120 display unit, 200 imaging device, 240 recording control unit

Claims (26)

  1.  画像に基づいて前記画像の色の属性に関する評価値を算出する算出部と、
     第1の画像から第2の画像に切替えて表示する際の切替え期間に挿入される切替え画像の色である挿入色を、前記第1の画像に基づいて前記算出部により算出された評価値である第1の色評価値と前記第2の画像に基づいて前記算出部により算出された評価値である第2の色評価値との少なくとも一方に基づいて生成する生成部と、
     前記切替え期間に前記挿入色の前記切替え画像を挿入して、前記第1の画像から前記第2の画像に切替える処理をする切替え処理部と、
     を備えることを特徴とする画像処理装置。
    A calculation unit that calculates an evaluation value related to the color attribute of the image based on the image;
    The insertion color, which is the color of the switching image inserted in the switching period when switching from the first image to the second image for display, is the evaluation value calculated by the calculation unit based on the first image. A generation unit that generates based on at least one of a first color evaluation value and a second color evaluation value that is an evaluation value calculated by the calculation unit based on the second image;
    A switching processing unit that inserts the switching image of the insertion color in the switching period and performs a process of switching from the first image to the second image;
    An image processing apparatus comprising:
  2.  前記生成部は、
     前記第1の色評価値と前記第2の色評価値との間の色を、前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    The image processing apparatus according to claim 1, wherein a color between the first color evaluation value and the second color evaluation value is generated as the insertion color.
  3.  前記生成部は、
     前記第1の色評価値と前記第2の色評価値との間の色の補色を、前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    The image processing apparatus according to claim 1, wherein a complementary color of a color between the first color evaluation value and the second color evaluation value is generated as the insertion color.
  4.  前記生成部は、
     前記第1の色評価値、前記第2の色評価値、前記第1の色評価値と前記第2の色評価値との間の色及び前記第1の色評価値と前記第2の色評価値との間の色の補色のうち、複数色を前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    The first color evaluation value, the second color evaluation value, a color between the first color evaluation value and the second color evaluation value, and the first color evaluation value and the second color The image processing apparatus according to claim 1, wherein among the complementary colors of colors between the evaluation values, a plurality of colors are generated as the insertion colors.
  5.  前記生成部は、
     前記第1の色評価値、前記第2の色評価値、前記第1の色評価値と前記第2の色評価値との間の色及び前記第1の色評価値と前記第2の色評価値との間の色の補色との少なくとも一つと同輝度のモノクロ色を、前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    The first color evaluation value, the second color evaluation value, a color between the first color evaluation value and the second color evaluation value, and the first color evaluation value and the second color The image processing apparatus according to claim 1, wherein a monochrome color having the same luminance as at least one of complementary colors between evaluation values is generated as the insertion color.
  6.  前記生成部は、
     前記第1の画像のフレーム内に含まれる色を所定の基準に基づいて区分けしたカラーマップと前記第2の画像のフレーム内に含まれる色を所定の基準に基づいて区分けしたカラーマップを合わせて得られた最大面積を有する少なくとも一つの色を、前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    A color map obtained by dividing the colors included in the frame of the first image based on a predetermined criterion and a color map obtained by dividing the colors included in the frame of the second image based on the predetermined criterion are combined. The image processing apparatus according to claim 1, wherein at least one color having the maximum area obtained is generated as the insertion color.
  7.  前記生成部は、
     前記第1の画像のフレーム内に含まれる色を所定の基準に基づいて区分けしたカラーマップと前記第2の画像のフレーム内に含まれる色を所定の基準に基づいて区分けしたカラーマップから得られた少なくとも一つの共通色を、前記挿入色として生成する
     ことを特徴とする請求項1に記載の画像処理装置。
    The generator is
    It is obtained from a color map in which the colors included in the frame of the first image are segmented based on a predetermined criterion and a color map in which the colors included in the frame of the second image are segmented based on a predetermined criterion. The image processing apparatus according to claim 1, wherein at least one common color is generated as the insertion color.
  8.  前記画像の動きベクトルを検出する動きベクトル検出部と、
     前記画像から前記動きベクトル検出部により検出された動きベクトルの大きさが所定値以上であるか否かを判定する動きベクトル判定部と、
     をさらに備え、
     前記生成部は、
     前記第1の画像から前記動きベクトル検出部により検出された動きベクトル、または前記第2の画像から前記動きベクトル検出部により検出された動きベクトルの大きさが所定値以上であると判定された場合、前記第1の色評価値と前記第2の色評価値との間の色の補色を、前記挿入色として生成する
     ことを特徴とする請求項1から請求項7の何れか1項に記載の画像処理装置。
    A motion vector detector for detecting a motion vector of the image;
    A motion vector determination unit that determines whether the magnitude of the motion vector detected by the motion vector detection unit from the image is a predetermined value or more;
    Further comprising
    The generator is
    When the motion vector detected by the motion vector detection unit from the first image or the magnitude of the motion vector detected by the motion vector detection unit from the second image is determined to be greater than or equal to a predetermined value 8. The complementary color of the color between the first color evaluation value and the second color evaluation value is generated as the insertion color. 8. Image processing apparatus.
  9.  前記動きベクトル検出部は、
     前記画像が動画像である場合、前記画像の所定の複数フレームにおける動きベクトルを検出する
     ことを特徴とする請求項8に記載の画像処理装置。
    The motion vector detection unit
    The image processing apparatus according to claim 8, wherein when the image is a moving image, motion vectors in a predetermined plurality of frames of the image are detected.
  10.  前記画像に関連付けられている音が所定の音量以上であるか否かを判定する音量判定部、
     をさらに備え、
     前記生成部は、
     前記第1の画像に関連付けられている音、または前記第2の画像に関連付けられている音が所定の音量以上であると前記音量判定部により判定された場合、前記第1の色評価値と前記第2の色評価値との間の色の補色を、前記挿入色として生成する
     ことを特徴とする請求項1から請求項9の何れか1項に記載の画像処理装置。
    A volume determination unit for determining whether or not the sound associated with the image is equal to or higher than a predetermined volume;
    Further comprising
    The generator is
    If the sound volume determination unit determines that the sound associated with the first image or the sound associated with the second image is equal to or higher than a predetermined sound volume, the first color evaluation value The image processing apparatus according to claim 1, wherein a complementary color of a color between the second color evaluation value is generated as the insertion color.
  11.  前記画像が動画像である場合、前記算出部により前記画像のフレーム毎に算出された評価値の前記フレーム間の変化率を算出する変化率算出部と、
     前記変化率算出部により算出された変化率が所定の変化率以上であるか否かを判定する色変化判定部と、
     をさらに備え、
     前記生成部は、
     前記第1の画像から変化率算出部により算出された変化率、または前記第2の画像から変化率算出部により算出された変化率が所定の変化率以上であると前記色変化判定部により判定された場合、前記第1の色評価値と前記第2の色評価値との間の色の補色を、前記挿入色として生成する
     ことを特徴とする請求項1から請求項10の何れか1項に記載の画像処理装置。
    When the image is a moving image, a change rate calculation unit that calculates a change rate between the frames of the evaluation value calculated for each frame of the image by the calculation unit;
    A color change determination unit that determines whether or not the change rate calculated by the change rate calculation unit is equal to or greater than a predetermined change rate;
    Further comprising
    The generator is
    The color change determination unit determines that the change rate calculated by the change rate calculation unit from the first image or the change rate calculated by the change rate calculation unit from the second image is equal to or greater than a predetermined change rate. When it is, the complementary color of the color between the first color evaluation value and the second color evaluation value is generated as the insertion color. 11. The image processing apparatus according to item.
  12.  前記算出部は、
     前記画像のフレーム内における画素の色データの加算平均値を前記評価値として算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    The image processing apparatus according to any one of claims 1 to 11, wherein an average value of color data of pixels in the frame of the image is calculated as the evaluation value.
  13.  前記算出部は、
     前記画像が動画像である場合、前記画像のフレーム内における画素の色データの加算平均値を所定の複数フレーム分加算平均して前記評価値として算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    The said image is a moving image, The addition average value of the color data of the pixel in the frame of the said image is calculated and calculated as said evaluation value by carrying out the addition average of predetermined several frames. The image processing apparatus according to any one of 11.
  14.  前記算出部は、
     前記画像が動画像である場合、前記第1の画像の最後のフレーム内における画素の色データの加算平均値を前記第1の色評価値として算出するとともに、前記第2の画像の最初のフレーム内における画素の色データの加算平均値を前記第2の色評価値として算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    When the image is a moving image, an average value of color data of pixels in the last frame of the first image is calculated as the first color evaluation value, and the first frame of the second image is calculated. The image processing apparatus according to any one of claims 1 to 11, wherein an average addition value of color data of pixels in the pixel is calculated as the second color evaluation value.
  15.  前記算出部は、
     前記第1の画像及び前記第2の画像との少なくとも一方のフレーム内における画素の色データについて、同系色同士の画素の色データをグループ化し、前記グループから前記評価値を算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    For color data of pixels in at least one frame of the first image and the second image, color data of pixels of similar colors are grouped, and the evaluation value is calculated from the group. The image processing apparatus according to any one of claims 1 to 11.
  16.  前記算出部は、
     前記第1の画像及び前記第2の画像との少なくとも一方のフレーム内の画素の色データの平均に基づいた色を用いて前記評価値を算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    12. The evaluation value is calculated using a color based on an average of color data of pixels in at least one frame of the first image and the second image. The image processing apparatus according to any one of the above.
  17.  前記算出部は、
     前記第1の画像及び前記第2の画像との少なくとも一方のフレーム内の画素の色データの最大面積を用いて前記評価値を算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    12. The evaluation value is calculated using a maximum area of color data of pixels in at least one frame of the first image and the second image. The image processing apparatus according to item 1.
  18.  前記算出部は、
     前記第1の画像及び前記第2の画像との少なくとも一方のフレーム内における画素の色データの占める面積を大きい順に並べて前記評価値を算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    12. The evaluation value is calculated by arranging the areas occupied by color data of pixels in at least one frame of the first image and the second image in descending order. The image processing apparatus according to claim 1.
  19.  前記算出部は、
     前記第1の画像及び前記第2の画像との少なくとも一方のフレーム内におけて画素の色データから所定の基準に基づいて区分けしたカラーマップを作成し、前記カラーマップによって前記評価値を算出する
     ことを特徴とする請求項1から請求項11の何れか1項に記載の画像処理装置。
    The calculation unit includes:
    A color map divided based on a predetermined standard from color data of pixels in at least one frame of the first image and the second image is created, and the evaluation value is calculated by the color map. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
  20.  前記切替え処理部は、
     前記第1の画像及び前記第2の画像のどちらか一方の画像を切替える処理として、前記どちらか一方の画像の他方に前記第1の画像及び前記第2の画像に切替える処理を前記挿入色に基づいたトランジション処理とする
     ことを特徴とする請求項1から請求項19の何れか1項に記載の画像処理装置。
    The switching processing unit
    As a process for switching one of the first image and the second image, a process for switching the first image and the second image to the other of the one of the images is used as the insertion color. The image processing apparatus according to any one of claims 1 to 19, wherein a transition process is performed.
  21.  前記切替え処理部は、
     前記第1の画像から前記第2の画像に切替える処理として、前記第1の画像から前記第2の画像に切替える処理を前記挿入色に基づいたフェードイン処理またはフェードアウト処理とする
     ことを特徴とする請求項1から請求項19の何れか1項に記載の画像処理装置。
    The switching processing unit
    As a process of switching from the first image to the second image, a process of switching from the first image to the second image is a fade-in process or a fade-out process based on the insertion color. The image processing apparatus according to any one of claims 1 to 19.
  22.  請求項1から請求項21の何れか1項に記載の画像処理装置と、
     前記第1の画像と前記第2の画像とを表示する表示部と、
     前記第1の画像から前記第2の画像に切替えて表示させる場合に、前記切替え期間に前記挿入色の切替え画像を挿入して表示部に表示させる表示制御部と、
     を備えることを特徴とする画像表示装置。
    The image processing apparatus according to any one of claims 1 to 21,
    A display unit for displaying the first image and the second image;
    A display control unit that inserts the switching image of the insertion color during the switching period and displays it on the display unit when the first image is switched to the second image for display.
    An image display device comprising:
  23.  請求項1から請求項21の何れか1項に記載の画像処理装置
     を備えることを特徴とする撮像装置。
    An imaging apparatus comprising: the image processing apparatus according to any one of claims 1 to 21.
  24.  前記画像を記録する記録部と、
     動画像を記録する場合、前記動画像の記録開始直後の所定のフレーム期間、または記録停止の直前の所定のフレーム期間に、前記挿入色の前記切替え画像を挿入して前記記録部に記録する記録制御部と、
     を備えることを特徴とする請求項23に記載の撮像装置。
    A recording unit for recording the image;
    When recording a moving image, recording is performed in which the switching image of the insertion color is inserted and recorded in the recording unit during a predetermined frame period immediately after the start of recording of the moving image or a predetermined frame period immediately before the stop of recording. A control unit;
    The imaging apparatus according to claim 23, comprising:
  25.  画像処理装置としてのコンピュータに、
     画像に基づいて前記画像の色の属性に関する評価値を算出する算出手順と、
     第1の画像から第2の画像に切替えて表示される場合の切替え期間に挿入される切替え画像の色である挿入色を、前記第1の画像に基づいて算出された前記評価値である第1の色評価値と前記第2の画像に基づいて算出された前記評価値である第2の色評価値とに基づいて生成する生成手順と、
     前記切替え期間に前記挿入色の前記切替え画像を挿入して、前記第1の画像から前記第2の画像に切替える処理をする切替え処理手順と、
     を実行させるためのプログラム。
    In a computer as an image processing device,
    A calculation procedure for calculating an evaluation value related to a color attribute of the image based on the image;
    The insertion color, which is the color of the switching image inserted during the switching period when switching from the first image to the second image and being displayed, is the evaluation value calculated based on the first image. A generation procedure for generating based on a first color evaluation value and a second color evaluation value that is the evaluation value calculated based on the second image;
    A switching process procedure for inserting the switching image of the insertion color in the switching period and performing a process of switching from the first image to the second image;
    A program for running
  26.  前記第1の色評価値と前記第2の色評価値との間の色は、前記第1の色評価値と前記第2の色評価値との中間値となる色であることを特徴とする請求項3~5及び8~24に記載の画像処理装置。 The color between the first color evaluation value and the second color evaluation value is a color that is an intermediate value between the first color evaluation value and the second color evaluation value. The image processing apparatus according to any one of claims 3 to 5 and 8 to 24.
PCT/JP2012/061051 2011-04-26 2012-04-25 Image processing device, image display device, imaging device and program WO2012147772A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013512396A JPWO2012147772A1 (en) 2011-04-26 2012-04-25 Image processing apparatus, image display apparatus, imaging apparatus, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011-098188 2011-04-26
JP2011098188 2011-04-26

Publications (1)

Publication Number Publication Date
WO2012147772A1 true WO2012147772A1 (en) 2012-11-01

Family

ID=47072290

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/061051 WO2012147772A1 (en) 2011-04-26 2012-04-25 Image processing device, image display device, imaging device and program

Country Status (2)

Country Link
JP (1) JPWO2012147772A1 (en)
WO (1) WO2012147772A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160058325A (en) * 2014-11-14 2016-05-25 삼성디스플레이 주식회사 Display device and method for controlling the same
JP2016095173A (en) * 2014-11-12 2016-05-26 アルパイン株式会社 Navigation system and computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2962810B2 (en) * 1990-11-21 1999-10-12 株式会社日立製作所 Image display device
JP2007184869A (en) * 2006-01-10 2007-07-19 Fujifilm Corp Image processor, image processing method, and image processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2962810B2 (en) * 1990-11-21 1999-10-12 株式会社日立製作所 Image display device
JP2007184869A (en) * 2006-01-10 2007-07-19 Fujifilm Corp Image processor, image processing method, and image processing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016095173A (en) * 2014-11-12 2016-05-26 アルパイン株式会社 Navigation system and computer program
KR20160058325A (en) * 2014-11-14 2016-05-25 삼성디스플레이 주식회사 Display device and method for controlling the same
KR102289437B1 (en) * 2014-11-14 2021-08-12 삼성디스플레이 주식회사 Display device and method for controlling the same

Also Published As

Publication number Publication date
JPWO2012147772A1 (en) 2014-07-28

Similar Documents

Publication Publication Date Title
WO2018082165A1 (en) Optical imaging method and apparatus
JP5234119B2 (en) Imaging apparatus, imaging processing method, and program
CN103377642B (en) Picture pick-up device and display control apparatus
JP6317577B2 (en) Video signal processing apparatus and control method thereof
US20120307112A1 (en) Imaging apparatus, imaging method, and computer readable recording medium
JP2012222540A (en) Imaging apparatus
JP5186021B2 (en) Imaging apparatus, image processing apparatus, and imaging method
US9787906B2 (en) Image pickup device, image processing method, and recording medium
JP7285791B2 (en) Image processing device, output information control method, and program
US9172874B2 (en) Imaging apparatus and image generation method for generating one piece of image including a moving image and still image
US11438523B2 (en) Display control apparatus, display control method, and a non-transitory computer-readable medium
CN115242992A (en) Video processing method and device, electronic equipment and storage medium
JP2013085043A (en) Imaging device, imaging method, and imaging program
JP2018207497A (en) Image processing apparatus and image processing method, imaging apparatus, program, and storage medium
JP4742542B2 (en) Imaging device
US20140071307A1 (en) Image generation apparatus, imaging apparatus comprising the same, image generation method, and storage medium storing image generation program
WO2012147772A1 (en) Image processing device, image display device, imaging device and program
JP2015211233A (en) Image processing apparatus and control method for image processing apparatus
KR20160115694A (en) Image processing apparatus, image processing method, and computer program stored in recording medium
JP2009218689A (en) Photometry apparatus and imaging apparatus
JP6611567B2 (en) Display control apparatus and control method thereof
JP6202786B2 (en) Display control device and control method of display control device
JP2017126920A (en) Imaging apparatus
JP2011160183A (en) Imaging device and method
JP6590681B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12776402

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013512396

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12776402

Country of ref document: EP

Kind code of ref document: A1