JP4208796B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4208796B2
JP4208796B2 JP2004247389A JP2004247389A JP4208796B2 JP 4208796 B2 JP4208796 B2 JP 4208796B2 JP 2004247389 A JP2004247389 A JP 2004247389A JP 2004247389 A JP2004247389 A JP 2004247389A JP 4208796 B2 JP4208796 B2 JP 4208796B2
Authority
JP
Japan
Prior art keywords
image
value
contrast
contrast value
captured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004247389A
Other languages
Japanese (ja)
Other versions
JP2006067249A (en
Inventor
泰宏 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2004247389A priority Critical patent/JP4208796B2/en
Publication of JP2006067249A publication Critical patent/JP2006067249A/en
Application granted granted Critical
Publication of JP4208796B2 publication Critical patent/JP4208796B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、デジタルスチルカメラ、デジタルビデオカメラなどの撮像装置に関し、より具体的には、撮像された画像がブレのない成功画像であるか否かを判定することができる撮像装置に関する。特に、連写撮影のように、一度の撮影で撮像された複数の画像の中から成功画像が自動的に抽出される撮像装置に関する。   The present invention relates to an imaging apparatus such as a digital still camera and a digital video camera, and more specifically to an imaging apparatus that can determine whether or not a captured image is a successful image without blurring. In particular, the present invention relates to an imaging apparatus in which a success image is automatically extracted from a plurality of images captured in one shooting, such as continuous shooting.

近年、CCDセンサ、CMOSセンサなどの撮像素子を搭載したデジタルスチルカメラ、デジタルビデオカメラなどのデジタルカメラが普及している。デジタルカメラは、撮像素子によって光電変換されたアナログ形式の電気信号をAD変換器によってデジタル形式に変換し、変換した各画素の電気信号をデジタル画像として記憶媒体(半導体メモリ、磁気記憶メモリなど)に記憶する機能を有する。近年では、撮像素子の性能、並びに、記憶媒体の記憶容量及びアクセス速度が向上し、いわゆる銀塩カメラと同様、連写撮影及び動画撮影が可能なデジタルカメラが実用化されている。   In recent years, digital cameras such as digital still cameras and digital video cameras equipped with an image sensor such as a CCD sensor or a CMOS sensor have become widespread. A digital camera converts an analog electrical signal photoelectrically converted by an image sensor into a digital format by an AD converter, and converts the converted electrical signal of each pixel into a storage medium (semiconductor memory, magnetic storage memory, etc.) as a digital image. It has a function to memorize. In recent years, the performance of an image sensor, the storage capacity of a storage medium, and the access speed have been improved, and a digital camera capable of continuous shooting and moving image shooting has been put to practical use in the same way as a so-called silver salt camera.

ところで、曇天下での撮像又は室内での撮像など、十分な光量が得られない状況下においては、銀塩カメラと同様、一般的にアイリス(絞り)を開放し、かつシャッタ速度を下げることによって光量(露光量)を確保する。しかしながら、シャッタ速度を下げた場合、手ブレによる影響を受けやすく、十分な撮影技量のない利用者が撮像すると、撮像した画像の輪郭がぼけてしまい、結果として撮像に失敗してしまうという虞があった。   By the way, in situations where a sufficient amount of light cannot be obtained, such as when shooting under cloudy sky or when shooting indoors, the iris (aperture) is generally opened and the shutter speed is reduced, as with a silver halide camera. Ensure the amount of light (exposure). However, when the shutter speed is lowered, it is easily affected by camera shake, and if a user who does not have sufficient shooting skill captures an image, the contour of the captured image may be blurred, and as a result, imaging may fail. there were.

三脚のような固定器具をデジタルカメラに装着すれば、手ブレの発生を防止することができるが、デジタルカメラの利点の1つは手軽に撮像できることにあるため、固定器具を装着することに対して、利用者の強い抵抗感がある。また、デジタルカメラを予め固定器具に装着する必要があるため、咄嗟の撮像には不向きである。そこで、撮像した画像がブレのない画像(以下、成功画像という)であるか否かを検知することができるデジタルカメラが提案されている(例えば、特許文献1参照。)。   Attaching a fixing device such as a tripod to a digital camera can prevent camera shake, but one of the advantages of a digital camera is that it can be easily captured. Therefore, there is a strong resistance of users. Moreover, since it is necessary to attach a digital camera to a fixture in advance, it is not suitable for picking up a bag. In view of this, a digital camera that can detect whether or not a captured image is an image without blurring (hereinafter referred to as a successful image) has been proposed (see, for example, Patent Document 1).

特許文献1に記載のデジタルカメラは、撮像された画像について画像周波数を解析して高周波成分を抽出し、抽出した高周波成分に基づいて、画像が成功画像であるか否かを判定する。
特開2004−120256号公報
The digital camera described in Patent Document 1 analyzes an image frequency of a captured image to extract a high frequency component, and determines whether the image is a successful image based on the extracted high frequency component.
JP 2004-120256 A

しかしながら、特許文献1に記載のデジタルカメラは、処理能力が限定されるため、多大な処理量を有する高精細画像を連写撮影することは困難であった。詳述すれば、高精細画像の撮像が可能な撮像素子を搭載したデジタルカメラは、垂直同期期間内に全ての画素に係る信号を転送することができないことから、複数の期間に分割して転送するようにしてある。したがって、撮像した画像が成功画像であるか否かを判定するためには、先ず、分割して転送された信号から構成した画像について画像周波数を解析して高周波成分を抽出し、抽出した高周波成分に基づいて、画像が成功画像であるかか否かを判定しなければならない。このように、撮像素子が高画素化されるに伴って処理量が増大してしまうという問題があった。   However, since the processing capability of the digital camera described in Patent Document 1 is limited, it is difficult to continuously shoot high-definition images having a large amount of processing. More specifically, a digital camera equipped with an image sensor that can capture high-definition images cannot transfer signals related to all pixels within the vertical synchronization period. I have to do it. Therefore, in order to determine whether or not the captured image is a successful image, first, an image frequency is analyzed for an image composed of divided and transferred signals, and a high frequency component is extracted, and the extracted high frequency component is extracted. On the basis of whether the image is a successful image or not. As described above, there is a problem that the processing amount increases as the number of pixels of the image sensor increases.

また、専用の演算ハードウェアを搭載した場合は、まさしく演算ハードウェアが必要であり、構成の大嵩化及び高コスト化が避けられないという問題があった。   In addition, when dedicated arithmetic hardware is installed, there is a problem that the arithmetic hardware is required and the configuration is inevitably bulky and expensive.

本発明は斯かる事情に鑑みてなされたものであり、画像を撮像する場合に、撮像する画像より画像サイズが小さい小画像を撮像し、撮像された小画像の鮮鋭度に係る情報を検出し、検出された鮮鋭度に係る情報に基づいて画像の適否を判定する構成とすることにより、処理負担が軽減され、また、従来より小型及び低コストの構成であっても、画像の適否を判定でき、画像が適であると判定された場合に、画像を記憶媒体に記憶することができる撮像装置の提供を目的とする。   The present invention has been made in view of such circumstances. When an image is captured, a small image having a smaller image size than the captured image is captured, and information relating to the sharpness of the captured small image is detected. By adopting a configuration for determining the suitability of an image based on information relating to the detected sharpness, the processing burden is reduced, and the suitability of an image is judged even with a smaller and lower cost configuration than before. An object of the present invention is to provide an imaging apparatus capable of storing an image in a storage medium when it is determined that the image is suitable.

また本発明は、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像を撮像し、撮像された各小画像のコントラスト値(第1コントラスト値及び第2コントラスト値)を検出し、検出したコントラスト値に基づいて画像の適否を判定する構成とすることにより、処理負担が軽減され、また、従来より小型及び低コストの構成であっても、画像の適否を判定でき、画像が適であると判定された場合に、画像を記憶媒体に記憶することができる撮像装置の提供を目的とする。   Further, the present invention captures a small image having a smaller image size than the image to be captured before and after the image is captured, and detects the contrast values (first contrast value and second contrast value) of each captured small image. By adopting a configuration for determining the suitability of an image based on the detected contrast value, the processing burden is reduced, and even if the configuration is smaller and less expensive than the conventional configuration, the suitability of the image can be determined. An object of the present invention is to provide an imaging apparatus capable of storing an image in a storage medium when it is determined to be appropriate.

また本発明は、画像の撮像前に撮像された小画像の第1コントラスト値と画像の撮像後に撮像された小画像の第2コントラスト値との差分値の絶対値が所定値(第1所定値)より大きい場合に、画像が否であると判定する構成とすることにより、画像の撮像の前後でコントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる撮像装置の提供を目的とする。   Further, according to the present invention, the absolute value of the difference value between the first contrast value of the small image captured before capturing the image and the second contrast value of the small image captured after capturing the image is a predetermined value (first predetermined value). If the contrast value greatly changes before and after the image is taken, it can be determined that the image has become a failed image due to blurring during that time. Accordingly, an object of the present invention is to provide an imaging apparatus capable of determining the suitability of an image from information other than information related to the image to be captured.

また本発明は、一連の撮像を受け付けた際に、上述した小画像とは異なる小画像を撮像し、撮像された小画像のコントラスト値(第3コントラスト値)を検出し、第3コントラスト値と第1コントラスト値との差分値、及び/又は第3コントラスト値と第2コントラスト値との差分値の絶対値が所定値(第2所定値)より大きい場合に、画像が否であると判定する構成とすることにより、一連の撮像を受け付けた際の第3コントラスト値が、画像の撮像前及び/又は撮像後におけるコントラスト値(第1コントラスト値及び/又は第2コントラスト値)と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行える撮像装置の提供を目的とする。   In addition, the present invention captures a small image different from the small image described above when receiving a series of imaging, detects a contrast value (third contrast value) of the captured small image, When the difference value between the first contrast value and / or the absolute value of the difference value between the third contrast value and the second contrast value is greater than a predetermined value (second predetermined value), it is determined that the image is negative. By adopting the configuration, when the third contrast value at the time of receiving a series of imaging is greatly different from the contrast value before imaging and / or after imaging (first contrast value and / or second contrast value). Since it can be determined that the image is different from the image when the series of imaging is accepted even if there is no blurring in the image, the series of imaging was accepted. And to provide the imaging apparatus capable of performing determination is not the image.

また本発明は、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像を撮像し、撮像された各小画像の複数の領域におけるコントラスト値(第1コントラスト値及び第2コントラスト値)を検出し、検出した各小画像の複数の領域におけるコントラスト値に基づいて画像の適否を判定する構成とすることにより、ブレが生じたとしても肖像写真のように画像全体のコントラスト値が変化しない場合であっても、画像の適否を判定することができ、判定精度を向上することができる撮像装置の提供を目的とする。   Further, the present invention captures a small image having a smaller image size than the image to be captured before and after the image is captured, and contrast values (first contrast value and second contrast value) in a plurality of regions of each captured small image. ) And the suitability of the image is determined based on the contrast values in a plurality of areas of each detected small image, so that even if blurring occurs, the contrast value of the entire image changes like a portrait photograph It is an object of the present invention to provide an imaging apparatus that can determine the suitability of an image even when not, and can improve the determination accuracy.

また本発明は、第1コントラスト値の総和である第1総コントラスト値と、第2コントラスト値の総和である第2総コントラスト値との差分値の絶対値が所定値(第1所定値)より大きい場合に、画像が否であると判定する構成とすることにより、画像の撮像の前後で総コントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる撮像装置の提供を目的とする。   In the present invention, the absolute value of the difference value between the first total contrast value that is the sum of the first contrast values and the second total contrast value that is the sum of the second contrast values is greater than a predetermined value (first predetermined value). If the total contrast value changes greatly before and after the image is captured, it can be determined that the image has become a failed image due to blurring or the like. An object of the present invention is to provide an imaging apparatus capable of determining the suitability of an image from information other than information related to the image to be captured.

また本発明は、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より長い場合に、画像が否であると判定する構成とすることにより、被写体の撮像フレーム内における位置が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる撮像装置の提供を目的とする。   The present invention also provides an image that is rejected when the distance between the region having the maximum contrast value of the first contrast values and the region having the maximum contrast value of the second contrast values is longer than a predetermined length. If the position of the subject in the imaging frame has changed significantly, it can be determined that the image has become a failed image due to blurring during that time, so information other than information related to the image to be captured An object of the present invention is to provide an imaging device that can determine whether or not an image is appropriate.

また本発明は、第1コントラスト値の総和である第1総コントラスト値と、第2コントラスト値の総和である第2総コントラスト値との差分値の絶対値が第1所定値より小さく、かつ、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より短い場合に、画像が適であると判定する構成とすることにより、品位の高い画像のみが適と判定される撮像装置の提供を目的とする。   In the present invention, the absolute value of the difference value between the first total contrast value that is the sum of the first contrast values and the second total contrast value that is the sum of the second contrast values is smaller than the first predetermined value, and It is determined that the image is suitable when the separation length between the region having the maximum contrast value of the first contrast values and the region having the maximum contrast value of the second contrast values is shorter than a predetermined length. It is an object of the present invention to provide an imaging apparatus in which only a high-quality image is determined to be appropriate.

また本発明は、一連の撮像を受け付けた際に、上述した小画像とは異なる小画像を撮像し、撮像された小画像の複数の領域におけるコントラスト値(第3コントラスト値)を検出し、第3コントラスト値の総和である第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値の絶対値が所定値(第2所定値)より大きい場合に、画像が否であると判定する構成とすることにより、一連の撮像を受け付けた際の第3総コントラスト値が、画像の撮像前及び/又は撮像後における総コントラスト値(第1総コントラスト値及び/又は第2総コントラスト値)と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行える撮像装置の提供を目的とする。   Further, the present invention captures a small image different from the above-described small image when receiving a series of imaging, detects a contrast value (third contrast value) in a plurality of regions of the captured small image, The absolute value of the difference value between the third total contrast value and the first total contrast value, which is the sum of the three contrast values, and / or the difference value between the third total contrast value and the second total contrast value is a predetermined value (second If the image is determined to be negative when the image is larger than the predetermined value, the third total contrast value when the series of imaging is accepted is the total contrast value before and / or after the imaging of the image. If it is significantly different from (the first total contrast value and / or the second total contrast value), even if there is no blurring in the image, it differs from the image when a series of imaging is accepted Since it can be determined that that, for the purpose of providing the image pickup apparatus capable of performing determination is not the image when the captured image has accepted the set of imaging.

また本発明は、第1総コントラスト値と第2総コントラスト値との差分値の絶対値が第1所定値より小さく、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より短く、かつ、第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値の絶対値が第2所定値より小さい場合に、画像が適であると判定する構成とすることにより、さらに品位の高い画像のみが適と判定される撮像装置の提供を目的とする。   According to the present invention, an absolute value of a difference value between the first total contrast value and the second total contrast value is smaller than the first predetermined value, and the region having the maximum contrast value among the first contrast values, the second contrast The separation length from the region having the maximum contrast value among the values is shorter than a predetermined length, and the difference value between the third total contrast value and the first total contrast value, and / or the third total contrast value and the second Providing an imaging device in which only an image with higher quality is determined to be appropriate by determining that the image is appropriate when the absolute value of the difference value from the total contrast value is smaller than the second predetermined value With the goal.

また本発明は、被写体を連続して撮像し、複数の画像の撮像を行う場合には、撮像された複数の画像のうちから、適と判定された画像を抽出する構成とすることにより、適と判定された画像が自動的に記憶媒体に記憶されることになり、利用者が、画像を選択して記憶媒体に記憶させるような操作が不要となる撮像装置の提供を目的とする。   In the present invention, when a subject is continuously captured and a plurality of images are captured, an image determined to be appropriate is extracted from the captured images. It is an object of the present invention to provide an imaging apparatus in which an image determined to be automatically stored in a storage medium and a user need not perform an operation of selecting an image and storing it in the storage medium.

また本発明は、画像の成功度合いに基づいて、画像の順位付けを行って表示する構成とすることにより、利用者が撮像された画像のうちのいずれの画像が最も成功度合いが高いかを認識することができる撮像装置の提供を目的とする。   In addition, the present invention recognizes which image has the highest success level from among the images captured by the user by arranging and displaying the images based on the success level of the images. An object of the present invention is to provide an imaging device capable of performing the above.

また本発明は、判定結果を利用者に報知する構成とすることにより、利用者は、撮影が成功したか否かを認識することができ、撮影が成功しなかった場合には、利用者に撮影が成功するまで再撮影を促すことができる撮像装置の提供を目的とする。   Further, the present invention is configured to notify the user of the determination result, so that the user can recognize whether or not the shooting is successful. An object of the present invention is to provide an imaging apparatus that can prompt re-imaging until the imaging is successful.

また本発明は、所定数の適と判定された画像が抽出された場合に、所定数の画像が撮像されたことを利用者に報知する構成とすることにより、利用者が所定数の画像の撮影に成功したか否かを認識することができ、利用者に撮影が成功するまで再撮影を促すことができる撮像装置の提供を目的とする。   In addition, the present invention is configured to notify the user that a predetermined number of images have been captured when a predetermined number of images determined to be appropriate are extracted, so that the user can record the predetermined number of images. It is an object of the present invention to provide an imaging apparatus that can recognize whether or not shooting is successful and can prompt a user to re-shoot until shooting is successful.

また本発明は、画像が否であると判定した場合、画像を記憶媒体に記憶しない構成とすることにより、否と判定された画像が記憶媒体に記憶されることによって記憶媒体の記憶容量が減少してしまう虞は全くなく、記憶媒体への記憶を効率的に行うことができる撮像装置の提供を目的とする。   Further, according to the present invention, when it is determined that the image is NO, the storage capacity of the storage medium is reduced by storing the image determined to be NO in the storage medium by not storing the image in the storage medium. Therefore, an object of the present invention is to provide an imaging apparatus capable of efficiently storing data in a storage medium.

本発明に係る撮像装置は、画像と、該画像より画像サイズが小さい小画像とを撮像する撮像素子を備え、該撮像素子にて撮像された所定の画像を記憶媒体に記憶する撮像装置であって、画像の撮像前及び撮像後に小画像の撮像を指示する手段と、画像の撮像前に撮像された小画像の第1コントラスト値を検出する第1コントラスト検出手段と、画像の撮像後に撮像された小画像の第2コントラスト値を検出する第2コントラスト検出手段と、前記第1コントラスト値及び前記第2コントラスト値に基づいて前記画像の適否を判定する判定手段とを備え、該判定手段にて前記画像が適であると判定された場合、前記画像を前記記憶媒体に記憶するようにしてあることを特徴とする。   An imaging apparatus according to the present invention is an imaging apparatus that includes an imaging device that captures an image and a small image having a smaller image size than the image, and that stores a predetermined image captured by the imaging device in a storage medium. A means for instructing to take a small image before and after the image is taken; a first contrast detecting means for detecting a first contrast value of the small image taken before the image is taken; A second contrast detecting means for detecting a second contrast value of the small image, and a determining means for determining the suitability of the image based on the first contrast value and the second contrast value. When it is determined that the image is suitable, the image is stored in the storage medium.

本発明にあっては、先ず、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像の撮像を行って、撮像された各小画像のコントラスト値(第1コントラスト値及び第2コントラスト値)を検出する。そして、検出されたコントラスト値に基づいて画像の適否を判定し、画像が適であると判定された場合、画像を記憶媒体に記憶する。画像の撮像前及び撮像後に撮像された小画像のコントラスト値に基づいて、つまり、撮像する画像に関する情報以外の情報から画像の適否を判定することができる。   In the present invention, first, before and after the image is captured, a small image having a smaller image size than the image to be captured is captured, and the contrast values (first contrast value and second contrast value) of each captured small image are captured. Contrast value) is detected. Then, the suitability of the image is determined based on the detected contrast value. If it is determined that the image is suitable, the image is stored in the storage medium. Appropriateness of the image can be determined based on the contrast value of the small image captured before and after capturing the image, that is, from information other than information regarding the image to be captured.

本発明に係る撮像装置は、前記第1コントラスト値と前記第2コントラスト値との差分値を算出する第1算出手段を備え、前記判定手段は、前記第1算出手段にて算出された差分値の絶対値が第1所定値より大きい場合に、前記画像が否であると判定するようにしてあることを特徴とする。   The imaging apparatus according to the present invention includes first calculation means for calculating a difference value between the first contrast value and the second contrast value, and the determination means is the difference value calculated by the first calculation means. When the absolute value of is larger than a first predetermined value, it is determined that the image is negative.

本発明にあっては、先ず、画像の撮像前の小画像に係る第1コントラスト値と画像の撮像後の小画像に係る第2コントラスト値との差分値を算出する。そして、算出された差分値の絶対値が第1所定値より大きい場合に、画像が否(失敗画像)であると判定する。画像の撮像の前後でコントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定することができる。   In the present invention, first, a difference value between the first contrast value related to the small image before image capturing and the second contrast value related to the small image after image capturing is calculated. Then, when the absolute value of the calculated difference value is larger than the first predetermined value, it is determined that the image is no (failed image). If the contrast value greatly changes before and after the image is captured, it can be determined that the image has become a failed image due to blurring or the like in the meantime. Therefore, the suitability of the image can be determined from information other than information related to the image to be captured. .

本発明に係る撮像装置は、一連の撮像を受け付ける受付手段と、該受付手段によって一連の撮像を受け付けた際に、前記小画像とは異なる小画像の撮像を指示する手段と、前記小画像の第3コントラスト値を検出する第3コントラスト検出手段と、前記第3コントラスト値と前記第1コントラスト値との差分値、及び/又は前記第3コントラスト値と前記第2コントラスト値との差分値を算出する第2算出手段とを備え、前記判定手段は、前記第2算出手段にて算出された差分値に基づいて前記画像の適否をさらに判定するようにしてあり、前記差分値の絶対値が第2所定値より大きい場合に、前記画像が否であると判定するようにしてあることを特徴とする。   An imaging apparatus according to the present invention includes: a receiving unit that receives a series of imaging; a unit that instructs to capture a small image that is different from the small image when the receiving unit receives a series of imaging; Third contrast detection means for detecting a third contrast value, a difference value between the third contrast value and the first contrast value, and / or a difference value between the third contrast value and the second contrast value are calculated. Second determination means, wherein the determination means further determines the suitability of the image based on the difference value calculated by the second calculation means, and the absolute value of the difference value is a first value. 2 If the image is larger than a predetermined value, it is determined that the image is NO.

本発明にあっては、先ず、撮影ボタンのような受付手段にて一連の撮像を受け付けた際に、撮像する画像より画像サイズが小さい小画像(基準画像)の撮像を行って、撮像された基準画像の第3コントラスト値を検出する。次いで、検出した第3コントラスト値と画像の撮像前の小画像に係る第1コントラスト値との差分値、及び/又は、検出した第3コントラスト値と画像の撮像後の小画像に係る第2コントラスト値との差分値を算出する。そして、算出された差分値の絶対値が第2所定値より大きい場合に、画像が成功画像ではないと判定する。第3コントラスト値が、画像の撮像前及び/又は撮像後におけるコントラスト値と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行うことができる。   In the present invention, first, when a series of imaging is received by an accepting unit such as a shooting button, a small image (reference image) having a smaller image size than the image to be captured is captured and captured. A third contrast value of the reference image is detected. Next, the difference value between the detected third contrast value and the first contrast value related to the small image before the image capture and / or the second contrast related to the detected third contrast value and the small image after the image capture. The difference value from the value is calculated. Then, when the absolute value of the calculated difference value is larger than the second predetermined value, it is determined that the image is not a successful image. If the third contrast value is significantly different from the contrast value before and / or after the image is captured, even if no blurring occurs in the image, the third contrast value is different from the image when the series of images is accepted. Therefore, it can be determined that the captured image is not an image when a series of imaging is accepted.

本発明に係る撮像装置は、画像と、該画像より画像サイズが小さい小画像とを撮像する撮像素子を備え、該撮像素子にて撮像された所定の画像を記憶媒体に記憶する撮像装置であって、画像の撮像前及び撮像後に小画像の撮像を指示する手段と、画像の撮像前に撮像された小画像の複数の領域における第1コントラスト値を検出する第1コントラスト検出手段と、画像の撮像後に撮像された小画像の複数の領域における第2コントラスト値を検出する第2コントラスト検出手段と、前記第1コントラスト値及び前記第2コントラスト値に基づいて前記画像の適否を判定する判定手段とを備え、該判定手段にて前記画像が適であると判定された場合、前記画像を前記記憶媒体に記憶するようにしてあることを特徴とする。   An imaging apparatus according to the present invention is an imaging apparatus that includes an imaging device that captures an image and a small image having a smaller image size than the image, and that stores a predetermined image captured by the imaging device in a storage medium. Means for instructing small image capturing before and after image capturing, first contrast detection means for detecting first contrast values in a plurality of regions of the small image captured before image capturing, Second contrast detection means for detecting a second contrast value in a plurality of regions of a small image taken after imaging, and determination means for judging suitability of the image based on the first contrast value and the second contrast value; The image is stored in the storage medium when the determination unit determines that the image is appropriate.

本発明にあっては、先ず、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像の撮像を行って、撮像された各小画像の複数の領域におけるコントラスト値(第1コントラスト値及び第2コントラスト値)を検出する。そして、検出されたコントラスト値に基づいて画像の適否を判定し、画像が適であると判定された場合、画像を記憶媒体に記憶する。ブレが生じた場合であっても、肖像写真のように画像全体のコントラスト値が変化しない虞がある。そこで、小画像の複数の領域におけるコントラスト値を判定に用いる。ブレが生じた場合、各領域におけるコントラスト値が変化することになるので、画像が成功画像であるか否かを判定することができ、判定精度を向上することができる。   In the present invention, first, a small image having a smaller image size than the image to be captured is captured before and after the image is captured, and the contrast values (first contrast) in a plurality of regions of each captured small image are captured. Value and second contrast value). Then, the suitability of the image is determined based on the detected contrast value. If it is determined that the image is suitable, the image is stored in the storage medium. Even when blurring occurs, there is a possibility that the contrast value of the entire image does not change like a portrait photograph. Therefore, the contrast values in a plurality of regions of the small image are used for determination. When blurring occurs, the contrast value in each region changes, so it can be determined whether or not the image is a successful image, and the determination accuracy can be improved.

本発明に係る撮像装置は、前記第1コントラスト値の総和である第1総コントラスト値を算出する手段と、前記第2コントラスト値の総和である第2総コントラスト値を算出する手段と、前記第1総コントラスト値と前記第2総コントラスト値との差分値を算出する第1算出手段とを備え、前記判定手段は、前記第1算出手段によって算出された差分値の絶対値が第1所定値より大きい場合に、前記画像が否であると判定するようにしてあることを特徴とする。   The imaging apparatus according to the present invention includes means for calculating a first total contrast value that is the sum of the first contrast values, means for calculating a second total contrast value that is the sum of the second contrast values, and the first First calculating means for calculating a difference value between one total contrast value and the second total contrast value, wherein the determination means has an absolute value of the difference value calculated by the first calculating means as a first predetermined value. If larger, it is determined that the image is NO.

本発明にあっては、先ず、画像の撮像前の小画像の複数の領域における第1コントラスト値の総和である第1総コントラスト値と、画像の撮像後の小画像の複数の領域における第2コントラスト値の総和である第2総コントラスト値とを算出する。次いで、第1総コントラスト値と第2総コントラスト値との差分値を算出する。そして、算出された差分値の絶対値が第1所定値より大きい場合に、画像が成功画像ではないと判定する。画像の撮像の前後で総コントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像が成功画像であるか否かの判定を行うことができる。   In the present invention, first, the first total contrast value, which is the sum of the first contrast values in the plurality of regions of the small image before the image capture, and the second in the plurality of regions of the small image after the image capture. A second total contrast value that is a sum of contrast values is calculated. Next, a difference value between the first total contrast value and the second total contrast value is calculated. Then, when the absolute value of the calculated difference value is larger than the first predetermined value, it is determined that the image is not a successful image. If the total contrast value greatly changes before and after the image is captured, it can be determined that the image has become a failed image due to blurring or the like in the meantime. Can be determined.

本発明に係る撮像装置は、前記第1コントラスト値のうちの最大のコントラスト値を有する領域を特定する第1特定手段と、前記第2コントラスト値のうちの最大のコントラスト値を有する領域を特定する第2特定手段と、前記第1特定手段が特定した領域と前記第2特定手段が特定した領域との離隔長を算出する第2算出手段とを備え、前記判定手段は、第2算出手段によって算出された離隔長が所定長より長い場合に、前記画像が否であると判定するようにしてあることを特徴とする。   The image pickup apparatus according to the present invention specifies first specifying means for specifying a region having the maximum contrast value among the first contrast values, and specifies a region having the maximum contrast value among the second contrast values. A second calculating unit; and a second calculating unit that calculates a separation length between the region specified by the first specifying unit and the region specified by the second specifying unit. When the calculated separation length is longer than a predetermined length, it is determined that the image is negative.

本発明にあっては、先ず、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域を特定する。次いで、特定した2つの領域の離隔長を算出する。そして、算出された離隔長が所定長より大きい場合に、画像が成功画像ではないと判定する。被写体の撮像フレーム内における位置が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像が成功画像であるか否かの判定を行うことができる。例えば、撮像前の小画像に係る最大のコントラスト値を有する領域と撮像後の小画像最大のコントラスト値を有する領域とが同一の領域、又は隣り合う領域である場合、ブレが生じていないものとして成功画像と判定し、一方、そうでない場合は、撮像の前後で大きな画角変動が生じたためにブレが生じたとして失敗画像と判定することができる。   In the present invention, first, a region having the maximum contrast value among the first contrast values and a region having the maximum contrast value among the second contrast values are specified. Next, the separation length between the two specified areas is calculated. Then, when the calculated separation length is larger than the predetermined length, it is determined that the image is not a successful image. When the position of the subject in the imaging frame changes significantly, it can be determined that the image has become a failed image due to blurring or the like during that time, so whether or not the image is a success image from information other than information about the image to be captured Judgment can be made. For example, if the area having the maximum contrast value related to the small image before imaging and the area having the maximum contrast value after imaging are the same area or adjacent areas, it is assumed that no blurring has occurred. On the other hand, if the image is determined to be a success image, otherwise, it can be determined that the image has failed due to the occurrence of blurring due to a large change in the angle of view before and after imaging.

本発明に係る撮像装置は、前記判定手段は、前記第1算出手段によって算出された差分値の絶対値が前記第1所定値より小さく、かつ前記第2算出手段によって算出された離隔長が前記所定長より短い場合に、前記画像が適であると判定するようにしてあることを特徴とする。   In the imaging apparatus according to the present invention, the determination unit is configured such that the absolute value of the difference value calculated by the first calculation unit is smaller than the first predetermined value, and the separation length calculated by the second calculation unit is If the image is shorter than a predetermined length, the image is determined to be appropriate.

本発明にあっては、第1総コントラスト値と第2総コントラスト値との差分値の絶対値が第1所定値より小さく、かつ、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より小さい場合に、画像が成功画像であると判定する。これにより、成功画像の判定を厳格に行うことで、品位の高い画像のみが成功画像と判定される。   In the present invention, the absolute value of the difference value between the first total contrast value and the second total contrast value is smaller than the first predetermined value, and the region has the maximum contrast value among the first contrast values; When the separation length from the region having the maximum contrast value among the second contrast values is smaller than the predetermined length, it is determined that the image is a successful image. Thereby, only a high-quality image is determined as a success image by strictly determining the success image.

本発明に係る撮像装置は、一連の撮像を受け付ける手段と、該手段によって一連の撮像を受け付けた際に、前記小画像とは異なる小画像の撮像を指示する手段と、前記小画像の複数の領域における第3コントラスト値を検出する第3コントラスト検出手段と、前記第3コントラスト値の総和である第3総コントラスト値を算出する手段と、前記第3総コントラスト値と前記第1総コントラスト値との差分値、及び/又は前記第3総コントラスト値と前記第2総コントラスト値との差分値を算出する第3算出手段とを備え、前記判定手段は、前記第3算出手段にて算出された差分値に基づいて前記画像の適否をさらに判定するようにしてあり、前記差分値の絶対値が第2所定値より大きい場合に、前記画像が否であると判定するようにしてあることを特徴とする。   An imaging apparatus according to the present invention includes a unit that receives a series of imaging, a unit that instructs to capture a small image different from the small image when the series of imaging is received by the unit, and a plurality of small images A third contrast detecting means for detecting a third contrast value in the region; a means for calculating a third total contrast value that is a sum of the third contrast values; the third total contrast value and the first total contrast value; And / or third calculation means for calculating a difference value between the third total contrast value and the second total contrast value, and the determination means is calculated by the third calculation means. The suitability of the image is further determined based on the difference value, and when the absolute value of the difference value is greater than a second predetermined value, it is determined that the image is rejected. And wherein the door.

本発明にあっては、先ず、撮影ボタンのような受付手段にて一連の撮像を受け付けた際に、撮像する画像より画像サイズが小さい小画像(基準画像)の撮像を行って、撮像された基準画像の複数の領域における第3コントラスト値を検出する。次いで、複数の領域における第3コントラスト値の総和である第3総コントラスト値を算出する。そして、算出された第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値を算出する。そして、算出された差分値の絶対値が第2所定値より大きい場合に、画像が成功画像ではないと判定する。一連の撮像を受け付けた際の第3総コントラスト値が、画像の撮像前及び/又は撮像後における総コントラスト値と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行うことができる。   In the present invention, first, when a series of imaging is received by an accepting unit such as a shooting button, a small image (reference image) having a smaller image size than the image to be captured is captured and captured. A third contrast value in a plurality of regions of the reference image is detected. Next, a third total contrast value that is the sum of the third contrast values in the plurality of regions is calculated. Then, a difference value between the calculated third total contrast value and the first total contrast value and / or a difference value between the third total contrast value and the second total contrast value is calculated. Then, when the absolute value of the calculated difference value is larger than the second predetermined value, it is determined that the image is not a successful image. When the third total contrast value at the time of receiving a series of images is significantly different from the total contrast value before and / or after the image is captured, even if no blurring occurs in the image, Therefore, it can be determined that the captured image is not an image when a series of imaging is received.

本発明に係る撮像装置は、前記判定手段は、前記第1算出手段にて算出された差分値の絶対値が前記第1所定値より小さく、前記第2算出手段にて算出された離隔長が前記所定長より短く、かつ前記第3算出手段にて算出された差分値の絶対値が前記第2所定値より小さい場合に、前記画像が適であると判定するようにしてあることを特徴とする。   In the imaging apparatus according to the present invention, the determination unit has an absolute value of the difference value calculated by the first calculation unit that is smaller than the first predetermined value, and the separation length calculated by the second calculation unit is The image is determined to be suitable when the absolute value of the difference value calculated by the third calculating means is shorter than the predetermined length and smaller than the second predetermined value. To do.

本発明にあっては、第1総コントラスト値と第2総コントラスト値との差分値の絶対値が第1所定値より小さく、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より小さく、かつ、第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値の絶対値が第2所定値より小さい場合に、画像が成功画像であると判定する。これにより、成功画像の判定をさらに厳格に行うことで、より品位の高い画像のみが成功画像と判定される。   In the present invention, the absolute value of the difference value between the first total contrast value and the second total contrast value is smaller than the first predetermined value, and the region having the maximum contrast value among the first contrast values, The separation length from the region having the maximum contrast value of the two contrast values is smaller than a predetermined length, and the difference value between the third total contrast value and the first total contrast value, and / or the third total contrast value, When the absolute value of the difference value from the second total contrast value is smaller than the second predetermined value, it is determined that the image is a successful image. Thereby, by determining the success image more strictly, only an image with higher quality is determined as a success image.

本発明に係る撮像装置は、被写体を連続して撮像し、複数の画像の撮像を行えるようにしてあり、前記判定手段の判定結果に基づいて、撮像された複数の画像のうちから、適と判定された画像を抽出する抽出手段を備えることを特徴とする。   The imaging apparatus according to the present invention continuously captures an image of a subject, and can capture a plurality of images. Based on a determination result of the determination unit, an appropriate image can be selected from a plurality of captured images. An extraction means for extracting the determined image is provided.

本発明にあっては、被写体を連続して撮像し、複数の画像の撮像を行う場合には、撮像された複数の画像のうちから成功画像を抽出し、抽出した成功画像を記憶媒体に記憶する。これにより、成功画像が自動的に記憶媒体に記憶されることになり、利用者が撮像した画像のうちから成功画像を選択して記憶媒体に記憶させるような操作をする必要はない。   In the present invention, when a subject is continuously imaged and a plurality of images are captured, a success image is extracted from the plurality of captured images, and the extracted success image is stored in a storage medium. To do. Thus, the success image is automatically stored in the storage medium, and there is no need to perform an operation for selecting the success image from the images captured by the user and storing it in the storage medium.

本発明に係る撮像装置は、前記判定手段の判定結果に基づいて、画像の成功度合いを算出する手段と、該手段によって算出された成功度合いに基づいて、画像の順位付けを行って表示する表示手段とを備えることを特徴とする。   An image pickup apparatus according to the present invention includes a unit that calculates a success level of an image based on a determination result of the determination unit, and a display that ranks and displays the images based on the success level calculated by the unit. Means.

本発明にあっては、先ず、判定手段の判定結果に基づいて画像の成功度合いを算出する。そして、算出された成功度合いから、画像を順位付けして表示する。この場合、画像を表示するときに、順位の順に画像を表示するようにしてもよし、画像の順位を表示してもよい。成功画像の成功度合いとしては、例えば、撮像前後の小画像の最大のコントラスト値を有する領域が同一であるものを最優先として、各種のコントラスト値の乖離状態に応じて順位をつける。これにより、利用者は、撮像された成功画像のうち、いずれの画像が最も成功度合いが高いかを認識することができる。   In the present invention, first, the success degree of the image is calculated based on the determination result of the determination means. Then, the images are ranked and displayed based on the calculated success degree. In this case, when displaying images, the images may be displayed in order of order, or the order of images may be displayed. As the success degree of the success image, for example, the area having the same maximum contrast value of the small image before and after the imaging is given the highest priority, and the order is given according to the difference state of various contrast values. Thereby, the user can recognize which image has the highest degree of success among the captured success images.

本発明に係る撮像装置は、前記判定手段の判定結果を報知する報知手段を備えることを特徴とする。   The image pickup apparatus according to the present invention is characterized by comprising notifying means for notifying the determination result of the determining means.

本発明にあっては、報知手段が判定結果を利用者に報知することにより、利用者は、撮影が成功したか否かを認識することができる。したがって、撮影が成功しなかった場合には、利用者は撮影が成功するまで再撮影を行うことができる。   In the present invention, the notification means notifies the user of the determination result, so that the user can recognize whether or not the photographing has been successful. Therefore, if shooting is not successful, the user can re-shoot until shooting is successful.

本発明に係る撮像装置は、前記抽出手段によって適と判定された所定数の画像が抽出された場合に、所定数の画像が撮像されたことを報知する報知手段を備えることを特徴とする。   The image pickup apparatus according to the present invention is characterized by comprising notifying means for notifying that a predetermined number of images have been picked up when a predetermined number of images determined to be appropriate by the extracting means have been extracted.

本発明にあっては、抽出手段によって所定数の成功画像が抽出された場合に、成功画像が撮像されたことを利用者に報知することにより、利用者は、所定数の成功画像の撮影に成功したか否かを認識することができる。したがって、利用者は、所定数の成功画像の撮影に成功するまで再撮影を行うことができる。   In the present invention, when a predetermined number of success images are extracted by the extraction means, the user is notified that a success image has been captured, so that the user can take a predetermined number of success images. You can recognize whether or not it was successful. Therefore, the user can perform re-photographing until a predetermined number of successful images have been successfully captured.

本発明に係る撮像装置は、前記判定手段にて前記画像が否であると判定された場合、前記画像を前記記憶媒体に記憶しないようにしてあることを特徴とする。   The imaging apparatus according to the present invention is characterized in that the image is not stored in the storage medium when the determination unit determines that the image is negative.

本発明にあっては、画像が成功画像ではないと判定された場合、画像(失敗画像)を記憶媒体に記憶しないようにする。失敗画像は、利用者が意図した画像ではないことから、記憶媒体に記憶する必要はなく、失敗画像が記憶媒体に記憶されることによって記憶媒体の記憶容量が減少してしまう虞は全くない。したがって、記憶媒体への記憶を効率的に行うことができる。   In the present invention, when it is determined that the image is not a success image, the image (failure image) is not stored in the storage medium. Since the failed image is not an image intended by the user, it is not necessary to store the failed image in the storage medium, and there is no possibility that the storage capacity of the storage medium is reduced by storing the failed image in the storage medium. Therefore, storage in the storage medium can be performed efficiently.

本発明によれば、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像を撮像し、撮像された各小画像のコントラスト値(第1コントラスト値及び第2コントラスト値)を検出し、検出したコントラスト値に基づいて画像の適否を判定する構成としたので、処理負担が軽減され、また、従来より小型及び低コストの構成であっても、画像の適否を判定でき、画像が適であると判定された場合に、画像を記憶媒体に記憶することができる。   According to the present invention, a small image having a smaller image size than the image to be captured is captured before and after the image is captured, and the contrast values (first contrast value and second contrast value) of each captured small image are detected. In addition, since the configuration is such that the suitability of the image is determined based on the detected contrast value, the processing burden is reduced, and the suitability of the image can be determined even in a configuration that is smaller and less expensive than in the past. If it is determined to be appropriate, the image can be stored in a storage medium.

本発明によれば、画像の撮像前に撮像された小画像の第1コントラスト値と画像の撮像後に撮像された小画像の第2コントラスト値との差分値の絶対値が所定値(第1所定値)より大きい場合に、画像が否であると判定する構成としたので、画像の撮像の前後でコントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる。   According to the present invention, the absolute value of the difference value between the first contrast value of the small image captured before the image capture and the second contrast value of the small image captured after the image capture is the predetermined value (the first predetermined value). If the contrast value changes significantly before and after image capture, it can be determined that the image has become a failed image due to blurring during that time. Therefore, the suitability of the image can be determined from information other than information related to the image to be captured.

本発明によれば、一連の撮像を受け付けた際に、上述した小画像とは異なる小画像を撮像し、撮像された小画像のコントラスト値(第3コントラスト値)を検出し、第3コントラスト値と第1コントラスト値との差分値、及び/又は第3コントラスト値と第2コントラスト値との差分値の絶対値が所定値(第2所定値)より大きい場合に、画像が否であると判定する構成としたので、一連の撮像を受け付けた際の第3コントラスト値が、画像の撮像前及び/又は撮像後におけるコントラスト値(第1コントラスト値及び/又は第2コントラスト値)と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行える。   According to the present invention, when a series of imaging is accepted, a small image different from the above-described small image is captured, the contrast value (third contrast value) of the captured small image is detected, and the third contrast value is detected. If the absolute value of the difference value between the first contrast value and / or the difference value between the third contrast value and the second contrast value is greater than a predetermined value (second predetermined value), it is determined that the image is negative. Since the third contrast value when receiving a series of imaging is greatly different from the contrast value before imaging and / or after imaging (first contrast value and / or second contrast value). Since it can be judged that the image is different from the image when the series of imaging is accepted even if there is no blurring in the image, when the series of imaging is accepted, It allows the determination of not the image.

本発明によれば、画像の撮像前及び撮像後に、撮像する画像より画像サイズが小さい小画像を撮像し、撮像された各小画像の複数の領域におけるコントラスト値(第1コントラスト値及び第2コントラスト値)を検出し、検出した各小画像の複数の領域におけるコントラスト値に基づいて画像の適否を判定する構成としたので、ブレが生じたとしても肖像写真のように画像全体のコントラスト値が変化しない場合であっても、画像の適否を判定することができ、判定精度を向上することができる。   According to the present invention, a small image having a smaller image size than the image to be captured is captured before and after the image is captured, and the contrast values (first contrast value and second contrast) in a plurality of regions of each captured small image are captured. Value), and the suitability of the image is determined based on the contrast values in a plurality of areas of each detected small image, so even if blurring occurs, the contrast value of the entire image changes like a portrait photo Even if not, the suitability of the image can be determined, and the determination accuracy can be improved.

本発明によれば、第1コントラスト値の総和である第1総コントラスト値と、第2コントラスト値の総和である第2総コントラスト値との差分値の絶対値が所定値(第1所定値)より大きい場合に、画像が否であると判定する構成としたので、画像の撮像の前後で総コントラスト値が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる。   According to the present invention, the absolute value of the difference value between the first total contrast value that is the sum of the first contrast values and the second total contrast value that is the sum of the second contrast values is a predetermined value (first predetermined value). Since it is determined that the image is negative when the image is larger, if the total contrast value changes greatly before and after the image is captured, it can be determined that the image has become a failed image due to blurring during that time. The suitability of the image can be determined from information other than information related to the image to be captured.

本発明によれば、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より長い場合に、画像が否であると判定する構成としたので、被写体の撮像フレーム内における位置が大きく変化した場合には、その間に画像がブレなどによって失敗画像となったと判断できることから、撮像する画像に関する情報以外の情報から画像の適否を判定できる。   According to the present invention, when the separation length between the region having the maximum contrast value of the first contrast values and the region having the maximum contrast value of the second contrast values is longer than a predetermined length, the image is displayed. Since it is determined to be no, if the position of the subject in the imaging frame changes significantly, it can be determined that the image has become a failed image due to blurring during that time, so information other than information related to the image to be captured The suitability of the image can be determined from the above.

本発明によれば、第1コントラスト値の総和である第1総コントラスト値と、第2コントラスト値の総和である第2総コントラスト値との差分値の絶対値が第1所定値より小さく、かつ、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より短い場合に、画像が適であると判定する構成としたので、品位の高い画像のみが適と判定される。   According to the present invention, the absolute value of the difference value between the first total contrast value that is the sum of the first contrast values and the second total contrast value that is the sum of the second contrast values is smaller than the first predetermined value, and The image is determined to be suitable when the distance between the region having the maximum contrast value of the first contrast values and the region having the maximum contrast value of the second contrast values is shorter than a predetermined length. Therefore, only high-quality images are determined to be appropriate.

本発明によれば、一連の撮像を受け付けた際に、上述した小画像とは異なる小画像を撮像し、撮像された小画像の複数の領域におけるコントラスト値(第3コントラスト値)を検出し、第3コントラスト値の総和である第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値の絶対値が所定値(第2所定値)より大きい場合に、画像が否であると判定する構成としたので、一連の撮像を受け付けた際の第3総コントラスト値が、画像の撮像前及び/又は撮像後における総コントラスト値(第1総コントラスト値及び/又は第2総コントラスト値)と大きく異なる場合には、たとえ画像にブレが発生していないとしても、一連の撮像を受け付けた際の画像と異なっていると判断できることから、撮像された画像が一連の撮像を受け付けた際の画像ではないとの判定を行える。   According to the present invention, when a series of imaging is accepted, a small image different from the small image described above is captured, and contrast values (third contrast values) in a plurality of regions of the captured small image are detected. The absolute value of the difference value between the third total contrast value and the first total contrast value, which is the sum of the third contrast values, and / or the difference value between the third total contrast value and the second total contrast value is a predetermined value (first value). 2), the third total contrast value when receiving a series of images is the total contrast value before and / or after image capturing. If it is significantly different from (the first total contrast value and / or the second total contrast value), even if there is no blurring in the image, it is different from the image when a series of imaging is accepted. Because it can determine, it enables the determination of not the image when the captured image has accepted the set of imaging.

本発明によれば、第1総コントラスト値と第2総コントラスト値との差分値の絶対値が第1所定値より小さく、第1コントラスト値のうちの最大のコントラスト値を有する領域と、第2コントラスト値のうちの最大のコントラスト値を有する領域との離隔長が所定長より短く、かつ、第3総コントラスト値と第1総コントラスト値との差分値、及び/又は第3総コントラスト値と第2総コントラスト値との差分値の絶対値が第2所定値より小さい場合に、画像が適であると判定する構成としたので、さらに品位の高い画像のみが適と判定される。   According to the present invention, the absolute value of the difference value between the first total contrast value and the second total contrast value is smaller than the first predetermined value, and the region having the maximum contrast value among the first contrast values; The separation length from the region having the maximum contrast value among the contrast values is shorter than a predetermined length, and the difference value between the third total contrast value and the first total contrast value and / or the third total contrast value and the first 2 When the absolute value of the difference value with respect to the total contrast value is smaller than the second predetermined value, the image is determined to be appropriate, so that only an image with higher quality is determined to be appropriate.

本発明によれば、被写体を連続して撮像し、複数の画像の撮像を行う場合には、撮像された複数の画像のうちから、適と判定された画像を抽出する構成としたので、適と判定された画像が自動的に記憶媒体に記憶されることになり、利用者が、画像を選択して記憶媒体に記憶させるような操作が不要となる。   According to the present invention, when a subject is continuously imaged and a plurality of images are captured, an image determined to be appropriate is extracted from the plurality of captured images. The image determined to be automatically stored in the storage medium, and the user does not need to select an image and store it in the storage medium.

本発明によれば、画像の成功度合いに基づいて、画像の順位付けを行って表示する構成としたので、利用者が撮像された画像のうちのいずれの画像が最も成功度合いが高いかを認識することができる。   According to the present invention, since the image is ranked and displayed based on the success level of the image, the user recognizes which of the images captured is the most successful. can do.

本発明によれば、判定結果を利用者に報知する構成としたので、利用者は、撮影が成功したか否かを認識することができ、撮影が成功しなかった場合には、利用者に撮影が成功するまで再撮影を促すことができる。   According to the present invention, since the determination result is notified to the user, the user can recognize whether or not the shooting is successful. If the shooting is not successful, the user is notified. You can encourage re-shooting until shooting is successful.

本発明によれば、所定数の適と判定された画像が抽出された場合に、所定数の画像が撮像されたことを利用者に報知する構成としたので、利用者が所定数の画像の撮影に成功したか否かを認識することができ、利用者に撮影が成功するまで再撮影を促すことができる。   According to the present invention, when a predetermined number of images determined to be appropriate are extracted, the user is notified that a predetermined number of images have been captured. It is possible to recognize whether or not the shooting is successful, and to prompt the user to reshoot until the shooting is successful.

本発明によれば、画像が否であると判定した場合、画像を記憶媒体に記憶しない構成としたので、否と判定された画像が記憶媒体に記憶されることによって記憶媒体の記憶容量が減少してしまう虞は全くなく、記憶媒体への記憶を効率的に行うことができる等、優れた効果を奏する。   According to the present invention, since the image is not stored in the storage medium when it is determined that the image is NO, the storage capacity of the storage medium is reduced by storing the image determined as NO in the storage medium. There is no fear that it will occur, and there are excellent effects such as efficient storage in the storage medium.

先ず、本発明に係る撮像装置において、画像がブレのある画像であるか否かを判定する判定方法の原理について説明する。   First, the principle of a determination method for determining whether an image is a blurred image in the imaging apparatus according to the present invention will be described.

[第1の判定方法]
図1は、本発明に係る撮像装置による第1の判定方法の原理を示す原理図である。
手ブレが発生した場合、図1(a)→図1(b)→図1(c)のような被写体像が撮像装置に取り込まれる。当然ながら各被写体像が異なるため、撮像された画像の鮮鋭度に係る情報(例えばコントラスト値)は、手ブレによって変動する虞がある(変動しない場合は後述する)。本発明に係る撮像装置は、この点に鑑みて、撮像する画像(本画像)の前後に、本画像より画像サイズが小さい小画像(例えば、間引き画像)を撮像し、撮像した小画像のコントラスト値に基づいて、本画像の適否(ブレの発生の有無)を判定する。
[First determination method]
FIG. 1 is a principle diagram showing the principle of the first determination method by the imaging apparatus according to the present invention.
When camera shake occurs, a subject image as shown in FIG. 1A → FIG. 1B → FIG. 1C is taken into the imaging apparatus. Of course, since each subject image is different, the information (for example, contrast value) relating to the sharpness of the captured image may vary due to camera shake (if it does not vary, it will be described later). In view of this point, the imaging apparatus according to the present invention images a small image (for example, a thinned image) smaller than the main image before and after the image to be captured (main image), and the contrast of the captured small image Based on the value, the suitability of the main image (whether or not blur occurs) is determined.

具体的には、図1に示すように、本発明に係る撮像装置は、本画像50(図1(b))の撮像前に、小画像51a(図1(a))を撮像して、撮像した小画像51aのコントラスト値(前側コントラスト値)CAを検出する。同様に、本画像50の撮像後に、小画像51b(図1(c))を撮像して、撮像した小画像51bのコントラスト値(後側コントラスト値)CBを検出する。そして、前側コントラスト値CAと後側コントラスト値CBとの差分値(CA−CB)を算出し、差分値の絶対値|CA−CB|が所定値(閾値)α以下であれば、本画像50が適(成功画像)であると判定し、一方、差分値の絶対値|CA−CB|が閾値αより大きければ、本画像50が否(失敗画像)であると判定する。   Specifically, as shown in FIG. 1, the imaging apparatus according to the present invention images a small image 51a (FIG. 1 (a)) before imaging the main image 50 (FIG. 1 (b)). The contrast value (front contrast value) CA of the captured small image 51a is detected. Similarly, after capturing the main image 50, the small image 51b (FIG. 1C) is captured, and the contrast value (rear side contrast value) CB of the captured small image 51b is detected. Then, a difference value (CA−CB) between the front contrast value CA and the rear contrast value CB is calculated. If the absolute value | CA−CB | of the difference value is equal to or less than a predetermined value (threshold value) α, the main image 50 Is determined to be appropriate (successful image). On the other hand, if the absolute value | CA−CB | of the difference value is larger than the threshold value α, it is determined that the main image 50 is not possible (failed image).

また、肖像写真のように、白壁などを背景にして被写体を撮像する場合、図2(a)→図2(b)→図2(c)のような被写体像が撮像装置に取り込まれる。この場合、手ブレが発生したとしても、画像全体のコントラスト値が変動しない虞があるため、以下に示す第2の判定方法により、本画像の適否を判定する。   When a subject is imaged with a white wall or the like as a portrait, the subject image as shown in FIG. 2 (a) → FIG. 2 (b) → FIG. 2 (c) is taken into the imaging apparatus. In this case, since the contrast value of the entire image may not change even if camera shake occurs, the suitability of the main image is determined by the second determination method described below.

[第2の判定方法]
図3及び図4は、本発明に係る撮像装置による第2の判定方法の原理を示す原理図である。
先ず、図3に示すように、本発明に係る撮像装置は、本画像50(図3(b))の撮像前に、小画像51a(図3(a))を撮像して、撮像した小画像51aを複数の領域60a,60a,…に分割し、分割した各領域60bのコントラスト値(前側コントラスト値)CAijを検出する。同様に、本画像の撮像後に、小画像51b(図3(c))を撮像して、撮像した小画像51bを複数の領域60b,60b,…に分割し、分割した各領域60bのコントラスト値(後側コントラスト値)CBijを検出する。
[Second determination method]
3 and 4 are principle diagrams showing the principle of the second determination method by the imaging apparatus according to the present invention.
First, as shown in FIG. 3, the imaging apparatus according to the present invention captures a small image 51 a (FIG. 3A) by capturing a small image 51 a (FIG. 3A) before capturing the main image 50 (FIG. 3B). The image 51a is divided into a plurality of regions 60a, 60a,... And the contrast value (front contrast value) CAij of each divided region 60b is detected. Similarly, after capturing the main image, the small image 51b (FIG. 3C) is captured, and the captured small image 51b is divided into a plurality of regions 60b, 60b,... (Rear contrast value) CBij is detected.

そして、図4に示すように、各領域60aの前側コントラスト値CAijの総和である前側総コントラスト値Σ(CAij)、前側コントラスト値CAijのうちの最大のコントラスト値を有する領域である前側最大コントラスト領域A(i,j)、及び前側最大コントラスト領域のコントラスト値である前側最大コントラスト値MAX(CAij)を求める(図4(a))。同様に、各領域60bの後側コントラスト値CBijから、後側総コントラスト値Σ(CBij)、後側最大コントラスト領域B(i,j)、及び後側最大コントラスト値MAX(CBij)を求める(図4(b))。なお、本明細書において、Σは各要素の総和を示す記号である。   Then, as shown in FIG. 4, the front maximum contrast region which is a region having the maximum contrast value among the front total contrast value Σ (CAij) which is the sum of the front contrast values CAij of each region 60a and the front contrast value CAij. A (i, j) and the front maximum contrast value MAX (CAij) which is the contrast value of the front maximum contrast region are obtained (FIG. 4A). Similarly, a rear total contrast value Σ (CBij), a rear maximum contrast region B (i, j), and a rear maximum contrast value MAX (CBij) are obtained from the rear contrast value CBij of each region 60b (FIG. 4 (b)). In the present specification, Σ is a symbol indicating the sum of each element.

本発明に係る撮像装置は、前側総コントラスト値Σ(CAij)と後側総コントラスト値Σ(CBij)の差分値の絶対値|Σ(CAij)−Σ(CBij)|が閾値αより大きければ、本画像が失敗画像であると判定する。また、差分値の絶対値|Σ(CAij)−Σ(CBij)|が閾値α以下である場合、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが同一の領域、又は隣り合う領域でないときは、本画像が失敗画像であると判定する。   In the imaging apparatus according to the present invention, if the absolute value | Σ (CAij) −Σ (CBij) | of the difference value between the front total contrast value Σ (CAij) and the rear total contrast value Σ (CBij) is larger than the threshold α, It is determined that the main image is a failed image. When the absolute value | Σ (CAij) −Σ (CBij) | of the difference value is equal to or less than the threshold value α, the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j) If they are not the same area or adjacent areas, it is determined that the main image is a failed image.

さらに、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが同一の領域、又は隣り合う領域である場合、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)とが略同一でないときは、本画像が失敗画像であると判定する。一方、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)とが略同一であるときは、本画像が成功画像であると判定する。   Further, when the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j) are the same region or adjacent regions, the front maximum contrast value MAX (CAij) and the rear maximum When the contrast value MAX (CBij) is not substantially the same, it is determined that the main image is a failed image. On the other hand, when the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) are substantially the same, it is determined that the main image is a successful image.

以下、本発明をその実施の形態を示す図面に基づいて詳述する。   Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.

(実施の形態1)
図5は、本発明に係る撮像装置としてのデジタルカメラの構成を示すブロック図である。
デジタルカメラ1は、シャッタボタン(不図示)が利用者により押下されることによって画像の撮像を行うものであり、CPU10,レンズユニット11,メカニカルシャッタ12,撮像素子13,AD変換部14,コントラスト検出部15,タイミング制御部16,表示制御部18,表示装置19,音声制御部20,音声出力装置21,記憶制御部22,記憶媒体23,入力I/F24,入力装置25,外部記憶部26を備える。
(Embodiment 1)
FIG. 5 is a block diagram showing a configuration of a digital camera as an imaging apparatus according to the present invention.
The digital camera 1 captures an image when a shutter button (not shown) is pressed by a user, and includes a CPU 10, a lens unit 11, a mechanical shutter 12, an image sensor 13, an AD conversion unit 14, and contrast detection. Unit 15, timing control unit 16, display control unit 18, display device 19, audio control unit 20, audio output device 21, storage control unit 22, storage medium 23, input I / F 24, input device 25, and external storage unit 26. Prepare.

CPU10は、ROM10a及びRAM10bなどを内蔵しており、ROM10aには、デジタルカメラ1の動作に必要な種々の制御プログラム及び各種データが格納されている。CPU10は、ROM10aに格納された制御プログラムに従って種々の機能を実行する。特に、CPU10は、接続された各種機器と連携して又は単独で本発明における各種の手段として機能する。また、RAM10bは、CPU10による制御プログラムの実行時に発生する一時的なデータを記憶する処理に使われる。   The CPU 10 includes a ROM 10a, a RAM 10b, and the like, and various control programs and various data necessary for the operation of the digital camera 1 are stored in the ROM 10a. The CPU 10 executes various functions according to a control program stored in the ROM 10a. In particular, the CPU 10 functions as various means in the present invention in cooperation with various connected devices or alone. The RAM 10b is used for processing for storing temporary data generated when the CPU 10 executes a control program.

レンズユニット11は、ズームレンズ11a、フォーカスレンズ11b及び絞り(アイリス)11c、並びに、ズームレンズ11a、フォーカスレンズ11b、アイリス11cの状態を制御する各機構を駆動するモータを含んでおり、CPU10によってモータの駆動が制御され、入射した光の焦点距離が調整される。   The lens unit 11 includes a zoom lens 11a, a focus lens 11b, a diaphragm (iris) 11c, and motors that drive mechanisms that control the states of the zoom lens 11a, the focus lens 11b, and the iris 11c. Is controlled, and the focal length of the incident light is adjusted.

メカニカルシャッタ12は、レンズユニット11に入射した光の撮像素子13への導光を制御し、露光時間を調整する。撮像素子13は、CCD又はCMOSなどから構成されており、レンズユニット11及びメカニカルシャッタ12を通じて入射される光を光電変換してアナログ形式の電気信号を生成し、AD変換部14へ出力する。AD変換部14は、撮像素子13から出力されたアナログ形式の電気信号をデジタル形式に変換する。以下、変換されたデジタル形式の電気信号を画像信号という。   The mechanical shutter 12 controls the light guide of the light incident on the lens unit 11 to the image sensor 13 and adjusts the exposure time. The image sensor 13 is composed of a CCD, a CMOS, or the like, photoelectrically converts light incident through the lens unit 11 and the mechanical shutter 12 to generate an analog electric signal, and outputs the analog signal to the AD converter 14. The AD conversion unit 14 converts the analog electrical signal output from the image sensor 13 into a digital format. Hereinafter, the converted digital electric signal is referred to as an image signal.

タイミング制御部16は、CPU10に制御されてタイミング信号を生成し、生成したタイミング信号をメカニカルシャッタ12及び撮像素子13へ与えて、メカニカルシャッタ12及び撮像素子13の動作を制御する。   The timing control unit 16 is controlled by the CPU 10 to generate a timing signal, supplies the generated timing signal to the mechanical shutter 12 and the image sensor 13, and controls operations of the mechanical shutter 12 and the image sensor 13.

画像を撮像するに際して、本画像の撮像前及び撮像後に小画像を撮像し、コントラスト検出部15は、撮像したそれぞれの小画像の複数の領域におけるコントラスト値を検出する。CPU10は、本画像の撮像前の小画像の複数の領域におけるコントラスト値(前側コントラスト値)の総和である前側総コントラスト値と、本画像の撮像後の小画像の複数の領域におけるコントラスト値(後側コントラスト値)の総和である後側総コントラスト値とを算出し、さらに、前側総コントラスト値と後側総コントラスト値との差分値を算出する手段として機能する。   When capturing an image, a small image is captured before and after capturing the main image, and the contrast detection unit 15 detects contrast values in a plurality of regions of each captured small image. The CPU 10 compares the front total contrast value, which is the sum of the contrast values (front contrast values) in a plurality of regions of the small image before capturing the main image, and the contrast values (rear) in the plurality of regions of the small image after capturing the main image. And the rear total contrast value, which is the sum of the side contrast values), and further functions as a means for calculating a difference value between the front total contrast value and the rear total contrast value.

RAM10bには、前側総コントラスト値と後側総コントラスト値との乖離度を規定する閾値αが記憶されている。CPU10は、算出した差分値の絶対値が閾値α以下であるか否かを判定して、差分値の絶対値が閾値αより大きいと判定された場合には、本画像が失敗画像であると判断する。   The RAM 10b stores a threshold value α that defines the degree of deviation between the front total contrast value and the rear total contrast value. The CPU 10 determines whether or not the absolute value of the calculated difference value is equal to or less than the threshold value α, and if it is determined that the absolute value of the difference value is greater than the threshold value α, the main image is a failed image. to decide.

また、CPU10は、上述した差分値の絶対値が閾値α以下であると判定された場合、前側コントラスト値のうちの最大のコントラスト値を有する領域である前側最大コントラスト領域A(i,j)と、後側コントラスト値のうちの最大のコントラスト値を有する領域である後側最大コントラスト領域B(i,j)とを特定する手段として機能する。そして、CPU10は、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが同一の領域、又は隣り合う領域であるか否かを判定して、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが同一の領域、又は隣り合う領域でないと判定された場合、本画像が失敗画像であると判断する。   Further, when the CPU 10 determines that the absolute value of the difference value is equal to or less than the threshold value α, the CPU 10 includes a front maximum contrast region A (i, j) that is a region having the maximum contrast value among the front contrast values. , Functioning as means for specifying the rear maximum contrast region B (i, j), which is the region having the maximum contrast value among the rear contrast values. Then, the CPU 10 determines whether or not the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are the same area or adjacent areas, and the front maximum contrast is determined. When it is determined that the region A (i, j) and the rear maximum contrast region B (i, j) are not the same region or adjacent regions, it is determined that the main image is a failed image.

この判定には、前側最大コントラスト領域A(i,j)及び後側最大コントラスト領域B(i,j)のサフィックス(i,j)を参照することにより、位置的に同一の領域又は隣り合う領域であるか否かを判定することが可能である。つまり、前側最大コントラスト領域A(i,j)及び後側最大コントラスト領域B(i,j)のサフィックス(i,j)から、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)との離隔長を算出する。そして、算出された離隔長が所定長より長い場合は、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが位置的に同一の領域又は隣り合う領域ではなく、本画像が失敗画像であると判断することができる。   This determination is made by referring to the suffix (i, j) of the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j), so as to be the same region or adjacent regions. It is possible to determine whether or not. That is, from the suffix (i, j) of the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j), the front maximum contrast area A (i, j) and the rear maximum contrast area B The separation length from (i, j) is calculated. If the calculated separation length is longer than the predetermined length, the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are located in the same area or adjacent areas. Therefore, it can be determined that the main image is a failed image.

さらに、CPU10は、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが同一の領域、又は隣り合う領域であると判定した場合、前側最大コントラスト領域のコントラスト値である前側最大コントラスト値MAX(CAij)と、後側最大コントラスト領域のコントラスト値である後側最大コントラスト値MAX(CBij)との差分値とを求める。   Further, when the CPU 10 determines that the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j) are the same region or adjacent regions, the contrast of the front maximum contrast region is determined. A difference value between the front maximum contrast value MAX (CAij) that is the value and the rear maximum contrast value MAX (CBij) that is the contrast value of the rear maximum contrast region is obtained.

RAM10bには、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との乖離度を規定する閾値βが記憶されている。CPU10は、求めた差分値の絶対値が閾値β以下であるか否かを判定して、差分値の絶対値が閾値βより大きいと判定された場合、本画像が失敗画像であると判断する。一方、CPU10は、差分値の絶対値が閾値β以下であると判定された場合、本画像が成功画像であると判断する。   The RAM 10b stores a threshold value β that defines the degree of divergence between the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij). The CPU 10 determines whether or not the absolute value of the obtained difference value is equal to or less than the threshold β, and determines that the main image is a failed image when it is determined that the absolute value of the difference value is greater than the threshold β. . On the other hand, when it is determined that the absolute value of the difference value is equal to or less than the threshold value β, the CPU 10 determines that the main image is a successful image.

CPU10は、記憶制御部22を通じて記憶媒体23と接続されており、撮像した画像を記憶媒体23に書き込んだり、記憶媒体23に記憶されている画像を読み出したりする。なお、画像が成功画像であると判定された場合に、成功画像を記憶媒体に記憶するようにしてあり、画像が失敗画像であると判定した場合は、失敗画像を記憶媒体に記憶しないようにしてあることが好ましい。   The CPU 10 is connected to the storage medium 23 through the storage control unit 22, and writes a captured image in the storage medium 23 and reads out an image stored in the storage medium 23. If the image is determined to be a success image, the success image is stored in the storage medium. If the image is determined to be a failure image, the failure image is not stored in the storage medium. It is preferable.

また、CPU10は、AD変換部14から出力された画像信号を、表示制御部18を通じて表示装置19に表示させる。表示制御部18は、ディスプレイ・ドライバ等を備えており、CPU10から受信した画像信号を表示装置19に表示できるように変換するとともに、表示装置19を制御する。表示装置19は、液晶ディスプレイのような薄型ディスプレイから構成されており、表示制御部18から受信した信号に基づいて画像を表示する。なお、本画像が成功画像であるか、又は失敗画像であるかを利用者が容易に認識できるように、表示装置19に判定結果を報知するようにすることが好ましい。   In addition, the CPU 10 causes the display device 19 to display the image signal output from the AD conversion unit 14 through the display control unit 18. The display control unit 18 includes a display driver and the like, converts the image signal received from the CPU 10 so that it can be displayed on the display device 19, and controls the display device 19. The display device 19 includes a thin display such as a liquid crystal display, and displays an image based on a signal received from the display control unit 18. In addition, it is preferable to notify the display device 19 of the determination result so that the user can easily recognize whether the main image is a success image or a failure image.

また、CPU10は、音声制御部20を通じて音声出力装置21と接続されており、動画像を撮像した場合、音声制御部20は、動画像に係る音声データを音声出力装置21から出力できるように変換するとともに、音声出力装置21を制御する。もちろん、撮像装置1の操作などの案内及びBGMなどが音声出力装置21から出力されるようにしてもよい。なお、本画像が成功画像であるか、又は失敗画像であるかを利用者が容易に認識できるように、音声出力装置21から判定結果が報知されるようにしてもよい。   Further, the CPU 10 is connected to the audio output device 21 through the audio control unit 20, and when the moving image is captured, the audio control unit 20 converts the audio data related to the moving image so as to be output from the audio output device 21. In addition, the audio output device 21 is controlled. Of course, guidance such as operation of the imaging device 1 and BGM may be output from the audio output device 21. The determination result may be notified from the audio output device 21 so that the user can easily recognize whether the main image is a success image or a failure image.

入力I/F24は、接続された入力装置25に対して、データ送受信や制御等を行うものであり、入力装置25からの入力信号を所定形式のデータとしてCPU10へ伝送する。入力装置25は、入力I/F24を通じて接続されるコンピュータなどである。   The input I / F 24 performs data transmission / reception and control with respect to the connected input device 25, and transmits an input signal from the input device 25 to the CPU 10 as data in a predetermined format. The input device 25 is a computer connected through the input I / F 24.

図6は、本発明の実施の形態1に係る撮像装置としてのデジタルカメラの撮像タイミングを示すタイムチャートである。同図(a)はシャッタボタンのオン/オフを、同図(b)は垂直同期信号を、同図(c)はメカニカルシャッタの開閉を、同図(d)はCCD信号をそれぞれ示す。   FIG. 6 is a time chart showing the imaging timing of the digital camera as the imaging apparatus according to Embodiment 1 of the present invention. FIG. 4A shows on / off of the shutter button, FIG. 4B shows a vertical synchronizing signal, FIG. 4C shows opening and closing of the mechanical shutter, and FIG. 4D shows a CCD signal.

デジタルカメラ1は、シャッタボタンがオンされると、所定のタイミング(垂直同期信号をカウントし、カウント値が所定値になったタイミング)で、小画像が撮像されて、小画像に係るCCD信号(以下、前側小画像信号という)が出力される。前側小画像信号は、コントラスト検出部15にてコントラスト値が検出され、前側コントラスト値としてRAM10bに記憶される。   When the shutter button is turned on, the digital camera 1 captures a small image at a predetermined timing (a timing at which the vertical synchronization signal is counted and the count value reaches a predetermined value), and a CCD signal ( Hereinafter, the front small image signal) is output. The contrast value of the front small image signal is detected by the contrast detection unit 15 and stored in the RAM 10b as the front contrast value.

次いで、メカニカルシャッタ12が閉口され、本画像に係るCCD信号(以下、本画像信号という)が分割して出力され、本画像信号に係る本画像がRAM10bに一時記憶される。   Next, the mechanical shutter 12 is closed, a CCD signal related to the main image (hereinafter referred to as the main image signal) is divided and output, and the main image related to the main image signal is temporarily stored in the RAM 10b.

そして、メカニカルシャッタ12が開口され、小画像が撮像されて、小画像に係るCCD信号(以下、後側小画像信号という)が出力される。後側小画像信号は、コントラスト検出部15にてコントラスト値が検出され、後側コントラスト値としてRAM10bに記憶される。   Then, the mechanical shutter 12 is opened, a small image is captured, and a CCD signal related to the small image (hereinafter referred to as a rear small image signal) is output. The contrast value of the rear small image signal is detected by the contrast detection unit 15 and stored in the RAM 10b as the rear contrast value.

次に、上述のように構成されたデジタルカメラの動作について説明する。
図7は、本発明の実施の形態1に係る撮像装置としてのデジタルカメラの動作フローを示すフローチャートである。
Next, the operation of the digital camera configured as described above will be described.
FIG. 7 is a flowchart showing an operation flow of the digital camera as the imaging apparatus according to Embodiment 1 of the present invention.

CPU10は、シャッタボタンが押下を監視(ステップS1)しており、シャッタボタンが押下されない場合(S1:NO)は、処理をS1に戻す。シャッタボタンが押下された場合(S1:YES)、CPU10は、レンズユニット11へ制御信号を与えてAE(自動露出)ロックとAF(オートフォーカス)ロックとを行う(ステップS2)。そして、CPU10は、タイミング制御部16を通じてメカニカルシャッタ12及び撮像素子13を制御する。先ず、撮像素子13にて小画像が撮像されて、前側小画像信号がAD変換部14を通じてコントラスト検出部15及びCPU10へ転送される(ステップS3)。小画像は、後述する本画像より画像サイズが小さく、前側小画像信号は、例えば所定の画素の信号が間引かれた間引き信号である。   The CPU 10 monitors the pressing of the shutter button (step S1), and when the shutter button is not pressed (S1: NO), the process returns to S1. When the shutter button is pressed (S1: YES), the CPU 10 gives a control signal to the lens unit 11 to perform AE (automatic exposure) lock and AF (autofocus) lock (step S2). Then, the CPU 10 controls the mechanical shutter 12 and the image sensor 13 through the timing control unit 16. First, a small image is captured by the image sensor 13, and the front small image signal is transferred to the contrast detection unit 15 and the CPU 10 through the AD conversion unit 14 (step S3). The small image has a smaller image size than a main image, which will be described later, and the front small image signal is, for example, a thinned signal in which signals of predetermined pixels are thinned out.

コントラスト検出部15は、転送された前側小画像信号から各領域における前側コントラスト値CAijを検出し(ステップS4)、検出した各領域の前側コントラスト値から前側総コントラスト値Σ(CAij)、前側最大コントラスト領域A(i,j)及び前側最大コントラスト値MAX(CAij)を求めて、RAM10bに記憶する(ステップS5)。   The contrast detection unit 15 detects the front contrast value CAij in each region from the transferred front small image signal (step S4), and calculates the front total contrast value Σ (CAij), the front maximum contrast from the detected front contrast value in each region. The area A (i, j) and the front maximum contrast value MAX (CAij) are obtained and stored in the RAM 10b (step S5).

そして、メカニカルシャッタ12が閉口され(ステップS6)、撮像素子13にて本画像が撮像されて、本画像信号がAD変換部14を通じてCPU10へ転送される(ステップS7)。そして、CPU10は、転送された本画像信号に係る本画像をRAM10bに一時記憶する(ステップS8)。この本画像信号が例えば複数フィールドに分割されて転送される場合、CPU10は、全フィールドを合成することにより本画像を取得することができる。   Then, the mechanical shutter 12 is closed (step S6), the main image is picked up by the image sensor 13, and the main image signal is transferred to the CPU 10 through the AD converter 14 (step S7). Then, the CPU 10 temporarily stores the main image related to the transferred main image signal in the RAM 10b (step S8). When the main image signal is divided into a plurality of fields and transferred, for example, the CPU 10 can acquire the main image by synthesizing all the fields.

そして、メカニカルシャッタ12が開口され(ステップS9)、撮像素子13にて小画像が撮像されて、後側小画像信号がAD変換部14を通じてコントラスト検出部15及びCPU10へ転送される(ステップS10)。   Then, the mechanical shutter 12 is opened (step S9), a small image is captured by the image sensor 13, and the rear small image signal is transferred to the contrast detector 15 and the CPU 10 through the AD converter 14 (step S10). .

コントラスト検出部15は、転送された後側小画像信号から各領域における後側コントラスト値CBijを検出し(ステップS11)、検出した各領域の後側コントラスト値から後側総コントラスト値Σ(CBij)、後側最大コントラスト領域B(i,j)及び後側最大コントラスト値MAX(CBij)を求めて、RAM10bに記憶する(ステップS12)。   The contrast detector 15 detects the rear contrast value CBij in each region from the transferred rear small image signal (step S11), and calculates the rear total contrast value Σ (CBij) from the detected rear contrast value in each region. The rear maximum contrast region B (i, j) and the rear maximum contrast value MAX (CBij) are obtained and stored in the RAM 10b (step S12).

そして、CPU10は、前側コントラスト値(前側総コントラスト値Σ(CAij)、前側最大コントラスト領域A(i,j)及び前側最大コントラスト値MAX(CAij))及び後側コントラスト値(後側総コントラスト値Σ(CBij)、後側最大コントラスト領域B(i,j)及び後側最大コントラスト値MAX(CBij))に基づいて、S8にて一時記憶した本画像の適否を判定する判定処理を行い(ステップS13)、判定結果に応じた画像を表示装置19に表示して利用者に報知する(ステップS14)。もちろん、判定結果に応じた音声を音声出力装置21から出力して利用者に報知するようにしてもよい。   The CPU 10 then determines the front contrast value (front total contrast value Σ (CAij), front maximum contrast area A (i, j) and front maximum contrast value MAX (CAij)) and rear contrast value (rear total contrast value Σ Based on (CBij), the rear maximum contrast region B (i, j) and the rear maximum contrast value MAX (CBij)), a determination process is performed to determine the suitability of the main image temporarily stored in S8 (step S13). ), An image corresponding to the determination result is displayed on the display device 19 to notify the user (step S14). Of course, sound corresponding to the determination result may be output from the sound output device 21 to notify the user.

図8は、本発明の実施の形態1に係る撮像装置としてのデジタルカメラの判定処理の動作フローを示すフローチャートである。
CPU10は、RAM10bに記憶されている前側総コントラスト値Σ(CAij),後側総コントラスト値Σ(CBij)、及び乖離度を規定する閾値αを読み出し、前側総コントラスト値Σ(CAij)と後側総コントラスト値Σ(CBij)との差分値の絶対値|Σ(CAij)−Σ(CBij)|、閾値α以下であるか否かを判定する(ステップS21)。
FIG. 8 is a flowchart showing an operation flow of determination processing of the digital camera as the imaging apparatus according to Embodiment 1 of the present invention.
The CPU 10 reads the front total contrast value Σ (CAij), the rear total contrast value Σ (CBij), and the threshold value α that defines the degree of divergence stored in the RAM 10b, and the front total contrast value Σ (CAij) and the rear side It is determined whether or not the absolute value | Σ (CAij) −Σ (CBij) | of the difference value from the total contrast value Σ (CBij) is equal to or less than the threshold value α (step S21).

S21において、差分値の絶対値|Σ(CAij)−Σ(CBij)|が閾値αより大きいと判定された場合(S21:NO)、CPU10は、撮像された本画像が失敗画像であると判定する(ステップS22)。つまり、CPU10は、差分値の絶対値|Σ(CAij)−Σ(CBij)|が閾値αより大きい場合、手ブレによってコントラスト値が変動したものであると判断する。静止画像を撮像する場合、被写体の位置が移動しないように撮像することが重要である。被写体が移動することによってコントラスト値が変動した場合、被写体の位置が構図の中で移動している虞が大きく、静止画像としては不適であるからである。   When it is determined in S21 that the absolute value | Σ (CAij) −Σ (CBij) | of the difference value is larger than the threshold value α (S21: NO), the CPU 10 determines that the captured main image is a failed image. (Step S22). That is, when the absolute value | Σ (CAij) −Σ (CBij) | of the difference value is larger than the threshold value α, the CPU 10 determines that the contrast value has changed due to camera shake. When capturing a still image, it is important to capture so that the position of the subject does not move. This is because when the contrast value fluctuates due to the movement of the subject, the position of the subject is likely to move in the composition, which is inappropriate as a still image.

一方、S21において、差分値の絶対値|Σ(CAij)−Σ(CBij)|が閾値α以下であると判定された場合(S21:YES)、CPU10は、前側最大コントラスト領域A(i,j)及び後側最大コントラスト領域B(i,j)を読み出し、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが、位置的に同一の領域であるか否かを判定する(ステップS23)。前側最大コントラスト領域A(i,j)及び後側最大コントラスト領域B(i,j)のサフィックス(i,j)を参照することにより、位置的に同一の領域であるか否かを判定することが可能である。   On the other hand, when it is determined in S21 that the absolute value | Σ (CAij) −Σ (CBij) | of the difference value is equal to or less than the threshold value α (S21: YES), the CPU 10 determines that the front maximum contrast area A (i, j ) And the rear maximum contrast region B (i, j), and whether the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j) are the same in position. It is determined whether or not (step S23). By referring to the suffix (i, j) of the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j), it is determined whether or not they are the same area. Is possible.

S23において、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが位置的に同一の領域であると判定された場合(S23:YES)、CPU10は、前側最大コントラスト値MAX(CAij)及び後側最大コントラスト値MAX(CBij)を読み出し、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との差分値の絶対値|MAX(CAij)−MAX(CBij)|が、閾値β以下であるか否かを判定する(ステップS24)。   If it is determined in S23 that the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are the same area (S23: YES), the CPU 10 The maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) are read, and the absolute value of the difference value between the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) | MAX (CAij) It is determined whether or not -MAX (CBij) | is equal to or less than the threshold value β (step S24).

S24において、差分値の絶対値|MAX(CAij)−MAX(CBij)|が閾値βより大きいと判定された場合(S24:NO)、CPU10は、S22へ移行して、撮像された本画像が失敗画像であると判定する。
一方、S24において、差分値の絶対値|MAX(CAij)−MAX(CBij)|が閾値β以下であると判定された場合(S24:YES)、CPU10は、前側最大コントラスト値MAX(CAij)及び後側最大コントラスト値MAX(CBij)を読み出し、(MAX(CAij)+MAX(CBij))/2を算出し(ステップS25)、本画像が成功画像であると判定する(ステップS26)。そして、本画像を記憶媒体に記憶する(ステップS27)。S27での記憶の際には、S25にて算出した(MAX(CAij)+MAX(CBij))/2を本画像のタグに書き込むようにする。なお、失敗画像と判定された画像を自動的に記憶対象から外して、記憶媒体に記憶しないようにする。
In S24, when it is determined that the absolute value | MAX (CAij) −MAX (CBij) | of the difference value is larger than the threshold value β (S24: NO), the CPU 10 proceeds to S22 and the captured main image is displayed. It is determined that it is a failed image.
On the other hand, when it is determined in S24 that the absolute value | MAX (CAij) −MAX (CBij) | of the difference value is equal to or less than the threshold value β (S24: YES), the CPU 10 determines that the front maximum contrast value MAX (CAij) and The rear maximum contrast value MAX (CBij) is read, (MAX (CAij) + MAX (CBij)) / 2 is calculated (step S25), and it is determined that the main image is a successful image (step S26). Then, the main image is stored in the storage medium (step S27). When storing in S27, (MAX (CAij) + MAX (CBij)) / 2 calculated in S25 is written to the tag of the main image. Note that an image determined to be a failed image is automatically excluded from the storage target and is not stored in the storage medium.

一方、S23において、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが位置的に同一の領域でないと判定された場合(S23:NO)、CPU10は、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが隣接する領域であるか否かを判定する(ステップS28)。この場合も、前側最大コントラスト領域A(i,j)及び後側最大コントラスト領域B(i,j)のサフィックス(i,j)を参照することにより、隣接する領域であるか否かを判定することが可能である。   On the other hand, when it is determined in S23 that the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are not in the same position (S23: NO), the CPU 10 It is determined whether or not the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are adjacent to each other (step S28). Also in this case, by referring to the suffix (i, j) of the front maximum contrast region A (i, j) and the rear maximum contrast region B (i, j), it is determined whether or not the region is an adjacent region. It is possible.

S28において、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが隣接する領域であると判定された場合(S28:YES)、CPU10は、前側最大コントラスト値MAX(CAij)及び後側最大コントラスト値MAX(CBij)を読み出し、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との差分値の絶対値|MAX(CAij)−MAX(CBij)|が、閾値β以下であるか否かを判定する(ステップS29)。   When it is determined in S28 that the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are adjacent areas (S28: YES), the CPU 10 determines the front maximum contrast value. MAX (CAij) and the rear maximum contrast value MAX (CBij) are read, and the absolute value of the difference value between the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) | MAX (CAij) −MAX ( It is determined whether or not (CBij) | is equal to or less than the threshold value β (step S29).

S29において、差分値の絶対値|MAX(CAij)−MAX(CBij)|が閾値βより大きいと判定された場合(S29:NO)、CPU10は、S22へ移行して、撮像された本画像が失敗画像であると判定する。   When it is determined in S29 that the absolute value | MAX (CAij) −MAX (CBij) | of the difference value is larger than the threshold value β (S29: NO), the CPU 10 proceeds to S22 and the captured main image is displayed. It is determined that the image is a failed image.

一方、S29において、差分値の絶対値|MAX(CAij)−MAX(CBij)|が閾値β以下であると判定された場合(S29:YES)、CPU10は、前側最大コントラスト値MAX(CAij)及び後側最大コントラスト値MAX(CBij)を読み出し、(MAX(CAij)+MAX(CBij))/2×Zを算出し(ステップS30)、S26へ移行して、本画像が成功画像であると判定する。そして、S27へ移行して、本画像を記憶媒体に記憶する。S27での記憶の際には、S30にて算出した(MAX(CAij)+MAX(CBij))/2×Zを本画像のタグに書き込むようにする。   On the other hand, when it is determined in S29 that the absolute value | MAX (CAij) −MAX (CBij) | of the difference value is equal to or less than the threshold value β (S29: YES), the CPU 10 determines that the front maximum contrast value MAX (CAij) and The rear maximum contrast value MAX (CBij) is read, (MAX (CAij) + MAX (CBij)) / 2 × Z is calculated (step S30), and the process proceeds to S26 to determine that the main image is a successful image. . Then, the process proceeds to S27, and the main image is stored in the storage medium. When storing in S27, (MAX (CAij) + MAX (CBij)) / 2 × Z calculated in S30 is written in the tag of the main image.

なお、Zは1未満の正数である。換言すれば、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが位置的に同一の領域である場合は、Z=1として、(MAX(CAij)+MAX(CBij))/2×Zを本画像のタグに書き込み、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが隣接する領域である場合は、0<Z<1として、(MAX(CAij)+MAX(CBij))/2×Zを本画像のタグに書き込む。従って、本画像のタグには、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との平均値を最大とする正数の情報が書き込まれることになる。この情報は、コントラスト値と正の相関関係があることから、画像の成功度合いを表すものであるといえる。   Z is a positive number less than 1. In other words, when the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are the same position, Z = 1 and (MAX (CAij) + MAX (CBij)) / 2 × Z is written to the tag of the main image, and if the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are adjacent areas, 0 < As Z <1, (MAX (CAij) + MAX (CBij)) / 2 × Z is written in the tag of the main image. Therefore, positive information that maximizes the average value of the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) is written in the tag of the main image. Since this information has a positive correlation with the contrast value, it can be said that this information represents the degree of success of the image.

一方、S28において、前側最大コントラスト領域A(i,j)と後側最大コントラスト領域B(i,j)とが隣接する領域でないと判定された場合(S28:NO)、S22へ移行して、本画像が失敗画像であると判定する。   On the other hand, when it is determined in S28 that the front maximum contrast area A (i, j) and the rear maximum contrast area B (i, j) are not adjacent areas (S28: NO), the process proceeds to S22. It is determined that the main image is a failed image.

以上の動作をさらに説明すれば、例えば、図9に示すように、前側最大コントラスト領域A(i,j)が(3,4)である場合(図9(a))、後側最大コントラスト領域B(i,j)が(2,4),(3,3),(3,4),(3,5),(4,4)であるときは、手ブレの影響がないと判定し、そうでないときは、手ブレの影響が生じたと判定する(図9(b))。もちろん、この場合、差分値の絶対値|MAX(CAij)−MAX(CBij)|が閾値β以下であると判定された場合に限定されることはいうまでもない。ただし、閾値βはデジタルカメラの光学系及び撮像素子などの構成に基づいて適宜設定される判定基準であり、予め設定されていてもよいし、利用者によって設定されるようにしてもよい。   To further explain the above operation, for example, as shown in FIG. 9, when the front maximum contrast area A (i, j) is (3,4) (FIG. 9A), the rear maximum contrast area When B (i, j) is (2,4), (3,3), (3,4), (3,5), (4,4), it is judged that there is no influence of camera shake. Otherwise, it is determined that an influence of camera shake has occurred (FIG. 9B). Of course, this case is of course limited to the case where it is determined that the absolute value | MAX (CAij) −MAX (CBij) | of the difference value is equal to or less than the threshold value β. However, the threshold value β is a determination criterion that is set as appropriate based on the configuration of the optical system and image sensor of the digital camera, and may be set in advance or set by the user.

したがって、本発明に係る撮像装置によれば、従来より小型及び低コストの構成であっても、画像が成功画像であるか否かの判定を行え、画像が成功画像であると判定された場合に、成功画像を記憶媒体に記憶することができる。本画像ではなく、本画像の撮像前後の小画像のコントラスト値に基づいて、本画像が成功画像であるか否か判定することにより、高精細画像の撮像が可能な撮像素子を用いた場合であっても、撮像素子の総画素数ではなく、所定の画素数の小画像から判定処理を行うことができるので、撮像素子が高画素化されるに伴って処理量が増大してしまうことはない。   Therefore, according to the imaging device according to the present invention, it is possible to determine whether or not the image is a successful image even when the configuration is smaller and lower in cost than in the past, and when the image is determined to be a successful image In addition, the success image can be stored in the storage medium. In the case of using an image sensor that can capture a high-definition image by determining whether or not the main image is a successful image based on the contrast value of the small image before and after capturing the main image, not the main image. Even in such a case, determination processing can be performed not from the total number of pixels of the image sensor but from a small image having a predetermined number of pixels, so that the amount of processing increases as the number of pixels of the image sensor increases. Absent.

なお、本実施の形態では、S24及びS29にて、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との差分値の絶対値|MAX(CAij)−MAX(CBij)|が、閾値β以下であるか否かを判定するようにしたが、図8において、S24及びS29の処理を省略したような形態であってもよい。   In this embodiment, in S24 and S29, the absolute value of the difference value between the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij) | MAX (CAij) −MAX (CBij) | Is determined to be equal to or less than the threshold value β, but the process of S24 and S29 in FIG. 8 may be omitted.

(実施の形態2)
実施の形態1では、1回の撮影にて1つの本画像が撮像される場合について説明したが、1回の撮影にて複数の本画像が撮像される連写撮影のような場合についても、本発明の原理を適用することができ、このようにしたものが実施の形態2である。なお、本発明の実施の形態2に係る撮像装置としてのデジタルカメラの構成は、図5に示したものと略同様であるので図面及び説明を省略し、撮像タイミング及び動作フローによって、その主旨を明らかにする。
(Embodiment 2)
In the first embodiment, the case where one main image is captured by one shooting has been described. However, even in the case of continuous shooting where a plurality of main images are captured by one shooting, The principle of the present invention can be applied, and this is the second embodiment. Note that the configuration of the digital camera as the imaging apparatus according to Embodiment 2 of the present invention is substantially the same as that shown in FIG. 5, so the drawing and description are omitted, and the gist of the digital camera is based on the imaging timing and operation flow. To clarify.

図10は、本発明の実施の形態2に係る撮像装置としてのデジタルカメラの撮像タイミングを示すタイムチャートである。同図(a)はシャッタボタンのオン/オフを、同図(b)は垂直同期信号を、同図(c)はメカニカルシャッタの開閉を、同図(d)はCCD信号をそれぞれ示す。   FIG. 10 is a time chart showing the imaging timing of the digital camera as the imaging apparatus according to Embodiment 2 of the present invention. FIG. 4A shows on / off of the shutter button, FIG. 4B shows a vertical synchronizing signal, FIG. 4C shows opening and closing of the mechanical shutter, and FIG. 4D shows a CCD signal.

デジタルカメラ1は、一連の撮像を受け付ける受付手段であるシャッタボタンがオンされると、先ず、基準画像が撮像されて、基準画像に係るCCD信号(以下、基準画像信号という)が出力される。基準画像信号は、コントラスト検出部15にてコントラスト値が検出され、基準コントラスト値としてRAM10bに記憶される。   In the digital camera 1, when a shutter button, which is a reception unit that accepts a series of imaging, is turned on, first, a reference image is captured and a CCD signal (hereinafter referred to as a reference image signal) related to the reference image is output. A contrast value of the reference image signal is detected by the contrast detection unit 15 and stored in the RAM 10b as a reference contrast value.

次いで、所定のタイミング(垂直同期信号をカウントし、カウント値が所定値になったタイミング)で、小画像が撮像されて、小画像に係るCCD信号(前側小画像信号)が出力される。前側小画像信号は、コントラスト検出部15にてコントラスト値が検出され、前側コントラスト値としてRAM10bに記憶される。   Next, a small image is captured at a predetermined timing (a timing at which the vertical synchronization signal is counted and the count value becomes a predetermined value), and a CCD signal (front side small image signal) related to the small image is output. The contrast value of the front small image signal is detected by the contrast detection unit 15 and stored in the RAM 10b as the front contrast value.

次いで、メカニカルシャッタ12が閉口され、本画像に係るCCD信号(本画像信号)が分割して出力され、本画像信号に係る本画像がRAM10bに一時記憶される。   Next, the mechanical shutter 12 is closed, the CCD signal (main image signal) related to the main image is divided and output, and the main image related to the main image signal is temporarily stored in the RAM 10b.

そして、メカニカルシャッタ12が開口され、小画像が撮像されて、小画像に係るCCD信号(後側小画像信号という)が出力される。後側小画像信号は、コントラスト検出部15にてコントラスト値が検出され、後側コントラスト値としてRAM10bに記憶される。   Then, the mechanical shutter 12 is opened, a small image is captured, and a CCD signal (referred to as a rear small image signal) relating to the small image is output. The contrast value of the rear small image signal is detected by the contrast detection unit 15 and stored in the RAM 10b as the rear contrast value.

以下、前側小画像信号、本画像信号及び後側小画像信号が順次出力される。つまり、特徴的な点は、シャッタボタンがオンされた場合にのみ基準画像信号が出力され、その後、前側小画像信号、本画像信号及び後側小画像信号の出力が繰り返される。   Hereinafter, the front small image signal, the main image signal, and the rear small image signal are sequentially output. That is, the characteristic point is that the reference image signal is output only when the shutter button is turned on, and thereafter the output of the front small image signal, the main image signal, and the rear small image signal is repeated.

図11及び図12は、本発明の実施の形態2に係る撮像装置としてのデジタルカメラの動作フローを示すフローチャートである。   11 and 12 are flowcharts showing an operation flow of the digital camera as the imaging apparatus according to Embodiment 2 of the present invention.

CPU10は、シャッタボタンが押下を監視(ステップS51)しており、シャッタボタンが押下されない場合(S51:NO)は、処理をS51に戻す。シャッタボタンが押下された場合(S51:YES)、CPU10は、レンズユニット11へ制御信号を与えてAEロックとAFロックとを行う(ステップS52)。そして、CPU10は、タイミング制御部16を通じてメカニカルシャッタ12及び撮像素子13を制御する。先ず、撮像素子13にて基準画像が撮像されて、基準画像信号がAD変換部14を通じてコントラスト検出部15及びCPU10へ転送される(ステップS53)。基準画像は、後述する本画像より画像サイズが小さく、基準画像信号は、例えば所定の画素の信号が間引かれた間引き信号である。   The CPU 10 monitors whether the shutter button is pressed (step S51). If the shutter button is not pressed (S51: NO), the process returns to S51. When the shutter button is pressed (S51: YES), the CPU 10 gives a control signal to the lens unit 11 to perform AE lock and AF lock (step S52). Then, the CPU 10 controls the mechanical shutter 12 and the image sensor 13 through the timing control unit 16. First, a reference image is picked up by the image sensor 13, and the reference image signal is transferred to the contrast detection unit 15 and the CPU 10 through the AD conversion unit 14 (step S53). The reference image has a smaller image size than a main image, which will be described later, and the reference image signal is a thinned signal in which signals of predetermined pixels are thinned, for example.

コントラスト検出部15は、転送された基準画像信号から各領域における基準コントラスト値CTijを検出し(ステップS54)、検出した各領域の基準コントラスト値CTijから、基準画像の複数の領域における基準コントラスト値CTijの総和である基準総コントラスト値Σ(CTij)を求めて、RAM10bに記憶する(ステップS55)。基準総コントラスト値Σ(CTij)は、シャッタボタンが押下された直後の画像から検出されたものであることから、ピントが合っている場合のコントラスト値と推定することができる。   The contrast detector 15 detects the reference contrast value CTij in each region from the transferred reference image signal (step S54), and the reference contrast value CTij in a plurality of regions of the reference image from the detected reference contrast value CTij in each region. Is obtained and stored in the RAM 10b (step S55). Since the reference total contrast value Σ (CTij) is detected from the image immediately after the shutter button is pressed, it can be estimated as the contrast value when the image is in focus.

次いで、撮像素子13にて小画像が撮像されて、前側小画像信号がAD変換部14を通じてコントラスト検出部15及びCPU10へ転送される(ステップS56)。コントラスト検出部15は、転送された前側小画像信号から各領域における前側コントラスト値CAijを検出し(ステップS57)、検出した各領域の前側コントラスト値から前側総コントラスト値Σ(CAij)、前側最大コントラスト領域A(i,j)及び前側最大コントラスト値MAX(CAij)を求めて、RAM10bに記憶する(ステップS58)。   Next, a small image is captured by the image sensor 13, and the front small image signal is transferred to the contrast detector 15 and the CPU 10 through the AD converter 14 (step S56). The contrast detection unit 15 detects the front contrast value CAij in each region from the transferred front small image signal (step S57), and calculates the front total contrast value Σ (CAij) and the front maximum contrast from the detected front contrast value in each region. The area A (i, j) and the front maximum contrast value MAX (CAij) are obtained and stored in the RAM 10b (step S58).

そして、メカニカルシャッタ12が閉口され(ステップS59)、撮像素子13にて本画像が撮像されて、本画像信号がAD変換部14を通じてCPU10へ転送される(ステップS60)。そして、CPU10は、転送された本画像信号に係る本画像をRAM10bに一時記憶する(ステップS61)。   Then, the mechanical shutter 12 is closed (step S59), the main image is picked up by the image sensor 13, and the main image signal is transferred to the CPU 10 through the AD converter 14 (step S60). Then, the CPU 10 temporarily stores the main image related to the transferred main image signal in the RAM 10b (step S61).

そして、メカニカルシャッタ12が開口され(ステップS62)、撮像素子13にて小画像が撮像されて、後側小画像信号がAD変換部14を通じてコントラスト検出部15及びCPU10へ転送される(ステップS63)。   Then, the mechanical shutter 12 is opened (step S62), a small image is captured by the image sensor 13, and the rear small image signal is transferred to the contrast detector 15 and the CPU 10 through the AD converter 14 (step S63). .

コントラスト検出部15は、転送された後側小画像信号から各領域における後側コントラスト値CBijを検出し(ステップS64)、検出した各領域の後側コントラスト値から後側総コントラスト値Σ(CBij)、後側最大コントラスト領域B(i,j)及び後側最大コントラスト値MAX(CBij)を求めて、RAM10bに記憶する(ステップS65)。   The contrast detection unit 15 detects the rear contrast value CBij in each region from the transferred rear small image signal (step S64), and determines the rear total contrast value Σ (CBij) from the detected rear contrast value in each region. The rear maximum contrast region B (i, j) and the rear maximum contrast value MAX (CBij) are obtained and stored in the RAM 10b (step S65).

そして、CPU10は、基準コントラスト値(基準総コントラスト値Σ(CTij))、前側コントラスト値(前側総コントラスト値Σ(CAij)、前側最大コントラスト領域A(i,j)及び前側最大コントラスト値MAX(CAij))及び後側コントラスト値(後側総コントラスト値Σ(CBij)、後側最大コントラスト領域B(i,j)及び後側最大コントラスト値MAX(CBij))に基づいて、S61にて一時記憶した本画像の適否を判定する判定処理を行う(ステップS66)。   Then, the CPU 10 determines the reference contrast value (reference total contrast value Σ (CTij)), front contrast value (front total contrast value Σ (CAij), front maximum contrast area A (i, j), and front maximum contrast value MAX (CAij). )) And the rear contrast value (rear total contrast value Σ (CBij), rear maximum contrast region B (i, j) and rear maximum contrast value MAX (CBij)), temporarily stored in S61. A determination process for determining the suitability of the main image is performed (step S66).

そして、CPU10は、S66にて適と判定された本画像を抽出し、所定数の本画像が抽出されたか否かを判定し(ステップS67)、所定数の本画像が抽出されていないと判定された場合(S67:NO)、S56へ移行して次の本画像に対する処理を行う。一方、所定数の本画像が抽出されたと判定された場合(S67:YES)、判定結果に応じた画像を表示装置19に表示して利用者に報知する(ステップS68)。   Then, the CPU 10 extracts the main images determined to be appropriate in S66, determines whether or not a predetermined number of main images have been extracted (step S67), and determines that the predetermined number of main images have not been extracted. If so (S67: NO), the process proceeds to S56 and the process for the next main image is performed. On the other hand, when it is determined that a predetermined number of main images have been extracted (S67: YES), an image corresponding to the determination result is displayed on the display device 19 to notify the user (step S68).

図13は、本発明の実施の形態2に係る撮像装置としてのデジタルカメラの判定処理の動作フローを示すフローチャートである。
CPU10は、RAM10bに記憶されている前側総コントラスト値Σ(CAij),後側総コントラスト値Σ(CBij)、基準総コントラスト値Σ(CTij)、及び乖離度を規定する閾値γを読み出し、前側総コントラスト値Σ(CAij)と基準総コントラスト値Σ(CTij)との差分値の絶対値|Σ(CAij)−Σ(CTij)|が、閾値γ以下であるか否かを判定する(ステップS71)。
FIG. 13 is a flowchart showing an operation flow of determination processing of the digital camera as the imaging apparatus according to Embodiment 2 of the present invention.
The CPU 10 reads the front total contrast value Σ (CAij), the rear total contrast value Σ (CBij), the reference total contrast value Σ (CTij), and the threshold value γ that defines the degree of deviation stored in the RAM 10b. It is determined whether or not the absolute value | Σ (CAij) −Σ (CTij) | of the difference value between the contrast value Σ (CAij) and the reference total contrast value Σ (CTij) is equal to or smaller than the threshold value γ (step S71). .

S71において、差分値の絶対値|Σ(CAij)−Σ(CTij)|が閾値γより大きいと判定された場合(S71:NO)、CPU10は、撮像された本画像が失敗画像であると判定する(ステップS73)。   If it is determined in S71 that the absolute value | Σ (CAij) −Σ (CTij) | of the difference value is larger than the threshold value γ (S71: NO), the CPU 10 determines that the captured main image is a failed image. (Step S73).

一方、S71において、差分値の絶対値|Σ(CAij)−Σ(CTij)|が閾値γ以下であると判定された場合(S71:YES)、CPU10は、後側総コントラスト値Σ(CBij)と基準総コントラスト値Σ(CTij)との差分値の絶対値|Σ(CBij)−Σ(CTij)|が、閾値γ以下であるか否かを判定する(ステップS72)。   On the other hand, when it is determined in S71 that the absolute value | Σ (CAij) −Σ (CTij) | of the difference value is equal to or smaller than the threshold γ (S71: YES), the CPU 10 determines the rear total contrast value Σ (CBij). Whether or not the absolute value | Σ (CBij) −Σ (CTij) | of the difference value between the reference total contrast value Σ (CTij) and the reference total contrast value Σ (CTij) is equal to or smaller than the threshold γ is determined (step S72).

S72において、差分値の絶対値|Σ(CBij)−Σ(CTij)|が閾値γより大きいと判定された場合(S72:NO)、CPU10は、S73へ移行して、本画像が失敗画像であると判定する。   If it is determined in S72 that the absolute value | Σ (CBij) −Σ (CTij) | of the difference value is larger than the threshold value γ (S72: NO), the CPU 10 proceeds to S73 and the main image is a failed image. Judge that there is.

一方、S72において、差分値の絶対値|Σ(CBij)−Σ(CTij)|が閾値γ以下であると判定された場合(S72:YES)、CPU10は副判定処理を行う(ステップS80)。S80の副判定処理は、図8に示した判定処理のことであり、その説明を省略する。こうして、撮像された複数の画像のうちから成功画像を抽出することができる。なお、所定数の成功画像が抽出された場合に、S68にて、その旨を利用者に報知することにより、利用者は、所定数の成功画像の撮影に成功したか否かを認識することができる。このようにすれば、利用者は、所定数の成功画像の撮影に成功するまで再撮影を行うことができる。   On the other hand, when it is determined in S72 that the absolute value | Σ (CBij) −Σ (CTij) | of the difference value is equal to or smaller than the threshold γ (S72: YES), the CPU 10 performs a sub-determination process (step S80). The sub-determination process of S80 is the determination process shown in FIG. In this way, a success image can be extracted from a plurality of captured images. When a predetermined number of successful images are extracted, in S68, the user is notified so that the user recognizes whether or not the predetermined number of successful images have been successfully captured. Can do. In this way, the user can perform re-imaging until a predetermined number of successful images have been successfully captured.

上述したように、本画像のタグには、前側最大コントラスト値MAX(CAij)と後側最大コントラスト値MAX(CBij)との平均値を最大とする正数の情報((MAX(CAij)+MAX(CBij))/2×Z「0<Z≦1」)が書き込まれる。この情報は、コントラスト値と正の相関関係があることから、画像の成功度合いを表すものであるといえる。したがって、この情報に基づいて本画像を表示装置に表示することができる。例えば、この情報の大きさの順に画像を表示したり、画像の順位を表示するようにすれば、利用者は、撮像された成功画像のうち、いずれの画像が最も成功度合いが高いかを認識することができる。   As described above, the tag of the main image includes positive number information ((MAX (CAij) + MAX () that maximizes the average value of the front maximum contrast value MAX (CAij) and the rear maximum contrast value MAX (CBij). CBij)) / 2 × Z “0 <Z ≦ 1”) is written. Since this information has a positive correlation with the contrast value, it can be said that this information represents the degree of success of the image. Therefore, the main image can be displayed on the display device based on this information. For example, if the images are displayed in order of the size of the information or the order of the images is displayed, the user recognizes which of the captured successful images has the highest degree of success. can do.

なお、本実施の形態では、予め設定された所定数の本画像が抽出された場合に処理を終了するようにしたが、所定数を設定しない場合には、利用者がシャッタボタンを離す、又は記憶媒体の容量が限界に達するまで、撮像を終了しないようにしてもよい。   In the present embodiment, the process ends when a predetermined number of main images set in advance are extracted. However, when the predetermined number is not set, the user releases the shutter button, or Imaging may not be terminated until the capacity of the storage medium reaches the limit.

また、失敗画像と判定された画像を自動的に記憶対象から外して、記憶媒体に記憶しないようにしたが、利用者の要望に応じて、画像が失敗画像であることを利用者が識別できる識別子などを付加して、記憶媒体に記憶するようにしてもよい。この場合、画像を表示するときに明示的に利用者に分かるように報知することが好ましい。   In addition, the image determined as the failed image is automatically excluded from the storage target and is not stored in the storage medium, but the user can identify that the image is the failed image according to the user's request. An identifier or the like may be added and stored in the storage medium. In this case, it is preferable to notify the user so that the user can clearly know when displaying the image.

以上、本発明に係る撮像装置としてのデジタルカメラについて、具体的な実施の形態を示して説明したが、本発明はこれらに限定されるものではない。当業者であれば、本発明の要旨を逸脱しない範囲内において、上述した実施の形態に係る発明の構成及び機能に様々な変更又は改良を加えることが可能である。   The digital camera as the imaging apparatus according to the present invention has been described above with specific embodiments, but the present invention is not limited to these. A person skilled in the art can make various changes or improvements to the configuration and function of the invention according to the above-described embodiment without departing from the gist of the present invention.

本発明に係る撮像装置による第1の判定方法の原理を示す原理図である。It is a principle figure which shows the principle of the 1st determination method by the imaging device which concerns on this invention. 白壁を背景にして被写体を撮像する場合の撮像の様子を示す図である。It is a figure which shows the mode of imaging when image | photographing a to-be-photographed object on a white wall background. 本発明に係る撮像装置による第2の判定方法の原理を示す原理図である。It is a principle figure which shows the principle of the 2nd determination method by the imaging device which concerns on this invention. 本発明に係る撮像装置による第2の判定方法の原理を示す原理図である。It is a principle figure which shows the principle of the 2nd determination method by the imaging device which concerns on this invention. 本発明に係る撮像装置としてのデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera as an imaging device which concerns on this invention. 本発明の実施の形態1に係る撮像装置としてのデジタルカメラの撮像タイミングを示すタイムチャートである。It is a time chart which shows the imaging timing of the digital camera as an imaging device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る撮像装置としてのデジタルカメラの動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow of the digital camera as an imaging device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る撮像装置としてのデジタルカメラの判定処理の動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow of the determination process of the digital camera as an imaging device which concerns on Embodiment 1 of this invention. 前側最大コントラスト領域及び後側最大コントラスト領域に基づく判定処理の方法を示す図である。It is a figure which shows the method of the determination process based on a front side maximum contrast area | region and a back side maximum contrast area | region. 本発明の実施の形態2に係る撮像装置としてのデジタルカメラの撮像タイミングを示すタイムチャートである。It is a time chart which shows the imaging timing of the digital camera as an imaging device which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る撮像装置としてのデジタルカメラの動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow of the digital camera as an imaging device which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る撮像装置としてのデジタルカメラの動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow of the digital camera as an imaging device which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る撮像装置としてのデジタルカメラの判定処理の動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow of the determination process of the digital camera as an imaging device which concerns on Embodiment 2 of this invention.

符号の説明Explanation of symbols

1 デジタルカメラ
10 CPU
11 レンズユニット
12 メカニカルシャッタ
13 撮像素子
14 AD変換部
15 コントラスト検出部
16 タイミング制御部
18 表示制御部
19 表示装置
20 音声制御部
21 音声出力装置
22 記憶制御部
23 記憶媒体
24 入力I/F
25 入力装置
26 外部記憶部
1 Digital camera 10 CPU
DESCRIPTION OF SYMBOLS 11 Lens unit 12 Mechanical shutter 13 Image pick-up element 14 AD conversion part 15 Contrast detection part 16 Timing control part 18 Display control part 19 Display apparatus 20 Audio | voice control part 21 Audio | voice output apparatus 22 Storage control part 23 Storage medium 24 Input I / F
25 Input device 26 External storage unit

Claims (14)

画像と、該画像より画像サイズが小さい小画像とを撮像する撮像素子を備え、該撮像素子にて撮像された所定の画像を記憶媒体に記憶する撮像装置であって、
画像の撮像前及び撮像後に小画像の撮像を指示する手段と、
画像の撮像前に撮像された小画像の第1コントラスト値を検出する第1コントラスト検出手段と、
画像の撮像後に撮像された小画像の第2コントラスト値を検出する第2コントラスト検出手段と、
前記第1コントラスト値及び前記第2コントラスト値に基づいて前記画像の適否を判定する判定手段とを備え、
該判定手段にて前記画像が適であると判定された場合、前記画像を前記記憶媒体に記憶するようにしてあること
を特徴とする撮像装置。
An imaging device that includes an image sensor that captures an image and a small image having a smaller image size than the image, and that stores a predetermined image captured by the image sensor in a storage medium,
Means for instructing to take a small image before and after taking an image;
First contrast detecting means for detecting a first contrast value of a small image captured before capturing an image;
Second contrast detection means for detecting a second contrast value of a small image captured after the image is captured;
Determination means for determining suitability of the image based on the first contrast value and the second contrast value;
An image pickup apparatus, wherein the image is stored in the storage medium when the determination unit determines that the image is appropriate.
前記第1コントラスト値と前記第2コントラスト値との差分値を算出する第1算出手段を備え、
前記判定手段は、
前記第1算出手段にて算出された差分値の絶対値が第1所定値より大きい場合に、前記画像が否であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
First calculating means for calculating a difference value between the first contrast value and the second contrast value;
The determination means includes
Imaging of claim 1 in which the absolute value of the difference value calculated by said first calculation means is greater than a first predetermined value, wherein the image are to be determined to be not apparatus.
一連の撮像を受け付ける受付手段と、
該受付手段によって一連の撮像を受け付けた際に、前記小画像とは異なる小画像の撮像を指示する手段と、
前記小画像の第3コントラスト値を検出する第3コントラスト検出手段と、
前記第3コントラスト値と前記第1コントラスト値との差分値、及び/又は前記第3コントラスト値と前記第2コントラスト値との差分値を算出する第2算出手段とを備え、
前記判定手段は、
前記第2算出手段にて算出された差分値に基づいて前記画像の適否をさらに判定するようにしてあり、
前記差分値の絶対値が第2所定値より大きい場合に、前記画像が否であると判定するようにしてあること
を特徴とする請求項又は請求項に記載の撮像装置。
Receiving means for receiving a series of imaging;
Means for instructing imaging of a small image different from the small image when a series of imaging is received by the receiving unit;
Third contrast detecting means for detecting a third contrast value of the small image;
A second calculation means for calculating a difference value between the third contrast value and the first contrast value and / or a difference value between the third contrast value and the second contrast value;
The determination means includes
The suitability of the image is further determined based on the difference value calculated by the second calculation means,
The absolute value is greater than the second predetermined value, the imaging apparatus according to claim 1 or claim 2, wherein the image are to be determined to be not of the difference value.
画像と、該画像より画像サイズが小さい小画像とを撮像する撮像素子を備え、該撮像素子にて撮像された所定の画像を記憶媒体に記憶する撮像装置であって、
画像の撮像前及び撮像後に小画像の撮像を指示する手段と、
画像の撮像前に撮像された小画像の複数の領域における第1コントラスト値を検出する第1コントラスト検出手段と、
画像の撮像後に撮像された小画像の複数の領域における第2コントラスト値を検出する第2コントラスト検出手段と、
前記第1コントラスト値及び前記第2コントラスト値に基づいて前記画像の適否を判定する判定手段とを備え、
該判定手段にて前記画像が適であると判定された場合、前記画像を前記記憶媒体に記憶するようにしてあること
を特徴とする撮像装置。
An imaging device that includes an image sensor that captures an image and a small image having a smaller image size than the image, and that stores a predetermined image captured by the image sensor in a storage medium,
Means for instructing to take a small image before and after taking an image;
First contrast detection means for detecting a first contrast value in a plurality of regions of a small image captured before capturing an image;
Second contrast detection means for detecting a second contrast value in a plurality of regions of the small image captured after the image is captured;
Determination means for determining suitability of the image based on the first contrast value and the second contrast value;
An image pickup apparatus, wherein the image is stored in the storage medium when the determination unit determines that the image is appropriate.
前記第1コントラスト値の総和である第1総コントラスト値を算出する手段と、
前記第2コントラスト値の総和である第2総コントラスト値を算出する手段と、
前記第1総コントラスト値と前記第2総コントラスト値との差分値を算出する第1算出手段とを備え、
前記判定手段は、
前記第1算出手段によって算出された差分値の絶対値が第1所定値より大きい場合に、前記画像が否であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
Means for calculating a first total contrast value which is a sum of the first contrast values;
Means for calculating a second total contrast value which is a sum of the second contrast values;
First calculating means for calculating a difference value between the first total contrast value and the second total contrast value;
The determination means includes
The imaging apparatus according to claim 4 , wherein when the absolute value of the difference value calculated by the first calculation unit is larger than a first predetermined value, it is determined that the image is negative. .
前記第1コントラスト値のうちの最大のコントラスト値を有する領域を特定する第1特定手段と、
前記第2コントラスト値のうちの最大のコントラスト値を有する領域を特定する第2特定手段と、
前記第1特定手段が特定した領域と前記第2特定手段が特定した領域との離隔長を算出する第2算出手段とを備え、
前記判定手段は、
第2算出手段によって算出された離隔長が所定長より長い場合に、前記画像が否であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
First specifying means for specifying a region having the maximum contrast value among the first contrast values;
Second specifying means for specifying a region having the maximum contrast value of the second contrast values;
A second calculating means for calculating a separation length between the area specified by the first specifying means and the area specified by the second specifying means;
The determination means includes
The imaging apparatus according to claim 5 , wherein when the separation length calculated by the second calculation unit is longer than a predetermined length, it is determined that the image is NO.
前記判定手段は、
前記第1算出手段によって算出された差分値の絶対値が前記第1所定値より小さく、かつ前記第2算出手段によって算出された離隔長が前記所定長より短い場合に、前記画像が適であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
The determination means includes
The image is suitable when the absolute value of the difference value calculated by the first calculation means is smaller than the first predetermined value and the separation length calculated by the second calculation means is shorter than the predetermined length. The imaging apparatus according to claim 6 , wherein the imaging device is determined as follows.
一連の撮像を受け付ける手段と、
該手段によって一連の撮像を受け付けた際に、前記小画像とは異なる小画像の撮像を指示する手段と、
前記小画像の複数の領域における第3コントラスト値を検出する第3コントラスト検出手段と、
前記第3コントラスト値の総和である第3総コントラスト値を算出する手段と、
前記第3総コントラスト値と前記第1総コントラスト値との差分値、及び/又は前記第3総コントラスト値と前記第2総コントラスト値との差分値を算出する第3算出手段とを備え、
前記判定手段は、
前記第3算出手段にて算出された差分値に基づいて前記画像の適否をさらに判定するようにしてあり、
前記差分値の絶対値が第2所定値より大きい場合に、前記画像が否であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
Means for accepting a series of imaging;
Means for instructing imaging of a small image different from the small image when receiving a series of imaging by the means;
Third contrast detecting means for detecting a third contrast value in a plurality of regions of the small image;
Means for calculating a third total contrast value which is a sum of the third contrast values;
A third calculating means for calculating a difference value between the third total contrast value and the first total contrast value and / or a difference value between the third total contrast value and the second total contrast value;
The determination means includes
The suitability of the image is further determined based on the difference value calculated by the third calculation means,
The imaging apparatus according to claim 6 , wherein when the absolute value of the difference value is larger than a second predetermined value, it is determined that the image is NO.
前記判定手段は、
前記第1算出手段にて算出された差分値の絶対値が前記第1所定値より小さく、前記第2算出手段にて算出された離隔長が前記所定長より短く、かつ前記第3算出手段にて算出された差分値の絶対値が前記第2所定値より小さい場合に、前記画像が適であると判定するようにしてあること
を特徴とする請求項に記載の撮像装置。
The determination means includes
The absolute value of the difference value calculated by the first calculation means is smaller than the first predetermined value, the separation length calculated by the second calculation means is shorter than the predetermined length, and the third calculation means The imaging apparatus according to claim 8 , wherein the image is determined to be appropriate when the absolute value of the difference value calculated in the above is smaller than the second predetermined value.
被写体を連続して撮像し、複数の画像の撮像を行えるようにしてあり、
前記判定手段の判定結果に基づいて、撮像された複数の画像のうちから、適と判定された画像を抽出する抽出手段を備えること
を特徴とする請求項1から請求項9のいずれか1つに記載の撮像装置。
The subject is continuously imaged so that multiple images can be captured.
Based on a determination result of said determination means, from a plurality of images captured, one of claims 1 to 9, characterized in that it comprises an extraction means for extracting an image determined as suitable The imaging device described in 1.
前記判定手段の判定結果に基づいて、画像の成功度合いを算出する手段と、
該手段によって算出された成功度合いに基づいて、画像の順位付けを行って表示する表示手段と
を備えることを特徴とする請求項10に記載の撮像装置。
Means for calculating the success degree of the image based on the determination result of the determination means;
The imaging apparatus according to claim 10 , further comprising: a display unit that ranks and displays the images based on the success degree calculated by the unit.
前記判定手段の判定結果を報知する報知手段を備えること
を特徴とする請求項1から請求項11のいずれか1つに記載の撮像装置。
The imaging apparatus according to claim 1, further comprising a notification unit that notifies a determination result of the determination unit.
前記抽出手段によって適と判定された所定数の画像が抽出された場合に、所定数の画像が撮像されたことを報知する報知手段を備えること
を特徴とする請求項10又は請求項11に記載の撮像装置。
If the image of a predetermined number which is determined suitable is extracted by said extraction means, according to claim 10 or claim 11 the predetermined number of images, characterized in that it comprises informing means for informing that it is captured Imaging device.
前記判定手段にて前記画像が否であると判定された場合、前記画像を前記記憶媒体に記憶しないようにしてあること
を特徴とする請求項1から請求項13のいずれか1つに記載の撮像装置。
If the image by the determining unit is determined to be negative, according to any one of claims 13 claim 1, characterized in that said image are to not stored in the storage medium Imaging device.
JP2004247389A 2004-08-26 2004-08-26 Imaging device Expired - Fee Related JP4208796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004247389A JP4208796B2 (en) 2004-08-26 2004-08-26 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004247389A JP4208796B2 (en) 2004-08-26 2004-08-26 Imaging device

Publications (2)

Publication Number Publication Date
JP2006067249A JP2006067249A (en) 2006-03-09
JP4208796B2 true JP4208796B2 (en) 2009-01-14

Family

ID=36113325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004247389A Expired - Fee Related JP4208796B2 (en) 2004-08-26 2004-08-26 Imaging device

Country Status (1)

Country Link
JP (1) JP4208796B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4996864B2 (en) 2006-03-13 2012-08-08 トヨタ自動車株式会社 FUEL CELL SEPARATOR AND METHOD FOR PRODUCING FUEL CELL SEPARATOR
JP2020184669A (en) * 2019-05-07 2020-11-12 シャープ株式会社 Image processing system, imaging apparatus, image processing method, program

Also Published As

Publication number Publication date
JP2006067249A (en) 2006-03-09

Similar Documents

Publication Publication Date Title
US8736689B2 (en) Imaging apparatus and image processing method
US8237803B2 (en) Digital single-lens reflex camera including control section that performs camera shake correction and motion detecting section that detects speed of subject
JP5144422B2 (en) Imaging apparatus and imaging method
US7916182B2 (en) Imaging device and method which performs face recognition during a timer delay
EP2168005B1 (en) Focus control apparatus, image sensing apparatus, and control method therefor
JP4127491B2 (en) Camera with auto focus function
JP5681871B2 (en) Imaging apparatus, imaging method, and program
JP4657960B2 (en) Imaging method and apparatus
JP2005086499A (en) Imaging apparatus
JP2008288975A (en) Imaging apparatus, imaging method and imaging program
KR101728042B1 (en) Digital photographing apparatus and control method thereof
JP2007318725A (en) Camera, photographing control method of camera, program, and recording medium
JP2006025238A (en) Imaging device
JP5267609B2 (en) Imaging apparatus and program thereof
JP4799366B2 (en) Imaging apparatus and image reproduction apparatus
JP2003307669A (en) Camera
JP2010183559A (en) Image capturing apparatus, control method thereof, and program
JP2006067452A (en) Video recording apparatus, and electronic camera
JP2011217103A (en) Compound eye photographing method and apparatus
KR20120080376A (en) Digital image photographing apparatus and method for controlling the same
JP2009212802A (en) Imaging apparatus with composition assisting function, and composition assisting method of the same imaging apparatus
JP2011217334A (en) Imaging apparatus and method of controlling the same
JP2010193324A (en) Camera apparatus, photographing method thereof and program
JP2009017427A (en) Imaging device
JP4208796B2 (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080902

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080926

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081021

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081021

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees