JP2007057908A - Image selection device and image selection method - Google Patents
Image selection device and image selection method Download PDFInfo
- 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
Links
Images
Abstract
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.
上述した特許文献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
印刷装置100は、印刷用紙のサイズや印刷枚数の設定など、印刷に関する種々の操作を行うための操作パネル140を備えている。操作パネル140には、印刷を推奨する画像を印刷装置100に自動的に選択させる自動選択ボタン141や、印刷を実行させるための印刷ボタン142等が備えられている。操作パネル140の中央部には、液晶ディスプレイ150が備えられている。液晶ディスプレイ150には、印刷を推奨する画像として印刷装置100によって自動的に選択された画像が表示される。
The
更に、印刷装置100は、ネットワークインタフェース160を備えている。印刷装置100は、このネットワークインタフェース160を介して、インターネットINT上に接続された機種別情報サーバSVに接続されている。機種別情報サーバSVは、例えば、印刷装置100の製造メーカが運営するサイトに設置されている。機種別情報サーバSVには、デジタルカメラの機種名と、そのデジタルカメラが備えるCCD(電荷結合素子)のサイズとを対応付けて記録した機種別情報データベースDBがダウンロード可能に記憶されている。機種別情報データベースDBは、印刷装置100が、印刷を推奨する画像を選択する際に参照される。なお、本実施例では、印刷装置100と機種別情報サーバSVとは、インターネットINTを介して接続されているものとしたが、LANやWANを介して接続されているものとしてもよい。
Further, the
図2は、印刷装置100の内部構成を示す説明図である。図示するように、印刷装置100は、印刷用紙Pに印刷を行う機構として、インクカートリッジ212を搭載したキャリッジ210や、キャリッジ210を主走査方向に駆動するキャリッジモータ220、印刷用紙Pを副走査方向に搬送する紙送りモータ230等を備えている。
FIG. 2 is an explanatory diagram illustrating an internal configuration of the
キャリッジ210は、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)、ライトシアン(Lc)、ライトマゼンタ(Lm)の色を現すインク毎に計6個のインクヘッド211を備えている。キャリッジ210には、これらのインクが収容されたインクカートリッジ212が装着されている。インクカートリッジ212からインクヘッド211に供給されたインクは、図示しないピエゾ素子を駆動することで印刷用紙Pに吐出される。
The
キャリッジ210は、プラテン270の軸方向と並行に設置された摺動軸280に移動自在に保持されている。キャリッジモータ220は、制御回路250からの指令に応じて駆動ベルト260を回転させることで、プラテン270の軸方向と平行に、すなわち、主走査方向にキャリッジ210を往復運動させる。
The
紙送りモータ230は、制御回路250からの指令に応じてプラテン270を回転させることで、プラテン270の軸方向と垂直に印刷用紙Pを搬送する。つまり、紙送りモータ230は、キャリッジ210を相対的に副走査方向に移動させることができる。
The
印刷装置100は、上述したインクヘッド211やキャリッジモータ220、紙送りモータ230の動作を制御するための制御回路250を備えている。制御回路250には、図1に示したスキャナ110やメモリカードスロット120、USBインタフェース130、操作パネル140、液晶ディスプレイ150、ネットワークインタフェース160が接続されている。
The
制御回路250は、CPU251とROM252とメモリ253とEEPROM254とによって構成されている。ROM252には、印刷装置100の動作を制御するための制御プログラムが記憶されている。CPU251は、かかる制御プログラムをメモリ253に展開して実行することで、印刷を推奨する画像を自動的に選択する処理や、かかる処理によって選択された画像の印刷制御を行う。
The
EEPROM254には、CPU251がネットワークインタフェース160を介して機種別情報サーバSVからダウンロードした機種別情報データベースDBが記憶される。
The
メモリ253は、制御プログラムの実行の際のワークエリアとして用いられる他、操作パネル140によって設定された印刷用紙のサイズや印刷枚数などの情報が一時的に記憶される。
The
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
画像入力部300は、メモリカードスロット120に挿入されたメモリカードMCや、USBインタフェース130を介して接続されたデジタルカメラ等から画像ファイルを入力する機能ブロックである。入力した画像ファイルは、後述する印刷推奨画像選択部330に受け渡す。
The
図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
図中に示したパラメータのうち、三脚の使用の有無は、例えば、デジタルカメラの三脚の取り付け部にセンサやスイッチが備えられており、デジタルカメラが、かかるセンサやスイッチによって三脚が取り付けられたことを検出した場合に、付加情報に三脚が使用された旨を記録するものとすることができる。 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
印刷推奨画像選択部330は、画像入力部300によって入力した画像ファイルに対して、手ブレの有無やピントずれの有無、露出が不正であるか否かを判定し、その画像ファイルを、印刷を推奨する画像ファイルの候補として選択するか否かを決定する。印刷推奨画像選択部330は、図示するように、機種別情報更新部335と、手ブレ検出省略判定部331と、手ブレ検出部332と、ピントずれ検出部333と、露出不正検出部334とを備えている。
The recommended print
機種別情報更新部335は、FTPプロトコルもしくはHTTPプロトコルを用いて、機種別情報サーバSVから機種別情報データベースDBをダウンロードし、EEPROM254に記憶された機種別情報データベースDBの更新を行う。
The model-specific
図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
手ブレ検出部332は、画像データを構成する各画素の画素値(輝度値)を所定のオペレータによって一次微分してエッジを抽出し、エッジの方向およびその方向へのエッジの幅を算出する。そして、その方向へのエッジの幅が所定の閾値以上であれば手ブレがあると検出する。この閾値は、印刷用紙サイズ取得部310によって取得した用紙のサイズに応じて調整する。すなわち、用紙サイズが大きいほど、閾値を大きい値とし、用紙サイズが小さいほど、閾値を小さい値とする。一次微分オペレータとしては、PrewittオペレータやSobelオペレータなどの周知のオペレータを用いることができる。一次微分オペレータを用いた手ブレの検出技術については、例えば、特開2004−112596号公報にその詳細が記載されている。
The camera
ピントずれ検出部333は画像データを構成する各画素の輝度値を所定のオペレータによって一次微分してエッジを抽出し、全方向へのエッジの幅を求める。そして、その幅が所定の閾値以上であればピントずれが発生していると検出する。この閾値は、印刷用紙サイズ取得部310によって取得した用紙のサイズに応じて調整する。すなわち、用紙サイズが大きいほど、閾値を大きい値とし、用紙サイズが小さいほど、閾値を小さい値とする。一次微分オペレータとしては、PrewittオペレータやSobelオペレータなどの周知のオペレータを用いることができる。すなわち、ピントずれの検出は、上述した手ブレの検出とほぼ同様の手法で行うことができる。
The focus
露出不正検出部334は、画像データを構成する各画素の輝度値が一定値(例えば、240)以上、あるいは、一定値(例えば、16)以下となる領域を画像データから抽出し、その領域の画像全体の面積に占める割合が所定の閾値以上(例えば、40%)であれば、その画像データの露出が不正であると検出する。こうすることで、白飛びや黒つぶれの有無を検出することができる。
The exposure
印刷推奨画像選択部330は、上述した手ブレ検出部332やピントずれ検出部333、露出不正検出部334によって、画像に手ブレやピントずれ、露出不正が生じていないと判断した場合には、画像入力部300から入力した画像ファイルを、印刷を推奨する画像として選択する。
When the recommended print
印刷推奨画像表示部340は、印刷推奨画像選択部330によって選択された画像ファイルを、印刷を推奨する画像の候補として液晶ディスプレイ150に表示する。ユーザは、液晶ディスプレイ150に表示された画像を確認して、操作パネル140の印刷ボタンを押すことで、選択された画像の印刷を実行することができる。
The recommended print
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
図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
次に、CPU251は、印刷用紙サイズ取得部310を用いてユーザによって設定された印刷用紙のサイズをメモリ253から取得する(ステップS140)。
Next, the
説明を図7に移す。印刷用紙のサイズを取得後、CPU251は、メモリカードMCから画像ファイルを1つ入力する(ステップS150)。
The description is moved to FIG. After acquiring the size of the printing paper, the
画像ファイルを入力すると、CPU251は、入力した画像ファイルに付加情報(図4参照)が含まれているか否かを判定する(ステップS160)。判定の結果、付加情報が含まれていれば(ステップS160:Yes)、手ブレ検出省略判定部331を用いて、手ブレの検出を省略可能であるか否かを判定する手ブレ検出省略判定処理を実行する(ステップS170)。この手ブレ検出省略判定処理の詳細な説明は後述する。
When the image file is input, the
CPU251は、手ブレ検出省略判定処理の結果、手ブレの検出が省略できないと判断した場合(ステップS180:No)、または、上記ステップS160において、画像ファイルに付加情報が含まれていないと判定した場合には(ステップS160:No)、手ブレ検出部332を用いて、手ブレが発生しているか否かを検出する(ステップS190)。手ブレ検出部332による手ブレの検出処理では、上述したように、画像データを構成する各画素の輝度値を一次微分してエッジを抽出し、エッジの方向およびその方向へのエッジの幅を算出する。そして、その方向へのエッジの幅が所定の閾値以上であれば手ブレがあると検出する。
As a result of the camera shake detection omission determination process, the
手ブレ検出処理の結果、手ブレを検出した場合には(ステップS190:Yes)、CPU251は、入力した画像ファイルは印刷に適さない画像であると判断して印刷を推奨する画像としては選択を行わない。よって、以降で説明するピントずれの検出処理や露出不正の検出処理をスキップして、全画像ファイルの入力が完了したか否かの判断を行い(ステップS230)、完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。
If camera shake is detected as a result of the camera shake detection process (step S190: Yes), the
手ブレ検出処理の結果、手ブレが検出されなかった場合(ステップ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
ピントずれ検出処理の結果、ピントずれが検出されなかった場合には(ステップ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
露出不正の検出処理の結果、露出が不正であると検出されなかった場合(ステップ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
上記ステップS220による印刷推奨画像の選択後、CPU251は、全画像ファイルの入力が完了したか否かの判断を行う(ステップS230)。全画像ファイルの入力が完了していなければ、上記ステップS150へ処理を戻し、次の画像ファイルを入力して、かかる画像ファイルが印刷に適しているか否かの判断を継続する。全画像ファイルの入力が完了していた場合には、一連の印刷推奨画像選択処理を終了する。
After selecting the recommended print image in step S220, the
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
上記ステップ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
上記ステップ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
上記ステップ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
まず、CPU251は、入力した画像ファイルに手ブレが生じていると仮定した場合における、その手ブレの仮想距離L1(mm)(図9参照)を算出する(ステップS340)。具体的には、まず、手ブレの平均速度B(mm/秒)をROM252から取得するとともに、付加情報から露光時間S(秒)を取得し、これらの値を乗ずることによって仮想距離L1を算出する。つまり、下記式(1)によって手ブレの仮想距離L1を求めることができる。なお、手ブレの平均速度Bは、予め実験などを行って統計的に求められた値である。
First, the
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
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
E.効果:
以上で説明した本実施例の印刷装置100によれば、(A)三脚の使用の有無、(B)セルフタイマの使用の有無、(C)露光時間の長さ、(D)手ブレの発生しやすい状況で撮影したか否か、という種々の判定基準に基づき、画像ファイル中の付加情報を使用して、手ブレ検出を省略可能であるかを容易に判定することができる。よって、これらの判定基準によって手ブレの検出処理が省略可能であると判定された場合には、画像データの全画素について一次微分をおこなってエッジの有無を算出する複雑な演算処理を省略することができることになり、印刷を推奨する画像の選択を迅速に行うことが可能になる。
E. effect:
According to the
また、本実施例では、印刷装置100が保持する機種別情報データベースDBを、インターネットを経由して最新の機種別情報データベースDBに更新することができる。そのため、最新のデジタルカメラで撮影された画像についても、手ブレの発生しやすい状況で撮影したか否かを適切に判定することができる。
In the present embodiment, the model-specific information database DB held by the
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
(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
(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
(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...印刷装置
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
252 ... ROM
253 ...
260 ...
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.
前記手ブレ関係パラメータは、前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記カメラが固定されて前記画像データが撮像された旨を表すパラメータを検出した場合に、手ブレが発生していないと推定する
画像選択装置。 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.
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時における三脚の使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、三脚が使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生していないと推定する
画像選択装置。 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.
前記カメラが固定されて前記画像データが撮像されたか否かを表すパラメータとは、前記画像データの撮影時におけるセルフタイマの使用の有無を表すパラメータであり、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、セルフタイマが使用されている旨を表すパラメータを検出した場合に、前記カメラが固定されて前記画像データが撮像されたと判断し、手ブレが発生してないと推定する
画像選択装置。 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.
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、露光時間が所定値以下であることを検出した場合に、手ブレが発生していないと推定する
画像選択装置。 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.
前記手ブレ関係パラメータには、前記画像データの撮影時における露光時間を表すパラメータが含まれており、
前記手ブレ検出省略判定部は、前記手ブレ関係パラメータを解析して、前記露光時間と予め定められた手ブレの平均速度とに基づき前記画像データに手ブレが生じていると仮定した場合の手ブレの仮想距離を求め、該仮想距離が所定の閾値以下となる場合に、手ブレが発生していないと推定する
画像選択装置。 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.
更に、前記カメラの種別と該カメラが備える撮像素子のサイズとを対応付けて記録した機種別情報データベースを記憶する記憶部と、
前記画像ファイルを出力する印刷用紙のサイズを取得する印刷用紙サイズ取得部とを備え、
前記手ブレ関係パラメータには、前記画像データを撮影したカメラの種別を表す情報が含まれており、
前記手ブレ検出省略判定部は、前記画像ファイル中の前記カメラの種別を表すパラメータから前記記憶部を参照して該カメラが備える撮像素子のサイズを取得し、該撮像素子のサイズと、前記印刷用紙のサイズと、前記印刷用紙上で手ブレが目立つ距離として予め定められた距離と、に基づき前記撮影素子上において手ブレの目立つ距離を求め、該距離を前記所定の閾値として適用する
画像選択装置。 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.
更に、前記機種別情報データベースを、ネットワークを介して接続された所定のサーバ、当該画像選択装置に挿入されたメモリカード、当該画像選択装置に接続されたコンピュータ、のいずれかから取得するデータベース取得部を備える
画像選択装置。 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:
更に、前記選択部によって出力対象の候補として選択された画像ファイルを印刷する印刷機構を備える
画像選択装置。 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.
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)
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 |
-
2005
- 2005-08-25 JP JP2005244079A patent/JP2007057908A/en active Pending
Cited By (4)
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 |