JP2014132708A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2014132708A
JP2014132708A JP2013000143A JP2013000143A JP2014132708A JP 2014132708 A JP2014132708 A JP 2014132708A JP 2013000143 A JP2013000143 A JP 2013000143A JP 2013000143 A JP2013000143 A JP 2013000143A JP 2014132708 A JP2014132708 A JP 2014132708A
Authority
JP
Japan
Prior art keywords
image
unit
image data
water surface
imaging
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.)
Granted
Application number
JP2013000143A
Other languages
Japanese (ja)
Other versions
JP6045348B2 (en
JP2014132708A5 (en
Inventor
Yuya Matsuki
優也 松木
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2013000143A priority Critical patent/JP6045348B2/en
Publication of JP2014132708A publication Critical patent/JP2014132708A/en
Publication of JP2014132708A5 publication Critical patent/JP2014132708A5/en
Application granted granted Critical
Publication of JP6045348B2 publication Critical patent/JP6045348B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus capable of facilitating the imaging at a moment when water splashes.SOLUTION: An image data acquisition unit 11c acquires image data being contrast information, for example, in each part of an image captured by an imaging unit 12. A periodicity determination unit 11e identifies a part with a periodic change among the image data acquired by the image data acquisition unit 11c. A water level determination unit 11d identifies the position of a water level included in the image on the basis of the image data with a periodic change. An average value calculation unit 11f calculates the average value of the image data with a periodic change. A water splash detection unit 11g detects a dynamic body appearing upward from a water level and identifies the dynamic body as a water splash by performing comparison with the average value.

Description

本発明は、撮像装置に関する。   The present invention relates to an imaging apparatus.

近年、機器の電子化、集積化、部品技術の進展によって、頑丈かつ水密性に優れた撮像装置が市場に多く投入されている。このような水密性に優れた撮像装置は、撮影を実施できるシーンを拡大し、撮影者が様々なレジャーシーンや毎日の生活の楽しい一瞬を記録することを容易にしている。   In recent years, due to the advancement of computerization, integration, and component technology of devices, a large number of robust and watertight imaging devices have been put on the market. Such an imaging device with excellent water tightness expands the scenes in which photographing can be performed, and makes it easy for the photographer to record various leisure scenes and fun moments of daily life.

また、様々な撮影シーンにおいて、決定的瞬間を撮影するための方法が提案されている。例えば特許文献1には、ゴルフの撮影シーンにおいてインパクトの瞬間を検出して撮影する撮像装置に係る技術が開示されている。   In addition, a method for shooting a decisive moment in various shooting scenes has been proposed. For example, Patent Document 1 discloses a technique related to an imaging apparatus that detects and captures an impact moment in a golf shooting scene.

特開2010−239169号公報JP 2010-239169 A

上述のような水密性に優れた撮像装置によって水辺の撮影シーンで撮影が行われるとき、特別な演出がなされた写真として水しぶきが上がる瞬間の写真の撮影が好まれる。しかしながら、水しぶきが上がる瞬間の撮影を成功させるためには、撮影者にとって経験が必要である。   When shooting is performed in a waterside shooting scene with the above-described imaging device having excellent water tightness, it is preferable to take a picture at the moment when the splashes rise as a photograph with a special effect. However, experience is necessary for the photographer to succeed in photographing at the moment when the splashes rise.

上述の特許文献1に開示されている技術によれば、撮像装置はゴルフのインパクトの瞬間を撮影することができる。これは、予め記録されたゴルフクラブのヘッドの形状などに基づいて、インパクトの瞬間を予測することで行われる。この技術を、水しぶきの撮影に応用することは、水が流動的で所定の形状を有していないため困難である。   According to the technique disclosed in Patent Document 1 described above, the imaging device can capture a moment of golf impact. This is performed by predicting the moment of impact based on the shape of the head of the golf club recorded in advance. It is difficult to apply this technique to the shooting of splashes because water is fluid and does not have a predetermined shape.

本発明は、流動的である水が跳ねる瞬間を容易に撮影することができる撮像装置を提供することを目的とする。   An object of this invention is to provide the imaging device which can image | photograph the moment when the water which is fluid bounces easily.

前記目的を果たすため、本発明の一態様によれば、撮像装置は、被写体像を撮像して画像を取得する撮像部と、前記画像における所定の検出位置の画像データの経時変化を取得する画像データ取得部と、前記画像データの前記経時変化の周期性に基づいて、前記画像における水面を判定する水面判定部と、を具備する。   In order to achieve the above object, according to one aspect of the present invention, an imaging apparatus captures an image of a subject and acquires an image, and an image that acquires a temporal change in image data at a predetermined detection position in the image. A data acquisition unit; and a water surface determination unit that determines a water surface in the image based on the periodicity of the temporal change of the image data.

本発明によれば、流動的である水が跳ねる瞬間を容易に撮影することができる撮像装置を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the imaging device which can image | photograph the moment when the water which is fluid bounces can be provided easily.

一実施形態に係るデジタルカメラの構成例を示すブロック図。1 is a block diagram illustrating a configuration example of a digital camera according to an embodiment. 一実施形態に係る処理の一例を示すフローチャート。The flowchart which shows an example of the process which concerns on one Embodiment. 一実施形態に係るデジタルカメラが用いられる場面の一例を示す図。The figure which shows an example of the scene where the digital camera which concerns on one Embodiment is used. 一実施形態に係る画像における座標系の一例を示す図。The figure which shows an example of the coordinate system in the image which concerns on one Embodiment. 一実施形態に係る画像と当該画像における座標との一例を示す図。The figure which shows an example of the image which concerns on one Embodiment, and the coordinate in the said image. 一実施形態に係る時間経過に応じたY座標と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between Y coordinate and image data according to time passage concerning one Embodiment. 一実施形態に係る時間経過に応じたY座標と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between Y coordinate and image data according to time passage concerning one Embodiment. 一実施形態に係る時間経過に応じたY座標と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between Y coordinate and image data according to time passage concerning one Embodiment. 一実施形態に係る一検出位置における経過時間と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between the elapsed time and image data in one detection position concerning one Embodiment. 一実施形態に係る一検出位置における経過時間と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between the elapsed time and image data in one detection position concerning one Embodiment. 一実施形態に係る一検出位置における経過時間と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between the elapsed time and image data in one detection position concerning one Embodiment. 一実施形態に係る一検出位置における経過時間と画像データとの関係の一例を示す図。The figure which shows an example of the relationship between the elapsed time and image data in one detection position concerning one Embodiment. 一実施形態に係る水面判定処理の一例を示すフローチャート。The flowchart which shows an example of the water surface determination process which concerns on one Embodiment. 一実施形態に係る再生モード処理の一例を示すフローチャート。6 is a flowchart illustrating an example of a playback mode process according to an embodiment. 一実施形態に係るデジタルカメラが用いられる場面の一例を示す図。The figure which shows an example of the scene where the digital camera which concerns on one Embodiment is used.

本発明の一実施形態について図面を参照して説明する。本実施形態に係る撮像装置としてのデジタルカメラ1の概略を図1に示す。デジタルカメラ1は、例えば、レンズ交換式のカメラである。ただし、レンズ交換式に限る必要はなく、レンズが固定されたカメラにも本実施形態に係る技術は適用され得る。   An embodiment of the present invention will be described with reference to the drawings. An outline of a digital camera 1 as an imaging apparatus according to the present embodiment is shown in FIG. The digital camera 1 is, for example, a lens interchangeable camera. However, the present invention is not limited to the interchangeable lens type, and the technology according to the present embodiment can be applied to a camera in which a lens is fixed.

レンズ交換式のデジタルカメラ1は、カメラ本体10と、レンズ20とを有する。ユーザは、カメラ本体10に好みのレンズ20を取り付けて撮影を行う。レンズ20は、被写体像を後述するカメラ本体10に設けられた撮像素子12bに導く。ここでは、レンズ20は、ズームレンズであるものとして説明を行う。レンズ20は、光路部26を有する。光路部26には、レンズ部26aと、絞り機構26bとが設けられている。レンズ部26aは、複数のレンズ要素の位置を移動させてズーム機能やピント調整機能を実現する。絞り機構26bは、絞りの開閉動作をすることで、撮像素子12bに導かれる光の量を調整する。   The interchangeable lens digital camera 1 includes a camera body 10 and a lens 20. The user shoots with the favorite lens 20 attached to the camera body 10. The lens 20 guides the subject image to an image sensor 12b provided in the camera body 10 described later. Here, description will be made assuming that the lens 20 is a zoom lens. The lens 20 has an optical path portion 26. The optical path portion 26 is provided with a lens portion 26a and a diaphragm mechanism 26b. The lens unit 26a realizes a zoom function and a focus adjustment function by moving the positions of a plurality of lens elements. The diaphragm mechanism 26b adjusts the amount of light guided to the image sensor 12b by opening and closing the diaphragm.

レンズ20は、光路部26等の動作を制御する制御部21を有する。また、レンズ20は、制御部21の制御下でレンズ部26aの動作を制御するレンズ制御部24と、制御部21の制御下で絞り機構26bの動作を制御する絞り制御部25とを備える。また、レンズ20は、レンズ特性や制御データやプログラム等を記録している記憶部27を有する。さらにレンズ20は、カメラ本体10と通信するための本体通信部22とを有する。制御部21は、記憶部27に記録された制御データやプログラム、本体通信部22を介して取得された各種制御パラメータに基づき、レンズ制御部24や絞り制御部25に指令を出力する。   The lens 20 includes a control unit 21 that controls the operation of the optical path unit 26 and the like. The lens 20 also includes a lens control unit 24 that controls the operation of the lens unit 26 a under the control of the control unit 21, and an aperture control unit 25 that controls the operation of the aperture mechanism 26 b under the control of the control unit 21. The lens 20 includes a storage unit 27 that stores lens characteristics, control data, programs, and the like. Further, the lens 20 includes a main body communication unit 22 for communicating with the camera main body 10. The control unit 21 outputs commands to the lens control unit 24 and the aperture control unit 25 based on control data and programs recorded in the storage unit 27 and various control parameters acquired via the main body communication unit 22.

また、レンズ20は、リング部23aを有する。リング部23aの回転動作等は、リング判定部23bで判定される。例えばズームリングであるリング部23aは、レンズ部26aとギアやカムを用いて機械的には連携していない。本実施形態のレンズ20では、リング判定部23bは、リング部23aの変位を取得し、制御部21にリング部23aの変位に係る情報を出力する。制御部21は、入力された情報に基づいてレンズ部26aの動作に係る指令をレンズ制御部24に出力する。レンズ制御部24は、例えば小型アクチュエータやメカトロニクス技術を用いた駆動機構によって、レンズ部26aのレンズを駆動させる。   The lens 20 has a ring portion 23a. The rotation operation and the like of the ring unit 23a are determined by the ring determination unit 23b. For example, the ring portion 23a, which is a zoom ring, is not mechanically linked with the lens portion 26a using a gear or a cam. In the lens 20 of the present embodiment, the ring determination unit 23b acquires the displacement of the ring unit 23a and outputs information related to the displacement of the ring unit 23a to the control unit 21. The control unit 21 outputs a command related to the operation of the lens unit 26 a to the lens control unit 24 based on the input information. The lens control unit 24 drives the lens of the lens unit 26a by a driving mechanism using, for example, a small actuator or mechatronics technology.

一方、カメラ本体10は、各種信号を処理し、カメラ本体10の各部を制御する信号処理制御部11を有する。信号処理制御部11は、例えば集積回路を含む。また、カメラ本体10は、撮像素子12bを有する。撮像素子12bは、撮像動作をする。すなわち、撮像素子12bは、レンズ20から入射した被写体像を電気信号に変換し、画像信号を生成する。撮像素子12bは、生成した画像信号を信号処理制御部11に出力する。このように、光路部26及び撮像素子12bを含む部分によって、被写体像を撮像して画像を取得する撮像部12として機能する部位を形成する。信号処理制御部11は、後述するように、撮像制御部11aと画像処理部11bとを含む。撮像制御部11aは、撮像部12の動作を制御する。画像処理部11bは、撮像部12で取得された画像信号を処理し、例えば画像の表示や記録に必要な画像処理を行う。   On the other hand, the camera body 10 includes a signal processing control unit 11 that processes various signals and controls each part of the camera body 10. The signal processing control unit 11 includes, for example, an integrated circuit. The camera body 10 includes an image sensor 12b. The imaging element 12b performs an imaging operation. That is, the image sensor 12b converts the subject image incident from the lens 20 into an electrical signal, and generates an image signal. The image sensor 12 b outputs the generated image signal to the signal processing control unit 11. In this manner, a portion that functions as the imaging unit 12 that captures a subject image and acquires an image is formed by the portion including the optical path unit 26 and the imaging element 12b. As will be described later, the signal processing control unit 11 includes an imaging control unit 11a and an image processing unit 11b. The imaging control unit 11 a controls the operation of the imaging unit 12. The image processing unit 11b processes the image signal acquired by the imaging unit 12, and performs image processing necessary for displaying and recording an image, for example.

カメラ本体10には、スイッチ等、ユーザの様々な操作による入力を受け取る操作部16が設けられている。操作部16は、ユーザの右手の人差し指が配置される位置に設けられたレリーズスイッチを含む。また、操作部16は、シャッタースピード、絞り、露出補正、感度設定、ピント位置等の撮影パラメータの変更が入力されるスイッチやダイヤルや十字キー等を含む。   The camera body 10 is provided with an operation unit 16 that receives input by various operations of the user, such as a switch. The operation unit 16 includes a release switch provided at a position where the index finger of the user's right hand is arranged. The operation unit 16 includes a switch, a dial, a cross key, and the like for inputting changes in shooting parameters such as shutter speed, aperture, exposure correction, sensitivity setting, and focus position.

カメラ本体10は、例えばその背面に表示部18を有している。表示部18は、例えば液晶表示パネルを含む。表示部18には、有機ELパネル等、他の表示用デバイスが用いられてもよい。表示部18上には、タッチパネル18bが設けられている。タッチパネル18bは、ユーザの指示の入力を受け取る。ユーザは、例えば表示部18に表示されたアイコンに対応する位置を触れることにより、デジタルカメラ1の操作を行うことができる。例えばタッチパネル18bは、注目被写体の入力や、ズーム動作の入力や、露光の調整の入力にも用いられ得る。ユーザによってタッチされたことによりタッチパネル18bが発生する信号は、信号処理制御部11に出力される。   The camera body 10 has a display unit 18 on the back surface, for example. The display unit 18 includes, for example, a liquid crystal display panel. Another display device such as an organic EL panel may be used for the display unit 18. A touch panel 18 b is provided on the display unit 18. The touch panel 18b receives a user instruction input. For example, the user can operate the digital camera 1 by touching a position corresponding to the icon displayed on the display unit 18. For example, the touch panel 18b can be used for inputting an object of interest, inputting a zoom operation, and inputting exposure adjustment. A signal generated by the touch panel 18b when touched by the user is output to the signal processing control unit 11.

カメラ本体10には、撮影して生成された画像データを記録するための記録部14が設けられている。この記録部14は、一般的な記録媒体として、カメラ本体10に対して取り外し可能に接続されている。   The camera body 10 is provided with a recording unit 14 for recording image data generated by photographing. The recording unit 14 is detachably connected to the camera body 10 as a general recording medium.

カメラ本体10は、顔検出部13を有する。顔検出部13は、撮像素子12bで取得された画像における顔の位置を特定する。顔検出部13は、検出した顔の位置を信号処理制御部11に出力する。また、カメラ本体10は、姿勢センサとしての加速度センサ17を有する。加速度センサ17は、デジタルカメラ1の姿勢、すなわち、例えば、デジタルカメラ1が横位置で構えられているか縦位置で構えられているかといった情報を信号処理制御部11に出力する。   The camera body 10 has a face detection unit 13. The face detection unit 13 specifies the position of the face in the image acquired by the image sensor 12b. The face detection unit 13 outputs the detected face position to the signal processing control unit 11. The camera body 10 also has an acceleration sensor 17 as an attitude sensor. The acceleration sensor 17 outputs information on the attitude of the digital camera 1, that is, for example, whether the digital camera 1 is held in a horizontal position or a vertical position to the signal processing control unit 11.

また、カメラ本体10は、レンズ20の本体通信部22と通信するためのレンズ通信部15を有する。カメラ本体10からレンズ20へのレンズ20の動作の指示や、レンズ20からカメラ本体10へのレンズ20の状態に係る情報の転送等は、レンズ通信部15と本体通信部22とを介して行われる。また、カメラ本体10は、撮影した画像に撮影日時のデータを付加する等のため、時計19を有する。   Further, the camera body 10 includes a lens communication unit 15 for communicating with the body communication unit 22 of the lens 20. Instructions for the operation of the lens 20 from the camera body 10 to the lens 20, transfer of information related to the state of the lens 20 from the lens 20 to the camera body 10, etc. are performed via the lens communication unit 15 and the body communication unit 22. Is called. The camera body 10 also includes a clock 19 for adding shooting date / time data to the shot image.

信号処理制御部11は、撮像制御部11aと、画像処理部11bと、画像データ取得部11cと、水面判定部11dと、平均値算出部11fと、水しぶき検出部11gと、フレームレート変更部11hと、記憶部11iとを含む。撮像制御部11aは、前述のとおり撮像部12の動作を制御する。撮像制御部11aは、例えば後述の水しぶき検出部11gが水しぶきを検出したとき、撮像部12に撮像動作を行わせる。画像処理部11bは、撮像部12で取得された画像を処理し、表示部18に表示させるプレビュー画像を作成する。また、画像処理部11bは、例えば記録部14に記録する画像を作成する。また、画像処理部11bは、水しぶきに係る画像に対して、コントラストを強調したり、青色を強調したりする画像処理を行う。   The signal processing control unit 11 includes an imaging control unit 11a, an image processing unit 11b, an image data acquisition unit 11c, a water surface determination unit 11d, an average value calculation unit 11f, a splash detection unit 11g, and a frame rate change unit 11h. And a storage unit 11i. The imaging control unit 11a controls the operation of the imaging unit 12 as described above. The imaging control unit 11a causes the imaging unit 12 to perform an imaging operation when, for example, a splash detection unit 11g described later detects the splashing. The image processing unit 11 b processes the image acquired by the imaging unit 12 and creates a preview image to be displayed on the display unit 18. In addition, the image processing unit 11b creates an image to be recorded in the recording unit 14, for example. In addition, the image processing unit 11b performs image processing for enhancing the contrast or enhancing the blue color on the image related to the splashing.

画像データ取得部11cは、撮像部12で撮像された画像について、その画像の検出位置における例えばコントラストや明るさといった画像に関する情報を含む画像データを取得する。画像データ取得部11cは、画像データの経時変化を取得することができる。水面判定部11dは、周期性判定部11eを含む。周期性判定部11eは、画像データ取得部11cが取得した画像データのうち、周期的に変化している部分を特定する。水面判定部11dは、周期性判定部11eが特定した周期的に変化している画像データに係る情報と、画像データとに基づいて、当該画像に水面が含まれるか否か及び水面が含まれる場合その位置を特定する。   The image data acquisition unit 11c acquires image data including information about an image such as contrast and brightness at the detection position of the image captured by the imaging unit 12. The image data acquisition unit 11c can acquire a change with time of the image data. The water surface determination unit 11d includes a periodicity determination unit 11e. The periodicity determination unit 11e identifies a portion that periodically changes in the image data acquired by the image data acquisition unit 11c. The water surface determination unit 11d determines whether or not a water surface is included in the image and includes the water surface based on the information related to the periodically changing image data specified by the periodicity determination unit 11e and the image data. If so, specify its location.

平均値算出部11fは、周期性判定部11eで特定された周期的に変化している画像データについて、その画像データの平均値を算出する。水しぶき検出部11gは、水面から上向きに現れる動体を検出し、その動体を水しぶきであると特定する。フレームレート変更部11hは、画像中に水面があると特定されたとき、プレビュー画像のフレームレートを変更する。   The average value calculation unit 11f calculates the average value of the image data for the periodically changing image data specified by the periodicity determination unit 11e. The splash detection unit 11g detects a moving object that appears upward from the water surface, and identifies the moving object as a splash. The frame rate changing unit 11h changes the frame rate of the preview image when it is specified that there is a water surface in the image.

記憶部11iは、例えばROM及びRAMを含む。ROMは、例えば信号処理制御部11による制御に用いるプログラム等を記憶している。RAMであり、例えば信号処理制御部11による処理結果を一時的に記憶する。   The storage unit 11i includes, for example, a ROM and a RAM. The ROM stores, for example, a program used for control by the signal processing control unit 11. A RAM, for example, temporarily stores a processing result by the signal processing control unit 11.

本実施形態に係るデジタルカメラ1の動作について説明する。本実施形態に係るデジタルカメラ1は、水辺において水しぶきが上がっているときを特定して、水しぶきが上がっている場面を撮影することができる。デジタルカメラ1は、水しぶきが上がっている期間において連続撮影を行う水しぶき連写モードと、水しぶきが上がった瞬間を撮影する水しぶき撮影モードとを有する。これらモードは、ユーザによって選択され得る。また、これらのモードが選択されているときも、ユーザの意思によって撮影が行われ得る。   The operation of the digital camera 1 according to this embodiment will be described. The digital camera 1 according to the present embodiment can capture a scene where the splash is rising by specifying when the splash is rising on the waterside. The digital camera 1 has a splash continuous shooting mode in which continuous shooting is performed during a period in which the splash is rising, and a splash shooting mode in which a moment when the splash is raised is shot. These modes can be selected by the user. Also, when these modes are selected, shooting can be performed according to the user's intention.

本実施形態に係るカメラ制御について、図2に示されるフローチャートを参照して説明する。ステップS101において、信号処理制御部11は、撮影モードであるか否かを判定する。撮影モードであると判定されたとき、処理はステップS102に進む。ステップS102において、信号処理制御部11は、レンズ20と通信を行い、レンズ20の駆動の指令及びレンズ20に係る情報の取得を行う。ステップS103において、信号処理制御部11は、スルー画表示を行わせる。すなわち、信号処理制御部11は、撮像部12で取得された画像に対して画像処理を施し、その画像を表示部18に表示させる。なお、このときのスルー画のフレームレートは、例えば30fpsである。   Camera control according to the present embodiment will be described with reference to a flowchart shown in FIG. In step S101, the signal processing control unit 11 determines whether or not the shooting mode is set. When it is determined that the shooting mode is set, the process proceeds to step S102. In step S <b> 102, the signal processing control unit 11 communicates with the lens 20, and acquires a command for driving the lens 20 and information related to the lens 20. In step S103, the signal processing control unit 11 displays a through image display. That is, the signal processing control unit 11 performs image processing on the image acquired by the imaging unit 12 and causes the display unit 18 to display the image. Note that the frame rate of the through image at this time is, for example, 30 fps.

ステップS104において、信号処理制御部11は、水面判定処理を行う。水面判定処理について図3乃至図8を参照して説明する。本実施形態に係るデジタルカメラ1は、前述のとおり水しぶきが上がる場面で用いられる。デジタルカメラ1は、例えば、図3に示されるように子どもが風呂場ではしゃいでいる場面で用いられ得る。本実施形態では、例えば図4に示されるように、画像において水平方向にX軸を定義し、垂直方向にY軸を定義する。本実施形態では、水平方向にX1,X2,X3の3箇所が定義されており、垂直方向にY1,Y2,Y3の3箇所が定義されている。すなわち、図3に示されるような画像では、図5に示されるように座標が定義される。以降、この図を例に挙げて説明を行う。   In step S104, the signal processing control unit 11 performs a water surface determination process. The water surface determination process will be described with reference to FIGS. As described above, the digital camera 1 according to the present embodiment is used in a scene in which splashes rise. The digital camera 1 can be used, for example, in a scene where a child is talking in a bathroom as shown in FIG. In the present embodiment, for example, as shown in FIG. 4, the X axis is defined in the horizontal direction and the Y axis is defined in the vertical direction in the image. In the present embodiment, three locations X1, X2, and X3 are defined in the horizontal direction, and three locations Y1, Y2, and Y3 are defined in the vertical direction. That is, in the image as shown in FIG. 3, the coordinates are defined as shown in FIG. Hereinafter, this figure will be described as an example.

X座標がX1である垂直線上におけるY座標と画像データとの関係を図6Aに示す。ここで、画像データとしては、例えばコントラストや明るさが用いられ得る。図6Aにおいて、Y11は(X1,Y1)の位置を示し、Y12は(X1,Y2)の位置を示し、Y13は(X1,Y3)の位置を示す。また、図6Aにおいて、実線L11は、時刻T1におけるY座標と画像データとの関係を示し、破線L12は、時刻T2におけるY座標と画像データとの関係を示し、一点鎖線L13は、時刻T3におけるY座標と画像データとの関係を示す。図5に示されるように、画像において(X1,Y1)の近傍は水面を表すので、水面の揺らぎのため、図6Aに示されるように、Y11の近傍の画像データは、周期的に変化する。すなわち、Y11における時間と画像データとの関係は、例えば図7Aに示されるようになる。   FIG. 6A shows the relationship between the Y coordinate and the image data on the vertical line where the X coordinate is X1. Here, for example, contrast or brightness can be used as the image data. In FIG. 6A, Y11 indicates the position of (X1, Y1), Y12 indicates the position of (X1, Y2), and Y13 indicates the position of (X1, Y3). In FIG. 6A, a solid line L11 indicates the relationship between the Y coordinate and the image data at time T1, a broken line L12 indicates the relationship between the Y coordinate and the image data at time T2, and an alternate long and short dash line L13 indicates the relationship at time T3. The relationship between Y coordinate and image data is shown. As shown in FIG. 5, in the image, the vicinity of (X1, Y1) represents the water surface. Therefore, the image data in the vicinity of Y11 changes periodically as shown in FIG. 6A due to the fluctuation of the water surface. . That is, the relationship between the time at Y11 and the image data is as shown in FIG. 7A, for example.

一方、図5に示されるように、画像における(X1,Y2)の近傍は子どもの体を表すので、図6Aに示されるように、Y12の近傍の画像データは、あまり変化しない。すなわち、Y12における時間と画像データとの関係は、例えば図7Bに示されるようになる。また、図5に示されるように、画像における(X1,Y3)の近傍は子どもの顔を表すので、子どもの顔の動きに応じて、図6Aに示されるようにY13の近傍の画像データはランダムに変化する。すなわち、Y13における時間と画像データとの関係は、例えば図7Cに示されるようになる。   On the other hand, as shown in FIG. 5, the vicinity of (X1, Y2) in the image represents the child's body, so that the image data in the vicinity of Y12 does not change much as shown in FIG. 6A. That is, the relationship between the time at Y12 and the image data is as shown in FIG. 7B, for example. Also, as shown in FIG. 5, the neighborhood of (X1, Y3) in the image represents the child's face, so that the image data in the vicinity of Y13 is shown in FIG. 6A according to the movement of the child's face. Change randomly. That is, the relationship between the time at Y13 and the image data is as shown in FIG. 7C, for example.

X座標がX2である垂直線上におけるY座標と画像データとの関係を図6Bに示す。図6Bにおいて、Y21は(X2,Y1)の位置を示し、Y22は(X2,Y2)の位置を示し、Y23は(X2,Y3)の位置を示す。また、図6Bにおいて、実線L21は、時刻T1におけるY座標と画像データとの関係を示し、破線L22は、時刻T2におけるY座標と画像データとの関係を示し、一点鎖線L23は、時刻T3におけるY座標と画像データとの関係を示す。図5に示されるように、画像における(X2,Y1)の近傍は水面を表すので、水面の揺らぎのため、図6Bに示されるように、Y21の近傍の画像データは、周期的に変化する。Y21における時間と画像データとの関係は、例えば図7Aと同様になる。   FIG. 6B shows the relationship between the Y coordinate and the image data on the vertical line where the X coordinate is X2. In FIG. 6B, Y21 indicates the position of (X2, Y1), Y22 indicates the position of (X2, Y2), and Y23 indicates the position of (X2, Y3). In FIG. 6B, a solid line L21 indicates the relationship between the Y coordinate and the image data at time T1, a broken line L22 indicates the relationship between the Y coordinate and the image data at time T2, and an alternate long and short dash line L23 indicates the relationship at time T3. The relationship between Y coordinate and image data is shown. As shown in FIG. 5, since the vicinity of (X2, Y1) in the image represents the water surface, the image data in the vicinity of Y21 changes periodically as shown in FIG. 6B due to the fluctuation of the water surface. . The relationship between the time at Y21 and the image data is the same as in FIG. 7A, for example.

図5に示されるように、画像における(X2,Y2)の近傍は水面を表すので、図6Bに示されるように、水面の揺らぎのため、Y22の近傍の画像データは、周期的に変化する。図5に示されるように(X2,Y2)において水しぶきが上がっている。このように水しぶきが上がるとき、図6Bに示されるように、水面から上向きに移動する動体を表す画像データが検出される。なお、1点における画像データの経時変化に注目すると、水しぶきが上がるときに対応して、画像データは不規則に変化する。すなわち、Y22における時間と画像データとの関係は、例えば図7Dに示されるようになる。本実施形態では、このような、水面から上向きの動体を表す画像データの変化に基づいて、水しぶきが上がったことを検出する。   As shown in FIG. 5, since the vicinity of (X2, Y2) in the image represents the water surface, as shown in FIG. 6B, the image data in the vicinity of Y22 changes periodically due to the fluctuation of the water surface. . As shown in FIG. 5, the spray is rising at (X2, Y2). When the splashes rise in this way, as shown in FIG. 6B, image data representing a moving body that moves upward from the water surface is detected. If attention is paid to the temporal change of the image data at one point, the image data changes irregularly in response to the splashing. That is, the relationship between the time at Y22 and the image data is as shown in FIG. 7D, for example. In the present embodiment, it is detected that the splash has risen based on such a change in the image data representing the moving object that is upward from the water surface.

また、図5に示されるように、画像における(X2,Y3)の近傍は壁を表すので、図6Bに示されるように、Y23の近傍の画像データは、変化しない。Y23における時間と画像データとの関係は、例えば図7Bと同様になる。   Further, as shown in FIG. 5, the vicinity of (X2, Y3) in the image represents a wall, so that the image data in the vicinity of Y23 does not change as shown in FIG. 6B. The relationship between the time in Y23 and the image data is the same as in FIG. 7B, for example.

X座標がX3である垂直線上におけるY座標と画像データとの関係を図6Cに示す。図6Cにおいて、Y31は(X3,Y1)の位置を示し、Y32は(X3,Y2)の位置を示し、Y33は(X3,Y3)の位置を示す。また、図6Cにおいて、実線L31は、時刻T1におけるY座標と画像データとの関係を示し、破線L32は、時刻T2におけるY座標と画像データとの関係を示し、一点鎖線L33は、時刻T3におけるY座標と画像データとの関係を示す。図5に示されるように、画像における(X3,Y1)の近傍は水面を表すので、水面の揺らぎのため、図6Cに示されるように、Y31の近傍の画像データは、周期的に変化する。Y31における時間と画像データとの関係は、例えば図7Aと同様になる。   FIG. 6C shows the relationship between the Y coordinate and the image data on the vertical line where the X coordinate is X3. In FIG. 6C, Y31 indicates the position of (X3, Y1), Y32 indicates the position of (X3, Y2), and Y33 indicates the position of (X3, Y3). In FIG. 6C, a solid line L31 indicates the relationship between the Y coordinate and the image data at time T1, a broken line L32 indicates the relationship between the Y coordinate and the image data at time T2, and an alternate long and short dash line L33 indicates the relationship at time T3. The relationship between Y coordinate and image data is shown. As shown in FIG. 5, since the vicinity of (X3, Y1) in the image represents the water surface, the image data in the vicinity of Y31 changes periodically as shown in FIG. 6C due to the fluctuation of the water surface. . The relationship between the time at Y31 and the image data is the same as in FIG. 7A, for example.

図5に示されるように、画像における(X3,Y2)の近傍はバスタブを表し、(X3,Y3)の近傍は壁を表すので、図6Cに示されるように、Y32及びY33の近傍の画像データは、変化しない。Y32及びY33における時間と画像データとの関係は、例えば図7Bと同様になる。   As shown in FIG. 5, the neighborhood of (X3, Y2) in the image represents a bathtub, and the neighborhood of (X3, Y3) represents a wall. Therefore, as shown in FIG. 6C, an image in the vicinity of Y32 and Y33. Data does not change. The relationship between time and image data at Y32 and Y33 is the same as that shown in FIG. 7B, for example.

以上のような画像における座標と時刻とに対する画像データの変化と、水面は水平方向に広がっていることとから、例えば上記の例では、特にY座標がY1の位置((X1,Y1)(X2,Y1)(X3,Y1))に水面があるということが特定され得る。また、図6Bや図7Dに示すようなデータから、水しぶきがいつどこで発生したかが特定され得る。本実施形態では、上述のように、画像データの時間変化に基づいて、水面の特定が行われる。   For example, in the above example, the position where the Y coordinate is Y1 ((X1, Y1) (X2) because the change in the image data with respect to the coordinates and time in the image as described above and the water surface spread in the horizontal direction. , Y1) (X3, Y1)) can be identified as having a water surface. In addition, from the data as shown in FIG. 6B and FIG. 7D, it is possible to specify when and where the splash has occurred. In the present embodiment, as described above, the water surface is specified based on the temporal change of the image data.

ステップS104において行われる本実施形態に係る水面判定処理について、図8に示されるフローチャートを参照して説明する。水面判定処理は、例えばプレビュー画像として取得された画像に対して行われる。ステップS201において、信号処理制御部11は、検出位置であるY11と、Y12と、Y13と、Y21と、Y22と、Y23と、Y31と、Y32と、Y33とに係る画像データの時間変化を取得する。ここで画像データとして、例えばコントラスト値が用いられる。ステップS202において、信号処理制御部11は、Y11と、Y12と、Y13と、Y21と、Y22と、Y23と、Y31と、Y32と、Y33とのうち、画像データの変化が大きい位置を検出する。この画像データの変化が大きい位置には、水面も含まれるし、上記の例におけるY13のように、例えば人が動いている部分も含まれ得る。   The water surface determination process according to the present embodiment performed in step S104 will be described with reference to the flowchart shown in FIG. The water surface determination process is performed on an image acquired as a preview image, for example. In step S <b> 201, the signal processing control unit 11 obtains temporal changes in the image data relating to detection positions Y11, Y12, Y13, Y21, Y22, Y23, Y31, Y32, and Y33. To do. Here, for example, a contrast value is used as the image data. In step S202, the signal processing control unit 11 detects a position where the change in the image data is large among Y11, Y12, Y13, Y21, Y22, Y23, Y31, Y32, and Y33. . The position where the change in the image data is large includes the water surface, and may include a portion where a person is moving, for example, Y13 in the above example.

ステップS203において、信号処理制御部11は、Y11と、Y12と、Y13と、Y21と、Y22と、Y23と、Y31と、Y32と、Y33とのうち何れかの画像データが周期的に変化しているか否かを判定する。周期的に変化していると判定されたとき、処理はステップS204に進む。ステップS204において、信号処理制御部11は、Y11と、Y12と、Y13と、Y21と、Y22と、Y23と、Y31と、Y32と、Y33とに基づいて、画像データが周期的に変化している座標を特定する。この画像データが周期的に変化している位置は、水面が揺らいでいる位置、すなわち水面の位置と考えられる。そこで、信号処理制御部11は、特定された画像データが周期的に変化している座標に基づいて、水面位置を特定する。この際、水面は水平方向に広がっていることも利用する。ステップS205において、信号処理制御部11は、周期的に変化している座標に係る画像データの平均値を算出する。その後、水面判定処理は終了し、図2を参照して説明しているメインフローに戻る。   In step S203, the signal processing control unit 11 periodically changes the image data of any of Y11, Y12, Y13, Y21, Y22, Y23, Y31, Y32, and Y33. It is determined whether or not. When it is determined that the period is changing periodically, the process proceeds to step S204. In step S204, the signal processing control unit 11 periodically changes the image data based on Y11, Y12, Y13, Y21, Y22, Y23, Y31, Y32, and Y33. Specify the coordinates. The position where the image data changes periodically is considered to be the position where the water surface is fluctuating, that is, the position of the water surface. Therefore, the signal processing control unit 11 specifies the water surface position based on coordinates at which the specified image data is periodically changing. At this time, the fact that the water surface spreads in the horizontal direction is also used. In step S <b> 205, the signal processing control unit 11 calculates an average value of the image data related to the periodically changing coordinates. Thereafter, the water surface determination process ends, and the process returns to the main flow described with reference to FIG.

ステップS203の判定において、何れも周期的に変化していないと判定されたとき、処理はステップS206に進む。ステップS206において、信号処理制御部11は、水面が特定されなかった旨の決定を行う。その後、水面判定処理は終了し、図2を参照して説明しているメインフローに戻る。   When it is determined in step S203 that none of them has changed periodically, the process proceeds to step S206. In step S206, the signal processing control unit 11 determines that the water surface has not been specified. Thereafter, the water surface determination process ends, and the process returns to the main flow described with reference to FIG.

図2に戻って説明を続ける。水面判定処理に続いて、ステップS105において、信号処理制御部11は、画像中に水面があると特定されたか否かを判定する。水面があると判定されたとき、処理はステップS111に進む。ステップS111において、信号処理制御部11は、フレームレートを上昇させる。フレームレートを上昇させるのは、水の動きを高速で捉えるためである。フレームレートは、例えば240fpsに設定される。   Returning to FIG. 2, the description will be continued. Following the water surface determination process, in step S105, the signal processing control unit 11 determines whether or not it is specified that there is a water surface in the image. When it is determined that there is a water surface, the process proceeds to step S111. In step S111, the signal processing control unit 11 increases the frame rate. The reason for increasing the frame rate is to capture the movement of water at high speed. The frame rate is set to 240 fps, for example.

ステップS112において、信号処理制御部11は、水しぶき連写モードが選択されているか否かを判定する。水しぶき連写モードが選択されているとき、処理はステップS113に進む。ステップS113において、信号処理制御部11は、水面があると特定された位置を通る垂直方向の各位置について画像データを、時間経過に従って取得する。すなわち、信号処理制御部11は、例えば図6A乃至図6Cに示されるような情報を取得する。信号処理制御部11は、取得された情報に基づいて、水面から上方向へ動く動体が検出されたか否かを判定する。上方向への動体が検出されなかったとき、処理はステップS115に進む。一方、上方向への動体が検出されたとき、処理はステップS114に進む。ここで、水面から上方向へ動く動体は水しぶきと推定される。ステップS114において、信号処理制御部11は、連続撮影を開始させる。この連続撮影は、例えば水が跳ね上がってから落下するまで、例えば2秒間続けられる。その後、処理はステップS115に進む。なお、「水しぶき連写モード」は、常に選択されていてもよいし、レリーズボタンの半押しなどで選択されてもよいし、水辺であることが画像や音声や撮影位置などで判定されることで自動的に選択されてもよい。   In step S112, the signal processing control unit 11 determines whether or not the splash continuous shooting mode is selected. When the splash continuous shooting mode is selected, the process proceeds to step S113. In step S113, the signal processing control unit 11 acquires image data for each position in the vertical direction passing through the position specified as having a water surface as time elapses. That is, the signal processing control unit 11 acquires information as illustrated in FIGS. 6A to 6C, for example. Based on the acquired information, the signal processing control unit 11 determines whether or not a moving object moving upward from the water surface is detected. When no upward moving object is detected, the process proceeds to step S115. On the other hand, when an upward moving body is detected, the process proceeds to step S114. Here, it is estimated that the moving body moving upward from the water surface is splashing water. In step S114, the signal processing control unit 11 starts continuous shooting. This continuous shooting is continued for, for example, 2 seconds from when water jumps up to when it falls, for example. Thereafter, the process proceeds to step S115. Note that the “splashing continuous shooting mode” may be selected at all times, may be selected by half-pressing the release button, or the like, and it is determined by the image, sound, shooting position, etc. that it is a waterside. May be selected automatically.

ステップS115において、信号処理制御部11は、操作部16のレリーズボタンが押圧される等の撮影操作が行われたか否かを判定する。撮影操作が行われていないと判定されたとき、処理はステップS131に進み、信号処理制御部11は、連続撮影された画像について後述の画質調整と記録を行う。一方、撮影操作が行われたと判定されたとき、処理はステップS116に進む。ステップS116において、信号処理制御部11は、撮影動作を行う。すなわち、連続撮影中であっても、撮影者の撮影操作を優先させて撮影動作を行う。撮影動作において、信号処理制御部11は、撮像部12に画像の取得を行わせる。信号処理制御部11は、撮像された画像のデータを撮像部12から取得する。その後処理はステップS131に進み、信号処理制御部11は、連続撮影された画像と撮影者の撮影操作によって撮影された画像とについて、後述の画質調整と記録とを行う。   In step S115, the signal processing control unit 11 determines whether or not a shooting operation such as pressing the release button of the operation unit 16 has been performed. When it is determined that the shooting operation has not been performed, the process proceeds to step S131, and the signal processing control unit 11 performs image quality adjustment and recording to be described later for the continuously shot images. On the other hand, when it is determined that a shooting operation has been performed, the process proceeds to step S116. In step S116, the signal processing control unit 11 performs a photographing operation. That is, even during continuous shooting, the shooting operation is performed with priority given to the shooting operation of the photographer. In the shooting operation, the signal processing control unit 11 causes the imaging unit 12 to acquire an image. The signal processing control unit 11 acquires captured image data from the imaging unit 12. Thereafter, the process proceeds to step S131, and the signal processing control unit 11 performs image quality adjustment and recording, which will be described later, on the continuously shot images and the images shot by the shooting operation of the photographer.

ステップS112の判定において、水しぶき連写モードでないと判定されたとき、処理はステップS121に進む。ステップS121において、信号処理制御部11は、水しぶき撮影モードが選択されているか否かを判定する。水しぶき撮影モードが選択されていないと判定されたとき、処理はステップS125に進む。一方、水しぶき撮影モードが選択されていると判定されたとき、処理はステップS122に進む。   When it is determined in step S112 that the spray continuous shooting mode is not selected, the process proceeds to step S121. In step S121, the signal processing control unit 11 determines whether or not the splashing shooting mode is selected. If it is determined that the splashing shooting mode is not selected, the process proceeds to step S125. On the other hand, when it is determined that the splash photography mode is selected, the process proceeds to step S122.

ステップS122において、信号処理制御部11は、水面から上方向へ動体が検出されたか否かを判定する。上方向への動体が検出されなかったとき、処理はステップS125に進む。一方、上方向への動体が検出されたとき、処理はステップS123に進む。ここで、上方向への動体は水しぶきと推定される。   In step S122, the signal processing control unit 11 determines whether a moving object has been detected upward from the water surface. When no upward moving object is detected, the process proceeds to step S125. On the other hand, when an upward moving body is detected, the process proceeds to step S123. Here, the moving body in the upward direction is presumed to be splashing.

ステップS123において、信号処理制御部11は、水面から上方向への動体の変化が、周期的変化の平均値よりも所定量以上大きいか否かを判定する。平均値よりも所定量以上大きくないと判定されたとき、処理はステップS125に進む。一方、平均値よりも所定量以上大きいと判定されたとき、処理はステップS124に進む。周期的変化よりも所定量以上大きいときをデジタルカメラ1はシャッタチャンスとする。周期的変化の平均値が用いられることで、水しぶきが上がっていない状態と、水しぶきが上がっている状態とが判別され得る。   In step S123, the signal processing control unit 11 determines whether or not the change of the moving body from the water surface to the upward direction is larger than the average value of the periodic change by a predetermined amount or more. When it is determined that it is not greater than the average value by a predetermined amount or more, the process proceeds to step S125. On the other hand, when it is determined that it is larger than the average value by a predetermined amount or more, the process proceeds to step S124. When the digital camera 1 is larger than the periodic change by a predetermined amount or more, the digital camera 1 determines a photo opportunity. By using the average value of the periodic change, it is possible to discriminate between a state where the splash is not raised and a state where the splash is raised.

ステップS124において、信号処理制御部11は、撮影動作を行わせる。すなわち、信号処理制御部11は、撮像部12に画像の取得を行わせる。信号処理制御部11は、撮像された画像のデータを撮像部12から取得する。その後処理はステップS131に進み、撮影された画像について後述の画質調整と記録とを行う。   In step S124, the signal processing control unit 11 performs a photographing operation. That is, the signal processing control unit 11 causes the imaging unit 12 to acquire an image. The signal processing control unit 11 acquires captured image data from the imaging unit 12. Thereafter, the process proceeds to step S131, and image quality adjustment and recording described later are performed on the captured image.

ステップS125において、信号処理制御部11は、撮影操作が行われたか否かを判定する。撮影操作が行われたと判定されたとき、処理はステップS124に進む。すなわち、水しぶき撮影モードであるか否かに関わらず、撮影者の撮影操作があったときは、その撮影操作に従って優先的に撮影動作を行う。一方、撮影操作が行われていないと判定されたとき、処理はステップS101に戻る。   In step S125, the signal processing control unit 11 determines whether or not a shooting operation has been performed. When it is determined that a shooting operation has been performed, the process proceeds to step S124. That is, regardless of whether or not it is in the splashing shooting mode, when the photographer performs a shooting operation, the shooting operation is preferentially performed according to the shooting operation. On the other hand, when it is determined that the shooting operation has not been performed, the process returns to step S101.

ステップS131において、信号処理制御部11は、撮影された画像について、一般的な画像処理に加えて、画質の調整を行う。水に係る写真であるので、例えば、コントラストを上げ、さらに青色を強調する等の、水の雰囲気をよく表す画像にするための所定の処理を行う。これらの画質調整は、予め定義されていてもよいし、撮影者の設定によって定義されるようにしてもよい。ステップS132において、信号処理制御部11は、画質調整が施された画像について、記録部14に記録させる。ステップS133において、信号処理制御部11は、記録部14に記録される画像を表示部18にレックビュー表示させる。その後、処理はステップS101に戻る。   In step S131, the signal processing control unit 11 performs image quality adjustment on the captured image in addition to general image processing. Since it is a photograph related to water, for example, a predetermined process for making an image that well represents the atmosphere of water, such as increasing the contrast and enhancing the blue color, is performed. These image quality adjustments may be defined in advance or may be defined by the photographer's settings. In step S132, the signal processing control unit 11 causes the recording unit 14 to record the image that has undergone image quality adjustment. In step S <b> 133, the signal processing control unit 11 causes the display unit 18 to display the image recorded in the recording unit 14 on a rec view. Thereafter, the process returns to step S101.

ステップS105の判定において、水面がないと判定されたとき、処理はステップS141に進む。すなわち、ステップS141に進むのは、撮影場面が水に係る場面でないと判定されたときである。ステップS141において、信号処理制御部11は、撮影操作が行われたか否かを判定する。撮影操作が行われていないと判定されたとき、処理はステップS101に戻る。一方、撮影操作が行われたと判定されたとき、処理はステップS142に進む。ステップS142において、信号処理制御部11は、撮影動作を行う。すなわち、信号処理制御部11は、撮像部12に画像の取得を行わせる。信号処理制御部11は、撮像された画像のデータを撮像部12から取得する。ステップS143において、信号処理制御部11は、取得された画像に一般的な画像処理を施し、処理後の画像を記録部14に記録させる。ステップS144において、信号処理制御部11は、記録部14に記録される画像を表示部18にレックビュー表示させる。その後、処理はステップS101に戻る。   When it is determined in step S105 that there is no water surface, the process proceeds to step S141. That is, the process proceeds to step S141 when it is determined that the shooting scene is not a scene related to water. In step S141, the signal processing control unit 11 determines whether or not a photographing operation has been performed. If it is determined that no shooting operation has been performed, the process returns to step S101. On the other hand, when it is determined that a photographing operation has been performed, the process proceeds to step S142. In step S142, the signal processing control unit 11 performs a shooting operation. That is, the signal processing control unit 11 causes the imaging unit 12 to acquire an image. The signal processing control unit 11 acquires captured image data from the imaging unit 12. In step S143, the signal processing control unit 11 performs general image processing on the acquired image, and causes the recording unit 14 to record the processed image. In step S144, the signal processing control unit 11 causes the display unit 18 to display the image recorded in the recording unit 14 on a rec view. Thereafter, the process returns to step S101.

ステップS101において撮影モードでないと判定されたとき、処理はステップS151に進む。ステップS151において、信号処理制御部11は、再生モードであるか否かを判定する。再生モードでないと判定されたとき、処理はステップS101に戻る。ステップS101に戻る前に、撮影者がモード設定その他の設定等を行うための処理が行われてもよい。一方、ステップS151において再生モードであると判定されたとき、処理はステップS152に進む。ステップS152において、信号処理制御部11は、再生モード処理を行う。再生モード処理について、図9を参照して説明する。   When it is determined in step S101 that the shooting mode is not selected, the process proceeds to step S151. In step S151, the signal processing control unit 11 determines whether or not the playback mode is set. If it is determined that the playback mode is not selected, the process returns to step S101. Before returning to step S101, a process for the photographer to perform mode setting and other settings may be performed. On the other hand, when it is determined in step S151 that the playback mode is set, the process proceeds to step S152. In step S152, the signal processing control unit 11 performs playback mode processing. The reproduction mode process will be described with reference to FIG.

ステップS301において、信号処理制御部11は、表示部18にファイルの一覧表示を行わせる。ステップS302において、信号処理制御部11は、ファイルが選択されたか否かを判定する。ファイルが選択されたと判定されたとき、処理はステップS303に進む。ステップS303において、信号処理制御部11は、選択されたファイルを再生し、表示部18に表示させる。ステップS304において、信号処理制御部11は、再生終了の入力が成されたか否かを判定する。再生終了の入力は、撮影者によってされてもよいし、所定の時間が経過した場合になされてもよい。再生終了の入力がなされたとき、処理はステップS301に戻る。一方、再生終了の入力がなされていないとき、処理はステップS303に戻る。   In step S301, the signal processing control unit 11 causes the display unit 18 to display a list of files. In step S302, the signal processing control unit 11 determines whether a file is selected. If it is determined that a file has been selected, the process proceeds to step S303. In step S303, the signal processing control unit 11 reproduces the selected file and displays it on the display unit 18. In step S304, the signal processing control unit 11 determines whether or not a reproduction end input has been made. The end of reproduction may be input by the photographer or may be made when a predetermined time has elapsed. When the end of reproduction is input, the process returns to step S301. On the other hand, when the end of reproduction has not been input, the process returns to step S303.

ステップS302においてファイル選択がされていないと判定されたとき、処理はステップS305に進む。ステップS305において、信号処理制御部11は、再生モード終了の入力がなされたか否かを判定する。再生モード終了の入力がなされていないと判定されたとき、処理はステップS301に戻る。一方、再生モード終了の入力がなされたと判定されたとき、再生モード処理は終了し、処理は図2を参照して説明しいているメインフローに戻る。   If it is determined in step S302 that no file has been selected, the process proceeds to step S305. In step S305, the signal processing control unit 11 determines whether or not an input to end the reproduction mode has been made. When it is determined that the end of the playback mode has not been input, the process returns to step S301. On the other hand, when it is determined that the end of the playback mode has been input, the playback mode process ends, and the process returns to the main flow described with reference to FIG.

以上のように、本実施形態では、デジタルカメラ1は、プレビュー画像の例えばコントラストや明るさといった画像データの変化に基づいて、当該画像における水面を特定することができる。さらに、デジタルカメラ1は、特定した水面から水しぶきが上がる場面を検出することができる。デジタルカメラ1は、この検出した水しぶきが上がる場面に基づいて、撮影タイミングを決定し、撮影動作を行う。本実施形態によれば、水しぶきが上がった瞬間という特別な瞬間を、撮影者が特別な技術や経験を有していなくても容易に撮影することができる。   As described above, in the present embodiment, the digital camera 1 can specify the water surface in the image based on a change in image data such as contrast and brightness of the preview image. Furthermore, the digital camera 1 can detect a scene in which splashes rise from the specified water surface. The digital camera 1 determines the shooting timing based on the detected scene where the splashes rise and performs a shooting operation. According to the present embodiment, it is possible to easily photograph a special moment, i.e., the moment when the splashing is raised, even if the photographer does not have any special technique or experience.

本実施形態に係るデジタルカメラ1は、当然に例えば図10に示されるように海や川等の屋外でも使用され得る。屋外においては、ステップS131における画質調整をより水辺らしく、例えばコントラストがより強調されるように、画質調整が行われてもよい。水しぶきが上がった瞬間が撮影され、適切に画質調整が行われることで、水辺らしい雰囲気の画像が容易に撮影され得る。   Naturally, the digital camera 1 according to the present embodiment can also be used outdoors such as the sea or river as shown in FIG. In the outdoors, the image quality adjustment in step S131 may be more waterside, and the image quality adjustment may be performed so that, for example, the contrast is more emphasized. The moment when the splash is raised is photographed, and the image quality is appropriately adjusted, so that an image with a waterside atmosphere can be easily photographed.

なお、デジタルカメラ1は、加速度センサ17を備えている。水面判定処理では、加速度センサ17の出力が用いられる。すなわち、水面は水平方向(X軸と平行)に広がっている。信号処理制御部11は、加速度センサ17の出力に基づいて、デジタルカメラ1の姿勢、例えばデジタルカメラ1が横位置で構えられているか縦位置で構えられているかを判定する。信号処理制御部11は、デジタルカメラ1の姿勢に応じて、取得された画像におけるX軸とY軸との方向を設定する。このように、加速度センサ17の出力が用いられることで、デジタルカメラ1の構えられ方によらず、信号処理制御部11は、水面の位置を特定することができる。   The digital camera 1 includes an acceleration sensor 17. In the water surface determination process, the output of the acceleration sensor 17 is used. That is, the water surface spreads in the horizontal direction (parallel to the X axis). Based on the output of the acceleration sensor 17, the signal processing control unit 11 determines the attitude of the digital camera 1, for example, whether the digital camera 1 is held in the horizontal position or the vertical position. The signal processing control unit 11 sets the directions of the X axis and the Y axis in the acquired image according to the attitude of the digital camera 1. Thus, by using the output of the acceleration sensor 17, the signal processing control unit 11 can specify the position of the water surface regardless of how the digital camera 1 is held.

また、デジタルカメラ1は、顔検出部13を備えており、顔検出結果が水面検出に用いられてもよい。すなわち、被写体の顔は水面よりも上に出ていると考えられるので、被写体と関係する水面は、検出された顔よりも下側にあるのが一般的である。そこで、水面判定処理においては、検出された顔よりも下側の検出位置についてのみ、画像データの解析が行われるように構成されてもよい。このように、画像データの解析が行われる点が削減されることで、演算量が減少し、処理速度が向上する。   Further, the digital camera 1 may include a face detection unit 13 and the face detection result may be used for water surface detection. That is, since the subject's face is considered to be above the water surface, the water surface related to the subject is generally below the detected face. Therefore, in the water surface determination process, the image data may be analyzed only for the detection position below the detected face. In this manner, the amount of calculation is reduced and the processing speed is improved by reducing the number of points at which image data is analyzed.

本実施形態では、水面判定処理において、X軸方向及びY軸方向にそれぞれ3箇所、合計9点の画像データを取得して水面を特定する場合を例に挙げて説明を行った。この検出位置の数はいくつでもよく、検出位置がいくつでも、上述の例と同様に動作し、同様に機能する。この検出位置の点数が多い程、水しぶきを検出する精度は向上するが、一方で演算量は増加する。なお、水面の広がりが特定されるためには、複数の点が必要である。   In the present embodiment, in the water surface determination process, the case where the water surface is specified by acquiring a total of nine points of image data in each of the X-axis direction and the Y-axis direction has been described as an example. Any number of detection positions may be used, and any number of detection positions may operate in the same manner as the above example and function in the same manner. As the number of detection positions increases, the accuracy of detecting splashing is improved, but the calculation amount increases. In order to specify the spread of the water surface, a plurality of points are necessary.

図2やその他の図を参照して説明した処理やその順序は、上述の説明に限定されず、矛盾しない範囲で、処理を増やしたり減らしたり、処理の順序を入れ替えたり等、適宜変更され得る。また、上述の実施形態では、デジタルカメラを例に挙げて説明を行ったが、ここに示した技術は、カメラ機能付きのスマートフォン等、種々の撮像装置に適用され得る。   The processing and the order described with reference to FIG. 2 and other drawings are not limited to the above description, and can be changed as appropriate within a consistent range, such as increasing or decreasing the number of processes, changing the order of the processes, and the like. . In the above-described embodiment, a digital camera has been described as an example. However, the technique shown here can be applied to various imaging devices such as a smartphone with a camera function.

本実施形態では、静止画を撮影する場合を例に挙げて説明したが、動画から、水しぶきが上がる場面を抽出することに用いてもよい。すなわち、動画における水面位置が特定され、その水面から上昇する動体が検出されたコマを、水しぶきが上がった瞬間として抽出されてもよい。この場合、例えば本実施形態に係る動作は、例えば撮像装置に限らず、動画データが入力された画像処理装置で行われもよい。本発明は、このような画像処理装置を構成するプログラムを含む。   In the present embodiment, the case of taking a still image has been described as an example. However, the present embodiment may be used to extract a scene in which splashing occurs from a moving image. That is, a frame in which a water surface position in a moving image is specified and a moving body that rises from the water surface is detected may be extracted as the moment when the splashes rise. In this case, for example, the operation according to the present embodiment is not limited to the imaging apparatus, and may be performed by an image processing apparatus to which moving image data is input. The present invention includes a program constituting such an image processing apparatus.

1…デジタルカメラ、10…カメラ本体、11…信号処理制御部、11a…撮像制御部、11b…画像処理部、11c…画像データ取得部、11d…水面判定部、11e…周期性判定部、11f…平均値算出部、11g…検出部、11h…フレームレート変更部、11i…記憶部、12…撮像部、12b…撮像素子、13…顔検出部、14…記録部、15…レンズ通信部、16…操作部、17…加速度センサ、18…表示部、18b…タッチパネル、20…レンズ、21…制御部、22…本体通信部、23a…リング部、23b…リング判定部、24…レンズ制御部、25…絞り制御部、26…光路部、26a…レンズ部、26b…絞り機構、27…記憶部。   DESCRIPTION OF SYMBOLS 1 ... Digital camera, 10 ... Camera body, 11 ... Signal processing control part, 11a ... Imaging control part, 11b ... Image processing part, 11c ... Image data acquisition part, 11d ... Water surface determination part, 11e ... Periodicity determination part, 11f ... average value calculation unit, 11g ... detection unit, 11h ... frame rate change unit, 11i ... storage unit, 12 ... imaging unit, 12b ... imaging element, 13 ... face detection unit, 14 ... recording unit, 15 ... lens communication unit, DESCRIPTION OF SYMBOLS 16 ... Operation part, 17 ... Acceleration sensor, 18 ... Display part, 18b ... Touch panel, 20 ... Lens, 21 ... Control part, 22 ... Main body communication part, 23a ... Ring part, 23b ... Ring determination part, 24 ... Lens control part , 25 ... Aperture control unit, 26 ... Optical path unit, 26a ... Lens unit, 26b ... Aperture mechanism, 27 ... Storage unit.

Claims (6)

被写体像を撮像して画像を取得する撮像部と、
前記画像における所定の検出位置の画像データの経時変化を取得する画像データ取得部と、
前記画像データの前記経時変化の周期性に基づいて、前記画像における水面を判定する水面判定部と、
を具備する撮像装置。
An imaging unit that captures a subject image and obtains the image;
An image data acquisition unit for acquiring a temporal change of image data at a predetermined detection position in the image;
A water surface determination unit that determines a water surface in the image based on the periodicity of the temporal change of the image data;
An imaging apparatus comprising:
前記水面から上向きに現れる前記画像データの変化に基づいて、水しぶきの発生を検出する水しぶき検出部をさらに具備する請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a splash detection unit that detects occurrence of splashing based on a change in the image data that appears upward from the water surface. 前記水しぶきが検出されたとき、前記撮像部に撮像動作を行わせる撮像制御部をさらに具備する請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, further comprising an imaging control unit that causes the imaging unit to perform an imaging operation when the splashing is detected. 前記画像における顔を検出する顔検出部をさらに具備し、
前記水面判定部は、検出された前記顔よりも下側の前記検出位置の前記画像データに基づいて前記水面を判定する、
請求項1乃至3のうち何れか1項に記載の撮像装置。
A face detection unit for detecting a face in the image;
The water surface determination unit determines the water surface based on the image data of the detection position below the detected face;
The imaging device according to any one of claims 1 to 3.
周期的に変化する前記画像データの平均値を算出する平均値算出部をさらに具備し、
前記水しぶき検出部は、前記平均値からの変化に基づいて、前記水しぶきの発生を検出する、
請求項2又は3に記載の撮像装置。
An average value calculating unit that calculates an average value of the image data that periodically changes;
The splash detection unit detects the occurrence of the splash based on a change from the average value.
The imaging device according to claim 2 or 3.
前記撮像部の姿勢を検出する姿勢センサをさらに具備し、
前記水しぶき検出部は、前記姿勢センサの出力に基づいて、前記上向きを特定する、
請求項2又は3に記載の撮像装置。
A posture sensor for detecting the posture of the imaging unit;
The splash detection unit identifies the upward direction based on the output of the attitude sensor.
The imaging device according to claim 2 or 3.
JP2013000143A 2013-01-04 2013-01-04 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD Expired - Fee Related JP6045348B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013000143A JP6045348B2 (en) 2013-01-04 2013-01-04 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013000143A JP6045348B2 (en) 2013-01-04 2013-01-04 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Publications (3)

Publication Number Publication Date
JP2014132708A true JP2014132708A (en) 2014-07-17
JP2014132708A5 JP2014132708A5 (en) 2016-01-28
JP6045348B2 JP6045348B2 (en) 2016-12-14

Family

ID=51411604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013000143A Expired - Fee Related JP6045348B2 (en) 2013-01-04 2013-01-04 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP6045348B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477093B2 (en) 2014-09-15 2019-11-12 Samsung Electronics Co., Ltd. Method for capturing image and image capturing apparatus for capturing still images of an object at a desired time point

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001041803A (en) * 1999-08-04 2001-02-16 Fujitsu Ltd Liquid-level detecting method
JP2005149035A (en) * 2003-11-14 2005-06-09 Mitsubishi Electric Corp Flood monitoring device
JP2007322231A (en) * 2006-05-31 2007-12-13 Fujifilm Corp Road surface condition detector
JP2011109267A (en) * 2009-11-13 2011-06-02 Olympus Imaging Corp Camera
JP2012185061A (en) * 2011-03-07 2012-09-27 Mitsubishi Electric Corp Water level detection device, water level detection system, and water level detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001041803A (en) * 1999-08-04 2001-02-16 Fujitsu Ltd Liquid-level detecting method
JP2005149035A (en) * 2003-11-14 2005-06-09 Mitsubishi Electric Corp Flood monitoring device
JP2007322231A (en) * 2006-05-31 2007-12-13 Fujifilm Corp Road surface condition detector
JP2011109267A (en) * 2009-11-13 2011-06-02 Olympus Imaging Corp Camera
JP2012185061A (en) * 2011-03-07 2012-09-27 Mitsubishi Electric Corp Water level detection device, water level detection system, and water level detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477093B2 (en) 2014-09-15 2019-11-12 Samsung Electronics Co., Ltd. Method for capturing image and image capturing apparatus for capturing still images of an object at a desired time point

Also Published As

Publication number Publication date
JP6045348B2 (en) 2016-12-14

Similar Documents

Publication Publication Date Title
JP6512810B2 (en) Image pickup apparatus, control method and program
JP6539091B2 (en) Image pickup apparatus and control method thereof
JP6071436B2 (en) Imaging apparatus, imaging method, and program
JP2014168227A (en) Image processing apparatus, imaging apparatus, and image processing method
JP6518452B2 (en) Imaging apparatus and imaging method
JP5843486B2 (en) Imaging apparatus and control method thereof
JP5278564B2 (en) Imaging device
US10708503B2 (en) Image capture system, image capturing apparatus, lens unit, control methods therefor, and storage medium
JP2017129828A (en) Imaging device and imaging method
JP2010054587A (en) Focal point detector and camera
JP2014017665A (en) Display control unit, control method for display control unit, program, and recording medium
JP6253454B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
WO2012014946A1 (en) Image processing device and image processing program
JP2016012846A (en) Imaging apparatus, and control method and control program of the same
JP6045348B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5390871B2 (en) Imaging apparatus and control method thereof
JP6346484B2 (en) Image processing apparatus and control method thereof
JP2011151482A (en) Imaging apparatus and method for controlling the same
JP5188293B2 (en) Imaging apparatus, control method thereof, and program
JP2005204298A (en) System and method for showing exposure information during taking in image
JP2018061292A (en) Image processing apparatus, image processing method, and program
JP7342883B2 (en) Imaging control device, imaging device, imaging control method
JP6257186B2 (en) Imaging apparatus, imaging method, and program
JP5446660B2 (en) Image recognition apparatus and imaging apparatus
US10681274B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150423

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160802

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: 20161018

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161115

R151 Written notification of patent or utility model registration

Ref document number: 6045348

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees