JP2007057908A - Image selection device and image selection method - Google Patents

Image selection device and image selection method Download PDF

Info

Publication number
JP2007057908A
JP2007057908A JP2005244079A JP2005244079A JP2007057908A JP 2007057908 A JP2007057908 A JP 2007057908A JP 2005244079 A JP2005244079 A JP 2005244079A JP 2005244079 A JP2005244079 A JP 2005244079A JP 2007057908 A JP2007057908 A JP 2007057908A
Authority
JP
Japan
Prior art keywords
camera shake
image
camera
image file
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005244079A
Other languages
Japanese (ja)
Inventor
Ayahiro Nakajima
紋宏 中島
Masashi Aiiso
政司 相磯
Kenji Matsuzaka
健治 松坂
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 JP2005244079A priority Critical patent/JP2007057908A/en
Publication of JP2007057908A publication Critical patent/JP2007057908A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To quickly select an image free from a blur caused by camera shake as a candidate for an output object. <P>SOLUTION: When inputting an image file, a printer 100 analyzes additional information included in the image file. As a result, when a tripod is used, when a self-timer is used, when exposure time is equal to or under a predetermined value, or when photographing is performed in circumstances that camera shake hardly occurs, it is assumed that the image is not blurred, and processing to detect the camera shake using a primary differential operator is eliminated. Thus, the image free from the blur caused by the camera shake is quickly selected as the candidate for the output object while eliminating arithmetic processing. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、入力した複数の画像ファイルの中から出力対象の候補となる画像ファイルを選択する技術に関する。   The present invention relates to a technique for selecting an image file that is a candidate for output from a plurality of input image files.

デジタルカメラで撮影した画像データは、通常、デジタルカメラの内部にセットされたメモリカードに記録される。メモリカードの容量は年々増加しており、1枚のメモリカードの中に100枚以上の大量の画像データを記録することもできる。   Image data taken by a digital camera is usually recorded on a memory card set inside the digital camera. The capacity of memory cards is increasing year by year, and a large amount of image data of 100 or more images can be recorded in one memory card.

大量の画像データの中から印刷対象の画像をユーザ自身で選択する作業は、非常に煩わしい作業である。そこで、下記特許文献1には、画像データを解析することにより、手ブレの少ない画像を自動的に選択して、ユーザに印刷対象として推奨する技術が開示されている。   The operation of selecting the image to be printed from a large amount of image data by the user is a very troublesome operation. Therefore, Patent Document 1 below discloses a technique for automatically selecting an image with less camera shake by analyzing image data and recommending it to a user as a print target.

特開2004−112596号公報JP 2004-112596 A 特開2002−10179号公報JP 2002-10179 A

上述した特許文献1では、手ブレの有無を検出する際に、画像を構成する各画素の輝度値に対してPrewittオペレータと呼ばれる一次微分オペレータを用いた演算処理を行って画像内のエッジの検出し、そのエッジの量に応じて手ブレの有無を検出している。   In Patent Document 1 described above, when detecting the presence or absence of camera shake, detection of edges in an image is performed by performing arithmetic processing using a first-order differential operator called Prewitt operator on the luminance value of each pixel constituting the image. The presence or absence of camera shake is detected according to the amount of the edge.

しかし、メモリカードに記録された大量の画像データのすべてについて、上述したエッジ量の算出を行うことは、大変な計算量となる。特に、パーソナルコンピュータ等よりも演算能力の低い印刷装置において、このような演算を行う場合には、大変な処理時間を要してしまう。   However, the calculation of the edge amount described above for all of a large amount of image data recorded on the memory card is a large amount of calculation. In particular, when such a calculation is performed in a printing apparatus having a calculation capability lower than that of a personal computer or the like, a long processing time is required.

このような問題を考慮し、本発明が解決しようとする課題は、手ブレの発生していない画像を出力対象の候補として迅速に選択することにある。   In consideration of such problems, the problem to be solved by the present invention is to quickly select an image with no camera shake as an output target candidate.

上記課題を解決するため、本発明を画像選択装置として次のように構成した。すなわち、
カメラによって撮像されて生成された画像ファイルを複数入力し、該入力した複数の画像ファイルの中から出力対象の候補となる画像ファイルを選択する画像選択装置であって、
前記画像ファイルは、画像データと、手ブレの発生に関連する撮影状況を示す手ブレ関係パラメータとを含んでおり、
前記入力した画像ファイル中の画像データを構成する各画素の画素値を用いて所定の演算を行い、手ブレの有無を検出する手ブレ検出部と、
前記入力した画像ファイル中の前記手ブレ関係パラメータを所定の判定基準に基づき解析して手ブレ発生の有無を推定し、手ブレが発生していないと推定した場合に、前記手ブレ検出部による手ブレの検出を省略する手ブレ検出省略判定部と、
前記手ブレ検出省略判定部によって手ブレがないと推定された画像ファイル、または、前記手ブレ検出部によって手ブレが無いと検出された画像ファイルを前記出力対象の候補として選択する選択部と
を備えることを要旨とする。
In order to solve the above problems, the present invention is configured as an image selection apparatus as follows. That is,
An image selection device that inputs a plurality of image files captured and generated by a camera and selects image files that are candidates for output from the plurality of input image files.
The image file includes image data and a camera shake related parameter indicating a shooting situation related to occurrence of camera shake,
A camera shake detection unit that performs a predetermined calculation using the pixel value of each pixel constituting the image data in the input image file and detects the presence or absence of camera shake;
When the camera shake relation parameter in the input image file is analyzed based on a predetermined determination criterion to estimate the presence or absence of camera shake, and when it is estimated that no camera shake has occurred, A camera shake detection omission determination unit that omits camera shake detection;
An image file that is estimated to be free of camera shake by the camera shake detection omission determination unit, or a selection unit that selects an image file detected as having no camera shake by the camera shake detection unit as the output target candidate; The gist is to provide.

本発明の画像選択装置によれば、画像ファイルに含まれる手ブレ関係パラメータを解析して、手ブレが発生していないと推定された場合には、画像データを構成する各画素の画素値を用いた演算による手ブレの検出を省略することができる。そのため、手ブレ検出に関する処理負担を軽減しつつ、手ブレの発生していない画像を出力対象の画像として迅速に選択することができる。   According to the image selection device of the present invention, when it is estimated that no camera shake has occurred by analyzing the camera shake related parameters included in the image file, the pixel value of each pixel constituting the image data is calculated. Detection of camera shake by the used calculation can be omitted. Therefore, it is possible to quickly select an image with no camera shake as an output target image while reducing the processing burden related to camera shake detection.

上記構成の画像選択装置において、
前記手ブレ関係パラメータは、前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記カメラが固定されて前記画像データが撮像された旨を表すパラメータを検出した場合に、手ブレが発生していないと推定するものとしてもよい。
In the image selection device having the above configuration,
The camera shake related parameter is a parameter indicating whether the camera is fixed and the image data is captured,
The camera shake detection omission determination unit analyzes the camera shake related parameter, and detects that a camera shake has not occurred when a parameter indicating that the camera is fixed and the image data is captured is detected. It may be estimated.

このような構成であれば、手ブレ関係パラメータは、画像撮影時にカメラが固定されて撮影されているか否かを表すため、容易に、手ブレの発生の有無を推定することができる。   With such a configuration, the camera shake-related parameter indicates whether or not the camera is fixed and photographed at the time of image capture, and therefore it is possible to easily estimate whether or not camera shake has occurred.

上記構成の画像選択装置において、
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時における三脚の使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、三脚が使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生していないと推定するものとしてもよい。
In the image selection device having the above configuration,
The parameter indicating whether or not the image data is captured with the camera fixed is a parameter that indicates whether or not a tripod is used when capturing the image data.
The camera shake detection omission determination unit analyzes the camera shake related parameter and determines that the image data is captured with the camera fixed when a parameter indicating that a tripod is used is detected. It may be estimated that no camera shake has occurred.

このような構成によれば、三脚の使用の有無を判定基準として、手ブレが発生していないことを容易に推定することができる。三脚を使用している場合には、安定した体勢で画像が撮影されていると考えられるため、精度よく手ブレが発生していないと推定することができる。   According to such a configuration, it is possible to easily estimate that no camera shake has occurred with the use of a tripod as a criterion. When a tripod is used, it is considered that an image is taken with a stable posture, so that it can be estimated with high accuracy that there is no camera shake.

上記構成の画像選択装置において、
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時におけるセルフタイマの使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、セルフタイマが使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生してないと推定するものとしてもよい。
In the image selection device having the above configuration,
The parameter indicating whether or not the image data is captured with the camera fixed is a parameter indicating whether or not a self-timer is used when capturing the image data,
The camera shake detection omission determination unit analyzes the camera shake related parameter and determines that the image data is captured with the camera fixed when a parameter indicating that a self-timer is used is detected. However, it may be estimated that there is no camera shake.

このような構成によれば、セルフタイマの使用の有無を判定基準として、手ブレが発生していないことを容易に推定することができる。セルフタイマ使用時には、カメラが安定した状態に固定されて撮影されたと考えられるため、精度よく手ブレが発生していないと推定することができる。   According to such a configuration, it is possible to easily estimate that no camera shake has occurred with the use of the self-timer as a criterion. When the self-timer is used, it is considered that the camera was photographed while being fixed in a stable state. Therefore, it can be estimated that camera shake has not occurred with high accuracy.

上記構成の画像選択装置において、
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、露光時間が所定値以下であることを検出した場合に、手ブレが発生していないと推定するものとしてもよい。
In the image selection device having the above configuration,
The camera shake related parameter includes a parameter representing an exposure time at the time of shooting the image data,
The camera shake detection omission determination unit may analyze the camera shake related parameter and estimate that no camera shake has occurred when detecting that the exposure time is equal to or less than a predetermined value.

このような構成によれば、画像の撮影時の露光時間を判定基準として、手ブレが発生していないことを容易に推定することができる。露光時間が十分に短ければ、カメラが備える撮像素子上で被写体が移動可能な距離が短くなり、撮影された画像に手ブレの影響が生じる可能性が低くなるからである。   According to such a configuration, it can be easily estimated that no camera shake has occurred, using the exposure time at the time of image capture as a criterion. This is because if the exposure time is sufficiently short, the distance that the subject can move on the image sensor provided in the camera is shortened, and the possibility of camera shake being reduced in the captured image is reduced.

上記構成の画像選択装置において、
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記露光時間と予め定められた手ブレの平均速度とに基づき前記画像データに手ブレが生じていると仮定した場合の手ブレの仮想距離を求め、該仮想距離が所定の閾値以下となる場合に、手ブレが発生していないと推定するものとしてもよい。
In the image selection device having the above configuration,
The camera shake related parameter includes a parameter representing an exposure time at the time of shooting the image data,
The camera shake detection omission determination unit analyzes the camera shake related parameter, and assumes that camera shake has occurred in the image data based on the exposure time and a predetermined average speed of camera shake. The virtual distance of camera shake may be obtained, and it may be estimated that camera shake has not occurred when the virtual distance is equal to or less than a predetermined threshold.

このような構成によれば、露光時間と手ブレの平均速度との関係で求まる手ブレの仮想距離が所定の閾値以下であれば、手ブレの発生しにくい状況で画像が撮影されたと判断することができるため、手ブレが発生していないと容易に推定することができる。   According to such a configuration, if the virtual distance of camera shake obtained from the relationship between the exposure time and the average speed of camera shake is equal to or less than a predetermined threshold value, it is determined that an image has been shot in a situation in which camera shake is unlikely to occur. Therefore, it can be easily estimated that camera shake has not occurred.

上記構成の画像選択装置において、
更に、前記カメラの種別と該カメラが備える撮像素子のサイズとを対応付けて記録した機種別情報データベースを記憶する記憶部と、
前記画像ファイルを出力する印刷用紙のサイズを取得する印刷用紙サイズ取得部とを備え、
前記手ブレ関係パラメータには、前記画像データを撮影したカメラの種別を表す情報が含まれており、
前記手ブレ検出省略判定部は、前記画像ファイル中の前記カメラの種別を表すパラメータから前記記憶部を参照して該カメラが備える撮像素子のサイズを取得し、該撮像素子のサイズと、前記印刷用紙のサイズと、前記印刷用紙上で手ブレが目立つ距離として予め定められた距離と、に基づき前記撮影素子上において手ブレの目立つ距離を求め、該距離を前記所定の閾値として適用するものとしてもよい。
In the image selection device having the above configuration,
A storage unit that stores a model-specific information database in which the type of the camera and the size of the image sensor included in the camera are recorded in association with each other;
A printing paper size acquisition unit for acquiring the size of the printing paper for outputting the image file,
The camera shake-related parameters include information indicating the type of camera that captured the image data,
The camera shake detection omission determination unit obtains the size of the image sensor included in the camera by referring to the storage unit from a parameter indicating the type of the camera in the image file, and the size of the image sensor and the print Based on the size of the paper and a predetermined distance as a distance where camera shake is conspicuous on the printing paper, a distance where camera shake is conspicuous on the photographing element is obtained, and the distance is applied as the predetermined threshold. Also good.

このような構成によれば、印刷用紙上で手ブレが目立つ距離を、カメラが備える撮像素子上において手ブレが目立つ距離に換算することができ、この換算した距離と、上述した手ブレの仮想距離とを比較することで、手ブレの発生しにくい状況で画像が撮影されたかどうかを容易に判断することができる。また、かかる構成によれば、画像を撮影したカメラが有する撮像素子のサイズに応じて、閾値を適切に設定することが可能になる。カメラとは、例えば、デジタルスチルカメラやカメラ付き携帯電話、静止画撮影機能付きビデオカメラなど、電子データを出力可能なカメラであり、撮影素子とは、例えば、CCDセンサやCMOSセンサなどである。   According to such a configuration, the distance at which camera shake is conspicuous on the printing paper can be converted into the distance at which camera shake is conspicuous on the image pickup device provided in the camera. By comparing the distance, it is possible to easily determine whether or not an image has been shot in a situation where camera shake is unlikely to occur. Further, according to such a configuration, it is possible to appropriately set the threshold value in accordance with the size of the image sensor included in the camera that captured the image. The camera is a camera capable of outputting electronic data, such as a digital still camera, a mobile phone with a camera, and a video camera with a still image shooting function, and the imaging element is, for example, a CCD sensor or a CMOS sensor.

上記構成の画像選択装置において、
更に、前記機種別情報データベースを、ネットワークを介して接続された所定のサーバ、当該画像選択装置に挿入されたメモリカード、当該画像選択装置に接続されたコンピュータ、のいずれかから取得するデータベース取得部を備えるものとしてもよい。
In the image selection device having the above configuration,
Further, the database acquisition unit that acquires the model-specific information database from any one of a predetermined server connected via a network, a memory card inserted into the image selection device, and a computer connected to the image selection device. May be provided.

このような構成によれば、手ブレ関係パラメータから取得されたカメラの種別が、記憶部に記憶された機種別情報データベースから検索できない場合であっても、ネットワークやメモリカード等を介して取得した最新の機種別情報データベースから検索することが可能になる。   According to such a configuration, even if the camera type acquired from the camera shake-related parameter cannot be retrieved from the model-specific information database stored in the storage unit, the camera type is acquired via a network or a memory card. It is possible to search from the latest model-specific information database.

上記構成の画像選択装置において、
更に、前記選択部によって出力対象の候補として選択された画像ファイルを印刷する印刷機構を備えるものとしてもよい。
In the image selection device having the above configuration,
Furthermore, a printing mechanism for printing the image file selected as the output target candidate by the selection unit may be provided.

このような構成によれば、本発明の画像選択装置を印刷装置として適用することができる。   According to such a configuration, the image selection device of the present invention can be applied as a printing device.

なお、本発明は、上述した画像選択装置としての構成のほか、コンピュータによる画像選択方法や、画像を選択するためのコンピュータプログラム、かかるコンピュータプログラムをコンピュータが読取可能に記録した記録媒体としても構成することができる。記録媒体としては、例えば、フレキシブルディスクやCD−ROM、DVD−ROM、光磁気ディスク、メモリカード、ハードディスク等の種々の媒体を利用することができる。   In addition to the configuration as the image selection device described above, the present invention is also configured as an image selection method by a computer, a computer program for selecting an image, and a recording medium on which the computer program is recorded so as to be readable by the computer. be able to. As the recording medium, for example, various media such as a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, a memory card, and a hard disk can be used.

以下、上述した本発明の作用・効果を一層明らかにするため、本発明の実施の形態を実施例に基づき次の順序で説明する。
A.印刷装置のハードウェア構成:
B.印刷装置のソフトウェア構成:
C.印刷推奨画像選択処理:
D.手ブレ検出省略判定処理:
E.効果:
F.変形例:
Hereinafter, in order to further clarify the operations and effects of the present invention described above, embodiments of the present invention will be described based on examples in the following order.
A. Hardware configuration of printing device:
B. Software configuration of printing device:
C. Recommended printing image selection process:
D. Camera shake detection omission judgment processing:
E. effect:
F. Variation:

A.印刷装置のハードウェア構成:
図1は、本願の画像選択装置の実施例としての印刷装置100の概要を示す説明図である。印刷装置100は、いわゆる複合機タイプの印刷装置であり、光学的に画像を読み込むスキャナ110や、画像データの記録されたメモリカードMCを挿入するためのメモリカードスロット120、デジタルカメラ等の機器を接続するUSBインタフェース130等を備えている。印刷装置100は、スキャナ110によって取り込んだ画像や、メモリカードMCから読み取った画像、USBインタフェース130を介してデジタルカメラから読み取った画像を印刷用紙Pに印刷することができる。また、プリンタケーブル等によって接続された図示していないパーソナルコンピュータから入力した画像の印刷も行うことができる。
A. Hardware configuration of printing device:
FIG. 1 is an explanatory diagram showing an overview of a printing apparatus 100 as an embodiment of the image selection apparatus of the present application. The printing apparatus 100 is a so-called multifunction machine type printing apparatus, and includes a scanner 110 for optically reading an image, a memory card slot 120 for inserting a memory card MC on which image data is recorded, a digital camera, and the like. A USB interface 130 to be connected is provided. The printing apparatus 100 can print an image captured by the scanner 110, an image read from the memory card MC, and an image read from the digital camera via the USB interface 130 on the printing paper P. Also, it is possible to print an image input from a personal computer (not shown) connected by a printer cable or the like.

印刷装置100は、印刷用紙のサイズや印刷枚数の設定など、印刷に関する種々の操作を行うための操作パネル140を備えている。操作パネル140には、印刷を推奨する画像を印刷装置100に自動的に選択させる自動選択ボタン141や、印刷を実行させるための印刷ボタン142等が備えられている。操作パネル140の中央部には、液晶ディスプレイ150が備えられている。液晶ディスプレイ150には、印刷を推奨する画像として印刷装置100によって自動的に選択された画像が表示される。   The printing apparatus 100 includes an operation panel 140 for performing various operations related to printing, such as setting the size of the printing paper and the number of printed sheets. The operation panel 140 includes an automatic selection button 141 for automatically selecting an image recommended for printing by the printing apparatus 100, a print button 142 for executing printing, and the like. A liquid crystal display 150 is provided at the center of the operation panel 140. The liquid crystal display 150 displays an image automatically selected by the printing apparatus 100 as an image recommended for printing.

更に、印刷装置100は、ネットワークインタフェース160を備えている。印刷装置100は、このネットワークインタフェース160を介して、インターネットINT上に接続された機種別情報サーバSVに接続されている。機種別情報サーバSVは、例えば、印刷装置100の製造メーカが運営するサイトに設置されている。機種別情報サーバSVには、デジタルカメラの機種名と、そのデジタルカメラが備えるCCD(電荷結合素子)のサイズとを対応付けて記録した機種別情報データベースDBがダウンロード可能に記憶されている。機種別情報データベースDBは、印刷装置100が、印刷を推奨する画像を選択する際に参照される。なお、本実施例では、印刷装置100と機種別情報サーバSVとは、インターネットINTを介して接続されているものとしたが、LANやWANを介して接続されているものとしてもよい。   Further, the printing apparatus 100 includes a network interface 160. The printing apparatus 100 is connected via the network interface 160 to a model-specific information server SV connected on the Internet INT. The model-specific information server SV is installed at a site operated by the manufacturer of the printing apparatus 100, for example. The model-specific information server SV stores a model-specific information database DB in which a model name of a digital camera and a size of a CCD (charge coupled device) included in the digital camera are recorded in association with each other. The model-specific information database DB is referred to when the printing apparatus 100 selects an image recommended for printing. In this embodiment, the printing apparatus 100 and the model-specific information server SV are connected via the Internet INT, but may be connected via a LAN or WAN.

図2は、印刷装置100の内部構成を示す説明図である。図示するように、印刷装置100は、印刷用紙Pに印刷を行う機構として、インクカートリッジ212を搭載したキャリッジ210や、キャリッジ210を主走査方向に駆動するキャリッジモータ220、印刷用紙Pを副走査方向に搬送する紙送りモータ230等を備えている。   FIG. 2 is an explanatory diagram illustrating an internal configuration of the printing apparatus 100. As shown in the figure, the printing apparatus 100 serves as a mechanism for printing on the printing paper P, a carriage 210 having an ink cartridge 212 mounted thereon, a carriage motor 220 for driving the carriage 210 in the main scanning direction, and the printing paper P in the sub scanning direction. And a paper feed motor 230 for conveying the paper.

キャリッジ210は、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)、ライトシアン(Lc)、ライトマゼンタ(Lm)の色を現すインク毎に計6個のインクヘッド211を備えている。キャリッジ210には、これらのインクが収容されたインクカートリッジ212が装着されている。インクカートリッジ212からインクヘッド211に供給されたインクは、図示しないピエゾ素子を駆動することで印刷用紙Pに吐出される。   The carriage 210 includes a total of six ink heads 211 for each ink that expresses cyan (C), magenta (M), yellow (Y), black (K), light cyan (Lc), and light magenta (Lm). ing. An ink cartridge 212 containing these inks is mounted on the carriage 210. The ink supplied from the ink cartridge 212 to the ink head 211 is ejected onto the printing paper P by driving a piezoelectric element (not shown).

キャリッジ210は、プラテン270の軸方向と並行に設置された摺動軸280に移動自在に保持されている。キャリッジモータ220は、制御回路250からの指令に応じて駆動ベルト260を回転させることで、プラテン270の軸方向と平行に、すなわち、主走査方向にキャリッジ210を往復運動させる。   The carriage 210 is movably held by a sliding shaft 280 installed in parallel with the axial direction of the platen 270. The carriage motor 220 rotates the drive belt 260 in accordance with a command from the control circuit 250 to reciprocate the carriage 210 in parallel with the axial direction of the platen 270, that is, in the main scanning direction.

紙送りモータ230は、制御回路250からの指令に応じてプラテン270を回転させることで、プラテン270の軸方向と垂直に印刷用紙Pを搬送する。つまり、紙送りモータ230は、キャリッジ210を相対的に副走査方向に移動させることができる。   The paper feed motor 230 rotates the platen 270 according to a command from the control circuit 250, thereby conveying the printing paper P perpendicular to the axial direction of the platen 270. That is, the paper feed motor 230 can relatively move the carriage 210 in the sub-scanning direction.

印刷装置100は、上述したインクヘッド211やキャリッジモータ220、紙送りモータ230の動作を制御するための制御回路250を備えている。制御回路250には、図1に示したスキャナ110やメモリカードスロット120、USBインタフェース130、操作パネル140、液晶ディスプレイ150、ネットワークインタフェース160が接続されている。   The printing apparatus 100 includes a control circuit 250 for controlling operations of the ink head 211, the carriage motor 220, and the paper feed motor 230 described above. Connected to the control circuit 250 are the scanner 110, the memory card slot 120, the USB interface 130, the operation panel 140, the liquid crystal display 150, and the network interface 160 shown in FIG.

制御回路250は、CPU251とROM252とメモリ253とEEPROM254とによって構成されている。ROM252には、印刷装置100の動作を制御するための制御プログラムが記憶されている。CPU251は、かかる制御プログラムをメモリ253に展開して実行することで、印刷を推奨する画像を自動的に選択する処理や、かかる処理によって選択された画像の印刷制御を行う。   The control circuit 250 includes a CPU 251, a ROM 252, a memory 253, and an EEPROM 254. The ROM 252 stores a control program for controlling the operation of the printing apparatus 100. The CPU 251 expands and executes the control program in the memory 253, thereby performing processing for automatically selecting an image recommended for printing, and print control for the image selected by the processing.

EEPROM254には、CPU251がネットワークインタフェース160を介して機種別情報サーバSVからダウンロードした機種別情報データベースDBが記憶される。   The EEPROM 254 stores a model-specific information database DB downloaded by the CPU 251 from the model-specific information server SV via the network interface 160.

メモリ253は、制御プログラムの実行の際のワークエリアとして用いられる他、操作パネル140によって設定された印刷用紙のサイズや印刷枚数などの情報が一時的に記憶される。   The memory 253 is used as a work area when the control program is executed, and temporarily stores information such as the print paper size and the number of prints set by the operation panel 140.

B.印刷装置のソフトウェア構成:
図3は、CPU251が上述した制御プログラムを実行することによってソフトウェア的に実現される機能のブロック図である。図示するように、印刷装置100は機能ブロックとして、画像入力部300と、印刷用紙サイズ取得部310と、印刷推奨画像選択部330と、印刷推奨画像表示部340とを備えている。
B. Software configuration of printing device:
FIG. 3 is a block diagram of functions realized by software by the CPU 251 executing the control program described above. As illustrated, the printing apparatus 100 includes an image input unit 300, a print paper size acquisition unit 310, a recommended print image selection unit 330, and a recommended print image display unit 340 as functional blocks.

画像入力部300は、メモリカードスロット120に挿入されたメモリカードMCや、USBインタフェース130を介して接続されたデジタルカメラ等から画像ファイルを入力する機能ブロックである。入力した画像ファイルは、後述する印刷推奨画像選択部330に受け渡す。   The image input unit 300 is a functional block that inputs an image file from a memory card MC inserted into the memory card slot 120, a digital camera connected via the USB interface 130, or the like. The input image file is transferred to a recommended print image selection unit 330 described later.

図4は、画像入力部300によって入力される画像ファイルのデータ形式を示す説明図である。図示するように、画像ファイルは、付加情報と画像データとからなり、付加情報には画像を撮影したデジタルカメラによって種々のパラメータが記録されている。付加情報には、例えば、画像タイトル、撮影日時、画像サイズ、デジタルカメラの機種名、サムネイル画像データ等が記録されており、また、手ブレの発生に関連する撮影状況を示すパラメータとして、三脚の使用の有無、セルフタイマの使用の有無、露光時間等を表すパラメータが含まれている。このような画像ファイルのデータ形式としては、例えば、JEIDA(日本電子工業振興協会)によって規格化されたEXIF(Exchangeable Image File Format)形式を適用することができる。   FIG. 4 is an explanatory diagram showing the data format of the image file input by the image input unit 300. As shown in the figure, the image file is composed of additional information and image data, and various parameters are recorded in the additional information by the digital camera that captured the image. The additional information includes, for example, an image title, shooting date and time, image size, digital camera model name, thumbnail image data, and the like, and as a parameter indicating a shooting situation related to occurrence of camera shake, a tripod Parameters indicating whether or not used, whether or not the self-timer is used, exposure time, and the like are included. As the data format of such an image file, for example, an EXIF (Exchangeable Image File Format) format standardized by JEIDA (Japan Electronics Industry Promotion Association) can be applied.

図中に示したパラメータのうち、三脚の使用の有無は、例えば、デジタルカメラの三脚の取り付け部にセンサやスイッチが備えられており、デジタルカメラが、かかるセンサやスイッチによって三脚が取り付けられたことを検出した場合に、付加情報に三脚が使用された旨を記録するものとすることができる。   Of the parameters shown in the figure, whether or not a tripod is used is, for example, that a digital camera is equipped with a sensor or a switch on the tripod attachment, and the tripod is attached to the digital camera using such a sensor or switch. When a tripod is detected, it can be recorded that a tripod is used as additional information.

説明を図3に戻す。印刷用紙サイズ取得部310は、ユーザが操作パネル140を用いて設定した印刷用紙のサイズをメモリ253から取得する。取得したサイズ情報は、後述する印刷推奨画像選択部330に受け渡す。   Returning to FIG. The printing paper size acquisition unit 310 acquires the printing paper size set by the user using the operation panel 140 from the memory 253. The acquired size information is transferred to a print recommendation image selection unit 330 described later.

印刷推奨画像選択部330は、画像入力部300によって入力した画像ファイルに対して、手ブレの有無やピントずれの有無、露出が不正であるか否かを判定し、その画像ファイルを、印刷を推奨する画像ファイルの候補として選択するか否かを決定する。印刷推奨画像選択部330は、図示するように、機種別情報更新部335と、手ブレ検出省略判定部331と、手ブレ検出部332と、ピントずれ検出部333と、露出不正検出部334とを備えている。   The recommended print image selection unit 330 determines whether or not there is camera shake, out of focus, or exposure for the image file input by the image input unit 300, and prints the image file. It is determined whether or not to select as a recommended image file candidate. The recommended print image selection unit 330 includes a model-specific information update unit 335, a camera shake detection omission determination unit 331, a camera shake detection unit 332, a focus deviation detection unit 333, and an exposure fraud detection unit 334, as illustrated. It has.

機種別情報更新部335は、FTPプロトコルもしくはHTTPプロトコルを用いて、機種別情報サーバSVから機種別情報データベースDBをダウンロードし、EEPROM254に記憶された機種別情報データベースDBの更新を行う。   The model-specific information update unit 335 downloads the model-specific information database DB from the model-specific information server SV using the FTP protocol or the HTTP protocol, and updates the model-specific information database DB stored in the EEPROM 254.

図5は、機種別情報データベースDBの一例を示す説明図である。図示するように、機種別情報データベースDBには、デジタルカメラの機種名と、そのデジタルカメラが備えるCCDのサイズとが対応付けて記録されている。   FIG. 5 is an explanatory diagram showing an example of the model-specific information database DB. As shown in the drawing, in the model-specific information database DB, the model name of the digital camera and the size of the CCD provided in the digital camera are recorded in association with each other.

説明を図3に戻す。手ブレ検出省略判定部331は、画像入力部300から入力した画像ファイルの付加情報を解析して、機種別情報データベースDBを参照しつつ、その画像ファイルに含まれる画像データに手ブレが発生しているか否かを推定する。手ブレが発生していないと推定した場合には、後述する手ブレ検出部332による手ブレの検出処理を省略する。   Returning to FIG. The camera shake detection omission determination unit 331 analyzes the additional information of the image file input from the image input unit 300, and a camera shake occurs in the image data included in the image file while referring to the model information database DB. Estimate whether or not When it is estimated that no camera shake has occurred, a camera shake detection process by the camera shake detection unit 332 described later is omitted.

手ブレ検出部332は、画像データを構成する各画素の画素値(輝度値)を所定のオペレータによって一次微分してエッジを抽出し、エッジの方向およびその方向へのエッジの幅を算出する。そして、その方向へのエッジの幅が所定の閾値以上であれば手ブレがあると検出する。この閾値は、印刷用紙サイズ取得部310によって取得した用紙のサイズに応じて調整する。すなわち、用紙サイズが大きいほど、閾値を大きい値とし、用紙サイズが小さいほど、閾値を小さい値とする。一次微分オペレータとしては、PrewittオペレータやSobelオペレータなどの周知のオペレータを用いることができる。一次微分オペレータを用いた手ブレの検出技術については、例えば、特開2004−112596号公報にその詳細が記載されている。   The camera shake detection unit 332 first differentiates the pixel value (luminance value) of each pixel constituting the image data by a predetermined operator to extract an edge, and calculates the direction of the edge and the width of the edge in that direction. If the edge width in that direction is equal to or larger than a predetermined threshold, it is detected that there is a camera shake. This threshold value is adjusted according to the paper size acquired by the printing paper size acquisition unit 310. That is, the larger the paper size, the larger the threshold value, and the smaller the paper size, the smaller the threshold value. As the primary differential operator, a known operator such as a Prewitt operator or a Sobel operator can be used. For example, Japanese Patent Application Laid-Open No. 2004-112596 describes details of a camera shake detection technique using a first-order differential operator.

ピントずれ検出部333は画像データを構成する各画素の輝度値を所定のオペレータによって一次微分してエッジを抽出し、全方向へのエッジの幅を求める。そして、その幅が所定の閾値以上であればピントずれが発生していると検出する。この閾値は、印刷用紙サイズ取得部310によって取得した用紙のサイズに応じて調整する。すなわち、用紙サイズが大きいほど、閾値を大きい値とし、用紙サイズが小さいほど、閾値を小さい値とする。一次微分オペレータとしては、PrewittオペレータやSobelオペレータなどの周知のオペレータを用いることができる。すなわち、ピントずれの検出は、上述した手ブレの検出とほぼ同様の手法で行うことができる。   The focus shift detection unit 333 first differentiates the luminance value of each pixel constituting the image data by a predetermined operator to extract an edge, and obtains the edge width in all directions. If the width is equal to or greater than a predetermined threshold, it is detected that a focus shift has occurred. This threshold value is adjusted according to the paper size acquired by the printing paper size acquisition unit 310. That is, the larger the paper size, the larger the threshold value, and the smaller the paper size, the smaller the threshold value. As the primary differential operator, a known operator such as a Prewitt operator or a Sobel operator can be used. In other words, the focus shift can be detected by a method almost similar to the above-described camera shake detection.

露出不正検出部334は、画像データを構成する各画素の輝度値が一定値(例えば、240)以上、あるいは、一定値(例えば、16)以下となる領域を画像データから抽出し、その領域の画像全体の面積に占める割合が所定の閾値以上(例えば、40%)であれば、その画像データの露出が不正であると検出する。こうすることで、白飛びや黒つぶれの有無を検出することができる。   The exposure fraud detection unit 334 extracts an area where the luminance value of each pixel constituting the image data is a certain value (for example, 240) or more, or a certain value (for example, 16) or less from the image data. If the proportion of the entire image area is equal to or greater than a predetermined threshold (for example, 40%), it is detected that the exposure of the image data is incorrect. By doing this, it is possible to detect the presence or absence of whiteout or blackout.

印刷推奨画像選択部330は、上述した手ブレ検出部332やピントずれ検出部333、露出不正検出部334によって、画像に手ブレやピントずれ、露出不正が生じていないと判断した場合には、画像入力部300から入力した画像ファイルを、印刷を推奨する画像として選択する。   When the recommended print image selection unit 330 determines that the above-described camera shake detection unit 332, the focus deviation detection unit 333, and the exposure fraud detection unit 334 determine that the image is not shaken, out of focus, or exposure fraud, The image file input from the image input unit 300 is selected as an image recommended for printing.

印刷推奨画像表示部340は、印刷推奨画像選択部330によって選択された画像ファイルを、印刷を推奨する画像の候補として液晶ディスプレイ150に表示する。ユーザは、液晶ディスプレイ150に表示された画像を確認して、操作パネル140の印刷ボタンを押すことで、選択された画像の印刷を実行することができる。   The recommended print image display unit 340 displays the image file selected by the recommended print image selection unit 330 on the liquid crystal display 150 as a candidate image recommended for printing. The user can print the selected image by confirming the image displayed on the liquid crystal display 150 and pressing the print button on the operation panel 140.

C.印刷推奨画像選択処理:
図6および図7は、操作パネル140上の自動選択ボタン141がユーザによって押された場合にCPU251が実行する印刷推奨画像選択処理のフローチャートである。この印刷推奨画像選択処理は、印刷に適した画像ファイルを自動的に選択するための処理である。ここでは、メモリカードMCに記録された画像ファイルの中から印刷を推奨する画像を選択する場合について説明する。なお、画像ファイルの入力元は、USBインタフェースを介して接続されたデジタルカメラでもよいし、パーソナルコンピュータでもよい。
C. Recommended printing image selection process:
6 and 7 are flowcharts of recommended print image selection processing executed by the CPU 251 when the automatic selection button 141 on the operation panel 140 is pressed by the user. This recommended printing image selection process is a process for automatically selecting an image file suitable for printing. Here, a case will be described in which an image recommended for printing is selected from image files recorded on the memory card MC. The input source of the image file may be a digital camera connected via a USB interface or a personal computer.

図6に示すように、印刷推奨画像選択処理が実行されると、CPU251は、まず、機種別情報更新部335を用いて、機種別情報サーバSV上に記憶された機種別情報データベースDBのタイムスタンプを問い合わせる(ステップS100)。その結果、問い合わせたタイムスタンプが、EEPROM254に記憶された機種別情報データベースDBのタイムスタンプよりも新しければ(ステップS110:Yes)、機種別情報サーバSVから機種別情報データベースDBをダウンロードして(ステップS120)、EEPROM254に記憶された機種別情報データベースDBを更新する(ステップS130)。問い合わせたタイムスタンプがEEPROM254に記憶された機種別情報データベースDBのタイムスタンプと同じか、もしくは古ければ(ステップS110:No)、ステップS120およびステップS130の処理をスキップし、機種別情報データベースDBの更新を行わない。   As shown in FIG. 6, when the recommended print image selection process is executed, the CPU 251 first uses the model information update unit 335 to store the time of the model information database DB stored on the model information server SV. The stamp is inquired (step S100). As a result, if the time stamp inquired is newer than the time stamp of the model-specific information database DB stored in the EEPROM 254 (step S110: Yes), the model-specific information database DB is downloaded from the model-specific information server SV ( In step S120, the model-specific information database DB stored in the EEPROM 254 is updated (step S130). If the time stamp inquired is the same as or older than the time stamp of the model-specific information database DB stored in the EEPROM 254 (step S110: No), the processing of step S120 and step S130 is skipped, and the model-specific information database DB Do not update.

次に、CPU251は、印刷用紙サイズ取得部310を用いてユーザによって設定された印刷用紙のサイズをメモリ253から取得する(ステップS140)。   Next, the CPU 251 acquires the print paper size set by the user from the memory 253 using the print paper size acquisition unit 310 (step S140).

説明を図7に移す。印刷用紙のサイズを取得後、CPU251は、メモリカードMCから画像ファイルを1つ入力する(ステップS150)。   The description is moved to FIG. After acquiring the size of the printing paper, the CPU 251 inputs one image file from the memory card MC (step S150).

画像ファイルを入力すると、CPU251は、入力した画像ファイルに付加情報(図4参照)が含まれているか否かを判定する(ステップS160)。判定の結果、付加情報が含まれていれば(ステップS160:Yes)、手ブレ検出省略判定部331を用いて、手ブレの検出を省略可能であるか否かを判定する手ブレ検出省略判定処理を実行する(ステップS170)。この手ブレ検出省略判定処理の詳細な説明は後述する。   When the image file is input, the CPU 251 determines whether additional information (see FIG. 4) is included in the input image file (step S160). As a result of the determination, if additional information is included (step S160: Yes), the camera shake detection omission determination is performed using the camera shake detection omission determination unit 331 to determine whether or not the detection of camera shake can be omitted. Processing is executed (step S170). A detailed description of this camera shake detection omission determination process will be given later.

CPU251は、手ブレ検出省略判定処理の結果、手ブレの検出が省略できないと判断した場合(ステップS180:No)、または、上記ステップS160において、画像ファイルに付加情報が含まれていないと判定した場合には(ステップS160:No)、手ブレ検出部332を用いて、手ブレが発生しているか否かを検出する(ステップS190)。手ブレ検出部332による手ブレの検出処理では、上述したように、画像データを構成する各画素の輝度値を一次微分してエッジを抽出し、エッジの方向およびその方向へのエッジの幅を算出する。そして、その方向へのエッジの幅が所定の閾値以上であれば手ブレがあると検出する。   As a result of the camera shake detection omission determination process, the CPU 251 determines that camera shake detection cannot be omitted (step S180: No), or in step S160, determines that no additional information is included in the image file. In this case (step S160: No), the camera shake detection unit 332 is used to detect whether camera shake has occurred (step S190). In the camera shake detection process by the camera shake detection unit 332, as described above, the luminance value of each pixel constituting the image data is first differentiated to extract an edge, and the edge direction and the edge width in the direction are determined. calculate. If the edge width in that direction is equal to or larger than a predetermined threshold, it is detected that there is a camera shake.

手ブレ検出処理の結果、手ブレを検出した場合には(ステップS190:Yes)、CPU251は、入力した画像ファイルは印刷に適さない画像であると判断して印刷を推奨する画像としては選択を行わない。よって、以降で説明するピントずれの検出処理や露出不正の検出処理をスキップして、全画像ファイルの入力が完了したか否かの判断を行い(ステップS230)、完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。   If camera shake is detected as a result of the camera shake detection process (step S190: Yes), the CPU 251 determines that the input image file is an image that is not suitable for printing, and selects the image recommended for printing. Not performed. Accordingly, the focus shift detection process and the exposure fraud detection process described below are skipped, and it is determined whether or not the input of all the image files has been completed (step S230). The process returns to S150, the next image file is input, and the determination of whether or not the image file is suitable for printing is continued.

手ブレ検出処理の結果、手ブレが検出されなかった場合(ステップS190:NO)、または、上記ステップS170において、手ブレの検出が省略可能であると判定された場合には(ステップS180:Yes)、CPU251は、ピントずれ検出部333を用いて、入力した画像ファイルにピントずれが発生しているか否かを検出する(ステップS200)。かかる検出の結果、ピントずれを検出した場合には(ステップS200:Yes)、入力した画像ファイルは印刷に適さない画像であると判断して印刷を推奨する画像としては選択を行わない。よって、以降で説明する露出不正の検出処理をスキップして、全画像ファイルの入力が完了したか否かの判断を行い(ステップS230)、完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。   If no camera shake is detected as a result of the camera shake detection process (step S190: NO), or if it is determined in step S170 that the detection of camera shake can be omitted (step S180: Yes). ) The CPU 251 detects whether or not the input image file is out of focus using the out-of-focus detection unit 333 (step S200). If focus detection is detected as a result of this detection (step S200: Yes), it is determined that the input image file is an image unsuitable for printing, and is not selected as an image recommended for printing. Therefore, the exposure fraud detection process described below is skipped, and it is determined whether or not the input of all the image files is completed (step S230). If not completed, the process returns to step S150, The next image file is input and the determination of whether the image file is suitable for printing is continued.

ピントずれ検出処理の結果、ピントずれが検出されなかった場合には(ステップS200:No)、CPU251は、上述した露出不正検出部334を用いて、入力した画像データの露出が不正であるかを検出する(ステップS210)。かかる検出の結果、露出不正であると検出した場合には(ステップS210:Yes)、入力した画像ファイルは印刷に適さない画像であると判断して印刷を推奨する画像としては選択を行わない。よって、全画像ファイルの入力が完了したか否かの判断を行い(ステップS230)、完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。   If no focus deviation is detected as a result of the focus deviation detection process (step S200: No), the CPU 251 uses the above-described exposure fraud detection unit 334 to determine whether the exposure of the input image data is illegal. It detects (step S210). As a result of such detection, when it is detected that the exposure is incorrect (step S210: Yes), the input image file is determined to be an image that is not suitable for printing, and is not selected as an image recommended for printing. Therefore, it is determined whether or not the input of all the image files is completed (step S230). If not completed, the process returns to step S150, the next image file is input, and the image file is printed. Continue to determine whether or not it is suitable.

露出不正の検出処理の結果、露出が不正であると検出されなかった場合(ステップS210:No)、つまり、画像データに、手ブレやピントずれが発生しておらず、露出も適正であった場合には、CPU251は、印刷に適した画像であると判断して、入力した画像ファイルを、印刷を推奨する画像の候補として選択する(ステップS220)。選択した画像については、印刷推奨画像表示部340を用いて液晶ディスプレイ150に表示を行う。ユーザは、液晶ディスプレイ150に表示された画像を確認後、操作パネル140上の印刷ボタン142を押すことで、表示された画像の印刷を行うことができる。なお、液晶ディスプレイ150に表示された画像の印刷枚数をユーザが操作パネル140を用いて調整することにより、印刷を行う画像を更に絞り込むことができる。   As a result of the exposure fraud detection process, when it is not detected that the exposure is fraud (step S210: No), that is, there is no camera shake or focus deviation in the image data, and the exposure is also appropriate. In this case, the CPU 251 determines that the image is suitable for printing, and selects the input image file as a candidate image recommended for printing (step S220). The selected image is displayed on the liquid crystal display 150 using the recommended print image display unit 340. After confirming the image displayed on the liquid crystal display 150, the user can print the displayed image by pressing the print button 142 on the operation panel 140. The user can further narrow down the images to be printed by adjusting the number of printed images displayed on the liquid crystal display 150 using the operation panel 140.

上記ステップS220による印刷推奨画像の選択後、CPU251は、全画像ファイルの入力が完了したか否かの判断を行う(ステップS230)。全画像ファイルの入力が完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。全画像ファイルの入力が完了していた場合には、一連の印刷推奨画像選択処理を終了する。   After selecting the recommended print image in step S220, the CPU 251 determines whether or not the input of all image files has been completed (step S230). If the input of all the image files has not been completed, the process returns to step S150, the next image file is input, and the determination of whether or not the image file is suitable for printing is continued. If the input of all the image files has been completed, the series of recommended print image selection processing ends.

D.手ブレ検出省略判定処理:
図8は、上述した印刷推奨画像選択処理のステップS170において実行される手ブレ検出省略判定処理の詳細を示すフローチャートである。
D. Camera shake detection omission judgment processing:
FIG. 8 is a flowchart showing details of the camera shake detection omission determination process executed in step S170 of the recommended print image selection process described above.

この手ブレ検出省略判定処理が実行されると、まず、CPU251は、付加情報を解析して、画像の撮影時に三脚が使用されているか否かを判定する(ステップS300)。例えば、図4に示した付加情報には、「三脚」が「使用」と記録されているため、三脚が使用されていると判定される。かかる処理において、三脚が使用されていると判定されれば(ステップS300:Yes)、安定した状態で画像が撮影されていると判断でき、手ブレは発生していないと推定できるため、手ブレ検出が省略可能であると判定する(ステップS310)。   When this camera shake detection omission determination process is executed, first, the CPU 251 analyzes the additional information and determines whether or not a tripod is used when the image is captured (step S300). For example, in the additional information shown in FIG. 4, since “tripod” is recorded as “used”, it is determined that the tripod is used. In this process, if it is determined that a tripod is used (step S300: Yes), it can be determined that an image is captured in a stable state, and it can be estimated that no camera shake has occurred. It is determined that the detection can be omitted (step S310).

上記ステップS300において、三脚が使用されていないと判定されれば(ステップS300:No)、CPU251は、付加情報を解析して、画像の撮影時にセルフタイマが使用されているか否かを判定する(ステップS335)。例えば、図4に示した付加情報には、「セルフタイマ」が「不使用」と記録されているため、セルフタイマが使用されていないと判定される。かかる処理において、セルフタイマが使用されていると判定されれば(ステップS320:Yes)、デジタルカメラが三脚などで固定されて撮影されたと判断でき、手ブレは発生していないと推定できるため、手ブレ検出が省略可能であると判定する(ステップS310)。   If it is determined in step S300 that the tripod is not used (step S300: No), the CPU 251 analyzes the additional information and determines whether or not the self-timer is used when the image is captured (step S300: No). Step S335). For example, in the additional information shown in FIG. 4, since “self-timer” is recorded as “not used”, it is determined that the self-timer is not used. In this process, if it is determined that the self-timer is used (step S320: Yes), it can be determined that the digital camera was captured with a tripod or the like, and it can be estimated that camera shake has not occurred. It is determined that the camera shake detection can be omitted (step S310).

上記ステップS320において、セルフタイマが使用されていないと判定されれば(ステップS320:No)、CPU251は、付加情報を解析して、画像撮影時の露光時間が1/250秒以下であるか否かを判定する(ステップS330)。例えば、図4に示した付加情報には「露光時間」が「1/250秒」と記録されているため、かかる条件を満たす。このステップS330の処理において、露光時間が1/250秒以下であると判定されれば(ステップS330:Yes)、露光時間が十分に短く、撮影された画像に手ブレの影響は生じていないと推定できるため、手ブレ検出が省略可能であると判定する(ステップS310)。なお、本実施例では、露光時間の閾値を1/250秒としたが、撮影画像に手ブレの影響が生じない値であれば、他の値をとるものとしてもよい。   If it is determined in step S320 that the self-timer is not used (step S320: No), the CPU 251 analyzes the additional information and determines whether or not the exposure time during image shooting is 1/250 seconds or less. Is determined (step S330). For example, since the “exposure time” is recorded as “1/250 seconds” in the additional information shown in FIG. If it is determined in the process of step S330 that the exposure time is 1/250 second or less (step S330: Yes), the exposure time is sufficiently short, and there is no influence of camera shake on the photographed image. Since it can be estimated, it is determined that camera shake detection can be omitted (step S310). In this embodiment, the threshold value of the exposure time is 1/250 seconds, but other values may be used as long as they do not cause the influence of camera shake on the captured image.

上記ステップS330において、露光時間が1/250秒を超えると判定されれば(ステップS330:No)、CPU251は、露光時間とデジタルカメラのCCDサイズとの関係で、手ブレの発生しにくい状況において画像が撮影されたか否かを判定する。以下、かかる処理の詳細について図9を交えて説明する。図9は、手ブレの発生しにくい状況において画像が撮影されたか否かを判定する方法を模式的に示す説明図である。   If it is determined in step S330 that the exposure time exceeds 1/250 seconds (step S330: No), the CPU 251 is in a situation where camera shake is unlikely to occur due to the relationship between the exposure time and the CCD size of the digital camera. It is determined whether an image has been taken. The details of this processing will be described below with reference to FIG. FIG. 9 is an explanatory diagram schematically illustrating a method for determining whether or not an image has been shot in a situation in which camera shake is unlikely to occur.

まず、CPU251は、入力した画像ファイルに手ブレが生じていると仮定した場合における、その手ブレの仮想距離L1(mm)(図9参照)を算出する(ステップS340)。具体的には、まず、手ブレの平均速度B(mm/秒)をROM252から取得するとともに、付加情報から露光時間S(秒)を取得し、これらの値を乗ずることによって仮想距離L1を算出する。つまり、下記式(1)によって手ブレの仮想距離L1を求めることができる。なお、手ブレの平均速度Bは、予め実験などを行って統計的に求められた値である。   First, the CPU 251 calculates a virtual distance L1 (mm) of camera shake (see FIG. 9) when it is assumed that camera shake has occurred in the input image file (step S340). Specifically, first, the average speed B (mm / second) of camera shake is obtained from the ROM 252, the exposure time S (second) is obtained from the additional information, and the virtual distance L1 is calculated by multiplying these values. To do. That is, the virtual distance L1 of camera shake can be obtained by the following formula (1). In addition, the average speed B of camera shake is a value obtained statistically by conducting an experiment or the like in advance.

L1=S*B ・・・(1) L1 = S * B (1)

手ブレの仮想距離L1を算出すると、CPU251は、CCD上において手ブレが目立つ距離L2(図9参照)を算出する(ステップS350)。具体的には、まず、付加情報からその画像を撮影したデジタルカメラの機種名を取得して、EEPROM254に記録された機種別情報データベースDB(図5参照)を参照することで、そのデジタルカメラが備えるCCDのサイズ(CX(mm)*CY(mm))を取得する。CPU251は、更に、印刷用紙上で手ブレが目立つこととなる手ブレの距離R(mm)をROM252から取得する。かかる距離Rは予めROM252に記録された値であり、概ね0.2〜0.3mmとすることができる。そして、これらの値と、前述した印刷推奨画像選択処理のステップS140(図6参照)で取得した印刷用紙のサイズ(PX(mm)*PY(mm))とに基づき、下記式(2)によって、CCD上において手ブレが目立つ距離L2を算出する。なお、下記式(2)では、Y軸方向の距離を求めているが、これは、手ブレは、鉛直方向に発生することが多いと考えられるからである。   When the camera shake virtual distance L1 is calculated, the CPU 251 calculates a distance L2 (see FIG. 9) where camera shake is conspicuous on the CCD (step S350). Specifically, first, the model name of the digital camera that captured the image is acquired from the additional information, and the digital camera is referred to by referring to the model-specific information database DB (see FIG. 5) recorded in the EEPROM 254. The size of the CCD provided (CX (mm) * CY (mm)) is acquired. Further, the CPU 251 acquires from the ROM 252 a camera shake distance R (mm) at which camera shake is conspicuous on the printing paper. The distance R is a value recorded in advance in the ROM 252 and can be approximately 0.2 to 0.3 mm. Based on these values and the size of the printing paper (PX (mm) * PY (mm)) acquired in step S140 (see FIG. 6) of the recommended printing image selection process described above, the following equation (2) is used. Then, a distance L2 at which camera shake is conspicuous on the CCD is calculated. In the following formula (2), the distance in the Y-axis direction is obtained because it is considered that camera shake often occurs in the vertical direction.

L2=R*CY/PY ・・・(2) L2 = R * CY / PY (2)

以上の処理によって、手ブレの仮想距離L1と、CCD上において手ブレが目立つ距離L2とを算出すると、CPU251は、L1とL2とを比較する(ステップS360)。その結果、手ブレの仮想距離L1がCCD上において手ブレが目立つ距離L2以下であれば(ステップS360:Yes)、手ブレの発生しにくい状況において画像が撮影されたと判断できるため、手ブレ検出が省略可能であると判断する(ステップS310)。一方、手ブレの仮想距離L1がCCD上において手ブレが目立つ距離L2よりも大きければ(ステップS360:No)、手ブレの発生しやすい状況において画像が撮影されたと判断できるため、手ブレ検出が省略できないと判定する(ステップS370)。   After calculating the virtual distance L1 of camera shake and the distance L2 where camera shake is conspicuous on the CCD by the above processing, the CPU 251 compares L1 and L2 (step S360). As a result, if the virtual distance L1 of camera shake is equal to or less than the distance L2 where camera shake is conspicuous on the CCD (step S360: Yes), it can be determined that an image has been shot in a situation in which camera shake is unlikely to occur. Is determined to be omissible (step S310). On the other hand, if the virtual distance L1 of camera shake is larger than the distance L2 where camera shake is conspicuous on the CCD (step S360: No), it can be determined that an image has been shot in a situation in which camera shake is likely to occur. It is determined that it cannot be omitted (step S370).

E.効果:
以上で説明した本実施例の印刷装置100によれば、(A)三脚の使用の有無、(B)セルフタイマの使用の有無、(C)露光時間の長さ、(D)手ブレの発生しやすい状況で撮影したか否か、という種々の判定基準に基づき、画像ファイル中の付加情報を使用して、手ブレ検出を省略可能であるかを容易に判定することができる。よって、これらの判定基準によって手ブレの検出処理が省略可能であると判定された場合には、画像データの全画素について一次微分をおこなってエッジの有無を算出する複雑な演算処理を省略することができることになり、印刷を推奨する画像の選択を迅速に行うことが可能になる。
E. effect:
According to the printing apparatus 100 of the present embodiment described above, (A) whether or not a tripod is used, (B) whether or not a self-timer is used, (C) the length of exposure time, and (D) occurrence of camera shake. It is possible to easily determine whether camera shake detection can be omitted by using the additional information in the image file based on various determination criteria such as whether or not the image is captured in a situation where it is easy to perform. Therefore, when it is determined that the camera shake detection process can be omitted according to these determination criteria, the complicated calculation process for calculating the presence / absence of an edge by performing a first-order differentiation for all the pixels of the image data is omitted. Thus, it is possible to quickly select an image recommended for printing.

また、本実施例では、印刷装置100が保持する機種別情報データベースDBを、インターネットを経由して最新の機種別情報データベースDBに更新することができる。そのため、最新のデジタルカメラで撮影された画像についても、手ブレの発生しやすい状況で撮影したか否かを適切に判定することができる。   In the present embodiment, the model-specific information database DB held by the printing apparatus 100 can be updated to the latest model-specific information database DB via the Internet. Therefore, it is possible to appropriately determine whether or not an image taken with the latest digital camera is taken in a situation where camera shake is likely to occur.

F.変形例:
以上、本発明の実施例について説明したが、本発明はこのような実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることはいうまでもない。例えば、ソフトウェアによって実現した機能は、ハードウェアによって実現するものとしてもよい。そのほか、以下の変形が可能である。
F. Variation:
As mentioned above, although the Example of this invention was described, it cannot be overemphasized that this invention is not limited to such an Example, and can take a various structure in the range which does not deviate from the meaning. For example, a function realized by software may be realized by hardware. In addition, the following modifications are possible.

(F−1):
上記実施例では、印刷装置100が印刷を推奨する画像を自動的に選択するものとした。これに対して、パーソナルコンピュータがメモリカード等から画像ファイルを読み込み、図6〜8に示した各種処理を実行するものとしてもよい。こうすることにより、パーソナルコンピュータによって印刷を推奨する画像を自動的に選択することが可能になる。また、パーソナルコンピュータ以外にも、画像を撮影するデジタルカメラや、画像を閲覧するための画像ビューワ装置等が、同様の処理を実行して、印刷を推奨する画像を自動的に選択するものとしてもよい。
(F-1):
In the above embodiment, the printing apparatus 100 automatically selects an image recommended for printing. On the other hand, the personal computer may read an image file from a memory card or the like and execute various processes shown in FIGS. This makes it possible to automatically select an image recommended for printing by a personal computer. In addition to a personal computer, a digital camera that captures an image, an image viewer device for viewing an image, etc. may execute the same processing to automatically select an image recommended for printing. Good.

(F−2):
上記実施例では、インターネットを介して接続された機種別情報サーバSVから、最新の機種別情報データベースDBをダウンロードするものとした。これに対して、例えば、メモリカードMCや、印刷装置100に接続されたパーソナルコンピュータに機種別情報データベースDBが記憶されているものとし、これらの機器から最新の機種別情報データベースDBを取得するものとしてもよい。また、印刷装置100は、機種別情報データベースDBを保持せず、手ブレ検出省略判定処理が実行される毎に、機種別情報サーバSVに直接、CCDのサイズ情報を問い合わせるものとしてもよい。
(F-2):
In the above embodiment, the latest model-specific information database DB is downloaded from the model-specific information server SV connected via the Internet. In contrast, for example, the model information database DB is stored in the memory card MC or a personal computer connected to the printing apparatus 100, and the latest model information database DB is acquired from these devices. It is good. Further, the printing apparatus 100 may not directly hold the model-specific information database DB, and inquire the CCD type information directly from the model-specific information server SV every time the camera shake detection omission determination process is executed.

(F−3):
上記実施例では、印刷推奨画像選択処理が実行される度に、機種別情報データベースDBが最新であるか否かを機種別情報サーバSVに問い合わせるものとした。これに対して、例えば、手ブレ検出省略判定処理のステップS350において付属情報から取得したデジタルカメラの機種名が、EEPROM254に記録された機種別情報データベースDBに登録されていない場合に限り、機種別情報サーバSVに問い合わせを行うものとしてもよい。こうすることにより、機種別情報サーバSVに問い合わせを行う頻度を低減させることができるため、印刷推奨画像を迅速に選択することが可能になる。
(F-3):
In the above-described embodiment, every time the recommended print image selection process is executed, the model-specific information server SV is inquired whether the model-specific information database DB is the latest. On the other hand, for example, only when the model name of the digital camera acquired from the attached information in step S350 of the camera shake detection omission determination process is not registered in the model information database DB recorded in the EEPROM 254, An inquiry may be made to the information server SV. By doing so, it is possible to reduce the frequency of making inquiries to the model-specific information server SV, and thus it is possible to quickly select a print recommended image.

(F−4):
上記実施例では、手ブレ検出を省略可能であるか否かを判定する基準として、(A)三脚の使用の有無、(B)セルフタイマの使用の有無、(C)露光時間の長さ、(D)手ブレの発生しやすい状況で撮影したか否か、という4つの判定基準を用いたが、判定基準はこれらに限られない。例えば、デジタルカメラによって画像撮影時の撮影モードが付加情報に記録されており、この付加情報を解析することで、動きの速い被写体を撮影する撮影モード(例えば、スポーツモード等)によって画像が撮影されていると判定した場合には、手ブレの検出を省略するものとすることができる。動きの速い被写体を撮影する撮影モードでは、シャッタスピードが速く、露光時間が短い状況で画像が撮影されていると考えられ、手ブレが発生していないと推定することができるからである。
(F-4):
In the above embodiment, as criteria for determining whether or not camera shake detection can be omitted, (A) whether or not a tripod is used, (B) whether or not a self-timer is used, (C) the length of an exposure time, (D) Although the four criteria of whether or not the image was taken in a situation where camera shake is likely to occur are used, the criteria are not limited to these. For example, a shooting mode at the time of image shooting by a digital camera is recorded in the additional information, and by analyzing this additional information, an image is shot in a shooting mode for shooting a fast-moving subject (for example, a sports mode). If it is determined that the camera shake is detected, detection of camera shake can be omitted. This is because, in a shooting mode for shooting a fast-moving subject, it is considered that an image is shot in a situation where the shutter speed is fast and the exposure time is short, and it can be estimated that there is no camera shake.

その他にも、例えば、カメラのシャッタを遠隔操作可能なレリーズや無線式のリモコンが使用されたか否かを表すパラメータが付加情報に記録されている場合には、手ブレが発生していないと推定するものとしてもよい。このような場合には、カメラが三脚等で固定された撮影している可能性が高いからである。   In addition, for example, when a parameter indicating whether a release capable of remotely operating a camera shutter or a wireless remote control is used is recorded in the additional information, it is estimated that no camera shake has occurred. It is good also as what to do. In such a case, there is a high possibility that the camera is photographing with a tripod or the like.

(F−5):
上記実施例では、デジタルカメラのCCDのサイズを機種別情報データベースDBから取得するものとした。これに対して、例えば、画像の撮影時に、デジタルカメラがCCDのサイズを付加情報中に記録するものとしてもよい。このようにすれば、機種別情報データベースDBを参照することなく、画像ファイル中の付加情報からCCDのサイズを直接取得することが可能になる。
(F-5):
In the above embodiment, the CCD size of the digital camera is acquired from the model-specific information database DB. On the other hand, for example, the digital camera may record the size of the CCD in the additional information when taking an image. In this way, it is possible to directly acquire the CCD size from the additional information in the image file without referring to the model-specific information database DB.

(F−6):
機種別情報データベースDBには、CCDのサイズ以外にも、例えば、そのデジタルカメラが、手ブレ補正機能を有しているか否かを表す情報が記録されていてもよい。この場合、手ブレ検出省略判定処理において、付属情報からデジタルカメラの機種名を取得して機種別情報データベースDBを参照し、手ブレ補正機能を有しているデジタルカメラによって撮影された画像であると判定した場合には、手ブレが生じていないと推定するものとしてもよい。
(F-6):
In addition to the CCD size, for example, information indicating whether the digital camera has a camera shake correction function may be recorded in the model-specific information database DB. In this case, in the camera shake detection omission determination process, the model name of the digital camera is acquired from the attached information, the model-specific information database DB is referenced, and the image is taken by the digital camera having the camera shake correction function. If it is determined that there is no camera shake, it may be estimated.

本願の画像選択装置の実施例としての印刷装置100の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the printing apparatus 100 as an Example of the image selection apparatus of this application. 印刷装置100の内部構成を示す説明図である。2 is an explanatory diagram illustrating an internal configuration of the printing apparatus 100. FIG. 制御プログラムを実行することによってソフトウェア的に実現される各機能のブロック図である。It is a block diagram of each function implement | achieved by software by running a control program. 画像入力部300によって入力される画像ファイルのデータ形式を示す説明図である。4 is an explanatory diagram showing a data format of an image file input by an image input unit 300. FIG. 機種別情報データベースDBの一例を示す説明図である。It is explanatory drawing which shows an example of model classification information database DB. 印刷推奨画像選択処理のフローチャートである。It is a flowchart of a printing recommendation image selection process. 印刷推奨画像選択処理のフローチャートである。It is a flowchart of a printing recommendation image selection process. 手ブレ検出省略判定処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of camera shake detection omission determination processing. 手ブレの発生しにくい状況において画像が撮影されたか否かを判定する方法を模式的に示す説明図である。It is explanatory drawing which shows typically the method to determine whether the image was image | photographed in the condition where it is hard to generate camera shake.

符号の説明Explanation of symbols

100...印刷装置
110...スキャナ
120...メモリカードスロット
130...USBインタフェース
140...操作パネル
141...自動選択ボタン
142...印刷ボタン
150...液晶ディスプレイ
160...ネットワークインタフェース
210...キャリッジ
211...インクヘッド
212...インクカートリッジ
220...キャリッジモータ
230...紙送りモータ
250...制御回路
251...CPU
252...ROM
253...メモリ
254...EEPROM
260...駆動ベルト
270...プラテン
280...摺動軸
300...画像入力部
310...印刷用紙サイズ取得部
330...印刷推奨画像選択部
331...手ブレ検出省略判定部
332...手ブレ検出部
333...ピントずれ検出部
334...露出不正検出部
335...機種別情報更新部
340...印刷推奨画像表示部
INT...インターネット
MC...メモリカード
SV...機種別情報サーバ
DB...機種別情報データベース
DESCRIPTION OF SYMBOLS 100 ... Printing apparatus 110 ... Scanner 120 ... Memory card slot 130 ... USB interface 140 ... Operation panel 141 ... Automatic selection button 142 ... Print button 150 ... Liquid crystal display 160 ... Network interface 210 ... Carriage 211 ... Ink head 212 ... Ink cartridge 220 ... Carriage motor 230 ... Paper feed motor 250 ... Control circuit 251 ... CPU
252 ... ROM
253 ... Memory 254 ... EEPROM
260 ... Drive belt 270 ... Platen 280 ... Sliding shaft 300 ... Image input unit 310 ... Print paper size acquisition unit 330 ... Print recommended image selection unit 331 ... Camera shake detection Omission determination unit 332 ... Shake detection unit 333 ... Focus deviation detection unit 334 ... Incorrect exposure detection unit 335 ... Model information update unit 340 ... Recommended print image display unit INT ... Internet MC ... Memory card SV ... Model-specific information server DB ... Model-specific information database

Claims (12)

カメラによって撮像されて生成された画像ファイルを複数入力し、該入力した複数の画像ファイルの中から出力対象の候補となる画像ファイルを選択する画像選択装置であって、
前記画像ファイルは、画像データと、手ブレの発生に関連する撮影状況を示す手ブレ関係パラメータとを含んでおり、
前記入力した画像ファイル中の画像データを構成する各画素の画素値を用いて所定の演算を行い、手ブレの有無を検出する手ブレ検出部と、
前記入力した画像ファイル中の前記手ブレ関係パラメータを所定の判定基準に基づき解析して手ブレ発生の有無を推定し、手ブレが発生していないと推定した場合に、前記手ブレ検出部による手ブレの検出を省略する手ブレ検出省略判定部と、
前記手ブレ検出省略判定部によって手ブレがないと推定された画像ファイル、または、前記手ブレ検出部によって手ブレが無いと検出された画像ファイルを前記出力対象の候補として選択する選択部と
を備える画像選択装置。
An image selection device that inputs a plurality of image files captured and generated by a camera and selects image files that are candidates for output from the plurality of input image files.
The image file includes image data and a camera shake related parameter indicating a shooting situation related to occurrence of camera shake,
A camera shake detection unit that performs a predetermined calculation using the pixel value of each pixel constituting the image data in the input image file and detects the presence or absence of camera shake;
When the camera shake relation parameter in the input image file is analyzed based on a predetermined determination criterion to estimate the presence or absence of camera shake, and when it is estimated that no camera shake has occurred, A camera shake detection omission determination unit that omits camera shake detection;
An image file that is estimated to be free of camera shake by the camera shake detection omission determination unit, or a selection unit that selects an image file detected as having no camera shake by the camera shake detection unit as the output target candidate; An image selection device provided.
請求項1に記載の画像選択装置であって、
前記手ブレ関係パラメータは、前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記カメラが固定されて前記画像データが撮像された旨を表すパラメータを検出した場合に、手ブレが発生していないと推定する
画像選択装置。
The image selection device according to claim 1,
The camera shake related parameter is a parameter indicating whether the camera is fixed and the image data is captured,
The camera shake detection omission determination unit analyzes the camera shake related parameter, and detects that a camera shake has not occurred when a parameter indicating that the camera is fixed and the image data is captured is detected. Estimated image selection device.
請求項2に記載の画像選択装置であって、
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時における三脚の使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、三脚が使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生していないと推定する
画像選択装置。
The image selection device according to claim 2,
The parameter indicating whether or not the image data is captured with the camera fixed is a parameter that indicates whether or not a tripod is used when capturing the image data.
The camera shake detection omission determination unit analyzes the camera shake related parameter and determines that the image data is captured with the camera fixed when a parameter indicating that a tripod is used is detected. An image selection device that estimates that camera shake has not occurred.
請求項2に記載の画像選択装置であって、
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時におけるセルフタイマの使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、セルフタイマが使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生してないと推定する
画像選択装置。
The image selection device according to claim 2,
The parameter indicating whether or not the image data is captured with the camera fixed is a parameter indicating whether or not a self-timer is used when capturing the image data,
The camera shake detection omission determination unit analyzes the camera shake related parameter and determines that the image data is captured with the camera fixed when a parameter indicating that a self-timer is used is detected. An image selection device that estimates that there is no camera shake.
請求項1に記載の画像選択装置であって、
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、露光時間が所定値以下であることを検出した場合に、手ブレが発生していないと推定する
画像選択装置。
The image selection device according to claim 1,
The camera shake related parameter includes a parameter representing an exposure time at the time of shooting the image data,
The image selection apparatus that estimates that no camera shake has occurred when the camera shake detection omission determination unit analyzes the camera shake related parameter and detects that the exposure time is equal to or less than a predetermined value.
請求項1に記載の画像選択装置であって、
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記露光時間と予め定められた手ブレの平均速度とに基づき前記画像データに手ブレが生じていると仮定した場合の手ブレの仮想距離を求め、該仮想距離が所定の閾値以下となる場合に、手ブレが発生していないと推定する
画像選択装置。
The image selection device according to claim 1,
The camera shake related parameter includes a parameter representing an exposure time at the time of shooting the image data,
The camera shake detection omission determination unit analyzes the camera shake related parameter, and assumes that camera shake has occurred in the image data based on the exposure time and a predetermined average speed of camera shake. An image selection device that calculates a virtual distance of camera shake and estimates that no camera shake has occurred when the virtual distance is equal to or less than a predetermined threshold.
請求項6に記載の画像選択装置であって、
更に、前記カメラの種別と該カメラが備える撮像素子のサイズとを対応付けて記録した機種別情報データベースを記憶する記憶部と、
前記画像ファイルを出力する印刷用紙のサイズを取得する印刷用紙サイズ取得部とを備え、
前記手ブレ関係パラメータには、前記画像データを撮影したカメラの種別を表す情報が含まれており、
前記手ブレ検出省略判定部は、前記画像ファイル中の前記カメラの種別を表すパラメータから前記記憶部を参照して該カメラが備える撮像素子のサイズを取得し、該撮像素子のサイズと、前記印刷用紙のサイズと、前記印刷用紙上で手ブレが目立つ距離として予め定められた距離と、に基づき前記撮影素子上において手ブレの目立つ距離を求め、該距離を前記所定の閾値として適用する
画像選択装置。
The image selection device according to claim 6,
A storage unit that stores a model-specific information database in which the type of the camera and the size of the image sensor included in the camera are recorded in association with each other;
A printing paper size acquisition unit for acquiring the size of the printing paper for outputting the image file,
The camera shake-related parameters include information indicating the type of camera that captured the image data,
The camera shake detection omission determination unit obtains the size of the image sensor included in the camera by referring to the storage unit from a parameter indicating the type of the camera in the image file, and the size of the image sensor and the print An image selection method for obtaining a distance at which camera shake is conspicuous on the imaging element based on a paper size and a predetermined distance as a distance at which camera shake is conspicuous on the printing paper, and applying the distance as the predetermined threshold value. apparatus.
請求項7に記載の画像選択装置であって、
更に、前記機種別情報データベースを、ネットワークを介して接続された所定のサーバ、当該画像選択装置に挿入されたメモリカード、当該画像選択装置に接続されたコンピュータ、のいずれかから取得するデータベース取得部を備える
画像選択装置。
The image selection device according to claim 7,
Further, the database acquisition unit that acquires the model-specific information database from any one of a predetermined server connected via a network, a memory card inserted into the image selection device, and a computer connected to the image selection device. An image selection device comprising:
請求項1ないし請求項8のいずれかに記載の画像選択装置であって、
更に、前記選択部によって出力対象の候補として選択された画像ファイルを印刷する印刷機構を備える
画像選択装置。
The image selection device according to any one of claims 1 to 8,
An image selection apparatus further comprising a printing mechanism that prints an image file selected as an output target candidate by the selection unit.
コンピュータが、カメラによって撮像されて生成された画像ファイルを複数入力し、該入力した複数の画像ファイルの中から出力対象の候補となる画像ファイルを選択する画像選択方法であって、
前記画像ファイルは、画像データと、手ブレの発生に関連する撮影状況を示す手ブレ関係パラメータとを含んでおり、
前記入力した画像ファイル中の画像データを構成する各画素の画素値を用いて所定の演算を行い、手ブレの有無を検出する手ブレ検出工程と、
前記入力した画像ファイル中の前記手ブレ関係パラメータを所定の判定基準に基づき解析して手ブレ発生の有無を推定し、手ブレが発生していないと推定した場合に、前記手ブレ検出工程による手ブレの検出を省略する手ブレ検出省略判定工程と、
前記手ブレ検出省略工程によって手ブレがないと推定された画像ファイル、または、前記手ブレ検出工程によって手ブレが無いと検出された画像ファイルを前記出力対象の候補として選択する選択工程と
を含む画像選択方法。
An image selection method in which a computer inputs a plurality of image files captured and generated by a camera and selects an image file that is a candidate for output from the plurality of input image files.
The image file includes image data and a camera shake related parameter indicating a shooting situation related to occurrence of camera shake,
A camera shake detection step of performing a predetermined calculation using pixel values of each pixel constituting the image data in the input image file and detecting the presence or absence of camera shake;
When the camera shake-related parameter in the input image file is analyzed based on a predetermined criterion to estimate the presence or absence of camera shake, and when it is estimated that camera shake has not occurred, A camera shake detection omission determination step that omits camera shake detection; and
A selection step of selecting, as the output target candidate, an image file that is estimated to have no camera shake by the camera shake detection omitting step or an image file that has been detected by the camera shake detection step to have no camera shake. Image selection method.
カメラによって撮像されて生成された画像ファイルを複数入力し、該入力した複数の画像ファイルの中から出力対象の候補となる画像ファイルを選択するためのコンピュータプログラムであって、
前記画像ファイルは、画像データと、手ブレの発生に関連する撮影状況を示す手ブレ関係パラメータとを含んでおり、
前記入力した画像ファイル中の画像データを構成する各画素の画素値を用いて所定の演算を行い、手ブレの有無を検出する手ブレ検出機能と、
前記入力した画像ファイル中の前記手ブレ関係パラメータを所定の判定基準に基づき解析して手ブレ発生の有無を推定し、手ブレが発生していないと推定した場合に、前記手ブレ検出部による手ブレの検出を省略する手ブレ検出省略判定機能と、
前記手ブレ検出省略判定機能によって手ブレがないと推定された画像ファイル、または、前記手ブレ検出機能によって手ブレが無いと検出された画像ファイルを前記出力対象の候補として選択する選択機能と
をコンピュータに実現させるためのコンピュータプログラム。
A computer program for inputting a plurality of image files picked up by a camera and selecting a candidate image file to be output from the plurality of input image files,
The image file includes image data and a camera shake related parameter indicating a shooting situation related to occurrence of camera shake,
A camera shake detection function for performing a predetermined calculation using pixel values of each pixel constituting the image data in the input image file and detecting the presence or absence of camera shake;
When the camera shake relation parameter in the input image file is analyzed based on a predetermined determination criterion to estimate the presence or absence of camera shake, and when it is estimated that no camera shake has occurred, Camera shake detection omission judgment function that omits camera shake detection,
A selection function for selecting, as the output target candidate, an image file that is estimated to have no camera shake by the camera shake detection omission determination function or an image file that has been detected by the camera shake detection function to have no camera shake. A computer program for realizing on a computer.
請求項11に記載のコンピュータプログラムを記録したコンピュータ読取可能な記録媒体。   The computer-readable recording medium which recorded the computer program of Claim 11.
JP2005244079A 2005-08-25 2005-08-25 Image selection device and image selection method Pending JP2007057908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005244079A JP2007057908A (en) 2005-08-25 2005-08-25 Image selection device and image selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005244079A JP2007057908A (en) 2005-08-25 2005-08-25 Image selection device and image selection method

Publications (1)

Publication Number Publication Date
JP2007057908A true JP2007057908A (en) 2007-03-08

Family

ID=37921466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005244079A Pending JP2007057908A (en) 2005-08-25 2005-08-25 Image selection device and image selection method

Country Status (1)

Country Link
JP (1) JP2007057908A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009055303A (en) * 2007-08-27 2009-03-12 Seiko Epson Corp Image processing for estimating size of imaging device
JP2009065224A (en) * 2007-09-04 2009-03-26 Seiko Epson Corp Image data analyzing device, image data analisis method, and program
CN112503550A (en) * 2020-11-06 2021-03-16 北京工业大学 Intelligent control method for eliminating black smoke of emptying torch based on image analysis

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009055303A (en) * 2007-08-27 2009-03-12 Seiko Epson Corp Image processing for estimating size of imaging device
JP2009065224A (en) * 2007-09-04 2009-03-26 Seiko Epson Corp Image data analyzing device, image data analisis method, and program
CN112503550A (en) * 2020-11-06 2021-03-16 北京工业大学 Intelligent control method for eliminating black smoke of emptying torch based on image analysis
CN112503550B (en) * 2020-11-06 2022-08-02 北京工业大学 Intelligent control method for eliminating black smoke of emptying torch based on image analysis

Similar Documents

Publication Publication Date Title
JP4345651B2 (en) Image information evaluation method, image information evaluation program, and image information evaluation apparatus
JP4228641B2 (en) Output target image data selection
US20060062487A1 (en) Panorama synthesis processing of a plurality of image data
JP2004350130A (en) Digital camera
JP2006116943A (en) Method and system for printing
JP2008236759A (en) Output image adjustment of image data
JP5020517B2 (en) Printing system, printing apparatus, imaging apparatus, and control method
JP2007072823A (en) Image selection device and image selection method
JP2009033292A (en) Image processing system, imaging apparatus and output unit
JP2007057908A (en) Image selection device and image selection method
JP2005102153A (en) Image processing apparatus, method and program
JP4513764B2 (en) Image determination apparatus and image determination method
JP2006279661A (en) Digital camera
JP5125774B2 (en) camera
JP2004112550A (en) Imaging apparatus, camera, program, and recording medium
JP2002187329A (en) Image printer and printing method
JP2006129210A (en) Camera system, camera body and optical unit
JP4930615B2 (en) Output device and program
JP2006287365A (en) Digital camera
JP4591603B2 (en) Image information evaluation method, image information evaluation program, and image information evaluation apparatus
JP2008160637A (en) Imaging apparatus
JP2004187280A (en) Automatic trimming processing of image data
KR101467869B1 (en) Digital image processing apparatus which display the degree of image blurring and the controlling method of the same
JP2006352609A (en) Image photographing apparatus, image photographing method, control program for image photographing apparatus and recording medium with recorded control program
JP2002290811A (en) Imaging device, method and program for image processing, and information recording medium