Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4830950B2 - Information processing method, information processing apparatus, and program - Google Patents
[go: Go Back, main page]

JP4830950B2 - Information processing method, information processing apparatus, and program - Google Patents

Information processing method, information processing apparatus, and program Download PDF

Info

Publication number
JP4830950B2
JP4830950B2 JP2007098701A JP2007098701A JP4830950B2 JP 4830950 B2 JP4830950 B2 JP 4830950B2 JP 2007098701 A JP2007098701 A JP 2007098701A JP 2007098701 A JP2007098701 A JP 2007098701A JP 4830950 B2 JP4830950 B2 JP 4830950B2
Authority
JP
Japan
Prior art keywords
image
scene
data
identification
partial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007098701A
Other languages
Japanese (ja)
Other versions
JP2008258915A (en
Inventor
庸雄 河西
佳織 松本
広和 笠原
賢二 深沢
直樹 鍬田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007098701A priority Critical patent/JP4830950B2/en
Publication of JP2008258915A publication Critical patent/JP2008258915A/en
Application granted granted Critical
Publication of JP4830950B2 publication Critical patent/JP4830950B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Control Of Exposure In Printing And Copying (AREA)
  • Television Signal Processing For Recording (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、情報処理方法、情報処理装置及びプログラムに関する。   The present invention relates to an information processing method, an information processing apparatus, and a program.

デジタルスチルカメラには撮影モードを設定するモード設定ダイヤルを持つものがある。ユーザがダイヤルで撮影モードを設定すると、デジタルスチルカメラは撮影モードに応じた撮影条件(露光時間等)を決定し、撮影を行う。撮影が行われると、デジタルスチルカメラは、画像ファイルを生成する。この画像ファイルには、撮影した画像の画像データに、撮影時の撮影条件等の付加データが付加されている。   Some digital still cameras have a mode setting dial for setting a shooting mode. When the user sets the shooting mode with the dial, the digital still camera determines shooting conditions (such as exposure time) according to the shooting mode and performs shooting. When shooting is performed, the digital still camera generates an image file. In this image file, additional data such as shooting conditions at the time of shooting is added to the image data of the shot image.

一方、付加データに応じて画像データに画像処理することも行われている。例えば、プリンタが画像ファイルに基づいて印刷を行うとき、付加データの示す撮影条件に応じて画像データを補正し、補正した画像データに従って印刷することが行われている。
特開2001−238177号公報
On the other hand, image processing is also performed on image data according to additional data. For example, when a printer performs printing based on an image file, the image data is corrected according to the shooting conditions indicated by the additional data, and printing is performed according to the corrected image data.
JP 2001-238177 A

デジタルスチルカメラが画像ファイルを生成するとき、付加データに、ダイヤル設定に応じたシーン情報が記憶されることがある。一方、ユーザが撮影モードを設定し忘れると、画像データの内容と不一致なシーン情報が付加データに記憶されてしまう。このため、付加データのシーン情報を用いずに、画像データを解析して画像データのシーンを識別することがある。
ところで、付加データの示すシーンと、識別結果のシーンとが不一致のとき、ユーザへ確認画面を表示することがある。この確認画面によるユーザの確認を待って処理を進めると、処理を開始するまでの時間が長くなる。
本発明は、確認画面を表示しつつ、処理を速く進めることを目的とする。
When the digital still camera generates an image file, scene information corresponding to dial settings may be stored in the additional data. On the other hand, if the user forgets to set the shooting mode, scene information that does not match the content of the image data is stored in the additional data. For this reason, the scene of the image data may be identified by analyzing the image data without using the scene information of the additional data.
By the way, when the scene indicated by the additional data does not match the scene of the identification result, a confirmation screen may be displayed to the user. If the process is advanced after the user confirms the confirmation screen, the time until the process is started becomes longer.
An object of the present invention is to speed up processing while displaying a confirmation screen.

上記目的を達成するための主たる発明は、画像データに付加されている付加データから画像データのシーン情報を取得し、前記画像データに基づいて前記画像データの示す画像のシーンを識別し、前記シーン情報の示すシーンと識別したシーンとを比較し、前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示する情報処理方法であって、前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始することを特徴とする。
本発明の他の特徴については、本明細書及び添付図面の記載により明らかにする。
A main invention for achieving the above object is to obtain scene information of image data from additional data added to image data, identify an image scene indicated by the image data based on the image data, and An information processing method for comparing a scene indicated by information with an identified scene and displaying a confirmation screen when there is a mismatched image in which the scene indicated by the scene information does not match the identified scene, wherein the mismatched image Before the image processing is performed on the image, the image processing is started on the matching image in which the scene indicated by the scene information and the identified scene are not inconsistent.
Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

本明細書及び添付図面の記載により、少なくとも、以下の事項が明らかとなる。   At least the following matters will become clear from the description of the present specification and the accompanying drawings.

画像データに付加されている付加データから、画像データのシーン情報を取得し、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別し、
前記シーン情報の示すシーンと識別したシーンとを比較し、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示する情報処理方法であって、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始することを特徴とする情報処理方法が明らかになる。
このような情報処理方法によれば、画像処理を早く開始できる。
From the additional data added to the image data, obtain the scene information of the image data,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
An information processing method for displaying a confirmation screen when there is a mismatch image in which the scene indicated by the scene information and the identified scene do not match,
An information processing method is characterized in that before image processing is performed on the unmatched image, image processing is started on a matched image in which the scene indicated by the scene information and the identified scene do not match. .
According to such an information processing method, image processing can be started quickly.

また、前記確認画面が表示されているときに、前記一致画像に対して画像処理が施されることが望ましい。これにより、画像処理を早く開始できる。   Further, it is desirable that image processing is performed on the matching image when the confirmation screen is displayed. Thereby, image processing can be started early.

また、前記確認画面を表示する前に、前記一致画像についてのジョブを作成し、前記確認画面を表示した後に、前記不一致画像についてのジョブを作成し、処理装置は、前記ジョブの優先順位に従って、前記ジョブを実行することが望ましい。これにより、画像処理を早く開始できる。   Further, before displaying the confirmation screen, create a job for the matching image, and after displaying the confirmation screen, create a job for the non-matching image, and the processing device, according to the priority of the job, It is desirable to execute the job. Thereby, image processing can be started early.

また、前記不一致画像についてのジョブを作成した後、前記ジョブの前記優先順位を変更することが望ましい。これにより、番号順に画像処理される画像ファイルの数を増やすことができる。   In addition, it is desirable to change the priority of the job after creating a job for the mismatched image. As a result, the number of image files subjected to image processing in numerical order can be increased.

また、前記不一致画像についてのジョブを作成した後に、複数の画像データの順に従って前記ジョブを実行できるならば、前記ジョブの前記優先順位を変更し、前記複数の画像データの順に従って前記ジョブを実行できないならば、前記ジョブの前記優先順位を変更しないことが望ましい。これにより、複数の画像データの順に従ってジョブを実行できる。   In addition, if the job can be executed in the order of a plurality of image data after creating the job for the mismatched image, the priority order of the job is changed and the job is executed in the order of the plurality of image data. If not, it is desirable not to change the priority of the job. Thereby, a job can be executed in the order of a plurality of image data.

また、前記不一致画像についてのジョブを作成した後に、前記複数の画像データの順に従って前記ジョブを実行できないならば、警告画面を表示することが望ましい。これにより、ユーザへ注意を喚起できる。   In addition, it is desirable to display a warning screen if the job cannot be executed in the order of the plurality of image data after the job for the mismatched image is created. Thereby, a user can be alerted.

コントローラを備える情報処理装置であって、
前記コントローラは、
画像データに付加されている付加データから、画像データのシーン情報を取得し、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別し、
前記シーン情報の示すシーンと識別したシーンとを比較し、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示し、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始する
ことを特徴とする情報処理装置が明らかになる。
このような情報処理装置によれば、画像処理を早く開始できる。
An information processing apparatus comprising a controller,
The controller is
From the additional data added to the image data, obtain the scene information of the image data,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
When there is a mismatch image in which the scene indicated by the scene information does not match the identified scene, a confirmation screen is displayed,
Before the image processing is performed on the unmatched image, an information processing apparatus is disclosed that starts image processing on a matched image in which the scene indicated by the scene information and the identified scene do not match. .
According to such an information processing apparatus, image processing can be started quickly.

情報処理装置に、
画像データに付加されている付加データから、画像データのシーン情報を取得させ、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別させ、
前記シーン情報の示すシーンと識別したシーンとを比較させ、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示させ、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始させる
ことを特徴とするプログラムが明らかになる。
このようなプログラムによれば、画像処理を早く開始できる。
In the information processing device,
From the additional data added to the image data, the scene information of the image data is acquired,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
When there is a mismatch image in which the scene indicated by the scene information and the identified scene do not match, a confirmation screen is displayed,
Before the image processing is performed on the unmatched image, a program that starts image processing on a matched image in which the scene indicated by the scene information and the identified scene do not match is clarified.
According to such a program, image processing can be started quickly.

===全体構成===
図1は、画像処理システムの説明図である。この画像処理システムは、デジタルスチルカメラ2と、プリンタ4とを備える。
=== Overall structure ===
FIG. 1 is an explanatory diagram of an image processing system. This image processing system includes a digital still camera 2 and a printer 4.

デジタルスチルカメラ2は、被写体をデジタルデバイス(CCDなど)に結像させることによりデジタル画像を取得するカメラである。デジタルスチルカメラ2には、モード設定ダイヤル2Aが設けられている。ユーザは、ダイヤル2Aによって、撮影条件に応じた撮影モードを設定することができる。例えば、ダイヤル2Aによって「夜景」モードが設定されると、デジタルスチルカメラ2は、シャッター速度を遅くしたり、ISO感度を高くしたりして、夜景撮影に適した撮影条件にて撮影を行う。
デジタルスチルカメラ2は、ファイルフォーマット規格に準拠して、撮影により生成した画像ファイルをメモリカード6に保存する。画像ファイルには、撮影した画像のデジタルデータ(画像データ)だけでなく、撮影時の撮影条件(撮影データ)等の付加データも保存される。
The digital still camera 2 is a camera that acquires a digital image by forming an image of a subject on a digital device (CCD or the like). The digital still camera 2 is provided with a mode setting dial 2A. The user can set the shooting mode according to the shooting conditions by using the dial 2A. For example, when the “night scene” mode is set by the dial 2A, the digital still camera 2 performs shooting under shooting conditions suitable for night scene shooting by decreasing the shutter speed or increasing the ISO sensitivity.
The digital still camera 2 stores an image file generated by photographing in the memory card 6 in accordance with the file format standard. In the image file, not only digital data (image data) of a captured image but also additional data such as a shooting condition (shooting data) at the time of shooting is stored.

プリンタ4は、画像データの示す画像を紙に印刷する印刷装置である。プリンタ4には、メモリカード6を挿入するスロット21が設けられている。ユーザは、デジタルスチルカメラ2で撮影した後、デジタルスチルカメラ2からメモリカード6を取り出し、スロット21にメモリカード6を挿入することができる。   The printer 4 is a printing device that prints an image indicated by image data on paper. The printer 4 is provided with a slot 21 into which the memory card 6 is inserted. The user can take a picture with the digital still camera 2, remove the memory card 6 from the digital still camera 2, and insert the memory card 6 into the slot 21.

パネル部15は、表示部16と、各種のボタンを有する入力部17とを備える。表示部16は、液晶ディスプレイにより構成される。表示部16がタッチパネルであれば、表示部16は入力部17としても機能する。表示部16には、プリンタ4の設定を行うための設定画面や、メモリカードから読み取った画像データの画像や、ユーザへの確認や警告のための画面などが表示される。なお、表示部16が表示する各種の画面については、後述する。   The panel unit 15 includes a display unit 16 and an input unit 17 having various buttons. The display unit 16 is configured by a liquid crystal display. If the display unit 16 is a touch panel, the display unit 16 also functions as the input unit 17. The display unit 16 displays a setting screen for setting the printer 4, an image of image data read from the memory card, a screen for confirmation and warning to the user, and the like. Various screens displayed by the display unit 16 will be described later.

図2は、プリンタ4の構成の説明図である。プリンタ4は、印刷機構10と、この印刷機構10を制御するプリンタ側コントローラ20とを備える。印刷機構10は、インクを吐出するヘッド11と、ヘッド11を制御するヘッド制御部12と、紙を搬送するため等のモータ13と、センサ14とを有する。プリンタ側コントローラ20は、メモリカード6からデータを送受信するためのメモリ用スロット21と、CPU22と、メモリ23と、モータ13を制御する制御ユニット24と、駆動信号(駆動波形)を生成する駆動信号生成部25とを有する。また、プリンタ側コントローラ20は、パネル部15を制御するパネル制御部26も備えている。   FIG. 2 is an explanatory diagram of the configuration of the printer 4. The printer 4 includes a printing mechanism 10 and a printer-side controller 20 that controls the printing mechanism 10. The printing mechanism 10 includes a head 11 that ejects ink, a head control unit 12 that controls the head 11, a motor 13 for conveying paper, and a sensor 14. The printer-side controller 20 includes a memory slot 21 for transmitting and receiving data from the memory card 6, a CPU 22, a memory 23, a control unit 24 for controlling the motor 13, and a drive signal for generating a drive signal (drive waveform). And a generation unit 25. The printer-side controller 20 also includes a panel control unit 26 that controls the panel unit 15.

メモリカード6がスロット21に挿入されると、プリンタ側コントローラ20は、メモリカード6に保存されている画像ファイルを読み出してメモリ23に記憶する。そして、プリンタ側コントローラ20は、画像ファイルの画像データを、印刷機構10で印刷するための印刷データに変換し、印刷データに基づいて印刷機構10を制御し、紙に画像を印刷する。この一連の動作は、「ダイレクトプリント」と呼ばれている。   When the memory card 6 is inserted into the slot 21, the printer-side controller 20 reads out the image file stored in the memory card 6 and stores it in the memory 23. Then, the printer-side controller 20 converts the image data of the image file into print data for printing by the printing mechanism 10, controls the printing mechanism 10 based on the printing data, and prints an image on paper. This series of operations is called “direct printing”.

なお、「ダイレクトプリント」は、メモリカード6をスロット21に挿入することによって行われるだけでなく、デジタルスチルカメラ2とプリンタ4とをケーブル(不図示)で接続することによっても可能である。また、ダイレクトプリントの設定にパネル部15が用いられる(後述)。また、ダイレクトプリント時の確認画面の表示や確認の入力にもパネル部15が用いられる(後述)。   “Direct printing” is not only performed by inserting the memory card 6 into the slot 21, but also by connecting the digital still camera 2 and the printer 4 with a cable (not shown). Further, the panel unit 15 is used for setting direct printing (described later). The panel unit 15 is also used to display a confirmation screen during direct printing and to input confirmation (described later).

===画像ファイルの構造===
画像ファイルは、画像データと、付加データとから構成されている。画像データは、複数の画素データから構成されている。画素データは、画素の色情報(階調値)を示すデータである。画素がマトリクス状に配置されることによって、画像が構成される。このため、画像データは、画像を示すデータである。付加データには、画像データの特性を示すデータや、撮影データや、サムネイル画像データ等が含まれる。
=== Image File Structure ===
The image file is composed of image data and additional data. The image data is composed of a plurality of pixel data. The pixel data is data indicating pixel color information (gradation value). An image is formed by arranging the pixels in a matrix. Therefore, the image data is data indicating an image. The additional data includes data indicating the characteristics of image data, shooting data, thumbnail image data, and the like.

以下、画像ファイルの具体的な構造について説明する。
図3は、画像ファイルの構造の説明図である。図中の左側には画像ファイルの全体構成が示されており、右側にはAPP1領域の構成が示されている。
Hereinafter, a specific structure of the image file will be described.
FIG. 3 is an explanatory diagram of the structure of the image file. The left side of the figure shows the overall configuration of the image file, and the right side shows the configuration of the APP1 area.

画像ファイルは、SOI(Start of image)を示すマーカで始まり、EOI(End of Image)を示すマーカで終わる。SOIを示すマーカの後に、APP1のデータ領域の開始を示すAPP1マーカがある。APP1マーカの後のAPP1のデータ領域には、撮影データやサムネイル画像等の付加データが含まれている。また、SOS(Start of Stream)を示すマーカの後には、画像データが含まれている。   The image file starts with a marker indicating SOI (Start of image) and ends with a marker indicating EOI (End of Image). After the marker indicating SOI, there is an APP1 marker indicating the start of the data area of APP1. The APP1 data area after the APP1 marker includes additional data such as shooting data and thumbnail images. In addition, image data is included after the marker indicating SOS (Start of Stream).

APP1マーカの後、APP1のデータ領域のサイズを示す情報があり、EXIFヘッダとTIFFヘッダが続き、IFD領域となる。   After the APP1 marker, there is information indicating the size of the data area of APP1, followed by an EXIF header and a TIFF header, which becomes an IFD area.

各IFD領域は、複数のディレクトリエントリと、次のIFD領域の位置を示すリンクと、データエリアとを有する。例えば、最初のIFD0(IFD of main image)では次のIFD1(IFD of thumbnail image)の位置がリンクされる。但し、ここではIFD1の次のIFDが存在しないのでIFD1では他のIFDへのリンクは行われない。各ディレクトリエントリには、タグとデータ部が含まれる。格納すべきデータ量が小さい場合にはデータ部に実際のデータがそのまま格納され、データ量が多い場合には実際のデータはIFD0データエリアに格納されて、データ部にはデータの格納場所を示すポインタが格納される。なお、IFD0には、ExifSubIFDの格納場所を意味するタグ(Exif IFD Pointer)と、ExifSubIFDの格納場所を示すポインタ(オフセット値)とが格納されているディレクトリエントリがある。   Each IFD area has a plurality of directory entries, a link indicating the position of the next IFD area, and a data area. For example, in the first IFD0 (IFD of main image), the position of the next IFD1 (IFD of thumbnail image) is linked. However, since there is no IFD next to IFD 1 here, IFD 1 does not link to another IFD. Each directory entry includes a tag and a data portion. When the amount of data to be stored is small, the actual data is stored as it is in the data portion. When the amount of data is large, the actual data is stored in the IFD0 data area, and the data portion indicates the data storage location. A pointer is stored. The IFD 0 includes a directory entry in which a tag (Exif IFD Pointer) indicating the storage location of the Exif Sub IFD and a pointer (offset value) indicating the storage location of the Exif Sub IFD are stored.

ExifSubIFD領域は、複数のディレクトリエントリを有する。このディレクトリエントリにも、タグとデータ部が含まれる。格納すべきデータ量が小さい場合にはデータ部に実際のデータがそのまま格納され、データ量が多い場合には実際のデータはExifSubIFDデータエリアに格納されて、データ部にはデータの格納場所を示すポインタが格納される。なお、ExifSubIFDの中には、MakernoteIFDの格納場所を意味するタグと、MakernoteIFDの格納場所を示すポインタとが格納されている。   The Exif SubIFD area has a plurality of directory entries. This directory entry also includes a tag and a data portion. When the amount of data to be stored is small, the actual data is stored as it is in the data portion, and when the amount of data is large, the actual data is stored in the ExifSubIFD data area, and the data portion indicates the data storage location. A pointer is stored. In the ExifSubIFD, a tag indicating the storage location of the Makernote IFD and a pointer indicating the storage location of the Makernote IFD are stored.

MakernoteIFD領域は、複数のディレクトリエントリを有する。このディレクトリエントリにも、タグとデータ部が含まれる。格納すべきデータ量が小さい場合にはデータ部に実際のデータがそのまま格納され、データ量が多い場合には実際のデータはMakernoteIFDデータエリアにデータが格納されて、データ部にはデータの格納場所を示すポインタが格納される。但し、MakernoteIFD領域ではデータの格納形式を自由に定義できるので、必ずしもこの形式でデータを格納しなくても良い。以下の説明では、MakernoteIFD領域に格納されるデータのことを「MakerNoteデータ」と呼ぶ。   The Makernote IFD area has a plurality of directory entries. This directory entry also includes a tag and a data portion. When the amount of data to be stored is small, the actual data is stored as it is in the data portion. When the amount of data is large, the actual data is stored in the Makernote IFD data area, and the data portion stores the data. Is stored. However, since the data storage format can be freely defined in the Makernote IFD area, it is not always necessary to store data in this format. In the following description, data stored in the Makernote IFD area is referred to as “MakerNote data”.

図4Aは、IFD0で使われるタグの説明図である。図に示す通り、IFD0には一般的なデータ(画像データの特性を示すデータ)が格納され、詳細な撮影データは格納されていない。   FIG. 4A is an explanatory diagram of tags used in IFD0. As shown in the drawing, general data (data indicating the characteristics of image data) is stored in IFD0, and detailed photographing data is not stored.

図4Bは、ExifSubIFDで使われるタグの説明図である。図に示す通り、ExifSubIFDには詳細な撮影データが格納されている。なお、シーン識別処理の際に抽出される撮影データの大部分は、ExifSubIFDに格納されている撮影データである。なお、撮影シーンタイプタグ(Scene Capture Type)は、撮影シーンのタイプを示すタグである。また、Makernoteタグは、MakernoteIFDの格納場所を意味するタグである。   FIG. 4B is an explanatory diagram of tags used in the Exif SubIFD. As shown in the figure, Exif SubIFD stores detailed shooting data. Note that most of the shooting data extracted in the scene identification process is shooting data stored in the Exif SubIFD. The shooting scene type tag (Scene Capture Type) is a tag indicating the type of shooting scene. Further, the Makernote tag is a tag indicating the storage location of the Makernote IFD.

ExifSubIFD領域の撮影シーンタイプタグに対するデータ部(撮影シーンタイプデータ)が、「ゼロ」ならば「標準」を意味し、「1」ならば「風景」を意味し、「2」ならば「人物」を意味し、「3」ならば「夜景」を意味する。なお、ExifSubIFDに格納されたデータは規格化されているため、この撮影シーンタイプデータの内容を誰でも知ることが可能である。   If the data portion (shooting scene type data) for the shooting scene type tag in the Exif SubIFD area is “zero”, it means “standard”, “1” means “landscape”, and “2” means “person”. "3" means "night view". Since the data stored in the Exif SubIFD is standardized, anyone can know the contents of the shooting scene type data.

本実施形態では、Makernoteデータの一つに、撮影モードデータが含まれている。この撮影モードデータでは、モード設定ダイヤル2Aで設定されたモード毎に異なる値を示す。但し、MakerNoteデータは、メーカ毎に形式が異なるため、MakerNoteデータの形式が分からなければ、撮影モードデータの内容を知ることはできない。   In the present embodiment, shooting mode data is included in one of the Makernote data. In this shooting mode data, a different value is shown for each mode set by the mode setting dial 2A. However, since the MakerNote data has a different format for each manufacturer, the contents of the shooting mode data cannot be known unless the format of the MakerNote data is known.

図5は、モード設定ダイヤル2Aの設定とデータとの対応表である。ExifSubIFDで使われる撮影シーンタイプタグは、ファイルフォーマット規格に準拠しているため、特定できるシーンが限定されており、「夕景」等のシーンを特定するデータをデータ部に格納することはできない。一方、MakerNoteデータは自由に定義できるので、MakerNoteデータの一つである撮影モードタグにより、モード設定ダイヤル2Aの撮影モードを特定するデータをデータ部に格納できる。   FIG. 5 is a correspondence table between the setting of the mode setting dial 2A and data. Since the shooting scene type tag used in the Exif SubIFD conforms to the file format standard, the scenes that can be specified are limited, and data for specifying a scene such as “evening scene” cannot be stored in the data portion. On the other hand, since the MakerNote data can be freely defined, the data specifying the shooting mode of the mode setting dial 2A can be stored in the data portion by the shooting mode tag which is one of the MakerNote data.

前述のデジタルスチルカメラ2は、モード設定ダイヤル2Aの設定に応じた撮影条件にて撮影を行った後、上記の画像ファイルを作成し、メモリカード6に保存する。この画像ファイルには、モード設定ダイヤル2Aに応じた撮影シーンタイプデータ及び撮影モードデータが、画像データに付加されるシーン情報として、それぞれExifSubIFD領域及びMakernoteIFD領域に格納される。   The above-described digital still camera 2 shoots under shooting conditions corresponding to the setting of the mode setting dial 2 </ b> A, then creates the above image file and stores it in the memory card 6. In this image file, shooting scene type data and shooting mode data corresponding to the mode setting dial 2A are stored in the Exif SubIFD area and the Makernote IFD area, respectively, as scene information added to the image data.

===自動補正機能の概要===
「人物」の写真を印刷するときには、肌色をきれいにしたいという要求がある。また、「風景」の写真を印刷するときには、空の青色を強調し、木や草の緑色を強調したいという要求がある。そこで、本実施形態のプリンタ4は、画像ファイルを分析して自動的に適した補正処理を行う自動補正機能を備えている。
=== Outline of automatic correction function ===
When printing a “person” photo, there is a demand to clean the skin tone. In addition, when printing a “landscape” photograph, there is a demand for emphasizing the blue of the sky and the green of trees and grass. Therefore, the printer 4 of the present embodiment includes an automatic correction function that analyzes an image file and automatically performs a suitable correction process.

図6は、プリンタ4の自動補正機能の説明図である。図中のプリンタ側コントローラ20の各要素は、ソフトウェアとハードウェアによって実現される。   FIG. 6 is an explanatory diagram of the automatic correction function of the printer 4. Each element of the printer-side controller 20 in the figure is realized by software and hardware.

記憶部31は、メモリ23の一部の領域及びCPU22によって実現される。メモリカード6から読み出された画像ファイルの全部又は一部は、記憶部31の画像記憶部31Aに展開される。また、プリンタ側コントローラ20の各要素の演算結果は、記憶部31の結果記憶部31Bに格納される。   The storage unit 31 is realized by a partial area of the memory 23 and the CPU 22. All or part of the image file read from the memory card 6 is developed in the image storage unit 31 </ b> A of the storage unit 31. In addition, the calculation result of each element of the printer-side controller 20 is stored in the result storage unit 31B of the storage unit 31.

顔識別部32は、CPU22と、メモリ23に記憶された顔識別プログラムとによって実現される。顔識別部32は、画像記憶部31Aに記憶された画像データを分析し、顔の有無を識別する。顔識別部32によって顔が有ると識別された場合、識別対象となる画像が「人物」のシーンに属すると識別される。顔識別部32による顔識別処理は、既に広く行われている処理と同様なので、詳細な説明は省略する。   The face identification unit 32 is realized by the CPU 22 and a face identification program stored in the memory 23. The face identification unit 32 analyzes the image data stored in the image storage unit 31A and identifies the presence or absence of a face. When the face identifying unit 32 identifies that there is a face, the image to be identified is identified as belonging to the “person” scene. Since the face identification process by the face identification unit 32 is the same as a process that has already been widely performed, detailed description thereof is omitted.

なお、顔識別部32は、識別対象となる画像が「人物」のシーンに属する確率(確信度)も算出する。この確信度は、画像に占める肌色の画素の割合、肌色の画像の形状、画素データの示す色と肌色の記憶色との近接度合い、などから算出される。顔識別部32の識別結果は、結果記憶部31Bに記憶される。   The face identifying unit 32 also calculates the probability (certainty factor) that the image to be identified belongs to the scene of “person”. This certainty factor is calculated from the ratio of the skin color pixels in the image, the shape of the skin color image, the degree of proximity between the color indicated by the pixel data and the memory color of the skin color, and the like. The identification result of the face identification unit 32 is stored in the result storage unit 31B.

シーン識別部33は、CPU22と、メモリ23に記憶されたシーン識別プログラムとによって実現される。シーン識別部33は、画像記憶部31Aに記憶された画像ファイルを分析し、画像データの示す画像のシーンを識別する。顔識別部32による顔識別処理の後に、シーン識別部33によるシーン識別処理が行われる。後述するように、シーン識別部33は、識別対象となる画像が「風景」、「夕景」、「夜景」、「花」、「紅葉」のいずれの画像であるかを識別する。なお、シーン識別部33の識別結果や確信度の情報も、結果記憶部31Bに記憶される。   The scene identification unit 33 is realized by the CPU 22 and a scene identification program stored in the memory 23. The scene identification unit 33 analyzes the image file stored in the image storage unit 31A and identifies the scene of the image indicated by the image data. After the face identifying process by the face identifying unit 32, the scene identifying process by the scene identifying unit 33 is performed. As will be described later, the scene identification unit 33 identifies whether the image to be identified is an image of “landscape”, “evening scene”, “night scene”, “flower”, or “autumn leaves”. Note that the identification result of the scene identification unit 33 and information on the certainty factor are also stored in the result storage unit 31B.

図7は、画像のシーンと補正内容との関係の説明図である。
画像補正部34は、CPU22と、メモリ23に記憶された画像補正プログラムとによって実現される。画像補正部34は、記憶部31の結果記憶部31B(後述)に記憶されている識別結果(顔識別部32やシーン識別部33の識別結果)に基づいて、画像記憶部31Aの画像データを補正する。例えば、シーン識別部33の識別結果が「風景」である場合には、青色を強調し、緑色を強調するような補正が行われる。但し、画像ファイルの付加データの示すシーンと、識別結果の示すシーンとが不一致の場合、画像補正部34は、後述する所定の確認処理をした後、確認結果に応じて画像データを補正する。
FIG. 7 is an explanatory diagram of a relationship between an image scene and correction contents.
The image correction unit 34 is realized by the CPU 22 and an image correction program stored in the memory 23. The image correction unit 34 converts the image data of the image storage unit 31A based on the identification results (identification results of the face identification unit 32 and the scene identification unit 33) stored in the result storage unit 31B (described later) of the storage unit 31. to correct. For example, when the identification result of the scene identification unit 33 is “landscape”, correction is performed so that blue is emphasized and green is emphasized. However, when the scene indicated by the additional data of the image file and the scene indicated by the identification result do not match, the image correction unit 34 corrects the image data according to the confirmation result after performing a predetermined confirmation process described later.

プリンタ制御部35は、CPU22、駆動信号生成部25、制御ユニット24及びメモリ23に記憶されたプリンタ制御プログラムによって、実現される。プリンタ制御部35は、補正後の画像データを印刷データに変換し、印刷機構10に画像を印刷させる。   The printer control unit 35 is realized by a printer control program stored in the CPU 22, the drive signal generation unit 25, the control unit 24, and the memory 23. The printer control unit 35 converts the corrected image data into print data, and causes the printing mechanism 10 to print the image.

===シーン識別処理===
図8は、シーン識別部33によるシーン識別処理のフロー図である。図9は、シーン識別部33の機能の説明図である。図中のシーン識別部33の各要素は、ソフトウェアとハードウェアによって実現される。シーン識別部33は、図9に示す特徴量取得部40と、全体識別器50と、部分識別器60と、統合識別器70とを備えている。
=== Scene Identification Processing ===
FIG. 8 is a flowchart of scene identification processing by the scene identification unit 33. FIG. 9 is an explanatory diagram of the function of the scene identification unit 33. Each element of the scene identification unit 33 in the figure is realized by software and hardware. The scene identification unit 33 includes a feature amount acquisition unit 40, an overall classifier 50, a partial classifier 60, and an integrated classifier 70 shown in FIG.

最初に、特徴量取得部40が、記憶部31の画像記憶部31Aに展開された画像データを分析し、部分特徴量を取得する(S101)。具体的には、特徴量取得部40は、画像データを8×8の64ブロックに分割し、各ブロックの色平均と分散を算出し、この色平均と分散を部分特徴量として取得する。なお、ここでは各画素はYCC色空間における階調値のデータをもっており、各ブロックごとに、Yの平均値、Cbの平均値及びCrの平均値がそれぞれ算出され、Yの分散、Cbの分散及びCrの分散がそれぞれ算出される。つまり、各ブロックごとに3つの色平均と3つの分散が部分特徴量として算出される。これらの色平均や分散は、各ブロックにおける部分画像の特徴を示すものである。なお、RGB色空間における平均値や分散を算出しても良い。
ブロックごとに色平均と分散が算出されるので、特徴量取得部40は、画像記憶部31Aには画像データの全てを展開せずに、ブロック分の画像データをブロック順に展開する。このため、画像記憶部31Aは、必ずしも画像ファイルの全てを展開できるだけの容量を備えていなくても良い。
First, the feature amount acquisition unit 40 analyzes the image data developed in the image storage unit 31A of the storage unit 31 and acquires partial feature amounts (S101). Specifically, the feature amount acquisition unit 40 divides the image data into 8 × 8 64 blocks, calculates the color average and variance of each block, and acquires the color average and variance as partial feature amounts. Here, each pixel has gradation value data in the YCC color space, and the average value of Y, the average value of Cb, and the average value of Cr are calculated for each block, and the variance of Y and the variance of Cb are calculated. And the variance of Cr are calculated respectively. That is, three color averages and three variances are calculated as partial feature amounts for each block. These color averages and variances indicate the characteristics of the partial images in each block. Note that an average value or variance in the RGB color space may be calculated.
Since the color average and variance are calculated for each block, the feature amount acquisition unit 40 expands the image data for the blocks in the block order without expanding all the image data in the image storage unit 31A. For this reason, the image storage unit 31A does not necessarily have a capacity sufficient to expand all of the image files.

次に、特徴量取得部40が、全体特徴量を取得する(S102)。具体的には、特徴量取得部40は、画像データの全体の色平均、分散、重心及び撮影情報を、全体特徴量として取得する。なお、これらの色平均や分散は、画像の全体の特徴を示すものである。画像データ全体の色平均、分散及び重心は、先に算出した部分特徴量を用いて算出される。このため、全体特徴量を算出する際に、画像データを再度展開する必要がないので、全体特徴量の算出速度が速くなる。全体識別処理(後述)は部分識別処理(後述)よりも先に行われるにも関わらず、全体特徴量が部分特徴量よりも後に求められるのは、このように算出速度を速めるためである。なお、撮影情報は、画像ファイルの撮影データから抽出される。具体的には、絞り値、シャッター速度、フラッシュ発光の有無などの情報が全体特徴量として用いられる。但し、画像ファイルの撮影データの全てが全体特徴量として用いられるわけではない。   Next, the feature amount acquisition unit 40 acquires the entire feature amount (S102). Specifically, the feature quantity acquisition unit 40 acquires the overall color average, variance, center of gravity, and shooting information of the image data as the overall feature quantity. Note that these color averages and variances indicate the overall characteristics of the image. The color average, variance, and center of gravity of the entire image data are calculated using the partial feature values calculated previously. For this reason, it is not necessary to re-expand the image data when calculating the entire feature amount, and the calculation speed of the entire feature amount is increased. Although the overall identification process (described later) is performed prior to the partial identification process (described later), the overall feature value is obtained after the partial feature value in order to increase the calculation speed. The shooting information is extracted from the shooting data of the image file. Specifically, information such as the aperture value, shutter speed, and the presence or absence of flash emission is used as the overall feature amount. However, not all shooting data of the image file is used as the entire feature amount.

次に、全体識別器50が、全体識別処理を行う(S103)。全体識別処理とは、全体特徴量に基づいて、画像データの示す画像のシーンを識別(推定)する処理である。全体識別処理の詳細については、後述する。   Next, the overall classifier 50 performs overall identification processing (S103). The overall identification process is a process for identifying (estimating) an image scene indicated by image data based on the overall feature amount. Details of the overall identification process will be described later.

全体識別処理によってシーンの識別ができる場合(S104でYES)、シーン識別部33は、記憶部31の結果記憶部31Bに識別結果を記憶することによってシーンを決定し(S109)、シーン識別処理を終了する。つまり、全体識別処理によってシーンの識別ができた場合(S104でYES)、部分識別処理や統合識別処理が省略される。これにより、シーン識別処理の速度が速くなる。   If the scene can be identified by the overall identification process (YES in S104), the scene identification unit 33 determines the scene by storing the identification result in the result storage unit 31B of the storage unit 31 (S109), and performs the scene identification process. finish. That is, when the scene can be identified by the overall identification process (YES in S104), the partial identification process and the integrated identification process are omitted. This increases the speed of the scene identification process.

全体識別処理によってシーンの識別ができない場合(S104でNO)、次に部分識別器60が、部分識別処理を行う(S105)。部分識別処理とは、部分特徴量に基づいて、画像データの示す画像全体のシーンを識別する処理である。部分識別処理の詳細については、後述する。   If the scene cannot be identified by the overall identification process (NO in S104), the partial classifier 60 performs the partial identification process (S105). The partial identification process is a process for identifying the scene of the entire image indicated by the image data based on the partial feature amount. Details of the partial identification processing will be described later.

部分識別処理によってシーンの識別ができる場合(S106でYES)、シーン識別部33は、記憶部31の結果記憶部31Bに識別結果を記憶することによってシーンを決定し(S109)、シーン識別処理を終了する。つまり、部分識別処理によってシーンの識別ができた場合(S106でYES)、統合識別処理が省略される。これにより、シーン識別処理の速度が速くなる。   When the scene can be identified by the partial identification process (YES in S106), the scene identification unit 33 determines the scene by storing the identification result in the result storage unit 31B of the storage unit 31 (S109), and performs the scene identification process. finish. That is, when the scene can be identified by the partial identification process (YES in S106), the integrated identification process is omitted. This increases the speed of the scene identification process.

部分識別処理によってシーンの識別ができない場合(S106でNO)、次に統合識別器70が、統合識別処理を行う(S107)。統合識別処理の詳細については、後述する。   If the scene cannot be identified by the partial identification process (NO in S106), the integrated discriminator 70 performs the integrated identification process (S107). Details of the integrated identification process will be described later.

統合識別処理によってシーンの識別ができる場合(S108でYES)、シーン識別部33は、記憶部31の結果記憶部31Bに識別結果を記憶することによってシーンを決定し(S109)、シーン識別処理を終了する。一方、統合識別処理によってシーンの識別ができない場合(S108でNO)、シーン識別部33は、候補となるシーン(シーン候補)の全てを、結果記憶部31Bに記憶する(S110)。このとき、シーン候補とともに、確信度も結果記憶部31Bに記憶される。   When the scene can be identified by the integrated identification process (YES in S108), the scene identification unit 33 determines the scene by storing the identification result in the result storage unit 31B of the storage unit 31 (S109), and performs the scene identification process. finish. On the other hand, when the scene cannot be identified by the integrated identification process (NO in S108), the scene identification unit 33 stores all the candidate scenes (scene candidates) in the result storage unit 31B (S110). At this time, the certainty factor is stored in the result storage unit 31B together with the scene candidate.

シーン識別処理(全体識別処理・部分識別処理・統合識別処理)の結果、図8のS104、S106及びS108においていずれかYESの場合、プリンタ側コントローラ20は、確信度の比較的高い1つのシーンを識別できる。また、S108においてNOの場合、プリンタ側コントローラ20は、確信度の比較的低い少なくとも1つのシーン(シーン候補)を識別できる。なお、S108においてNOの場合、シーン候補は1つの場合もあれば、2以上の場合もある。   As a result of the scene identification process (whole identification process / partial identification process / integrated identification process), if any of S104, S106, and S108 in FIG. 8 is YES, the printer-side controller 20 selects one scene with a relatively high certainty factor. Can be identified. If NO in S108, the printer-side controller 20 can identify at least one scene (scene candidate) with a relatively low certainty factor. If NO in S108, there may be one scene candidate or two or more scene candidates.

===全体識別処理===
図10は、全体識別処理のフロー図である。ここでは図9も参照しながら全体識別処理について説明する。
=== Overall identification processing ===
FIG. 10 is a flowchart of the overall identification process. Here, the overall identification process will be described with reference to FIG.

まず、全体識別器50は、複数のサブ識別器51の中から1つのサブ識別器51を選択する(S201)。全体識別器50には、識別対象となる画像(識別対象画像)が特定のシーンに属するか否かを識別するサブ識別器51が5つ設けられている。5つのサブ識別器51は、それぞれ風景、夕景、夜景、花、紅葉のシーンを識別する。ここでは、全体識別器50は、風景→夕景→夜景→花→紅葉の順に、サブ識別器51を選択する。このため、最初には、識別対象画像が風景のシーンに属するか否かを識別するサブ識別器51(風景識別器51L)が選択される。   First, the overall classifier 50 selects one sub-classifier 51 from the plurality of sub-classifiers 51 (S201). The overall classifier 50 is provided with five sub-classifiers 51 for identifying whether an image to be identified (identification target image) belongs to a specific scene. The five sub classifiers 51 identify scenes of scenery, evening scene, night scene, flowers, and autumn leaves, respectively. Here, the overall classifier 50 selects the sub classifier 51 in the order of landscape → evening scene → night scene → flower → autumn leaves. For this reason, first, the sub classifier 51 (landscape classifier 51L) for identifying whether or not the classification target image belongs to a landscape scene is selected.

次に、全体識別器50は、識別対象テーブルを参照し、選択したサブ識別器51を用いてシーンを識別すべきか否かを判断する(S202)。
図11は、識別対象テーブルの説明図である。この識別対象テーブルは、記憶部31の結果記憶部31Bに記憶される。識別対象テーブルは、最初の段階では全ての欄がゼロに設定される。S202の処理では、「否定」欄が参照され、ゼロであればYESと判断され、1であればNOと判断される。ここでは、全体識別器50は、識別対象テーブルにおける「風景」欄の「否定」欄を参照し、ゼロであるのでYESと判断する。
Next, the overall classifier 50 refers to the classification target table and determines whether or not a scene should be identified using the selected sub-classifier 51 (S202).
FIG. 11 is an explanatory diagram of the identification target table. This identification target table is stored in the result storage unit 31B of the storage unit 31. In the identification target table, all fields are set to zero in the first stage. In the process of S202, the “No” column is referred to, and if it is zero, it is determined as YES, and if it is 1, it is determined as NO. Here, the overall classifier 50 refers to the “No” column in the “Scenery” column in the identification target table, and determines “YES” because it is zero.

次に、サブ識別器51は、全体特徴量に基づいて、判別式の値を算出する(S203)。この判別式の値は、識別対象画像が特定のシーンに属する確率(確信度)と関係している(後述)。本実施形態のサブ識別器51には、サポートベクタマシン(SVM)による識別手法が用いられている。なお、サポートベクタマシンについては、後述する。識別対象画像が特定のシーンに属する場合、サブ識別器51の判別式は、プラスの値になりやすい。識別対象画像が特定のシーンに属しない場合、サブ識別器51の判別式は、マイナスの値になりやすい。また、判別式は、識別対象画像が特定のシーンに属する確信度が高いほど、大きい値になる。このため、判別式の値が大きければ、識別対象画像が特定のシーンに属する確率(確信度)が高くなり、判別式の値が小さければ、識別対象画像が特定のシーンに属する確率が低くなる。   Next, the sub classifier 51 calculates the value of the discriminant based on the entire feature amount (S203). The value of this discriminant is related to the probability (confidence) that the identification target image belongs to a specific scene (described later). For the sub classifier 51 of this embodiment, a classification method using a support vector machine (SVM) is used. The support vector machine will be described later. When the classification target image belongs to a specific scene, the discriminant of the sub classifier 51 tends to be a positive value. When the classification target image does not belong to a specific scene, the discriminant of the sub classifier 51 tends to be a negative value. Further, the discriminant becomes a larger value as the certainty that the identification target image belongs to the specific scene is higher. For this reason, if the discriminant value is large, the probability (confidence) that the identification target image belongs to a specific scene is high, and if the discriminant value is small, the probability that the classification target image belongs to a specific scene is low. .

次に、サブ識別器51は、判別式の値が肯定閾値より大きいか否かを判断する(S204)。判別式の値が肯定閾値より大きければ、サブ識別器51は、識別対象画像が特定のシーンに属すると判断することになる。   Next, the sub discriminator 51 determines whether or not the value of the discriminant is larger than the positive threshold (S204). If the value of the discriminant is larger than the positive threshold, the sub discriminator 51 determines that the classification target image belongs to a specific scene.

図12は、全体識別処理の肯定閾値の説明図である。同図において、横軸は肯定閾値を示し、縦軸はRecall又はPrecisionの確率を示す。図13は、RecallとPrecisionの説明図である。判別式の値が肯定閾値以上の場合には識別結果はPositiveであり、判別式の値が肯定閾値以上でない場合には識別結果はNegativeである。   FIG. 12 is an explanatory diagram of an affirmative threshold value of the overall identification process. In the figure, the horizontal axis indicates an affirmative threshold, and the vertical axis indicates the probability of recall or precision. FIG. 13 is an explanatory diagram of Recall and Precision. If the discriminant value is greater than or equal to the positive threshold, the identification result is Positive. If the discriminant value is not greater than or equal to the positive threshold, the identification result is Negative.

Recallは、再現率や検出率を示すものである。Recallは、特定のシーンの画像の総数に対する、特定のシーンに属すると識別された画像の数の割合である。言い換えると、Recallは、特定のシーンの画像をサブ識別器51に識別させたときに、サブ識別器51がPositiveと識別する確率(特定のシーンの画像が特定のシーンに属すると識別される確率)を示すものである。例えば、風景画像を風景識別器51Lに識別させたときに、風景のシーンに属すると風景識別器51Lが識別する確率を示すものである。   Recall indicates the recall rate and detection rate. Recall is the ratio of the number of images identified as belonging to a specific scene to the total number of images of the specific scene. In other words, Recall is the probability that the sub-identifier 51 identifies the image as a positive when the image of the specific scene is identified by the sub-identifier 51 (the probability that the image of the specific scene belongs to the specific scene. ). For example, when a landscape image is identified by the landscape classifier 51L, it indicates the probability that the landscape classifier 51L identifies it as belonging to a landscape scene.

Precisionは、正答率や正解率を示すものである。Precisionは、Positiveと識別された画像の総数に対する、特定のシーンの画像の数の割合である。言い換えると、Precisionは、特定のシーンを識別するサブ識別器51がPositiveと識別したときに、識別対象の画像が特定のシーンである確率を示すものである。例えば、風景識別器51Lが風景のシーンに属すると識別したときに、その識別した画像が本当に風景画像である確率を示すものである。   Precision indicates the correct answer rate and the correct answer rate. Precision is the ratio of the number of images in a particular scene to the total number of images identified as Positive. In other words, Precision indicates the probability that the image to be identified is a specific scene when the sub-classifier 51 that identifies the specific scene identifies it as Positive. For example, when the landscape classifier 51L identifies that it belongs to a landscape scene, it indicates the probability that the identified image is really a landscape image.

図12から分かる通り、肯定閾値を大きくするほど、Precisionが大きくなる。このため、肯定閾値を大きくするほど、例えば風景のシーンに属すると識別された画像が風景画像である確率が高くなる。つまり、肯定閾値を大きくするほど、誤識別の確率が低くなる。
一方、肯定閾値を大きくするほど、Recallは小さくなる。この結果、例えば、風景画像を風景識別器51Lで識別した場合であっても、風景のシーンに属すると正しく識別しにくくなる。ところで、識別対象画像が風景のシーンに属すると識別できれば(S204でYES)、残りの別のシーン(夕景など)の識別を行わないようにして全体識別処理の速度を速めている。このため、肯定閾値を大きくするほど、全体識別処理の速度は低下することになる。また、全体識別処理によってシーンが識別できれば部分識別処理を行わないようにしてシーン識別処理の速度を速めているため(S104)、肯定閾値を大きくするほど、シーン識別処理の速度は低下することになる。
つまり、肯定閾値が小さすぎると誤識別の確率が高くなり、大きすぎると処理速度が低下することになる。本実施形態では、正答率(Precision)を97.5%に設定するため、風景の肯定閾値は1.72に設定されている。
As can be seen from FIG. 12, the larger the positive threshold, the greater the Precision. For this reason, the larger the positive threshold value, the higher the probability that an image identified as belonging to a landscape scene, for example, is a landscape image. That is, the greater the positive threshold, the lower the probability of misidentification.
On the other hand, the larger the positive threshold, the smaller the Recall. As a result, for example, even when a landscape image is identified by the landscape classifier 51L, it is difficult to correctly identify it as belonging to a landscape scene. By the way, if the image to be identified can be identified as belonging to a landscape scene (YES in S204), the speed of the overall identification process is increased so as not to identify other remaining scenes (such as sunsets). For this reason, the larger the positive threshold, the lower the overall identification processing speed. Further, if the scene can be identified by the overall identification process, the partial identification process is not performed and the speed of the scene identification process is increased (S104). Therefore, as the positive threshold is increased, the scene identification process speed decreases. Become.
That is, if the positive threshold is too small, the probability of misidentification increases, and if it is too large, the processing speed decreases. In the present embodiment, since the accuracy rate (Precision) is set to 97.5%, the landscape affirmation threshold is set to 1.72.

判別式の値が肯定閾値より大きければ(S204でYES)、サブ識別器51は、識別対象画像が特定のシーンに属すると判断し、肯定フラグを立てる(S205)。「肯定フラグを立てる」とは、図11の「肯定」欄を1にすることである。この場合、全体識別器50は、次のサブ識別器51による識別を行わずに、全体識別処理を終了する。例えば、風景画像であると識別できれば、夕景などの識別を行わずに、全体識別処理を終了する。この場合、次のサブ識別器51による識別を省略しているので、全体識別処理の速度を速めることができる。   If the discriminant value is greater than the affirmative threshold value (YES in S204), the sub-classifier 51 determines that the classification target image belongs to a specific scene and sets an affirmative flag (S205). “Set an affirmative flag” means that the “affirmation” column in FIG. In this case, the overall discriminator 50 ends the overall discrimination process without performing discrimination by the next sub discriminator 51. For example, if the image can be identified as a landscape image, the entire identification process is terminated without identifying the sunset scene or the like. In this case, since the identification by the next sub-identifier 51 is omitted, the speed of the overall identification process can be increased.

判別式の値が肯定閾値より大きくなければ(S204でNO)、サブ識別器51は、識別対象画像が特定のシーンに属すると判断できず、次のS206の処理を行う。   If the value of the discriminant is not greater than the positive threshold (NO in S204), the sub discriminator 51 cannot determine that the classification target image belongs to a specific scene, and performs the next process of S206.

次に、サブ識別器51は、判別式の値と否定閾値とを比較する(S206)。これにより、サブ識別器51は、識別対象画像が所定のシーンに属しないかを判断する。このような判断としては、2種類ある。第1に、ある特定のシーンのサブ識別器51の判別式の値が第1否定閾値より小さければ、その特定のシーンに識別対象画像が属しないと判断されることになる。例えば、風景識別器51Lの判別式の値が第1否定閾値より小さければ、識別対象画像が風景のシーンに属しないと判断されることになる。第2に、ある特定のシーンのサブ識別器51の判別式の値が第2否定閾値より大きければ、その特定のシーンとは別のシーンに識別対象画像が属しないと判断されることになる。例えば、風景識別器51Lの判別式の値が第2否定閾値より大きければ、識別対象画像が夜景のシーンに属しないと判断されることになる。   Next, the sub discriminator 51 compares the discriminant value with a negative threshold value (S206). Thereby, the sub classifier 51 determines whether the classification target image does not belong to a predetermined scene. There are two types of such determinations. First, if the value of the discriminant of the sub-identifier 51 of a specific scene is smaller than the first negative threshold, it is determined that the classification target image does not belong to the specific scene. For example, if the discriminant value of the landscape classifier 51L is smaller than the first negative threshold, it is determined that the classification target image does not belong to a landscape scene. Second, if the value of the discriminant of the sub-identifier 51 of a specific scene is larger than the second negative threshold, it is determined that the classification target image does not belong to a scene different from the specific scene. . For example, if the discriminant value of the landscape classifier 51L is larger than the second negative threshold, it is determined that the classification target image does not belong to the night scene.

図14は、第1否定閾値の説明図である。同図において、横軸は第1否定閾値を示し、縦軸は確率を示す。グラフの太線は、True Negative Recallのグラフであり、風景画像以外の画像を風景画像ではないと正しく識別する確率を示している。グラフの細線は、False Negative Recallのグラフであり、風景画像なのに風景画像ではないと誤って識別する確率を示している。   FIG. 14 is an explanatory diagram of the first negative threshold. In the figure, the horizontal axis indicates the first negative threshold, and the vertical axis indicates the probability. The bold line in the graph is a True Negative Recall graph, and indicates the probability of correctly identifying an image other than a landscape image as not a landscape image. The thin line in the graph is a False Negative Recall graph, which indicates the probability of erroneously identifying a landscape image that is not a landscape image.

図14から分かる通り、第1否定閾値を小さくするほど、False Negative Recallが小さくなる。このため、第1否定閾値を小さくするほど、例えば風景のシーンに属しないと識別された画像が風景画像である確率が低くなる。つまり、誤識別の確率が低くなる。
一方、第1否定閾値を小さくするほど、True Negative Recallも小さくなる。この結果、風景画像以外の画像を風景画像ではないと識別しにくくなる。その一方、識別対象画像が特定シーンでないことを識別できれば、部分識別処理の際に、その特定シーンのサブ部分識別器61による処理を省略してシーン識別処理速度を速めている(後述、図17のS302)。このため、第1否定閾値を小さくするほど、シーン識別処理速度は低下する。
つまり、第1否定閾値が大きすぎると誤識別の確率が高くなり、小さすぎると処理速度が低下することになる。本実施形態では、False Negative Recallを2.5%に設定するため、第1否定閾値は−1.01に設定されている。
As can be seen from FIG. 14, the False Negative Recall is reduced as the first negative threshold is reduced. For this reason, the smaller the first negative threshold, the lower the probability that an image identified as not belonging to a landscape scene is a landscape image, for example. That is, the probability of misidentification is reduced.
On the other hand, the True Negative Recall decreases as the first negative threshold decreases. As a result, it is difficult to identify an image other than a landscape image unless it is a landscape image. On the other hand, if it is possible to identify that the identification target image is not a specific scene, the process by the sub partial classifier 61 for the specific scene is omitted during the partial identification process to speed up the scene identification processing speed (described later in FIG. 17). S302). For this reason, the scene identification processing speed decreases as the first negative threshold is decreased.
That is, if the first negative threshold is too large, the probability of misidentification increases, and if it is too small, the processing speed decreases. In this embodiment, in order to set False Negative Recall to 2.5%, the first negative threshold is set to −1.01.

ところで、ある画像が風景のシーンに属する確率が高ければ、必然的にその画像が夜景のシーンに属する確率は低くなる。このため、風景識別器51Lの判別式の値が大きい場合には、夜景ではないと識別できる場合がある。このような識別を行うために、第2否定閾値が設けられる。   By the way, if the probability that an image belongs to a landscape scene is high, the probability that the image belongs to a night scene is inevitably low. For this reason, when the discriminant value of the landscape discriminator 51L is large, it may be identified that the scene is not a night scene. In order to perform such identification, a second negative threshold is provided.

図15は、第2否定閾値の説明図である。同図において、横軸は風景の判別式の値を示し、縦軸は確率を示す。同図には、図12のRecallとPrecisionのグラフとともに、夜景のRecallのグラフが点線で描かれている。この点線のグラフに注目すると、風景の判別式の値が−0.44よりも大きければ、その画像が夜景画像である確率は2.5%である。言い換えると、風景の判別式の値が−0.44より大きい場合にその画像が夜景画像でないと識別しても、誤識別の確率は2.5%にすぎない。そこで、本実施形態では、第2否定閾値が−0.44に設定されている。   FIG. 15 is an explanatory diagram of the second negative threshold. In the figure, the horizontal axis indicates the value of the landscape discriminant, and the vertical axis indicates the probability. In this figure, the Recall graph of the night view is drawn with a dotted line together with the Recall and Precision graph of FIG. When attention is paid to this dotted line graph, if the value of the discriminant of landscape is larger than −0.44, the probability that the image is a night scene image is 2.5%. In other words, if the landscape discriminant value is greater than −0.44, even if the image is identified as not a night scene image, the probability of misidentification is only 2.5%. Therefore, in the present embodiment, the second negative threshold is set to −0.44.

そして、判別式の値が第1否定閾値より小さい場合、又は、判別式の値が第2否定閾値より大きい場合(S206でYES)、サブ識別器51は、識別対象画像が所定のシーンに属しないと判断し、否定フラグを立てる(S207)。「否定フラグを立てる」とは、図11の「否定」欄を1にすることである。例えば、第1否定閾値に基づいて識別対象画像が風景のシーンに属しないと判断された場合、「風景」欄の「否定」欄が1になる。また、第2否定閾値に基づいて識別対象画像が夜景のシーンに属しないと判断された場合、「夜景」欄の「否定」欄が1になる。   When the discriminant value is smaller than the first negative threshold value, or when the discriminant value is larger than the second negative threshold value (YES in S206), the sub-classifier 51 determines that the classification target image belongs to a predetermined scene. It is determined not to do so, and a negative flag is set (S207). “Set a negative flag” means to set the “No” column in FIG. For example, when it is determined that the image to be identified does not belong to a landscape scene based on the first negative threshold, the “denial” column in the “landscape” column is 1. Further, when it is determined that the identification target image does not belong to the night scene based on the second negative threshold, the “Negation” field in the “Night scene” field is “1”.

図16Aは、上記で説明した風景識別器51Lにおける閾値の説明図である。風景識別器51Lには、肯定閾値及び否定閾値が予め設定されている。肯定閾値として1.72が設定されている。否定閾値には第1否定閾値と第2否定閾値とがある。第1否定閾値として−1.01が設定されている。また、第2否定閾値として、風景以外の各シーンにそれぞれ値が設定されている。   FIG. 16A is an explanatory diagram of threshold values in the landscape classifier 51L described above. An affirmative threshold value and a negative threshold value are preset in the landscape discriminator 51L. 1.72 is set as the positive threshold. The negative threshold includes a first negative threshold and a second negative threshold. -1.01 is set as the first negative threshold. In addition, a value is set for each scene other than the landscape as the second negative threshold.

図16Bは、上記で説明した風景識別器51Lの処理の概要の説明図である。ここでは、説明の簡略化のため、第2否定閾値については夜景についてのみ説明する。風景識別器51Lは、判別式の値が1.72より大きければ(S204でYES)、識別対象画像が風景のシーンに属すると判断する。また、判別式の値が1.72以下であり(S204でNO)、−0.44より大きければ(S206でYES)、風景識別器51Lは、識別対象画像が夜景のシーンに属しないと判断する。また、判別式の値が−1.01より小さければ(S206でYES)、風景識別器51Lは、識別対象画像が風景のシーンに属しないと判断する。なお、風景識別器51Lは、夕景や紅葉についても、第2否定閾値に基づいて、識別対象画像がそのシーンに属しないかを判断する。但し、花の第2否定閾値は肯定閾値よりも大きいため、識別対象画像が花のシーンに属しないことを風景識別器51Lが判断することはない。   FIG. 16B is an explanatory diagram outlining the processing of the landscape classifier 51L described above. Here, for simplification of description, only the night view will be described for the second negative threshold. If the discriminant value is greater than 1.72 (YES in S204), the landscape classifier 51L determines that the classification target image belongs to a landscape scene. If the discriminant value is 1.72 or less (NO in S204) and is greater than −0.44 (YES in S206), the landscape classifier 51L determines that the classification target image does not belong to the night scene. To do. If the value of the discriminant is smaller than −1.01 (YES in S206), the landscape classifier 51L determines that the classification target image does not belong to a landscape scene. Note that the landscape classifier 51L also determines whether the image to be identified does not belong to the scene based on the second negative threshold for the evening scene and the autumn leaves. However, since the second negative threshold for flowers is larger than the positive threshold, the landscape discriminator 51L does not determine that the classification target image does not belong to the flower scene.

S202においてNOの場合、S206でNOの場合、又はS207の処理を終えた場合、全体識別器50は、次のサブ識別器51の有無を判断する(S208)。ここでは風景識別器51Lによる処理を終えた後なので、全体識別器50は、S208において、次のサブ識別器51(夕景識別器51S)があると判断する。   In the case of NO in S202, in the case of NO in S206, or when the processing in S207 is completed, the overall discriminator 50 determines the presence or absence of the next sub discriminator 51 (S208). Here, since the process by the landscape classifier 51L is finished, the overall classifier 50 determines in S208 that there is a next sub-classifier 51 (evening scene classifier 51S).

そして、S205の処理を終えた場合(識別対象画像が特定のシーンに属すると判断された場合)、又は、S208において次のサブ識別器51がないと判断された場合(識別対象画像が特定のシーンに属すると判断できなかった場合)、全体識別器50は、全体識別処理を終了する。   Then, when the process of S205 is finished (when it is determined that the identification target image belongs to a specific scene), or when it is determined in S208 that there is no next sub-classifier 51 (the identification target image is a specific image). When it cannot be determined that the scene belongs to the scene), the overall discriminator 50 ends the overall discrimination process.

なお、既に説明した通り、全体識別処理が終了すると、シーン識別部33は、全体識別処理によってシーンの識別ができたか否かを判断する(図8のS104)。このとき、シーン識別部33は、図11の識別対象テーブルを参照し、「肯定」欄に1があるか否かを判断することになる。   As already described, when the overall identification process is completed, the scene identification unit 33 determines whether or not the scene has been identified by the overall identification process (S104 in FIG. 8). At this time, the scene identification unit 33 refers to the identification target table in FIG. 11 and determines whether or not there is 1 in the “affirmation” column.

全体識別処理によってシーンの識別ができた場合(S104でYES)、部分識別処理や統合識別処理が省略される。これにより、シーン識別処理の速度が速くなる。   If the scene can be identified by the overall identification process (YES in S104), the partial identification process and the integrated identification process are omitted. This increases the speed of the scene identification process.

===部分識別処理===
図17は、部分識別処理のフロー図である。部分識別処理は、全体識別処理によってシーンの識別ができなかった場合(図8のS104でNO)に行われる。以下に説明するように、部分識別処理は、分割された分割画像のシーンをそれぞれ識別することによって、画像全体のシーンを識別する処理である。ここでは図9も参照しながら部分識別処理について説明する。
=== Partial identification processing ===
FIG. 17 is a flowchart of the partial identification process. The partial identification process is performed when the scene cannot be identified by the overall identification process (NO in S104 of FIG. 8). As will be described below, the partial identification process is a process of identifying the scene of the entire image by identifying each scene of the divided divided image. Here, the partial identification process will be described with reference to FIG.

まず、部分識別器60は、複数のサブ部分識別器61の中から1つのサブ部分識別器61を選択する(S301)。部分識別器60には、サブ部分識別器61が3つ設けられている。各サブ部分識別器61は、8×8の64ブロックに分割された部分画像がそれぞれ特定のシーンに属するか否かを識別する。ここでの3つのサブ部分識別器61は、それぞれ夕景、花、紅葉のシーンを識別する。部分識別器60は、夕景→花→紅葉の順に、サブ部分識別器61を選択する。このため、最初には、部分画像が夕景のシーンに属するか否かを識別するサブ部分識別器61(夕景部分識別器61S)が選択される。   First, the partial classifier 60 selects one sub partial classifier 61 from the plurality of sub partial classifiers 61 (S301). The partial discriminator 60 is provided with three sub partial discriminators 61. Each sub partial discriminator 61 discriminates whether or not each partial image divided into 8 × 8 64 blocks belongs to a specific scene. Here, the three sub partial classifiers 61 identify the scenes of sunset, flowers, and autumn leaves, respectively. The partial discriminator 60 selects the sub partial discriminator 61 in the order of evening scene → flower → autumn leaves. Therefore, first, the sub partial classifier 61 (evening scene partial classifier 61S) for identifying whether or not the partial image belongs to the sunset scene is selected.

次に、部分識別器60は、識別対象テーブル(図11)を参照し、選択したサブ部分識別器61を用いてシーンを識別すべきか否かを判断する(S302)。ここでは、部分識別器60は、識別対象テーブルにおける「夕景」欄の「否定」欄を参照し、ゼロであればYESと判断し、1であればNOと判断する。なお、全体識別処理の際に、夕景識別器51Sが第1否定閾値により否定フラグを立てたとき、又は、他のサブ識別器51が第2否定閾値により否定フラグを立てたとき、このS302でNOと判断される。仮にNOと判断されると夕景の部分識別処理は省略されることになるので、部分識別処理の速度が速くなる。但し、ここでは説明の都合上、YESと判断されるものとする。   Next, the partial discriminator 60 refers to the discrimination target table (FIG. 11) and determines whether or not the scene should be discriminated using the selected sub partial discriminator 61 (S302). Here, the partial discriminator 60 refers to the “No” column of the “Evening Scene” column in the classification target table, and determines YES if it is zero, and NO if it is 1. When the evening scene classifier 51S sets a negative flag with the first negative threshold during the overall identification process or when another sub-classifier 51 sets a negative flag with the second negative threshold, in S302 It is judged as NO. If it is determined NO, the sunset partial identification process is omitted, and the partial identification process speed increases. However, for the convenience of explanation, it is assumed that YES is determined here.

次に、サブ部分識別器61は、8×8の64ブロックに分割された部分画像の中から、1つの部分画像を選択する(S303)。
図18は、夕景部分識別器61Sが選択する部分画像の順番の説明図である。部分画像から画像全体のシーンを識別するような場合、識別に用いられる部分画像は、被写体が存在する部分であることが望ましい。そこで、本実施形態では、数千枚のサンプルの夕景画像を用意し、各夕景画像を8×8の64ブロックに分割し、夕景部分画像(夕景の太陽と空の部分画像)を含むブロックを抽出し、抽出されたブロックの位置に基づいて各ブロックにおける夕景部分画像の存在確率を算出した。そして、本実施形態では、存在確率の高いブロックから順番に、部分画像が選択される。なお、図に示す選択順序の情報は、プログラムの一部としてメモリ23に格納されている。
Next, the sub partial discriminator 61 selects one partial image from the partial images divided into 8 × 8 64 blocks (S303).
FIG. 18 is an explanatory diagram of the order of partial images selected by the evening scene partial classifier 61S. When a scene of the entire image is identified from the partial image, it is desirable that the partial image used for identification is a portion where the subject exists. Therefore, in this embodiment, thousands of samples of sunset scene images are prepared, each sunset scene image is divided into 64 blocks of 8 × 8, and blocks including sunset scene partial images (sun and sky partial images of the sunset scene) are included. The presence probability of the sunset partial image in each block was calculated based on the extracted block position. And in this embodiment, a partial image is selected in an order from a block with a high existence probability. Note that the selection order information shown in the figure is stored in the memory 23 as part of the program.

なお、夕景画像の場合、画像の中央付近から上半分に夕景の空が広がっていることが多いため、中央付近から上半分のブロックにおいて存在確率が高くなる。また、夕景画像の場合、画像の下1/3では逆光で陰になり、部分画像単体では夕景か夜景か区別がつかないことが多いため、下1/3のブロックにおいて存在確率が低くなる。花画像の場合、花を中央付近に配置させる構図にすることが多いため、中央付近における花部分画像の存在確率が高くなる。   In the case of an evening scene image, since the sky of the evening scene often spreads from the vicinity of the center to the upper half, the existence probability increases in the upper half block from the vicinity of the center. In the case of an evening scene image, the lower 1/3 of the image is shaded by backlight, and the partial image alone often cannot be distinguished from the evening scene or the night scene, so the existence probability is lower in the lower 1/3 block. In the case of a flower image, since the composition is often such that a flower is arranged near the center, the probability of existence of a flower partial image near the center increases.

次に、サブ部分識別器61は、選択された部分画像の部分特徴量に基づいて、その部分画像が特定のシーンに属するか否かを判断する(S304)。サブ部分識別器61には、全体識別器50のサブ識別器51と同様に、サポートベクタマシン(SVM)による判別手法が用いられている。なお、サポートベクタマシンについては、後述する。判別式の値が正の値であれば、部分画像が特定のシーンに属すると判断し、サブ部分識別器61は正カウント値をインクリメントする。また、判別式の値が負の値であれば、部分画像が特定のシーンに属しないと判断し、サブ部分識別器61は負カウント値をインクリメントする。   Next, the sub partial classifier 61 determines whether or not the partial image belongs to a specific scene based on the partial feature amount of the selected partial image (S304). Similar to the sub classifier 51 of the overall classifier 50, the sub partial classifier 61 uses a discrimination method using a support vector machine (SVM). The support vector machine will be described later. If the discriminant value is a positive value, it is determined that the partial image belongs to a specific scene, and the sub partial classifier 61 increments the positive count value. If the discriminant value is a negative value, it is determined that the partial image does not belong to a specific scene, and the sub partial discriminator 61 increments the negative count value.

次に、サブ部分識別器61は、正カウント値が肯定閾値よりも大きい否かを判断する(S305)。なお、正カウント値は、特定のシーンに属すると判断された部分画像の数を示すものである。正カウント値が肯定閾値より大きければ(S305でYES)、サブ部分識別器61は、識別対象画像が特定のシーンに属すると判断し、肯定フラグを立てる(S306)。この場合、部分識別器60は、次のサブ部分識別器61による識別を行わずに、部分識別処理を終了する。例えば、夕景画像であると識別できれば、花や紅葉の識別を行わずに、部分識別処理を終了する。この場合、次のサブ部分識別器61による識別を省略しているので、部分識別処理の速度を速めることができる。   Next, the sub partial discriminator 61 determines whether or not the positive count value is larger than the positive threshold value (S305). The positive count value indicates the number of partial images determined to belong to a specific scene. If the positive count value is larger than the affirmative threshold (YES in S305), the sub partial classifier 61 determines that the classification target image belongs to a specific scene, and sets an affirmative flag (S306). In this case, the partial discriminator 60 ends the partial discriminating process without performing discrimination by the next sub partial discriminator 61. For example, if the image can be identified as an evening scene image, the partial identification process is terminated without identifying flowers and autumn leaves. In this case, since the identification by the next sub partial classifier 61 is omitted, the speed of the partial classification process can be increased.

正カウント値が肯定閾値より大きくなければ(S305でNO)、サブ部分識別器61は、識別対象画像が特定のシーンに属すると判断できず、次のS307の処理を行う。   If the positive count value is not greater than the positive threshold value (NO in S305), the sub partial classifier 61 cannot determine that the classification target image belongs to a specific scene, and performs the next process of S307.

サブ部分識別器61は、正カウント値と残りの部分画像数との和が肯定閾値よりも小さければ(S307でYES)、S309の処理へ進む。正カウント値と残りの部分画像数との和が肯定閾値よりも小さい場合、残り全ての部分画像によって正カウント値がインクリメントされても正カウント値が肯定閾値より大きくなることがないので、S309に処理を進めることによって、残りの部分画像についてサポートベクタマシンによる識別を省略する。これにより、部分識別処理の速度を速めることができる。   If the sum of the positive count value and the number of remaining partial images is smaller than the positive threshold (YES in S307), the sub partial discriminator 61 proceeds to the process of S309. If the sum of the positive count value and the number of remaining partial images is smaller than the positive threshold value, the positive count value does not become larger than the positive threshold value even if the positive count value is incremented by all the remaining partial images. By proceeding with the process, the remaining partial images are not identified by the support vector machine. Thereby, the speed of the partial identification process can be increased.

サブ部分識別器61がS307でNOと判断した場合、サブ部分識別器61は、次の部分画像の有無を判断する(S308)。なお、本実施形態では、64個に分割された部分画像の全てを順に選択していない。図18において太枠で示された上位10番目までの10個の部分画像だけを順に選択している。このため、10番目の部分画像の識別を終えれば、サブ部分識別器61は、S308において次の部分画像はないと判断する。(この点を考慮して、S307の「残りの部分画像数」も決定される。)
図19は、上位10番目までの10個の部分画像だけで夕景画像の識別をしたときのRecall及びPrecisionのグラフである。図に示すような肯定閾値を設定すれば、正答率(Precision)を80%程度に設定でき、再現率(Recall)を90%程度に設定でき、精度の高い識別が可能である。
If the sub partial discriminator 61 determines NO in S307, the sub partial discriminator 61 determines whether there is a next partial image (S308). In the present embodiment, not all of the partial images divided into 64 are selected in order. In FIG. 18, only the top 10 partial images indicated by thick frames are selected in order. Therefore, when the identification of the tenth partial image is completed, the sub partial classifier 61 determines in S308 that there is no next partial image. (In consideration of this point, the “number of remaining partial images” in S307 is also determined.)
FIG. 19 is a Recall and Precision graph when an evening scene image is identified using only the top 10 partial images. If an affirmative threshold as shown in the figure is set, the accuracy rate (Precision) can be set to about 80%, the recall rate (Recall) can be set to about 90%, and identification with high accuracy is possible.

本実施形態では、10個の部分画像だけで夕景画像の識別を行っている。このため、本実施形態では、64個の全ての部分画像を用いて夕景画像の識別を行うよりも、部分識別処理の速度を速めることができる。
また、本実施形態では、夕景部分画像の存在確率の高い上位10番目の部分画像を用いて夕景画像の識別を行っている。このため、本実施形態では、存在確率を無視して抽出された10個の部分画像を用いて夕景画像の識別を行うよりも、Recall及びPrecisionをともに高く設定することが可能になる。
また、本実施形態では、夕景部分画像の存在確率の高い順に部分画像を選択している。この結果、早い段階でS305の判断がYESになりやすくなる。このため、本実施形態では、存在確率の高低を無視した順で部分画像を選択したときよりも、部分識別処理の速度を速めることができる。
In this embodiment, the evening scene image is identified using only 10 partial images. For this reason, in the present embodiment, it is possible to increase the speed of the partial identification process compared to the case where the evening scene image is identified using all 64 partial images.
In this embodiment, the sunset scene image is identified using the top tenth partial image having a high existence probability of the sunset scene partial image. For this reason, in the present embodiment, it is possible to set both Recall and Precision higher than the identification of an evening scene image using 10 partial images extracted by ignoring the existence probability.
In this embodiment, the partial images are selected in descending order of the existence probability of the sunset partial image. As a result, the determination in S305 is likely to be YES at an early stage. For this reason, in the present embodiment, the speed of the partial identification process can be increased as compared with the case where the partial images are selected in the order in which the presence probability level is ignored.

S307においてYESと判断された場合、又は、S308において次の部分画像がないと判断された場合、サブ部分識別器61は、負カウント値が否定閾値よりも大きいか否かを判断する(S309)。この否定閾値は、前述の全体識別処理における否定閾値(図10のS206)とほぼ同様の機能を果たすものなので、詳しい説明は省略する。S309でYESと判断された場合、図10のS207と同様に、否定フラグを立てる。   When it is determined YES in S307, or when it is determined that there is no next partial image in S308, the sub partial discriminator 61 determines whether or not the negative count value is larger than the negative threshold (S309). . Since this negative threshold performs substantially the same function as the negative threshold (S206 in FIG. 10) in the above-described overall identification process, detailed description thereof is omitted. If YES is determined in S309, a negative flag is set as in S207 of FIG.

S302においてNOの場合、S309でNOの場合、又はS310の処理を終えた場合、部分識別器60は、次のサブ部分識別器61の有無を判断する(S311)。夕景部分識別器61Sによる処理を終えた後の場合、サブ部分識別器61として花部分識別器61Fや紅葉部分識別器61Rがまだあるので、部分識別器60は、S311において、次のサブ部分識別器61があると判断する。   In the case of NO in S302, in the case of NO in S309, or when the process of S310 is completed, the partial discriminator 60 determines whether or not there is a next sub partial discriminator 61 (S311). In the case after the processing by the evening scene partial classifier 61S is finished, since the flower partial classifier 61F and the autumnal leaves partial classifier 61R are still present as the sub partial classifier 61, the partial classifier 60 determines the next sub partial classifier in S311. It is determined that there is a container 61.

そして、S306の処理を終えた場合(識別対象画像が特定のシーンに属すると判断された場合)、又は、S311において次のサブ部分識別器61がないと判断された場合(識別対象画像が特定のシーンに属すると判断できなかった場合)、部分識別器60は、部分識別処理を終了する。   Then, when the process of S306 is completed (when it is determined that the identification target image belongs to a specific scene), or when it is determined in S311 that there is no next sub partial classifier 61 (the identification target image is specified). If it cannot be determined that the scene belongs to the scene), the partial discriminator 60 ends the partial discrimination processing.

なお、既に説明した通り、部分識別処理が終了すると、シーン識別部33は、部分識別処理によってシーンの識別ができたか否かを判断する(図8のS106)。このとき、シーン識別部33は、図11の識別対象テーブルを参照し、「肯定」欄に1があるか否かを判断することになる。
部分識別処理によってシーンの識別ができた場合(S106でYES)、統合識別処理が省略される。これにより、シーン識別処理の速度が速くなる。
As already described, when the partial identification process ends, the scene identification unit 33 determines whether or not the scene can be identified by the partial identification process (S106 in FIG. 8). At this time, the scene identification unit 33 refers to the identification target table in FIG. 11 and determines whether or not there is 1 in the “affirmation” column.
When the scene can be identified by the partial identification process (YES in S106), the integrated identification process is omitted. This increases the speed of the scene identification process.

===サポートベクタマシン===
統合識別処理について説明する前に、全体識別処理のサブ識別器51や部分識別処理のサブ部分識別器61において用いられているサポートベクタマシン(SVM)について説明する。
=== Support vector machine ===
Before describing the integrated identification process, the support vector machine (SVM) used in the sub-identifier 51 for the overall identification process and the sub-partial identifier 61 for the partial identification process will be described.

図20Aは、線形サポートベクタマシンによる判別の説明図である。ここでは、2つの特徴量x1、x2によって、学習用サンプルを2次元空間に示している。学習用サンプルは2つのクラスA、Bに分けられている。図中では、クラスAに属するサンプルは丸で示されており、クラスBに属するサンプルは四角で示されている。
学習用サンプルを用いた学習によって、2次元空間を2つに分ける境界が定義される。境界は、<w・x>+b=0で定義される(なお、x=(x1,x2)であり、wは重みベクトルであり、<w・x>はwとxの内積である)。但し、境界は、マージンが最大になるように、学習用サンプルを用いた学習によって定義される。つまり、図の場合、境界は、太点線ではなく、太実線のようになる。
判別は、判別式f(x)=<w・x>+bを用いて行われる。ある入力x(この入力xは学習用サンプルとは別である)について、f(x)>0であればクラスAに属すると判別され、f(x)<0であればクラスBに属すると判別される。
FIG. 20A is an explanatory diagram of determination by the linear support vector machine. Here, the learning sample is shown in a two-dimensional space by two feature amounts x1 and x2. The learning sample is divided into two classes A and B. In the figure, samples belonging to class A are indicated by circles, and samples belonging to class B are indicated by squares.
A boundary that divides the two-dimensional space into two is defined by learning using the learning sample. The boundary is defined by <w · x> + b = 0 (where x = (x1, x2), w is a weight vector, and <w · x> is an inner product of w and x). However, the boundary is defined by learning using a learning sample so that the margin is maximized. That is, in the case of the figure, the boundary is not a thick dotted line but a thick solid line.
The discrimination is performed using the discriminant f (x) = <w · x> + b. It is determined that a certain input x (this input x is different from the learning sample) belongs to class A if f (x)> 0, and belongs to class B if f (x) <0. Determined.

ここでは2次元空間を用いて説明しているが、これに限られない(つまり、特徴量は2以上でも良い)。この場合、境界は超平面で定義される。   Here, the description is made using a two-dimensional space, but the present invention is not limited to this (that is, the feature amount may be two or more). In this case, the boundary is defined by a hyperplane.

ところで、2つのクラスに線形関数で分離できないことがある。このような場合に線形サポートベクタマシンによる判別を行うと、判別結果の精度が低下する。そこで、入力空間の特徴量を非線形変換すれば、すなわち入力空間からある特徴空間へ非線形写像すれば、特徴空間において線形関数で分離することができるようになる。非線形サポートベクタマシンでは、これを利用している。   By the way, there are cases where the two classes cannot be separated by a linear function. In such a case, if the determination is performed by the linear support vector machine, the accuracy of the determination result is lowered. Therefore, if the feature quantity of the input space is nonlinearly transformed, that is, if the input space is nonlinearly mapped to a certain feature space, it can be separated by a linear function in the feature space. This is used in the nonlinear support vector machine.

図20Bは、カーネル関数を用いた判別の説明図である。ここでは、2つの特徴量x1、x2によって、学習用サンプルを2次元空間に示している。図20Bの入力空間からの非線形写像が図20Aのような特徴空間になれば、線形関数で2つのクラスに分離することが可能になる。この特徴空間においてマージンが最大になるように境界が定義されれば、特徴空間における境界の逆写像が、図20Bに示す境界になる。この結果、図20Bに示すように、境界は非線形になる。   FIG. 20B is an explanatory diagram of discrimination using a kernel function. Here, the learning sample is shown in a two-dimensional space by two feature amounts x1 and x2. If the nonlinear mapping from the input space of FIG. 20B becomes a feature space as shown in FIG. 20A, it can be separated into two classes by a linear function. If the boundary is defined so that the margin is maximized in this feature space, the inverse mapping of the boundary in the feature space becomes the boundary shown in FIG. 20B. As a result, the boundary becomes nonlinear as shown in FIG. 20B.

本実施形態ではガウスカーネルを利用することにより、判別式f(x)は次式のようになる(なお、Mは特徴量の数であり、Nは学習用サンプルの数(若しくは境界に寄与する学習用サンプルの数)であり、wは重み係数であり、yは学習用サンプルの特徴量であり、xは入力xの特徴量である)。
In this embodiment, by using a Gaussian kernel, the discriminant f (x) becomes as follows (where M is the number of features and N is the number of learning samples (or contributes to the boundary): The number of learning samples), w i is a weighting factor, y j is the feature quantity of the learning sample, and x j is the feature quantity of the input x).

ある入力x(この入力xは学習用サンプルとは別である)について、f(x)>0であればクラスAに属すると判別され、f(x)<0であればクラスBに属すると判別される。また、判別式f(x)の値が大きい値になるほど、入力x(この入力xは学習用サンプルとは別である)がクラスAに属する確率が高くなる。逆に、判別式f(x)の値が小さい値になるほど、入力x(この入力xは学習用サンプルとは別である)がクラスAに属する確率が低くなる。前述の全体識別処理のサブ識別器51や部分識別処理のサブ部分識別器61では、上記のサポートベクタマシンの判別式f(x)の値を用いている。   It is determined that a certain input x (this input x is different from the learning sample) belongs to class A if f (x)> 0, and belongs to class B if f (x) <0. Determined. Further, the larger the value of the discriminant f (x), the higher the probability that the input x (this input x is different from the learning sample) belongs to the class A. On the contrary, the smaller the value of the discriminant f (x), the lower the probability that the input x (this input x is different from the learning sample) belongs to the class A. In the sub-identifier 51 for the overall identification process and the sub-partial identifier 61 for the partial identification process, the value of the discriminant f (x) of the support vector machine is used.

なお、学習用サンプルとは別に評価用サンプルが用意されている。前述のRecallやPrecisionのグラフは、評価用サンプルに対する識別結果に基づくものである。   An evaluation sample is prepared separately from the learning sample. The above Recall and Precision graphs are based on the identification results for the evaluation samples.

===統合識別処理===
前述の全体識別処理や部分識別処理では、サブ識別器51やサブ部分識別器61における肯定閾値を比較的高めに設定し、Precision(正解率)を高めに設定している。なぜならば、例えば全体識別部の風景識別器51Lの正解率が低く設定されると、風景識別器51Lが紅葉画像を風景画像であると誤識別してしまい、紅葉識別器51Rによる識別を行う前に全体識別処理を終えてしまう事態が発生してしまうからである。本実施形態では、Precision(正解率)が高めに設定されることにより、特定のシーンに属する画像が特定のシーンのサブ識別器51(又はサブ部分識別器61)に識別されるようになる(例えば紅葉画像が紅葉識別器51R(又は紅葉部分識別器61R)によって識別されるようになる)。
=== Integrated identification processing ===
In the above-described overall identification process and partial identification process, the positive threshold value in the sub-classifier 51 and the sub-classifier 61 is set relatively high, and the Precision (correct answer rate) is set high. This is because, for example, if the accuracy rate of the landscape classifier 51L of the overall classifying unit is set low, the landscape classifier 51L misidentifies the autumnal image as a landscape image, and before the autumnal classifier 51R performs classification. This is because a situation occurs in which the entire identification process ends. In the present embodiment, by setting the Precision (accuracy rate) high, an image belonging to a specific scene is identified by the sub-classifier 51 (or sub-partial classifier 61) of the specific scene ( For example, the autumnal leaves image is identified by the autumnal leaves discriminator 51R (or the autumnal leaf partial discriminator 61R).

但し、全体識別処理や部分識別処理のPrecision(正解率)を高めに設定すると、全体識別処理や部分識別処理ではシーンの識別ができなくなる可能性が高くなる。そこで、本実施形態では、全体識別処理及び部分識別処理によってシーンの識別ができなかった場合、以下に説明する統合識別処理が行われる。   However, if the Precision (accuracy rate) of the overall identification process or the partial identification process is set to be high, there is a high possibility that the scene cannot be identified by the overall identification process or the partial identification process. Therefore, in this embodiment, when the scene cannot be identified by the overall identification process and the partial identification process, the integrated identification process described below is performed.

図21は、統合識別処理のフロー図である。以下に説明するように、統合識別処理は、全体識別処理の各サブ識別器51の判別式の値に基づいて、確信度が所定値以上(例えば90%以上)であって、最も確信度の高いシーンを選択する処理である。   FIG. 21 is a flowchart of the integrated identification process. As will be described below, the integrated identification process is based on the discriminant value of each sub-classifier 51 in the overall identification process, and the certainty level is equal to or higher than a predetermined value (for example, 90% or higher). This is a process for selecting a high scene.

まず、統合識別器70は、5つのサブ識別器51の判別式の値に基づいて、正となるシーンを抽出する(S401)。このとき、全体識別処理の際に各サブ識別器51が算出した判別式の値が用いられる。   First, the integrated discriminator 70 extracts a positive scene based on the discriminant values of the five sub discriminators 51 (S401). At this time, the value of the discriminant calculated by each sub classifier 51 during the overall identification process is used.

次に、統合識別器70は、確信度が所定値以上のシーンが存在するか否かを判断する(S402)。ここで、確信度は、識別対象画像が特定シーンに属する確率を示すものであり、判別式の値から求められる。具体的にいうと、統合識別器70には、判別式の値とPrecisionとの関係を示すテーブルが用意されており、このテーブルに基づいて判別式の値に対応するPrecisionを導き出し、このPrecisionの値を確信度としている。なお、所定値は、例えば90%に設定され、全体識別器や部分識別器の肯定閾値によって設定されるPrecision(97.5%)よりも低い値に設定される。但し、確信度はPrecisionでなくてもよく、判別式の値を確信度としても良い。   Next, the integrated discriminator 70 determines whether or not there is a scene with a certainty factor equal to or greater than a predetermined value (S402). Here, the certainty factor indicates the probability that the identification target image belongs to the specific scene, and is obtained from the value of the discriminant. More specifically, the integrated discriminator 70 is provided with a table showing the relationship between the discriminant value and the precision, and a precision corresponding to the discriminant value is derived based on this table. The value is used as confidence. The predetermined value is set to 90%, for example, and is set to a value lower than Precision (97.5%) set by an affirmative threshold of the overall classifier or partial classifier. However, the certainty factor may not be Precision, and the value of the discriminant may be used as the certainty factor.

確信度が所定値以上のシーンが存在する場合(S402でYES)、そのシーンの欄に肯定フラグを立てて(S403)、統合識別処理を終了する。なお、確信度が90%以上のシーンを抽出したときに、複数のシーンが抽出されることはない。あるシーンの確信度が高ければ、必然的に他のシーンの確信度が低くなるからである。   If there is a scene with a certainty level equal to or greater than a predetermined value (YES in S402), an affirmative flag is set in the field for that scene (S403), and the integrated identification process is terminated. Note that when a scene having a certainty factor of 90% or more is extracted, a plurality of scenes are not extracted. This is because if the certainty of a certain scene is high, the certainty of another scene is inevitably low.

一方、確信度が所定値以上のシーンが存在しない場合(S402でNO)、肯定フラグを立てずに、統合識別処理を終了する。これにより、図11の識別対象テーブルの肯定欄において、1のシーンが無いままの状態になる。つまり、識別対象画像が、どのシーンに属するか識別できなかったことになる。   On the other hand, if there is no scene with the certainty level equal to or higher than the predetermined value (NO in S402), the integrated identification process is terminated without setting an affirmative flag. As a result, one scene does not exist in the affirmative column of the identification target table in FIG. That is, it cannot be identified to which scene the identification target image belongs.

なお、既に説明した通り、統合識別処理が終了すると、シーン識別部33は、統合識別処理によってシーンの識別ができたか否かを判断する(図8のS108)。このとき、シーン識別部33は、図11の識別対象テーブルを参照し、「肯定」欄に1があるか否かを判断することになる。S402でYESとの判断の場合、S108の判断もYESになる。一方、S402でNOとの判断の場合、S108の判断もNOになる。   As already described, when the integrated identification process is completed, the scene identification unit 33 determines whether or not the scene has been identified by the integrated identification process (S108 in FIG. 8). At this time, the scene identification unit 33 refers to the identification target table in FIG. 11 and determines whether or not there is 1 in the “affirmation” column. If YES is determined in S402, the determination in S108 is also YES. On the other hand, if NO is determined in S402, the determination in S108 is also NO.

本実施形態では、図8のS108でNOの場合、すなわち図21のS402でNOの場合、S401で抽出されたシーンが、シーン候補として、全て結果記憶部31Bに記憶される。   In the present embodiment, in the case of NO in S108 in FIG. 8, that is, in the case of NO in S402 in FIG. 21, all the scenes extracted in S401 are stored as scene candidates in the result storage unit 31B.

===表示部における表示===
<概要>
前述したように、ユーザは、モード設定ダイヤル2Aによって、撮影モードを設定することができる。そして、デジタルスチルカメラ2は、設定された撮影モードや撮影時の測光結果等に基づいて、撮影条件(露光時間、ISO感度等)を決定し、決定した撮影条件にて被写体を撮影する。撮影後、デジタルスチルカメラ2は、撮影時の撮影条件を示す撮影データを、画像データとともに、画像ファイルとしてメモリカード6に保存する。
=== Display on display ===
<Overview>
As described above, the user can set the shooting mode with the mode setting dial 2A. The digital still camera 2 determines shooting conditions (exposure time, ISO sensitivity, etc.) based on the set shooting mode, photometry results at the time of shooting, and the like, and shoots the subject under the determined shooting conditions. After shooting, the digital still camera 2 stores shooting data indicating shooting conditions at the time of shooting together with the image data in the memory card 6 as an image file.

ところで、ユーザが撮影モードを設定し忘れたために、撮影条件に不適切な撮影モードが設定されたまま、撮影が行われることがある。例えば、夜景モードが設定されたまま、日中の風景が撮影されることがある。この場合、画像ファイルの画像データは日中の風景の画像であるにも関わらず、撮影データには夜景モードを示すデータが記憶されることになる(例えば図5の撮影シーンタイプデータが「3」になる)。このような場合、不適切な撮影シーンタイプデータに基づいて画像データが補正されてしまうと、ユーザにとって望ましくない画質の印刷が行われてしまう。
一方、識別処理(顔識別処理及びシーン識別処理)の結果に基づいて画像データを補正しても、ユーザの望む画質の印刷が得られないこともある。例えば、識別処理において誤識別が生じる場合、ユーザの望む画質の印刷が得られないこともある。また、ユーザが特殊な効果を狙って設定した撮影モードを否定して、プリンタによる識別結果に基づいて画像データを補正した場合にも、ユーザの意図通りの印刷を行えなくなる。
そこで、本実施形態では、ユーザの確認を促すための確認画面を表示することにしている。具体的には、後述するように、識別処理結果と、画像ファイルの付加データのシーン情報(撮影シーンタイプデータや撮影モードデータ)の示すシーンとが不一致の場合、パネル部15の表示部16に確認画面が表示される。
By the way, since the user forgot to set the shooting mode, shooting may be performed while the shooting mode inappropriate for the shooting condition is set. For example, a daytime landscape may be shot while the night view mode is set. In this case, although the image data of the image file is an image of a daytime landscape, data indicating the night view mode is stored in the shooting data (for example, the shooting scene type data in FIG. 5 is “3”). "become). In such a case, if the image data is corrected based on inappropriate shooting scene type data, printing with an image quality undesirable for the user is performed.
On the other hand, even if the image data is corrected based on the result of the identification processing (face identification processing and scene identification processing), printing with the image quality desired by the user may not be obtained. For example, when an erroneous identification occurs in the identification process, there is a case where a print having an image quality desired by the user cannot be obtained. Further, even when the shooting mode set by the user for a special effect is denied and the image data is corrected based on the identification result by the printer, printing as intended by the user cannot be performed.
Therefore, in this embodiment, a confirmation screen for prompting the user to confirm is displayed. Specifically, as described later, when the identification processing result and the scene indicated by the scene information (shooting scene type data and shooting mode data) of the additional data of the image file do not match, the display unit 16 of the panel unit 15 A confirmation screen is displayed.

<参考例>
参考例では、複数の画像ファイルをダイレクトプリントする。後述するように、この参考例では、確認画面において全ての画像ファイルの画像が表示され、確認画面による確認終了後に印刷が開始される。
<Reference example>
In the reference example, a plurality of image files are directly printed. As will be described later, in this reference example, images of all the image files are displayed on the confirmation screen, and printing is started after confirmation on the confirmation screen is completed.

図22は、参考例のダイレクトプリントの処理の流れを示すフロー図である。各処理は、メモリ23に記憶されたプログラムに基づいてプリンタ側コントローラ20によって実現される。   FIG. 22 is a flowchart showing the flow of the direct printing process of the reference example. Each process is realized by the printer-side controller 20 based on a program stored in the memory 23.

まず、プリンタ側コントローラ20は、ダイレクトプリントの対象となる複数の画像ファイルの全てについて、顔識別処理及びシーン識別処理をそれぞれ行う(S601)。これらの処理については既に説明したので、説明を省略する。   First, the printer-side controller 20 performs a face identification process and a scene identification process for all of a plurality of image files to be directly printed (S601). Since these processes have already been described, a description thereof will be omitted.

次に、プリンタ側コントローラ20は、付加データ(撮影シーンタイプデータ、撮影モードデータ)の示すシーンと、識別処理結果の示すシーンとが不一致か否かを、ダイレクトプリントの対象となる画像ファイルごとにそれぞれ判断する(S602)。識別処理結果に複数のシーン候補が含まれる場合には、確信度の最も高いシーン候補を用いて判断する。   Next, the printer-side controller 20 determines whether or not the scene indicated by the additional data (shooting scene type data and shooting mode data) and the scene indicated by the identification processing result are inconsistent for each image file to be directly printed. Each is judged (S602). When a plurality of scene candidates are included in the identification processing result, determination is made using the scene candidate with the highest certainty factor.

次に、プリンタ側コントローラ20は、2つのシーンが不一致となる画像ファイルが一つでも存在するか否かを判断する(S603)。ダイレクトプリントの対象となる全ての画像ファイルにおいて2つのシーンが一致していれば(S603でNO)、ユーザへの確認が不要なので、S606へ処理が進む。このように確認画面を表示しないことにより、印刷までの処理時間を短くできる。   Next, the printer-side controller 20 determines whether or not there is even one image file in which the two scenes do not match (S603). If the two scenes match in all the image files to be directly printed (NO in S603), the user does not need confirmation and the process proceeds to S606. By not displaying the confirmation screen in this way, the processing time until printing can be shortened.

2つのシーンが不一致となる画像ファイルが一つでも存在する場合(S603でYES)、プリンタ側コントローラ20は、表示部16に確認画面を表示する(S604)。   If there is even one image file in which the two scenes do not match (YES in S603), the printer-side controller 20 displays a confirmation screen on the display unit 16 (S604).

図23A及び図23Bは、参考例の確認画面の一例の説明図である。
この確認画面162には、9個の画像162Aが表示される(図では四角の枠しか描かれていないが、実際には、この枠の中に画像が表示される)。この9個の画像162Aは、ダイレクトプリントの対象となる複数の画像ファイルのうちの9個の画像ファイルの画像である。各画像を表示できるスペースが小さいため、画像ファイルのサムネイル画像データ(図3参照)を用いて各画像162Aが表示されている。また、表示される画像が小さいのでユーザが画質を評価することは難しいため、サムネイル画像データには特に画像補正は施されていない。各画像162Aの左上には、撮影日時順に若しくは画像ファイルのデータ名順に、数字が付されている。以下の説明では、この数字を用いて画像を特定する。例えば、確認画面の9個の画像のうち、左上の画像のことを「1番目の画像」と呼び、この画像に対応する画像ファイルのことを「1番目の画像ファイル」と呼ぶ。
23A and 23B are explanatory diagrams of an example of a confirmation screen of a reference example.
Nine images 162A are displayed on the confirmation screen 162 (only a square frame is drawn in the figure, but in reality, images are displayed in this frame). The nine images 162A are images of nine image files among a plurality of image files to be directly printed. Since the space in which each image can be displayed is small, each image 162A is displayed using thumbnail image data (see FIG. 3) of the image file. In addition, since the displayed image is small, it is difficult for the user to evaluate the image quality. Therefore, the thumbnail image data is not particularly subjected to image correction. On the upper left of each image 162A, numbers are assigned in order of shooting date and time or in order of data name of the image file. In the following description, an image is specified using this number. For example, of the nine images on the confirmation screen, the upper left image is referred to as “first image”, and the image file corresponding to this image is referred to as “first image file”.

プリンタ側コントローラ20は、前述のS602において2つのシーンが一致しているものにはマーク162Bを付さずに画像162Aを表示する。また、プリンタ側コントローラ20は、前述のS602において2つのシーンが不一致のものにはマーク162Bを付して画像162Bを表示する。これにより、ユーザは、マーク162Bの有無によって、どの画像において2つのシーンが不一致であるかを容易に知ることができる。   The printer-side controller 20 displays the image 162A without adding the mark 162B to those in which the two scenes match in S602 described above. In addition, the printer-side controller 20 displays the image 162B with the mark 162B added to those in which the two scenes do not match in S602 described above. Thereby, the user can easily know in which image the two scenes do not match depending on the presence or absence of the mark 162B.

図中の確認画面162では、1、4、5及び9番目の画像の右下に、マーク162Bが表示されている。このため、1、4、5及び9番目の画像ファイルでは、付加データのシーンと識別対象のシーンとが不一致であることが分かる。一方、2、3、6〜8番目の画像には、マーク162Bは表示されていない。このため、2、3、6〜8番目の画像ファイルでは、付加データのシーンと識別対象のシーンとが一致していることが分かる。   In the confirmation screen 162 in the figure, a mark 162B is displayed at the lower right of the first, fourth, fifth and ninth images. For this reason, in the first, fourth, fifth and ninth image files, it can be seen that the scene of the additional data and the scene to be identified do not match. On the other hand, the mark 162B is not displayed in the second, third, and sixth to eighth images. For this reason, in the second, third, and sixth to eighth image files, it can be seen that the scene of the additional data matches the scene to be identified.

マーク162Bの中には、識別処理結果のシーンが示されている。識別処理結果に複数のシーン候補が含まれる場合には、確信度の最も高いシーン候補がマーク162Bの中に示されることになる。例えば、1番目の画像ファイルの識別処理結果のシーン(又は確信度の最も高いシーン候補)は、「風景」である。   In the mark 162B, a scene as a result of identification processing is shown. When a plurality of scene candidates are included in the identification processing result, the scene candidate having the highest certainty factor is indicated in the mark 162B. For example, the scene (or the scene candidate with the highest certainty) as the identification processing result of the first image file is “landscape”.

参考例では、付加データのシーンと識別対象のシーンとが一致している画像にはマーク162Bが付されない。これにより、2つのシーンが不一致の画像が目立つようになる。一方、マーク162Bが付されなくなると、その画像の識別処理結果は確認画面162には表示されないことになる。但し、2つのシーンが一致していれば、そもそもユーザの確認は不要であるはずなので、識別処理結果の表示がなくても問題はない。   In the reference example, the mark 162B is not added to an image in which the scene of the additional data matches the scene to be identified. As a result, an image in which the two scenes do not match is conspicuous. On the other hand, if the mark 162B is not added, the image identification processing result is not displayed on the confirmation screen 162. However, if the two scenes match, the confirmation of the user should not be necessary in the first place, so there is no problem even if the identification processing result is not displayed.

ユーザは、この確認画面を見ながら入力部17を操作することにより、各画像に対して、付加データのシーンに基づく補正を行うのか、識別処理結果のシーンに基づく補正を行うのかを決定できる。例えば、ユーザが入力部17を操作して5番目の画像162Aのマーク162Bが選択されると、図23Aに示すように、マーク162Bが太線で強調表示される。この状態で更にユーザが入力部17を操作して、マーク162Bの中に示されるシーンを切り替えることが可能である。このとき、プリンタ側コントローラ20は、ユーザの操作に応じて、付加データのシーンや、シーン候補が複数ある場合には他のシーン候補を、マーク162Bの中に切り替えて表示する。図23Bは、ユーザの操作に応じて、付加データのシーンである「風景」がマーク162Bの中に表示された状態である。このように、識別処理結果のシーンと付加データのシーンとを切り替えて表示することによって、ユーザの選択範囲が限定されるので、ユーザの操作が容易になる。仮に全てのシーン(例えば図7の全てのシーン)の中から希望のシーンをユーザに選択させると、ユーザの選択範囲が広範になりすぎて、操作性があまり良くない。   The user can determine whether to perform correction based on the scene of the additional data or correction based on the scene of the identification processing result by operating the input unit 17 while viewing the confirmation screen. For example, when the user operates the input unit 17 to select the mark 162B of the fifth image 162A, the mark 162B is highlighted with a bold line as shown in FIG. 23A. In this state, the user can further operate the input unit 17 to switch the scene shown in the mark 162B. At this time, in response to a user operation, the printer-side controller 20 displays the additional data scene and, if there are a plurality of scene candidates, other scene candidates in the mark 162B. FIG. 23B shows a state where “scenery”, which is a scene of additional data, is displayed in the mark 162B in response to a user operation. In this way, by switching and displaying the scene of the identification processing result and the scene of the additional data, the user's selection range is limited, so that the user's operation becomes easy. If the user selects a desired scene from all scenes (for example, all scenes in FIG. 7), the user's selection range becomes too wide and the operability is not very good.

この確認画面上で1番目〜9番目の画像ファイルが確認された後、プリンタ側コントローラ20は、10番目〜18番目の画像ファイルの確認画面を更に表示する。このようにして、残りの画像ファイルに対しても同様に、ユーザの確認が行われる。   After the first to ninth image files are confirmed on the confirmation screen, the printer controller 20 further displays a confirmation screen for the tenth to eighteenth image files. In this way, the user confirmation is similarly performed for the remaining image files.

ユーザにより入力部17の決定ボタン(不図示)が押されると(S605でYES)、プリンタ側コントローラ20は、ユーザの選択に応じた補正モードにて画像データを補正する(S606)。仮に図23Bの状態で決定ボタンが押されると、5番目以外の画像データは識別処理結果(複数のシーン候補がある場合には確信度の最も高いシーン候補)のシーンに基づいて補正され、5番目の画像データは付加データのシーンに基づく風景モード(図7参照)により補正される。   When the determination button (not shown) of the input unit 17 is pressed by the user (YES in S605), the printer controller 20 corrects the image data in the correction mode according to the user's selection (S606). If the determination button is pressed in the state of FIG. 23B, the image data other than the fifth is corrected based on the scene of the identification processing result (the scene candidate having the highest certainty when there are a plurality of scene candidates). The second image data is corrected by the landscape mode (see FIG. 7) based on the scene of the additional data.

確認画面は、ユーザによる確認の入力があるまで表示される(S605でNO)。ユーザによる確認の入力があれば(S605でYES)、プリンタ側コントローラ20は、ユーザの選択に応じた補正モードにて画像データを補正する(S606)。但し、ユーザによる確認の入力がない場合であっても、確認画面が表示されてから所定時間(例えば20秒)が経過したら、初期設定で選択されたシーン(ここでは識別処理結果のシーン)に応じた補正モードにて、画像データが補正されても良い。これにより、ユーザがプリンタから離れていても、処理を進めることができる。初期設定で選択されるシーンは、識別処理結果の確信度に応じて変わっても良いし、確信度に関わらず常に識別処理結果のシーンを選択するように予め決まっていても良い。   The confirmation screen is displayed until the user inputs confirmation (NO in S605). If there is a confirmation input by the user (YES in S605), the printer-side controller 20 corrects the image data in the correction mode according to the user's selection (S606). However, even if there is no confirmation input by the user, when a predetermined time (for example, 20 seconds) has elapsed after the confirmation screen is displayed, the scene selected in the initial setting (here, the scene of the identification processing result) The image data may be corrected in a corresponding correction mode. Thereby, even if the user is away from the printer, the process can proceed. The scene selected in the initial setting may be changed according to the certainty of the identification processing result, or may be determined in advance so that the scene of the identification processing result is always selected regardless of the certainty.

そして、画像補正処理後、プリンタ側コントローラ20は、補正された画像データに基づいて、画像を印刷する(S607)。これにより、ユーザの希望に沿った画質の印刷画像が得られる。   After the image correction process, the printer-side controller 20 prints an image based on the corrected image data (S607). As a result, a print image having an image quality according to the user's desire is obtained.

<第1実施形態>
第1実施形態では、付加データのシーンと識別処理結果のシーンが不一致となる画像ファイルの画像しか確認画面に表示せず、不一致ではなかった画像ファイルについては先に印刷を行う。つまり、参考例の場合と比較すると、確認画面の表示対象となる画像ファイルが異なり、また、印刷処理の開始のタイミングが異なる。
<First Embodiment>
In the first embodiment, only the image of the image file in which the scene of the additional data and the scene of the identification processing result do not match are displayed on the confirmation screen, and the image file that does not match is printed first. That is, compared to the case of the reference example, the image file to be displayed on the confirmation screen is different, and the timing of starting the printing process is different.

以下の説明では、ダイレクトプリントの対象は、1番目〜9番目の画像ファイルであることにする。また、参考例と同様に、1、4、5及び9番目の画像ファイルでは付加データのシーンと識別対象のシーンとが不一致であり、2、3、6〜8番目の画像ファイルでは付加データのシーンと識別対象のシーンとが一致していることにする。   In the following description, it is assumed that the objects of direct printing are the first to ninth image files. Similarly to the reference example, in the first, fourth, fifth, and ninth image files, the additional data scene and the scene to be identified do not match, and in the second, third, and sixth to eighth image files, the additional data It is assumed that the scene matches the scene to be identified.

図24は、第1実施形態のダイレクトプリントの処理の流れを示すフロー図である。各処理は、メモリ23に記憶されたプログラムに基づいてプリンタ側コントローラ20によって実現される。   FIG. 24 is a flowchart showing the flow of direct print processing according to the first embodiment. Each process is realized by the printer-side controller 20 based on a program stored in the memory 23.

まず、プリンタ側コントローラ20は、ダイレクトプリントの対象となる複数の画像ファイルから1番目の画像ファイルを取得し、顔識別処理及びシーン識別処理を行う(S701)。これらの処理については既に説明したので、説明を省略する。   First, the printer-side controller 20 acquires a first image file from a plurality of image files to be subjected to direct printing, and performs face identification processing and scene identification processing (S701). Since these processes have already been described, a description thereof will be omitted.

次に、プリンタ側コントローラ20は、付加データの示すシーンと、識別処理結果の示すシーンとを比較可能かどうか判断する(S702)。識別処理結果に複数のシーン候補が含まれる場合には、確信度の最も高いシーン候補を用いて判断する。   Next, the printer-side controller 20 determines whether the scene indicated by the additional data can be compared with the scene indicated by the identification processing result (S702). When a plurality of scene candidates are included in the identification processing result, determination is made using the scene candidate with the highest certainty factor.

なお、次のS703において不一致の判断に撮影シーンタイプデータを用いる場合と、MakerNoteデータである撮影モードデータを用いる場合とで、S702の判断方法は異なる。
S703において撮影シーンタイプデータを用いる場合、撮影シーンタイプデータが「人物」「風景」及び「夜景」のいずれでもないとき、例えば撮影シーンタイプデータが「0」のとき(図5参照)、S703において識別処理結果との比較ができないので、S702の判断はNOとなる。また、識別処理結果が「人物」「風景」及び「夜景」のいずれでもないとき、S703において撮影シーンタイプデータとの比較ができないので、S702の判断はNOとなる。例えば識別処理結果が「夕景」のとき、S702の判断はNOとなる。
S703において撮影モードデータを用いる場合、撮影モードデータが「人物」「風景」「夕景」及び「夜景」のいずれでもないとき、例えば撮影モードデータが「3(接写)」のとき(図5参照)、識別処理結果との比較ができないので、S702の判断はNOとなる。また、識別処理結果が「人物」「風景」「夕景」及び「夜景」のいずれでもないとき、撮影モードデータとの比較ができないので、S702の判断はNOとなる。
Note that the determination method in S702 is different between the case where the shooting scene type data is used to determine the mismatch in the next S703 and the case where shooting mode data which is MakerNote data is used.
When shooting scene type data is used in S703, when the shooting scene type data is neither “person”, “landscape”, or “night view”, for example, when shooting scene type data is “0” (see FIG. 5), in S703. Since the comparison with the identification processing result cannot be performed, the determination in S702 is NO. If the identification processing result is neither “person”, “landscape”, or “night view”, the comparison with the photographic scene type data cannot be made in S703, so the determination in S702 is NO. For example, when the identification processing result is “evening scene”, the determination in S702 is NO.
When shooting mode data is used in S703, when the shooting mode data is not “person”, “landscape”, “evening scene”, or “night scene”, for example, when the shooting mode data is “3 (close-up)” (see FIG. 5). Since the comparison with the identification processing result is impossible, the determination in S702 is NO. Further, when the identification processing result is neither “person”, “landscape”, “evening scene”, or “night scene”, the comparison with the shooting mode data is impossible, so the determination in S702 is NO.

S702においてYESの場合、プリンタ側コントローラ20は、付加データ(撮影シーンタイプデータ、撮影モードデータ)の示すシーンと、識別処理結果の示すシーンとが不一致か否かを判断する(S703)。識別処理結果に複数のシーン候補が含まれる場合には、確信度の最も高いシーン候補を用いて判断する。   In the case of YES in S702, the printer-side controller 20 determines whether or not the scene indicated by the additional data (shooting scene type data and shooting mode data) and the scene indicated by the identification processing result do not match (S703). When a plurality of scene candidates are included in the identification processing result, determination is made using the scene candidate with the highest certainty factor.

S703において不一致の場合(YES)、その画像ファイルの番号と、識別処理結果等をメモリ23に記憶する(S705)。そして、S706へ処理が進む。   If they do not match in S703 (YES), the number of the image file, the identification processing result, etc. are stored in the memory 23 (S705). Then, the process proceeds to S706.

S703において不一致ではない場合(NO)、プリンタ側コントローラ20はジョブを作成する(S704)。このときのジョブの内容は、画像データを識別処理結果のシーンに基づいて補正し、補正された画像データに基づいて印刷処理を行うことである。プリンタ側コントローラ20は、複数のジョブが蓄積されていれば、優先順位に従ってジョブを順に実行する。ジョブが実行されると、そのジョブの内容に従って、画像データが所定のシーン(ここでは識別処理結果のシーン)に基づいて補正され、補正された画像データに基づいて印刷処理が行われる。なお、プリンタ側コントローラ20は、ジョブを実行する間も、図24の各処理を並列して行う。   If there is no mismatch in S703 (NO), the printer-side controller 20 creates a job (S704). The content of the job at this time is to correct the image data based on the scene of the identification processing result, and to perform the printing process based on the corrected image data. If a plurality of jobs are accumulated, the printer-side controller 20 executes the jobs in order according to the priority order. When the job is executed, the image data is corrected based on a predetermined scene (here, a scene as a result of the identification process) according to the contents of the job, and a printing process is performed based on the corrected image data. Note that the printer-side controller 20 performs the processes in FIG. 24 in parallel while executing a job.

1番目の画像ファイルに対してS702でYESと判断され、S703でYESと判断されると、プリンタ側コントローラ20は、画像ファイルの番号と、識別処理結果(ここでは「風景」、複数のシーン候補があれば、それらのシーン候補)をメモリ23に記憶することになる(S705)。   If YES is determined in step S702 for the first image file and YES is determined in step S703, the printer-side controller 20 determines the image file number, the identification processing result (here, “landscape”, a plurality of scene candidates). If there is, those scene candidates) are stored in the memory 23 (S705).

次に、まだ2番目〜9番目の画像ファイルが残っているのでS706でNOと判断され、2番目の画像ファイルに対してS701の処理が行われる。   Next, since the second to ninth image files still remain, NO is determined in S706, and the processing of S701 is performed on the second image file.

2番目の画像ファイルにおいて、S702でYESと判断され、S703でNOと判断されると、プリンタ側コントローラ20は、2番目の画像ファイルのジョブを作成する(S704)。このとき、他のジョブがないので、ジョブの作成後にすぐにそのジョブが実行される。すなわち、2番目の画像ファイルの画像データが補正処理され、補正された画像データに基づいて印刷処理が開始される。   In the second image file, if YES is determined in S702 and NO is determined in S703, the printer-side controller 20 creates a job for the second image file (S704). At this time, since there is no other job, the job is executed immediately after the job is created. That is, the image data of the second image file is corrected, and the printing process is started based on the corrected image data.

このようにして、残りの3番目〜9番目の画像ファイルに対しても、同様にS701〜S706の処理が行われる。なお、プリンタ側コントローラ20は、2番目の画像ファイルのジョブを実行する間に、3番目の画像ファイルに対するS701〜S706の処理を並列して行うことになる。   In this way, the processes of S701 to S706 are similarly performed on the remaining third to ninth image files. Note that the printer-side controller 20 performs the processes in S701 to S706 on the third image file in parallel while executing the job of the second image file.

9番目の画像ファイルに対してS705の処理を行った後、残りの画像ファイルがないので、プリンタ側コントローラ20は、S706においてYESと判断する。そして、プリンタ側コントローラ20は、確認画面を表示する(S707)。   After the process of S705 is performed on the ninth image file, there is no remaining image file, so the printer-side controller 20 determines YES in S706. Then, the printer-side controller 20 displays a confirmation screen (S707).

図25は、第1実施形態の確認画面164の一例の説明図である。
この確認画面164には、4個の画像164Aが表示される(図では四角の枠しか描かれていないが、実際には、この枠の中に画像が表示される)。プリンタ側コントローラ20は、S705で記憶したデータに基づいて、どの画像を確認画面164に表示すべきかを判断する。確認画面164に表示された4個の画像164Aは、S703において付加データ(撮影シーンタイプデータ、撮影モードデータ)の示すシーンと、識別処理結果の示すシーンとが不一致であると判断された1、4、5、9番目の画像である。
FIG. 25 is an explanatory diagram illustrating an example of the confirmation screen 164 according to the first embodiment.
On the confirmation screen 164, four images 164A are displayed (in the figure, only a square frame is drawn, but in reality, an image is displayed in this frame). The printer-side controller 20 determines which image should be displayed on the confirmation screen 164 based on the data stored in S705. In the four images 164A displayed on the confirmation screen 164, it is determined in S703 that the scene indicated by the additional data (shooting scene type data and shooting mode data) does not match the scene indicated by the identification processing result. The fourth, fifth, and ninth images.

前述の参考例と比較すると、第1実施形態では不一致の画像しか表示しないので、確認をすべき画像をユーザが把握しやすい。また、第1実施形態では、2つのシーンが不一致の画像しか表示しないので、各画像164Aを表示できるスペースが広がる。このため、画像164Aは、サムネイル画像データを用いて表示されても良いが、画像データに補正を施して表示しても良い。画像データに補正を施して画像164Aを表示する場合、画像164Aの右下のマーク164Bの中に示されるシーンに応じた補正を施すようにする。これにより、画像164Aに施された補正の内容と、画像164Aの右下のマーク164Bの示す内容が一致する。   Compared with the above-described reference example, in the first embodiment, only mismatched images are displayed, so that the user can easily grasp the image to be confirmed. Further, in the first embodiment, since only the images where the two scenes do not match are displayed, the space in which each image 164A can be displayed is expanded. For this reason, the image 164A may be displayed using thumbnail image data, but the image data may be displayed after correction. When the image data 164A is displayed by correcting the image data, the correction corresponding to the scene indicated in the lower right mark 164B of the image 164A is performed. Thereby, the content of the correction applied to the image 164A matches the content indicated by the mark 164B at the lower right of the image 164A.

ユーザは、参考例の場合と同様に、この確認画面164を見ながら入力部17を操作することにより、各画像に対して、付加データのシーンに基づく補正を行うのか、識別処理結果のシーンに基づく補正を行うのかを決定できる。画像データに補正を施して画像164Aを表示する場合、プリンタ側コントローラ20は、マーク164Bの中のシーンが切り替わるたびに、画像164Aに施す補正を切り替えて表示する。例えば、5番目の画像164Aのマーク164Bが示すシーンを「夕景」(識別処理結果のシーン)から「風景」(付加データのシーン)に切り替えたとき、5番目の画像164Aを、夕景モードにて補正を施した画像から、風景モードにて補正を施した画像へ切り替える。これにより、補正の効果をユーザが確認しやすくなる。   As in the case of the reference example, the user operates the input unit 17 while viewing the confirmation screen 164 to perform correction based on the scene of the additional data for each image, or to the scene of the identification processing result. It is possible to decide whether to perform correction based on this. When the image data 164A is displayed by correcting the image data, the printer-side controller 20 switches and displays the correction applied to the image 164A every time the scene in the mark 164B is switched. For example, when the scene indicated by the mark 164B of the fifth image 164A is switched from “evening scene” (identification processing result scene) to “landscape” (additional data scene), the fifth image 164A is switched to the evening scene mode. Switch from the corrected image to the image corrected in landscape mode. This makes it easier for the user to confirm the effect of correction.

確認画面は、ユーザによる確認の入力があるまで表示される(S708でNO)。但し、ユーザによる確認の入力がない場合であっても、確認画面が表示されてから所定時間(例えば20秒)が経過したら、次の処理に進んでも良い。これにより、ユーザがプリンタから離れていても、処理を進めることができる。この場合、初期設定で選択されたシーンがユーザに選択されたものとする。初期設定で選択されるシーンは、識別処理結果の確信度に応じて変わっても良いし、確信度に関わらず常に識別処理結果のシーンを選択するように予め決まっていても良い。   The confirmation screen is displayed until confirmation is input by the user (NO in S708). However, even if there is no confirmation input by the user, the process may proceed to the next process after a predetermined time (for example, 20 seconds) has elapsed since the confirmation screen was displayed. Thereby, even if the user is away from the printer, the process can proceed. In this case, it is assumed that the scene selected by the initial setting is selected by the user. The scene selected in the initial setting may be changed according to the certainty of the identification processing result, or may be determined in advance so that the scene of the identification processing result is always selected regardless of the certainty.

第1実施形態では、ユーザが確認画面上で操作を行う間に、既に印刷が開始されることになる。前述の参考例では、ユーザの確認に時間がかかってしまうと印刷開始が遅れてしまうが、第1実施形態では、確認画面の表示中に印刷が開始されているので(少なくとも2番目の画像の印刷が開始しているので)、印刷終了までの時間が短くなる。   In the first embodiment, printing is already started while the user performs an operation on the confirmation screen. In the above-described reference example, if the user confirmation takes time, the printing start is delayed. However, in the first embodiment, since the printing is started while the confirmation screen is displayed (at least the second image is displayed). Since printing has started, the time until printing ends is shortened.

ユーザにより入力部17の決定ボタン(不図示)が押されると(S708でYES)、プリンタ側コントローラ20は、1、4、5、9番目の画像を印刷するためのジョブをそれぞれ作成する(S709)。このときのジョブの内容は、ユーザの選択したシーンに基づいて画像データを補正し、補正された画像データに基づいて印刷処理を行うことである。   When a determination button (not shown) of the input unit 17 is pressed by the user (YES in S708), the printer-side controller 20 creates jobs for printing the first, fourth, fifth, and ninth images, respectively (S709). ). The content of the job at this time is to correct the image data based on the scene selected by the user, and to perform a printing process based on the corrected image data.

次に、プリンタ側コントローラ20は、番号順に印刷ができる状態か否かを判断する(S710)。具体的には、プリンタ側コントローラ20は、S709でジョブを作成した画像ファイルの最小の番号が、既に印刷を開始した画像の番号よりも大きければ、番号順に印刷ができる状態であると判断する。ここでは、S709でジョブを作成した画像ファイル(1、4、5、9番目の画像ファイル)の最小の番号は1番であり、2番目の画像が印刷開始されているので、S710の判断はNOになる。   Next, the printer-side controller 20 determines whether or not printing is possible in numerical order (S710). Specifically, if the minimum number of the image file that created the job in S709 is larger than the number of the image that has already started printing, the printer-side controller 20 determines that printing is possible in the order of the numbers. Here, since the minimum number of the image file (first, fourth, fifth, ninth image file) that created the job in S709 is No. 1, and the second image has started printing, the determination in S710 is NO.

仮に1番目の画像ファイルにおいて2つのシーンが不一致でなければ、S704において1〜3番目の画像を印刷するジョブが作成され、1番目の画像の印刷が開始される。通常、1枚の画像を印刷するのに数秒〜数十秒かかるので、ユーザの確認画面上での操作が早ければ、1〜3番目の画像の印刷が終了する前に(6番目の画像の印刷が開始する前に)、4、5、9番目の画像ファイルのジョブが作成される(S709)。このような場合、プリンタ側コントローラ20は、S710においてYESと判断し、ジョブの順番を変更し(S711)、ジョブの優先順位を画像ファイルの番号順にする。これにより、プリンタ4は、3番目の画像の印刷の後に、6番の画像を印刷するのではなく、4番の画像を印刷することになる。そして、ユーザは、画像ファイルの番号順に印刷された画像を手にすることができる。   If the two scenes do not match in the first image file, a job for printing the first to third images is created in S704, and printing of the first image is started. Usually, since it takes several seconds to several tens of seconds to print one image, if the operation on the confirmation screen by the user is quick, before the first to third images are printed (the sixth image Before printing starts, jobs for the fourth, fifth, and ninth image files are created (S709). In such a case, the printer-side controller 20 determines YES in S710, changes the job order (S711), and sets the job priority in the order of the image file numbers. Thus, after printing the third image, the printer 4 prints the fourth image instead of printing the sixth image. Then, the user can obtain images printed in the order of the numbers of the image files.

なお、S710の判断がNOの場合、プリンタ4は画像ファイルの番号順に画像を印刷しないので、プリンタ側コントローラ20は、そのことをユーザに知らせる警告画面を表示部16に表示しても良い。さらに、この警告画面に印刷順序を表示すれば、印刷された画像をユーザが並び替えるときに便利である。   If the determination in S710 is NO, the printer 4 does not print the images in the order of the image file numbers, so the printer-side controller 20 may display a warning screen informing the user of this on the display unit 16. Furthermore, displaying the print order on this warning screen is convenient when the user rearranges the printed images.

そして、プリンタ側コントローラ20は、蓄積されたジョブを優先順位に従って順に実行し、全てのジョブの実行が終了すれば(S712でYES)、処理を終了する。   Then, the printer-side controller 20 executes the stored jobs in order according to the priority order, and when the execution of all the jobs is completed (YES in S712), the process ends.

<第1実施形態の別の確認画面>
図26は、第1実施形態の別の確認画面の説明図である。図25の確認画面164と比較すると、この確認画面165では、各画像に対して3個のマーク1651〜1653が設けられている点で異なる。
<Another confirmation screen of the first embodiment>
FIG. 26 is an explanatory diagram of another confirmation screen according to the first embodiment. Compared with the confirmation screen 164 of FIG. 25, the confirmation screen 165 is different in that three marks 1651 to 1653 are provided for each image.

この確認画面165には、3個の画像165Aが表示される。前述の確認画面164の場合と同様に、プリンタ側コントローラ20は、S705で記憶したデータに基づいて、どの画像を確認画面165に表示すべきかを判断する。確認画面165に表示された3個の画像164Aは、S703において付加データ(撮影シーンタイプデータ、撮影モードデータ)の示すシーンと、識別処理結果の示すシーンとが不一致であると判断された1、4、5番目の画像である。なお、9番目の画像の情報は、ユーザの操作によって確認画面を切り替えることによって、表示される。   On this confirmation screen 165, three images 165A are displayed. As in the case of the confirmation screen 164 described above, the printer-side controller 20 determines which image should be displayed on the confirmation screen 165 based on the data stored in S705. In the three images 164A displayed on the confirmation screen 165, it is determined in S703 that the scene indicated by the additional data (shooting scene type data and shooting mode data) and the scene indicated by the identification processing result are inconsistent. The fourth and fifth images. The information on the ninth image is displayed by switching the confirmation screen by the user's operation.

この確認画面165においても、2つのシーンが不一致の画像しか表示しないので、確認をすべき画像をユーザが把握しやすい。但し、前述の確認画面164と比べて画像165Aを表示できるスペースが小さいため、画像ファイルのサムネイル画像データ(図3参照)を用いて各画像165Aが表示されている。また、表示される画像が小さいのでユーザが画質を評価することは難しいため、サムネイル画像データには特に画像補正は施されていない。   Also on this confirmation screen 165, since only images where the two scenes do not match are displayed, the user can easily grasp the image to be confirmed. However, since the space in which the image 165A can be displayed is small compared to the above-described confirmation screen 164, each image 165A is displayed using thumbnail image data (see FIG. 3) of the image file. In addition, since the displayed image is small, it is difficult for the user to evaluate the image quality. Therefore, the thumbnail image data is not particularly subjected to image correction.

各画像165の右側に、それぞれの画像に対応付けられた3個のマーク1651〜1653が表示される。3個のマークは、左から順に、標準モード(図7の「その他」による補正)で補正することを示すマーク、付加データのシーンを示すマーク、識別処理結果を示すマークである。前述の確認画面164では、ユーザはマークの中のシーンを切り替えていたが、この確認画面165では、ユーザはいずれかのマークを選択し、プリンタ側コントローラ20は、ユーザの選択に応じたシーンに基づいて画像を補正することになる。   On the right side of each image 165, three marks 1651 to 1653 associated with each image are displayed. The three marks are, in order from the left, a mark indicating correction in the standard mode (correction by “Other” in FIG. 7), a mark indicating a scene of additional data, and a mark indicating the identification processing result. In the confirmation screen 164 described above, the user switches the scene in the mark. However, on the confirmation screen 165, the user selects one of the marks, and the printer-side controller 20 changes the scene according to the user's selection. Based on this, the image is corrected.

この確認画面165には、標準モード(図7の「その他」による補正)で補正することを示すマークがあるが、このマークはなくても良い。また、マークを表示するスペースに余裕があれば、シーン候補が複数あるときに、各シーン候補を示すマークをそれぞれ表示しても良い。   The confirmation screen 165 has a mark indicating that correction is performed in the standard mode (correction by “Other” in FIG. 7), but this mark may not be present. In addition, if there is a sufficient space for displaying marks, marks indicating each scene candidate may be displayed when there are a plurality of scene candidates.

この確認画面165においても、前述の参考例と比較すると、不一致の画像しか表示しないので、確認をすべき画像をユーザが把握しやすい。また、本実施形態では、2つのシーンが不一致の画像しか表示しないので、マーク165Bを表示できるスペースが広がる。このため、確認画面上でユーザに提示できる情報量を増やすことができる。   Also in the confirmation screen 165, compared with the above-described reference example, only the mismatched images are displayed, so that the user can easily grasp the image to be confirmed. Further, in the present embodiment, since only images where the two scenes do not match are displayed, the space for displaying the mark 165B is expanded. For this reason, the amount of information that can be presented to the user on the confirmation screen can be increased.

<第2実施形態>
前述の第1実施形態では、確認画面に複数の画像を一覧表示している。これに対し、以下の第2実施形態では、1つずつ確認画面を表示する。
Second Embodiment
In the first embodiment described above, a plurality of images are displayed in a list on the confirmation screen. On the other hand, in the following second embodiment, confirmation screens are displayed one by one.

以下の説明では、前述の第1実施形態と同様に、ダイレクトプリントの対象は、1番目〜9番目の画像ファイルであることにする。また、1、4、5及び9番目の画像ファイルでは付加データのシーンと識別対象のシーンとが不一致であり、2、3、6〜8番目の画像ファイルでは付加データのシーンと識別対象のシーンとが一致していることにする。   In the following description, as in the first embodiment, the direct print target is the first to ninth image files. In the first, fourth, fifth, and ninth image files, the additional data scene and the identification target scene do not match, and in the second, third, and sixth to eighth image files, the additional data scene and the identification target scene. And match.

図27は、第2実施形態のダイレクトプリントの処理の流れを示すフロー図である。各処理は、メモリ23に記憶されたプログラムに基づいてプリンタ側コントローラ20によって実現される。なお、第2実施形態における図27のS701〜S706の処理は、前述の第1実施形態における図24のS701〜S706の処理と同じなので、説明を省略する。   FIG. 27 is a flowchart showing the flow of direct print processing according to the second embodiment. Each process is realized by the printer-side controller 20 based on a program stored in the memory 23. In addition, since the process of S701-S706 of FIG. 27 in 2nd Embodiment is the same as the process of S701-S706 of FIG. 24 in above-mentioned 1st Embodiment, description is abbreviate | omitted.

9番目の画像ファイルに対してS705の処理を行った後、残りの画像ファイルがないので、プリンタ側コントローラ20は、S706においてYESと判断する。このとき、メモリ23には、S703で記憶したデータとして、1、4、5、9番目の画像に関するデータが記憶されている。   After the process of S705 is performed on the ninth image file, there is no remaining image file, so the printer-side controller 20 determines YES in S706. At this time, the memory 23 stores data relating to the first, fourth, fifth, and ninth images as the data stored in S703.

次に、プリンタ側コントローラ20は、付加データのシーンと識別処理結果のシーンとが不一致である1、4、5、9番目の画像の中から、1番目の画像を選択する(S721)。そして、プリンタ側コントローラ20は、1番目の画像についての確認画面166を表示する(S722)。   Next, the printer-side controller 20 selects the first image from the first, fourth, fifth, and ninth images in which the additional data scene and the identification processing result scene do not match (S721). Then, the printer-side controller 20 displays a confirmation screen 166 for the first image (S722).

図28Aは、第2実施形態の確認画面の一例の説明図である。この確認画面166には、1番目の画像データの示す画像が2つ並べて表示されている。左側の画像166Aは、付加データの示すシーンに基づいて補正された画像であり、ここでは「風景」モードによる補正が施されている(図7参照)。一方、右側の画像166Bは、識別処理結果のシーンに基づいて補正された画像であり、ここでは「人物」モードによる補正が施されている(図7参照)。また、右側の画像の下には、識別処理結果の確信度も示される。表示部16に表示される画像は大きくないので、確信度を画像と一緒に表示することによって、ユーザの判断材料を補っている。プリンタ側コントローラ20は、ユーザの入力部17への操作に応じて、ユーザの選択した画像の縁を太線で強調表示する。初期設定では、右側の画像166Bが選択される。ユーザによりOKボタン166Cが選択されると(S723でYES)、プリンタ側コントローラ20は、ユーザの選択に応じた補正モードにて画像データを補正して印刷するジョブを作成する(S724)。仮に、図28Aの状態でOKボタン166Cが押されると、識別処理結果である「人物」モードにて画像データが補正処理されて印刷されるジョブが作成されることになる。   FIG. 28A is an explanatory diagram illustrating an example of a confirmation screen according to the second embodiment. On the confirmation screen 166, two images indicated by the first image data are displayed side by side. The left image 166A is an image corrected based on the scene indicated by the additional data, and is corrected in the “landscape” mode here (see FIG. 7). On the other hand, the image 166B on the right side is an image corrected based on the scene of the identification processing result, and is corrected in the “person” mode here (see FIG. 7). Also, the certainty of the identification processing result is shown below the right image. Since the image displayed on the display unit 16 is not large, the user's judgment material is supplemented by displaying the certainty factor together with the image. The printer-side controller 20 highlights the edge of the image selected by the user with a bold line in response to the user's operation on the input unit 17. In the initial setting, the right image 166B is selected. If the OK button 166C is selected by the user (YES in S723), the printer-side controller 20 creates a job for correcting and printing the image data in the correction mode according to the user's selection (S724). If the OK button 166C is pressed in the state of FIG. 28A, a job is created in which the image data is corrected and printed in the “person” mode, which is the identification processing result.

図28Bは、第2実施形態の確認画面の他の例の説明図である。この確認画面167には、1番目の画像データの示す画像が一つ表示されている。但し、境界167Cにおいて、左右の画質が異なっている。境界より左側には、付加データの示すシーンに基づいて補正された画像167Aが表示される。また、境界より右側には、識別処理結果のシーンに基づいて補正された画像167Bが表示される。このように表示することにより、ユーザは、境界において左右の画質を比較できるので、図28Aのように離れた2つの画像を比較するよりも、2つの画像(167A、167B)を比較しやすくなる。通常、プリンタ側コントローラ20は境界167Cを画面の中央に設定するが、識別処理結果が「人物」の場合、プリンタ側コントローラ20は、図に示すように、識別できた人物の中心に境界を設定する。「人物」モードにて画像が補正される場合には肌色がきれいになるように補正されるので(図7参照)、人物の中心に境界が設定されることによって、ユーザは、「人物」モードによる画像の補正が適切か否かを容易に判断できる。この確認画面上には、付加データの示すシーンを表示するボタン167Dと、識別処理結果のシーンを表示するボタン167Eが表示される。ユーザにより2つのボタン(167D、167E)のいずれかが選択されると(S723でYES)、プリンタ側コントローラ20は、ユーザの選択に応じた補正モードにて画像データを補正して印刷するジョブを作成する(S724)。   FIG. 28B is an explanatory diagram of another example of the confirmation screen according to the second embodiment. On the confirmation screen 167, one image indicated by the first image data is displayed. However, the left and right image quality are different at the boundary 167C. On the left side of the boundary, an image 167A corrected based on the scene indicated by the additional data is displayed. On the right side of the boundary, an image 167B corrected based on the scene of the identification processing result is displayed. By displaying in this way, the user can compare the left and right image quality at the boundary, so it is easier to compare the two images (167A, 167B) than comparing the two separated images as shown in FIG. 28A. . Normally, the printer-side controller 20 sets the boundary 167C at the center of the screen, but when the identification processing result is “person”, the printer-side controller 20 sets the boundary at the center of the identified person as shown in the figure. To do. When the image is corrected in the “person” mode, the skin color is corrected (see FIG. 7). Therefore, by setting a boundary at the center of the person, the user can use the “person” mode. It can be easily determined whether or not image correction is appropriate. On this confirmation screen, a button 167D for displaying the scene indicated by the additional data and a button 167E for displaying the scene of the identification processing result are displayed. When the user selects one of the two buttons (167D, 167E) (YES in S723), the printer-side controller 20 corrects the image data in a correction mode according to the user's selection and prints a job. Create (S724).

確認画面は、ユーザによる確認の入力があるまで表示される(S723でNO)。但し、ユーザによる確認の入力がない場合であっても、確認画面が表示されてから所定時間(例えば20秒)が経過したら、次の処理に進んでも良い。これにより、ユーザがプリンタから離れていても、処理を進めることができる。この場合、初期設定で選択されたシーンがユーザに選択されたものとする。初期設定で選択されるシーンは、識別処理結果の確信度に応じて変わっても良いし、確信度に関わらず常に識別処理結果のシーンを選択するように予め決まっていても良い。   The confirmation screen is displayed until confirmation is input by the user (NO in S723). However, even if there is no confirmation input by the user, the process may proceed to the next process after a predetermined time (for example, 20 seconds) has elapsed since the confirmation screen was displayed. Thereby, even if the user is away from the printer, the process can proceed. In this case, it is assumed that the scene selected by the initial setting is selected by the user. The scene selected in the initial setting may be changed according to the certainty of the identification processing result, or may be determined in advance so that the scene of the identification processing result is always selected regardless of the certainty.

第2実施形態においても、ユーザが確認画面上で操作を行う間に、既に印刷が開始されることになる。前述の参考例では、ユーザの確認に時間がかかってしまうと印刷開始が遅れてしまうが、第2実施形態では、確認画面の表示中に印刷が開始されているので(少なくとも2番目の画像の印刷が開始しているので)、印刷終了までの時間が短くなる。   Also in the second embodiment, printing is already started while the user performs an operation on the confirmation screen. In the above-described reference example, if the user confirmation takes time, the printing start is delayed. However, in the second embodiment, since the printing is started while the confirmation screen is displayed (at least for the second image). Since printing has started, the time until printing ends is shortened.

ユーザによる確認があれば(S723でYES)、プリンタ側コントローラ20は、ユーザの選択に応じた補正モードにて画像データを補正して印刷するジョブを作成する(S724)。前述の第1実施形態のS709では4個のジョブが作成されたが、この第2実施形態のS724では1個のジョブが作成される。ここでは、まず、1番目の画像についてのジョブが作成される。   If there is a confirmation by the user (YES in S723), the printer-side controller 20 creates a job for correcting and printing the image data in the correction mode according to the user's selection (S724). In S709 of the first embodiment described above, four jobs are created. In S724 of the second embodiment, one job is created. Here, first, a job for the first image is created.

次に、プリンタ側コントローラ20は、番号順に印刷ができる状態か否かを判断する(S725)。具体的には、S724でジョブを作成した画像ファイルの番号が、既に印刷を開始した画像の番号よりも大きければ、プリンタ側コントローラ20は、番号順に印刷ができる状態であると判断する。ここでは、S724で1番目の画像ファイルのジョブが作成されており、一方、2番目の画像が印刷開始されているので、S710の判断はNOになる。   Next, the printer-side controller 20 determines whether printing is possible in numerical order (S725). Specifically, if the number of the image file that created the job in S724 is larger than the number of the image that has already started printing, the printer-side controller 20 determines that printing is possible in the order of the numbers. Here, since the job of the first image file has been created in S724, and the second image has started printing, the determination in S710 is NO.

次に、S727において、不一致の画像が未だあるので(4、5、9番目の画像が未だなので)、プリンタ側コントローラ20はYESと判断する。   Next, in S727, since there is still an inconsistent image (since the fourth, fifth, and ninth images are not yet), the printer-side controller 20 determines YES.

次に、プリンタ側コントローラ20は、4、5、9番目の画像の中から、4番目の画像を選択する(S721)。そして、プリンタ側コントローラ20は、4番目の画像についての確認画面を同様に表示する(S722)。   Next, the printer-side controller 20 selects the fourth image from the fourth, fifth, and ninth images (S721). Then, the printer-side controller 20 similarly displays a confirmation screen for the fourth image (S722).

4番目の画像についてユーザの確認があり(S723でYES)、4番目の画像ファイルのジョブが作成された後(S724)、プリンタ側コントローラ20は、4番目の画像について、番号順に印刷ができる状態か否かを判断する(S725)。仮に、3番目の画像の印刷が終了する前に(6番目の画像の印刷が開始する前に)、4番目の画像ファイルのジョブが作成されていれば、プリンタ側コントローラ20は、S725においてYESと判断する。そして、3番目の画像ファイルのジョブと、6番目の画像ファイルのジョブの間に、4番目の画像ファイルのジョブを挿入する。これにより、プリンタ4は、3番目の画像の印刷の後に、6番目の画像を印刷するのではなく、4番目の画像を印刷することになる。つまり、4番目の画像を、画像ファイルの番号順に印刷することができる。   The user confirms the fourth image (YES in S723), and after the job of the fourth image file is created (S724), the printer-side controller 20 can print the fourth image in numerical order. Whether or not (S725). If printing of the fourth image file has been created before printing of the third image is completed (before printing of the sixth image is started), the printer-side controller 20 determines YES in S725. Judge. Then, the job of the fourth image file is inserted between the job of the third image file and the job of the sixth image file. Thus, after printing the third image, the printer 4 prints the fourth image instead of printing the sixth image. That is, the fourth image can be printed in the order of the image file numbers.

なお、S725の判断がNOの場合、プリンタ4は画像ファイルの番号順に画像を印刷しないので、プリンタ側コントローラ20は、S725でNOと判断された画像の番号を記憶しておき、警告画面に、画像ファイルの番号順に印刷がされなかったことと、番号順に印刷されなかった画像ファイルの番号を表示部16に表示しても良い。このような警告表示がされれば、印刷された画像をユーザが並び替えるときに便利である。   If the determination in S725 is NO, the printer 4 does not print the images in the order of the image file numbers. Therefore, the printer-side controller 20 stores the image numbers determined as NO in S725, and displays the warning screen. It may be displayed on the display unit 16 that the image files are not printed in the order of the numbers of the image files and the numbers of the image files that are not printed in the order of the numbers. Such a warning display is convenient when the user rearranges the printed images.

このようにして、残りの5番目及び9番目の画像ファイルのジョブが作成され(S724)、必要に応じてジョブの順番が変更される(S726)。そして、プリンタ側コントローラ20は、蓄積されたジョブを優先順位に従って順に実行し、全てのジョブの実行が終了すれば(S712でYES)、処理を終了する。   In this way, jobs for the remaining fifth and ninth image files are created (S724), and the job order is changed as necessary (S726). Then, the printer-side controller 20 executes the stored jobs in order according to the priority order, and when the execution of all the jobs is completed (YES in S712), the process ends.

===付加データにシーン情報を追加===
確認画面においてユーザがシーンを選択すれば、ユーザの望んでいるシーンが確定できる。そこで、本実施形態では、ユーザが確認画面において確認をしたとき、プリンタ側コントローラ20は、ユーザの選択したシーンを画像ファイルの付加データに記憶している。ここでは、識別処理結果のシーンをユーザが確認画面上で選択した場合について説明する。
=== Add scene information to additional data ===
If the user selects a scene on the confirmation screen, the scene desired by the user can be determined. Therefore, in this embodiment, when the user confirms on the confirmation screen, the printer-side controller 20 stores the scene selected by the user in the additional data of the image file. Here, a case where the user selects a scene as a result of the identification process on the confirmation screen will be described.

図29は、付加データに識別結果を追加したときのAPP1領域の構成の説明図である。図29では、図3の画像ファイルと比較して異なる部分を太線で示している。   FIG. 29 is an explanatory diagram of the configuration of the APP1 area when the identification result is added to the additional data. In FIG. 29, a portion different from the image file of FIG. 3 is indicated by a bold line.

図3の画像ファイルと比較すると、図29の画像ファイルにはMakernoteIFDが追加されている。この2つ目のMakernoteIFDに、識別処理結果の情報が格納される。   Compared with the image file of FIG. 3, Makernote IFD is added to the image file of FIG. Information of the identification processing result is stored in the second Makernote IFD.

また、ExifSubIFDに新たなディレクトリエントリも追加される。追加されたディレクトリエントリは、2つ目のMakernoteIFDを示すタグと、2つ目のMakernoteIFDの格納場所を示すポインタとから構成されている。   A new directory entry is also added to the Exif SubIFD. The added directory entry is composed of a tag indicating the second Makernote IFD and a pointer indicating the storage location of the second Makernote IFD.

また、ExifSubIFDに新たなディレクトリエントリを追加したため、ExifSubIFDデータエリアの格納場所がずれるので、ExifSubIFDデータエリアの格納場所を示すポインタが変更される。   In addition, since a new directory entry is added to the Exif Sub IFD, the storage location of the Exif Sub IFD data area is shifted, so the pointer indicating the storage location of the Exif Sub IFD data area is changed.

また、2つ目のMakernoteIFDを追加したため、IFD1領域がずれるので、IFD0においてIFD1の位置を示すリンクも変更される。また、2つ目のMakernoteIFDを追加したため、APP1のデータ領域のサイズが変更されたので、APP1のデータ領域のサイズも変更する。   Further, since the second Makernote IFD is added, the IFD1 area is shifted, so that the link indicating the position of IFD1 is also changed in IFD0. In addition, since the second Makernote IFD is added, the size of the data area of APP1 is changed, so the size of the data area of APP1 is also changed.

このようにユーザの選択したシーン(この場合、識別処理結果のシーン)を画像ファイルの付加データに保存することにより、再度、この画像ファイルの画像を印刷するときに識別処理や確認画面の表示が不要になる。また、ユーザが本実施形態のプリンタ4からメモリカード6を取り出し、他のプリンタにメモリカード6を挿入したときに、このプリンタがシーン識別処理機能を備えないが自動補正処理を行うプリンタであっても、適切に画像データを補正できるようになる。   Thus, by saving the user-selected scene (in this case, the scene of the identification processing result) in the additional data of the image file, when the image of this image file is printed again, the identification processing and the confirmation screen are displayed. It becomes unnecessary. Further, when the user takes out the memory card 6 from the printer 4 of the present embodiment and inserts the memory card 6 into another printer, this printer does not have a scene identification processing function but performs automatic correction processing. However, the image data can be corrected appropriately.

===その他の実施の形態===
一実施形態としてのプリンタ等を説明したが、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。
=== Other Embodiments ===
Although a printer or the like as one embodiment has been described, the above embodiment is for facilitating understanding of the present invention, and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.

<プリンタについて>
前述の実施形態ではプリンタ4がシーン識別処理や確認画面表示等をしていたが、デジタルスチルカメラ2がシーン識別処理や確認画面表示等をしても良い。また、上記のシーン識別処理や確認画面表示を行う情報処理装置は、プリンタ4やデジタルスチルカメラ2に限られるものではない。例えば、大量の画像ファイルを保存するフォトストレージのような情報処理装置が、上記のシーン識別処理や確認画面表示を行っても良い。もちろん、パーソナルコンピュータやインターネット上に設置されたサーバーが、上記のシーン識別処理や確認画面表示を行っても良い。
<About the printer>
In the above-described embodiment, the printer 4 performs scene identification processing, confirmation screen display, and the like. However, the digital still camera 2 may perform scene identification processing, confirmation screen display, and the like. Further, the information processing apparatus that performs the scene identification process and the confirmation screen display is not limited to the printer 4 or the digital still camera 2. For example, an information processing apparatus such as a photo storage that stores a large amount of image files may perform the above-described scene identification processing and confirmation screen display. Of course, a personal computer or a server installed on the Internet may perform the above-described scene identification processing and confirmation screen display.

<画像ファイルについて>
前述の画像ファイルはExif形式であったが、画像ファイルフォーマットはこれに限られるものではない。また、前述の画像ファイルは静止画であるが、動画であっても良い。要するに、画像ファイルが画像データと付加データとを備えていれば、前述のようなシーン識別処理等を行うことが可能である。
<About image files>
The image file described above is in the Exif format, but the image file format is not limited to this. Further, the above-described image file is a still image, but may be a moving image. In short, if the image file includes image data and additional data, the scene identification process as described above can be performed.

<サポートベクタマシンについて>
前述のサブ識別器51やサブ部分識別器61には、サポートベクタマシン(SVM)による識別手法が用いられている。しかし、識別対象画像が特定シーンに属するか否かの識別手法は、サポートベクタマシンを用いるものに限られるものではない。例えば、ニューラルネットワーク等のパターン認識を採用しても良い。
<About Support Vector Machine>
For the above-described sub classifier 51 and sub partial classifier 61, a classification method using a support vector machine (SVM) is used. However, the method for identifying whether or not the identification target image belongs to a specific scene is not limited to using a support vector machine. For example, pattern recognition such as a neural network may be employed.

<シーン候補の抽出方法について>
前述の実施形態では、全体識別処理・部分識別処理・統合識別処理のいずれでもシーンを識別できなかった場合に限り、確信度が所定値以上のシーンをシーン候補として抽出している。但し、シーン候補の抽出方法は、これに限られるものではない。
図30は、別の処理フローの説明図である。この処理は、前述のシーン識別処理の代わりに行われる。
まず、前述の実施形態と同様に、プリンタ側コントローラ20が、画像ファイルの情報に基づいて、全体特徴量を算出する(S801)。次に、風景識別器51Lが、前述の識別処理と同様に、判別式の値又はその値に対応するPrecisionを確信度として算出する(S802)。なお、前述の実施形態の風景識別器51Lは、識別対象画像が風景のシーンに属するか否かをも識別していたが、ここでの風景識別器51Lは、判別式に基づいて確信度を算出するだけである。同様に、他のサブ識別器51も、確信度を算出する(S803〜S806)。そして、プリンタ側コントローラ20は、確信度が所定値以上のシーンをシーン候補として抽出し(S807)、シーン候補(及び確信度)を記憶する(S808)。
このようにしても、画像データの示す画像のシーンを識別することが可能である。そして、このように識別したシーンと、付加データのシーンとを比較して、不一致のときに確認画面を表示することも可能である。
<About scene candidate extraction method>
In the above-described embodiment, a scene having a certainty level equal to or higher than a predetermined value is extracted as a scene candidate only when a scene cannot be identified by any of the overall identification process, the partial identification process, and the integrated identification process. However, the method for extracting scene candidates is not limited to this.
FIG. 30 is an explanatory diagram of another processing flow. This process is performed instead of the scene identification process described above.
First, as in the above-described embodiment, the printer-side controller 20 calculates an overall feature amount based on image file information (S801). Next, the landscape discriminator 51L calculates the discriminant value or the Precision corresponding to the discriminant as the certainty factor as in the above-described discrimination processing (S802). Note that the landscape classifier 51L of the above-described embodiment also identifies whether or not the classification target image belongs to a landscape scene. However, the landscape classifier 51L here has a certainty factor based on a discriminant. Just calculate. Similarly, the other sub classifiers 51 also calculate the certainty factor (S803 to S806). Then, the printer-side controller 20 extracts a scene having a certainty factor of a predetermined value or more as a scene candidate (S807), and stores the scene candidate (and the certainty factor) (S808).
Even in this way, it is possible to identify the scene of the image indicated by the image data. It is also possible to compare the identified scene with the scene of the additional data and display a confirmation screen when there is a mismatch.

===まとめ===
(1)前述の実施形態では、プリンタ側コントローラ20は、画像データに付加されている付加データから、シーン情報である撮影シーンタイプデータや撮影モードデータを取得する。また、プリンタ側コントローラ20は、顔識別処理やシーン識別処理(図8参照)による識別結果を取得する。
撮影シーンタイプデータや撮影モードデータの示すシーンと、シーン識別処理の識別結果のシーンとが不一致になる場合がある。このような場合、ユーザの確認を促すための確認画面を表示することにしている。
但し、確認画面によるユーザの確認を待って画像処理(画像補正処理や印刷処理など)を進めると、処理を開始するまでに時間がかかり、処理の終了までに時間がかかる。
そこで、前述の実施形態では、2つのシーンが不一致である1番目の画像に対して画像補正処理(画像処理の一例)や印刷処理(画像処理の一例)が行われる前に、2つのシーンが不一致ではない2番目の画像が、識別処理結果に基づいて、画像補正処理が開始される(図24のS704、図25参照)。これにより、1番目の画像の確認を待たずに2番目の画像の処理を進めることができるので、比較例よりも画像補正や印刷処理を早く開始できる。
=== Summary ===
(1) In the above-described embodiment, the printer-side controller 20 acquires shooting scene type data and shooting mode data that are scene information from the additional data added to the image data. Further, the printer-side controller 20 acquires the identification result obtained by the face identification process or the scene identification process (see FIG. 8).
There are cases where the scene indicated by the shooting scene type data or shooting mode data and the scene of the identification result of the scene identification process do not match. In such a case, a confirmation screen for prompting the user to confirm is displayed.
However, if image processing (image correction processing, printing processing, etc.) is advanced after waiting for user confirmation on the confirmation screen, it takes time to start the processing, and it takes time to complete the processing.
Therefore, in the above-described embodiment, before the image correction process (an example of image processing) and the printing process (an example of image processing) are performed on the first image in which the two scenes do not match, the two scenes are An image correction process is started on the second image that is not inconsistent based on the identification process result (see S704 in FIG. 24 and FIG. 25). As a result, the processing of the second image can proceed without waiting for confirmation of the first image, so that image correction and printing processing can be started earlier than in the comparative example.

(2)前述の実施形態では、2つのシーンが不一致である1番目の画像についての確認画面が表示されているときに(図24のS707、図25参照)、2つのシーンが不一致ではない2番目の画像が、識別処理結果に基づいて、画像補正処理され、印刷処理される(S704)。これにより、1番目の画像の確認を待たずに2番目の画像の処理を進めることができるので、比較例よりも画像補正や印刷処理を早く開始できる。 (2) In the above-described embodiment, when the confirmation screen for the first image in which two scenes do not match is displayed (see S707 in FIG. 24, FIG. 25), the two scenes are not inconsistent 2 The second image is subjected to image correction processing and printing processing based on the identification processing result (S704). As a result, the processing of the second image can proceed without waiting for confirmation of the first image, so that image correction and printing processing can be started earlier than in the comparative example.

(3)前述のプリンタ側コントローラ20は、ジョブの優先順位に従って、ジョブを実行する。そして、前述の実施形態では、2つのシーンが不一致である1番目の画像については、確認画面を表示した後にジョブが作成される(S709)。一方、2つのシーンが不一致ではない2番目の画像については、確認画面を表示する前にジョブが作成される(S704)。これにより、1番目の画像の確認を待たずに2番目の画像のジョブを先に作成できるので、比較例よりも画像補正や印刷処理を早く開始できる。 (3) The printer-side controller 20 described above executes a job according to the priority order of the job. In the above-described embodiment, for the first image in which the two scenes do not match, a job is created after displaying the confirmation screen (S709). On the other hand, for the second image in which the two scenes are not inconsistent, a job is created before displaying the confirmation screen (S704). As a result, a job for the second image can be created first without waiting for confirmation of the first image, so that image correction and printing processing can be started earlier than in the comparative example.

(4)前述の実施形態では、プリンタ側コントローラ20は、S709においてジョブを作成した後に(2つのシーンが不一致の画像のジョブを作成した後に)、ジョブの優先順位を変更している。これにより、番号順に印刷できる画像の枚数を増やすことができる。 (4) In the above-described embodiment, the printer-side controller 20 changes the job priority after creating a job in S709 (after creating a job of an image in which two scenes do not match). As a result, the number of images that can be printed in the order of numbers can be increased.

(5)前述のプリンタ側コントローラ20は、S709においてジョブを作成した後に、ダイレクトプリントの対象となる複数の画像ファイルの番号順に印刷できるか否かを判断する(S710)。そして、プリンタ側コントローラ20は、S710でYESならばジョブの順番を変更している。これにより、ジョブの実行順序を、ダイレクトプリントの対象となる複数の画像ファイルの番号順にすることができる。
但し、前述の第1実施形態では、ダイレクトプリントの全ての対象が番号順に印刷できるか否かをS710にて判断しているが、これに限られるものではない。例えば、1番目の画像は順番どおりに印刷できないが、残りの4、5、9番目の画像を順番どおりに印刷できるのであれば、S710でYESと判断し、ジョブの順番を変更しても良い。このようにすれば、番号順に印刷できる画像の枚数を増やすことができる(例えば、1番目以外の画像を、番号順に印刷できる)。
(5) After creating the job in S709, the printer-side controller 20 determines whether or not printing can be performed in the order of the numbers of a plurality of image files to be directly printed (S710). The printer-side controller 20 changes the job order if YES in S710. Thus, the job execution order can be set in the order of the numbers of a plurality of image files to be directly printed.
However, in the first embodiment described above, it is determined in S710 whether or not all objects of direct printing can be printed in numerical order, but the present invention is not limited to this. For example, if the first image cannot be printed in order, but the remaining fourth, fifth, and ninth images can be printed in order, YES is determined in S710 and the job order may be changed. . In this way, the number of images that can be printed in numerical order can be increased (for example, images other than the first can be printed in numerical order).

(6)前述の実施形態において、S710の判断がNOの場合、プリンタ4は画像ファイルの番号順に画像を印刷しないので、プリンタ側コントローラ20は、そのことをユーザに知らせる警告画面を表示部16に表示しても良い。これにより、ユーザは、印刷された画像が順番に並んでいないことに気づくことができる。 (6) In the above-described embodiment, if the determination in S710 is NO, the printer 4 does not print the images in the order of the number of the image file. You may display. Thus, the user can notice that the printed images are not arranged in order.

(7)前述のプリンタ4(情報処理装置に相当)は、プリンタ側コントローラ20と表示部16を備えている。そして、プリンタ側コントローラ20は、画像データに付加されている付加データから、シーン情報である撮影シーンタイプデータや撮影モードデータを取得する。また、プリンタ側コントローラ20は、顔識別処理やシーン識別処理(図8参照)による識別結果を取得する。また、撮影シーンタイプデータや撮影モードデータの示すシーンと、識別処理結果のシーンとを比較する。そして、プリンタ側コントローラ20は、付加データのシーンと識別処理結果のシーンとが不一致の画像があれば、確認画面を表示部16に表示する(S707参照)。 (7) The printer 4 (corresponding to the information processing apparatus) includes the printer-side controller 20 and the display unit 16. Then, the printer-side controller 20 acquires shooting scene type data and shooting mode data that are scene information from the additional data added to the image data. Further, the printer-side controller 20 acquires the identification result obtained by the face identification process or the scene identification process (see FIG. 8). Further, the scene indicated by the shooting scene type data and shooting mode data is compared with the scene obtained as a result of the identification process. If there is an image in which the additional data scene and the identification processing result scene do not match, the printer-side controller 20 displays a confirmation screen on the display unit 16 (see S707).

そして、前述のプリンタ側コントローラ20は、2つのシーンが不一致である1番目の画像に対して画像補正処理(画像処理の一例)や印刷処理(画像処理の一例)が行われる前に、2つのシーンが不一致ではない2番目の画像に対して、識別処理結果に基づいて、画像補正処理を開始する(図24のS704、図25参照)。これにより、1番目の画像の確認を待たずに2番目の画像の処理を進めることができるので、比較例よりも画像補正や印刷処理を早く開始できる。   The above-described printer-side controller 20 performs two processing before image correction processing (an example of image processing) and printing processing (an example of image processing) are performed on the first image in which two scenes do not match. Image correction processing is started on the second image whose scenes are not inconsistent based on the result of identification processing (see S704 in FIG. 24 and FIG. 25). As a result, the processing of the second image can proceed without waiting for confirmation of the first image, so that image correction and printing processing can be started earlier than in the comparative example.

(8)前述のメモリ23には、図24などの処理をプリンタ4に実行させるプログラムが記憶されている。このプログラムは、複数の画像データのそれぞれの画像データについて、画像データに付加されている付加データから画像データのシーン情報を取得するコードと、画像データに基づいて画像データの示す画像のシーンを識別するコードと、シーン情報の示すシーンと識別したシーンとを比較するコードと、シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに確認画面を表示するコードとを備えている。また、このプログラムは、不一致画像に対して画像処理が施される前に、シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始する。これにより、画像処理を早く開始できる。 (8) The above-described memory 23 stores a program for causing the printer 4 to execute the process of FIG. This program identifies, for each image data of a plurality of image data, a code for obtaining scene information of the image data from the additional data added to the image data, and an image scene indicated by the image data based on the image data A code for comparing the scene indicated by the scene information with the identified scene, and a code for displaying a confirmation screen when there is a mismatch image in which the scene indicated by the scene information does not match the identified scene Yes. In addition, this program starts image processing for a matching image in which the scene indicated by the scene information and the identified scene do not match before image processing is performed on the mismatching image. Thereby, image processing can be started early.

画像処理システムの説明図である。It is explanatory drawing of an image processing system. プリンタの構成の説明図である。2 is an explanatory diagram of a configuration of a printer. FIG. 画像ファイルの構造の説明図である。It is explanatory drawing of the structure of an image file. 図4Aは、IFD0で使われるタグの説明図である。図4Bは、ExifSubIFDで使われるタグの説明図である。FIG. 4A is an explanatory diagram of tags used in IFD0. FIG. 4B is an explanatory diagram of tags used in the Exif SubIFD. モード設定ダイヤルの設定とデータとの対応表である。It is a correspondence table of mode setting dial settings and data. プリンタの自動補正機能の説明図である。It is explanatory drawing of the automatic correction function of a printer. 画像のシーンと補正内容との関係の説明図である。It is explanatory drawing of the relationship between the scene of an image, and the correction content. シーン識別部によるシーン識別処理のフロー図である。It is a flowchart of the scene identification process by a scene identification part. シーン識別部の機能の説明図である。It is explanatory drawing of the function of a scene identification part. 全体識別処理のフロー図である。It is a flowchart of a whole identification process. 識別対象テーブルの説明図である。It is explanatory drawing of an identification object table. 全体識別処理の肯定閾値の説明図である。It is explanatory drawing of the affirmation threshold value of the whole identification process. RecallとPrecisionの説明図である。It is explanatory drawing of Recall and Precision. 第1否定閾値の説明図である。It is explanatory drawing of a 1st negative threshold value. 第2否定閾値の説明図である。It is explanatory drawing of a 2nd negative threshold value. 図16Aは、風景識別器における閾値の説明図である。図16Bは、風景識別器の処理の概要の説明図である。FIG. 16A is an explanatory diagram of threshold values in the landscape classifier. FIG. 16B is an explanatory diagram of an outline of the process of the landscape classifier. 部分識別処理のフロー図である。It is a flowchart of a partial identification process. 夕景部分識別器が選択する部分画像の順番の説明図である。It is explanatory drawing of the order of the partial image which an evening scene partial identifier selects. 上位10番目までの10個の部分画像だけで夕景画像の識別をしたときのRecall及びPrecisionのグラフである。It is a Recall and Precision graph when the evening scene image is identified only by the top 10 partial images. 図20Aは、線形サポートベクタマシンによる判別の説明図である。図20Bは、カーネル関数を用いた判別の説明図である。FIG. 20A is an explanatory diagram of determination by the linear support vector machine. FIG. 20B is an explanatory diagram of discrimination using a kernel function. 統合識別処理のフロー図である。It is a flowchart of an integrated identification process. 参考例におけるダイレクトプリントの処理の流れを示すフロー図である。It is a flowchart which shows the flow of the process of the direct print in a reference example. 図23A及び図23Bは、参考例の確認画面の一例の説明図である。23A and 23B are explanatory diagrams of an example of a confirmation screen of a reference example. 第1実施形態のダイレクトプリントの処理の流れを示すフロー図である。It is a flowchart which shows the flow of the process of the direct print of 1st Embodiment. 第1実施形態の確認画面164の一例の説明図である。It is explanatory drawing of an example of the confirmation screen 164 of 1st Embodiment. 第1実施形態の別の確認画面の説明図である。It is explanatory drawing of another confirmation screen of 1st Embodiment. 第2実施形態のダイレクトプリントの処理の流れを示すフロー図である。It is a flowchart which shows the flow of the process of the direct print of 2nd Embodiment. 図28Aは、第2実施形態の確認画面の一例の説明図である。図28Bは、第2実施形態の確認画面の他の例の説明図である。FIG. 28A is an explanatory diagram illustrating an example of a confirmation screen according to the second embodiment. FIG. 28B is an explanatory diagram of another example of the confirmation screen according to the second embodiment. 付加データに識別結果を追加したときのAPP1領域の構成の説明図である。It is explanatory drawing of a structure of an APP1 area | region when an identification result is added to additional data. 別の処理フローの説明図である。It is explanatory drawing of another processing flow.

符号の説明Explanation of symbols

2 デジタルスチルカメラ、2A モード設定ダイヤル、
4 プリンタ、6 メモリカード、
10 印刷機構、11 ヘッド、12 ヘッド制御部、13 モータ、
14 センサ、15 パネル部、16 表示部、17 入力部、
20 プリンタ側コントローラ、21 スロット、22 CPU、23 メモリ、
24 制御ユニット、25 駆動信号生成部、
31 記憶部、31A 画像記憶部、31B 結果記憶部、
32 顔識別部、33 シーン識別部、34 画像補正部、35 プリンタ制御部、
40 特徴量取得部、50 全体識別器、51 サブ識別器、51L 風景識別器、
51S 夕景識別器、51N 夜景識別器、51F 花識別器、51R 紅葉識別器、
60 部分識別器、61 サブ部分識別器、61S 夕景部分識別器、
61F 花部分識別器、61R 紅葉部分識別器、70 統合識別器、
162 参考例の確認画面、164 第1実施形態の確認画面、
165 第1実施形態の別の確認画面、
166 第2実施形態の確認画面、167 第2実施形態の別の確認画面
2 Digital still camera, 2A mode setting dial,
4 Printer, 6 Memory card,
10 printing mechanism, 11 head, 12 head control unit, 13 motor,
14 sensors, 15 panel section, 16 display section, 17 input section,
20 printer-side controller, 21 slots, 22 CPU, 23 memory,
24 control unit, 25 drive signal generator,
31 storage unit, 31A image storage unit, 31B result storage unit,
32 face identification unit, 33 scene identification unit, 34 image correction unit, 35 printer control unit,
40 feature quantity acquisition unit, 50 global classifier, 51 sub classifier, 51L landscape classifier,
51S evening scene classifier, 51N night scene classifier, 51F flower classifier, 51R autumn leaves classifier,
60 partial classifiers, 61 sub partial classifiers, 61S evening scene partial classifiers,
61F Flower partial classifier, 61R Autumn colored partial classifier, 70 Integrated classifier,
162 Confirmation screen of reference example, 164 confirmation screen of the first embodiment,
165 Another confirmation screen of the first embodiment,
166 Confirmation screen of the second embodiment, 167 Another confirmation screen of the second embodiment

Claims (8)

画像データに付加されている付加データから、画像データのシーン情報を取得し、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別し、
前記シーン情報の示すシーンと識別したシーンとを比較し、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示する情報処理方法であって、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始することを特徴とする情報処理方法。
From the additional data added to the image data, obtain the scene information of the image data,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
An information processing method for displaying a confirmation screen when there is a mismatch image in which the scene indicated by the scene information and the identified scene do not match,
An information processing method, comprising: starting image processing for a matching image in which the scene indicated by the scene information and the identified scene are not mismatched before image processing is performed on the mismatching image.
請求項1に記載の情報処理方法であって、
前記確認画面が表示されているときに、前記一致画像に対して画像処理が施されることを特徴とする情報処理方法。
An information processing method according to claim 1,
An information processing method, wherein image processing is performed on the matching image when the confirmation screen is displayed.
請求項1又は請求項2に記載の情報処理方法であって、
前記確認画面を表示する前に、前記一致画像についてのジョブを作成し、
前記確認画面を表示した後に、前記不一致画像についてのジョブを作成し、
処理装置は、前記ジョブの優先順位に従って、前記ジョブを実行する
ことを特徴とする情報処理方法。
An information processing method according to claim 1 or claim 2, wherein
Before displaying the confirmation screen, create a job for the matching image,
After displaying the confirmation screen, create a job for the mismatched image,
An information processing method, wherein the processing device executes the job according to the priority order of the job.
請求項3に記載の情報処理方法であって、
前記不一致画像についてのジョブを作成した後、前記ジョブの前記優先順位を変更することを特徴とする情報処理方法。
An information processing method according to claim 3,
An information processing method comprising: changing a priority of the job after creating a job for the mismatched image.
請求項4に記載の情報処理方法であって、
前記不一致画像についてのジョブを作成した後に、
複数の画像データの順に従って前記ジョブを実行できるならば、前記ジョブの前記優先順位を変更し、
前記複数の画像データの順に従って前記ジョブを実行できないならば、前記ジョブの前記優先順位を変更しない
ことを特徴とする情報処理方法。
An information processing method according to claim 4,
After creating a job for the mismatched image,
If the job can be executed according to the order of a plurality of image data, the priority of the job is changed,
An information processing method, wherein the priority of the job is not changed if the job cannot be executed in the order of the plurality of image data.
請求項5に記載の情報処理方法であって、
前記不一致画像についてのジョブを作成した後に、前記複数の画像データの順に従って前記ジョブを実行できないならば、警告画面を表示することを特徴とする情報処理方法。
An information processing method according to claim 5,
An information processing method comprising: displaying a warning screen if the job cannot be executed in the order of the plurality of image data after creating a job for the mismatched image.
コントローラを備える情報処理装置であって、
前記コントローラは、
画像データに付加されている付加データから、画像データのシーン情報を取得し、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別し、
前記シーン情報の示すシーンと識別したシーンとを比較し、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示し、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始する
ことを特徴とする情報処理装置。
An information processing apparatus comprising a controller,
The controller is
From the additional data added to the image data, obtain the scene information of the image data,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
When there is a mismatch image in which the scene indicated by the scene information does not match the identified scene, a confirmation screen is displayed,
An image processing apparatus that starts image processing on a matching image in which the scene indicated by the scene information and the identified scene do not match before image processing is performed on the mismatching image.
情報処理装置に、
画像データに付加されている付加データから、画像データのシーン情報を取得させ、
前記画像データに基づいて、前記画像データの示す画像のシーンを識別させ、
前記シーン情報の示すシーンと識別したシーンとを比較させ、
前記シーン情報の示すシーンと識別したシーンとが不一致である不一致画像があるときに、確認画面を表示させ、
前記不一致画像に対して画像処理が施される前に、前記シーン情報の示すシーンと識別したシーンとが不一致ではない一致画像に対する画像処理を開始させる
ことを特徴とするプログラム。
In the information processing device,
From the additional data added to the image data, the scene information of the image data is acquired,
Based on the image data, the scene of the image indicated by the image data is identified,
Comparing the scene indicated by the scene information with the identified scene;
When there is a mismatch image in which the scene indicated by the scene information and the identified scene do not match, a confirmation screen is displayed,
A program for starting image processing for a matching image in which the scene indicated by the scene information and the identified scene do not match before image processing is performed on the mismatching image.
JP2007098701A 2007-04-04 2007-04-04 Information processing method, information processing apparatus, and program Expired - Fee Related JP4830950B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007098701A JP4830950B2 (en) 2007-04-04 2007-04-04 Information processing method, information processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007098701A JP4830950B2 (en) 2007-04-04 2007-04-04 Information processing method, information processing apparatus, and program

Publications (2)

Publication Number Publication Date
JP2008258915A JP2008258915A (en) 2008-10-23
JP4830950B2 true JP4830950B2 (en) 2011-12-07

Family

ID=39982052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007098701A Expired - Fee Related JP4830950B2 (en) 2007-04-04 2007-04-04 Information processing method, information processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP4830950B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008273171A (en) * 2007-04-04 2008-11-13 Seiko Epson Corp Information processing method, information processing apparatus, and program
JP2008284868A (en) * 2007-04-20 2008-11-27 Seiko Epson Corp Printing method, printing apparatus, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4025865B2 (en) * 2002-03-14 2007-12-26 コニカミノルタオプト株式会社 Electronic camera
JP3948652B2 (en) * 2002-03-15 2007-07-25 株式会社リコー Imaging device having scene selection function
JP2004061762A (en) * 2002-07-26 2004-02-26 Fuji Photo Film Co Ltd Digital camera
JP4235592B2 (en) * 2004-06-30 2009-03-11 キヤノン株式会社 Image processing method and image processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008273171A (en) * 2007-04-04 2008-11-13 Seiko Epson Corp Information processing method, information processing apparatus, and program
JP2008284868A (en) * 2007-04-20 2008-11-27 Seiko Epson Corp Printing method, printing apparatus, and program

Also Published As

Publication number Publication date
JP2008258915A (en) 2008-10-23

Similar Documents

Publication Publication Date Title
JP2008273171A (en) Information processing method, information processing apparatus, and program
EP2549438B1 (en) Apparatus and program for selecting photographic images
EP3379819A1 (en) Electronic camera
JP5040624B2 (en) Information processing method, information processing apparatus, and program
JP6702900B2 (en) Information processing apparatus, display control method, and program
US20090092312A1 (en) Identifying Method and Storage Medium Having Program Stored Thereon
JP4862720B2 (en) Information processing method, information processing apparatus, program, and storage medium
JP2009080557A (en) Identification method and program
JP2008284868A (en) Printing method, printing apparatus, and program
JP4992519B2 (en) Information processing method, information processing apparatus, and program
JP4830950B2 (en) Information processing method, information processing apparatus, and program
JP4946750B2 (en) Setting method, identification method and program
JP2008282085A (en) Scene identification device and scene identification method
JP2008271249A (en) Information processing method, information processing apparatus, and program
JP4910821B2 (en) Image identification method
JP4992646B2 (en) Identification method and program
JP2009044249A (en) Image identification method, image identification apparatus, and program
JP2008258770A (en) Information processing method, information processing apparatus, and program
JP2008271058A (en) Information processing method, information processing apparatus, and program
JP4882927B2 (en) Category identification method
JP2008228087A (en) Information processing method, information processing apparatus, and program
US8243328B2 (en) Printing method, printing apparatus, and storage medium storing a program
JP2008234626A (en) Information processing method, information processing apparatus, and program
JP2008228086A (en) Information processing method, information processing apparatus, and program
EP1959668A2 (en) Information processing method, information processing apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110823

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees