JP6263024B2 - Image processing apparatus, image processing method, program, and image reproduction apparatus - Google Patents

Image processing apparatus, image processing method, program, and image reproduction apparatus Download PDF

Info

Publication number
JP6263024B2
JP6263024B2 JP2013267364A JP2013267364A JP6263024B2 JP 6263024 B2 JP6263024 B2 JP 6263024B2 JP 2013267364 A JP2013267364 A JP 2013267364A JP 2013267364 A JP2013267364 A JP 2013267364A JP 6263024 B2 JP6263024 B2 JP 6263024B2
Authority
JP
Japan
Prior art keywords
input
image
input information
image processing
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013267364A
Other languages
Japanese (ja)
Other versions
JP2015126261A (en
Inventor
山本 泰史
泰史 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2013267364A priority Critical patent/JP6263024B2/en
Publication of JP2015126261A publication Critical patent/JP2015126261A/en
Application granted granted Critical
Publication of JP6263024B2 publication Critical patent/JP6263024B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Description

本発明は、ライトフィールド情報を有する画像データを用いた画像処理により画像を再生するための画総処理装置および画像再生装置に関する。   The present invention relates to an image total processing apparatus and an image reproduction apparatus for reproducing an image by image processing using image data having light field information.

近年、多視点の視差像(ライトフィールド情報)を取得し、画像の再構成処理によって撮影後のピント位置の調節(リフォーカス)が可能な技術が公開されている。   In recent years, a technique has been disclosed in which a multi-view parallax image (light field information) is acquired and focus position adjustment (refocus) after photographing can be performed by image reconstruction processing.

このようなライトフィールド情報を有する画像データ(ライトフィールド画像データ)のリフォーカス処理では、再構成処理後の画像における被写体側のピント面、もしくはピント面を得るため画素加算を行う仮想面(再構成面と呼ぶ)の指定が必要である。特許文献1では再生装置に表示された画像をタッチすることで、タッチした座標の被写体にピントが合うようにリフォーカスされる技術が公開されている。この技術では、直感的に画像の奥行き方向の再構成面座標を指定することができる。   In the refocus processing of image data having such light field information (light field image data), a subject-side focus surface in the image after reconstruction processing, or a virtual surface on which pixel addition is performed to obtain a focus surface (reconstruction) Designation). Japanese Patent Application Laid-Open No. 2004-151820 discloses a technique in which an image displayed on a playback device is touched to refocus so that the subject at the touched coordinate is in focus. In this technique, the reconstruction plane coordinates in the depth direction of the image can be designated intuitively.

また再構成処理では、一般的な撮影レンズと同様にピント面をカメラと正対した奥行き方向に平行移動させるだけでなく、ピント面をカメラのレンズ面に対して斜めに設定することも可能であり、レンズチルトに相当する画像を生成することもできる。   In the reconstruction process, in addition to parallel translation of the focal plane in the depth direction facing the camera, it is possible to set the focal plane obliquely with respect to the lens plane of the camera, as with a general photographic lens. Yes, it is also possible to generate an image corresponding to the lens tilt.

US2008/0131019US2008 / 0131019

しかしながら、特許文献1などの先行技術においては、表示画面XY座標の特定点におけるZ座標(奥行き方向の位置)の指定を基本としており、レンズをチルト回転させる動作と対応する再構成面を直感的に指定することが困難である。そのため、本発明は、ライトフィールド画像データのリフォーカス処理において、レンズ面に対し傾いた再構成面の直感的な指定構成の実現を目的とする。   However, the prior art such as Patent Document 1 is based on the designation of the Z coordinate (position in the depth direction) at a specific point on the display screen XY coordinates, and the reconstruction surface corresponding to the operation of tilting the lens is intuitive. It is difficult to specify. Therefore, an object of the present invention is to realize an intuitive designation configuration of a reconstruction surface inclined with respect to a lens surface in the refocus processing of light field image data.

上記目的を達成するために、本発明によれば、被写体空間の視差を有し、再構成面で視差ごとにシフト量を与えた画像合成が可能な画像データを処理する画像処理装置は、画像データを取得する画像データ入力手段と、第1の再構成面を設定する第1の入力情報と、第1の再構成面の回転軸を設定する第2の入力情報と、回転軸の回転角度を設定する第3の入力情報を取得する画像合成情報入力手段と、取得した第1の入力情報に基づいて第1の再構成面を設定し、第1の再構成面、第2の入力情報および第3の入力情報に基づいて第2の再構成面を設定する再構成面設定手段と、再構成面設定手段で設定された再構成面における画像合成により、画像データから合成画像を生成する画像合成手段とを備える。   In order to achieve the above object, according to the present invention, an image processing apparatus that processes image data that has parallax in a subject space and is capable of image synthesis with a shift amount for each parallax on a reconstruction plane is provided. Image data input means for acquiring data, first input information for setting the first reconstruction plane, second input information for setting the rotation axis of the first reconstruction plane, and the rotation angle of the rotation axis Image composition information input means for acquiring the third input information for setting the first reconstruction plane based on the acquired first input information, the first reconstruction plane, the second input information A composite image is generated from the image data by reconstruction surface setting means for setting the second reconstruction surface based on the third input information and image composition on the reconstruction surface set by the reconstruction surface setting means. Image synthesizing means.

ライトフィールド画像データのリフォーカス処理において、レンズ面に対し傾いた再構成面の直感的な指定構成を実現可能とする画像処理装置および画像再生装置を提供することができる。   In the refocus processing of light field image data, it is possible to provide an image processing device and an image reproduction device that can realize an intuitive designation configuration of a reconstruction surface inclined with respect to a lens surface.

本発明の実施例に係る画像処理装置を適用した画像再生装置のブロック図1 is a block diagram of an image reproduction apparatus to which an image processing apparatus according to an embodiment of the present invention is applied. 本発明の実施例に係る画像処理動作のフローチャートを示す図The figure which shows the flowchart of the image processing operation | movement which concerns on the Example of this invention. ライトフィールド画像データを取得するための撮影光学系を例を示す図The figure which shows an example of the imaging optical system for acquiring light field image data ライトフィールドにおける像シフト方法と像生成方法を説明するための図The figure for demonstrating the image shift method and image generation method in a light field 斜めの再構成面に対する像シフト方法と像生成方法を説明するための図The figure for demonstrating the image shift method and image generation method with respect to an oblique reconstruction surface 撮像面および再構成面とピント面との関係を説明するための図The figure for demonstrating the relationship between an imaging surface and a reconstruction surface, and a focus surface 本発明の実施例に係る画像再生装置におけるピント面を指定するためのユーザインタフェースを説明するための図FIG. 6 is a diagram for explaining a user interface for designating a focus plane in the image reproduction apparatus according to the embodiment of the present invention. 本発明の実施例に係る画像再生装置において深度情報を入力する方法を説明するための図The figure for demonstrating the method to input depth information in the image reproduction apparatus which concerns on the Example of this invention. 本発明の実施例に係る画像処理装置による画像処理で得られる合成画像を説明するための図The figure for demonstrating the synthesized image obtained by the image processing by the image processing apparatus which concerns on the Example of this invention.

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

図1から図9を参照して、本発明の実施例に係る画像処理装置およびそれを適用した画像再生装置について説明する。   An image processing apparatus according to an embodiment of the present invention and an image reproduction apparatus to which the image processing apparatus is applied will be described with reference to FIGS.

まず、図9を用いて本実施例に関わる画像処理装置での画像処理で得られる合成画像について説明する。   First, a composite image obtained by image processing in the image processing apparatus according to the present embodiment will be described with reference to FIG.

図9(a)および図9(b)で左側にある図は、カメラと被写体の位置関係を示す図で、900はカメラ、910はカメラから被写体方向への奥行きが異なる複数の被写体、910aはその中で以後の説明で特に着目する被写体、920はピント面を示す。本実施例の画像処理装置では、画像処理によりレンズチルトに相当する効果を得るが、レンズチルトを行うとピント面をカメラに正対する状態から傾いた状態へと変化させることができる。   9A and 9B are diagrams showing the positional relationship between the camera and the subject. 900 is a camera, 910 is a plurality of subjects having different depths from the camera to the subject, and 910a is a subject. Among them, a subject 920 that is particularly focused on in the following description indicates a focus surface. In the image processing apparatus of the present embodiment, an effect equivalent to lens tilt is obtained by image processing. However, when the lens tilt is performed, the focus surface can be changed from a state directly facing the camera to a tilted state.

図9(a)および図9(b)で右側にある図は、再構成された合成画像930の例を示す。画像930に示されているドットは、被写体のボケ具合を模式的に表わし、ドットが大きいほどボケが大きく、小さいほどボケの小さい状態を表わしている。ドットがないことは、ピントが合っていることを表わしている。   The diagrams on the right side in FIGS. 9A and 9B show examples of the reconstructed composite image 930. The dots shown in the image 930 schematically represent the degree of blur of the subject. The larger the dot, the larger the blur, and the smaller the dot, the smaller the blur. The absence of a dot indicates that the subject is in focus.

図9(a)において、ピント面920aはカメラ900に正対し、且つ着目する被写体910aと一致する奥行き位置にある。そのため、合成画像上では被写体910aにピントが合い、被写体910aから奥行き位置が離れた被写体ほどボケが大きくなる。   In FIG. 9A, the focus surface 920a faces the camera 900 and is at a depth position that coincides with the subject 910a of interest. Therefore, the subject 910a is focused on the composite image, and the blur is larger as the subject is farther away from the subject 910a.

図9(b)は、ピント面920aを被写体910a上の回転軸705を中心にピント面920bへと回転してレンズチルトと同様の効果を得る場合を示す。同図に示すように、すべての被写体910にピント面420bを一致させることで、合成画像上ですべての被写体910にピントを合わせることができる。   FIG. 9B shows a case where the focus surface 920a is rotated about the rotation axis 705 on the subject 910a to the focus surface 920b to obtain the same effect as the lens tilt. As shown in the figure, it is possible to focus all the subjects 910 on the composite image by matching all the subjects 910 with the focus surface 420b.

図9(c)は、ピント面920aを被写体9410a上の回転軸705を中心にピント面920cへと回転してレンズチルトの効果を得る場合を示す。同図に示すように、この場合は、着目する被写体910a以外の被写体は、ピント面からの位置が図9(a)の状態より遠ざかっている。そのため、合成画像上では、被写体910aにピントが合い、他の被写体910はボケ状態を図9(a)での状態から一律で大きくなる。   FIG. 9C shows a case where the focus surface 920a is rotated about the rotation axis 705 on the subject 9410a to the focus surface 920c to obtain a lens tilt effect. As shown in the figure, in this case, subjects other than the subject 910a of interest are farther away from the focus surface than in the state of FIG. Therefore, on the composite image, the subject 910a is in focus, and the other subjects 910 are uniformly out of focus from the state in FIG. 9A.

このように、レンズチルトによるピント面の変化を、回転軸とその周りの回転角で考えることで、ボケ状態の変化を直感的に理解しながらピント面の設定操作を行うことができる。本実施例では、ピント面を傾けたボケ状態の操作を後述する画像処理により行うが、その際に直感的な指定方法によるピント面の設定操作を提供する。なお、本実施例は、本実施例に関わる画像処理装置を、表示部を有する画像再生装置に適用する例を説明する。なお、画像処理装置は、画像再生に特化された装置に限らず、デジタルカメラ等の撮像装置、スマートフォン等の携帯端末装置、タブレット形の情報処理装置、PCなど、画像再生、表示機能を有する装置であってもよい。また、本実施例では、ピント面の設定情報の入力を、タッチパネルを有する表示部を利用しているが、これに限るものではない。表示部にカーソルを表示し、キー操作でカーソルを移動して画像上の位置を指定する入力構成、あるいは回転角や深度を視覚的に設定できるユーザインタフェース画面に対してキー操作を行う構成としていてもよい。   Thus, by considering the change of the focus surface due to the lens tilt with the rotation axis and the rotation angle around it, the setting operation of the focus surface can be performed while intuitively understanding the change of the blurred state. In this embodiment, an operation in a blurred state in which the focus surface is tilted is performed by image processing to be described later. At that time, an operation for setting the focus surface by an intuitive designation method is provided. In this embodiment, an example in which the image processing apparatus according to this embodiment is applied to an image reproduction apparatus having a display unit will be described. The image processing apparatus is not limited to an apparatus specialized for image reproduction, but has an image reproduction and display function such as an imaging apparatus such as a digital camera, a mobile terminal apparatus such as a smartphone, a tablet-type information processing apparatus, and a PC. It may be a device. In this embodiment, the focus plane setting information is input using a display unit having a touch panel. However, the present invention is not limited to this. An input configuration in which a cursor is displayed on the display unit and the cursor is moved by key operation to specify a position on the image, or a user interface screen in which a rotation angle and depth can be visually set is configured to perform a key operation. Also good.

図1は、本発明の実施例に係る画像処理装置を適用した画像再生装置の構成を示すブロック図である。後述するように、画像再生装置は、大きく分けて、入力系A、画像処理系B、表示系Cにより構成される。それぞれの構成要素は更に細かな要素により構成される。なお、図1に示す各構成要素は、画像撮再生装置の制御部109のCPUがメモリ110に記憶されたプログラムをロードして実行することで制御することができる。この場合、画像処理装置が固有の制御部を有し、画像再生装置の制御部と処理を分担してもよい。   FIG. 1 is a block diagram showing a configuration of an image reproducing apparatus to which an image processing apparatus according to an embodiment of the present invention is applied. As will be described later, the image reproducing apparatus is roughly composed of an input system A, an image processing system B, and a display system C. Each component is composed of finer elements. Each component shown in FIG. 1 can be controlled by loading and executing a program stored in the memory 110 by the CPU of the control unit 109 of the image capturing and reproducing apparatus. In this case, the image processing apparatus may have a unique control unit, and the processing may be shared with the control unit of the image reproduction apparatus.

入力系Aの構成を説明する。画像データ入力部100には、再構成画面での画像合成が可能な被写体空間の視差を有する画像データが入力される。被写体空間の視差を有する画像データとは、撮影された画像データと撮影光学系における視差量情報を含む画像データである。画像合成情報入力部101は、点入力部101aと角度検出部101b、深度入力部101cを有し、それぞれ使用者の点入力操作、角度入力操作、深度入力操作を受け付ける。   The configuration of the input system A will be described. The image data input unit 100 receives image data having a subject space parallax that allows image composition on the reconstruction screen. The image data having the parallax of the subject space is image data including captured image data and parallax amount information in the imaging optical system. The image composition information input unit 101 includes a point input unit 101a, an angle detection unit 101b, and a depth input unit 101c, and accepts a user's point input operation, angle input operation, and depth input operation, respectively.

画像処理系Bの構成を説明する。入力操作判定部102は、点入力部101aよる入力が、操作者による1点だけの指示である1点入力(第1の入力操作)なのか、2点を指示する2点入力(第2の入力操作)なのかを判定する。後述するが、本実施例では点入力は表示部108に設けられたタッチパネル等の操作部を指で触る接触操作によりなされるため、1点入力は図7(a)に示すような指1本で触る指示、2点入力は図7(b)に示すような指2本で触る指示である。1点入力による入力情報は、ピントを合わせる被写体の位置するXY座標であるピント被写体の座標データとして、2点入力による入力情報は、回転軸設定座標のデータとして処理される。回転軸を設定するピント面(回転軸設定ピント面)の設定部103は、入力操作判定部102からの1点入力情報、および後述する画像合成部107からの合成画像データに基づいて、回転軸を設定するピント面である軸設定面を設定する(第1の再構成面設定)。ここで設定される軸設定面は合成画像上のピント被写体座標(1点入力情報)における被写体が合焦となる面である。また、合成画像において設定されたピント面を得るための再構成面情報を設定し、画像合成部107へと出力する。ピント面の回転軸設定部104は入力操作判定部102からの2点入力情報、および回転設定するピントの設定部103からの軸設定面情報をもとに、ピント面の回転軸を設定する。ここで設定されるピント面の回転軸は軸設定面上であり、かつ入力された2点のXY座標を通る直線である。ピント面の回転角度設定部105は、角度検出部101bが検出する第3の入力操作である角度入力情報に基づいてピント面の回転角度情報を設定する。ここで回転角度情報は角度入力情報そのままの角度でもよいし、数倍や数分の一にスケーリングすることで感度調整を行ってもよい。ピント面設定部106は、ピント面の回転軸設定部104からの回転軸情報、およびピント面の回転角度設定部105からの回転角度情報に基づいてピント面を設定し、合成画像にてこのピント面を得るための再構成面を設定する(第2の再構成面設定)。画像合成部107は画像合成手段であり、合成元入力部である画像データ入力部100からの被写体空間の視差を有する画像データ、およびピント面設定部106からの再構成面情報に基づいて合成画像データを生成する。合成画像データは再構成面にて像が結像するよう、被写体空間の視差を適切にシフトさせて合成される。被写体空間の視差のシフトについては、その詳細を後述する。合成画像データは、回転軸を設定するピント面設定部103および表示部108へと出力される。ここでピント面設定部106から再構成面情報の入力がなく、回転軸を設定するピント面の設定部103より再構成面情報が入力されている場合には(例えば、2点入力待ち状態)、103から出力される再構成面にて画像合成を行う。図2のフローチャートの説明(後述)からもわかるように、103および106からの再構成面情報は、異なるタイミングで異なる入力操作により画像合成部107に入力されるため、入力された再構成面情報に従い適宜画像合成を行えばよい。また、103および106の双方から再構成面の入力がされない場合には、被写体空間の視差をシフトさせることなく合成画像データを出力する。 The configuration of the image processing system B will be described. The input operation determination unit 102 determines whether the input from the point input unit 101a is a one-point input (first input operation) that is an instruction of only one point by the operator, or a two-point input (second Input operation). As will be described later, in this embodiment, the point input is performed by a touch operation in which an operation unit such as a touch panel provided on the display unit 108 is touched with a finger, so that one point input is performed with one finger as shown in FIG. The touching instruction and 2-point input are touching instructions with two fingers as shown in FIG. The input information by one point input is processed as the coordinate data of the focus subject that is the XY coordinates of the subject to be focused, and the input information by the two point input is processed as the data of the rotation axis setting coordinates. A focus plane (rotation axis setting focus plane) setting unit 103 for setting the rotation axis is based on one-point input information from the input operation determination unit 102 and synthesized image data from the image synthesis unit 107 described later. An axis setting surface which is a focus surface for setting is set (first reconstruction surface setting). The axis setting plane set here is a plane on which the subject in focus subject coordinates (one-point input information) on the composite image is focused. In addition, reconstruction plane information for obtaining a focus plane set in the synthesized image is set and output to the image synthesis unit 107. The focus surface rotation axis setting unit 104 determines the rotation axis of the focus surface based on the two-point input information from the input operation determination unit 102 and the axis setting surface information from the focus surface setting unit 103 that sets the rotation axis. Set. The rotation axis of the focus plane set here is on the axis setting plane and is a straight line passing through the two input XY coordinates. The focus surface rotation angle setting unit 105 sets the rotation angle information of the focus surface based on the angle input information that is the third input operation detected by the angle detection unit 101b. Here, the rotation angle information may be an angle as the angle input information as it is, or sensitivity adjustment may be performed by scaling to several times or a fraction. The focus plane setting unit 106 sets the focus plane based on the rotation axis information from the rotation axis setting unit 104 of the focus plane and the rotation angle information from the rotation angle setting unit 105 of the focus plane, and this focus plane is displayed in the composite image. A reconstruction surface for obtaining a surface is set (second reconstruction surface setting). An image composition unit 107 is an image composition unit, and is based on image data having parallax of the subject space from the image data input unit 100 that is a composition source input unit, and reconstructed surface information from the focus surface setting unit 106. Generate data. The synthesized image data is synthesized by appropriately shifting the parallax of the subject space so that an image is formed on the reconstruction plane. Details of the shift of the parallax of the subject space will be described later. Composite image data is output to the setting unit 103 and the display unit 108 of the focal plane for setting the rotational axis. If there is no input of reconstruction plane information from the focus plane setting unit 106 and reconstruction plane information is input from the focus plane setting unit 103 for setting the rotation axis (for example, two-point input waiting state). , 103, the image is synthesized on the reconstruction plane. As can be understood from the description of the flowchart in FIG. 2 (described later), the reconstruction plane information from 103 and 106 is input to the image composition unit 107 by different input operations at different timings. The image composition may be performed as appropriate. When the reconstruction plane is not input from both 103 and 106, the composite image data is output without shifting the parallax of the subject space.

表示系Cは、画像合成部107からの合成画像データを表示する表示部108により構成される。   The display system C includes a display unit 108 that displays the composite image data from the image composition unit 107.

図2を参照して、本実施例に係る画像処理装置の画像処理動作を説明する。図2は、本実施例に係る画像処理動作のフローチャートを示す図である。本動作は、制御部109がメモリ110に記憶したプログラムを実行して、画像再生装置の各部を制御することで実現する。本実施例の画像処理装置は、それが適用されている画像再生装置から、ピント面の設定のための入力情報とライトフィールド画像データを取得して画像処理を行って設定されたピント面での合成画像を生成し、画像再生装置の表示部に表示させる。   With reference to FIG. 2, the image processing operation of the image processing apparatus according to the present embodiment will be described. FIG. 2 is a flowchart illustrating the image processing operation according to the present embodiment. This operation is realized by the control unit 109 executing a program stored in the memory 110 to control each unit of the image reproduction apparatus. The image processing apparatus of the present embodiment obtains input information and light field image data for setting the focus plane from the image playback apparatus to which the image processing apparatus is applied, performs image processing, and performs the image processing on the set focus plane. A composite image is generated and displayed on the display unit of the image reproduction apparatus.

図2(a)は、画像処理動作全体のフローチャートを示す。図において、ステップS200にて画像データの取得と表示を行い、ステップS220の入力待ちループ内で、ステップS240の1点入力の受付、ステップS260の2点入力の受付を行う。   FIG. 2A shows a flowchart of the entire image processing operation. In the figure, image data is acquired and displayed in step S200, and one-point input in step S240 and two-point input in step S260 are received in the input waiting loop in step S220.

図2(b)は、ステップS200の画像データの取得と表示処理のフローチャートを示す。ステップS201において、操作者の指示に従って画像データ入力部100が、被写体空間の視差画像を有する画像データを取得する。ステップS202では、制御部109が初期パラメータを設定する。ここで言う初期パラメータは後述する再構成面、回転軸を設定するピント面情報、深度情報を指す。例えば再構成面は撮像面と等しい面、回転軸を設定するピント面は撮像面を再構成面として像生成した画像のピント面、深度情報は後述する加算合成画素を全て足し合わせた深度、などとすればよい。ステップS203では、画像合成部107が、前記初期パラメータに従い像生成処理を行い、合成画像データを得る。ステップS204では、表示部108が生成された合成画像データを表示する。   FIG. 2B shows a flowchart of image data acquisition and display processing in step S200. In step S201, the image data input unit 100 acquires image data having a parallax image of the subject space in accordance with an instruction from the operator. In step S202, the control unit 109 sets initial parameters. The initial parameters referred to here indicate a reconstruction plane, a focus plane information for setting a rotation axis, and depth information, which will be described later. For example, the reconstruction plane is the same plane as the imaging plane, the focusing plane that sets the rotation axis is the focusing plane of the image generated with the imaging plane as the reconstruction plane, the depth information is the depth obtained by adding all the added synthetic pixels described later, etc. And it is sufficient. In step S203, the image composition unit 107 performs image generation processing according to the initial parameters, and obtains composite image data. In step S204, the display unit 108 displays the generated composite image data.

図2(c)は、ステップS240の1点入力処理動作のフローチャートを示す。ステップS241にて、入力操作判定部102は、第1の入力操作である1点入力があるかどうかの条件分岐を行う。YESの場合にはステップS242へと進む。NOの場合には残りの処理を飛ばしRETURNに進み、図2(a)のメインルーチンに戻る。ステップS242では、回転軸設定ピント面の設定部103が、入力された1点入力に基づき、1点入力の画面XY座標上の被写体にピントが合うようにピント面の奥行Z座標を変更する。なお、ピント面は奥行Z座標のみを変更し、平行なまま移動させる。ステップS243にて、画像合成部107は、変更されたピント面において像生成を行い、画像データを得る。ステップS244にて、表示部108は、表示画像をステップS243で得た画像データへと更新する。ステップS245にて、回転軸設定部104は、回転軸を設定するピント面情報をステップS243で得た画像データのピント面として取得する。 FIG. 2C shows a flowchart of the one-point input processing operation in step S240. In step S241, the input operation determination unit 102 performs conditional branching on whether or not there is a one-point input that is the first input operation. If YES, the process proceeds to step S242. In the case of NO, the remaining processing is skipped, the process proceeds to RETURN, and the process returns to the main routine of FIG. In step S242, the rotation axis setting focus plane setting unit 103 changes the depth Z coordinate of the focus plane so that the subject on the screen XY coordinates of the one-point input is focused based on the input one point input. In addition, only the depth Z coordinate is changed and the focus surface is moved in parallel. In step S243, the image composition unit 107 performs image generation on the changed focus plane to obtain image data. In step S244, display unit 108 updates the display image to the image data obtained in step S243. In step S245, the rotation axis setting unit 104 acquires the focus plane information for setting the rotation axis as the focus plane of the image data obtained in step S243.

図2(d)は、ステップS260の、2点入力の受付処理動作のフローチャートを示す。ステップS261にて、入力操作判定部102は、第2の入力操作である2点入力があるかどうかの条件分岐を行う。YESの場合には、ステップS262へと進む。NOの場合には残りの処理を飛ばしRETURNに進み、図2(a)のメインルーチンに戻る。ステップS262では、回転軸設定部104が、入力された2点入力に基づき、XY座標が2点入力で、かつZ座標が前記回転軸を設定するピント面上である2点を通る直線を、レンズチルトに相当するピント面を決める回転軸として設定する。ステップS263にて、角度検出部101bは、第3の入力操作である角度入力があるかどうかの条件分岐を行う。YESの場合には、ステップS264へと進む。NO場合には残りの処理を飛ばしRETURNに進み、図2(a)のメインルーチンに戻る。ステップS264では、回転角度設定部105が、入力された角度入力に基づき、ピント面を決める回転角度を設定する。以上、設定されたピント面、回転軸、回転角度の入力に従いピント面が設定されたことになる。ステップS265では、深度入力部101cの出力に基づいて、制御部109が、深度入力があるかどうかの条件分岐を行う。YESの場合にはステップS266へと進む。NOの場合にはステップS266を飛ばしてステップS267へと進む。ステップS266では、画像合成部107が、入力された深度入力に基づいて、後述する加算合成画素数を設定する。加算合成画素数により合成される画像データの深さが変化する。ステップS267では、画像合成部107が、設定されたピント面を得る再構成面および設定された加算合成画素数(深度)にて像生成処理を行い、合成画像データを得る。ステップS268では、表示部108が、表示画像をステップS267で得た合成画像データへと更新する。   FIG. 2D shows a flowchart of the two-point input acceptance processing operation in step S260. In step S261, the input operation determination unit 102 performs conditional branching on whether there is a two-point input that is the second input operation. In the case of YES, the process proceeds to step S262. In the case of NO, the remaining processing is skipped, the process proceeds to RETURN, and the process returns to the main routine of FIG. In step S262, based on the input two-point input, the rotation axis setting unit 104 sets a straight line passing through two points where the XY coordinates are two-point input and the Z-coordinate is on the focus plane for setting the rotation axis. It is set as the rotation axis that determines the focus surface corresponding to the lens tilt. In step S263, the angle detection unit 101b performs conditional branching as to whether or not there is an angle input as the third input operation. In the case of YES, the process proceeds to step S264. In the case of NO, the remaining processing is skipped, the process proceeds to RETURN, and the process returns to the main routine of FIG. In step S264, the rotation angle setting unit 105 sets a rotation angle for determining a focus surface based on the input angle input. As described above, the focus surface is set according to the input of the set focus surface, the rotation axis, and the rotation angle. In step S265, based on the output of the depth input unit 101c, the control unit 109 performs conditional branching on whether there is a depth input. If YES, the process proceeds to step S266. In the case of NO, step S266 is skipped and the process proceeds to step S267. In step S266, the image composition unit 107 sets the number of added composite pixels to be described later based on the input depth input. The depth of the image data to be synthesized changes depending on the number of added synthesized pixels. In step S267, the image composition unit 107 performs image generation processing on the reconstruction plane for obtaining the set focus plane and the set number of added synthesized pixels (depth) to obtain synthesized image data. In step S268, the display unit 108 updates the display image to the composite image data obtained in step S267.

以上が本発明の処理の流れである。   The above is the processing flow of the present invention.

本実施例の画像処理装による画像処理を行うためには、画像データが光線の位置に加えて角度の情報を有することが必要である。図3は、被写体空間の視差を有する画像データを取得するための撮影光学系の例を示す図である。本撮影光学系においては、結像面近傍にマイクロレンズアレイ301を配置するとともに、マイクロレンズアレイ301を構成する1つのレンズ311に対して複数の画素を対応させて配置することで、角度情報を取得している。   In order to perform image processing by the image processing apparatus of this embodiment, it is necessary that the image data has angle information in addition to the position of the light beam. FIG. 3 is a diagram illustrating an example of a photographing optical system for obtaining image data having parallax in the subject space. In the present photographing optical system, the microlens array 301 is disposed in the vicinity of the image forming surface, and a plurality of pixels are disposed corresponding to one lens 311 constituting the microlens array 301, whereby angle information is obtained. Have acquired.

図3(a)は、撮像素子302とマイクロレンズアレイ301の関係を模式的に示す図である。図3(b)は、撮像素子302の画素とマイクロレンズアレイ301の対応を模式的に示す図である。図3(c)は、マイクロレンズアレイ301によってマイクロレンズアレイ下に設けられた画素が特定の瞳領域と対応づけられることを示す図である。   FIG. 3A is a diagram schematically showing the relationship between the image sensor 302 and the microlens array 301. FIG. 3B is a diagram schematically illustrating the correspondence between the pixels of the image sensor 302 and the microlens array 301. FIG. 3C is a diagram illustrating that the pixels provided below the microlens array are associated with a specific pupil region by the microlens array 301.

図3(a)は、撮像装置の正面からと側面から見たマイクロレンズアレイ301を示している。正面から見ると、マイクロレンズアレイ301のマイクロレンズ311が撮像素子302上の画素を覆うように配置されている。なお、見易さのために、各マイクロレンズ311の大きさを誇張して大きく記載しているが、実際には画素の数倍程度の大きさである。図3(b)は図3(a)のマイクロレンズアレイ301の一部の拡大図であり、格子状の枠が撮像素子302の各画素を示し、太線の円がマイクロレンズアレイ301を構成する各マイクロレンズ311を示す。マイクロレンズ1つに対して複数の画素が割り当てられており、図の例では5行×5列の25個の画素が1つのマイクロレンズに対して設けられている。そのため各マイクロレンズの大きさは画素の大きさの5×5倍である。この25個の画素の出力を加算合したものを加算合画素250と呼ぶことにする。 FIG. 3A shows the microlens array 301 viewed from the front and side of the imaging apparatus. When viewed from the front, the microlens 311 of the microlens array 301 is disposed so as to cover the pixels on the image sensor 302. For ease of viewing, the size of each microlens 311 is exaggerated and large, but is actually several times as large as a pixel. FIG. 3B is an enlarged view of a part of the microlens array 301 in FIG. 3A, in which a lattice-shaped frame indicates each pixel of the image sensor 302, and a bold circle forms the microlens array 301. Each microlens 311 is shown. A plurality of pixels are assigned to one microlens. In the example shown in the figure, 25 pixels of 5 rows × 5 columns are provided for one microlens. Therefore, the size of each microlens is 5 × 5 times the size of the pixel. The output of the 25 pixels obtained by adding synthesis will be referred to as adding synthetic pixel 250.

図3(c)において、図の右側にある図は、撮像素子302を、マイクロレンズの光軸を含みセンサの短手方向が図の縦方向になるように切断したときの断面図である。図3(c)の321、322、323、324、325は撮像素子302の各画素(1つの光電変換部)を示している。一方、図3(c)の左側にある図は、撮影光学系の射出瞳面を示している。実際には、図3(c)の右側にあるセンサの図と方向を合わせると、射出瞳面は図3(c)の紙面垂直方向になるが、説明のために投影方向を変えている。図3(c)では簡単のため、1次元の投影/信号処理について説明する。実際の装置では、2次元に拡張される。図3(c)の画素321、322、323、324、325は、図3(b)の321a、322a、323a、324a、325aとそれぞれ対応する位置関係にある。図3(c)に示すように、マイクロレンズ311によって各画素は撮影光学系の射出瞳面上の特定の領域と共役になるように設計されている。図3(c)の例では画素321と射出瞳面上の領域331が、画素322と領域332が、画素3223と領域333が、画素324と領域334、画素325と領域335がそれぞれ対応している。すなわち画素221には撮影光学系の射出瞳面上の領域331を通過した光束のみが入射する。他の画素も同様である。結果として、瞳面上での通過領域と撮像素子202上の位置関係から角度の情報を取得することが可能となる。   3C, the figure on the right side of the figure is a cross-sectional view of the image pickup device 302 cut along the optical axis of the microlens so that the short direction of the sensor is the vertical direction of the figure. In FIG. 3C, reference numerals 321, 322, 323, 324, and 325 denote each pixel (one photoelectric conversion unit) of the image sensor 302. On the other hand, the diagram on the left side of FIG. 3C shows the exit pupil plane of the photographing optical system. Actually, when the direction of the sensor on the right side of FIG. 3C is aligned, the exit pupil plane is in the direction perpendicular to the plane of FIG. 3C, but the projection direction is changed for the sake of explanation. For simplicity, FIG. 3C will describe one-dimensional projection / signal processing. In an actual device, it is expanded to two dimensions. The pixels 321, 322, 323, 324, and 325 in FIG. 3C have a positional relationship corresponding to 321 a, 322 a, 323 a, 324 a, and 325 a in FIG. As shown in FIG. 3C, each pixel is designed to be conjugate with a specific region on the exit pupil plane of the photographing optical system by the micro lens 311. In the example of FIG. 3C, the pixel 321 and the region 331 on the exit pupil plane correspond to the pixel 322 and the region 332, the pixel 3223 and the region 333, the pixel 324 and the region 334, and the pixel 325 and the region 335, respectively. Yes. That is, only the light beam that has passed through the region 331 on the exit pupil plane of the photographing optical system is incident on the pixel 221. The same applies to the other pixels. As a result, it is possible to acquire angle information from the passing area on the pupil plane and the positional relationship on the image sensor 202.

ここで、1つのマイクロレンズ311とその配下の画素は1つのカメラと同じと考えることができ、マイクロレンズアレイ301と撮像素子302は多数のカメラで構成される視差を有するカメラアレイシステムでもある。前述した各画素に入射する光束の位置と角度の情報を有する画像データは、被写体空間の視差を有する画像データでもある。そのため、より画素の多い一般的なカメラをアレイとして配する多眼カメラシステムにおいても、同様に被写体空間の視差を有する画像の取得が可能である。   Here, it can be considered that one microlens 311 and pixels under the microlens 311 are the same as one camera, and the microlens array 301 and the image sensor 302 are also a camera array system having parallax composed of a large number of cameras. The above-described image data having information on the position and angle of the light beam incident on each pixel is also image data having parallax in the subject space. Therefore, even in a multi-lens camera system in which a general camera having more pixels is arranged as an array, an image having parallax in the subject space can be acquired in the same manner.

次に図4を用いて像シフト方法と像生成方法について述べる。尚、同図においては、図3と同じ部分は図3と同じ符号を付して示す。   Next, an image shift method and an image generation method will be described with reference to FIG. In the figure, the same parts as those in FIG. 3 are denoted by the same reference numerals as those in FIG.

301はマイクロレンズアレイを、441は撮像面の位置を、442は撮像面に配置された画素の列を示している。443は再構成面の位置を示しており、撮像面441における画素列442の情報から作り出す仮想面である。この仮想面を作り出す処理がリフォーカスである。   Reference numeral 301 denotes a microlens array, 441 denotes the position of the imaging surface, and 442 denotes a column of pixels arranged on the imaging surface. Reference numeral 443 denotes the position of the reconstruction plane, which is a virtual plane created from information of the pixel column 442 on the imaging plane 441. The process of creating this virtual surface is refocusing.

一つの加算合成画素250は、図3(b)に示したように、2次元に配置されている。図4では説明の都合上、撮像面を側面からみた5行1列の1次元配列が示されているが、紙面に垂直な方向(X軸方向)にも同様の配列が配置され、5×5のような配置となっている。5行1列の画素配列の場合、例えば、撮像面の加算合成画素450aにおいては、各マイクロレンズ下の画素1、2、3、4、5を加算することで入射した光の角度方向の積分を行い、加算合成画素出力を得る。この処理をマイクロレンズ311毎に順次行うことで通常のカメラと同様の像が生成される。この場合の生成画像の単位画素は、加算合成画素となる。図3を用いて説明したように、瞳面上の通過領域と撮像素子302上の位置関係から角度情報の取得が可能となるので、その入射角度に応じたシフト量で画素情報をシフトさせて加算することで、一度の撮影から任意の再構成面での像を作り出すことが可能になる。例えば、再構成面443に示すピント位置での画像を再構成するには次のように処理を行う。図4において、各マイクロレンズから撮像面441を通り、再構成面443の加算合成画素250b(斜線部)の各画素2、5、3、1、4につながる線と交差する撮像面での画素を加算する。即ち、マイクロレンズ下の撮像面における画素2、3、4と、一方の側に隣接するマイクロレンズ下の画素1と、一方の側に隣接するマイクロレンズ下の画素5の出力に対しそれぞれ重み付係数1を掛けて加算する。これを各マイクロレンズに対して順次加算処理を行ことで、再構成画像の単位画素を生成することができる。同様な処理を再構成面443より後ろ側にある不図示の再構成面や、マイクロレンズ手前にある不図示の再構成面に対して行うことで、異なるリフォーカス像を生成することも可能である。このように各再構成面に対応するように画像情報をシフトさせることを像シフトと呼び、撮像面または再構成面で、画素加算により加算合成画素450を生成することを像生成と呼ぶこととする。また、例えば画素加算時にあるマイクロレンズ下の加算合成成画素のうち画素3の出力のみの重み付け係数を1とし、その他の画素の重み付け係数を0として画素加算をすれば、瞳の絞った画像を得ることができ、画像の被写界深度を深くすることができる。 One addition synthesized pixel 250 is two-dimensionally arranged as shown in FIG. For convenience of explanation, FIG. 4 shows a one-dimensional array of 5 rows and 1 column as viewed from the side, but a similar array is also arranged in the direction perpendicular to the paper surface (X-axis direction). 5 is arranged. In the case of a pixel array of 5 rows and 1 column, for example, in the addition synthesis pixel 450a on the imaging surface, integration of the incident light in the angular direction by adding the pixels 1, 2, 3, 4, and 5 under each microlens. To obtain an added composite pixel output. By performing this process sequentially for each microlens 311, an image similar to that of a normal camera is generated. In this case, the unit pixel of the generated image is an addition composite pixel. As described with reference to FIG. 3, angle information can be acquired from the positional relationship on the pupil plane and the passing region on the imaging element 302, so that the pixel information is shifted by a shift amount corresponding to the incident angle. By adding, it is possible to create an image on an arbitrary reconstruction plane from a single shot. For example, in order to reconstruct an image at the focus position indicated on the reconstruction surface 443, the following processing is performed. In FIG. 4, pixels on the imaging surface that pass through the imaging surface 441 from each microlens and intersect with the lines connected to the pixels 2, 5, 3, 1, and 4 of the addition combined pixel 250 b (shaded portion) of the reconstruction surface 443 Is added. That is, the pixels 2, 3, and 4 on the imaging surface under the micro lens, the pixel 1 under the micro lens adjacent to one side, and the output of the pixel 5 under the micro lens adjacent to one side are respectively weighted. Multiply by coefficient 1 and add. A unit pixel of a reconstructed image can be generated by sequentially performing addition processing on each microlens. It is also possible to generate different refocus images by performing similar processing on a reconstruction surface (not shown) behind the reconstruction surface 443 and a reconstruction surface (not shown) in front of the microlens. is there. In this way, shifting the image information so as to correspond to each reconstruction plane is called image shift, and generating the added composite pixel 450 by pixel addition on the imaging plane or reconstruction plane is called image generation. To do. Further, for example, if the weighting coefficient of only the output of the pixel 3 is set to 1 and the weighting coefficient of the other pixels is set to 0 among the addition synthesized synthetic pixels below the microlens at the time of pixel addition, an image with a narrowed pupil is obtained. And the depth of field of the image can be increased.

前述の像シフト方法を踏まえ、図5を用いて本実施例に特徴的な傾斜した再構成面での像シフト方法および像生成方法について述べる。同図において、図4と同じ要素は同じ符号を付して示す。   Based on the above-described image shift method, an image shift method and an image generation method on an inclined reconstruction surface, which are characteristic of the present embodiment, will be described with reference to FIG. In the figure, the same elements as those in FIG. 4 are denoted by the same reference numerals.

傾斜した再構成面での像シフト方法も基本的には、前述した像シフト方法と同様の方法である。傾斜した再構成面における加算合成画素450cの各画素につながる、撮像面での画素出力を加算合成すればよい。例えば、加算合成画素450cにおける画素442bは、撮像面441上の画素442aに対応する。このように傾斜した仮想面を設定し、画素をたどって加算合成することで、傾斜した再構成面での像生成を行うことができる。   The image shift method on the inclined reconstruction plane is basically the same method as the image shift method described above. What is necessary is just to add and synthesize the pixel output on the imaging surface connected to each pixel of the addition and synthesis pixel 450c on the inclined reconstruction plane. For example, the pixel 442b in the addition combined pixel 450c corresponds to the pixel 442a on the imaging surface 441. By setting an inclined virtual plane in this way and tracing the pixels for addition synthesis, it is possible to generate an image on the tilted reconstruction plane.

本実施例においては、回転軸を設定するピント面、ピント面の回転軸、ピント面の回転角度という手順で指定を行うことは前述した。リフォーカス処理においては、前記ピント面を得るために、対応する再構成面を手順にそって設定することになる。図5では、回転軸を設定するピント面となる再構成面が撮像面441に、ピント面の回転軸に対応する再構成面の回転軸が500に、ピント面の回転角度に対応する再構成面の回転角度が501に相当する。本実施例では、これら3つのパラメータを指定して再構成面つまりピント面を決定する。   In the present embodiment, as described above, the designation is performed by the procedure of the focus surface for setting the rotation axis, the rotation axis of the focus surface, and the rotation angle of the focus surface. In the refocus processing, in order to obtain the focus surface, the corresponding reconstruction surface is set according to the procedure. In FIG. 5, the reconstruction plane that is the focus plane for setting the rotation axis is the imaging plane 441, the reconstruction plane that corresponds to the rotation axis of the focus plane is 500, and the reconstruction plane that corresponds to the rotation angle of the focus plane The rotation angle of the surface corresponds to 501. In this embodiment, these three parameters are designated to determine the reconstruction plane, that is, the focus plane.

次に図6を用いて、撮像面および再構成面とピント面、レンズ面の関係について説明する。これら面の関係性はいわゆるシャインプルーフの原理に従う。図6を用いて面の議論を行うが、簡単のため各面は紙面奥行き方向(X軸方向)と平行であるとする。   Next, the relationship between the imaging surface and the reconstruction surface, the focus surface, and the lens surface will be described with reference to FIG. The relationship between these surfaces follows the so-called Scheinproof principle. Although the surface is discussed using FIG. 6, for the sake of simplicity, it is assumed that each surface is parallel to the depth direction of the paper (X-axis direction).

一般的な撮影光学系において撮像面とレンズ面、ピント面の関係は、撮像面1とレンズ面、ピント面1のように平行な関係にある。いま、レンズ面に対して撮像面2のように撮像面を傾けることを考える。この時、対応するピント面2とレンズ面、撮像面2のそれぞれを延長した面は、図6に示すように1つの線上の1点で交わる。この関係はシャインプルーフの原理と呼ばれる。チルトレンズにおいてレンズをチルトさせると、レンズ面と撮像面の平行関係が崩れ撮像面に対して斜めのピント面を持つ画像を得ることができる。   In a general photographic optical system, the relationship between the imaging surface, the lens surface, and the focus surface is a parallel relationship such as the imaging surface 1, the lens surface, and the focus surface 1. Now, consider tilting the imaging surface like the imaging surface 2 with respect to the lens surface. At this time, the corresponding focus surface 2, the lens surface, and the surface obtained by extending the imaging surface 2 intersect at one point on one line as shown in FIG. This relationship is called the Scheinproof principle. When the lens is tilted in the tilt lens, the parallel relationship between the lens surface and the imaging surface is broken, and an image having a focus surface oblique to the imaging surface can be obtained.

前述した像シフトを行いレンズ面に対して傾いた再構成面を設定することはレンズをチルトさせることに相当し、これによりシャインプルーフの原理に従った斜めのピント面を得ることができる。そのため、図6における撮像面を再構成面に置き換えて同様のことを考えることができる。またシャインプルーフの原理を踏まえることで、所望のピント面から逆を辿って必要な再構成面を設定することもできる。   Setting the reconstructed surface tilted with respect to the lens surface by performing the image shift described above corresponds to tilting the lens, whereby an oblique focus surface in accordance with the Scheinproof principle can be obtained. Therefore, the same can be considered by replacing the imaging surface in FIG. 6 with a reconstruction surface. Also, based on the principle of Scheinproof, it is possible to set the necessary reconstruction plane by tracing the reverse from the desired focus plane.

本実施例においてピント面を、回転軸を設定するピント面、ピント面上の回転軸、ピント面の回転角度を指定することで設定することは前述のとおりである。図6では、所望のピント面を先に決め、そのピント面を得るために必要な再構成面を設定する。例えば、ピント面1を、回転軸を設定するピント面と考え、ピント面1上の回転軸A2を設定し、回転角度θ2を設定する。そして、前記手順において、順次再構成面側での設定を行う。回転軸を設定するピント面であるピント面1に対応する面として再構成面1を設定し、回転軸A2に対応する回転軸A1を設定する。そして、回転角度θ2に対応する回転角度θ1を設定することで、再構成面2を設定することになる。ここで、回転軸を設定するピント面はレンズ面に対して平行な面を例にとったが、もともと傾いている面でもよい。   In this embodiment, the focus surface is set by designating the focus surface for setting the rotation axis, the rotation axis on the focus surface, and the rotation angle of the focus surface, as described above. In FIG. 6, a desired focus surface is determined first, and a reconstruction surface necessary to obtain the focus surface is set. For example, the focus surface 1 is considered as the focus surface for setting the rotation axis, the rotation axis A2 on the focus surface 1 is set, and the rotation angle θ2 is set. And in the said procedure, the setting by the side of a reconstruction surface is performed sequentially. The reconstruction surface 1 is set as a surface corresponding to the focus surface 1 which is a focus surface for setting the rotation axis, and the rotation axis A1 corresponding to the rotation axis A2 is set. Then, the reconstruction plane 2 is set by setting the rotation angle θ1 corresponding to the rotation angle θ2. Here, the focus surface for setting the rotation axis is a plane parallel to the lens surface, but may be a surface that is originally inclined.

ピント面を設定し、そのピント面を得るための再構成面(即ち、回転角度θ1)の導出方法を述べる。ピント面D1、D2の関係は、レンズ焦点距離に基づいた一般的な結像公式に沿うため、D1からのD2導出については割愛する。また、回転軸と光軸との距離(像高)H1、H2の関係についても、同様に焦点距離から縦倍率として求めることができるため、ここでは割愛をする。回転角度θ1、θ2の関係は、光軸から交差線までの距離Lで考えることができる。距離Lはピント面側、撮像面側それぞれの幾何関係から、L=D1/tan(θ1)=D2/tan(θ2)と表現することができる。この関係から、θ1はD1、D2、θ2の式として以下のように求めることができる。

Figure 0006263024
A method for deriving the reconstruction surface (that is, the rotation angle θ1) for setting the focus surface and obtaining the focus surface will be described. Since the relationship between the focus surfaces D1 and D2 follows a general imaging formula based on the lens focal length, the derivation of D2 from D1 is omitted. Further, the relationship between the distances (image heights) H1 and H2 between the rotation axis and the optical axis can be similarly obtained as the vertical magnification from the focal length, and is omitted here. The relationship between the rotation angles θ1 and θ2 can be considered as a distance L from the optical axis to the intersection line. The distance L can be expressed as L = D1 / tan (θ1) = D2 / tan (θ2) from the geometric relationship between the focus surface side and the imaging surface side. From this relationship, θ1 can be obtained as follows as an expression of D1, D2, and θ2.
Figure 0006263024

次に、図7を用いて、ピント面をユーザインタフェース上で指定する方法について説明する。同図において、図1と同じ要素は同じ符号を付して示す。   Next, a method for designating the focus plane on the user interface will be described with reference to FIG. In the figure, the same elements as those in FIG.

同図において、701は図2にて構成を説明した再生装置であり、上述した画像処理構成に従って生成した合成画像を表示部108に表示する。本画像再生装置は、表示部108に複数点入力できる点入力部(いわゆるマルチタッチスクリーン)と、不図示の角度センサである角度入力部、深度入力部により構成される入力系Aを備えている。   In the figure, reference numeral 701 denotes a playback apparatus whose configuration has been described with reference to FIG. 2, and displays a composite image generated according to the above-described image processing configuration on the display unit 108. This image reproduction apparatus includes an input system A including a point input unit (so-called multi-touch screen) that can input a plurality of points on the display unit 108, an angle input unit that is an angle sensor (not shown), and a depth input unit. .

まず、図7(a)に示されているように、例えば人差し指で画像の1点を指定することで、表示部108上の1つの座標703を入力する。この操作は図1における点入力部101aへの点入力と、入力操作判定部102における1点入力の判定と(S241)、回転軸設定ピント面の設定部103への1点入力情報の出力に対応する(S242)。図7(a)では、これにより703上の被写体にピントのあう光軸と直行するピント面が一度ピント面として指定され、画像合成された合成画像データが表示画像として更新される。これは図1における、回転軸設定ピント面の設定部103から画像合成部107への再構成面情報の出力と、画像合成部107での画像合成、表示部108への合成画像データの出力と合成画像データの表示に対応する(S243乃至S244)。そして図7(a)では、表示部108に表示されている画像のピント面が、回転軸を設定さるピント面となる。これは図1における回転軸設定ピント面の設定部103における軸設定面の設定に対応する(S245)。 First, as shown in FIG. 7A, one coordinate 703 on the display unit 108 is input by designating one point of the image with the index finger, for example. This operation includes the point input to the point input unit 101a in FIG. 1, the one-point input determination in the input operation determination unit 102 (S241), and the output of one-point input information to the setting unit 103 of the rotation axis setting focus surface. Corresponding (S242). In FIG. 7A, the focus plane orthogonal to the optical axis in which the subject on 703 is focused is designated as the focus plane once, and the synthesized image data obtained by image synthesis is updated as a display image. This is because the output of reconstruction plane information from the rotation axis setting focus plane setting unit 103 to the image synthesis unit 107 in FIG. 1, the image synthesis in the image synthesis unit 107, and the output of synthesized image data to the display unit 108. This corresponds to the display of the composite image data (S243 to S244). In FIG. 7A, the focus plane of the image displayed on the display unit 108 is the focus plane for setting the rotation axis. This corresponds to the setting of the axis setting surface in the rotation axis setting focus surface setting unit 103 in FIG. 1 (S245).

次に、図7(b)にて両手親指で画面上の2点を指定することで、表示部108上の2つの座標704を入力する。これは図1における点入力部101aへの点入力、入力操作判定部102での2点入力の判定に対応する(S261)。これにより、図7(a)で指定された再構成画面上に2点704が射影された2点を通る直線705が、ピント面の回転軸として指定される。これは、図1における回転軸設定部104での回転軸の設定に対応する(S262)。   Next, two coordinates 704 on the display unit 108 are input by designating two points on the screen with both thumbs in FIG. 7B. This corresponds to the point input to the point input unit 101a in FIG. 1 and the two-point input determination in the input operation determination unit 102 (S261). Accordingly, a straight line 705 passing through the two points projected on the reconstruction screen designated in FIG. 7A is designated as the rotation axis of the focus plane. This corresponds to the setting of the rotation axis in the rotation axis setting unit 104 in FIG. 1 (S262).

次に、図7(c)に示すように、2つの座標704を入力した状態で、画像再生装置701そのものを、例えば状態706aから状態706bへと矢印708の方向に傾けることで、角度707を入力する。画像再生装置70は、装置の姿勢を検出する不図示の角度検出センサを有しており、装置を回転させる操作を行うと操作前後での相対角度が角度707として検出される。これは図1における角度検出部101bでの角度検出に対応する(S263)。この角度検出情報から、ピント面の回転角度が設定されるのは前述の通りである(S264)。 Next, as shown in FIG. 7C, with the two coordinates 704 input, the image playback device 701 itself is tilted, for example, from the state 706a to the state 706b in the direction of the arrow 708, thereby setting the angle 707. input. Image reproducing apparatus 70 1 has an angle detection sensor (not shown) for detecting the attitude of the device, the relative angle between before and after the operation to perform the operation of rotating the device is detected as an angle 707. This corresponds to the angle detection by the angle detection unit 101b in FIG. 1 (S263). From this angle detection information, the rotation angle of the focus surface is set as described above (S264).

そして、設定されたピント面の回転軸および回転角度に基づき入力操作後のピント面が設定され(S264)、このピント面を得る再構成面にて合成画像が生成される。合成画像は表示画像702として更新される(S268)。なお、2つの座標704の入力のない状態で画像再生装置701を傾けた時に角度入力が行われてしまうと、使用者の意識しない入力がされてしまう恐れがある。使用者が入力を意識的に行うために、2つの座標704の入力がされている時だけ、角度707の入力が受け付けられることが好ましい。また、この例では側面図を用いて説明する都合上、水平の回転軸を設定しているが、当然ながら回転軸は鉛直であってもいいし、垂直や鉛直に対して斜めであっても構わない。なお、このように回転軸を設定した場合は、各場合に対して、後述する深度入力の操作方法が操作上明確に区別されて、他の操作による入力情報と混同を生じないように設定する。 Then, the focus surface after the input operation is set based on the set rotation axis and rotation angle of the focus surface (S264), and a composite image is generated on the reconstruction surface that obtains this focus surface. The composite image is updated as a display image 702 (S268). Note that if an angle is input when the image reproducing device 701 is tilted without the input of the two coordinates 704, there is a possibility that an input unconscious by the user may be performed. For user performs consciously inputs, only when the input two coordinate 704 is, it is preferable that the input of the angles 707 can be accepted. In this example, a horizontal rotation axis is set for the sake of explanation using the side view, but the rotation axis may of course be vertical, or may be vertical or oblique to the vertical. I do not care. When the rotation axis is set in this way, for each case, the operation method of depth input to be described later is clearly distinguished in operation, and is set so as not to be confused with input information by other operations. .

図7(d)を参照して、図7(a)から図7(c)の操作を行うことで生成される画像データについて説明する。図7(d)の左側にある図は、生成される画像データが表示部108に表示されている像再生装置701の斜視図である。同図において、710は表示画像であり、建物や人物などを斜め上空から俯瞰するように撮影した画像を例としている。表示画像710内に示されるドットは画像のボケ量を模式的に表現したもので、ドットのない領域はボケがないピントが合っている状態を、ドットのある領域はボケがある状態を、またドットが大きければ大きいほどボケ量が大きい状態を表現している。図7(d)の右側にある図は、横軸をデフォーカス量にとり、縦軸を表示画像上において回転軸705と直する座標Ynにとったグラフである。720は簡単のために表示画像の建物や人物を無視した地面のデフォーカス量を示している。 With reference to FIG. 7D, image data generated by performing the operations of FIGS. 7A to 7C will be described. Figure on the left side of FIG. 7 (d), the image data generated is a perspective view of images reproducing apparatus 701 displayed on the display unit 108. In the figure, reference numeral 710 denotes a display image, which is an example of an image taken so that a building, a person, or the like is seen from an oblique sky. The dots shown in the display image 710 schematically represent the amount of blur of the image. An area without dots is in focus without blur, an area with dots is in blur, The larger the dot, the greater the amount of blur. Figure on the right side of FIG. 7 (d), the horizontal axis taken defocus amount, a graph plotting the coordinates Yn of Cartesian and the rotary shaft 705 on the display image on the vertical axis. Reference numeral 720 denotes a defocus amount of the ground ignoring a building or a person in the display image for simplicity.

図7の操作例では、ピントを合わせる被写体の座標703と、回転軸705が近傍に位置して設定されている。回転軸705の近傍の領域は再構成面の変更の前後においてピント状態の変化がないため、もともとピントの合っている回転軸705の近傍領域711は、更新された合成画像においてもピントの合った状態(デフォーカス量=0)になる。直線的な地面を考えているので、回転軸705から遠ざかれば遠ざかるほどデフォーカス量が増えボケ量の多い領域となる。ボケのない近傍711から領域712a、712bになるにつれてボケが生じ始め、それぞれ矢印713a、713bに行けばいくほどボケ量が増加する。 In the operation example of FIG. 7, the coordinates 703 of the subject to be focused on and the rotation axis 705 are set in the vicinity. Since the area near the rotation axis 705 does not change the focus state before and after the reconstruction plane is changed, the area 711 near the rotation axis 705 that is originally in focus is in focus even in the updated composite image. The state (defocus amount = 0) is entered. Since a straight ground is considered, as the distance from the rotation axis 705 increases, the defocus amount increases and the amount of blur increases. Region from the vicinity area 711 without blurring 712a, begin cause blurring as becomes 712b, respectively arrows 713a, the blur amount as will if you go to 713b increases.

また、図7(d)の右側にあるグラフにおいて、デフォーカス量が正の値の領域712aは、表示画像710のピント面より奥方向に被写体が存在し、デフォーカス量が負の値の領域712bは表示画像710のピント面より手前方向に被写体が存在する。このことを考慮して、図7(d)の合成画像から全体にピントの合った画像へとピント面を変更したい時の操作を考える。図7(c)の矢印708の反対方向へ画像再生装置701を回転させると、領域712aでデフォーカス量が減少し、領域712bでデフォーカス量が増加するようにピント面の回転方向を設定すると操作が理解しやすい。この時、意図的に回転軸705の近辺のみにピントの合うジオラマ写真のような効果を強めたい場合には、矢印708方向へと画像再生装置701を回転させればよい。そうすれば、領域712aでデフォーカス量が増加し、712bでデフォーカス量が減少するため、所望の効果を得ることができる。このように、ピント面の回転軸と回転角度を、上記グラフの直線の変化(回転)に対応させた画像再生装置の所定の操作により入力することで、操作との対応を理解しやすいピント面の入力が実現できる。   Also, in the graph on the right side of FIG. 7D, the area 712a with a positive defocus amount is an area in which a subject exists behind the focus plane of the display image 710 and the defocus amount is a negative value. In 712b, a subject is present in front of the focus surface of the display image 710. Considering this, let us consider an operation when it is desired to change the focus surface from the composite image in FIG. 7D to an image that is entirely in focus. When the image playback device 701 is rotated in the direction opposite to the arrow 708 in FIG. 7C, the rotation direction of the focus surface is set so that the defocus amount decreases in the region 712a and the defocus amount increases in the region 712b. Easy to understand operation. At this time, in order to intentionally enhance an effect like a diorama photograph that focuses only on the vicinity of the rotation shaft 705, the image reproducing device 701 may be rotated in the direction of the arrow 708. Then, the defocus amount increases in the region 712a, and the defocus amount decreases in 712b, so that a desired effect can be obtained. In this way, by inputting the rotation axis and rotation angle of the focus surface by a predetermined operation of the image reproducing apparatus corresponding to the change (rotation) of the straight line in the graph, it is easy to understand the correspondence with the operation. Can be input.

図4を用いた説明で、瞳の絞ったいわゆる深度の深い画像を取得するための画素加算について述べたが、ここで図8を用いて、深度情報の入力操作について説明する。同図において、図7と同じ要素は、同じ符号を付して示す。   In the description using FIG. 4, pixel addition for obtaining a so-called deep image with a narrowed pupil has been described. Here, an input operation of depth information will be described using FIG. 8. In the figure, the same elements as those in FIG. 7 are denoted by the same reference numerals.

深度入力を行う方法については複数の手法が考えられるが、前述した回転軸を設定するピント面の入力、ピント面の回転軸の入力、ピント面の回転角度の入力の操作方法と適切に分離した操作方法を割り振ることが必要となる。   There are several methods for depth input, but it is appropriately separated from the input method of the focus surface, the input of the focus surface rotation axis, and the input of the focus surface rotation angle described above. It is necessary to allocate an operation method.

図8(a)に示す方法は、画像再生装置701そのものを揺らす方法である。画像再生装置701には不図示の振動センサが搭載されており、画像再生装置701を揺らすと深度のより浅い画像へと表示画像が順次更新される。そして設定可能な最も浅い深度に達してなお揺らすと深度の最も深い画像へとリセットされる。このようにすることで、前述したピント面、回転軸、回転角度の入力操作と適切に区別される操作を、深度情報の入力に振り分けることができる。   The method shown in FIG. 8A is a method of shaking the image reproducing device 701 itself. The image reproducing device 701 is equipped with a vibration sensor (not shown), and when the image reproducing device 701 is shaken, the display image is sequentially updated to an image having a shallower depth. When the settable shallowest depth is reached and still shaken, the image is reset to the deepest depth. By doing in this way, the operation appropriately distinguished from the input operation of the focus surface, the rotation axis, and the rotation angle described above can be distributed to the input of depth information.

図8(b)に示す方法は、再構成面の生成における角度入力と異なる回転軸での回転を深度の入力操作に振り分ける方法である。再構成面のための角度入力の操作では、前述したように回転軸を決める2点704を入力し、回転軸705を中心に画像再生装置701そのものを回転させた。それに対して、回転軸705に直角な、表示部108での表示画像上の軸730の周りに回転させることで深度入力を行う。一つの方向を深度が浅くなる方向、他の方向を深度が深くなる方向として割り振ることで直感的な深度入力操作が可能となる。
The method shown in FIG. 8B is a method of allocating the rotation on the rotation axis different from the angle input in the generation of the reconstruction surface to the depth input operation. In the angle input operation for the reconstruction plane, the two points 704 for determining the rotation axis are input as described above, and the image reproducing device 701 itself is rotated about the rotation axis 705. In contrast, performing depth input by rotating about an axis of rotation 705 to a right angle, the display portion of the display image images at 108 shaft 730. An intuitive depth input operation can be performed by assigning one direction as a direction in which the depth becomes shallower and assigning the other direction as a direction in which the depth becomes deeper.

図8(a)および図8(b)での操作は、図1での深度入力部101cへの入力、101cから画像合成部107への出力、107での画像合成と表示部108への出力、108での表示画像の更新を1度又は繰り返し行う操作に対応する(S265乃至S268)。   The operations in FIGS. 8A and 8B are the input to the depth input unit 101c in FIG. 1, the output from 101c to the image synthesis unit 107, the image synthesis in 107 and the output to the display unit 108. , 108 corresponds to an operation of updating the display image once or repeatedly (S265 to S268).

以上の様に、本実施例に拠れば、ライトフィールド画像データのリフォーカス処理において、レンズ面に対し傾いたピント面の直感的指定方法が実現される。また、本発明の画像処理装置は、それを適用する装置の周辺機器を、上記実施例のタッチパネルに代わり、ピント面の設定情報の入力構成として適宜設定することで、より広範囲の種類の装置でリフォーカス画像の再生を実現することを可能にする。   As described above, according to the present embodiment, an intuitive designation method of a focus surface tilted with respect to a lens surface is realized in the refocus processing of light field image data. In addition, the image processing apparatus of the present invention can be used in a wider range of apparatuses by appropriately setting the peripheral devices of the apparatus to which the image processing apparatus is applied as an input configuration of the setting information on the focus surface instead of the touch panel of the above embodiment. It is possible to realize refocused image reproduction.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給することによっても達成される。すなわち、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても本件発明の目的が達成されることは言うまでもない。   The object of the present invention can also be achieved by supplying a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus. That is, it goes without saying that the object of the present invention can also be achieved when the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行うことによっても前述した実施形態の機能が実現される。この場合も本件発明に含まれることは言うまでもない。   In addition, the functions of the above-described embodiment can also be realized when an OS (basic system or operating system) operating on the computer performs part or all of the actual processing based on the instruction of the program code read by the computer. Realized. Needless to say, this case is also included in the present invention.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づく処理も本件発明に含まれる。すなわち、機能拡張ボードや機能拡張ユニットに備わるCPU等がプログラムコードの指示に基づき実際の処理の一部又は全部を行って前述した実施形態の機能を実現する場合も本件発明に含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written to the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer, the processing based on the instruction of the program code is also performed. Included in the invention. That is, it goes without saying that the present invention also includes the case where the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code to realize the functions of the above-described embodiment. Yes.

上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

Claims (14)

ライトフィールドデータを再構成して所定の再構成面における画像データを生成する画像処理装置において、
前記ライトフィールドデータに基づく画像を表示部に表示する表示制御手段と、
前記表示部に設けられたタッチパネルへのユーザからのタッチ操作を入力情報として、回転軸に対応する第1の入力情報を取得する第1の入力手段と、
回転角度に対応するの入力情報を取得する第2の入力手段と、
前記の入力情報に基づいて前記回転軸を決定し、および前記の入力情報に基づいて前記回転角度を決定することで、前記回転軸を中心に前記回転角度分回転させた面で前記再構成面を設定する再構成面設定手段と、
前記ライトフィールドデータから前記再構成面設定手段により設定された前記再構成面における前記画像データを生成する生成手段と、を備え
前記第1の入力情報は、前記タッチ操作により指定された2点の位置の情報を含み、
前記再構成面設定手段は、前記第1の入力情報に基づいて、前記2点を結ぶ線上に前記回転軸を決定することを特徴とする画像処理装置。
In an image processing apparatus that reconstructs light field data and generates image data on a predetermined reconstruction surface ,
Display control means for displaying an image based on the light field data on a display unit;
First input means for acquiring first input information corresponding to a rotation axis, with a touch operation from a user on a touch panel provided in the display unit as input information;
Second input means for acquiring second input information corresponding to the rotation angle;
By determining the rotation axis based on the first input information and determining the rotation angle based on the second input information, the surface rotated about the rotation axis by the rotation angle. a reconstruction plane setting means for setting the reconstruction plane,
Generating means for generating the image data on the reconstruction plane set by the reconstruction plane setting means from the light field data ,
The first input information includes information on positions of two points designated by the touch operation,
The reconstruction plane setting means, based on the first input information, the image processing apparatus characterized that you determine the rotation shaft on the line connecting the two points.
前記第2の入力手段は、前記画像処理装置の角度を検出する角度センサの出力に基づいて、前記第2の入力情報を取得することを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the second input unit acquires the second input information based on an output of an angle sensor that detects an angle of the image processing apparatus. 前記タッチパネルはマルチタッチディスプレイであり、前記タッチ操作により2点入力がなされたことに応じて前記第1の入力手段により前記第1の入力情報が取得されることを特徴とする請求項1または2に記載の画像処理装置。3. The touch panel according to claim 1, wherein the touch panel is a multi-touch display, and the first input information is acquired by the first input unit in response to a two-point input made by the touch operation. An image processing apparatus according to 1. 前記第2の入力手段は、前記タッチ操作による2点入力がなされている状態であるときだけ前記第2の入力情報を受け付けることを特徴とする請求項2または3に記載の画像処理装置。The image processing apparatus according to claim 2, wherein the second input unit accepts the second input information only when the two-point input by the touch operation is performed. 前記タッチ操作による1点入力を入力情報として、該1点入力の位置の被写体にピントの合う、光軸に垂直な前記再構成面を設定するための第3の入力情報を取得する第3の入力手段を有することを特徴とする請求項1乃至4のいずれか一項に記載の画像処理装置。Third input information for setting the reconstruction plane perpendicular to the optical axis, which is in focus on the subject at the position of the one-point input, is obtained using the one-point input by the touch operation as input information. The image processing apparatus according to claim 1, further comprising an input unit. 被写界深度に対応する第4の入力情報を取得する第4の入力手段を有し、Having fourth input means for acquiring fourth input information corresponding to the depth of field;
前記生成手段は、前記第4の入力情報に基づいた被写界深度の再構成画像を生成することを特徴とする請求項1乃至5のいずれか一項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the generation unit generates a reconstructed image having a depth of field based on the fourth input information.
前記第2の入力手段は、前記画像処理装置の角度を検出する角度センサからの、第1の方向の角度の出力に基づいて前記第2の入力情報を取得し、The second input means acquires the second input information based on an output of an angle in a first direction from an angle sensor that detects an angle of the image processing device,
前記第4の入力手段は、前記角度センサからの前記第1の方向と異なる第2の方向の角度の出力に基づいて前記第4の入力情報を取得することを特徴とする請求項6に記載の画像処理装置。The said 4th input means acquires the said 4th input information based on the output of the angle of the 2nd direction different from the said 1st direction from the said angle sensor, The said 4th input information is acquired. Image processing apparatus.
前記ライトフィールドデータは異なる複数の視点で撮像された画像であることを特徴とする請求項1乃至7のいずれか一項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the light field data is an image captured from a plurality of different viewpoints. 前記生成手段は、前記ライトフィールドデータの各画素を各画素の入射角度に応じてシフトさせて合成することで、前記再構成面設定手段で設定された前記再構成面における前記画像データを生成することを特徴とする請求項1乃至8のいずれか一項に記載の画像処理装置。The generation unit generates the image data on the reconstruction plane set by the reconstruction plane setting unit by shifting and synthesizing each pixel of the light field data according to an incident angle of each pixel. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. ライトフィールドデータを再構成して所定の再構成面における画像データを生成する画像処理装置制御方法において、
前記ライトフィールドデータに基づく画像を表示部に表示する表示制御ステップと、
前記表示部に設けられたタッチパネルへのユーザからのタッチ操作を入力情報として、回転軸に対応する第1の入力情報を取得する第1の入力ステップと、
回転角度に対応するの入力情報を取得する第2の入力ステップと、
前記の入力情報に基づいて前記回転軸を決定し、および前記の入力情報に基づいて前記回転角度を決定することで、前記回転軸を中心に前記回転角度分回転させた面で前記再構成面を設定する再構成面設定ステップと、
前記ライトフィールドデータから前記再構成面設定ステップにより設定された前記再構成面における前記画像データを生成する生成ステップと、を備え
前記第1の入力情報は、前記タッチ操作により指定された2点の位置の情報を含み、
前記再構成面設定ステップでは、前記第1の入力情報に基づいて、前記2点を結ぶ線上に前記回転軸を決定することを特徴とする画像処理装置の制御方法。
In a control method of an image processing apparatus that reconstructs light field data and generates image data on a predetermined reconstruction surface ,
A display control step of displaying an image based on the light field data on a display unit;
A first input step of acquiring first input information corresponding to a rotation axis using a touch operation from a user on a touch panel provided in the display unit as input information;
A second input step of acquiring second input information corresponding to the rotation angle;
By determining the rotation axis based on the first input information and determining the rotation angle based on the second input information, the surface rotated about the rotation axis by the rotation angle. a reconstruction plane setting step of setting the reconstruction plane,
Generating the image data on the reconstruction plane set by the reconstruction plane setting step from the light field data , and
The first input information includes information on positions of two points designated by the touch operation,
Wherein in the reconstruction plane setting step, based on the first input information, the control method for an image processing apparatus characterized that you determine the rotation shaft on the line connecting the two points.
ライトフィールドデータを再構成して所定の再構成面における画像データを生成する画像処理装置を制御するプログラムであり、
コンピュータを、
前記ライトフィールドデータに基づく画像を表示部に表示する表示制御手段と、
前記表示部に設けられたタッチパネルへのユーザからのタッチ操作を入力情報として、回転軸に対応する第1の入力情報を取得する第1の入力手段と、
回転角度に対応するの入力情報を取得する第2の入力手段と、
前記の入力情報に基づいて前記回転軸を決定し、および前記の入力情報に基づいて前記回転角度を決定することで、前記回転軸を中心に前記回転角度分回転させた面で前記再構成面を設定する再構成面設定手段と、
前記ライトフィールドデータから前記再構成面設定手段により設定された前記再構成面における前記画像データを生成する生成手段と、を備え
前記第1の入力情報は、前記タッチ操作により指定された2点の位置の情報を含み、
前記再構成面設定手段は、前記第1の入力情報に基づいて、前記2点を結ぶ線上に前記回転軸を決定する画像処理装置の各手段として機能させるためのプログラム。
A program for controlling an image processing apparatus that reconstructs light field data and generates image data on a predetermined reconstruction plane ,
Computer
Display control means for displaying an image based on the light field data on a display unit;
First input means for acquiring first input information corresponding to a rotation axis, with a touch operation from a user on a touch panel provided in the display unit as input information;
Second input means for acquiring second input information corresponding to the rotation angle;
By determining the rotation axis based on the first input information and determining the rotation angle based on the second input information, the surface rotated about the rotation axis by the rotation angle. a reconstruction plane setting means for setting the reconstruction plane,
Generating means for generating the image data on the reconstruction plane set by the reconstruction plane setting means from the light field data ,
The first input information includes information on positions of two points designated by the touch operation,
The reconstruction plane setting means, on the basis of the first input information, a program to function as a respective means of the image processing device for determining the rotation shaft on the line connecting the two points.
請求項11のプログラムを記録したコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing the program according to claim 11 . コンピュータを、請求項1乃至のいずれか一項に記載された画像処理装置の各手段として機能させるプログラム。 Computer program to function as each means of the images processing apparatus according to any one of claims 1 to 9. コンピュータを、請求項1乃至のいずれか一項に記載された画像処理装置の各手段として機能させるプログラムを格納した記憶媒体。 A storage medium storing a program that causes a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 9 .
JP2013267364A 2013-12-25 2013-12-25 Image processing apparatus, image processing method, program, and image reproduction apparatus Expired - Fee Related JP6263024B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013267364A JP6263024B2 (en) 2013-12-25 2013-12-25 Image processing apparatus, image processing method, program, and image reproduction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013267364A JP6263024B2 (en) 2013-12-25 2013-12-25 Image processing apparatus, image processing method, program, and image reproduction apparatus

Publications (2)

Publication Number Publication Date
JP2015126261A JP2015126261A (en) 2015-07-06
JP6263024B2 true JP6263024B2 (en) 2018-01-17

Family

ID=53536722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013267364A Expired - Fee Related JP6263024B2 (en) 2013-12-25 2013-12-25 Image processing apparatus, image processing method, program, and image reproduction apparatus

Country Status (1)

Country Link
JP (1) JP6263024B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9955057B2 (en) * 2015-12-21 2018-04-24 Qualcomm Incorporated Method and apparatus for computational scheimpflug camera
WO2018079283A1 (en) * 2016-10-26 2018-05-03 ソニー株式会社 Image-processing device, image-processing method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4942221B2 (en) * 2006-10-25 2012-05-30 国立大学法人東京工業大学 High resolution virtual focal plane image generation method
JP5109803B2 (en) * 2007-06-06 2012-12-26 ソニー株式会社 Image processing apparatus, image processing method, and image processing program
JP5404160B2 (en) * 2009-04-27 2014-01-29 オリンパス株式会社 Imaging system and imaging method
JP5499778B2 (en) * 2010-03-03 2014-05-21 株式会社ニコン Imaging device
JP5762142B2 (en) * 2011-05-31 2015-08-12 キヤノン株式会社 Imaging apparatus, image processing apparatus and method thereof
JP5868055B2 (en) * 2011-07-26 2016-02-24 キヤノン株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2015126261A (en) 2015-07-06

Similar Documents

Publication Publication Date Title
KR101893047B1 (en) Image processing method and image processing device
CN110456967B (en) Information processing method, information processing apparatus, and program
JP6223169B2 (en) Information processing apparatus, information processing method, and program
JP6047807B2 (en) Method and electronic device for realizing refocusing
CN114245905A (en) Depth aware photo editing
US8564693B2 (en) Image processing device, image processing method, and image processing program
US20170230641A1 (en) Optimized object scanning using sensor fusion
JP6548367B2 (en) Image processing apparatus, imaging apparatus, image processing method and program
JP2011022796A (en) Image processing method and image processor
JP5938281B2 (en) Imaging apparatus, control method therefor, and program
JP6245892B2 (en) Image processing apparatus, control method therefor, and program
JP6234401B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JPWO2018025825A1 (en) Imaging system
JP6263024B2 (en) Image processing apparatus, image processing method, program, and image reproduction apparatus
EP2563007A1 (en) Image focusing
JP6583486B2 (en) Information processing method, information processing program, and information processing apparatus
JP6012396B2 (en) Image processing apparatus, image processing method, and program.
JP5202448B2 (en) Image processing system and method
JP6579706B2 (en) Image processing apparatus, image processing method, and image processing program
JP5744642B2 (en) Image processing apparatus, image processing method, and program.
JP6679430B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2019204560A (en) program
JP6120535B2 (en) Information processing apparatus, information processing method, and program
JP6919374B2 (en) Image processing equipment, image processing methods and programs
CN107707807B (en) Image acquisition control method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170911

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171108

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171215

R151 Written notification of patent or utility model registration

Ref document number: 6263024

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees