JP2013258438A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2013258438A
JP2013258438A JP2012124898A JP2012124898A JP2013258438A JP 2013258438 A JP2013258438 A JP 2013258438A JP 2012124898 A JP2012124898 A JP 2012124898A JP 2012124898 A JP2012124898 A JP 2012124898A JP 2013258438 A JP2013258438 A JP 2013258438A
Authority
JP
Japan
Prior art keywords
exposure
image
unit
area
region
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
JP2012124898A
Other languages
Japanese (ja)
Inventor
Akifumi Kimura
亮史 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2012124898A priority Critical patent/JP2013258438A/en
Publication of JP2013258438A publication Critical patent/JP2013258438A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device capable of acquiring an image at a wide dynamic range with a simple operation.SOLUTION: A touch determination section 11b of a digital camera 1 processes an input by a touch panel 18, and calculates a touched coordinate. A region determination section 11c determines a designated region based on a touched region of the touch panel 18. An exposure correction quantity determination section 11d determines an exposure correction amount that is a variation amount of an exposure amount, for example, according to times when the designated region is abraded, and determined a shutter speed for each line according to the determined exposure correction amount. Here, an exposure time of a line including the designated region is adjusted to be longer than an exposure time of other lines. An imaging element control section 11e determines a timing for resetting an electric charge for each region of the imaging element 12a, for example, corresponding to an exposure period according to the shutter speed determined by the exposure correction amount determination section 11d, and makes the imaging element 12a execute exposure according to that timing.

Description

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

一般に、撮像装置において、所定の動作に従って適切な露光条件が選択され、その露光条件に従って、撮像が行われることに関する技術が知られている。一方で、同一画像内における光量の差が大きいとき、一部分に対して適切となる露光条件で撮像を行うと、他の部分において光量不足や光量過多となることがある。そこで例えば特許文献1には、異なる露光条件で複数回撮像を行い、光量が適切な部分を合成することによってダイナミックレンジを広げ、画像全体において光量が適切となる画像を作成することに係る技術が開示されている。   In general, a technique is known in which an appropriate exposure condition is selected according to a predetermined operation in an imaging apparatus, and imaging is performed according to the exposure condition. On the other hand, when there is a large difference in the amount of light in the same image, if imaging is performed under appropriate exposure conditions for a portion, the light amount may be insufficient or excessive in other portions. Thus, for example, Patent Document 1 discloses a technique related to creating an image in which a light amount is appropriate in the entire image by capturing images a plurality of times under different exposure conditions, combining dynamic light amount portions to expand the dynamic range. It is disclosed.

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

特許文献1に係る技術では、複数回の撮像を行うことでダイナミックレンジを広げているので、1枚の画像を取得するために、フレームレートが落ちたりして、時間を要する。また、複数の画像を合成して1枚の画像を作成する処理は複雑である上、合成時にずれが生じて画像が不自然に乱れることがある。また、ユーザの意図を反映することが困難である。   In the technique according to Patent Document 1, since the dynamic range is expanded by performing imaging a plurality of times, it takes time because the frame rate drops in order to acquire one image. In addition, the process of creating a single image by combining a plurality of images is complicated, and the image may be unnaturally disturbed due to a shift during synthesis. Also, it is difficult to reflect the user's intention.

そこで本発明は、簡単な操作で自然に広いダイナミックレンジで画像を取得できる撮像装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an imaging apparatus capable of acquiring an image with a wide dynamic range by a simple operation.

前記目的を果たすため、本発明の一態様によれば、撮像装置は、被写体像が露光され、この被写体像を光電変換して画像信号を生成する撮像素子と、前記画像信号に基づく画像における第1の領域を取得する指定領域取得部と、前記撮像素子を制御して、前記第1の領域を含む第1の露光領域における前記露光の時間を第1の露光時間とし、前記第1の露光領域以外の領域の少なくとも一部である第2の露光領域における前記露光の時間を前記第1の露光時間と異なる第2の露光時間とする制御部と、を具備することを特徴とする。   In order to achieve the above object, according to an aspect of the present invention, an imaging apparatus includes: an imaging element that exposes a subject image and photoelectrically converts the subject image to generate an image signal; and a first image in an image based on the image signal. A designated area obtaining unit that obtains one area; and the imaging element is controlled so that the exposure time in the first exposure area including the first area is a first exposure time, and the first exposure is performed. And a controller that sets the exposure time in a second exposure region that is at least a part of the region other than the region to a second exposure time different from the first exposure time.

本発明によれば、簡単な操作で思い通りに自然な、広いダイナミックレンジで画像を取得できる撮像装置を提供できる。   According to the present invention, it is possible to provide an imaging apparatus capable of acquiring an image with a wide dynamic range as natural as desired with a simple operation.

本発明の第1の実施形態に係るデジタルカメラの構成例を示すブロック図。1 is a block diagram illustrating a configuration example of a digital camera according to a first embodiment of the present invention. 第1の実施形態に係る撮像装置の動作の概略を説明するための図。FIG. 3 is a diagram for explaining an outline of an operation of the imaging apparatus according to the first embodiment. 各実施形態に係るデジタルカメラの使用例を説明するための図。The figure for demonstrating the usage example of the digital camera which concerns on each embodiment. 第1の実施形態に係るデジタルカメラにおける処理の一例を示すフローチャート。6 is a flowchart illustrating an example of processing in the digital camera according to the first embodiment. 第1の実施形態に係る指定領域を説明するための図。The figure for demonstrating the designation | designated area | region which concerns on 1st Embodiment. 第1の実施形態に係る指定領域と補間領域とにおけるシャッタ速の概略を説明するための図。The figure for demonstrating the outline of the shutter speed in the designation | designated area | region and interpolation area | region which concerns on 1st Embodiment. 第1の実施形態に係るY座標と露光時間との関係の一例を説明するための図。The figure for demonstrating an example of the relationship between Y coordinate and exposure time which concerns on 1st Embodiment. 第1の実施形態に係るX座標と輝度との関係を説明するための図。The figure for demonstrating the relationship between the X coordinate which concerns on 1st Embodiment, and a brightness | luminance. 第2の実施形態に係る表示部に表示される画像の一例を示す図。The figure which shows an example of the image displayed on the display part which concerns on 2nd Embodiment. 第3の実施形態に係るデジタルカメラの構成例を示すブロック図。The block diagram which shows the structural example of the digital camera which concerns on 3rd Embodiment. 第3の実施形態に係るRAWデータファイルの構成例を示すブロック図。The block diagram which shows the structural example of the RAW data file which concerns on 3rd Embodiment. 第3の実施形態に係るRAWデータファイルの構成の別の例を示すブロック図。The block diagram which shows another example of a structure of the RAW data file which concerns on 3rd Embodiment.

[第1の実施形態]
本発明の第1の実施形態について図面を参照して説明する。本実施形態に係る撮像装置としてのデジタルカメラ1の概略を示すブロック図を図1に示す。デジタルカメラ1は、例えば複数のレンズを有するレンズ部20を備える。レンズ部20は、カメラ本体に固定されていてもよいし、カメラ本体に対して交換可能でもよい。
[First Embodiment]
A first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an outline of a digital camera 1 as an imaging apparatus according to the present embodiment. The digital camera 1 includes a lens unit 20 having a plurality of lenses, for example. The lens unit 20 may be fixed to the camera body, or may be replaceable with respect to the camera body.

デジタルカメラ1は、撮像動作を行う撮像部12を備える。撮像部12は撮像素子12aを有する。撮像素子12aは、レンズ部20から入射した被写体像を電気信号に変換する。撮像部12は、この電気信号に基づいて画像信号を生成する。撮像部12は、生成した画像信号を信号処理制御部11に出力する。デジタルカメラ1は、第1の記憶部13と第2の記憶部14とを有する。第1の記憶部13は、例えばROMであり、例えば信号処理制御部11による制御に用いるプログラム等を記憶している。また、第2の記憶部14は、例えばRAMであり、例えば信号処理制御部11による処理結果を一時的に記憶する。さらに、デジタルカメラ1には、撮影して生成された画像データを記録するための記録部15が設けられている。この記録部15は、一般的な記録媒体として、カメラ本体に対して取り外し可能に接続されている。   The digital camera 1 includes an imaging unit 12 that performs an imaging operation. The imaging unit 12 includes an imaging element 12a. The image sensor 12a converts the subject image incident from the lens unit 20 into an electrical signal. The imaging unit 12 generates an image signal based on this electrical signal. The imaging unit 12 outputs the generated image signal to the signal processing control unit 11. The digital camera 1 includes a first storage unit 13 and a second storage unit 14. The first storage unit 13 is, for example, a ROM, and stores, for example, a program used for control by the signal processing control unit 11. The second storage unit 14 is, for example, a RAM, and temporarily stores a processing result by the signal processing control unit 11, for example. Further, the digital camera 1 is provided with a recording unit 15 for recording image data generated by photographing. The recording unit 15 is detachably connected to the camera body as a general recording medium.

デジタルカメラ1には、スイッチ等、ユーザの様々な操作による入力を受け取る操作部16が設けられている。操作部16は、例えば右手の人差し指で操作できる位置に配置された静止画撮影用のレリーズボタンを含む。ユーザは、このレリーズボタンを操作することで、デジタルカメラ1に撮影動作を行わせることができる。また、操作部16には、シャッタースピード、絞り、露出補正、感度設定、ピント位置等の撮影パラメータの変更が入力されるスイッチやダイヤル等が設けられている。   The digital camera 1 is provided with an operation unit 16 that receives input by various operations of the user, such as a switch. The operation unit 16 includes, for example, a release button for taking a still image arranged at a position where the operation can be performed with the index finger of the right hand. The user can cause the digital camera 1 to perform a shooting operation by operating the release button. In addition, the operation unit 16 is provided with a switch, a dial, and the like for inputting changes in shooting parameters such as shutter speed, aperture, exposure correction, sensitivity setting, and focus position.

デジタルカメラ1は、画像を表示するための表示部17を有する。表示部17は、例えば液晶表示パネルを有している。表示部17は、例えばデジタルカメラ1の背面に設けられている。また、デジタルカメラ1は、タッチパネル18を有する。このタッチパネル18は、例えば表示部17上に設けられている。タッチパネル18もユーザの指示の入力を受け取る。ユーザは、例えば表示部17に表示されたアイコンに対応する位置を触れることにより、デジタルカメラ1の操作を行うことができる。また、タッチパネル18は、画像のうち明るくしたい領域の指定をユーザから取得する。ユーザによってタッチされたときにタッチパネル18が発生する信号は、後述の信号処理制御部11内のタッチ判定部11bに出力され、その信号はまずタッチ判定部11bで処理される。   The digital camera 1 has a display unit 17 for displaying an image. The display unit 17 includes, for example, a liquid crystal display panel. The display unit 17 is provided on the back surface of the digital camera 1, for example. The digital camera 1 has a touch panel 18. For example, the touch panel 18 is provided on the display unit 17. The touch panel 18 also receives input of user instructions. For example, the user can operate the digital camera 1 by touching a position corresponding to the icon displayed on the display unit 17. In addition, the touch panel 18 acquires from the user the designation of the area to be brightened in the image. A signal generated by the touch panel 18 when touched by the user is output to a touch determination unit 11b in a signal processing control unit 11 described later, and the signal is first processed by the touch determination unit 11b.

また、デジタルカメラ1は、電子ビューファインダーである接眼表示部30を備える。接眼表示部30は、小型の液晶パネル又は有機ELパネル等を有している。接眼表示部30は、表示画像を専用の光学系で拡大してユーザに目視可能にさせるものである。ユーザは、ファインダを覗き込む形で観察できるので、外光の影響を受けずに画像を観察できる。さらに、接眼表示部30は、専用の光学系の調整によって、ユーザの視度に合わせた視度調整ができるように構成されている。この視度調整により、ユーザは、自身の視力に関わらず良好な画像の観察を行うことができる。接眼表示部30は、カメラ本体に備え付けられていてもよいし、カメラ本体から取り外し可能でもよい。表示部17及び接眼表示部30は、後述の信号処理制御部11内の表示制御部11gの制御下で動作する。   The digital camera 1 also includes an eyepiece display unit 30 that is an electronic viewfinder. The eyepiece display unit 30 includes a small liquid crystal panel or an organic EL panel. The eyepiece display unit 30 enlarges the display image with a dedicated optical system so that the user can view it. Since the user can observe the image by looking into the viewfinder, the image can be observed without being influenced by external light. Further, the eyepiece display unit 30 is configured to be able to adjust the diopter according to the diopter of the user by adjusting a dedicated optical system. With this diopter adjustment, the user can observe a good image regardless of his or her visual acuity. The eyepiece display unit 30 may be provided in the camera body or may be removable from the camera body. The display unit 17 and the eyepiece display unit 30 operate under the control of the display control unit 11g in the signal processing control unit 11 described later.

デジタルカメラ1は、各種信号を処理してデジタルカメラ1の各部を制御する信号処理制御部11を有する。信号処理制御部11は、例えば集積回路で構成される。信号処理制御部11は、後述の第1の記憶部13に記憶されたプログラムに従って動作する。この信号処理制御部11には、信号処理部11a、タッチ判定部11b、領域決定部11c、露光補正量決定部11d、撮像素子制御部11e、画像処理部11f、表示制御部11g及び時計11hが設けられている。   The digital camera 1 includes a signal processing control unit 11 that processes various signals and controls each unit of the digital camera 1. The signal processing control unit 11 is configured by, for example, an integrated circuit. The signal processing control unit 11 operates according to a program stored in a first storage unit 13 described later. The signal processing control unit 11 includes a signal processing unit 11a, a touch determination unit 11b, an area determination unit 11c, an exposure correction amount determination unit 11d, an image sensor control unit 11e, an image processing unit 11f, a display control unit 11g, and a clock 11h. Is provided.

信号処理部11aは、露出演算を含む種々の演算や各種判定を行い、また、デジタルカメラ1の各部を制御する。タッチ判定部11bは、タッチパネル18による入力の処理を行い、タッチされた座標を算出する。領域決定部11cは、タッチパネル18のタッチされた領域に基づいて、指定領域を決定する。また、領域決定部11cは、指定領域周辺に補間領域を決定する。   The signal processing unit 11 a performs various calculations including exposure calculation and various determinations, and controls each unit of the digital camera 1. The touch determination unit 11b performs input processing using the touch panel 18 and calculates touched coordinates. The area determination unit 11 c determines the designated area based on the touched area of the touch panel 18. The area determining unit 11c determines an interpolation area around the designated area.

露光補正量決定部11dは、例えば指定領域が擦られた回数に応じて、露光量の変化量である露光補正量を決定する。また、露光補正量決定部11dは、決定した露光補正量に応じて指定領域と補間領域とのシャッタ速を決定する。撮像素子制御部11eは、撮像部12が有する撮像素子12aの動作を制御する。撮像素子制御部11eは、例えば露光補正量決定部11dが決定したシャッタ速に応じた露光期間に合わせて、撮像素子12aの領域毎に電荷をリセットするタイミングを決定し、このタイミングに従って、撮像素子12aに露光を実行させる。   The exposure correction amount determination unit 11d determines an exposure correction amount that is a change amount of the exposure amount, for example, according to the number of times the designated area is rubbed. Further, the exposure correction amount determination unit 11d determines the shutter speed between the designated area and the interpolation area according to the determined exposure correction amount. The imaging element control unit 11e controls the operation of the imaging element 12a included in the imaging unit 12. The image sensor control unit 11e determines the timing for resetting the charge for each region of the image sensor 12a in accordance with the exposure period according to the shutter speed determined by the exposure correction amount determination unit 11d, and the image sensor according to this timing. The exposure is executed in 12a.

画像処理部11fは、種々の画像処理を行う。画像処理部11fは、例えば撮像部12から取得した画像を処理して、表示部17にライブビュー表示させる画像を作成したり、記録部15に記録させるための画像を作成したりする。また、画像処理部11fは、画像においてゲインを調整することで指定領域周辺の輝度を調整する画像処理を行う。表示制御部11gは、表示部17における表示を制御する。表示制御部11gは、例えば画像処理部11fで処理された画像を表示部17に表示させる。また、表示制御部11gは、例えばデジタルカメラ1の操作のためのアイコン等を表示部17に表示させる。時計11hは、画像と関連付けて撮像時刻等を記録するために必要な時刻を出力する。   The image processing unit 11f performs various image processing. The image processing unit 11f processes, for example, the image acquired from the imaging unit 12, and creates an image to be displayed on the display unit 17 for live view, or creates an image to be recorded on the recording unit 15. Further, the image processing unit 11f performs image processing for adjusting the brightness around the designated area by adjusting the gain in the image. The display control unit 11 g controls display on the display unit 17. For example, the display control unit 11g causes the display unit 17 to display the image processed by the image processing unit 11f. The display control unit 11g causes the display unit 17 to display an icon for operating the digital camera 1, for example. The clock 11h outputs a time necessary for recording an imaging time or the like in association with the image.

本実施形態は、例えば撮像素子12aとしてCMOS等が用いられたローリングシャッター方式を利用したデジタルカメラに適用される。本実施形態に係るデジタルカメラの動作の概要を、図2を参照して説明する。例えば図2(a)に示すような画像が表示部17にプレビュー表示されているとする。この画像において、適正露出は画面全体の輝度に基づいて決定されている。このため、図2(a)の例では、画面の上側が明るく下側が暗くなっている。このとき、画像の各ラインの露光のタイミングは、図2(b)のようになる。図2(b)において、横軸は時間、縦軸はラインを表す。すなわち、各ラインの画素情報を順次読み出すため、読み出しのタイミングに合わせて露光がラインごとに順に終了するようになっている。また、各ラインの露光時間を同一とするため、ラインごとに露光が順に開始するようになっている。   The present embodiment is applied to a digital camera using a rolling shutter system in which, for example, a CMOS or the like is used as the image sensor 12a. An outline of the operation of the digital camera according to the present embodiment will be described with reference to FIG. For example, it is assumed that an image as shown in FIG. In this image, the proper exposure is determined based on the brightness of the entire screen. For this reason, in the example of FIG. 2A, the upper side of the screen is bright and the lower side is dark. At this time, the exposure timing of each line of the image is as shown in FIG. In FIG. 2B, the horizontal axis represents time and the vertical axis represents a line. That is, since the pixel information of each line is sequentially read, the exposure is sequentially finished for each line in accordance with the read timing. Moreover, in order to make the exposure time of each line the same, the exposure is started in order for each line.

本実施形態では、図2(c)に示すように、ユーザは、画像を表示する表示部17上に配置されたタッチパネル18において、表示部17に表示された画像のうちさらに明るくすることを希望する部分を擦る。このとき、擦られた部分に相当するラインの露光時間が延長される。すなわち、図2(d)に示すように、露光開始のタイミングがラインごとに異なるように制御される。ユーザが画像を擦る回数に応じて露光時間は変化する。その結果、例えば図2(e)に示すように画像全体においてユーザが所望する明るさとなる。このときの各ラインの露光のタイミングは、図2(f)のようになる。   In the present embodiment, as shown in FIG. 2C, the user desires to further brighten the image displayed on the display unit 17 on the touch panel 18 disposed on the display unit 17 that displays the image. Rub the part to be. At this time, the exposure time of the line corresponding to the rubbed portion is extended. That is, as shown in FIG. 2D, the exposure start timing is controlled to be different for each line. The exposure time varies depending on the number of times the user rubs the image. As a result, for example, as shown in FIG. 2E, the brightness desired by the user is obtained in the entire image. The exposure timing of each line at this time is as shown in FIG.

なお、本実施形態に係るデジタルカメラ1は、図3に示すように用いられ得る。すなわち、例えば図3(a)に示すように、ユーザは、デジタルカメラ1の背面に設けられた表示部17を見ながら、表示部17上に設けられたタッチパネル18を操作することができる。また、例えば図3(b)に示すように、ユーザは、接眼表示部30を観察しながら、タッチパネル18を操作することもできる。この場合、タッチパネル18がタッチされた部分に対応して、接眼表示部30に例えばカーソルが表示されるようにしてもよい。   The digital camera 1 according to the present embodiment can be used as shown in FIG. That is, for example, as shown in FIG. 3A, the user can operate the touch panel 18 provided on the display unit 17 while looking at the display unit 17 provided on the back surface of the digital camera 1. For example, as shown in FIG. 3B, the user can operate the touch panel 18 while observing the eyepiece display unit 30. In this case, for example, a cursor may be displayed on the eyepiece display unit 30 corresponding to the part where the touch panel 18 is touched.

本実施形態に係るデジタルカメラ1の動作を詳細に説明する。本実施形態に信号処理制御部11による処理のフローチャートを図4に示す。ステップS101において、信号処理制御部11は、撮影待機モードであるか否かを判定する。撮影待機モードでないとき、ステップS102において、信号処理制御部11は、再生モード動作を実行する。この再生モード動作は、例えば記録部15に記録されている画像を表示部17に表示させる一般的な動作である。再生モード動作の後、処理はステップS101に戻る。   The operation of the digital camera 1 according to this embodiment will be described in detail. FIG. 4 shows a flowchart of processing by the signal processing control unit 11 in this embodiment. In step S101, the signal processing control unit 11 determines whether or not the shooting standby mode is set. When the shooting standby mode is not set, in step S102, the signal processing control unit 11 executes a playback mode operation. This reproduction mode operation is a general operation for displaying an image recorded in the recording unit 15 on the display unit 17, for example. After the playback mode operation, the process returns to step S101.

ステップS101の判定において撮影待機モードであると判定されたとき、ステップS103において、信号処理制御部11はライブビュー表示を開始させる。すなわち、信号処理制御部11は、撮像部12から画像信号を取得し、その画像を表示部17に表示させる。ステップS104において、信号処理制御部11は測光処理を行う。すなわち、信号処理制御部11は、例えば撮像部12から画像情報を取得し、その輝度から光量を算出する。なお、画像情報によらず、デジタルカメラ1に別途設けられた露光計の出力に基づいて光量が算出されてもよい。ステップS105において、信号処理制御部11は適正露出を算出する。信号処理制御部11は、シャッタ速度や絞りを決定する。なお、アペックスバリューで表したシャッタ速すなわちタイムバリューTVaと露光期間Taとの関係は、次式で与えられる。   When it is determined in step S101 that the shooting standby mode is set, in step S103, the signal processing control unit 11 starts live view display. That is, the signal processing control unit 11 acquires an image signal from the imaging unit 12 and causes the display unit 17 to display the image. In step S104, the signal processing control unit 11 performs photometric processing. That is, the signal processing control unit 11 acquires image information from the imaging unit 12, for example, and calculates the light amount from the luminance. Note that the amount of light may be calculated based on the output of an exposure meter provided separately in the digital camera 1 regardless of the image information. In step S105, the signal processing control unit 11 calculates an appropriate exposure. The signal processing control unit 11 determines the shutter speed and the aperture. The relationship between the shutter speed expressed in apex value, that is, the time value TVa and the exposure period Ta is given by the following equation.

Ta=1/(2TVa) (1)
ステップS106において、信号処理制御部11は、タッチパネル18が例えばユーザの指によって擦られたか否かを判定する。擦られていないと判定されたとき、処理はステップS118に進む。擦られたと判定されたとき、ステップS107において、信号処理制御部11は、露光補正量ΔEvを算出する。ここで、露光補正量ΔEvは、例えばユーザによってタッチパネル18が擦られた回数B1を用いて次式で与えられる。
ΔEv=B1×0.3 (2)
すなわち、1回擦られる毎に0.3段ずつ露光補正量ΔEvが大きくなる。デジタルカメラ1は、後述のとおりこの露光補正量ΔEvだけ、擦られた領域が明るくなるように動作する。このように、擦られた回数によって露光補正量ΔEvが調整されるので、ユーザは直感的に露光補正量ΔEvを決定することができる。なお、上記式(2)は一例であり、露光補正量ΔEvは他の方法で決定されてもよい。例えば1回擦られる毎に0.5段ずつ露光補正量ΔEvが大きくなるようにしてもよいし、擦る速度すなわちタッチパネル18上におけるユーザの指の移動速度に応じて露光補正量ΔEvを決定されるようにしてもよい。
Ta = 1 / (2 TVa ) (1)
In step S106, the signal processing control unit 11 determines whether or not the touch panel 18 has been rubbed by, for example, a user's finger. When it is determined that the object is not rubbed, the process proceeds to step S118. When it is determined that the image has been rubbed, in step S107, the signal processing control unit 11 calculates an exposure correction amount ΔEv. Here, the exposure correction amount ΔEv is given by the following equation using, for example, the number of times B1 that the touch panel 18 is rubbed by the user.
ΔEv = B1 × 0.3 (2)
That is, the exposure correction amount ΔEv increases by 0.3 steps for each rubbing. As will be described later, the digital camera 1 operates so that the rubbed area becomes brighter by the exposure correction amount ΔEv. Thus, the exposure correction amount ΔEv is adjusted according to the number of times of rubbing, so that the user can intuitively determine the exposure correction amount ΔEv. The above formula (2) is an example, and the exposure correction amount ΔEv may be determined by other methods. For example, the exposure correction amount ΔEv may be increased by 0.5 steps every time it is rubbed, or the exposure correction amount ΔEv is determined according to the rubbing speed, that is, the moving speed of the user's finger on the touch panel 18. You may do it.

ステップS108において、信号処理制御部11は、タッチパネル18が擦られた領域を判定し、指定領域を決定する。この指定領域は、例えば擦られた領域を包含する矩形として決定される。例えば図5に示すように、画像において左下隅の座標を(0,0)と定義し、右上隅の座標を(Xmax,Ymax)と定義する。擦られた領域が領域A1であったとする。このとき、領域A1についてX座標の最小値X1及び最大値X2と、Y座標の最小値Y1と最大値Y2とを用いて、指定領域は、(X1,Y1)から(X2,Y2)までの矩形の領域A2と決定される。なお、指定領域は、例えば擦られた領域に内接する矩形として決定されてもよい。また、本実施形態では指定領域がタッチパネル18によって入力されるが、他の操作部16を用いて指定領域が入力されてもよい。ただし、指定領域の選択がタッチパネル18によってなされることは、ユーザにとって操作性がよい。   In step S108, the signal processing control unit 11 determines an area where the touch panel 18 is rubbed and determines a designated area. This designated area is determined as a rectangle including the rubbed area, for example. For example, as shown in FIG. 5, the coordinates of the lower left corner in the image are defined as (0, 0), and the coordinates of the upper right corner are defined as (Xmax, Ymax). Assume that the rubbed area is the area A1. At this time, with respect to the area A1, the designated area is from (X1, Y1) to (X2, Y2) using the minimum value X1 and maximum value X2 of the X coordinate and the minimum value Y1 and maximum value Y2 of the Y coordinate. A rectangular area A2 is determined. For example, the designated area may be determined as a rectangle inscribed in the rubbed area. In the present embodiment, the specified area is input by the touch panel 18, but the specified area may be input using another operation unit 16. However, it is easy for the user to select the designated area with the touch panel 18.

ステップS109において、信号処理制御部11は、指定領域の周辺に位置し、露光時間を徐々に変化させる領域である補間領域の幅に係る値ΔYを算出する。ここで値ΔYは、例えば擦られていない領域(指定領域以外の領域)の明るさの変化に応じて決まる値であるB2と露光補正量ΔEvと定数C1とを用いて次式で与えられる。
ΔY=C1×B2×ΔEv (3)
すなわち、露光補正量ΔEvが大きいほど、補間領域が大きくなるように値ΔYが決められる。また、ΔYは擦られていない領域の明るさの変化に応じて、擦られていない領域の明るさの変化と補間領域の明るさの変化とが近似するようにΔYが決められる。すなわち、指定領域とそれ以外の領域との明るさの変化が自然に感じられるものとなるように補間領域の幅に係る値ΔYが決定される。
In step S109, the signal processing control unit 11 calculates a value ΔY related to the width of the interpolation area, which is located around the designated area and gradually changes the exposure time. Here, the value ΔY is given by the following equation using B2, the exposure correction amount ΔEv, and the constant C1, which are values determined in accordance with, for example, a change in brightness of a non-rubbed area (an area other than the designated area).
ΔY = C1 × B2 × ΔEv (3)
That is, the value ΔY is determined so that the interpolation area becomes larger as the exposure correction amount ΔEv is larger. Further, ΔY is determined so that the change in the brightness of the non-rubbed area and the change in the brightness of the interpolation area are approximated according to the change in the brightness of the non-rubbed area. That is, the value ΔY related to the width of the interpolation area is determined so that a change in brightness between the designated area and the other areas can be felt naturally.

ステップS110において、信号処理制御部11は、Y座標に応じて、アペックスバリューで表したシャッタ速、すなわちタイムバリューTVを設定する。ここで、例えばY座標が0以上で(Y1−ΔY)より小さい領域、及びY座標が(Y2+ΔY)より大きくYmax以下の領域におけるシャッタ速TVは、ステップS105で算出されたTVaに設定される。擦られた指定領域に対応するY座標がY1以上Y2以下の領域におけるシャッタ速TVbは次式で与えられる。
TVb=TVa−ΔEv (4)
補間領域に対応するY座標が(Y1−ΔY)以上でY1より小さい領域におけるシャッタ速TVcは、線形補間され、例えば次式で与えられる。
TVc=TVa−(TVa−TVb)/ΔY×(ΔY−Y1+y) (5)
ここでyはY座標の値である。また、Y座標がY2より大きく(Y2+ΔY)以下である補間領域におけるシャッタ速TVdは、線形補間され、例えば次式で与えられる。
TVd=TVa−(TVa−TVb)/ΔY×(ΔY−y+Y2) (6)
このようにして、例えば図6に模式的に示すようにY座標ごとにシャッタ速TVが決定される。
In step S110, the signal processing control unit 11 sets the shutter speed expressed by the apex value, that is, the time value TV according to the Y coordinate. Here, for example, the shutter speed TV in the region where the Y coordinate is greater than or equal to 0 and smaller than (Y1−ΔY) and the region where the Y coordinate is greater than (Y2 + ΔY) and less than or equal to Ymax is set to TVa calculated in step S105. The shutter speed TVb in the area where the Y coordinate corresponding to the rubbed designated area is Y1 or more and Y2 or less is given by the following equation.
TVb = TVa−ΔEv (4)
The shutter speed TVc in the region where the Y coordinate corresponding to the interpolation region is greater than or equal to (Y1−ΔY) and smaller than Y1 is linearly interpolated and is given by the following equation, for example.
TVc = TVa− (TVa−TVb) / ΔY × (ΔY−Y1 + y) (5)
Here, y is the value of the Y coordinate. Further, the shutter speed TVd in the interpolation area where the Y coordinate is larger than Y2 and equal to or smaller than (Y2 + ΔY) is linearly interpolated and is given by the following equation, for example.
TVd = TVa− (TVa−TVb) / ΔY × (ΔY−y + Y2) (6)
In this way, for example, as schematically shown in FIG. 6, the shutter speed TV is determined for each Y coordinate.

ステップS111において、信号処理制御部11は、タイムバリューで表したシャッタ速TVを露光期間Tに変換する。すなわち、上記式(1)の関係T=1/(2TV)を用いて、シャッタ速TVaに基づいて露光期間Taを算出し、シャッタ速TVbに基づいて露光期間Tbを算出し、シャッタ速TVcに基づいて露光期間Tcを算出し、シャッタ速TVdに基づいて露光期間Tdを算出する。 In step S111, the signal processing control unit 11 converts the shutter speed TV represented by the time value into the exposure period T. That is, using the relationship T = 1 / (2 TV ) in the above equation (1), the exposure period Ta is calculated based on the shutter speed TVa, the exposure period Tb is calculated based on the shutter speed TVb, and the shutter speed TVc. The exposure period Tc is calculated based on the above, and the exposure period Td is calculated based on the shutter speed TVd.

ステップS112において、信号処理制御部11は、ステップS111で算出した露光期間に合わせて、Y座標ごとに撮像素子12aの電荷をリセットするタイミングを決定する。ステップS113において、信号処理制御部11は、撮像素子12aに露光を実行させる。このときのY座標ごとの露光期間は、図7に示すようになる。続いてステップS114において、信号処理制御部11は、撮像素子12aによって電気信号に変換され撮像部12で作成された画像信号を撮像部12から取り込む。   In step S112, the signal processing control unit 11 determines the timing for resetting the charge of the image sensor 12a for each Y coordinate in accordance with the exposure period calculated in step S111. In step S113, the signal processing control unit 11 causes the image sensor 12a to perform exposure. The exposure period for each Y coordinate at this time is as shown in FIG. Subsequently, in step S <b> 114, the signal processing control unit 11 takes in an image signal that is converted into an electrical signal by the imaging element 12 a and created by the imaging unit 12 from the imaging unit 12.

ステップS115において、信号処理制御部11は、Y座標が(Y1−ΔY)以上(Y2+ΔY)以下である領域について、X座標に応じたゲインの低下量を算出する。例えばX座標が0以上X1以下の領域について、ゲインダウン量Gdは次式で与えられる。
Gd=ΔEv−x/X1×ΔEv
ここでxはX座標の値である。また、例えばX座標がX2以上Xmax以下の領域について、ゲインダウン量Gdは次式で与えられる。
Gd=ΔEv/(Xmax−X2)×(x−X2) (7)
なお、X1以上X2以下の領域についてはゲインを調整しない。
In step S115, the signal processing control unit 11 calculates a gain reduction amount corresponding to the X coordinate for a region where the Y coordinate is (Y1−ΔY) or more and (Y2 + ΔY) or less. For example, for an area where the X coordinate is 0 or more and X1 or less, the gain down amount Gd is given by the following equation.
Gd = ΔEv−x / X1 × ΔEv
Here, x is the value of the X coordinate. For example, for an area where the X coordinate is X2 or more and Xmax or less, the gain down amount Gd is given by the following equation.
Gd = ΔEv / (Xmax−X2) × (x−X2) (7)
Note that the gain is not adjusted in the region from X1 to X2.

ステップS116において、信号処理制御部11は、ゲインダウン量Gdに基づいて、Y座標が(Y1−ΔY)以上(Y2+ΔY)以下である領域について、ゲインダウン量Gdに応じた量だけゲインを下げる調整を含む画像処理を行う。例えばあるY座標に沿った輝度を図8に模式的に示す。ゲインを下げる前に点線で示すような関係にあったX座標と輝度との関係は、ゲインダウン量Gdに応じたゲインダウンによって、実線に示すような関係になる。この例では、画像の端まで徐々にゲインを下げるように制御しているが、例えばY軸におけるΔYのように範囲を設けて、その範囲内で徐々にゲインを下げるようにしてもよい。このようにして、X1からX2までの指定領域については、輝度が上昇し、その両側の領域は、不自然にならないように徐々に輝度が下がるように処理される。なお、このX軸方向の輝度の調整は、デジタル画像信号において調整してもよいし、撮像素子12aから出力されA/D変換される前のアナログ信号で調整してもよい。   In step S116, the signal processing control unit 11 performs an adjustment to lower the gain by an amount corresponding to the gain-down amount Gd in the region where the Y coordinate is (Y1-ΔY) or more and (Y2 + ΔY) or less based on the gain-down amount Gd. Image processing including For example, the luminance along a certain Y coordinate is schematically shown in FIG. The relationship between the X-coordinate and the luminance that was in the relationship shown by the dotted line before the gain is lowered becomes the relationship shown by the solid line by the gain reduction according to the gain-down amount Gd. In this example, control is performed so that the gain is gradually lowered to the end of the image, but a range may be provided, for example, ΔY on the Y axis, and the gain may be gradually lowered within that range. In this way, the designated areas from X1 to X2 are processed so that the luminance increases, and the areas on both sides gradually decrease so as not to become unnatural. The adjustment of the luminance in the X-axis direction may be performed on the digital image signal, or may be performed on an analog signal that is output from the image sensor 12a and is not A / D converted.

ステップS117において信号処理制御部11は、露光及び画像処理の条件を保持する。ステップS118において、信号処理制御部11は、露光を調整する領域がリセットされたか否かを判定する。リセットされたと判定されたとき、処理はステップS119に進む。ステップS119において、信号処理制御部11は、領域や露光期間、画像処理等の調整条件をリセットする。その後、処理はステップS103に戻る。ステップS118の判定で、リセットされていないと判定されたとき、ステップS120において、信号処理制御部11は、レリーズボタンが押されたか否かを判定する。   In step S117, the signal processing control unit 11 holds the conditions for exposure and image processing. In step S <b> 118, the signal processing control unit 11 determines whether or not an area for adjusting exposure has been reset. When it is determined that the reset has been performed, the process proceeds to step S119. In step S119, the signal processing control unit 11 resets adjustment conditions such as a region, an exposure period, and image processing. Thereafter, the process returns to step S103. When it is determined in step S118 that the reset has not been performed, in step S120, the signal processing control unit 11 determines whether or not the release button has been pressed.

レリーズボタンが押されたと判定されたとき、ステップS121において、信号処理制御部11は、撮像処理を行う。すなわち、信号処理制御部11は、撮像部12の撮像素子にステップS112で決定した露光条件で撮像動作を行わせ、得られた画像を取り込み、画像処理を行う。信号処理制御部11は、得られた画像を記録部15に記録させる。その後、処理は終了する。ステップS120の判定でレリーズボタンが押されていないと判定されたとき、処理はステップS103に戻る。   When it is determined that the release button has been pressed, in step S121, the signal processing control unit 11 performs an imaging process. That is, the signal processing control unit 11 causes the imaging device of the imaging unit 12 to perform an imaging operation under the exposure conditions determined in step S112, captures the obtained image, and performs image processing. The signal processing control unit 11 causes the recording unit 15 to record the obtained image. Thereafter, the process ends. If it is determined in step S120 that the release button has not been pressed, the process returns to step S103.

本実施形態によれば、デジタルカメラ1は、ユーザが指定する領域の輝度を上昇させてユーザが所望する画像を撮影することができる。すなわち、本実施形態に係るデジタルカメラ1は、広いダイナミックレンジを有する。この際、デジタルカメラ1においては、Y座標に応じてシャッタ速が変更され、指定領域では露出が長くなるように調整される。また、X座標に応じて、画像処理によって指定領域の画像は輝度が高く、その他の領域では輝度が抑えられるように調整される。したがって、本実施形態によれば1回の撮影で広いダイナミックレンジの画像が得られる。このようにして、本実施形態によれば、露光条件が異なる複数枚の画像を合成するよりも、短時間で、また簡単な処理によって広いダイナミックレンジの画像が得られる。   According to the present embodiment, the digital camera 1 can capture an image desired by the user by increasing the brightness of an area designated by the user. That is, the digital camera 1 according to the present embodiment has a wide dynamic range. At this time, in the digital camera 1, the shutter speed is changed according to the Y coordinate, and the exposure is adjusted to be longer in the designated area. Also, according to the X coordinate, the image of the designated area is adjusted by image processing so that the brightness is high and the brightness is suppressed in other areas. Therefore, according to the present embodiment, an image with a wide dynamic range can be obtained by one shooting. Thus, according to the present embodiment, an image with a wide dynamic range can be obtained in a shorter time and with simple processing than combining a plurality of images having different exposure conditions.

このように、例えば撮像素子12aは、被写体像が露光され、この被写体像を光電変換して画像信号を生成する撮像素子として機能する。例えばタッチパネル18は、前記画像信号に基づく画像における第1の領域を取得する指定領域取得部として機能する。例えば信号処理制御部11は、前記撮像素子を制御して、前記第1の領域を含む第1の露光領域における前記露光の時間を第1の露光時間とし、前記第1の露光領域以外の領域の少なくとも一部である第2の露光領域における前記露光の時間を前記第1の露光時間と異なる第2の露光時間とする制御部として機能する。例えば表示部17は、前記画像を表示する表示部として機能する。例えば画像処理部11fは、前記画像における前記第1の露光領域又は第3の露光領域であって前記第1の領域でない領域の明るさを、画像処理によって前記第2の領域の明るさに近づける画像処理部として機能する。   Thus, for example, the image sensor 12a functions as an image sensor that exposes a subject image and photoelectrically converts the subject image to generate an image signal. For example, the touch panel 18 functions as a designated area acquisition unit that acquires a first area in an image based on the image signal. For example, the signal processing control unit 11 controls the imaging device to set the exposure time in the first exposure area including the first area as the first exposure time, and the area other than the first exposure area. It functions as a control unit that sets the exposure time in the second exposure region that is at least a part of the second exposure time to be a second exposure time different from the first exposure time. For example, the display unit 17 functions as a display unit that displays the image. For example, the image processing unit 11f brings the brightness of the first exposure region or the third exposure region in the image that is not the first region closer to the brightness of the second region by image processing. Functions as an image processing unit.

また、例えば指定領域は、指定領域取得部が取得する前記画像信号に基づく画像における第1の領域に相当する。例えばY座標がY1からY2までとなる領域は、前記第1の領域を含む第1の露光領域に相当する。例えば露光時間Tbは、第1の露光領域における露光の時間である第1の露光時間に相当する。例えばY座標が0からY1−ΔYまでとなる領域と、Y2+ΔYからYmaxまでとなる領域は、前記第1の露光領域以外の少なくとも一部である第2の露光領域に相当する。例えば露光時間Taは、前記第1の露光時間と異なる第2の露光時間に相当する。例えばY座標がY1−ΔYからY1までとなる領域と、Y2からY2+ΔYまでとなる領域は、前記第1の露光領域と前記第2の露光領域との間に設定される第3の露光領域に相当する。例えば露光時間Tc及びTdは、前記第1の露光時間と前記第2の露光時間との間を補間する露光時間に相当する。例えばY座標がY1−ΔYからY2+ΔYまでであって、X座標が0からX1まで又はX2からXmaxまでとなる領域は、前記第1の露光領域又は前記第3の露光領域であって前記第1の領域でない領域の少なくとも一部に相当する。   Further, for example, the designated area corresponds to a first area in an image based on the image signal acquired by the specified area acquisition unit. For example, the region where the Y coordinate is from Y1 to Y2 corresponds to a first exposure region including the first region. For example, the exposure time Tb corresponds to a first exposure time that is an exposure time in the first exposure region. For example, a region where the Y coordinate is from 0 to Y1−ΔY and a region where Y2 + ΔY is to Ymax correspond to a second exposure region that is at least a part other than the first exposure region. For example, the exposure time Ta corresponds to a second exposure time different from the first exposure time. For example, an area where the Y coordinate is from Y1−ΔY to Y1 and an area where the Y coordinate is from Y2 to Y2 + ΔY are the third exposure area set between the first exposure area and the second exposure area. Equivalent to. For example, the exposure times Tc and Td correspond to exposure times for interpolating between the first exposure time and the second exposure time. For example, the region where the Y coordinate is from Y1−ΔY to Y2 + ΔY and the X coordinate is from 0 to X1 or from X2 to Xmax is the first exposure region or the third exposure region and the first exposure region. This corresponds to at least a part of a region that is not the region.

なお、信号処理制御部11は、撮像素子12aの露光の限界を超えないようにシャッタ速度を制御するようにしてもよい。また、画像の質を維持するため、画像内の最も明るい部位よりも指定領域が明るくならないように制御し、指定領域の方が他の領域よりも明るくなる場合には、適正露出を再算出するようにしてもよい。また、本実施形態では、ライブビュー表示されている画像と同様の画像を撮影するための構成としたが、これに限らない。例えば暗い部分をライブビューで確認できるが、撮影する画像は、暗い部分は暗いままの画像が取得されるようにしてもよい。   The signal processing control unit 11 may control the shutter speed so as not to exceed the exposure limit of the image sensor 12a. In addition, in order to maintain the quality of the image, control is performed so that the designated area does not become brighter than the brightest part in the image, and when the designated area becomes brighter than other areas, the appropriate exposure is recalculated. You may do it. In the present embodiment, the configuration is such that an image similar to the image displayed in live view is captured, but the present invention is not limited to this. For example, a dark part can be confirmed in live view, but an image to be captured may be acquired with a dark part remaining dark.

[第2の実施形態]
本発明の第2の実施形態について説明する。ここでは、第1の実施形態との相違点について説明し、同一の部分については、同一の符号を付してその説明を省略する。第1の実施形態では、ユーザがタッチパネル18上を擦ると、該当箇所の露光時間が長くなり明るく撮影されるデジタルカメラについて説明した。これに対して本実施形態では、デジタルカメラ1は、ユーザが擦った部分を明るくすることも暗くもすることができるので、直感的な操作で思い通りの描写の画像表示や撮影が可能となる。前述のように撮影を行わなくても、暗くて見えないところや明るくて見えないところを、ユーザが簡単に指定して目視可能とすることができる。
[Second Embodiment]
A second embodiment of the present invention will be described. Here, differences from the first embodiment will be described, and the same portions will be denoted by the same reference numerals and description thereof will be omitted. In the first embodiment, the digital camera has been described in which when the user rubs on the touch panel 18, the exposure time of the corresponding portion becomes longer and the image is taken brightly. On the other hand, in the present embodiment, the digital camera 1 can brighten or darken the portion rubbed by the user, so that it is possible to display and shoot the desired depiction with an intuitive operation. As described above, a user can easily designate and visually recognize a place that is dark and cannot be seen or a place that is not bright and cannot be seen without performing shooting.

本実施形態では、例えば図9に示すように、表示部17にハイライトボタン、シャドーボタン及びリセットボタンが表示される。ハイライトボタンがタッチされた後、画像が擦られたことが検出された場合、第1の実施形態の場合と同様に、擦られた領域に相当するラインについて、露光時間が長くなる。一方、シャドーボタンがタッチされた後、画像が擦られた場合、擦られた部分が暗くなる。この場合、第1の実施形態の場合と逆に、擦られた領域に相当するラインについて、擦られた回数に応じて露光時間が短くなるように調整される。また、X方向についても第1の実施形態の場合と同様に、画像処理により変化が滑らかになるように輝度が調整される。また、リセットボタンがタッチされた場合、ラインごとの露光時間の変更はリセットされ、全ラインが同一の適正露出に合わせた時間Taで露光される。その他の動作は、第1の実施形態と同様である。   In the present embodiment, for example, as shown in FIG. 9, a highlight button, a shadow button, and a reset button are displayed on the display unit 17. When it is detected that the image has been rubbed after the highlight button is touched, the exposure time becomes longer for the line corresponding to the rubbed area, as in the first embodiment. On the other hand, when the image is rubbed after the shadow button is touched, the rubbed portion becomes dark. In this case, contrary to the case of the first embodiment, the exposure time of the line corresponding to the rubbed area is adjusted so as to be shortened according to the number of rubs. Also, in the X direction, as in the case of the first embodiment, the luminance is adjusted so that the change is smoothed by image processing. When the reset button is touched, the change in exposure time for each line is reset, and all lines are exposed for a time Ta that matches the same appropriate exposure. Other operations are the same as those in the first embodiment.

本実施形態によれば、ユーザは、測光処理により算出された露光時間では暗すぎると感じる部分を擦ることで明るくすることができ、また、明るすぎると感じる部分を擦ることで暗くすることができる。したがって、本デジタルカメラは、ユーザが所望する画像を取得することができる。その他、第1の実施形態と同様の効果が得られる。   According to the present embodiment, the user can brighten by rubbing a part that feels too dark in the exposure time calculated by the photometric process, and can darken by rubbing a part that feels too bright. . Therefore, this digital camera can acquire an image desired by the user. In addition, the same effects as those of the first embodiment can be obtained.

[第3の実施形態]
本発明の第3の実施形態について説明する。ここでは、第1の実施形態及び第2の実施形態との相違点について説明し、同一の部分については、同一の符号を付してその説明を省略する。本実施形態に係るデジタルカメラ1は、記録部15に記録するRAWデータに第1の実施形態及び第2の実施形態に係るシャッタ速の調整についての情報を持たせる。
[Third Embodiment]
A third embodiment of the present invention will be described. Here, differences from the first embodiment and the second embodiment will be described, and the same portions will be denoted by the same reference numerals and description thereof will be omitted. The digital camera 1 according to the present embodiment causes the RAW data to be recorded in the recording unit 15 to have information about the adjustment of the shutter speed according to the first embodiment and the second embodiment.

本実施形態に係るデジタルカメラ1の構成例を図10のブロック図に示す。この図に示すように、本実施形態に係るデジタルカメラ1において、信号処理制御部11は、さらに画素別露出値管理部11iと再生部11jとを備える。画素別露出値管理部11iは、撮像素子12aのライン毎すなわち画素毎のシャッタ速の値を管理する。画素別露出値管理部11iは、これらシャッタ速に係る値をRAWデータに含ませる。   A configuration example of the digital camera 1 according to the present embodiment is shown in a block diagram of FIG. As shown in this figure, in the digital camera 1 according to the present embodiment, the signal processing control unit 11 further includes a pixel-specific exposure value management unit 11i and a reproduction unit 11j. The pixel-specific exposure value management unit 11i manages the shutter speed value for each line of the image sensor 12a, that is, for each pixel. The pixel-specific exposure value management unit 11i includes these values relating to the shutter speed in the RAW data.

本実施形態に係るRAWデータファイル100の模式図を図11に示す。この図に示すように、RAWデータファイル100は、例えば、ファイルのID情報ともなるファイル名110と、カメラの機体情報を含むカメラ情報120と、撮影時の条件を含む撮影情報130と、後述の露光補正量情報140と、撮像部12で取得した画像の未加工のデータである画像RAWデータ150と、サムネイル画像データ160とを有する。カメラ情報120は、例えばカメラ本体の情報であるカメラ本体情報122と、カメラ本体に取り付けられた撮影に用いられたレンズの情報であるレンズ情報124とを含む。カメラ情報120には、さらにフラッシュ等のアクセサリに関する情報も含まれ得る。また、撮影情報130は、撮影時の諸条件、例えば、シャッタ速132、絞り値134、レンズの焦点距離136、合焦位置138等のデータを含む。また、撮影情報130には、撮影時に用いられたホワイトバランスや階調補正等の画像処理に関する情報が含まれる。さらに、顔検出情報等の情報も撮影情報130に含まれていることが好ましい。上述以外にも、一般的なEXIF(Exchangeable Image File Format)形式に準拠する情報が、RAWデータファイル100には含まれている。   FIG. 11 shows a schematic diagram of the RAW data file 100 according to the present embodiment. As shown in this figure, a RAW data file 100 includes, for example, a file name 110 that also serves as file ID information, camera information 120 that includes camera body information, shooting information 130 that includes conditions at the time of shooting, It includes exposure correction amount information 140, image RAW data 150 that is raw data of an image acquired by the imaging unit 12, and thumbnail image data 160. The camera information 120 includes, for example, camera main body information 122 that is information on the camera main body, and lens information 124 that is information on the lenses used for photographing attached to the camera main body. The camera information 120 may further include information about accessories such as a flash. Further, the shooting information 130 includes various conditions at the time of shooting, for example, data such as a shutter speed 132, an aperture value 134, a focal length 136 of the lens, and a focus position 138. The shooting information 130 includes information related to image processing such as white balance and gradation correction used at the time of shooting. Further, it is preferable that information such as face detection information is also included in the shooting information 130. In addition to the above, the RAW data file 100 includes information conforming to a general EXIF (Exchangeable Image File Format) format.

露光補正量情報140は、本実施形態に係る露光期間の調整に係る情報を含む。露光補正量情報140は、例えば、撮影情報130に含まれる基準のシャッタ速に対してシャッタ速が調整された画素を表す情報である露光時間補正画素情報142を含む。また、露光補正量情報140は、基準に対してシャッタ速が変化させられた各画素の露光補正量に係る情報である露光時間変更量情報144を含む。露光時間変更量情報144は、例えばシャッタ速の変化量を表す情報を含む。なお、露光時間変更量情報144は、アペックスバリューで表したタイムバリューと露光期間との何れの形式を用いて表現されてもよい。また、露光時間補正画素情報142は、テキスト形式で表現されてもよいし、フラグ形式で表現されてもよい。また、露光補正量情報140には、露光量が調整された領域についてゲイン調整によってなされたX方向の輝度補正に係る情報が含まれてもよい。   The exposure correction amount information 140 includes information related to the adjustment of the exposure period according to the present embodiment. The exposure correction amount information 140 includes, for example, exposure time correction pixel information 142 that is information representing pixels whose shutter speed is adjusted with respect to the reference shutter speed included in the shooting information 130. The exposure correction amount information 140 includes exposure time change amount information 144 that is information related to the exposure correction amount of each pixel whose shutter speed is changed with respect to the reference. The exposure time change amount information 144 includes information representing the amount of change in shutter speed, for example. Note that the exposure time change amount information 144 may be expressed using any format of the time value represented by the apex value and the exposure period. The exposure time correction pixel information 142 may be expressed in a text format or a flag format. In addition, the exposure correction amount information 140 may include information related to luminance correction in the X direction performed by gain adjustment for the region where the exposure amount is adjusted.

画素別露出値管理部11iは、上述の露光補正量情報140を管理し、その記録の制御等を行う。再生部11jは、上述のRAWデータファイル100に基づいて、撮像した画像を再生し、表示部17に表示させる。ここで、再生部11jは、RAWデータファイル100に含まれる露光補正量情報140を用いて、撮像時に補正した露光に係る調整を再調整できる。   The pixel-specific exposure value management unit 11i manages the exposure correction amount information 140 described above, and controls the recording thereof. The reproduction unit 11j reproduces the captured image based on the above-described RAW data file 100 and causes the display unit 17 to display it. Here, using the exposure correction amount information 140 included in the RAW data file 100, the reproducing unit 11j can readjust the adjustment related to the exposure corrected at the time of imaging.

例えば、撮影時に露光期間が部分的に長くなるように調整された場合、再生部11jは、長くされた露光期間に応じてこの露光期間の変更をキャンセルするように画像を調整することで、露光期間が調整されなかった場合に得られたであろう画像を作成することができる。露光補正量情報140には、露光期間が調整された領域を表す露光時間補正画素情報142と、その領域内の各画素における調整された露光期間を表す露光時間変更量情報144とが含まれるので、再生部11jは、上記のような露光期間の変更をキャンセルする画像処理を容易に行うことができる。また同様に、再生部11jは、ユーザが撮影時に調整を行った領域について、さらに調整を行うことを容易にできる。例えば撮影時に露光期間が部分的に長くなるように調整された場合、再生部11jは、指定された領域を必要に応じてさらに明るくする画像処理や少し暗くする画像処理を容易に行うことができる。   For example, when the exposure period is adjusted to be partly longer at the time of shooting, the reproducing unit 11j adjusts the image so as to cancel the change of the exposure period according to the extended exposure period. An image can be created that would have been obtained if the time period was not adjusted. The exposure correction amount information 140 includes exposure time correction pixel information 142 representing an area in which the exposure period has been adjusted, and exposure time change amount information 144 representing an adjusted exposure period in each pixel in the area. The reproduction unit 11j can easily perform image processing for canceling the change in the exposure period as described above. Similarly, the playback unit 11j can easily make further adjustments for the area adjusted by the user during shooting. For example, when the exposure period is adjusted to be partly longer at the time of shooting, the reproducing unit 11j can easily perform image processing for making the designated area even brighter or image processing for making it slightly darker as necessary. .

このように、本実施形態によれば、露光時間補正画素情報142と露光時間変更量情報144とを含む露光補正量情報140が画像RAWデータ150とともに記録されているので、再生部11jは、ユーザが撮影時の印象で調整した露光期間を、再生時に容易にキャンセルしたり再調整したりすることができる。このように、撮影時と鑑賞時で画像の印象が変わったとしても、ユーザは、再生部11jを用いて容易に画像の調整を行うことができる。   Thus, according to the present embodiment, since the exposure correction amount information 140 including the exposure time correction pixel information 142 and the exposure time change amount information 144 is recorded together with the image RAW data 150, the reproducing unit 11j However, it is possible to easily cancel or readjust the exposure period adjusted with the impression at the time of shooting. Thus, even if the impression of the image changes between shooting and viewing, the user can easily adjust the image using the playback unit 11j.

また、本実施形態では、露光期間が調整された場合に、X方向の輝度の変化が不自然にならないようにゲイン調整を含む画像処理によって画像が調整されている。しかしながら、撮影時には画像処理部11fの処理能力による制限のため、X方向の輝度変化を十分に滑らかに調整できないこともある。これに対して本実施形態によれば、RAWデータファイル100に露光の調整がされた領域を表す露光時間補正画素情報142が含まれているので、再生部11jは、十分に滑らかに処理された画像を、処理時間をかけて作成し再生することができる。再生部11jは、以上のような再調整した画像を例えばJPEG形式で記録部15に記録させることができる。   In the present embodiment, when the exposure period is adjusted, the image is adjusted by image processing including gain adjustment so that the change in luminance in the X direction does not become unnatural. However, the luminance change in the X direction may not be adjusted sufficiently smoothly due to the limitation due to the processing capability of the image processing unit 11f during shooting. On the other hand, according to the present embodiment, since the RAW data file 100 includes the exposure time correction pixel information 142 representing the area where the exposure is adjusted, the reproducing unit 11j is processed sufficiently smoothly. Images can be created and played back over time. The reproducing unit 11j can cause the recording unit 15 to record the readjusted image as described above, for example, in the JPEG format.

以上のように、露光の調整に係る値をRAWデータファイル100に記録しておくことは、画像表現を変更する際に重要である。   As described above, recording values relating to exposure adjustment in the RAW data file 100 is important when changing the image representation.

なお、再生部11jが行うとして説明した上述の調整は、再生部11jによらず、例えばPC等で行うこともできる。すなわち、再生部11jは、デジタルカメラに内蔵されていなくても、再生機として独立して構成され得る。この場合、再生機には、再生部11jと共にRAWデータファイル100を取得する画像取得部が設けられる。   Note that the above-described adjustment described as being performed by the playback unit 11j can be performed by, for example, a PC or the like without depending on the playback unit 11j. That is, the playback unit 11j can be configured independently as a playback device even if it is not built in the digital camera. In this case, the playback device is provided with an image acquisition unit that acquires the RAW data file 100 together with the playback unit 11j.

また、露光補正量情報140は、露光時間補正画素情報142と露光時間変更量情報144とを含む形式に限定されない。例えば図12に示すように、露光補正量情報140は、各画素の露光時間情報146を有していてもよい。このように、画素毎の露光時間情報が個別に記録されていれば、他の情報を参照せずに露光時間の差に係る情報を含む露光時間に係る情報が取得され得る。ただし、この場合、露光時間補正画素情報142と露光時間変更量情報144とで表現される場合に比べて、データ量は大きくなる。また、露光補正量情報140には、各画素の露光時間情報146と共に露光時間補正画素情報142と露光時間変更量情報144とが含まれていてもよい。   Further, the exposure correction amount information 140 is not limited to a format including the exposure time correction pixel information 142 and the exposure time change amount information 144. For example, as shown in FIG. 12, the exposure correction amount information 140 may include exposure time information 146 for each pixel. As described above, if the exposure time information for each pixel is individually recorded, the information related to the exposure time including the information related to the difference in the exposure time can be acquired without referring to other information. However, in this case, the amount of data is larger than that represented by the exposure time correction pixel information 142 and the exposure time change amount information 144. The exposure correction amount information 140 may include exposure time correction pixel information 142 and exposure time change amount information 144 together with the exposure time information 146 of each pixel.

このように、例えば画素別露出値管理部11iは、前記第1の露光領域の情報と、前記第1の露光時間と前記第2の露光時間との差を表す情報とを前記画像信号に基づく情報と共にファイルに書き込む露出値管理部として機能する。例えば再生機に設けられた図示しない画像取得部は、第1の露光時間で撮像された第1の領域及び前記第1の露光時間と異なる第2の露光時間で撮像された第2の領域を有する画像の情報、前記第1の露光領域の情報、及び前記第1の露光時間と前記第2の露光時間との差を表す情報を含む画像データを取得する画像取得部として機能する。例えば再生部11jは、前記画像に対して、前記第1の露光領域を前記差に基づいて調整し、調整画像を作成する再生部として機能する。   Thus, for example, the pixel-specific exposure value management unit 11i based on the image signal uses information on the first exposure area and information indicating a difference between the first exposure time and the second exposure time. It functions as an exposure value manager that writes information to a file together with information. For example, an image acquisition unit (not shown) provided in the playback device includes a first region imaged at a first exposure time and a second region imaged at a second exposure time different from the first exposure time. It functions as an image acquisition unit that acquires image data including information on an image having information, information on the first exposure area, and information indicating a difference between the first exposure time and the second exposure time. For example, the reproducing unit 11j functions as a reproducing unit that adjusts the first exposure area based on the difference with respect to the image and creates an adjusted image.

なお、第1乃至第3の実施形態に係る技術は、デジタルカメラへの適用に限定されない。これら技術は、産業用の撮像装置や医療用の撮像装置等、種々の撮像装置に用いられ得る。   The technology according to the first to third embodiments is not limited to application to a digital camera. These techniques can be used for various imaging devices such as industrial imaging devices and medical imaging devices.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除しても、発明が解決しようとする課題の欄で述べられた課題が解決でき、かつ、発明の効果が得られる場合には、この構成要素が削除された構成も発明として抽出され得る。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the problem described in the column of problems to be solved by the invention can be solved and the effect of the invention can be obtained. The configuration in which this component is deleted can also be extracted as an invention. Furthermore, constituent elements over different embodiments may be appropriately combined.

本発明の上記の実施形態には、以下の発明も含まれる。
(1)
第1の露光時間で撮像された第1の領域及び前記第1の露光時間と異なる第2の露光時間で撮像された第2の領域を有する画像の情報、前記第1の露光領域の情報、及び前記第1の露光時間と前記第2の露光時間との差を表す情報を含む画像データを取得する画像取得部と、
前記画像に対して、前記第1の露光領域を前記差に基づいて調整し、調整画像を作成する再生部と、
を具備する再生装置。
The following embodiments are also included in the above embodiments of the present invention.
(1)
Information of an image having a first area imaged at a first exposure time and a second area imaged at a second exposure time different from the first exposure time; information of the first exposure area; And an image acquisition unit that acquires image data including information representing a difference between the first exposure time and the second exposure time;
A reproduction unit that adjusts the first exposure area based on the difference with respect to the image and creates an adjusted image;
A playback apparatus comprising:

1…デジタルカメラ、11…信号処理制御部、11a…信号処理部、11b…タッチ判定部、11c…領域決定部、11d…露光補正量決定部、11e…撮像素子制御部、11f…画像処理部、11g…表示制御部、11h…時計、11i…画素別露出値管理部、11j…再生部、12…撮像部、12a…撮像素子、13…第1の記憶部、14…第2の記憶部、15…記録部、16…操作部、17…表示部、18…タッチパネル、20…レンズ部、30…接眼表示部。   DESCRIPTION OF SYMBOLS 1 ... Digital camera, 11 ... Signal processing control part, 11a ... Signal processing part, 11b ... Touch determination part, 11c ... Area | region determination part, 11d ... Exposure correction amount determination part, 11e ... Image sensor control part, 11f ... Image processing part , 11g ... display control unit, 11h ... clock, 11i ... exposure value management unit for each pixel, 11j ... reproduction unit, 12 ... imaging unit, 12a ... imaging device, 13 ... first storage unit, 14 ... second storage unit , 15 ... recording unit, 16 ... operation unit, 17 ... display unit, 18 ... touch panel, 20 ... lens unit, 30 ... eyepiece display unit.

Claims (6)

被写体像が露光され、この被写体像を光電変換して画像信号を生成する撮像素子と、
前記画像信号に基づく画像における第1の領域を取得する指定領域取得部と、
前記撮像素子を制御して、前記第1の領域を含む第1の露光領域における前記露光の時間を第1の露光時間とし、前記第1の露光領域以外の領域の少なくとも一部である第2の露光領域における前記露光の時間を前記第1の露光時間と異なる第2の露光時間とする制御部と、
を具備することを特徴とする撮像装置。
An image sensor that exposes a subject image and photoelectrically converts the subject image to generate an image signal;
A designated area obtaining unit for obtaining a first area in an image based on the image signal;
The imaging device is controlled so that the exposure time in the first exposure region including the first region is the first exposure time, and the second is at least a part of the region other than the first exposure region. A control unit that sets a second exposure time different from the first exposure time to the exposure time in the exposure area;
An imaging apparatus comprising:
前記画像を表示する表示部をさらに具備し、
前記指定領域取得部は、前記表示部に対応して設けられたタッチパネルである、
ことを特徴とする請求項1に記載の撮像装置。
A display unit for displaying the image;
The designated area acquisition unit is a touch panel provided corresponding to the display unit.
The imaging apparatus according to claim 1.
前記制御部は、
前記第1の露光領域と前記第2の露光領域との間に第3の露光領域を設定し、
前記第3の露光領域における前記露光の時間を前記第1の露光時間と前記第2の露光時間との間を補間する露光時間とする、
ことを特徴とする請求項1又は2に記載の撮像装置。
The controller is
Setting a third exposure area between the first exposure area and the second exposure area;
The exposure time in the third exposure region is an exposure time that interpolates between the first exposure time and the second exposure time,
The imaging apparatus according to claim 1 or 2, wherein
前記画像における前記第1の露光領域又は前記第3の露光領域であって前記第1の領域でない領域の少なくとも一部の明るさを、画像処理によって前記第2の露光領域の明るさに近づける画像処理部をさらに具備することを特徴とする請求項3に記載の撮像装置。   An image in which the brightness of at least a part of the first exposure region or the third exposure region in the image that is not the first region is brought close to the brightness of the second exposure region by image processing. The imaging apparatus according to claim 3, further comprising a processing unit. 前記第1の領域は、前記タッチパネルが擦られることによって指定され、
前記制御部は、前記タッチパネルが擦られる回数に応じて前記第1の露光時間と前記第2の露光時間との差を決定する、
ことを特徴とする請求項2に記載の撮像装置。
The first area is specified by rubbing the touch panel,
The controller determines a difference between the first exposure time and the second exposure time according to the number of times the touch panel is rubbed;
The imaging apparatus according to claim 2.
前記第1の露光領域の情報と、前記第1の露光時間と前記第2の露光時間との差を表す情報とを前記画像信号に基づく情報と共にファイルに書き込む露出値管理部をさらに具備することを特徴とする請求項1乃至5のうち何れか1項に記載の撮像装置。   An exposure value management unit that writes information on the first exposure area and information indicating a difference between the first exposure time and the second exposure time into a file together with information based on the image signal; The imaging device according to any one of claims 1 to 5, wherein
JP2012124898A 2012-05-18 2012-05-31 Imaging device Pending JP2013258438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012124898A JP2013258438A (en) 2012-05-18 2012-05-31 Imaging device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2012114915 2012-05-18
JP2012114915 2012-05-18
JP2012124898A JP2013258438A (en) 2012-05-18 2012-05-31 Imaging device

Publications (1)

Publication Number Publication Date
JP2013258438A true JP2013258438A (en) 2013-12-26

Family

ID=49954560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012124898A Pending JP2013258438A (en) 2012-05-18 2012-05-31 Imaging device

Country Status (1)

Country Link
JP (1) JP2013258438A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016052640A1 (en) * 2014-09-30 2016-04-07 株式会社ニコン Electronic apparatus, image pickup device, and image pickup system
WO2016088840A1 (en) * 2014-12-03 2016-06-09 株式会社ニコン Image pickup device, electronic apparatus, and program
JP2017220892A (en) * 2016-06-10 2017-12-14 オリンパス株式会社 Image processing device and image processing method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016052640A1 (en) * 2014-09-30 2016-04-07 株式会社ニコン Electronic apparatus, image pickup device, and image pickup system
US11689798B2 (en) 2014-09-30 2023-06-27 Nikon Corporation Electronic device, image-capturing device, and image-capturing system
CN107005638A (en) * 2014-09-30 2017-08-01 株式会社尼康 Electronic equipment, filming apparatus and camera system
JP2022031703A (en) * 2014-09-30 2022-02-22 株式会社ニコン Electronic equipment
CN113890993A (en) * 2014-09-30 2022-01-04 株式会社尼康 Imaging element and imaging device
JPWO2016052640A1 (en) * 2014-09-30 2017-08-31 株式会社ニコン Electronic apparatus, imaging apparatus, and imaging system
JP2020065280A (en) * 2014-09-30 2020-04-23 株式会社ニコン Electronic equipment
EP3203721A4 (en) * 2014-09-30 2018-05-16 Nikon Corporation Electronic apparatus, image pickup device, and image pickup system
JP2019071611A (en) * 2014-12-03 2019-05-09 株式会社ニコン Electronic apparatus
US10284771B2 (en) 2014-12-03 2019-05-07 Nikon Corporation Image-capturing apparatus, electronic device, and program
JPWO2016088840A1 (en) * 2014-12-03 2017-08-03 株式会社ニコン Imaging apparatus, electronic device, and program
CN107005641A (en) * 2014-12-03 2017-08-01 株式会社尼康 Filming apparatus, electronic equipment and program
US11297221B2 (en) 2014-12-03 2022-04-05 Nikon Corporation Image-capturing apparatus, electronic device, and program
WO2016088840A1 (en) * 2014-12-03 2016-06-09 株式会社ニコン Image pickup device, electronic apparatus, and program
JP2017220892A (en) * 2016-06-10 2017-12-14 オリンパス株式会社 Image processing device and image processing method

Similar Documents

Publication Publication Date Title
JP6388673B2 (en) Mobile terminal and imaging method thereof
JP5036599B2 (en) Imaging device
JP4656168B2 (en) Image synthesizer
JP5561019B2 (en) Imaging apparatus, program, and imaging method
WO2008072374A1 (en) Electronic camera
JP5719223B2 (en) Image recording apparatus, recording method, and program
KR20140064066A (en) Photographing apparatusand method for controlling thereof
WO2014175130A1 (en) Image pickup apparatus
JP2005318177A (en) Material presentation apparatus
JP4866317B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2013258438A (en) Imaging device
JP5479850B2 (en) Moving image creating apparatus and moving image creating method
JP2017038165A (en) Image processing device, imaging device and image processing method
JP2017212550A (en) Image reproducer, control method thereof, program, and storage medium
JP2017163339A (en) Video processing apparatus, video processing method and program
JP6925827B2 (en) Image processing device and image processing method
JP5951988B2 (en) Image composition apparatus and image composition method
JP5423285B2 (en) camera
JP2015159550A (en) Imaging apparatus, imaging method, and program
JP2011166301A (en) Imaging apparatus
JP5448799B2 (en) Display control apparatus and display control method
KR101411326B1 (en) Apparatus and method for retouching of image in digital image processing device
JP5338248B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2013090154A (en) Photography device
JP6616573B2 (en) Image processing apparatus, image processing method, image processing program, and imaging apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150423