JP2016181798A - Imaging device and control method for the same - Google Patents

Imaging device and control method for the same Download PDF

Info

Publication number
JP2016181798A
JP2016181798A JP2015060922A JP2015060922A JP2016181798A JP 2016181798 A JP2016181798 A JP 2016181798A JP 2015060922 A JP2015060922 A JP 2015060922A JP 2015060922 A JP2015060922 A JP 2015060922A JP 2016181798 A JP2016181798 A JP 2016181798A
Authority
JP
Japan
Prior art keywords
image data
captured image
scene mode
gamma
scene
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
JP2015060922A
Other languages
Japanese (ja)
Inventor
石井 真也
Shinya Ishii
真也 石井
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 JP2015060922A priority Critical patent/JP2016181798A/en
Publication of JP2016181798A publication Critical patent/JP2016181798A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique capable of achieving a display image having preferable image quality when an image based on image data obtained by imaging is displayed.SOLUTION: An imaging device includes setting means for setting any mode of plural scene modes, processing means for generating processed image data by performing gamma conversion processing on pickup image data as image data obtained by imaging using a gamma curve corresponding to a scene mode set by the setting means, and display means for displaying an image based on the processed image data on a screen. The pixel value of the pickup image data includes plural gradation values which are different in kind, the gamma curve corresponding to the scene mode corresponds to gamma curves to be applied to plural tone values, and the plural gamma curves corresponding to the scene mode are set so that the hue of an image displayed on a screen is varied to the hue corresponding to the scene mode.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置及びその制御方法に関する。   The present invention relates to an imaging apparatus and a control method thereof.

現在、表示素子として液晶素子(液晶セル)を用いた表示パネルである液晶パネルを有する装置が広く普及している。例えば、液晶パネルを有する撮像装置(デジタルカメラ)、液晶パネルを有する画像表示装置である液晶表示装置、等が広く普及している。   Currently, devices having a liquid crystal panel, which is a display panel using a liquid crystal element (liquid crystal cell) as a display element, are widely used. For example, an imaging device (digital camera) having a liquid crystal panel, a liquid crystal display device which is an image display device having a liquid crystal panel, and the like are widely used.

確認用の画像を表示する表示パネルには、コントラスト、色再現性、階調特性等の画像品質に優れた画像の表示が要求されている。特に、色再現性や階調特性は重要である。液晶パネルの画面に表示された画像(表示画像)の色再現性や階調特性は、バックライトモジュール、液晶素子、及び、カラーフィルタ、を含む複数の部材の分光特性による影響を強く受ける。   A display panel that displays an image for confirmation is required to display an image having excellent image quality such as contrast, color reproducibility, and gradation characteristics. In particular, color reproducibility and gradation characteristics are important. The color reproducibility and gradation characteristics of an image (display image) displayed on the screen of the liquid crystal panel are strongly influenced by the spectral characteristics of a plurality of members including a backlight module, a liquid crystal element, and a color filter.

表示画像の色域(表現または再現可能な色の範囲)は、一般的に、三原色(赤色、緑色、及び、青色)にそれぞれ対応する3つの色度によって決まる。具体的には、表示画像の色域は、色度図内の領域のうち、上記3つの色度を頂点とする3角形の内側の領域である。NTSC方式の色域(目標色域)は、NTSC方式の規格値である3つの色度を頂点とする3角形の内側の領域である。   The color gamut (color range that can be expressed or reproduced) of a display image is generally determined by three chromaticities corresponding to the three primary colors (red, green, and blue). Specifically, the color gamut of the display image is an area inside the triangle having the above three chromaticities as vertices among the areas in the chromaticity diagram. The NTSC color gamut (target color gamut) is an area inside a triangle whose apexes are the three chromaticities that are standard values of the NTSC system.

そして、表示画像の色域は、表示パネルの特性に依存する。例えば、表示画像の色域は、バックライトモジュール、液晶素子、及び、カラーフィルタの分光特性に依存する。ここで、カラーフィルタの分光特性は、主にカラーフィルタの材料の特性によって決まるため、ユーザは、カラーフィルタの分光特性を自由に選択できない。そのため、液晶パネルの画面に表示された画像の色が、ユーザが所望する色(目標色)と異なることが多い。   The color gamut of the display image depends on the characteristics of the display panel. For example, the color gamut of the display image depends on the spectral characteristics of the backlight module, the liquid crystal element, and the color filter. Here, since the spectral characteristic of the color filter is mainly determined by the characteristic of the material of the color filter, the user cannot freely select the spectral characteristic of the color filter. Therefore, the color of the image displayed on the screen of the liquid crystal panel is often different from the color desired by the user (target color).

図12は、目標色域、及び、表示画像の色域の一例を示す図である。図12から、表示画像の色域が目標色域からずれていることがわかる。このような色域のずれが生じていると、飽和度100%(画素値が上限値である画素の色)、白色、肌色、記憶色(空の青、草の緑、夕日の赤、等)などの全ての色について、表示色(表示画像の色)を目標色に一致させるのは困難である。1つの色について表示色を目標色に一致させると、他の色については、表示色が目標色からずれる。その結果、表示画像の画像品質(画質)が低下する。   FIG. 12 is a diagram illustrating an example of the target color gamut and the color gamut of the display image. From FIG. 12, it can be seen that the color gamut of the display image is shifted from the target color gamut. When such a color gamut shift occurs, the saturation degree is 100% (the color of the pixel whose pixel value is the upper limit value), white, skin color, memory color (sky blue, grass green, sunset red, etc.) For all colors such as), it is difficult to make the display color (the color of the display image) match the target color. If the display color of one color is matched with the target color, the display color is shifted from the target color for the other colors. As a result, the image quality (image quality) of the display image is degraded.

表示画像の画質を向上する従来技術は、例えば、特許文献1に開示されている。特許文献1に開示の技術では、撮像装置の撮影情報に応じて明度を調整する画像処理を画像データに施すことにより、表示画像の画質が向上される。   A conventional technique for improving the image quality of a display image is disclosed in Patent Document 1, for example. In the technique disclosed in Patent Document 1, the image quality of the display image is improved by performing image processing for adjusting the brightness according to the shooting information of the imaging apparatus on the image data.

しかしながら、特許文献1に開示の技術では、画像データの明度しか変更されない。そのため、特許文献1に開示の技術を用いたとしても、上述した表示色のずれを低減することはできず、十分に好適な画質の表示画像を得ることはできない。   However, in the technique disclosed in Patent Document 1, only the brightness of image data is changed. For this reason, even if the technique disclosed in Patent Document 1 is used, the above-described shift in display color cannot be reduced, and a display image with sufficiently favorable image quality cannot be obtained.

国際公開第2004/008755号International Publication No. 2004/008755

本発明は、撮像によって得られた画像データに基づく画像を表示する際に、好適な画質の表示画像を得ることができる技術を提供することを目的とする。   An object of the present invention is to provide a technique capable of obtaining a display image having a suitable image quality when an image based on image data obtained by imaging is displayed.

本発明の第1の態様は、
複数の撮影シーンにそれぞれ対応する複数のシーンモードのうちのいずれかを設定する設定手段と、
前記設定手段で設定されたシーンモードに応じたガンマカーブを用いて、撮像によって得られた画像データである撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する処理手段と、
前記処理画像データに基づく画像を画面に表示する表示手段と、
を有し、
前記撮像画像データの画素値は、種類が互いに異なる複数の階調値を含み、
前記シーンモードに応じたガンマカーブは、前記複数の階調値にそれぞれ適用される複数のガンマカーブであり、
前記シーンモードに応じた複数のガンマカーブは、当該シーンモードに応じた色味に前記画面に表示された画像の色味が変化するように定められている
ことを特徴とする撮像装置である。
The first aspect of the present invention is:
Setting means for setting one of a plurality of scene modes respectively corresponding to a plurality of shooting scenes;
Processing means for generating processed image data by performing gamma conversion processing on captured image data, which is image data obtained by imaging, using a gamma curve corresponding to the scene mode set by the setting means;
Display means for displaying an image based on the processed image data on a screen;
Have
The pixel value of the captured image data includes a plurality of gradation values of different types,
The gamma curves according to the scene mode are a plurality of gamma curves respectively applied to the plurality of gradation values,
The plurality of gamma curves according to the scene mode are defined so that the color of the image displayed on the screen changes to the color according to the scene mode.

本発明の第2の態様は、
複数の撮影シーンにそれぞれ対応する複数のシーンモードのうちのいずれかを設定する設定ステップと、
前記設定ステップで設定されたシーンモードに応じたガンマカーブを用いて、撮像によって得られた画像データである撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する処理ステップと、
前記処理画像データに基づく画像を画面に表示する表示ステップと、
を有し、
前記撮像画像データの画素値は、種類が互いに異なる複数の階調値を含み、
前記シーンモードに応じたガンマカーブは、前記複数の階調値にそれぞれ適用される複数のガンマカーブであり、
前記シーンモードに応じた複数のガンマカーブは、当該シーンモードに応じた色味に前記画面に表示された画像の色味が変化するように定められている
ことを特徴とする撮像装置の制御方法である。
The second aspect of the present invention is:
A setting step for setting one of a plurality of scene modes respectively corresponding to a plurality of shooting scenes;
A processing step of generating processed image data by performing a gamma conversion process on captured image data, which is image data obtained by imaging, using a gamma curve corresponding to the scene mode set in the setting step;
A display step of displaying an image based on the processed image data on a screen;
Have
The pixel value of the captured image data includes a plurality of gradation values of different types,
The gamma curves according to the scene mode are a plurality of gamma curves respectively applied to the plurality of gradation values,
The plurality of gamma curves according to the scene mode are determined such that the color of the image displayed on the screen changes to the color according to the scene mode. It is.

本発明の第3の態様は、上述した撮像装置の制御方法の各ステップをコンピュータに実行させることを特徴とするプログラムである。   According to a third aspect of the present invention, there is provided a program that causes a computer to execute each step of the above-described imaging apparatus control method.

本発明によれば、撮像によって得られた画像データに基づく画像を表示する際に、好適な画質の表示画像を得ることができる。   According to the present invention, it is possible to obtain a display image with suitable image quality when displaying an image based on image data obtained by imaging.

実施例1に係る撮像装置の構成の一例を示すブロック図1 is a block diagram illustrating an example of a configuration of an imaging apparatus according to a first embodiment. 実施例1に係る撮像装置の処理フローの一例を示すフローチャート6 is a flowchart illustrating an example of a processing flow of the imaging apparatus according to the first embodiment. 実施例1に係る変更階調範囲の一例を示す図FIG. 10 is a diagram illustrating an example of a changed gradation range according to the first embodiment. 実施例1のビーチモードに関する代表色と目標値の一例を示す図The figure which shows an example of the representative color regarding the beach mode of Example 1, and a target value 実施例1のビーチモードに関するガンマカーブの一例を示す図The figure which shows an example of the gamma curve regarding the beach mode of Example 1. 実施例1の風景モードに関する代表色と目標値の一例を示す図The figure which shows an example of the representative color regarding the scenery mode of Example 1, and a target value 実施例1の風景モードに関するガンマカーブの一例を示す図The figure which shows an example of the gamma curve regarding the landscape mode of Example 1. 実施例1の夕焼けモードに関する代表色と目標値の一例を示す図The figure which shows an example of the representative color regarding the sunset mode of Example 1, and a target value 実施例1の夕焼けモードに関するガンマカーブの一例を示す図The figure which shows an example of the gamma curve regarding the sunset mode of Example 1. 実施例2に係る撮像装置の構成の一例を示すブロック図FIG. 6 is a block diagram illustrating an example of a configuration of an imaging apparatus according to the second embodiment. 実施例2に係る撮像装置の処理フローの一例を示すフローチャート10 is a flowchart illustrating an example of a processing flow of the imaging apparatus according to the second embodiment. 目標色域と表示画像の色域の一例を示す図The figure which shows an example of the color gamut of a target color gamut and a display image

<実施例1>
以下、本発明の実施例1に係る撮像装置及びその制御方法について説明する。
<Example 1>
Hereinafter, an imaging apparatus and a control method thereof according to Embodiment 1 of the present invention will be described.

まず、本実施例に係る撮像装置の構成の一例について説明する。図1は、本実施例に係る撮像装置の構成の一例を示すブロック図である。図1に示すように、本実施例に係る撮像装置は、撮像部101、アナログ処理部102、デジタル処理部103、記録・再生部104、表示画像データ生成部105、表示パネル107、操作部108、動作モード設定部109、制御マイコン110、シーンモード設定部111、メモリ112、等を有する。   First, an example of the configuration of the imaging apparatus according to the present embodiment will be described. FIG. 1 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment. As shown in FIG. 1, the imaging apparatus according to the present embodiment includes an imaging unit 101, an analog processing unit 102, a digital processing unit 103, a recording / playback unit 104, a display image data generation unit 105, a display panel 107, and an operation unit 108. , An operation mode setting unit 109, a control microcomputer 110, a scene mode setting unit 111, a memory 112, and the like.

制御マイコン110は、撮像装置全体の制御及び演算処理を司る中央処理装置である。例えば、不図示のフラッシュメモリ内に、圧縮されたプログラムが予め記録されている。フラッシュメモリに記録されたプログラムは解凍されて不図示のプログラムメモリに展開される。そして、制御マイコン110は、プログラムメモリ内に展開されたプログラムに従って動作する。   The control microcomputer 110 is a central processing unit that controls the entire imaging apparatus and performs arithmetic processing. For example, a compressed program is recorded in advance in a flash memory (not shown). The program recorded in the flash memory is decompressed and developed in a program memory (not shown). The control microcomputer 110 operates according to the program developed in the program memory.

不図示のレンズを通った光は、撮像部101の受光面上に結像される。撮像部101は、受光面上に結像された光を電気信号(アナログ信号)に変換する光電変換素子である。本実施例では、受光面上に結像された光を変換することで得られた電気信号を、「アナログ撮像データ」と記載する。撮像部101は、アナログ撮像データをアナログ処理部102に出力する。   Light passing through a lens (not shown) forms an image on the light receiving surface of the imaging unit 101. The imaging unit 101 is a photoelectric conversion element that converts light imaged on the light receiving surface into an electrical signal (analog signal). In this embodiment, an electrical signal obtained by converting light imaged on the light receiving surface is referred to as “analog imaging data”. The imaging unit 101 outputs analog imaging data to the analog processing unit 102.

アナログ処理部102は、撮像部101から出力されたアナログ撮像データに種々の信号処理を施すことにより、デジタル信号であるデジタル撮像データを生成する。アナログ処理部102で行われる種々の信号処理は、アナログ信号をデジタル信号に変換するAD変換処理を含む。アナログ処理部102は、デジタル撮像データをデジタル処理部103に出力する。   The analog processing unit 102 performs various signal processing on the analog imaging data output from the imaging unit 101 to generate digital imaging data that is a digital signal. Various signal processing performed in the analog processing unit 102 includes AD conversion processing for converting an analog signal into a digital signal. The analog processing unit 102 outputs the digital imaging data to the digital processing unit 103.

デジタル処理部103は、アナログ処理部102から出力されたデジタル撮像データに種々の信号処理を施すことにより、撮像画像データを生成する。本実施例では、アナログ撮像データの取得から撮像画像データの生成までの処理群を、「撮像」と記載する。デジタル処理部103で行われる種々の信号処理は、例えば、デジタル撮像データを圧縮符号化する圧縮処理を含む。   The digital processing unit 103 generates captured image data by performing various signal processing on the digital imaging data output from the analog processing unit 102. In the present embodiment, a processing group from acquisition of analog imaging data to generation of captured image data is referred to as “imaging”. Various signal processing performed in the digital processing unit 103 includes, for example, compression processing for compressing and encoding digital imaging data.

なお、圧縮処理の方法は特に限定されない。例えば、圧縮処理として、以下の第1圧縮処理と第2圧縮処理のいずれかが行われる。第1圧縮処理は、各フレームについてフレームのデジタル撮像データを圧縮符号化する圧縮処理である。第1圧縮処理により、モーションJPEGのようなフォーマットの撮像画像データを生成することができる。第2圧縮処理は、一部のフレームについて、そのフレームのデジタル撮像データを圧縮符号化し、残りのフレームについて、前後のフレームのデータ(デジタル撮像データまたは撮像画像データ)に基づいて撮像画像データを生成する、圧縮処理である。前後のフレームのデータに基づいて撮像画像データを生成する処理は、前後のフレームの間のデータの差分に基づいて撮像画像データを生成する処理、前後のフレームのデータから撮像画像データを予
測して生成する処理、等である。第2圧縮処理により、MPEGのようなフォーマットの撮像画像データを生成することができる。
Note that the compression processing method is not particularly limited. For example, one of the following first compression processing and second compression processing is performed as the compression processing. The first compression process is a compression process for compressing and encoding digital image data of a frame for each frame. With the first compression processing, captured image data in a format such as motion JPEG can be generated. The second compression process compresses and encodes digital imaging data of a part of the frames, and generates captured image data based on the data of previous and subsequent frames (digital imaging data or captured image data) for the remaining frames. This is a compression process. The process of generating captured image data based on the data of the previous and subsequent frames includes the process of generating captured image data based on the difference in data between the previous and subsequent frames, and predicting the captured image data from the data of the previous and subsequent frames. Processing to generate, etc. By the second compression processing, captured image data in a format such as MPEG can be generated.

記録・再生部104は、撮像画像データを不図示の記録媒体(記憶部)に記録することができる(記録処理)。また、記録・再生部104は、撮像画像データを記録媒体から読み出すこともできる。換言すれば、記録・再生部104は、記録媒体が記憶している撮像画像データを再生することができる(再生処理)。記録処理や再生処理は、例えば、ユーザ操作に応じて実行されたり、自動で実行されたりする。記録媒体としては、磁気ディスク、光ディスク、半導体メモリ、等を用いることができる。記録媒体は、撮像装置に内蔵されていてもよいし、撮像装置に対して着脱可能であってもよい。記録処理と再生処理とは、互いに異なる機能部によって行われてもよい。   The recording / playback unit 104 can record captured image data in a recording medium (storage unit) (not shown) (recording process). The recording / reproducing unit 104 can also read captured image data from the recording medium. In other words, the recording / reproducing unit 104 can reproduce the captured image data stored in the recording medium (reproducing process). The recording process and the reproduction process are executed, for example, in response to a user operation or automatically. As the recording medium, a magnetic disk, an optical disk, a semiconductor memory, or the like can be used. The recording medium may be built in the imaging apparatus or may be detachable from the imaging apparatus. The recording process and the reproduction process may be performed by different functional units.

再生処理が行われる場合(再生時)には、デジタル処理部103は、再生対象の撮像画像データを記録・再生部104から取得し、再生対象の撮像画像データを表示画像データ生成部105に出力する。その後、表示画像データ生成部105と表示パネル107の処理が行われることにより、ユーザは、記録媒体に記録された撮像画像データに基づく画像を確認できる。それ以外の場合には、デジタル処理部103は、生成した現在の撮像画像データを表示画像データ生成部105に出力する。その後、表示画像データ生成部105と表示パネル107の処理が行われることにより、ユーザは、現在の被写体の状態を表す画像を確認できる。即ち、ユーザは、撮像装置の画面を電子ビューファインダ(EVF)として使用することができる。また、記録処理が行われる場合には、デジタル処理部103は、生成した現在の撮像画像データを記録・再生部104にも出力する。そして、記録・再生部104は、デジタル処理部103から出力された撮像画像データを、記録媒体に記録する。   When reproduction processing is performed (during reproduction), the digital processing unit 103 acquires captured image data to be reproduced from the recording / reproducing unit 104 and outputs the captured image data to be reproduced to the display image data generation unit 105. To do. Thereafter, the processing of the display image data generation unit 105 and the display panel 107 is performed, so that the user can confirm an image based on the captured image data recorded on the recording medium. In other cases, the digital processing unit 103 outputs the generated current captured image data to the display image data generation unit 105. Thereafter, the processing of the display image data generation unit 105 and the display panel 107 is performed, so that the user can confirm an image representing the current state of the subject. That is, the user can use the screen of the imaging apparatus as an electronic viewfinder (EVF). When the recording process is performed, the digital processing unit 103 also outputs the generated current captured image data to the recording / reproducing unit 104. Then, the recording / reproducing unit 104 records the captured image data output from the digital processing unit 103 on a recording medium.

メモリ112には、複数の画質パラメータが予め記録されている。画質パラメータの数や値は変更可能である。メモリ112としては、例えば、EEPROM等の不揮発性メモリを使用することができる。   In the memory 112, a plurality of image quality parameters are recorded in advance. The number and value of the image quality parameters can be changed. As the memory 112, for example, a nonvolatile memory such as an EEPROM can be used.

表示画像データ生成部105は、デジタル処理部103から出力された撮像画像データに種々の信号処理を施すことにより、表示画像データを生成する。表示画像データ生成部105で行われる種々の信号処理は、ガンマ変換処理を含む。具体的には、表示画像データ生成部105は、ガンマ変換部106を有する。ガンマ変換部106は、複数の画質パラメータのうちのいずれかをメモリ112から読み出し、読み出した画質パラメータに応じたガンマカーブを用いて、撮像画像データにガンマ変換処理を施す。それにより、処理画像データが生成される。処理画像データが表示画像データとして使用されてもよいし、処理画像データに他の信号処理を施すことによって、表示画像データが生成されてもよい。使用する画質パラメータを切り替えることにより、表示画像(撮像装置の画面に表示された画像)の画質を変更することができる。表示画像データ生成部105は、生成した表示画像データを表示パネル107に出力する。制御マイコン110は、画像の表示/非表示を制御することができる。表示画像データ生成部105は、撮像装置が画像の表示を行う場合に表示画像データを表示パネル107に出力し、撮像装置が画像の表示を行わない場合には表示画像データを表示パネル107に出力しない。   The display image data generation unit 105 generates display image data by performing various signal processing on the captured image data output from the digital processing unit 103. Various signal processing performed by the display image data generation unit 105 includes gamma conversion processing. Specifically, the display image data generation unit 105 includes a gamma conversion unit 106. The gamma conversion unit 106 reads any one of the plurality of image quality parameters from the memory 112 and performs gamma conversion processing on the captured image data using a gamma curve corresponding to the read image quality parameters. Thereby, processed image data is generated. The processed image data may be used as display image data, or display image data may be generated by performing other signal processing on the processed image data. By switching the image quality parameter to be used, the image quality of the display image (image displayed on the screen of the imaging apparatus) can be changed. The display image data generation unit 105 outputs the generated display image data to the display panel 107. The control microcomputer 110 can control display / non-display of images. The display image data generation unit 105 outputs display image data to the display panel 107 when the imaging device displays an image, and outputs display image data to the display panel 107 when the imaging device does not display an image. do not do.

なお、画質パラメータは、ガンマカーブを特定することができれば、どのようなパラメータであってもよい。例えば、複数のガンマカーブ(関数やテーブル)が予め用意されており、画質パラメータとして、ガンマカーブの識別子が使用されてもよい。ガンマカーブを表す関数のパラメータが、画質パラメータとして使用されてもよい。   Note that the image quality parameter may be any parameter as long as the gamma curve can be specified. For example, a plurality of gamma curves (functions and tables) may be prepared in advance, and gamma curve identifiers may be used as image quality parameters. A parameter of a function representing a gamma curve may be used as the image quality parameter.

表示パネル107は、表示画像データに応じた画像(処理画像データに基づく画像)を
画面に表示する。表示パネル107としては、有機ELパネル、液晶パネル、プラズマディスプレイパネル、等を使用することができる。なお、表示パネル107が撮像装置の外部装置であり、撮像装置が有する機能部(例えば、制御マイコン110)によって、表示パネル107の画面に画像を表示する制御が行われてもよい。
The display panel 107 displays an image corresponding to the display image data (an image based on the processed image data) on the screen. As the display panel 107, an organic EL panel, a liquid crystal panel, a plasma display panel, or the like can be used. The display panel 107 may be an external device of the imaging apparatus, and control for displaying an image on the screen of the display panel 107 may be performed by a functional unit (for example, the control microcomputer 110) included in the imaging apparatus.

操作部108は、撮像装置に対するユーザ操作を受け付け、ユーザ操作に応じた操作信号を制御マイコン110に出力する。制御マイコン110は、操作信号に応じた制御を行う。本実施例では、操作部108は複数の操作部材(物理ボタン)を有する。各操作部材に割り当てられる機能は、表示パネル107に表示される種々の機能アイコンを選択するユーザ操作などに応じて適宜切り替えられる。例えば、メニューボタンが押されると、種々の設定のためのメニュー画像が画面に表示される。ユーザは、表示されたメニュー画像、上下左右の4方向ボタン、SETボタン、等を用いて、種々の設定のための操作を直観的に行うことができる。電源OFFボタンが押されると、撮像装置の電源が切られる。   The operation unit 108 receives a user operation on the imaging apparatus and outputs an operation signal corresponding to the user operation to the control microcomputer 110. The control microcomputer 110 performs control according to the operation signal. In the present embodiment, the operation unit 108 has a plurality of operation members (physical buttons). The function assigned to each operation member is appropriately switched according to a user operation for selecting various function icons displayed on the display panel 107. For example, when a menu button is pressed, menu images for various settings are displayed on the screen. The user can intuitively perform various settings using the displayed menu image, up / down / left / right four-way buttons, the SET button, and the like. When the power OFF button is pressed, the image pickup apparatus is turned off.

なお、操作部108は物理ボタンに限らない。例えば、操作部108として、画面に対するユーザの接触を検知可能なタッチパネルが使用されてもよい。タッチパネルの検知方式は特に限定されない。例えば、検知方式として、抵抗膜方式、静電容量方式、表面弾性波方式、赤外線方式、電磁誘導方式、画像認識方式、光センサ方式、等を用いることができる。   The operation unit 108 is not limited to a physical button. For example, a touch panel that can detect a user's contact with the screen may be used as the operation unit 108. The touch panel detection method is not particularly limited. For example, as a detection method, a resistance film method, a capacitance method, a surface acoustic wave method, an infrared method, an electromagnetic induction method, an image recognition method, an optical sensor method, or the like can be used.

動作モード設定部109は、複数の動作モードのうちのいずれかを制御マイコン110に設定する。換言すれば、動作モード設定部109は、設定された動作モードを、複数の動作モードの間で切り替える。動作モード設定部109は、例えば、ユーザ操作に応じて動作モードを設定する。複数の動作モードは、例えば、記録処理の実行を可能とする記録モードと、再生処理の実行を可能とする再生モードと、を含む。制御マイコン110は、設定された動作モードに応じた制御を行う。記録モードは、オート撮影モード、オートシーン判別モード、マニュアルモード、プログラムAEモード、カスタムモード、等を含む。   The operation mode setting unit 109 sets one of a plurality of operation modes in the control microcomputer 110. In other words, the operation mode setting unit 109 switches the set operation mode between a plurality of operation modes. For example, the operation mode setting unit 109 sets an operation mode according to a user operation. The plurality of operation modes include, for example, a recording mode that enables execution of recording processing and a playback mode that enables execution of playback processing. The control microcomputer 110 performs control according to the set operation mode. The recording mode includes an auto shooting mode, an auto scene discrimination mode, a manual mode, a program AE mode, a custom mode, and the like.

シーンモード設定部111は、複数の撮影シーンにそれぞれ対応する複数のシーンモードのうちのいずれかを制御マイコン110に設定する。シーンモード設定部111は、例えば、ユーザ操作に応じてシーンモードを設定する。制御マイコン110は、設定されたシーンモードに応じた制御を行う。例えば、制御マイコン110は、設定されたシーンモードに応じて、撮像パラメータ(シャッター速度、絞り値、ISO感度、等)を変更する制御を行う。なお、シーンモードの設定方法は上記方法に限らない。例えば、撮像装置の使用環境に応じてシーンモードが自動で設定されてもよい。撮像装置の使用環境は、例えば、種々のセンサを用いて検出することができる。   The scene mode setting unit 111 sets one of a plurality of scene modes respectively corresponding to a plurality of shooting scenes in the control microcomputer 110. For example, the scene mode setting unit 111 sets a scene mode in accordance with a user operation. The control microcomputer 110 performs control according to the set scene mode. For example, the control microcomputer 110 performs control to change imaging parameters (shutter speed, aperture value, ISO sensitivity, etc.) according to the set scene mode. The scene mode setting method is not limited to the above method. For example, the scene mode may be automatically set according to the usage environment of the imaging apparatus. The use environment of the imaging apparatus can be detected using various sensors, for example.

複数のシーンモードは、例えば、ポートレートモード、ビーチモード、風景モード、夕焼けモード、スノーモード、等を含む。ポートレートモードは、人物を撮影する撮影シーンに対応し、ビーチモードは、海を撮影する撮影シーンに対応する、風景モードは、山、森林、草原、等を撮影する撮影シーンに対応する。夕焼けモードは、夕焼けを撮影する撮影シーンに対応し、スノーモードは、雪景色を撮影する撮影シーンに対応する。なお、シーンモードは、これら6つのシーンモードに限らない。シーンモードの数や種類は特に限定されない。   The plurality of scene modes include, for example, a portrait mode, a beach mode, a landscape mode, a sunset mode, a snow mode, and the like. The portrait mode corresponds to a shooting scene for shooting a person, the beach mode corresponds to a shooting scene for shooting the sea, and the landscape mode corresponds to a shooting scene for shooting mountains, forests, grasslands, and the like. The sunset mode corresponds to a shooting scene for shooting a sunset, and the snow mode corresponds to a shooting scene for shooting a snow scene. The scene mode is not limited to these six scene modes. The number and type of scene modes are not particularly limited.

次に、本実施例に係る撮像装置の処理フローの一例について説明する。図2は、本実施例に係る撮像装置の処理フローの一例を示すフローチャートである。図2の処理フローは、例えば、撮像装置の電源が入れられたタイミングで開始される。   Next, an example of a processing flow of the imaging apparatus according to the present embodiment will be described. FIG. 2 is a flowchart illustrating an example of a processing flow of the imaging apparatus according to the present embodiment. The processing flow in FIG. 2 is started, for example, at a timing when the imaging apparatus is turned on.

まず、制御マイコン110が、記録モードとシーンモードが設定されているか否かを判断する(S201)。記録モードとシーンモードの両方が設定されている場合には、S202に処理が進められ、それ以外の場合には、S203に処理が進められる。   First, the control microcomputer 110 determines whether a recording mode and a scene mode are set (S201). If both the recording mode and the scene mode are set, the process proceeds to S202, and otherwise, the process proceeds to S203.

S202では、制御マイコン110が、設定されているシーンモードを判断し、判断結果をガンマ変換部106に通知する。それにより、設定されているシーンモードに応じたガンマカーブが、ガンマ変換処理に使用するガンマカーブとして設定される。具体的には、メモリ112が記憶している複数の画質パラメータは、それぞれ、複数のシーンモードに対応付けられている。S202では、設定されているシーンモードに応じた画質パラメータが、ガンマ変換部106で使用する画質パラメータとして設定される。その後、S204に処理が進められる。   In S202, the control microcomputer 110 determines the set scene mode, and notifies the gamma conversion unit 106 of the determination result. Thereby, the gamma curve corresponding to the set scene mode is set as the gamma curve used for the gamma conversion processing. Specifically, the plurality of image quality parameters stored in the memory 112 are associated with a plurality of scene modes, respectively. In S202, an image quality parameter corresponding to the set scene mode is set as an image quality parameter used in the gamma conversion unit 106. Thereafter, the process proceeds to S204.

S203では、制御マイコン110が、デフォルト値の設定をガンマ変換部106に指示する。それにより、デフォルトカーブとして定められているガンマカーブが、ガンマ変換処理に使用するガンマカーブとして設定される。具体的には、デフォルト値として定められている画質パラメータが、ガンマ変換部106で使用する画質パラメータとして設定される。その後、S204に処理が進められる。   In S203, the control microcomputer 110 instructs the gamma conversion unit 106 to set a default value. Thereby, the gamma curve defined as the default curve is set as the gamma curve used for the gamma conversion processing. Specifically, an image quality parameter defined as a default value is set as an image quality parameter used in the gamma conversion unit 106. Thereafter, the process proceeds to S204.

本実施例では、撮像画像データの画素値は、種類が互いに異なる複数の階調値を含む。ガンマ変換処理に使用するガンマカーブとして、複数の階調値にそれぞれ適用される複数のガンマカーブが設定される。そして、詳細は後述するが、シーンモードに応じた複数のガンマカーブは、当該シーンモードに応じた色味に表示画像の色味が変化するように定められている。   In this embodiment, the pixel value of the captured image data includes a plurality of gradation values of different types. A plurality of gamma curves respectively applied to a plurality of gradation values are set as gamma curves used for the gamma conversion processing. As will be described in detail later, the plurality of gamma curves corresponding to the scene mode are determined so that the color of the display image changes to the color corresponding to the scene mode.

S202やS203の処理の後、設定されたガンマカーブを用いたガンマ変換処理を少なくとも含む種々の信号処理が撮像画像データに施され、表示画像データに応じた画像が画面に表示される。   After the processing of S202 and S203, various signal processing including at least gamma conversion processing using the set gamma curve is performed on the captured image data, and an image corresponding to the display image data is displayed on the screen.

S204では、制御マイコン110が、電源OFFボタンを押下するユーザ操作が行われたか否かを判断する。電源OFFボタンが押下されなかった場合には、S201に処理が戻される。電源OFFボタンが押下された場合には、撮像装置の電源を切る種々の処理が行われ、撮像装置の電源が切られる。   In S204, the control microcomputer 110 determines whether or not a user operation for pressing the power OFF button has been performed. If the power OFF button has not been pressed, the process returns to S201. When the power OFF button is pressed, various processes for turning off the image pickup apparatus are performed, and the image pickup apparatus is turned off.

次に、本実施例に係るシーンモードとガンマカーブの対応関係の一例について説明する。以下では、撮像画像データの画素値が、赤色に対応するR値、緑色に対応するG値、及び、青色に対応するB値を含むRGB値である場合の例を説明する。この場合、ガンマ変換処理において、R値に適用するガンマカーブ(Rカーブ)、G値に適用するガンマカーブ(Gカーブ)、及び、B値に適用するガンマカーブ(Bカーブ)が使用される。   Next, an example of the correspondence between the scene mode and the gamma curve according to the present embodiment will be described. Hereinafter, an example will be described in which the pixel values of the captured image data are RGB values including an R value corresponding to red, a G value corresponding to green, and a B value corresponding to blue. In this case, in the gamma conversion process, a gamma curve (R curve) applied to the R value, a gamma curve (G curve) applied to the G value, and a gamma curve (B curve) applied to the B value are used.

なお、以下で述べるガンマカーブはあくまで一例であり、シーンモードに応じたガンマカーブは以下のガンマカーブに限定されない。シーンモードとガンマカーブの対応関係は、ユーザ層の好み、メーカーの好み、撮像装置の用途、等に依存して変化し得る。また、画素値はRGB値に限らない。例えば、画素値は、YCbCr値(Y値、Cb値、及び、Cr値の組み合わせ)であってもよい。   The gamma curve described below is merely an example, and the gamma curve corresponding to the scene mode is not limited to the following gamma curve. The correspondence relationship between the scene mode and the gamma curve can change depending on the preference of the user layer, the preference of the manufacturer, the use of the imaging device, and the like. Further, the pixel value is not limited to the RGB value. For example, the pixel value may be a YCbCr value (a combination of a Y value, a Cb value, and a Cr value).

各シーンモードには、そのシーンモードを代表する色(代表色;特徴色)が存在する。代表色は、例えば、被写体に多く含まれている可能性が高い色である。ポートレートモードが設定されているときの被写体は人物である可能性が高いため、ポートレートモードの代表色は肌色である。同様に、ビーチモードの代表色は青色、風景モードの代表色は緑色、夕焼けモードの代表色は赤色、スノーモードの代表色は白色である。本実施例では、表
示画像が取り得る色のうち、代表色が所定の目標色に近づき、代表色以外の色が維持されるように定められたガンマカーブが使用される。
Each scene mode has a color representative of the scene mode (representative color; characteristic color). The representative color is, for example, a color that is highly likely to be included in the subject. Since there is a high possibility that the subject when the portrait mode is set is a person, the representative color in the portrait mode is skin color. Similarly, the representative color of the beach mode is blue, the representative color of the landscape mode is green, the representative color of the sunset mode is red, and the representative color of the snow mode is white. In the present embodiment, a gamma curve determined so that the representative color approaches a predetermined target color among the colors that can be taken by the display image and the color other than the representative color is maintained is used.

なお、表示画像の色味を変更する処理として、ガンマ変換処理の他に、各階調値にオフセット値を加算する加算処理、各階調値にゲイン値を乗算する乗算処理、等がある。しかしながら、加算処理や乗算処理では、全階調範囲に渡ってオフセット値の加算やゲイン値の乗算が行われる。そのため、代表色である表示色を目標色に一致させると、代表色以外の表示色が元の表示色から大きく変化してしまい、表示画像の画質が劣化してしまう。ガンマ変換処理では、一部の階調範囲に限定して表示色を変更することができるため、上記画質の劣化の発生を抑制することができる。   In addition to the gamma conversion process, the process for changing the color of the display image includes an addition process for adding an offset value to each gradation value, a multiplication process for multiplying each gradation value by a gain value, and the like. However, in addition processing and multiplication processing, offset value addition and gain value multiplication are performed over the entire gradation range. For this reason, when the display color that is the representative color matches the target color, the display color other than the representative color is greatly changed from the original display color, and the image quality of the display image is deteriorated. In the gamma conversion process, the display color can be changed only in a part of the gradation range, so that the occurrence of the image quality deterioration can be suppressed.

図3は、代表色を目標色に近づけるために色バランス(R値、G値、及び、B値のバランス)がデフォルトカーブから変更される階調範囲(変更階調範囲)の一例を示す図である。図3の横軸は、入力値である階調値(R値、G値、または、B値)を示し、図3の縦軸は出力値である表示輝度(赤色、青色、または、緑色の表示輝度)を示す。変更階調範囲は、入力値の範囲である。表示輝度は、画面上の輝度である。図3において、実線はデフォルトカーブを示し、細かい破線はビーチモードに対応するガンマカーブを示し、粗い破線はポートレートモードに対応するガンマカーブを示す。そして、点線は風景モードに対応するガンマカーブを示し、一点鎖線は夕焼けモードに対応するガンマカーブを示す。図3から、ビーチモードの変更階調範囲が高階調側の範囲であり、ポートレートモードと風景モードの変更階調範囲が中間階調から高階調の範囲であり、夕焼けモードの変更階調範囲が中間階調から低階調の範囲であることがわかる。図3に示されていないが、スノーモードの変更階調範囲は、全階調範囲である。   FIG. 3 is a diagram illustrating an example of a gradation range (changed gradation range) in which the color balance (balance of R value, G value, and B value) is changed from the default curve in order to bring the representative color closer to the target color. It is. The horizontal axis in FIG. 3 indicates the gradation value (R value, G value, or B value) that is the input value, and the vertical axis in FIG. 3 indicates the display luminance (red, blue, or green) that is the output value. Display luminance). The change gradation range is a range of input values. The display brightness is the brightness on the screen. In FIG. 3, a solid line indicates a default curve, a fine broken line indicates a gamma curve corresponding to the beach mode, and a rough broken line indicates a gamma curve corresponding to the portrait mode. The dotted line indicates a gamma curve corresponding to the landscape mode, and the alternate long and short dash line indicates a gamma curve corresponding to the sunset mode. From FIG. 3, the change gradation range of the beach mode is a range on the high gradation side, the change gradation range of the portrait mode and the landscape mode is a range from the intermediate gradation to the high gradation, and the change gradation range of the sunset mode. It can be seen that the range is from the intermediate gradation to the low gradation. Although not shown in FIG. 3, the changed gradation range of the snow mode is the entire gradation range.

図4は、表示画像の色域、目標色域、代表色、及び、代表色の目標色の一例を示す色度図である。図4の代表色と目標色は、ビーチモードに関するものである。図4において、破線で描かれた三角形は表示画像の色域を示し、実線で描かれた三角形は目標色域を示す。そして、白四角は代表色の色度を示し、白丸は目標色度(目標色の色度)を示す。表示画像の色域を目標色域に一致させることは困難であるため、本実施例では、代表色の色度を目標色度に近づける。   FIG. 4 is a chromaticity diagram illustrating an example of the color gamut, target color gamut, representative color, and target color of the display image. The representative color and target color in FIG. 4 relate to the beach mode. In FIG. 4, a triangle drawn with a broken line indicates the color gamut of the display image, and a triangle drawn with a solid line indicates the target color gamut. The white square indicates the chromaticity of the representative color, and the white circle indicates the target chromaticity (the chromaticity of the target color). Since it is difficult to match the color gamut of the display image with the target color gamut, in this embodiment, the chromaticity of the representative color is brought close to the target chromaticity.

図5は、ビーチモードに対応するRカーブ、Gカーブ、及び、Bカーブの一例を示す。図5において、点線はRカーブを示し、細かい破線はGカーブを示し、粗い破線はBカーブを示す。図5に示すように、ビーチモードが設定されている場合には、高階調側の変更階調範囲において、Bカーブの輝度(青色の輝度)としてデフォルトカーブよりも高い輝度が設定され、Gカーブの輝度としてデフォルトカーブよりも低い輝度が設定される。それにより、図4の白四角が白丸に近づけられる。また、変更階調範囲以外の範囲では、ガンマカーブがデフォルトカーブと同等の特性を有するため、代表色以外の色の変化を抑制することができる。   FIG. 5 shows an example of an R curve, a G curve, and a B curve corresponding to the beach mode. In FIG. 5, a dotted line indicates an R curve, a fine broken line indicates a G curve, and a coarse broken line indicates a B curve. As shown in FIG. 5, when the beach mode is set, in the changed gradation range on the high gradation side, the luminance of the B curve (blue luminance) is set higher than the default curve, and the G curve The brightness lower than the default curve is set as the brightness. Thereby, the white square of FIG. 4 is brought close to the white circle. In the range other than the changed gradation range, the gamma curve has the same characteristics as the default curve, so that changes in colors other than the representative color can be suppressed.

図6は、表示画像の色域、目標色域、代表色、及び、代表色の目標色の一例を示す色度図である。図6の代表色と目標色は、風景モードに関するものである。図7は、風景モードに対応するRカーブ、Gカーブ、及び、Bカーブの一例を示す。図7に示すように、風景モードが設定されている場合には、中間階調から高階調の変更階調範囲において、Gカーブの輝度としてデフォルトカーブよりも高い輝度が設定され、Rカーブの輝度としてデフォルトカーブよりも低い輝度が設定される。それにより、図6の白四角(代表色)が白丸(目標色)に近づけられる。また、変更階調範囲以外の範囲では、ガンマカーブがデフォルトカーブと同等の特性を有するため、代表色以外の色の変化を抑制することができる。   FIG. 6 is a chromaticity diagram illustrating an example of a color gamut, a target color gamut, a representative color, and a target color of the representative image. The representative colors and target colors in FIG. 6 relate to the landscape mode. FIG. 7 shows an example of an R curve, a G curve, and a B curve corresponding to the landscape mode. As shown in FIG. 7, when the landscape mode is set, the luminance of the G curve is set higher than the default curve in the changed gradation range from the intermediate gradation to the high gradation, and the luminance of the R curve is set. As a result, a lower brightness than the default curve is set. Thereby, the white square (representative color) in FIG. 6 is brought close to the white circle (target color). Further, in the range other than the changed gradation range, the gamma curve has the same characteristics as the default curve, so that changes in colors other than the representative color can be suppressed.

図8は、表示画像の色域、目標色域、代表色、及び、代表色の目標色の一例を示す色度図である。図8の代表色と目標色は、夕焼けモードに関するものである。図9は、夕焼けモードに対応するRカーブ、Gカーブ、及び、Bカーブの一例を示す。図9に示すように、夕焼けモードが設定されている場合には、中間階調から低階調の変更階調範囲において、Rカーブの輝度としてデフォルトカーブよりも高い輝度が設定され、Gカーブの輝度としてデフォルトカーブよりも低い輝度が設定される。それにより、図8の白四角(代表色)が白丸(目標色)に近づけられる。また、変更階調範囲以外の範囲では、ガンマカーブがデフォルトカーブと同等の特性を有するため、代表色以外の色の変化を抑制することができる。   FIG. 8 is a chromaticity diagram illustrating an example of a color gamut, a target color gamut, a representative color, and a target color of the representative image. The representative colors and target colors in FIG. 8 relate to the sunset mode. FIG. 9 shows an example of an R curve, a G curve, and a B curve corresponding to the sunset mode. As shown in FIG. 9, when the sunset mode is set, the luminance of the R curve is set higher than the default curve in the changed gradation range from the intermediate gradation to the low gradation, and the G curve A brightness lower than the default curve is set as the brightness. Accordingly, the white square (representative color) in FIG. 8 is brought close to the white circle (target color). In the range other than the changed gradation range, the gamma curve has the same characteristics as the default curve, so that changes in colors other than the representative color can be suppressed.

以上述べたように、本実施例によれば、設定されたシーンモードに応じたガンマカーブを使用することにより、設定されたシーンモードに応じた色味に表示画像の色味が変更される。それにより、撮像画像データに基づく画像を表示する際に、好適な画質の表示画像を得ることができる。具体的には、シーンモードに応じた好適な色味の表示画像を得ることができる。   As described above, according to the present embodiment, the color of the display image is changed to the color corresponding to the set scene mode by using the gamma curve corresponding to the set scene mode. Thereby, when an image based on the captured image data is displayed, a display image with suitable image quality can be obtained. Specifically, a display image having a suitable color according to the scene mode can be obtained.

<実施例2>
以下、本発明の実施例2に係る撮像装置及びその制御方法について説明する。実施例2では、撮像画像データの再生時にも好適な画質の表示画像を得ることができる構成や処理について説明する。なお、以下では、実施例1と異なる構成や処理について詳しく説明し、実施例1と同様の構成や処理についての説明は省略する。
<Example 2>
Hereinafter, an imaging apparatus and a control method thereof according to Embodiment 2 of the present invention will be described. In the second embodiment, a configuration and processing capable of obtaining a display image with suitable image quality when reproducing captured image data will be described. In the following, configurations and processes different from those in the first embodiment will be described in detail, and descriptions of the same configurations and processes as those in the first embodiment will be omitted.

まず、本実施例に係る撮像装置の構成の一例について説明する。図10は、本実施例に係る撮像装置の構成の一例を示すブロック図である。図10に示すように、本実施例に係る撮像装置は、図1のデジタル処理部103の代わりにデジタル処理部1001を有し、記録・再生部104の代わりに記録・再生部1002を有し、制御マイコン110の代わりに制御マイコン1003を有する。また、本実施例に係る撮像装置は、シーンモード判断部1004を有する。なお、図10において、実施例1(図1)と同じ機能部には図1と同じ符号を付し、その説明は省略する。   First, an example of the configuration of the imaging apparatus according to the present embodiment will be described. FIG. 10 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment. As illustrated in FIG. 10, the imaging apparatus according to the present embodiment includes a digital processing unit 1001 instead of the digital processing unit 103 illustrated in FIG. 1, and includes a recording / reproducing unit 1002 instead of the recording / reproducing unit 104. , A control microcomputer 1003 is provided instead of the control microcomputer 110. In addition, the imaging apparatus according to the present embodiment includes a scene mode determination unit 1004. In FIG. 10, the same reference numerals as those in FIG.

デジタル処理部1001は、デジタル処理部103と同様の機能を有する。但し、記録処理が行われる場合に、デジタル処理部1001は、記録対象の撮像画像データと、記録対象の撮像画像データの撮像時に設定されていたシーンモードを示すシーン情報と、を記録・再生部1002に出力する。具体的には、デジタル処理部1001は、生成した現在の撮像画像データと、設定されている現在のシーンモードを示すシーン情報と、を記録・再生部104に出力する。実施例1と同様に、生成された現在の撮像画像データは、表示画像データ生成部105にも出力される。   The digital processing unit 1001 has the same function as the digital processing unit 103. However, when the recording process is performed, the digital processing unit 1001 records and reproduces the captured image data to be recorded and the scene information indicating the scene mode set when the captured image data to be recorded is captured. To 1002. Specifically, the digital processing unit 1001 outputs the generated current captured image data and scene information indicating the set current scene mode to the recording / reproducing unit 104. Similarly to the first embodiment, the generated current captured image data is also output to the display image data generation unit 105.

記録・再生部1002は、記録・再生部104と同様の機能を有する。但し、記録・再生部1002は、デジタル処理部1001から出力された撮像画像データを記録媒体に記録する際に、デジタル処理部1001から出力されたシーン情報を記録媒体に記憶する。デジタル処理部1001から出力されたシーン情報は、デジタル処理部1001から出力された撮像画像データに関連付けられて記録される。例えば、シーン情報は、撮像画像データのメタデータとして記録される。また、記録・再生部1002は、撮像画像データを記録媒体から読み出す際に、当該撮像画像データに関連付けられたシーン情報を記録媒体から読み出す。   The recording / reproducing unit 1002 has the same function as the recording / reproducing unit 104. However, the recording / playback unit 1002 stores the scene information output from the digital processing unit 1001 in the recording medium when the captured image data output from the digital processing unit 1001 is recorded on the recording medium. The scene information output from the digital processing unit 1001 is recorded in association with the captured image data output from the digital processing unit 1001. For example, the scene information is recorded as metadata of captured image data. Further, when reading the captured image data from the recording medium, the recording / reproducing unit 1002 reads scene information associated with the captured image data from the recording medium.

シーンモード判断部1004は、撮像画像データの再生時に、再生対象の撮像画像データに関連付けられたシーン情報を、記録・再生部1002から取得する。そして、シーンモード判断部1004は、取得したシーン情報に基づいて、再生対象の撮像画像データの
撮像時に設定されていたシーンモードを判断する。その後、シーンモード判断部1004は、判断したシーンモードを、制御マイコン1003に通知する。
The scene mode determining unit 1004 acquires scene information associated with the captured image data to be reproduced from the recording / reproducing unit 1002 when reproducing the captured image data. Then, the scene mode determination unit 1004 determines the scene mode set at the time of capturing the captured image data to be reproduced based on the acquired scene information. Thereafter, the scene mode determination unit 1004 notifies the control microcomputer 1003 of the determined scene mode.

制御マイコン1003は、制御マイコン110と同様の機能を有する。但し、制御マイコン1003は、撮像画像データの再生時に、シーンモード判断部1004から通知されたシーンモードを、ガンマ変換部106に通知する。それにより、再生対象の撮像画像データの撮像時に設定されていたシーンモードに応じたガンマカーブが、ガンマ変換処理に使用するガンマカーブとして設定される。   The control microcomputer 1003 has the same function as the control microcomputer 110. However, the control microcomputer 1003 notifies the gamma conversion unit 106 of the scene mode notified from the scene mode determination unit 1004 when reproducing the captured image data. As a result, the gamma curve corresponding to the scene mode set when the captured image data to be reproduced is captured is set as the gamma curve used for the gamma conversion process.

次に、本実施例に係る撮像装置の処理フローの一例について説明する。図11は、本実施例に係る撮像装置の処理フローの一例を示すフローチャートである。   Next, an example of a processing flow of the imaging apparatus according to the present embodiment will be described. FIG. 11 is a flowchart illustrating an example of a processing flow of the imaging apparatus according to the present embodiment.

まず、制御マイコン1003が、記録モードが設定されているか否かを判断する(S1101)。記録モードが設定されている場合には、S1102に処理が進められ、再生モードが設定されている場合には、S1103に処理が進められる。   First, the control microcomputer 1003 determines whether or not the recording mode is set (S1101). If the recording mode is set, the process proceeds to S1102, and if the playback mode is set, the process proceeds to S1103.

記録モードが設定されている場合の処理フローについて説明する。S1102では、制御マイコン1003が、シーンモードが設定されているか否かを判断する。シーンモードが設定されている場合には、S1105とS1107の処理が行われ、シーンモードが設定されていないには、S1106とS1107の処理が行われる。この場合、S1105、S1106、及び、S1107において、実施例1(図2)のS202、S203、及び、S204の処理と同様の処理が行われる。   A processing flow when the recording mode is set will be described. In step S1102, the control microcomputer 1003 determines whether a scene mode is set. When the scene mode is set, the processes of S1105 and S1107 are performed, and when the scene mode is not set, the processes of S1106 and S1107 are performed. In this case, in S1105, S1106, and S1107, the same processes as those in S202, S203, and S204 of the first embodiment (FIG. 2) are performed.

再生モードが設定されている場合の処理フローについて説明する。S1103では、制御マイコン1003が、再生対象の撮像画像データを選択する。再生対象の撮像画像データは、例えば、ユーザ操作に応じて選択される。   A processing flow when the playback mode is set will be described. In S1103, the control microcomputer 1003 selects captured image data to be reproduced. The captured image data to be reproduced is selected according to a user operation, for example.

次に、制御マイコン1003が、再生対象の撮像画像データに関連付けられているシーン情報が存在するか否かを判断する(S1104)。シーン情報が存在するか否かは、シーンモード判断部1004からシーンモードが通知されたか否かに応じて判断することができる。具体的には、シーンモードが通知された場合にシーン情報が存在すると判断でき、シーンモードが通知されなかった場合にシーン情報が存在しないと判断できる。シーン情報が存在する場合には、S1105とS1107の処理が行われ、シーン情報が存在しない場合にはS1106とS1107の処理が行われる。   Next, the control microcomputer 1003 determines whether there is scene information associated with the captured image data to be reproduced (S1104). Whether or not scene information exists can be determined according to whether or not the scene mode is notified from the scene mode determination unit 1004. Specifically, it can be determined that the scene information exists when the scene mode is notified, and it can be determined that the scene information does not exist when the scene mode is not notified. If the scene information exists, the processes of S1105 and S1107 are performed. If the scene information does not exist, the processes of S1106 and S1107 are performed.

S1105では、制御マイコン1003が、シーンモード判断部1004から通知されたシーンモードを、ガンマ変換部106に通知する。それにより、再生対象の撮像画像データの撮像時に設定されていたシーンモードに応じたガンマカーブが、ガンマ変換処理に使用するガンマカーブとして設定される。その後、S1107に処理が進められる。再生モードが設定されている場合においても、S1105とS1107の処理は、実施例1(図2)のS203とS204の処理と同じである。   In step S <b> 1105, the control microcomputer 1003 notifies the gamma conversion unit 106 of the scene mode notified from the scene mode determination unit 1004. As a result, the gamma curve corresponding to the scene mode set when the captured image data to be reproduced is captured is set as the gamma curve used for the gamma conversion process. Thereafter, the process proceeds to S1107. Even when the playback mode is set, the processing of S1105 and S1107 is the same as the processing of S203 and S204 of the first embodiment (FIG. 2).

以上述べたように、本実施例によれば、撮像画像データの再生時に、再生対象の撮像画像データの撮像時に設定されていたシーンモードに応じたガンマカーブを用いたガンマ変換処理が行われる。それにより、撮像画像データの再生時においても、好適な画質の表示画像を得ることができる。   As described above, according to the present embodiment, when the captured image data is reproduced, the gamma conversion process using the gamma curve corresponding to the scene mode set at the time of capturing the captured image data to be reproduced is performed. As a result, a display image with suitable image quality can be obtained even when the captured image data is reproduced.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施例の一部を適宜組み合わせてもよい。   Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included. A part of the above-described embodiments may be appropriately combined.

<その他の実施例>
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other examples>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

106:ガンマ変換部 107:表示パネル
110:制御マイコン 111:シーンモード設定部
106: Gamma conversion unit 107: Display panel 110: Control microcomputer 111: Scene mode setting unit

Claims (11)

複数の撮影シーンにそれぞれ対応する複数のシーンモードのうちのいずれかを設定する設定手段と、
前記設定手段で設定されたシーンモードに応じたガンマカーブを用いて、撮像によって得られた画像データである撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する処理手段と、
前記処理画像データに基づく画像を画面に表示する表示手段と、
を有し、
前記撮像画像データの画素値は、種類が互いに異なる複数の階調値を含み、
前記シーンモードに応じたガンマカーブは、前記複数の階調値にそれぞれ適用される複数のガンマカーブであり、
前記シーンモードに応じた複数のガンマカーブは、当該シーンモードに応じた色味に前記画面に表示された画像の色味が変化するように定められている
ことを特徴とする撮像装置。
Setting means for setting one of a plurality of scene modes respectively corresponding to a plurality of shooting scenes;
Processing means for generating processed image data by performing gamma conversion processing on captured image data, which is image data obtained by imaging, using a gamma curve corresponding to the scene mode set by the setting means;
Display means for displaying an image based on the processed image data on a screen;
Have
The pixel value of the captured image data includes a plurality of gradation values of different types,
The gamma curves according to the scene mode are a plurality of gamma curves respectively applied to the plurality of gradation values,
The imaging apparatus according to claim 1, wherein the plurality of gamma curves corresponding to the scene mode are determined so that a color of an image displayed on the screen changes to a color corresponding to the scene mode.
前記シーンモードに応じた複数のガンマカーブは、前記画面に表示された画像が取り得る色のうち、当該シーンモードを代表する色である代表色が所定の目標色に近づき、前記代表色以外の色が維持されるように定められている
ことを特徴とする請求項1に記載の撮像装置。
The plurality of gamma curves corresponding to the scene mode are represented by the representative colors that represent the scene mode among the colors that can be taken by the image displayed on the screen, and the colors other than the representative colors. The imaging apparatus according to claim 1, wherein the imaging apparatus is determined so that the color is maintained.
前記画素値は、赤色に対応するR値、緑色に対応するG値、及び、青色に対応するB値を含むRGB値であり、
前記複数のガンマカーブは、前記R値に適用するガンマカーブ、前記G値に適用するガンマカーブ、及び、前記B値に適用するガンマカーブである
ことを特徴とする請求項1または2に記載の撮像装置。
The pixel value is an RGB value including an R value corresponding to red, a G value corresponding to green, and a B value corresponding to blue.
3. The gamma curve according to claim 1, wherein the plurality of gamma curves are a gamma curve applied to the R value, a gamma curve applied to the G value, and a gamma curve applied to the B value. Imaging device.
前記撮像画像データを記憶部に記録する記録手段と、
前記記憶部が記憶している撮像画像データを再生する再生手段と、
をさらに有し、
前記処理手段は、前記再生手段による再生時に、再生対象の撮像画像データの撮像時に設定されていたシーンモードに応じたガンマカーブを用いて、前記再生対象の撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する
ことを特徴とする請求項1〜3のいずれか1項に記載の撮像装置。
Recording means for recording the captured image data in a storage unit;
Playback means for playing back the captured image data stored in the storage unit;
Further comprising
The processing means performs gamma conversion processing on the captured image data to be reproduced using a gamma curve corresponding to a scene mode set at the time of capturing the captured image data to be reproduced at the time of reproduction by the reproducing means. The image processing apparatus according to claim 1, wherein processed image data is generated by the processing.
前記記録手段は、前記撮像画像データを前記記憶部に記録する際に、記録対象の撮像画像データの撮像時に設定されていたシーンモードを示すシーン情報を、前記記録対象の撮像画像データに関連付けて前記記憶部に記録し、
前記撮像装置は、前記再生対象の撮像画像データに関連付けられたシーン情報に基づいて、前記再生対象の撮像画像データの撮像時に設定されていたシーンモードを判断する判断手段をさらに有する
ことを特徴とする請求項4に記載の撮像装置。
When recording the captured image data in the storage unit, the recording unit associates scene information indicating a scene mode set at the time of capturing the captured image data to be recorded with the captured image data to be recorded. Recorded in the storage unit,
The imaging apparatus further includes a determination unit that determines a scene mode set at the time of imaging the captured image data to be reproduced based on scene information associated with the captured image data to be reproduced. The imaging device according to claim 4.
複数の撮影シーンにそれぞれ対応する複数のシーンモードのうちのいずれかを設定する設定ステップと、
前記設定ステップで設定されたシーンモードに応じたガンマカーブを用いて、撮像によって得られた画像データである撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する処理ステップと、
前記処理画像データに基づく画像を画面に表示する表示ステップと、
を有し、
前記撮像画像データの画素値は、種類が互いに異なる複数の階調値を含み、
前記シーンモードに応じたガンマカーブは、前記複数の階調値にそれぞれ適用される複数のガンマカーブであり、
前記シーンモードに応じた複数のガンマカーブは、当該シーンモードに応じた色味に前記画面に表示された画像の色味が変化するように定められている
ことを特徴とする撮像装置の制御方法。
A setting step for setting one of a plurality of scene modes respectively corresponding to a plurality of shooting scenes;
A processing step of generating processed image data by performing a gamma conversion process on captured image data, which is image data obtained by imaging, using a gamma curve corresponding to the scene mode set in the setting step;
A display step of displaying an image based on the processed image data on a screen;
Have
The pixel value of the captured image data includes a plurality of gradation values of different types,
The gamma curves according to the scene mode are a plurality of gamma curves respectively applied to the plurality of gradation values,
The plurality of gamma curves according to the scene mode are determined such that the color of the image displayed on the screen changes to the color according to the scene mode. .
前記シーンモードに応じた複数のガンマカーブは、前記画面に表示された画像が取り得る色のうち、当該シーンモードを代表する色である代表色が所定の目標色に近づき、前記代表色以外の色が維持されるように定められている
ことを特徴とする請求項6に記載の撮像装置の制御方法。
The plurality of gamma curves corresponding to the scene mode are represented by the representative colors that represent the scene mode among the colors that can be taken by the image displayed on the screen, and the colors other than the representative colors. The method according to claim 6, wherein the color is determined so as to be maintained.
前記画素値は、赤色に対応するR値、緑色に対応するG値、及び、青色に対応するB値を含むRGB値であり、
前記複数のガンマカーブは、前記R値に適用するガンマカーブ、前記G値に適用するガンマカーブ、及び、前記B値に適用するガンマカーブである
ことを特徴とする請求項6または7に記載の撮像装置の制御方法。
The pixel value is an RGB value including an R value corresponding to red, a G value corresponding to green, and a B value corresponding to blue.
The plurality of gamma curves are a gamma curve applied to the R value, a gamma curve applied to the G value, and a gamma curve applied to the B value, respectively. Control method of imaging apparatus.
前記撮像画像データを記憶部に記録する記録ステップと、
前記記憶部が記憶している撮像画像データを再生する再生ステップと、
をさらに有し、
前記処理ステップでは、前記再生ステップによる再生時に、再生対象の撮像画像データの撮像時に設定されていたシーンモードに応じたガンマカーブを用いて、前記再生対象の撮像画像データにガンマ変換処理を施すことにより、処理画像データを生成する
ことを特徴とする請求項6〜8のいずれか1項に記載の撮像装置の制御方法。
A recording step of recording the captured image data in a storage unit;
A reproduction step of reproducing the captured image data stored in the storage unit;
Further comprising
In the processing step, a gamma conversion process is performed on the captured image data to be reproduced using a gamma curve corresponding to a scene mode set at the time of capturing the captured image data to be reproduced at the time of reproduction in the reproduction step. The image processing apparatus control method according to claim 6, wherein the processed image data is generated.
前記記録ステップでは、前記撮像画像データを前記記憶部に記録する際に、記録対象の撮像画像データの撮像時に設定されていたシーンモードを示すシーン情報を、前記記録対象の撮像画像データに関連付けて前記記憶部に記録し、
前記撮像装置の制御方法は、前記再生対象の撮像画像データに関連付けられたシーン情報に基づいて、前記再生対象の撮像画像データの撮像時に設定されていたシーンモードを判断する判断ステップをさらに有する
ことを特徴とする請求項9に記載の撮像装置の制御方法。
In the recording step, when the captured image data is recorded in the storage unit, scene information indicating a scene mode set when the captured image data to be recorded is captured is associated with the captured image data to be recorded. Recorded in the storage unit,
The control method of the imaging apparatus further includes a determination step of determining a scene mode set at the time of imaging the captured image data to be reproduced based on scene information associated with the captured image data to be reproduced. The method for controlling an imaging apparatus according to claim 9.
請求項6〜10のいずれか1項に記載の撮像装置の制御方法の各ステップをコンピュータに実行させることを特徴とするプログラム。   A program that causes a computer to execute each step of the control method for an imaging apparatus according to any one of claims 6 to 10.
JP2015060922A 2015-03-24 2015-03-24 Imaging device and control method for the same Pending JP2016181798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015060922A JP2016181798A (en) 2015-03-24 2015-03-24 Imaging device and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015060922A JP2016181798A (en) 2015-03-24 2015-03-24 Imaging device and control method for the same

Publications (1)

Publication Number Publication Date
JP2016181798A true JP2016181798A (en) 2016-10-13

Family

ID=57132018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015060922A Pending JP2016181798A (en) 2015-03-24 2015-03-24 Imaging device and control method for the same

Country Status (1)

Country Link
JP (1) JP2016181798A (en)

Similar Documents

Publication Publication Date Title
JP5053724B2 (en) Image display apparatus, imaging apparatus, image reproduction apparatus, and image display method
JP6317577B2 (en) Video signal processing apparatus and control method thereof
US11750934B2 (en) Imaging apparatus, image processing apparatus, control method of these, and storage medium
US20110205397A1 (en) Portable imaging device having display with improved visibility under adverse conditions
US11336836B2 (en) Image capturing apparatus and control method thereof
US20120050565A1 (en) Image capture with region-based adjustment of imaging properties
JP2014120844A (en) Image processing apparatus and imaging apparatus
JP5553230B2 (en) Imaging apparatus and imaging processing method
KR102158844B1 (en) Apparatus and method for processing image, and computer-readable recording medium
US10972674B2 (en) Electronic apparatus
JP6253007B2 (en) Display device
US8502882B2 (en) Image pick-up apparatus, white balance setting method and recording medium
JP2015211233A (en) Image processing apparatus and control method for image processing apparatus
US20100054693A1 (en) Apparatuses for and methods of previewing a moving picture file in digital image processor
JP6765919B2 (en) Image processing device, its control method, program
US11165970B2 (en) Image processing apparatus, imaging apparatus, image processing method, and non-transitory computer readable medium
US10574901B2 (en) Image processing apparatus, control method thereof, and storage medium
JP2017163339A (en) Video processing apparatus, video processing method and program
US10726523B2 (en) Image processing apparatus, image processing method, and storage medium
JP2016181798A (en) Imaging device and control method for the same
US11871124B2 (en) Image capturing apparatus, method of controlling the same, and non-transitory computer-readable storage medium
JP2010245810A (en) Imaging apparatus
JP2010021908A (en) Image processing apparatus, image processing method and image processing program
CN112422809B (en) Image pickup apparatus, control method of image pickup apparatus, and computer readable medium
JP4506768B2 (en) Imaging apparatus and imaging processing method