[go: up one dir, main page]

JP2014220564A - Image reproducing device, image reproducing method, program, and imaging device - Google Patents

Image reproducing device, image reproducing method, program, and imaging device Download PDF

Info

Publication number
JP2014220564A
JP2014220564A JP2013096486A JP2013096486A JP2014220564A JP 2014220564 A JP2014220564 A JP 2014220564A JP 2013096486 A JP2013096486 A JP 2013096486A JP 2013096486 A JP2013096486 A JP 2013096486A JP 2014220564 A JP2014220564 A JP 2014220564A
Authority
JP
Japan
Prior art keywords
image
information
unit
setting
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013096486A
Other languages
Japanese (ja)
Inventor
隆幸 安田
Takayuki Yasuda
隆幸 安田
和志 小松
Kazushi Komatsu
和志 小松
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013096486A priority Critical patent/JP2014220564A/en
Publication of JP2014220564A publication Critical patent/JP2014220564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

【課題】再生時にフォーカスと絞りのF値の設定を直観的にわかりやすく撮影しているような操作でライトフィールドデータの再構成を可能にする画像再生装置の提供。【解決手段】リフォーカス可能な画素データを再構成して画像を再生する画像再生装置は、画像の再生の指示を取得する指示手段と、画素データの再構成に必要な情報を設定する設定手段と、設定手段が設定した再構成に必要な情報を更新するための情報を取得する更新手段と、設定手段で設定された情報に従って、画素データを再構成して画像を生成する生成手段を備え、設定手段は、画像の再生の指示が取得された時は、再構成に必要な情報の初期情報を設定し、更新のための情報が取得された時は、取得した更新のための情報に基づいて再構成に必要な情報を設定し、生成手段は、設定手段が再構成に必要な情報を設定したときは、設定された情報に従って画素データを再構成して画像を生成する。【選択図】図1To provide an image reproducing apparatus that enables reconstruction of light field data by an operation that allows an intuitive and easy-to-understand shooting of the F value of the focus and aperture during reproduction. An image reproducing apparatus that reconstructs pixel data that can be refocused and reproduces an image includes an instruction unit that acquires an instruction to reproduce the image, and a setting unit that sets information necessary to reconstruct the pixel data And an update means for acquiring information for updating information necessary for reconstruction set by the setting means, and a generation means for reconstructing pixel data and generating an image according to the information set by the setting means The setting means sets the initial information of information necessary for reconstruction when an instruction to reproduce an image is acquired, and sets the acquired information for update when information for update is acquired. Information necessary for reconstruction is set based on the information, and when the setting means sets information necessary for reconstruction, the generation means reconstructs pixel data according to the set information and generates an image. [Selection] Figure 1

Description

本発明は、ライトフィールドカメラで取得されたライトフィールドデータの画像再生装置に関し、特に再生時のリフォーカスや被写界深度の調整と調整後の画像の保存に係る画像再生装置、画像再生方法および撮像装置に関する。   The present invention relates to an image reproduction apparatus for light field data acquired by a light field camera, and more particularly to an image reproduction apparatus, an image reproduction method, and an image reproduction apparatus related to refocusing at the time of reproduction and adjustment of the depth of field and storage of the adjusted image. The present invention relates to an imaging apparatus.

近年、電子カメラ等の撮像装置において、光の強度分布のみならず光の入射方向の情報をも取得可能な撮像装置(以下、ライトフィールドカメラ)が提案されている。例えば非特許文献1によれば、撮影レンズと撮像素子との間にマイクロレンズアレイを配置し、撮像素子の複数の画素に対して一つのマイクロレンズを対応させることで、マイクロレンズを通過した光が複数の画素によって入射方向別に画素信号に光電変換される。   2. Description of the Related Art In recent years, an imaging apparatus (hereinafter, a light field camera) that can acquire not only light intensity distribution but also information on the incident direction of light in an imaging apparatus such as an electronic camera has been proposed. For example, according to Non-Patent Document 1, a microlens array is arranged between a photographic lens and an image sensor, and one microlens is associated with a plurality of pixels of the image sensor, thereby allowing light that has passed through the microlens. Is photoelectrically converted into a pixel signal for each incident direction by a plurality of pixels.

このように取得された画素信号(ライトフィールド情報)に対して、「Light Field Photography」と呼ばれる手法を適用することで、任意の像面(リフォーカス面)にピントを合わせた画像を撮影後に再構成して再生することができる。なお、一つのマイクロレンズに対応した複数の画素の総和をとることで、通常の撮影画像を生成することもできる。   By applying a technique called “Light Field Photography” to the pixel signal (light field information) acquired in this way, an image focused on an arbitrary image plane (refocus plane) is re-captured after shooting. Can be configured and played. Note that a normal captured image can also be generated by taking the sum of a plurality of pixels corresponding to one microlens.

ユーザーがリフォーカスによる画像の再構成を必要とするケースとして、例えば撮影後に画像を確認すると所望の被写体にピントがあっていなかった場合が考えられる。従来のカメラであれば、所望の被写体にピントがあっていないは撮り直す必要があった。このため、特許文献1のように、撮影時にユーザーが所望の被写体へのフォーカス合わせを容易にする技術も考案されている。   As a case where the user needs to reconstruct an image by refocusing, for example, when the image is confirmed after shooting, a desired subject is not in focus. With a conventional camera, if the desired subject is not in focus, it must be re-taken. For this reason, as in Patent Document 1, a technique has been devised that makes it easy for the user to focus on a desired subject during shooting.

これに対し、ライトフィールドカメラでは、撮影した画素信号を用いてリフォーカス画像を再構成することが可能なので、撮り直すことなく所望の画像が得られる。   On the other hand, in the light field camera, a refocus image can be reconstructed using the captured pixel signal, so that a desired image can be obtained without re-taking.

特開2000−92387号公報JP 2000-92387 A 特開2010−093422号公報JP 2010-093422 A

Ren.Ng、他7名、「Light Field Photography with a Hand−Held Plenoptic Camera」、Stanford Tech Report CTSR 2005−02Ren. Ng and 7 others, “Light Field Photography with a Hand-Held Plenoptic Camera”, Stanford Tech Report CTSR 2005-02

しかしながら、ライトフィールド情報の画像データの再生又はプレビュー表示においては、表示画像のフォーカスや被写界深度の設定に対して撮影者または再生者の意図を反映させて、表示または画像を保存する必要がある。   However, in the reproduction or preview display of the image data of the light field information, it is necessary to save the display or the image by reflecting the intention of the photographer or the player with respect to the focus of the display image and the setting of the depth of field. is there.

さらに画像の再構成による表示には少なくともフォーカスと被写界深度の2つのパラメータが必要であるが、例えばカメラに搭載されている操作部材で直観的に操作する方法が確立されていない。   Furthermore, at least two parameters of focus and depth of field are required for display by image reconstruction, but, for example, an intuitive operation method using an operation member mounted on a camera has not been established.

これに関連して、特許文献1には、ズームボタンによるズーム機能を撮影時のズームのみならず、再生時の表示画像のズーム設定にも利用する技術が開示されている。しかしながら、特許文献1では、ライトフィールドカメラの撮像画像までは考慮しておらず、フォーカスの再設定や被写界深度の変更については触れていない。   In relation to this, Patent Document 1 discloses a technique in which a zoom function using a zoom button is used not only for zooming at the time of shooting but also for zoom setting of a display image at the time of reproduction. However, Patent Document 1 does not consider the image captured by the light field camera, and does not touch on resetting the focus or changing the depth of field.

また、特許文献2には、撮影時に被写体を認識して被写体のみを距離グラフ上に表示し、撮影者は表示されたグラフ上の位置でフォーカスと被写界深度を指定し撮影を行う技術が開示されている。しかしながら、特許文献2では画像上のどの部分にピントが合うかを直接的かつ具体的に知ることが出来ないため、撮影者の意図通りのリフォーカス設定になっているかが分かりにくい。   Japanese Patent Application Laid-Open No. 2004-228867 discloses a technique for recognizing a subject at the time of shooting, displaying only the subject on a distance graph, and shooting by specifying a focus and a depth of field at a position on the displayed graph. It is disclosed. However, in Patent Document 2, it is difficult to directly and specifically know which part of the image is in focus, so it is difficult to know whether the refocus setting is as intended by the photographer.

そこで、本発明の目的は、ライトフィールドデータの再生時に、直観的でわかりやすい撮影しているような操作でフォーカスと被写界深度を設定して画像の編集と保存を可能にした画像再生装置および撮像装置を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide an image reproducing apparatus and an image reproducing apparatus which can edit and save an image by setting a focus and a depth of field by an operation that is intuitive and easy to understand when reproducing light field data. An imaging device is provided.

上記目的を達成するために、本発明によれば、リフォーカス可能な画素データを再構成して画像を再生する画像再生装置は、画像の再生の指示を取得する指示手段と、画素データの再構成に必要な情報を設定する設定手段と、設定手段が設定した再構成に必要な情報を更新するための情報を取得する更新手段と、設定手段で設定された情報に従って、画素データを再構成して画像を生成する生成手段を備え、設定手段は、画像の再生の指示が指示手段により取得された時は、再構成に必要な情報の初期情報を設定し、更新手段が更新のための情報を取得した時は、取得した更新のための情報に基づいて再構成に必要な情報を設定し、生成手段は、設定手段が再構成に必要な情報を設定したときは、設定された情報に従って画素データを再構成して画像を生成する。   In order to achieve the above object, according to the present invention, an image reproducing apparatus that reconstructs refocusable pixel data and reproduces an image includes an instruction unit that acquires an instruction to reproduce the image, Pixel data is reconstructed in accordance with setting means for setting information necessary for configuration, update means for acquiring information for updating information necessary for reconstruction set by the setting means, and information set by the setting means Generating means for generating an image, and when the instruction for reproducing the image is obtained by the instruction means, the setting means sets initial information of information necessary for reconstruction, and the updating means for updating When information is acquired, information necessary for reconfiguration is set based on the acquired information for update, and when the setting means sets information necessary for reconfiguration, the set information is set. Reconstruct pixel data according to To generate an image Te.

任意のフォーカスにリフォーカス可能な画像を撮影または編集して表示デバイスに表示可能な撮像装置において、前記撮像装置の動作状態が画像の撮影を行う撮影モードか撮影済みの画像を編集する再生モードを判別可能なモード情報を出力するモード指定手段と、前記再生モード時は第1の焦点情報を出力し前記撮影モード時は第2の焦点情報するフォーカスレンズ移動手段と、前記再生モード時にリフォーカスした編集画像の記録指示を出力する記録指示手段と、前記撮影モード時はシャッターボタンの押下によって前記撮影済みの画像と前記第2の焦点情報を記憶媒体に記録し前記再生モード時は前記記録指示を受けて前記リフォーカスした編集画像を前記記憶媒体に記録する記録手段と、前記再生モード時に前記第1の焦点情報もしくは前記第2の焦点情報のいずれか一方を用いて第3の焦点情報を出力する設定調整部と、前記再生モード時に前記第3の焦点情報を用いて前記撮影済みの画像を編集し前記リフォーカスした編集画像を生成する画像編集手段とを備えることを特徴とする。   In an imaging apparatus capable of capturing or editing an image that can be refocused to an arbitrary focus and displaying the image on a display device, the operation state of the imaging apparatus is a shooting mode for capturing an image or a playback mode for editing a captured image. Mode specifying means for outputting discriminable mode information, focus lens moving means for outputting first focus information in the playback mode and second focus information in the shooting mode, and refocusing in the playback mode Recording instruction means for outputting an instruction to record an edited image, and in the photographing mode, the photographed image and the second focus information are recorded on a storage medium by pressing a shutter button, and the recording instruction is given in the reproduction mode. Recording means for recording the received refocused edited image on the storage medium, and the first focus information in the playback mode. Is a setting adjustment unit that outputs third focus information using one of the second focus information, and edits the captured image using the third focus information in the playback mode, and And image editing means for generating a focused edited image.

本発明によれば、ライトフィールドデータの再生におけるフォーカスと被写界深度の設定を、撮影するときの操作感覚で直観的に行うことが可能となる。これにより、ライトフィールドデータの再生、表示、編集および保存を容易にする画像再生装置および撮像装置を提供することができる。   According to the present invention, the setting of the focus and the depth of field in the reproduction of the light field data can be performed intuitively with an operation feeling when shooting. Accordingly, it is possible to provide an image reproduction device and an imaging device that facilitate the reproduction, display, editing, and storage of light field data.

本発明の第1の実施例に係る画像再生装置を適用した撮像装置の要部の構成図。1 is a configuration diagram of a main part of an imaging apparatus to which an image reproduction apparatus according to a first embodiment of the present invention is applied. 本発明の第1の実施例に係る撮像装置の外観を概略的に示す図。1 is a diagram schematically illustrating an appearance of an imaging apparatus according to a first embodiment of the present invention. 撮影画像の画角を例示するための図。The figure for illustrating the angle of view of a picked-up image. 図3の撮影画像の距離毎のヒストグラムを示す図。The figure which shows the histogram for every distance of the picked-up image of FIG. 本発明の第1の実施例に係る画像再生装置の動作再生モードのフローチャートを示す図。The figure which shows the flowchart of the operation | movement reproduction | regeneration mode of the image reproduction apparatus which concerns on 1st Example of this invention. 本発明の第1の実施例に係るが画像再生装置の動作のフローチャートを示す図。The figure which shows the flowchart of operation | movement of the image reproduction apparatus which concerns on 1st Example of this invention. 本発明の第2の実施例に係る画像再生装置を適用した撮像装置の要部の構成図。The block diagram of the principal part of the imaging device to which the image reproduction apparatus which concerns on 2nd Example of this invention is applied. 本発明の第2の実施例に係る撮像装置の外観を概略的に示す図。FIG. 6 is a diagram schematically illustrating an appearance of an imaging apparatus according to a second embodiment of the present invention. 本発明の第2の実施例に係る画像再生装置の動作再生モードのフローチャートを示す図。The figure which shows the flowchart of the operation | movement reproduction | regeneration mode of the image reproduction apparatus which concerns on 2nd Example of this invention. 本発明の第2の実施例に係る画像再生装置の動作のフローチャートを示す図。The figure which shows the flowchart of operation | movement of the image reproduction apparatus which concerns on 2nd Example of this invention. 本発明の第3の実施例に係る画像再生装置を適用した撮像装置の要部の構成図。FIG. 9 is a configuration diagram of a main part of an imaging apparatus to which an image reproduction apparatus according to a third embodiment of the present invention is applied. 本発明の第3の実施例に係る画像再生装置による警告表示の例を示す図。The figure which shows the example of the warning display by the image reproduction apparatus which concerns on 3rd Example of this invention. 本発明の第3の実施例に係る正規化された距離毎の被写体検出頻度のヒストグラムを示す図。The figure which shows the histogram of the object detection frequency for every normalized distance which concerns on 3rd Example of this invention. 本発明の第3の実施例に係る画像再生装置の動作のフローチャートを示す図。The figure which shows the flowchart of operation | movement of the image reproduction apparatus which concerns on the 3rd Example of this invention. 本発明の第3の実施例に係る画像再生装置の動作フローチャートを示す図。The figure which shows the operation | movement flowchart of the image reproduction apparatus which concerns on the 3rd Example of this invention. 本発明の第4の実施例に係る正規化をしていない場合の距離毎の被写体検出頻度のヒストグラムを示す図。The figure which shows the histogram of the object detection frequency for every distance in case the normalization which concerns on 4th Example of this invention is not carried out. 本発明の第4の実施例に係る画像再生装置の動作のフローチャートを示す。7 shows a flowchart of the operation of an image reproduction apparatus according to a fourth embodiment of the present invention.

以下に、本発明の好ましい実施の形態を、添付の図面を参照して詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1乃至図6を参照して、本発明の第1の実施例に係る画像再生装置を適用した撮像装置の構成をについて説明する。   With reference to FIGS. 1 to 6, the configuration of an imaging apparatus to which the image reproducing apparatus according to the first embodiment of the present invention is applied will be described.

図1は、本発明の第1の実施例に係る画像再生装置を適用したライトフィールドカメラである撮像装置100の要部の構成図を示す。図1は、リフォーカス可能な画素データであるライトフィールドデータの再生、表示、記憶に関連する構成部分のみを示す。被写体の光学像を形成する撮影光学系、光学像を撮像する撮像素子、画素データを生成する画像処理部、それらの制御部等から構成されるライトフィールドデータの生成に関連する構成については、本発明に関連する部分を除いて省略する。なお、撮像装置全体の制御は、図示いていない制御部のCPUが図示しないメモリに保持されているプログラムを実行して行う。   FIG. 1 is a configuration diagram of a main part of an imaging apparatus 100 that is a light field camera to which an image reproducing apparatus according to a first embodiment of the present invention is applied. FIG. 1 shows only components related to reproduction, display, and storage of light field data that is refocusable pixel data. For the configuration related to the generation of light field data composed of an imaging optical system that forms an optical image of a subject, an image sensor that captures an optical image, an image processing unit that generates pixel data, and their control units, etc. The description is omitted except for parts related to the invention. Note that the control of the entire imaging apparatus is performed by executing a program held in a memory (not shown) by a CPU of a control unit (not shown).

図1において、101は、撮像装置の動作モードを指示するモード指示部である。モード指示部101で切り替え可能なモードは少なくとも撮影モードと再生モード再生モードである。102は、フォーカスレンズ移動部である。撮影光学系を駆動することでフォーカス位置が変更された際は、フォーカスレンズ移動部102が焦点情報を出力する。103は、画像編集部である。画像編集部103は撮影時の設定を用いて撮影画像を再構成し、リフォーカス画像を編集する。104は、記録部である。記録部104は、撮影モードにおいては、撮影画像と撮影時の設定を、不図示の記憶媒体に記録し、再生モードにおいては、編集したリフォーカス画像を不図示の記憶媒体に記録する。105は、撮影モードにおいて撮影指示を与えるシャッターボタン部である。シャッターボタン部105は撮影モードにおいては、撮影画像を記録するための記録指示を出力し、再生モードにおいては、編集したリフォーカス画像を記録するための記録指示を出力する。106は、表示部である。表示部106は再生モードにおいては、編集したリフォーカス画像を不図示の表示デバイスに表示する。107は、撮影時の焦点情報と編集時の焦点情報を用いてリフォーカスに必要な焦点情報を生成し、画像編集部103に出力する設定調整部である。   In FIG. 1, reference numeral 101 denotes a mode instruction unit that instructs an operation mode of the imaging apparatus. Modes that can be switched by the mode instruction unit 101 are at least a shooting mode and a playback mode playback mode. Reference numeral 102 denotes a focus lens moving unit. When the focus position is changed by driving the photographing optical system, the focus lens moving unit 102 outputs focus information. Reference numeral 103 denotes an image editing unit. The image editing unit 103 reconstructs a captured image using settings at the time of shooting, and edits the refocused image. Reference numeral 104 denotes a recording unit. In the shooting mode, the recording unit 104 records the shot image and settings at the time of shooting in a storage medium (not shown), and in the playback mode, records the edited refocus image in a storage medium (not shown). Reference numeral 105 denotes a shutter button unit that gives a shooting instruction in the shooting mode. The shutter button unit 105 outputs a recording instruction for recording a photographed image in the photographing mode, and outputs a recording instruction for recording the edited refocus image in the reproduction mode. Reference numeral 106 denotes a display unit. In the reproduction mode, the display unit 106 displays the edited refocus image on a display device (not shown). Reference numeral 107 denotes a setting adjustment unit that generates focus information necessary for refocusing using focus information at the time of shooting and focus information at the time of editing, and outputs the focus information to the image editing unit 103.

図2は、本発明の第1の実施例に係る撮像装置の外観を概略的に示し、図1に示す部分と同様の部分は、同じ符号を付して示す。フォーカスレンズ移動部102やシャッターボタン部105は、ライトフィールドカメラでない従来のデジタル一眼レフカメラと同様の構成であり、再生モードの際の操作感が撮影時と比べて損なわれない構成であることが望ましい。例えば、フォーカスレンズ移動部102はレンズ筒の周囲にリング状に配置された回転可能なレンズ駆動手段で構成され、シャッターボタン部105はカメラ本体100に配置された押下ボタンで構成されている。ただし、本実施例においては、これに限るものではなく、例えばカメラに配設されたタッチパネルや十字キーのUI操作によってフォーカスの調整またはシャッターボタンの押下などの操作が行われてもよい。この点から、本実施例の画像再生装置は、ライトフィールドデータの入力が可能な情報処理装置等の装置にも適用することが可能であり、その場合、タッチパネルやマウスなどの指示デバイスの操作がフォーカスの調整またはシャッターボタンの押下の機能を果たせばよい。   FIG. 2 schematically shows the appearance of the imaging apparatus according to the first embodiment of the present invention, and the same parts as those shown in FIG. The focus lens moving unit 102 and the shutter button unit 105 have a configuration similar to that of a conventional digital single-lens reflex camera that is not a light field camera, and a configuration in which the operational feeling in the playback mode is not impaired as compared with shooting. desirable. For example, the focus lens moving unit 102 includes a rotatable lens driving unit disposed in a ring shape around the lens tube, and the shutter button unit 105 includes a push button disposed on the camera body 100. However, in the present embodiment, the present invention is not limited to this. For example, an operation such as a focus adjustment or a shutter button press may be performed by a UI operation of a touch panel provided on the camera or a cross key. From this point, the image reproduction apparatus according to the present embodiment can be applied to an apparatus such as an information processing apparatus capable of inputting light field data. In this case, the operation of an instruction device such as a touch panel or a mouse can be performed. A function of adjusting the focus or pressing the shutter button may be performed.

図3は、撮像装置にて撮影した画像の画角の例を示す図である。図において、300は、画角全体である。301乃至304は、特徴的な被写体を示している。本画像では、主要な被写体を被写体301とする。   FIG. 3 is a diagram illustrating an example of an angle of view of an image captured by the imaging apparatus. In the figure, 300 is the entire angle of view. Reference numerals 301 to 304 denote characteristic subjects. In this image, the main subject is the subject 301.

図4は、図3に対応する距離毎の被写体検出頻度のヒストグラムを示す。図において、横軸は距離を示し、縦軸は出現頻度を表す。同図において、図3に示す部分に対応する部分は、同じ符号を付して示す。従って、301乃至304は、図3の被写体301乃至304に対応している。なお、401乃至403は本発明の本実施例の画像再生動作では取得しない情報に係るので、ここでの説明は割愛する。   FIG. 4 shows a histogram of subject detection frequency for each distance corresponding to FIG. In the figure, the horizontal axis represents distance, and the vertical axis represents appearance frequency. In the figure, parts corresponding to the parts shown in FIG. Therefore, 301 to 304 correspond to the subjects 301 to 304 in FIG. Note that 401 to 403 relate to information that is not acquired in the image reproduction operation of the present embodiment of the present invention, and thus description thereof is omitted here.

図4に示すように、本実施例においては、フォーカスレンズ移動部102が設定可能なフォーカス距離は、カメラ位置を距離0として、距離0から距離15までの16段階とする。距離3に被写体301、距離7に被写体302、距離9に被写体303、距離12に被写体304が存在しているものとする。   As shown in FIG. 4, in this embodiment, the focus distance that can be set by the focus lens moving unit 102 is 16 steps from the distance 0 to the distance 15 with the camera position as the distance 0. It is assumed that a subject 301 exists at a distance 3, a subject 302 exists at a distance 7, a subject 303 exists at a distance 9, and a subject 304 exists at a distance 12.

撮影モードの撮影では、不図示の絞り調整やホワイトバランスなどの画像処理における各種設定を用いて、シャッターボタン部105の記録指示に従い、記録部104にライトフィールドの原画像(以下、LFRAW画像と呼ぶ)を保持する。   In shooting in shooting mode, various settings in image processing such as aperture adjustment and white balance (not shown) are used, and an original image in a light field (hereinafter referred to as an LFRAW image) is stored in the recording unit 104 in accordance with a recording instruction from the shutter button unit 105. ).

ライトフィールド撮影では、ライトフィールドデータを用いてリフォーカス画像の生成が可能なことが特徴であるが、撮像素子やマイクロレンズアレイやレンズ特性によってリフォーカスが可能な範囲は有限である。このため、各種設定において主要なフォーカス位置をフォーカスレンズ移動部102によって設定して撮影してもよい。また、前述した撮影における各設定の設定値は、 LFRAW画像に関連付けられたデータとして保持されるか、あるいはLFRAW画像に含まれているものとする。   Light field photography is characterized in that a refocus image can be generated using light field data, but the refocusable range is limited by the imaging device, microlens array, and lens characteristics. For this reason, in the various settings, the main focus position may be set by the focus lens moving unit 102 to perform shooting. In addition, it is assumed that the setting values of each setting in the above-described shooting are stored as data associated with the LFRAW image or are included in the LFRAW image.

図5および図6を参照して、本実施例に係る撮像装置の再生モードでの動作について詳細に説明する。図5は、LFRAW画像が少なくとも1枚以上保持されている場合の再生モードのメインフローチャートを示し、図6は、図5の画像初期値取得に関する詳細フローチャートを示す。   With reference to FIGS. 5 and 6, the operation of the imaging apparatus according to the present embodiment in the playback mode will be described in detail. FIG. 5 shows a main flowchart of the reproduction mode in a case where at least one LFRAW image is held, and FIG. 6 shows a detailed flowchart regarding acquisition of the image initial value in FIG.

S500において、不図示の制御部による制御の下で、モード指示部101に従ってライトフィールドカメラ100が再生モードに移行し、本再生動作が開始される。そして、S501にて、フォーカスレンズ移動部102の初期化の処理が行われる。この初期化動作は、図6に示すフローチャートに従って行われる。   In S500, under the control of a control unit (not shown), the light field camera 100 shifts to the playback mode according to the mode instruction unit 101, and the main playback operation is started. In step S501, the focus lens moving unit 102 is initialized. This initialization operation is performed according to the flowchart shown in FIG.

S600において、S501の初期化処理が開始すると、S6011にて画像編集部103は、LFRAW画像から焦点初期位置を取得する。例えば焦点初期位置は、被写体301である距離3が設定されているとする。また、焦点初期位置は、LFRAW画像からではなく、フォーカスレンズ移動部102がカメラ本体としての固定の値として予め設定されている位置であってもよい。   In S600, when the initialization process in S501 is started, in S6011, the image editing unit 103 acquires the initial focus position from the LFRAW image. For example, it is assumed that the distance 3 that is the subject 301 is set as the initial focus position. Further, the focus initial position may not be from the LFRAW image but may be a position where the focus lens moving unit 102 is preset as a fixed value as the camera body.

次いでS602にて、フォーカスレンズ移動部102は、画像編集部103に出力する焦点情報を距離3に設定する。S603では、フォーカスレンズ移動部102がフォーカス位置を距離3に設定する。この後、S604で、S501の初期化処理を終了する。   In step S <b> 602, the focus lens moving unit 102 sets the focus information to be output to the image editing unit 103 to the distance 3. In step S <b> 603, the focus lens moving unit 102 sets the focus position to the distance 3. Thereafter, in S604, the initialization process in S501 is terminated.

メインフローチャートに戻り、S502にて、画像編集部103は、記録部104からLFRAW画像を読み出し、LFRAW画像を距離3にフォーカスが合うように再構成して表示用画像データに編集する。表示用画像データは、不図示の表示デバイスのデータ形式に準拠した画像データである。編集された表示用画像データは表示部106に出力される。   Returning to the main flowchart, in S502, the image editing unit 103 reads out the LFRAW image from the recording unit 104, reconfigures the LFRAW image so that the distance 3 is in focus, and edits the image data for display. The display image data is image data that conforms to a data format of a display device (not shown). The edited display image data is output to the display unit 106.

次いで、S503にて、表示部106は、不図示の表示デバイスに表示用画像を表示し、S504にて記録部104がシャッターボタン部105からの記録指示を受け取ったかどうかを判定し、受け取っていた場合はS505、S506を実行し、受け取っていない場合はS507を実行する。   In step S503, the display unit 106 displays a display image on a display device (not illustrated). In step S504, the display unit 106 determines whether the recording instruction from the shutter button unit 105 has been received. If this is the case, S505 and S506 are executed. If not received, S507 is executed.

S505では、画像編集部103が、記録部104からLFRAW画像を読み出し、LFRAW画像をS501で受け取った焦点情報に従って再構成して保存用画像データに編集する。保存用画像データは、例えばライトフィールドデータでない画像の再生装置でも再生可能な画像形式であるJPEGフォーマットに準拠したデータ形式のデータである。編集が完了した保存用画像データは、記録部106出力され、S506にて記録部106が受け取った保存用画像データを保持する。   In S505, the image editing unit 103 reads out the LFRAW image from the recording unit 104, reconfigures the LFRAW image according to the focus information received in S501, and edits the image data for storage. The image data for storage is, for example, data in a data format that conforms to the JPEG format, which is an image format that can be reproduced by an image reproduction device that is not light field data. The storage image data that has been edited is output to the recording unit 106, and holds the storage image data received by the recording unit 106 in S506.

S507では、画像編集部103はフォーカスレンズ移動部102から焦点情報を受け取ったかどうかを判定する。焦点情報を受け取っていた場合は、S508を実行し、焦点情報を受け取っていない場合はS509を実行する。S508では、画像編集部103が焦点情報を、フォーカスレンズ移動部102から受け取った焦点情報に更新する。本実施例においては、例えばユーザーによりフォーカス位置が、フォーカスレンズ移動部102が操作されて、被写体302である距離7に変更された場合は、焦点情報を距離7に変更して画像編集部103に出力する。さらにS502において、画像編集部103はLFRAW画像を距離7にフォーカスが合うように再構成して表示用画像データに編集する。   In step S <b> 507, the image editing unit 103 determines whether focus information has been received from the focus lens moving unit 102. If focus information has been received, S508 is executed, and if focus information has not been received, S509 is executed. In step S <b> 508, the image editing unit 103 updates the focus information to the focus information received from the focus lens moving unit 102. In the present embodiment, for example, when the focus position is changed by the user to the distance 7 that is the subject 302 by operating the focus lens moving unit 102, the focus information is changed to the distance 7 and the image editing unit 103 is changed. Output. In step S502, the image editing unit 103 reconstructs the LFRAW image so that the distance 7 is in focus, and edits the display image data.

S509では、モード切替が指示されたかどうかを判定し、指示されていない場合は、S504を実行する。以降、S509においてモード指示部101によるモード切り替えの指示が検出されるまでS502からS509の動作を繰り返し実行する。S509にてモード指示部101からモード切り替えが指示された場合は、不図示のライトフィールドカメラ全体の制御部が再生モードの終了処理を行う。次いで、S510で、再生モードを終了する。   In S509, it is determined whether or not mode switching has been instructed. If not instructed, S504 is executed. Thereafter, the operations from S502 to S509 are repeatedly executed until the mode switching instruction by the mode instruction unit 101 is detected in S509. If mode switching is instructed from the mode instruction unit 101 in S509, the control unit for the entire light field camera (not shown) performs a reproduction mode end process. Next, in S510, the playback mode is terminated.

本実施例では、フォーカスレンズ移動部102が出力する焦点情報が距離3から距離7に変更された際の画像の再構成による再生動作について説明したが、実際は被写体がない距離4などに焦点情報を変更して設定することも可能である。   In the present embodiment, the reproduction operation by image reconstruction when the focus information output from the focus lens moving unit 102 is changed from the distance 3 to the distance 7 has been described. However, the focus information is actually applied to the distance 4 where there is no subject. It is also possible to change and set.

以上、本発明によれば、撮影モードと再生モードにおいてフォーカスレンズ移動部102とシャッターボタン部105を兼用することで可能となる。これにより、再生モードにおいても、LFRAW画像から撮影時と同様の焦点調節の操作感で所望のフォーカスに合わせた画像を再構成して再生することが可能となる。   As described above, according to the present invention, the focus lens moving unit 102 and the shutter button unit 105 can be used in both the shooting mode and the playback mode. As a result, even in the playback mode, it is possible to reconstruct and play back an image adjusted to the desired focus from the LFRAW image with the same focus adjustment operation feeling as when shooting.

次に、図3、図4、図7、図8、図9、図10を参照して、本発明の第2の実施例に係る画像再生装置を適用した撮像装置の構成を説明する。なお、本実施例は、第1の実施例でのフォーカスレンズ移動部102およびシャッターボタン部105に加えて、絞り調整部も撮影時と再生時において兼用する撮像装置の画像再生動作を特徴とする。なお、図7乃至10において、第1の実施例と同様の部分は同じ符号を付して示す。また、図3および図4については、第1の実施例において既に説明した部分のここでの説明は割愛する。   Next, with reference to FIGS. 3, 4, 7, 8, 9, and 10, the configuration of the imaging apparatus to which the image reproducing apparatus according to the second embodiment of the present invention is applied will be described. In addition to the focus lens moving unit 102 and the shutter button unit 105 in the first embodiment, the present embodiment is characterized by the image reproducing operation of the imaging apparatus that also serves as the aperture adjustment unit during shooting and playback. . 7 to 10, the same parts as those in the first embodiment are denoted by the same reference numerals. 3 and FIG. 4, the description of the portion already described in the first embodiment is omitted here.

図4において、401、402、403はLFRAW画像で再構成(編集)可能な被写界深度を示す。401は距離2から距離13にフォーカスが合っている、つまり被写体301乃至被写体304のすべてにフォーカスが合っている状態を示す。402は被写体301のみにフォーカスが合っている状態を示す。403は被写体302乃至被写体304にフォーカスが合っている状態を示す。被写界深度は説明の都合上、被写体のある位置を示しているが、被写体がない範囲を含めて設定してもよい。   In FIG. 4, reference numerals 401, 402, and 403 denote depths of field that can be reconstructed (edited) with an LFRAW image. Reference numeral 401 denotes a state in which the distance 2 to the distance 13 are in focus, that is, all of the subjects 301 to 304 are in focus. Reference numeral 402 denotes a state in which only the subject 301 is in focus. Reference numeral 403 denotes a state where the subjects 302 to 304 are in focus. For the sake of explanation, the depth of field indicates a certain position of the subject, but may be set including a range where there is no subject.

図7は、本実施例に係る画像再生装置を適用したライトフィールドカメラである撮像装置100の要部の構成を示す。図において、101、102、104、105、106は図1と同一である。700は、ライトフィールドカメラ全体である。701は、撮影モード時と再生モード時において設定された絞り情報を、F値情報として出力する絞り調整部である。702は、焦点情報とF値情報よりフォーカス位置と被写界深度を算出し、設定情報として出力する設定調整部である。703は、LFRAW画像を設定情報に従って再構成し、表示用画像データもしくは保存用画像データに編集する画像編集部である。704は、撮影モード時においては、LFRAW画像と撮影の設定情報を不図示の記憶媒体に記録し、再生モードにおいては、LFRAW画像を編集したリフォーカス画像を不図示の記憶媒体に記録する記録部である。   FIG. 7 illustrates a configuration of a main part of the imaging apparatus 100 that is a light field camera to which the image reproducing apparatus according to the present embodiment is applied. In the figure, reference numerals 101, 102, 104, 105 and 106 are the same as those in FIG. Reference numeral 700 denotes an entire light field camera. Reference numeral 701 denotes an aperture adjustment unit that outputs aperture information set in the shooting mode and the playback mode as F-number information. A setting adjustment unit 702 calculates a focus position and a depth of field from the focus information and the F value information and outputs the calculated position as setting information. An image editing unit 703 reconstructs an LFRAW image according to setting information and edits the image into display image data or storage image data. A recording unit 704 records an LFRAW image and shooting setting information in a storage medium (not shown) in the shooting mode, and records a refocused image obtained by editing the LFRAW image in a storage medium (not shown) in the playback mode. It is.

図8は、本実施例に係る撮像装置の外観を概略的に示す図である。同図において、図7と同様の部分は同じ符号を付して示す。図7および図8に示すように、本実施例の撮像装置では、第1の実施例に加えて絞り調節部701が追加されている構成となっている。絞り調節部701は、フォーカスレンズ移動部102やシャッターボタン部105と同様に、ライトフィールドカメラでない従来のデジタル一眼レフカメラと同様の構成である。しかし、第1の実施例と同様に、再生モードの際の操作感が撮影時と比べて損なわれない構成であることが望ましい。例えば、ユーザによる回転操作により、絞り値、いわゆるF値を変更する構成とする。ただし、本実施例においてはこれに限るものではなく、例えばタッチパネルや十字キーのUI操作によって絞り値の操作が行われてもよい。従って、第1の実施例と同様に、本実施例の画像再生装置は、ライトフィールドデータの入力が可能な情報処理装置等の装置にも適用することが可能である。   FIG. 8 is a diagram schematically illustrating the appearance of the imaging apparatus according to the present embodiment. In the figure, parts similar to those in FIG. As shown in FIGS. 7 and 8, the image pickup apparatus according to the present embodiment has a configuration in which an aperture adjustment unit 701 is added to the first embodiment. Similar to the focus lens moving unit 102 and the shutter button unit 105, the aperture adjusting unit 701 has the same configuration as a conventional digital single-lens reflex camera that is not a light field camera. However, similarly to the first embodiment, it is desirable that the operational feeling in the playback mode is not impaired compared with that during shooting. For example, the aperture value, so-called F value, is changed by a rotation operation by the user. However, the present embodiment is not limited to this, and an aperture value operation may be performed by, for example, a touch panel or cross key UI operation. Therefore, similarly to the first embodiment, the image reproducing apparatus of the present embodiment can be applied to an apparatus such as an information processing apparatus capable of inputting light field data.

次に、図9および図10を参照して、本実施例に係る撮像装置の再生モードでの動作について詳細に説明する。図9は、LFRAW画像が少なくとも1枚以上保持されている場合の再生モードのメインフローチャートを示す。図10は、図9の画像初期値取得に関する詳細フローチャートを示す。   Next, with reference to FIGS. 9 and 10, the operation of the imaging apparatus according to the present embodiment in the playback mode will be described in detail. FIG. 9 shows a main flowchart of the playback mode when at least one LFRAW image is held. FIG. 10 shows a detailed flowchart for obtaining the image initial value in FIG.

S900において、不図示の制御部による制御の下で、モード指示部101に従ってライトフィールドカメラ700が再生モードに移行して、本編集動作が開始される再生モード。そして、S901にて、フォーカスレンズ移動部102と絞り調整部701の初期化処理を行う。   A reproduction mode in which the light field camera 700 shifts to the reproduction mode in accordance with the mode instruction unit 101 and the main editing operation is started under the control of a control unit (not shown) in S900. In step S901, the focus lens moving unit 102 and the aperture adjusting unit 701 are initialized.

S901の初期化処理は、図10に示すフローチャートのS1000において開始される。S1001にて、画像編集部703はLFRAW画像からF値を取得する。例えば被写界深度の初期情報としては、被写体301のみに焦点が合っているF値402に対応した被写界深度402が設定されるとする。また、被写界深度初期値は、LFRAW画像でなく絞り調整部701が、カメラ本体としての固定の値を有する構成であってもよい。次いで、S1002にて、絞り調整部701がF値情報をF値402に設定する。   The initialization process of S901 is started in S1000 of the flowchart shown in FIG. In step S1001, the image editing unit 703 acquires an F value from the LFRAW image. For example, it is assumed that the depth of field 402 corresponding to the F value 402 focused on only the subject 301 is set as the initial information on the depth of field. Further, the initial value of the depth of field may be a configuration in which the aperture adjustment unit 701 has a fixed value as the camera body instead of the LFRAW image. In step S <b> 1002, the aperture adjustment unit 701 sets the F value information to the F value 402.

図10において、S601乃至S603は第1の実施例と同様なので、ここでの説明は省略する。   In FIG. 10, S601 to S603 are the same as those in the first embodiment, and the description thereof is omitted here.

図9に示すメインフローチャートに戻り、S902にて、設定調整部702はF値402に対応する被写界深度を算出し、算出した被写界深度402を設定情報として出力する。さらに画像編集部703はLFRAW画像を設定情報に従って焦点情報が距離3で被写界深度402の範囲にフォーカスが合うように再構成して表示用画像データに編集する。表示用画像データは、不図示の表示デバイスのデータ形式に準拠した画像データである。編集された表示用画像データは、表示部106に出力される。   Returning to the main flowchart shown in FIG. 9, in step S902, the setting adjustment unit 702 calculates the depth of field corresponding to the F value 402, and outputs the calculated depth of field 402 as setting information. Further, the image editing unit 703 reconstructs the LFRAW image according to the setting information so that the focus information is in the distance 3 and the range of the depth of field 402 is in focus, and edits the image data for display. The display image data is image data that conforms to a data format of a display device (not shown). The edited display image data is output to the display unit 106.

S503乃至S508は、第1の実施例と同様のため、説明を割愛する。   Since S503 to S508 are the same as those in the first embodiment, description thereof is omitted.

S909にて、設定調整部702は、絞り調整部701からF値情報を受け取っているかどうかを確認する。F値情報を受け取っている場合は、S910を実行し、受け取っていない場合はS911を実行する。   In step S909, the setting adjustment unit 702 confirms whether or not F value information is received from the aperture adjustment unit 701. If the F value information has been received, S910 is executed, and if it has not been received, S911 is executed.

S910では、設定調整部702が、絞り調整部701から受け取ったF値情報から被写界深度を算出し、画像編集部703に出力する。本実施例においては、例えば、ユーザーがF値をF値401に変更する操作をした場合は、絞り調整部701は、F値401を設定調整部702に出力する。設定調整部702はF値401から被写界深度を算出し、被写界深度401を画像編集部703に出力する。   In step S <b> 910, the setting adjustment unit 702 calculates the depth of field from the F value information received from the aperture adjustment unit 701 and outputs the depth of field to the image editing unit 703. In the present embodiment, for example, when the user performs an operation of changing the F value to the F value 401, the aperture adjustment unit 701 outputs the F value 401 to the setting adjustment unit 702. The setting adjustment unit 702 calculates the depth of field from the F value 401 and outputs the depth of field 401 to the image editing unit 703.

さらにS902において、画像編集部703はLFRAW画像を距離7と被写界深度401の範囲にフォーカスが合うように再構成して表示用画像データに編集する。   In step S <b> 902, the image editing unit 703 reconstructs the LFRAW image so that the range of the distance 7 and the depth of field 401 is in focus and edits the image data for display.

S911にてモード切替が指示されていない場合は、S504を実行する。以降、S911にて、モード指示部101によりモード切り替え指示が検出されるまで、S902からS91111を繰り返し実行する。S911にてモード指示部101によりモード切り替え指示が検出された場合は、不図示のライトフィールドカメラ全体の制御部が再生モードの終了処理を行う。S912において、本再生モードの動作を終了する。   If mode switching is not instructed in S911, S504 is executed. Thereafter, S902 to S91111 are repeatedly executed until a mode switching instruction is detected by the mode instruction unit 101 in S911. If a mode switching instruction is detected by the mode instructing unit 101 in S911, the control unit for the entire light field camera (not shown) performs a reproduction mode end process. In S912, the operation in the present playback mode is terminated.

以上、本実施例では、フォーカスレンズ移動部102が出力する焦点情報が距離3から距離7に変更され、絞り値調整部が出力するF値情報がF値402からF値401に変更された際の画像再生動作について説明した。しかし、焦点情報の変更については、実施例1と同様に、例えば被写体がない距離4などに対して設定することも可能である。また、F値情報の設定変更についても、焦点情報と同様である。   As described above, in this embodiment, the focus information output from the focus lens moving unit 102 is changed from the distance 3 to the distance 7, and the F value information output from the aperture value adjusting unit is changed from the F value 402 to the F value 401. The image playback operation has been described. However, the change of the focus information can be set for the distance 4 where there is no subject, for example, as in the first embodiment. The setting change of the F value information is the same as that of the focus information.

本実施例によれば、再生モードフォーカスレンズ移動部102(焦点調節部)、シャッターボタン部105および絞り調整部701を撮影モードと再生モードにおいて兼用することが可能となる。これにより、再生モード撮影時の操作感で所望のフォーカスに合わせた画像をLFRAW画像から再構成することが可能となる。   According to the present embodiment, the reproduction mode focus lens moving unit 102 (focus adjustment unit), the shutter button unit 105, and the aperture adjustment unit 701 can be used in both the photographing mode and the reproduction mode. As a result, it is possible to reconstruct an image adjusted to the desired focus from the LFRAW image with an operational feeling during shooting in the playback mode.

次に、図3、図9、図11、図12、図13、図14、図15を参照して、本発明の第3の実施例を説明する。本実施例は、第1又は第2の実施例において、撮像装置がカメラ本体とそれに着脱可能なフォーカスレンズ移動部を有する場合に行われる画像再生動作の例である。ここで、例えば着脱可能なフォーカスレンズ移動部を有するライトフィールド撮像装置とは、例えばフォーカスレンズ移動部と一体化していて着脱可能であるレンズユニットを有する撮像装置である。なお、図11乃至15において、第1および第2の実施例と同様の部分は、同じ符号を付して示す。また、図3は第1および第2の実施例と同様であるので、ここでの説明は省略する。図9についても、第2の実施例と異なる動作について説明し、その他の動作については第2の実施例と同様のため、ここでの説明を割愛する。   Next, a third embodiment of the present invention will be described with reference to FIGS. 3, 9, 11, 12, 13, 14, and 15. FIG. This embodiment is an example of an image reproduction operation performed in the first or second embodiment when the imaging apparatus includes a camera body and a focus lens moving unit that can be attached to and detached from the camera body. Here, for example, a light field imaging device having a detachable focus lens moving unit is, for example, an imaging device having a lens unit that is integrated with the focus lens moving unit and is detachable. 11 to 15, the same parts as those in the first and second embodiments are denoted by the same reference numerals. Since FIG. 3 is the same as that of the first and second embodiments, description thereof is omitted here. Also for FIG. 9, operations different from those of the second embodiment will be described, and other operations are the same as those of the second embodiment, and thus description thereof is omitted here.

図11は、本実施例に係る画像再生装置を適用したライトフィールドカメラである撮像装置の要部の構成図である。図において、101、104、105、106、701、703は第2の実施例と同様のため、その説明を割愛する。   FIG. 11 is a configuration diagram of a main part of an imaging apparatus that is a light field camera to which the image reproducing apparatus according to the present embodiment is applied. In the figure, reference numerals 101, 104, 105, 106, 701, and 703 are the same as those in the second embodiment, and the description thereof is omitted.

1100はカメラ本体である。1101はカメラ本体1100と着脱可能なレンズユニットである。1102は、レンズユニット1101と一体化しているフォーカスレンズ移動部である。1103は、フォーカスレンズ移動部1102からの焦点情報と絞り調整部701からのF値情報を受け取り、フォーカス位置と被写界深度を算出し、その設定情報を画像編集部703に出力する設定調整部である。設定調整部1103は、レンズユニット1101が撮影モード時と再生モード時で異なる特性のレンズユニットであった場合に警告指示を後述する表示部1104に出力する。設定調整部1103は焦点可能範囲の情報を保持している。ここで、焦点可能範囲とは、焦点位置を変更する際に設定可能な範囲を示す値である。1104は、不図示の表示デバイスに表示用画像データを表示する表示部である。表示部1104は、設定調整部1103より警告指示を受け取った際に、表示用画像データに警告画像を合成して表示デバイスに表示する。   Reference numeral 1100 denotes a camera body. Reference numeral 1101 denotes a lens unit that can be attached to and detached from the camera body 1100. Reference numeral 1102 denotes a focus lens moving unit integrated with the lens unit 1101. A setting adjustment unit 1103 receives focus information from the focus lens moving unit 1102 and F-number information from the aperture adjustment unit 701, calculates a focus position and a depth of field, and outputs the setting information to the image editing unit 703. It is. The setting adjustment unit 1103 outputs a warning instruction to the display unit 1104 described later when the lens unit 1101 is a lens unit having different characteristics in the shooting mode and the reproduction mode. The setting adjustment unit 1103 holds information on the focusable range. Here, the focusable range is a value indicating a range that can be set when the focus position is changed. A display unit 1104 displays display image data on a display device (not shown). When receiving a warning instruction from the setting adjustment unit 1103, the display unit 1104 combines the warning image with the display image data and displays it on the display device.

図12は、フォーカス特性の異なるレンズが装着されていた際に表示する警告画面の例を示す図である。なお、同図において、符号105、701、1100を付した部分は、図11において同一の符号を付した部分に対応している。図12において、1200は、不図示の表示デバイスであり、表示部106によって表示用画像データが表示される。1201は、設定調整部1103にて警告指示が出力された際に表示部1104が表示用画像データに合成した警告画像である。   FIG. 12 is a diagram illustrating an example of a warning screen displayed when lenses having different focus characteristics are attached. In the figure, the portions denoted by reference numerals 105, 701, and 1100 correspond to the portions denoted by the same reference numerals in FIG. In FIG. 12, reference numeral 1200 denotes a display device (not shown), on which display image data is displayed by the display unit 106. A warning image 1201 is combined with display image data by the display unit 1104 when a warning instruction is output from the setting adjustment unit 1103.

図13は、本実施例に係る距離毎の被写体検出頻度のヒストグラムであり、横軸はフォーカスレンズ移動部1102で設定可能な距離、縦軸は出現頻度を表す。図3のヒストグラムと異なる点は、本実施例の場合、設定可能な距離が正規化されていることである。   FIG. 13 is a histogram of subject detection frequency for each distance according to the present embodiment, where the horizontal axis represents the distance that can be set by the focus lens moving unit 1102, and the vertical axis represents the appearance frequency. The difference from the histogram of FIG. 3 is that the distance that can be set is normalized in this embodiment.

図13において、301乃至304は図3に同じ符号で示される被写体を示している。距離(a)、距離(b)、距離(c)は、それぞれ特性の異なるフォーカスレンズ移動部1102の距離設定をLFRAW画像の実際の距離に合わせて正規化した目盛りである。本実施例では、LFRAW画像を撮影したレンズの特性に従った目盛りを距離(b)とし、16段階の距離設定とする。正規化により、距離(a)のレンズは8段階、距離(c)のレンズは32段階の特性を有するものとする。また各距離に対応した焦点可能範囲は、距離(a)は焦点範囲(a)で距離0から距離7、距離(b)は焦点範囲(b)で距離0から距離15、距離(c)は焦点範囲(c)で距離0から距離31とする。   In FIG. 13, reference numerals 301 to 304 denote objects indicated by the same reference numerals in FIG. The distance (a), the distance (b), and the distance (c) are scales obtained by normalizing the distance setting of the focus lens moving unit 1102 having different characteristics according to the actual distance of the LFRAW image. In the present embodiment, the scale according to the characteristics of the lens that captured the LFRAW image is set as the distance (b), and the distance is set in 16 steps. By normalization, it is assumed that the lens of distance (a) has eight levels and the lens of distance (c) has 32 levels. The focusable range corresponding to each distance is as follows: distance (a) is focus range (a) from distance 0 to distance 7, distance (b) is focus range (b), distance 0 to distance 15, and distance (c) is The distance is 0 to 31 in the focal range (c).

次に、図9、図14および図15を参照して、本実施例に係る撮像装置の再生モードでの動作について説明する。本実施例の動作は、第2の実施例の図9のフローチャートに従った動作と同様であるが、S901の処理が第2の実施例と異なる。   Next, with reference to FIG. 9, FIG. 14, and FIG. 15, the operation in the reproduction mode of the imaging apparatus according to the present embodiment will be described. The operation of this embodiment is the same as the operation according to the flowchart of FIG. 9 of the second embodiment, but the process of S901 is different from that of the second embodiment.

図14と図15は、図9のS901の画像初期値取得処理(焦点位置の正規化処理)の詳細フローチャートを示す。再生モード   14 and 15 show a detailed flowchart of the image initial value acquisition process (focus position normalization process) in S901 of FIG. Playback mode

S1400で焦点位置初期化動作を開始し、S1401で、設定調整部1103は装着レンズの特性情報を取得する。ここでの装着レンズの特性情報とは、カメラ本体1100に現在装着されているレンズユニット1101の種類が判別可能な個体情報である。   In step S1400, the focus position initialization operation is started. In step S1401, the setting adjustment unit 1103 acquires characteristic information of the attached lens. Here, the characteristic information of the attached lens is individual information that allows the type of the lens unit 1101 currently attached to the camera body 1100 to be identified.

S1402で、設定調整部1103は撮影レンズの特性情報を取得する。ここでの撮影レンズの特性情報とは、LFRAW画像の撮影時にカメラ本体1100に装着されていたレンズユニット1101の種類が判別可能な個体情報である。   In step S1402, the setting adjustment unit 1103 acquires characteristic information of the photographing lens. Here, the characteristic information of the photographing lens is individual information that can identify the type of the lens unit 1101 attached to the camera body 1100 when photographing the LFRAW image.

S1403で、設定調整部1103は装着レンズの特性情報と撮影レンズの特性情報を比較する。両者が同一である場合は、S1404へ分岐し、同一でない場合はS1410に分岐する。   In step S1403, the setting adjustment unit 1103 compares the characteristic information of the mounted lens with the characteristic information of the photographing lens. If both are the same, the process branches to S1404; otherwise, the process branches to S1410.

S1410では、設定調整部1103は、現在装着中されているレンズユニット1101のフォーカスレンズ移動部1102で実現可能な焦点範囲(a)を取得する。次いで、S1411で、設定調整部1103はLFRAW画像の撮影時に装着していたレンズユニット1101のフォーカスレンズ移動部1102で実現可能な焦点範囲(b)を取得する。そして、S1412で、設定調整部1103は焦点範囲(a)と焦点範囲(b)を比較し、同一である場合はS1404に分岐し、同一でない場合はS1413に分岐する。   In step S1410, the setting adjustment unit 1103 acquires a focus range (a) that can be realized by the focus lens moving unit 1102 of the lens unit 1101 currently mounted. In step S1411, the setting adjustment unit 1103 acquires a focus range (b) that can be realized by the focus lens moving unit 1102 of the lens unit 1101 that was attached when the LFRAW image was captured. In step S1412, the setting adjustment unit 1103 compares the focal range (a) and the focal range (b). If they are the same, the process branches to S1404, and if they are not the same, the process branches to S1413.

A1404では、画像編集部703はLFRAW画像から焦点初期位置を取得する。例えば焦点初期位置として、被写体301である距離3が設定されているとする。   In A1404, the image editing unit 703 acquires the initial focus position from the LFRAW image. For example, it is assumed that the distance 3 that is the subject 301 is set as the initial focus position.

S1413では、フォーカス調整処理を行う。ここでフォーカス調整処理とは、設定調整部1103が焦点範囲の正規化するとともに焦点初期位置を取得し、焦点情報を生成して画像編集部701に送信することである。   In S1413, focus adjustment processing is performed. Here, the focus adjustment processing means that the setting adjustment unit 1103 normalizes the focus range, acquires the initial focus position, generates focus information, and transmits the focus information to the image editing unit 701.

S1413での処理を、図15に示すフローチャートを用いて説明する。   The processing in S1413 will be described using the flowchart shown in FIG.

S1500において、本フォーカス調整処理を開始する。S1501で、設定調整部1103が焦点範囲(b)を焦点範囲(a)に正規化する。例えば、焦点範囲(a)は距離(a)に、焦点範囲(b)は距離(b)に対応する。正規化前の焦点距離(b)での各被写体の距離は、被写体301が3、被写体302が7、被写体303が9、被写体304が12である。焦点距離(a)に正規化した後の各被写体の距離は、被写体301が1、被写体302が3、被写体303が4、被写体304が6となる。   In S1500, the focus adjustment process is started. In step S1501, the setting adjustment unit 1103 normalizes the focal range (b) to the focal range (a). For example, the focal range (a) corresponds to the distance (a), and the focal range (b) corresponds to the distance (b). The distance of each subject at the focal length (b) before normalization is 3 for the subject 301, 7 for the subject 302, 9 for the subject 303, and 12 for the subject 304. The distance of each subject after normalization to the focal length (a) is 1 for the subject 301, 3 for the subject 302, 4 for the subject 303, and 6 for the subject 304.

S1502にて、設定調整部1103はLFRAW画像から焦点初期位置を取得する。例えば焦点初期位置として、撮影時の焦点位置である被写体301の距離3が設定されているとする。次いで、S1503において、設定調整部1103は取得した距離3を正規化して焦点初期位置を距離1とする。S1504では、フォーカス調整処理を終了する。   In step S1502, the setting adjustment unit 1103 acquires the initial focus position from the LFRAW image. For example, it is assumed that the distance 3 of the subject 301 that is the focal position at the time of shooting is set as the initial focus position. In step S <b> 1503, the setting adjustment unit 1103 normalizes the acquired distance 3 to set the initial focus position as the distance 1. In step S1504, the focus adjustment process ends.

図14のフローチャートに戻り、S1414で、設定調整部1103は表示部1104に警告指示を出力する。   Returning to the flowchart of FIG. 14, in step S <b> 1414, the setting adjustment unit 1103 outputs a warning instruction to the display unit 1104.

その後、S1405にて、フォーカスレンズ移動部1102は設定調整部1103に出力する焦点情報を距離1とする。   In step S <b> 1405, the focus lens moving unit 1102 sets the focus information output to the setting adjustment unit 1103 to distance 1.

次いで、S1406にて、フォーカスレンズ移動部1102はフォーカス位置を距離1にし、S1406で、焦点位置初期化処理を終了する。   Next, in S1406, the focus lens moving unit 1102 sets the focus position to the distance 1, and in S1406, the focus position initialization process ends.

上述した本実施例の焦点位置初期化処理を行った後、表示部1104が警告指示を受け取っていた場合は、S902の表示画像編集において、図12の1201の様に警告画像を表示用画像に合成する。   If the display unit 1104 has received a warning instruction after the focus position initialization process of the present embodiment described above, the warning image is changed to a display image as shown in 1201 in FIG. Synthesize.

また、S508においても、S1413のフォーカス調整処理を行いフォーカス位置の正規化を行う。例えば焦点範囲(b)が、距離(c)の様に、再生モード時のレンズユニット1101より撮影モード時のレンズユニット1101の方が設定可能な距離の段階数が多い場合においても、図13の様に正規化を行うことで再生が可能となる。   In S508, the focus adjustment is performed in S1413 to normalize the focus position. For example, even when the focal range (b) is larger than the lens unit 1101 in the reproduction mode and the number of steps of the distance that can be set in the lens unit 1101 in the shooting mode is larger than the lens unit 1101 in the reproduction mode, as shown in FIG. Reproduction is possible by performing normalization in the same manner.

また絞り調整部701においても同様に正規化を行うことでレンズユニット1101に絞り調整部701と一体化することが可能であり、その際は設定調整部1103をレンズユニット1101に含めても良い。   The aperture adjustment unit 701 can also be integrated with the lens adjustment unit 701 by performing normalization in the same manner. In this case, the setting adjustment unit 1103 may be included in the lens unit 1101.

また、上述の説明では、第2の実施例に(図9)本実施例を適用した例を説明したが、第1の実施例(図5)に本実施例を適用してもよい。   In the above description, the example in which the present embodiment is applied to the second embodiment (FIG. 9) has been described. However, the present embodiment may be applied to the first embodiment (FIG. 5).

以上、本実施例によれば、フォーカスレンズ移動部とレンズが一体となって着脱可能なレンズユニットを有するライトフィールドカメラにおいて、撮影時の操作感を損なうことなく所望のフォーカス画像を生成可能となる。特に、撮影モードと再生モードでフォーカスレンズ移動部が異なる特性を持つ場合でも、両モードにおいて撮影時の操作感を損なうことなく、フォーカスレンズ移動部102とシャッターボタン部105を兼用することで可能となる。   As described above, according to the present embodiment, in a light field camera having a lens unit in which the focus lens moving unit and the lens are integrated and detachable, a desired focus image can be generated without impairing the operational feeling during shooting. . In particular, even when the focus lens moving unit has different characteristics in the shooting mode and the playback mode, it is possible to combine the focus lens moving unit 102 and the shutter button unit 105 without impairing the operational feeling during shooting in both modes. Become.

以下、図3、図9、図11、図12、図14、図16、図17を参照して、本発明の第4の実施例を説明する。本実施例は、着脱可能なフォーカスレンズ移動部を有するライトフィールド撮像装置において、撮影モードと再生モードでフォーカスレンズ移動部の特性が異なっても、フォーカス位置の正規化をせずにLFRAW画像の再生を行う例である。図16および図17において、第1および第2の実施例と同様の部分は同じ符号を付して示す。また、図3、図11、図12は、第3の実施例と同様のため、ここでの説明を割愛する。図9、図14については、第3の実施例と異なる動作について説明し、その他は第3の実施例と同様のため、ここでの説明を割愛する。   A fourth embodiment of the present invention will be described below with reference to FIGS. 3, 9, 11, 12, 14, 16, and 17. FIG. In this embodiment, in a light field imaging device having a detachable focus lens moving unit, even if the characteristics of the focus lens moving unit are different between the shooting mode and the playback mode, the LFRAW image is reproduced without normalizing the focus position. Is an example of 16 and 17, the same parts as those in the first and second embodiments are denoted by the same reference numerals. 3, 11, and 12 are the same as those in the third embodiment, and thus the description thereof is omitted here. 9 and 14, operations different from those of the third embodiment will be described, and the other operations are the same as those of the third embodiment, and thus description thereof will be omitted here.

図16は、本実施例に係る距離毎の被写体検出頻度ヒストグラムを示す。同図において、横軸はフォーカスレンズ移動部で設定可能な距離、縦軸は出現頻度を表す。符号301乃至304は、図3において同じ符号で示される被写体に対応している。距離(d)、距離(e)、距離(f)は、それぞれ特性の異なるフォーカスレンズ移動部1102の距離設定を表す目盛りである。   FIG. 16 shows a subject detection frequency histogram for each distance according to the present embodiment. In the figure, the horizontal axis represents the distance that can be set by the focus lens moving unit, and the vertical axis represents the appearance frequency. Reference numerals 301 to 304 correspond to subjects indicated by the same reference numerals in FIG. The distance (d), the distance (e), and the distance (f) are scales representing the distance setting of the focus lens moving unit 1102 having different characteristics.

本実施例では、LFRAW画像を撮影したレンズユニットの特性に従った目盛りを距離(e)とする。距離(e)は16段階の距離設定となっている。距離(d)のレンズは8段階、距離(f)のレンズは32段階とする。また各距離に対応した焦点可能範囲は、距離(d)では焦点範囲(d)で距離0から距離7、距離(e)では焦点範囲(e)で距離0から距離15、距離(f)では焦点範囲(f)で距離0から距離31とする。   In this embodiment, the distance (e) is a scale according to the characteristics of the lens unit that captured the LFRAW image. The distance (e) is set in 16 steps. The distance (d) lens has 8 stages, and the distance (f) lens has 32 stages. Further, the focusable range corresponding to each distance is the distance 0 to the distance 7 at the distance (d), the distance 0 to the distance 7 at the distance (e), the distance 0 to the distance 15 from the distance (e), and the distance (f). The distance is 0 to 31 in the focal range (f).

図17は、図14のS1413でのフォーカス調整動作の詳細なフローチャートを示す。   FIG. 17 shows a detailed flowchart of the focus adjustment operation in S1413 of FIG.

まず、撮影モード時は焦点範囲(e)のレンズユニットで、再生モード時は焦点範囲(d)のレンズユニットが装着されている場合について、図9、図14、図17を用いて本実施例の再生モードにおける画像再生動作を説明する。   First, with respect to the case where the lens unit in the focal range (e) is mounted in the shooting mode and the lens unit in the focal range (d) is mounted in the reproduction mode, this embodiment will be described with reference to FIGS. The image playback operation in the playback mode will be described.

S1410で、設定調整部1103は再生モード時で装着されているレンズユニット1101のフォーカスレンズ移動部1102で実現可能な焦点範囲(d)を取得する。S1411で、設定調整部1103はLFRAW画像の撮影時に装着していたレンズユニット1101のフォーカスレンズ移動部1102で実現可能な焦点範囲(e)を取得する。S1412で、設定調整部1103は焦点範囲(d)と焦点範囲(e)を比較し、同一である場合はS1404に分岐し、同一でない場合はS1413に分岐する。   In step S1410, the setting adjustment unit 1103 acquires a focus range (d) that can be realized by the focus lens moving unit 1102 of the lens unit 1101 mounted in the playback mode. In step S1411, the setting adjustment unit 1103 acquires a focus range (e) that can be realized by the focus lens moving unit 1102 of the lens unit 1101 that was attached when the LFRAW image was captured. In step S1412, the setting adjustment unit 1103 compares the focal range (d) and the focal range (e). If they are the same, the process branches to S1404, and if they are not the same, the process branches to S1413.

ここで図17を参照して、S1413フォーカス調整動作を説明する。   Here, the S1413 focus adjustment operation will be described with reference to FIG.

S1700で、フォーカス調整を開始する。次いで、S1701にて、設定調整部1103は、装着中のレンズユニットの焦点範囲(d)とLFRAW画像で使用したレンズユニットの焦点範囲(e)と比較し、どちらの範囲が狭いかを判定する。ここでは焦点範囲(d)のほうが狭いので、処理はS1702に分岐する。S1702では、設定調整部1103は焦点可能範囲を焦点範囲(d)とする。   In step S1700, focus adjustment is started. In step S <b> 1701, the setting adjustment unit 1103 compares the focal range (d) of the mounted lens unit with the focal range (e) of the lens unit used in the LFRAW image, and determines which range is narrower. . Here, since the focal range (d) is narrower, the process branches to S1702. In S1702, the setting adjustment unit 1103 sets the focusable range as the focus range (d).

次いで、S1703で、設定調整部1103はLFRAW画像の焦点初期位置である距離3を取得する。そして、S1704にて、設定調整部1103は焦点初期位置が装着中のレンズの焦点範囲(d)に含まれているか判定し、ここでは含まれるのでS1705に分岐し、S1705でフォーカス調整を終了する。   In step S <b> 1703, the setting adjustment unit 1103 acquires the distance 3 that is the initial focus position of the LFRAW image. In step S1704, the setting adjustment unit 1103 determines whether the initial focus position is included in the focal range (d) of the lens being mounted. Since it is included here, the process branches to step S1705, and the focus adjustment ends in step S1705. .

次に、撮影モード時は焦点範囲(e)のレンズユニットで、再生モード時は焦点範囲(f)のレンズユニットが装着されている場合について、図9、図14、図17を参照して本実施例の焦点位置を正規化しないフォーカス調整動作再生モードを説明する。   Next, referring to FIGS. 9, 14, and 17, the lens unit in the focal range (e) in the shooting mode and the lens unit in the focal range (f) in the playback mode are mounted. The focus adjustment operation reproduction mode in which the focal position is not normalized will be described.

S1410で、設定調整部1103は再生モード時で装着しているレンズユニット1101に関するフォーカスレンズ移動部1102で実現可能な焦点範囲(f)を取得する。S1411で、設定調整部1103はLFRAW画像の撮影時に装着していたレンズユニット1101に関するフォーカスレンズ移動部1102で実現可能な焦点範囲(e)を取得する。次いで、S1412で設定調整部1103は焦点範囲(f)と焦点範囲(e)を比較し、同一である場合はS1404に分岐し、同一でない場合はS1413に分岐する。   In step S1410, the setting adjustment unit 1103 acquires a focus range (f) that can be realized by the focus lens moving unit 1102 related to the lens unit 1101 attached in the playback mode. In step S1411, the setting adjustment unit 1103 acquires a focus range (e) that can be realized by the focus lens moving unit 1102 related to the lens unit 1101 that was attached when the LFRAW image was captured. Next, in step S1412, the setting adjustment unit 1103 compares the focal range (f) and the focal range (e). If they are the same, the process branches to S1404, and if they are not the same, the process branches to S1413.

ここで図17を参照して、S1413フォーカス調整動作を説明する。   Here, the S1413 focus adjustment operation will be described with reference to FIG.

S1700でフォーカス調整を開始する。   Focus adjustment is started in S1700.

S1701にて、設定調整部1103は、焦点範囲の比較結果として焦点範囲(e)のほうが狭いのでS1710に分岐する。S1710で、設定調整部1103は焦点可能範囲を焦点範囲(e)とする。   In S1701, the setting adjustment unit 1103 branches to S1710 because the focal range (e) is narrower as a comparison result of the focal range. In step S1710, the setting adjustment unit 1103 sets the focusable range as the focus range (e).

S1703で、設定調整部1103はLFRAW画像から焦点初期位置として距離3を取得する。次いで、S1704にて、設定調整部1103は焦点初期位置が現在装着されているレンズユニットの焦点範囲である距離(e)に含まれているかどうかを判定し、含まれている場合はS1705に分岐し、含まれていない場合はS1720に分岐する。ここでは含まれるので、処理はS1705に分岐する。   In step S1703, the setting adjustment unit 1103 acquires the distance 3 as the initial focus position from the LFRAW image. In step S1704, the setting adjustment unit 1103 determines whether the initial focus position is included in the distance (e) that is the focal range of the currently mounted lens unit. If included, the process branches to step S1705. If it is not included, the process branches to S1720. Since it is included here, the process branches to S1705.

なお本実施例では分岐しないが、S1720では、フォーカスレンズ移動部1102は焦点初期位置として装着されているレンズユニットの焦点範囲(d)の最大値を設定する。これは、例えば焦点範囲(d)における距離7に相当する。ただし、焦点初期位置は焦点範囲の最大値に限るものではなく任意の値でもよい。   Although not branched in this embodiment, in S1720, the focus lens moving unit 1102 sets the maximum value of the focal range (d) of the lens unit mounted as the initial focus position. This corresponds to, for example, the distance 7 in the focal range (d). However, the initial focus position is not limited to the maximum value of the focus range, and may be an arbitrary value.

その後、S1705でフォーカス調整を終了する。   Thereafter, the focus adjustment is terminated in S1705.

なお、図9のS507において、フォーカスレンズ移動部が出力する焦点情報が焦点可能範囲を超える距離になることが想定される。例えば、距離16乃至距離31の時である。その際は、S508において、設定調整部1103は焦点情報を焦点可能範囲の最大値である距離15とする。つまり距離15以上の設定がフォーカスレンズ移動部1102に設定されても表示用画像データは変わらない。   In S507 of FIG. 9, it is assumed that the focus information output from the focus lens moving unit is a distance exceeding the focusable range. For example, when the distance is 16 to 31. In this case, in step S508, the setting adjustment unit 1103 sets the focus information to the distance 15 that is the maximum value of the focusable range. That is, even if the setting of the distance 15 or more is set in the focus lens moving unit 1102, the display image data does not change.

また本実施例では、図16の距離(d)、距離(e)、距離(f)を距離0の位置を基準として対応させているが、距離0に限らず任意の位置で対応させてもよい。その際は、焦点可能範囲の設定を実現可能なより狭い範囲の距離とする。   In this embodiment, the distance (d), the distance (e), and the distance (f) in FIG. 16 are associated with the position of the distance 0 as a reference. Good. In this case, the distance within a narrower range where the focusable range can be set is set.

また、絞り調整部701においても同様の動作をさせることでレンズユニット1101に絞り調整部701と一体化することが可能であり、その際は設定調整部1103をレンズユニット1101に含めても良い。   Further, by performing the same operation in the aperture adjustment unit 701, it is possible to integrate the lens unit 1101 with the aperture adjustment unit 701. In this case, the setting adjustment unit 1103 may be included in the lens unit 1101.

また、上述の説明では、第2の実施例に(図9)本実施例を適用した例を説明したが、第1の実施例(図5)に本実施例を適用してもよい。   In the above description, the example in which the present embodiment is applied to the second embodiment (FIG. 9) has been described. However, the present embodiment may be applied to the first embodiment (FIG. 5).

以上、本実施例によれば、フォーカスレンズ移動部とレンズが一体となって着脱可能なライトフィールドカメラにおいても、所望のフォーカス画像を生成可能となる。特に、撮影モードと再生モードでフォーカスレンズ移動部が異なる特性を持つ場合でも、撮影時の操作感が特性の差異により限定されることはあるが、両モードにおいてフォーカスレンズ移動部102とシャッターボタン部105を兼用することで可能となる。   As described above, according to the present embodiment, a desired focus image can be generated even in a light field camera in which the focus lens moving unit and the lens are integrated and removable. In particular, even when the focus lens moving unit has different characteristics in the shooting mode and the playback mode, the operational feeling at the time of shooting may be limited by the difference in characteristics, but in both modes, the focus lens moving unit 102 and the shutter button unit It becomes possible by combining 105.

上述した実施形態において図のフローチャートに示した各処理は、各処理の機能を実現する為のプログラムコードを含むプログラムをメモリから読み出して制御部1218のCPUが実行することによりその機能を実現させるものである。   In the above-described embodiment, each process shown in the flowchart of the figure is realized by reading a program including a program code for realizing the function of each process from the memory and executing it by the CPU of the control unit 1218. It is.

尚、上述した構成に限定されるものではなく、図のフローチャートに示した各処理の全部または一部の機能を、専用のハードウェアにより実現してもよい。また、上述したメモリは、光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、CD−ROM等の読み出しのみが可能な記憶媒体、RAM以外の揮発性のメモリであってもよい。また、それらの組合せによるコンピュータ読み取り、書き込み可能な記憶媒体より構成されてもよい。   Note that the present invention is not limited to the above-described configuration, and all or a part of the functions shown in the flowchart of the drawing may be realized by dedicated hardware. The memory described above may be a non-volatile memory such as a magneto-optical disk device or a flash memory, a storage medium that can only be read such as a CD-ROM, or a volatile memory other than a RAM. Moreover, you may comprise from the computer-readable / writable storage medium by those combination.

また、図のフローチャートに示した各処理の機能を実現する為のプログラムをコンピュータ読み取り可能な記憶媒体に記録して、この記憶媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各処理を行っても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。具体的には、記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含む。   Further, a program for realizing the function of each process shown in the flowchart of the figure is recorded in a computer-readable storage medium, and the program recorded in the storage medium is read into a computer system and executed. Processing may be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. Specifically, the program read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.

また、「コンピュータ読み取り可能な記憶媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記憶媒体」とは、一定時間プログラムを保持しているものも含むものとする。例えば、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発メモリ(RAM)も含む。   The “computer-readable storage medium” refers to a storage device such as a flexible disk, a magneto-optical disk, a portable medium such as a ROM or a CD-ROM, and a hard disk built in a computer system. Furthermore, the “computer-readable storage medium” includes a medium that holds a program for a certain period of time. For example, it includes a volatile memory (RAM) inside a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.

また、上記プログラムは、前述した機能の一部を実現する為のものであっても良い。さらに、前述した機能をコンピュータシステムに既に記録されているプログラムとの組合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

また、上記のプログラムを記録したコンピュータ読み取り可能な記録媒体等のプログラムプロダクトも本発明の実施形態として適用することができる。上記のプログラム、記録媒体、伝送媒体およびプログラムプロダクトは、本発明の範疇に含まれる。   A program product such as a computer-readable recording medium in which the above program is recorded can also be applied as an embodiment of the present invention. The above program, recording medium, transmission medium, and program product are included in the scope of the present invention.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

Claims (17)

リフォーカス可能な画素データを再構成して画像を再生する画像再生装置において、
画像の再生の指示を取得する指示手段と、
前記画素データの再構成に必要な情報を設定する設定手段と、
前記設定手段が設定した再構成に必要な情報を更新するための情報を取得する更新手段と、
前記設定手段で設定された情報に従って、前記画素データを再構成して画像を生成する生成手段を備え、
前記設定手段は、前記画像の再生の指示が前記指示手段により取得された時は、前記再構成に必要な情報の初期情報を設定し、前記更新手段が前記更新のための情報を取得した時は、前記取得した更新のための情報に基づいて前記再構成に必要な情報を設定し、前記生成手段は、前記設定手段が再構成に必要な情報を設定したときは、設定された情報に従って前記画素データを再構成して画像を生成することを特徴とする画像再生装置。
In an image reproducing apparatus that reconstructs refocusable pixel data and reproduces an image,
An instruction means for obtaining an instruction to reproduce the image;
Setting means for setting information necessary for reconstruction of the pixel data;
Update means for acquiring information for updating information necessary for reconfiguration set by the setting means;
In accordance with the information set by the setting means, the image forming apparatus includes a generation unit that reconstructs the pixel data and generates an image.
The setting unit sets initial information of information necessary for the reconstruction when the instruction to reproduce the image is acquired by the instruction unit, and when the update unit acquires information for the update. Sets information necessary for the reconfiguration based on the acquired information for update, and when the setting means sets information necessary for the reconfiguration, the generation unit sets the information necessary for the reconfiguration according to the set information. An image reproducing apparatus that reconstructs the pixel data to generate an image.
前記再構成に必要な情報は、前記生成手段で生成される画像の焦点位置および被写界深度のいずれかであり、前記更新のための情報は、焦点調節手段および絞り調節手段のいずれかから取得する操作の情報であり、前記設定手段は、前記絞り調節手段から取得された前記操作の情報に基づいて前記被写界深度を算出することを特徴とする請求項1に記載の画像再生装置。   The information necessary for the reconstruction is any one of a focus position and a depth of field of the image generated by the generation unit, and the information for updating is from either the focus adjustment unit or the aperture adjustment unit. 2. The image reproducing apparatus according to claim 1, wherein the setting information is information on an operation to be acquired, and the setting unit calculates the depth of field based on the operation information acquired from the aperture adjustment unit. . 前記更新手段は、前記設定手段が前記焦点位置の初期情報を設定した時は、前記焦点調節手段を前記焦点位置の初期情報に従って初期化することを特徴とする請求項2に記載の画像再生装置。   3. The image reproducing apparatus according to claim 2, wherein the updating unit initializes the focus adjusting unit according to the initial information of the focal position when the setting unit sets initial information of the focal position. . 前記設定手段は、前記初期情報を、前記画素データ又は前記画像再生装置に予め設定されている情報から取得することを特徴とする請求項1乃至3のいずれか一項に記載の画像再生装置。   4. The image reproduction device according to claim 1, wherein the setting unit acquires the initial information from the pixel data or information preset in the image reproduction device. 5. 前記更新手段は、前記画素データに係る撮影レンズの特性情報および前記焦点調節手段の特性情報をさらに取得し、前記設定手段は、前記撮影レンズの特性情報と前記焦点調節手段の特性情報とに基づいて前記再構成に必要な情報を設定し、前記撮影レンズの特性情報と前記焦点調節手段の特性情報との比較の結果に従って警告指示を生成することを特徴とする請求項2乃至4のいずれか一項に記載の画像再生装置。   The update means further acquires characteristic information of the photographing lens and characteristic information of the focus adjusting means related to the pixel data, and the setting means is based on the characteristic information of the photographing lens and the characteristic information of the focus adjusting means. 5. The information required for the reconstruction is set, and a warning instruction is generated according to a result of comparison between the characteristic information of the photographing lens and the characteristic information of the focus adjusting unit. The image reproducing device according to one item. 前記設定手段は、前記撮影レンズの特性情報を、前記焦点調節手段の特性情報で正規化して前記焦点位置を設定することを特徴とする請求項5に記載の画像再生装置。   6. The image reproducing apparatus according to claim 5, wherein the setting unit sets the focal position by normalizing characteristic information of the photographing lens with characteristic information of the focus adjusting unit. 前記設定手段は、前記取得した特性情報に基づいて前記撮影レンズの焦点範囲と前記焦点調節手段の焦点範囲とを比較し、比較の結果に従って前記焦点位置を設定することを特徴とする請求項5に記載の画像再生装置。   The said setting means compares the focus range of the said imaging lens with the focus range of the said focus adjustment means based on the acquired characteristic information, and sets the said focus position according to the comparison result. The image reproducing device described in 1. 記録指示手段からの記録指示を取得し、前記記録指示に従って前記生成された画像を保存する記録手段を備えることを特徴とする請求項1乃至7のいずれか一項に記載の画像再生装置。   8. The image reproducing apparatus according to claim 1, further comprising a recording unit that acquires a recording instruction from the recording instruction unit and stores the generated image in accordance with the recording instruction. 撮影光学系で形成された被写体の光学像を撮像してリフォーカス可能な画素データを生成する撮像装置において、
前記撮像装置の動作モードを指示するモード指示手段と、
前記モード指示手段が撮影モードを指示している場合に、焦点調節のために前記撮影光学系を駆動する駆動手段と、
前記モード指示手段が撮影モードを指示している場合に、前記被写体の撮影を指示する撮影指示手段と、
前記モード指示手段が再生モードを指示している場合に、前記画素データを再構成して画像を生成する請求項1乃至8のいずれか一項に記載の画像再生装置を備え、
前記画像再生装置において取得される前記焦点調節手段および記録指示手段の操作の情報は、前記再生モードが指示された場合の前記駆動手段と撮影指示手段の操作の情報であることを特徴とする撮像装置。
In an imaging apparatus for generating pixel data that can be refocused by capturing an optical image of a subject formed by a photographing optical system,
Mode instruction means for instructing an operation mode of the imaging apparatus;
Drive means for driving the photographing optical system for focus adjustment when the mode instruction means designates a photographing mode;
Shooting instruction means for instructing shooting of the subject when the mode instruction means indicates a shooting mode;
The image reproduction device according to any one of claims 1 to 8, wherein when the mode instruction unit instructs a reproduction mode, the pixel reproduction data is reconstructed to generate an image.
The operation information of the focus adjustment unit and the recording instruction unit acquired in the image reproduction apparatus is information of the operation of the driving unit and the imaging instruction unit when the reproduction mode is instructed. apparatus.
前記撮影光学系の絞りを設定する絞り設定手段をさらに備え、前記画像再生装置において取得される絞り調整手段の操作の情報は、前記再生モードが指示されている場合の前記絞り設定手段の操作の情報であることを特徴とする請求項9に記載の撮像装置。   A diaphragm setting unit for setting a diaphragm of the photographing optical system is further provided, and information on operation of the diaphragm adjustment unit acquired in the image reproduction apparatus includes information on operation of the diaphragm setting unit when the reproduction mode is instructed. The imaging apparatus according to claim 9, wherein the imaging apparatus is information. 前記撮影光学系は、前記撮像装置において着脱可能なレンズユニットを含み、前記画像再生装置において取得される撮影レンズの特性情報と焦点調節手段の特性情報は、それぞれ前記撮影モードが指示されているときに装着されていたレンズユニットの特性情報と前記再生モードが指示されているときに装着されているレンズユニットの特性情報であることを特徴とする請求項9又は10に記載の撮像装置。   The photographing optical system includes a lens unit that can be attached to and detached from the imaging device, and the photographing lens characteristic information and the focus adjustment unit characteristic information acquired by the image reproducing device each indicate the photographing mode. The imaging apparatus according to claim 9, wherein the imaging apparatus includes characteristic information of a lens unit attached to the lens and characteristic information of a lens unit attached when the reproduction mode is instructed. 前記画像再生装置で生成された画像を表示する表示手段をさらに備え、前記表示手段は、前記画像再生装置において生成された前記警告指示に従って、警告画像を前記画像と合成して表示することを特徴とする請求項9乃至11のいずれか一項に記載の撮像装置。   The image processing apparatus further includes display means for displaying an image generated by the image reproduction apparatus, wherein the display means displays the warning image combined with the image in accordance with the warning instruction generated by the image reproduction apparatus. The imaging device according to any one of claims 9 to 11. リフォーカス可能な画素データを再構成して画像を再生する画像再生方法において、
画像の再生の指示を取得する指示ステップと、
前記画素データの再構成に必要な情報を設定する設定ステップと、
前記設定手段が設定した再構成に必要な情報を更新するための情報を取得する更新ステップと、
前記設定ステップで設定された情報に従って、前記画素データを再構成して画像を生成する生成ステップを備え、
前記設定ステップは、前記画像の再生の指示が前記指示ステップで取得された時は、前記再構成に必要な情報の初期情報を設定し、前記更新ステップで前記更新のための情報を取得された時は、前記取得した更新のための情報に基づいて前記再構成に必要な情報を設定し、前記生成ステップは、前記設定ステップで再構成に必要な情報が設定されたときは、設定された情報に従って前記画素データを再構成して画像を生成することを特徴とする画像再生方法。
In an image reproduction method for reconstructing refocusable pixel data and reproducing an image,
An instruction step for obtaining an instruction to reproduce the image;
A setting step for setting information necessary for reconstruction of the pixel data;
An update step for obtaining information for updating information necessary for reconfiguration set by the setting means;
In accordance with the information set in the setting step, comprising a generation step of reconstructing the pixel data and generating an image,
In the setting step, when an instruction to reproduce the image is acquired in the instruction step, initial information of information necessary for the reconstruction is set, and information for the update is acquired in the update step. When the information necessary for the reconfiguration is set based on the acquired information for update, the generation step is set when the information necessary for the reconfiguration is set in the setting step. An image reproduction method, wherein the image is generated by reconstructing the pixel data according to information.
リフォーカス可能な画素データを再構成して画像を再生する画像再生装置を制御するためのプログラムであり、前記プログラムは、
コンピュータを、
画像の再生の指示を取得する指示手段、
前記画素データの再構成に必要な情報を設定する設定手段、
前記設定手段が設定した再構成に必要な情報を更新するための情報を取得する更新手段、
前記設定手段で設定された情報に従って、前記画素データを再構成して画像を生成する生成手段として機能させるプログラムコードを含み、
前記プログラムコードは、前記設定手段を、前記画像の再生の指示が前記指示手段により取得された時は、前記再構成に必要な情報の初期情報を設定し、前記更新手段が前記更新のための情報を取得した時は、前記取得した更新のための情報に基づいて前記再構成に必要な情報を生成して設定するよう機能させ、前記生成手段を、前記設定手段が再構成に必要な情報を設定したときは、設定された情報に従って前記画素データを再構成して画像を生成するよう機能させるプログラムコードを含むことを特徴とするプログラム。
A program for controlling an image playback device that reconstructs refocusable pixel data and plays back an image,
Computer
Instruction means for obtaining an instruction to reproduce an image;
Setting means for setting information necessary for reconstruction of the pixel data;
Updating means for obtaining information for updating information necessary for reconfiguration set by the setting means;
In accordance with information set by the setting means, including program code that functions as generating means for reconstructing the pixel data and generating an image,
The program code sets the setting means, and when the instruction to reproduce the image is acquired by the instruction means, sets initial information of information necessary for the reconstruction, and the updating means When the information is acquired, the function for generating and setting the information necessary for the reconfiguration based on the acquired information for update is set, and the generation unit is configured to provide information necessary for the reconfiguration. A program code for causing the pixel data to be reconstructed according to the set information and functioning to generate an image.
請求項14のプログラムを記録したコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 14. コンピュータを、請求項1乃至8のいずれか一項に記載された画像再生装置の各手段として機能させるプログラム。   A program that causes a computer to function as each unit of the image reproduction device according to any one of claims 1 to 8. コンピュータを、請求項1乃至8のいずれか一項に記載されたが画像再生装置の各手段として機能させるプログラムを格納した記憶媒体。   A storage medium storing a program according to any one of claims 1 to 8 for causing a computer to function as each unit of an image reproducing device.
JP2013096486A 2013-05-01 2013-05-01 Image reproducing device, image reproducing method, program, and imaging device Pending JP2014220564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013096486A JP2014220564A (en) 2013-05-01 2013-05-01 Image reproducing device, image reproducing method, program, and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013096486A JP2014220564A (en) 2013-05-01 2013-05-01 Image reproducing device, image reproducing method, program, and imaging device

Publications (1)

Publication Number Publication Date
JP2014220564A true JP2014220564A (en) 2014-11-20

Family

ID=51938682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013096486A Pending JP2014220564A (en) 2013-05-01 2013-05-01 Image reproducing device, image reproducing method, program, and imaging device

Country Status (1)

Country Link
JP (1) JP2014220564A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289383A (en) * 2003-03-20 2004-10-14 Seiko Epson Corp Imaging device, image data generation method, image data processing device, and image data processing program
JP2007142702A (en) * 2005-11-17 2007-06-07 Nikon Corp Image processing device
JP2008109629A (en) * 2006-09-29 2008-05-08 Casio Comput Co Ltd Image correction apparatus, image correction method, and program
JP2008219878A (en) * 2007-02-09 2008-09-18 Olympus Imaging Corp Decoding method, decoding device, decoding program and electronic camera
JP2009532993A (en) * 2006-04-04 2009-09-10 アドビ システムズ インコーポレーテッド Improved plenoptic camera
JP2009253372A (en) * 2008-04-01 2009-10-29 Nikon Corp Interchangeable lens type digital camera, virtual photographed image generating method, and virtual photographed image displaying method
JPWO2011039947A1 (en) * 2009-10-01 2013-02-21 日本電気株式会社 IMAGING DEVICE, ITS CONTROL METHOD, IMAGING SYSTEM, AND PROGRAM
JP2013110556A (en) * 2011-11-21 2013-06-06 Olympus Corp Prenoptic camera

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289383A (en) * 2003-03-20 2004-10-14 Seiko Epson Corp Imaging device, image data generation method, image data processing device, and image data processing program
JP2007142702A (en) * 2005-11-17 2007-06-07 Nikon Corp Image processing device
JP2009532993A (en) * 2006-04-04 2009-09-10 アドビ システムズ インコーポレーテッド Improved plenoptic camera
JP2008109629A (en) * 2006-09-29 2008-05-08 Casio Comput Co Ltd Image correction apparatus, image correction method, and program
JP2008219878A (en) * 2007-02-09 2008-09-18 Olympus Imaging Corp Decoding method, decoding device, decoding program and electronic camera
JP2009253372A (en) * 2008-04-01 2009-10-29 Nikon Corp Interchangeable lens type digital camera, virtual photographed image generating method, and virtual photographed image displaying method
JPWO2011039947A1 (en) * 2009-10-01 2013-02-21 日本電気株式会社 IMAGING DEVICE, ITS CONTROL METHOD, IMAGING SYSTEM, AND PROGRAM
JP2013110556A (en) * 2011-11-21 2013-06-06 Olympus Corp Prenoptic camera

Similar Documents

Publication Publication Date Title
JP6429440B2 (en) Imaging device, control method thereof, and control program
JP6332996B2 (en) Moving image processing apparatus, imaging apparatus, and moving image processing method
JP6012342B2 (en) Playback device and playback device control method
JP2014003404A (en) Image recording apparatus and image reproducing apparatus
US10148861B2 (en) Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium
KR20120083085A (en) Digital photographing apparatus and control method thereof
JP2019033308A (en) Image processing system, image processing method, image processing program and imaging apparatus
JP6323022B2 (en) Image processing device
KR20150032165A (en) Moving image selection apparatus for selecting moving image to be combined, moving image selection method, and storage medium
KR101837688B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
JP2016184956A (en) Image processing apparatus and image processing method
JP2005229290A (en) Imaging apparatus and imaging method
JP7384261B2 (en) electronic equipment and programs
JP6665019B2 (en) Imaging device
JP2016099598A (en) Imaging apparatus, method for controlling the same, and control program
JP2020188417A (en) Image processing equipment, image processing methods, and computer programs
JP2014220564A (en) Image reproducing device, image reproducing method, program, and imaging device
JP2019047436A (en) Image processing device, image processing method, image processing program, and imaging device
KR101464532B1 (en) Digital image processing apparatus and method for controlling the same
JP6736289B2 (en) Information terminal device, imaging device, image information processing system, and image information processing method
JP6090485B2 (en) Imaging apparatus, imaging control method, and program
JP6357922B2 (en) Image processing apparatus, image processing method, and program
JP6610713B2 (en) Image processing apparatus, image processing method, and program
JP2019114847A (en) Image recording control apparatus, image recording method, image recording program, imaging apparatus, and image recording control system
JP2019096950A (en) Imaging apparatus, imaging method and imaging program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170302

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170831