JP6247513B2 - Imaging apparatus, control method, and program - Google Patents
Imaging apparatus, control method, and program Download PDFInfo
- Publication number
- JP6247513B2 JP6247513B2 JP2013252412A JP2013252412A JP6247513B2 JP 6247513 B2 JP6247513 B2 JP 6247513B2 JP 2013252412 A JP2013252412 A JP 2013252412A JP 2013252412 A JP2013252412 A JP 2013252412A JP 6247513 B2 JP6247513 B2 JP 6247513B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- gradation correction
- characteristic
- gradation
- image
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 28
- 238000003384 imaging method Methods 0.000 title claims description 21
- 238000011161 development Methods 0.000 claims description 106
- 238000012937 correction Methods 0.000 claims description 90
- 238000012545 processing Methods 0.000 claims description 78
- 230000008569 process Effects 0.000 claims description 18
- 238000002360 preparation method Methods 0.000 claims 1
- 238000003702 image correction Methods 0.000 description 38
- 238000011156 evaluation Methods 0.000 description 34
- 230000008859 change Effects 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000002131 composite material Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Viewfinders (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
- Studio Devices (AREA)
- Exposure Control For Cameras (AREA)
Description
本発明は、撮像装置、制御方法およびプログラムに関し、特に撮像装置のフォーカス状態を確認するための画像を生成する技術に関するものである。 The present invention relates to an imaging apparatus, a control method, and a program, and more particularly to a technique for generating an image for confirming a focus state of the imaging apparatus.
自動焦点検出(Auto Focus:以下、AF)技術の進歩に伴い、デジタルスチルカメラやデジタルビデオカメラのような撮像装置での焦点検出には、主にAFが用いられている。 With the advancement of auto focus (hereinafter referred to as AF) technology, AF is mainly used for focus detection in an imaging apparatus such as a digital still camera or a digital video camera.
しかしながら、マクロ撮影のようにフォーカスを厳密に合わせる必要がある場合や、意図的にぼけた映像を撮影する場合など、手動による焦点調節(Manual Focus:以下、MF)での撮影が行われることも多い。 However, manual focus adjustment (hereinafter referred to as MF) may also be used when it is necessary to focus precisely as in macro shooting, or when shooting intentionally blurred images. Many.
MF操作が可能な撮像装置では、撮影者がより容易に合焦状態(フォーカス状態)を把握できるようにするための補助画像を表示する機能(フォーカスアシスト機能)を有するものがある。 Some imaging apparatuses capable of MF operation have a function (focus assist function) for displaying an auxiliary image for allowing a photographer to more easily grasp a focused state (focus state).
フォーカスアシスト機能で表示される補助画像(フォーカスアシスト画像)には、例えば、撮影映像のうち合焦している輪郭部分を強調表示(ピーキング)するための画像や、フォーカス状態確認のための部分拡大画像がある。 The auxiliary image (focus assist image) displayed by the focus assist function includes, for example, an image for highlighting (peaking) a focused contour portion of a captured image, and a partial enlargement for confirming the focus state There is an image.
さらに特許文献1に記載されるような、映像上の輪郭(エッジ)成分の所定方向における位置とレベルとの関係を表す波形の画像も知られている。 Further, a waveform image representing the relationship between the position and level of a contour (edge) component on a video image in a predetermined direction as described in Patent Document 1 is also known.
従来、フォーカスアシスト画像は、特許文献1に開示されているように、現像処理後の画像データを用いて生成されるが、一般に、現像処理には予め定められたガンマ処理(階調補正処理)が含まれている。 Conventionally, as disclosed in Patent Document 1, a focus assist image is generated using image data after development processing. Generally, predetermined gamma processing (tone correction processing) is used for development processing. It is included.
ガンマ処理は本来、入出力特性が非線形の表示装置において、被写体の階調が正しく表示されるように入力画像の階調特性を補正する処理である。しかし、被写体の色合いを十分に表現するためであったり、後編集を前提として黒潰れや白とびを抑えるためであったりなど、他の目的でガンマ処理が行われることもある。 The gamma processing is originally processing for correcting the gradation characteristics of the input image so that the gradation of the subject is correctly displayed in a display device with non-linear input / output characteristics. However, gamma processing may be performed for other purposes, such as to sufficiently express the color of the subject or to suppress blackout and overexposure on the premise of post-editing.
また、特許文献2に記載されるように、LCDなどの表示装置に映画とグラフィックスの画像データを同時に表示する際に、映画を表示する領域とグラフィックスを表示する領域とで異なるガンマ処理を適用することも知られている。 Further, as described in Patent Document 2, when simultaneously displaying movie and graphics image data on a display device such as an LCD, different gamma processing is performed for the movie display region and the graphics display region. It is also known to apply.
合焦度合いは画像のコントラストの高さによって判定することができ、ピーキングやエッジ部分の波形画像の生成には、コントラストの高い部分を検出する処理が含まれる。また、部分拡大画像を表示する場合も、ユーザは部分拡大画像の鮮鋭度が高くなるようにMF操作を行う。 The degree of focusing can be determined by the high contrast of the image, and the generation of the peaking and the waveform image of the edge portion includes processing for detecting a high contrast portion. Also, when displaying a partially enlarged image, the user performs an MF operation so that the sharpness of the partially enlarged image is increased.
従って、現像処理のガンマ処理で適用される階調補正特性(ガンマカーブやガンマ特性などとも呼ばれる)が、画像のコントラストを低下させる特性である場合、フォーカスアシスト機能の有効性に影響を与える。このような階調補正特性の最も顕著な例としては、後編集を前提として黒潰れや白とびを抑えることを目的として適用される階調補正特性がある。現像処理で画像のコントラストが低下するガンマ処理が適用された場合、現像処理後の画像データに基づいてフォーカスアシスト機能を実行すると、適切なフォーカスアシスト画像が生成できず、フォーカスアシスト機能の有効性が低下してしまう。 Therefore, when the tone correction characteristic (also referred to as gamma curve or gamma characteristic) applied in the gamma process of the development process is a characteristic that lowers the contrast of the image, it affects the effectiveness of the focus assist function. As the most prominent example of such gradation correction characteristics, there is a gradation correction characteristic applied for the purpose of suppressing blackout and overexposure on the premise of post-editing. When gamma processing that reduces image contrast is applied during development processing, if the focus assist function is executed based on the image data after development processing, an appropriate focus assist image cannot be generated, and the effectiveness of the focus assist function may be reduced. It will decline.
本発明は、上述の従来技術の問題点に鑑みてなされたものであり、階調補正された画像が入力された場合であっても、有効なフォーカスアシスト画像を提供することが可能な撮像装置、制御方法およびプログラムを提供することを目的とする。 The present invention has been made in view of the problems of prior art described above, the gradation corrected even when the image is input, the image pickup apparatus capable of providing an effective focus assist image An object of the present invention is to provide a control method and a program.
上述の目的を達成するために、本発明の画像処理装置は、以下の構成を備えることを特徴とする。具体的には、フォーカスアシスト機能を有する撮像装置であって、撮像によって得られた画像データに対して、特性が異なる複数の第1の階調補正特性から選択された1つの第1の階調補正特性を用いた階調補正処理を含む現像処理を行って現像画像データを生成する現像手段と、現像画像データに対して、現像手段に用いられた第1の階調補正特性が階調性に与えた影響を低減する第2の階調補正特性を用いた階調補正処理を適用する補正手段と、補正手段によって補正された現像画像データから、フォーカスアシストに用いる補助画像データを生成する生成手段と、を備えることを特徴とする。 In order to achieve the above object, an image processing apparatus of the present invention is characterized by comprising the following arrangement. Specifically, in the imaging device having a focus assist function, one first gradation selected from a plurality of first gradation correction characteristics having different characteristics with respect to image data obtained by imaging a developing unit configured to generate a developed image data by performing a development process including tone correction processing using the correction characteristics, the developing image data, a first gradation correction characteristic gradation used in the developing means A correction unit that applies a gradation correction process using the second gradation correction characteristic that reduces the influence on the image and a generation that generates auxiliary image data used for focus assist from the developed image data corrected by the correction unit and wherein the obtaining Bei and means.
このような構成により、本発明によれば、階調補正された画像が入力された場合であっても、有効なフォーカスアシスト画像を提供することができる。 With such a configuration, according to the present invention, an effective focus assist image can be provided even when a tone-corrected image is input.
(実施形態1)
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下では、画像処理装置の一例としての、フォーカスアシスト機能を備えたデジタルビデオカメラに、本発明を適用した例を説明する。しかし、本発明は撮像機能を有する任意の電子機器はもとより、撮影や記録に関する機能を有さない電子機器にも適用可能である。これらの電子機器には、携帯電話機、ゲーム機、タブレット端末、パーソナルコンピュータなどが含まれるが、これらは単なる例示である。
(Embodiment 1)
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the following, an example in which the present invention is applied to a digital video camera having a focus assist function as an example of an image processing apparatus will be described. However, the present invention can be applied not only to any electronic device having an imaging function, but also to an electronic device that does not have a function relating to shooting and recording. These electronic devices include mobile phones, game machines, tablet terminals, personal computers, etc., but these are merely examples.
(画像処理装置の構成)
図1は、本発明の実施形態に係る画像処理装置の一例としてのデジタルビデオカメラの機能構成例を示すブロック図である。
(Configuration of image processing apparatus)
FIG. 1 is a block diagram illustrating a functional configuration example of a digital video camera as an example of an image processing apparatus according to an embodiment of the present invention.
なお、図1に示す機能ブロックの1つ以上は、ASICやプログラマブルロジックアレイ(PLA)などのハードウェアで実現されてもよいし、CPUやMPU等のプログラマブルプロセッサがソフトウェアを実行することによって実現されてもよい。また、ソフトウェアとハードウェアの組み合わせによって実現されてもよい。従って、以下の説明において、異なる機能ブロックが動作主体として記載されている場合であっても、実際には同じハードウェアが主体として実現されうる。 One or more of the functional blocks shown in FIG. 1 may be realized by hardware such as an ASIC or a programmable logic array (PLA), or may be realized by executing software by a programmable processor such as a CPU or MPU. May be. Further, it may be realized by a combination of software and hardware. Therefore, in the following description, even when different functional blocks are described as the operation subject, the same hardware can actually be realized as the subject.
図1において、撮影レンズ群123は、被写体像をセンサー部101の撮像面上に結像する光学系を構成し、入射光量やフォーカスの調節及び、絞り調整機能を備える。
In FIG. 1, a photographing
センサー部101は、光電変換素子を有する画素が複数、2次元的に配列された構成を有する。センサー部101は、撮影レンズ群123により結像された被写体光学像を各画素で光電変換し、さらにA/D変換回路によってアナログ・デジタル変換して、画素単位のデジタル信号(画像データ)を出力する。
The
センサー部101は、CCD(Charge-Coupled Device)イメージセンサーやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサーなどの撮像素子であってよい。センサー部101は例えば原色ベイヤー配列のカラーフィルタを有し、各画素には、R(赤)、G(緑)、B(青)の何れかのカラーフィルタが設けられている。センサー部101は、これらの色成分ごとに分離したRGB形式で画像データを出力する。
The
センサー部101はまた、高速出力のために、複数個の画素値から1個の画素値を求めることにより出力画像を縮小する画素加算処理を行ってRGB形式の画像データを出力する場合もある。
The
センサー補正部102は、センサー部101が出力する画像データに対し、撮影レンズ群123により生じた収差の補正処理や、センサーの欠陥画素を補間する処理を行ない、RGB形式の画像データを出力する。
The
現像処理部103は、センサー補正部102から得られたRGB形式の画像データを受信し、これを入力画像データとしてRGBのオフセット調整、ゲイン調整、ベイヤー配列の補間処理、および現像ガンマ処理等を行う。
The
本実施形態における現像ガンマ処理は、例えば、図2(a)に示す入力輝度と出力輝度の関係(階調補正特性。ガンマカーブ、ガンマ特性などと呼ばれる)に基づいて入力画像データを補正する処理を指す。現像ガンマ処理に用いられる階調補正特性(第1の階調補正特性)は、センサー部101や撮影レンズ群123などの特性を考慮して、ユーザが所望する階調性を有する画像を生成するための階調補正特性であり、本実施形態では、現像ガンマ特性という。
The development gamma processing in the present embodiment is, for example, processing for correcting input image data based on the relationship between input luminance and output luminance (gradation correction characteristics, called gamma curve, gamma characteristics, etc.) shown in FIG. Point to. The gradation correction characteristic (first gradation correction characteristic) used for the development gamma processing generates an image having a gradation characteristic desired by the user in consideration of characteristics of the
現像処理部103は、CPU121の指示により、現像処理を行う際に適用する現像ガンマ特性を設定する。CPU121は、予め把握しているセンサー部101や撮影レンズ群123などの特性や表示機器に応じて現像ガンマ特性を決定してよい。また、CPU121は、操作部122を通じて入力されたユーザ指示に基づいて現像ガンマ特性を決定してもよい。現像ガンマ特性の設定は、現像処理部103に予め設定された複数の現像ガンマ特性の1つを特定する情報をCPU121から現像処理部103に通知することによって行うことができるが、他の方法を用いてもよい。
The
このように、本実施形態においては、現像処理部103が用いる現像ガンマ特性を複数の現像ガンマ特性から選択可能とすることで、目的に応じた階調特性を有する画像データを生成可能となる。これらの階調特性には、例えば、TVモニタ等の各種ディスプレイ機器の表示に適した階調特性や、後編集を前提とした、高ダイナミックレンジ画像の入力を可能とする階調特性などがある。
As described above, in this embodiment, the development gamma characteristic used by the
高ダイナミックレンジ画像に用いる現像ガンマ特性の例には、いわゆるlogガンマがある。logガンマとは、入力値に対して出力値が対数的に増加する特性を示す階調補正特性である。logガンマを用いることにより、画像データの有するビット数で表現される範囲よりも大きな範囲の階調を表現することが可能となり、白飛びや黒つぶれが生じにくい、後編集に適した画像データを生成することができる。 An example of development gamma characteristics used for high dynamic range images is so-called log gamma. The log gamma is a gradation correction characteristic indicating a characteristic that an output value increases logarithmically with respect to an input value. By using log gamma, it is possible to express gradations in a range larger than the range expressed by the number of bits of image data, and image data suitable for post-editing that is less likely to cause over-exposure or under-exposure. Can be generated.
色信号変換部104は、現像処理部103からのRGB形式の画像データを輝度成分(Y)と色差成分(Cb、Cr)からなるYCC形式の画像データに変換して出力する。
The color
符号化部105は、このYCC形式の画像データ、記録フォーマットに合わせて圧縮符号化するとともに、ヘッダなどの付加情報を含んだ記録用の画像ファイルを生成する。符号化部105は、画像ファイルを半導体メモリカードなどの記録メディア106に記録する。
The
表示画像補正部107は、現像処理部103の出力画像データを表示部110に表示するために補正する。この補正は例えば表示部110の入出力特性に応じた階調補正処理であってよい。例えば、表示部110がガンマ値2.2の入出力特性を持つ場合、現像処理部103の出力画像データの階調が表示部110で正しく表示されるよう、表示部110の入出力特性の逆特性を有するガンマ特性を用いて補正する。一般に表示部110の入出力特性は固定であるため、表示画像補正部107が用いるガンマ特性は予め設定しておくことができる。
The display
第1選択部108は、CPU121の指示により、現像処理部103の出力画像データと表示画像補正部107の出力画像データの一方を出力する。
The
現像ガンマ特性が表示部110の入出力特性の逆特性であれば、表示画像補正部107における補正処理は不要である。そのため、CPU121は、まず、現像処理部103に設定した現像ガンマ特性と、表示部110の入出力特性とが逆特性の関係を満たすかどうかを判定する。そして、逆特性の関係を満たすと判定する場合には現像処理部103の出力画像データを出力するように第1選択部108に指示する。この判定は例えば現像ガンマ特性のうちどれが表示部110の入出力特性と逆特性であるかを予め記憶しておき、現在設定されている現像ガンマ特性と記憶されている現像ガンマ特性とが合致するかどうかに基づいて行うことができる。
If the development gamma characteristic is the reverse characteristic of the input / output characteristic of the
評価画像補正部111は、補助画像生成部113で評価する画像データを生成するため、現像処理部103からの画像データに階調補正処理を適用する。
The evaluation
評価画像補正部111における階調補正処理は、センサー補正部102が出力した画像データの階調性が現像ガンマ処理によって受けた影響を低減するための処理であり、換言すれば現像ガンマ処理前の画像データに近づけるための処理である。従って、評価画像補正部111で用いる階調補正特性(第2の階調補正特性)は、現像処理部103における現像ガンマ特性に応じて決定される。
The gradation correction process in the evaluation
例えば、図2(a)に示す現像ガンマ特性が用いられる場合、評価画像補正部111で現像ガンマ特性の逆特性である階調補正特性(図2(b))を用いれば、画像データの階調性が現像ガンマ処理で受けた影響を相殺することができる(図2(c))。
For example, when the development gamma characteristic shown in FIG. 2A is used, if the gradation correction characteristic (FIG. 2B) which is the reverse characteristic of the development gamma characteristic is used in the evaluation
評価画像補正部111で階調補正処理を行った画像データに基づいてフォーカスアシスト画像データを生成することで、画像のコントラストを低下させる現像ガンマ特性が用いられる場合であっても、有効なフォーカスアシスト機能を提供することができる。
Even when a development gamma characteristic that reduces the contrast of an image is used by generating focus assist image data based on image data that has been subjected to tone correction processing by the evaluation
なお、説明及び理解を容易にするため、評価画像補正部111で用いる階調補正特性が、現像ガンマ特性の逆特性である場合を例示したが、評価画像補正部111で用いる階調補正特性は現像ガンマ特性の逆特性でなくてもよい。
For ease of explanation and understanding, the case where the gradation correction characteristic used in the evaluation
また、評価画像補正部111により出力される特性、つまり現像ガンマ特性と評価画像補正部111で用いられる階調補正特性との組み合わせによって得られる階調補正特性が、必ずしも線形な特性でなくてよい。現像ガンマ特性による階調圧縮が低減される特性であれば本実施形態の効果は得られる。
Further, the characteristic output from the evaluation
また、評価画像補正部111が用いる階調補正特性は、操作部122及びCPU121を通じてユーザにより指定されるものが設定されてもよい。
The gradation correction characteristics used by the evaluation
第2選択部112は、第1選択部108と同様に、CPU121の指示により、現像処理部103の出力画像データと評価画像補正部111の出力画像データの一方を出力する。
Similar to the
CPU121は、例えば、予め定められた、評価画像補正部111による階調補正処理を行う必要がない現像ガンマ特性が用いられている場合には、第2選択部112に対して、現像処理部103からの画像データを出力するよう指示をしてもよい。
For example, when a development gamma characteristic that does not need to be subjected to gradation correction processing by the evaluation
ここで、評価画像補正部111による階調補正処理を行う必要がない現像ガンマ特性とは、第1選択部108が現像処理部103からの画像データを出力する場合と同じ現像ガンマ特性であってよい。あるいは、現在設定されている現像ガンマ特性が、予め定められた、フォーカスアシスト機能への影響が少ない特性であれば、現像処理部103の出力画像データをそのまま補助画像生成部113に供給するようにしてもよい。
Here, the development gamma characteristic that does not require the gradation correction processing by the evaluation
補助画像生成部113は、第2選択部112から入力された画像データからフォーカスアシスト画像のデータを生成する。上述の通り、フォーカスアシスト機能には、ピーキング、部分拡大表示、エッジモニタ機能などがある。
The auxiliary
ピーキングとは、合焦している部分のエッジを強調表示する機能であり、部分拡大表示は、画面の一部を拡大して合焦度合いを視認しやすくする機能である。また、エッジモニタは、合焦状態を波形で表示し、合焦度合いが高いほど大きな波形を表示する機能である。 Peaking is a function that highlights the edge of a focused part, and the partial enlarged display is a function that enlarges a part of the screen and makes it easy to visually recognize the degree of focus. The edge monitor is a function that displays the in-focus state as a waveform, and displays a larger waveform as the degree of focus is higher.
補助画像生成部113は、現在設定されているフォーカスアシスト機能に応じたフォーカスアシスト画像のデータを生成して出力する。なお、フォーカスアシスト機能およびフォーカスアシスト画像のデータ生成については公知の構成を用いることができるため、その詳細についての説明は省略する。
The auxiliary
表示合成部109は、第1選択部108からの表示画像データに補助画像生成部113からのフォーカスアシスト画像データ(補助画像データ)を合成した合成画像データを生成し、表示部110に供給する回路である。合成画像データは、表示部110で表示される。なお、表示画像データに対してどのようにフォーカスアシスト画像データを合成するかは、例えばフォーカスアシスト機能ごとに予め定められている。フォーカスアシスト画像が表示画像に重畳表示されるように合成してもよいし、別個の表示領域(別個の表示装置である場合を含む)に表示されるように合成してもよい。いずれにせよ、フォーカスアシスト画像は表示画像(撮像画像)と同時に表示される。なお、表示部110は外部に接続される形態であってもよい。
The
以上説明した処理は、例えばライブビュー表示時のような動画撮影時に、各フレーム画像に対して実施することができるが、フォーカスアシスト画像の生成は数フレームごとに実施してもよい。 The processing described above can be performed on each frame image at the time of moving image shooting such as during live view display, but the generation of the focus assist image may be performed every several frames.
CPU121は、ユーザから操作部122を通じて入力されたマニュアルフォーカス操作に応じて、フォーカス調整部120に制御信号を出力する。フォーカス調整部120は例えばモータ等によって撮影レンズ群123に含まれるフォーカシングレンズを駆動し、撮影レンズ群123の合焦位置を変化させる。合焦位置の変化を反映した画像が撮像され、フォーカスアシスト画像が撮像画像に応じて変化する。従って、ユーザは、フォーカスアシスト画像の変化を観察しながらマニュアルフォーカス操作を行うことで、所望の合焦状態を得ることができる。
The
なお、実施形態に係る画像処理装置が現像処理部103を含まない構成(現像処理部103の出力画像データが入力される形態)である場合、現像ガンマ特性についての情報は現像処理部103を有する装置(例えば撮像装置)から取得すればよい。あるいは、入力画像データの付加情報から現像ガンマ特性の情報を取得してもよい。
Note that when the image processing apparatus according to the embodiment has a configuration that does not include the development processing unit 103 (a form in which the output image data of the
以上説明したように本実施形態によれば、階調補正処理が適用された画像データに対し、適用されている階調補正特性が階調に与えた影響を低減するような階調補正処理をさらに適用した後にフォーカスアシスト画像を生成するようにした。そのため、例えばコントラストが大幅に低下するような階調補正処理がなされた画像データが入力される場合であっても、有効なフォーカスアシスト画像を生成することができる。 As described above, according to the present embodiment, the gradation correction processing that reduces the influence of the applied gradation correction characteristics on the gradation is applied to the image data to which the gradation correction processing is applied. After further application, a focus assist image is generated. Therefore, for example, an effective focus assist image can be generated even when image data that has been subjected to gradation correction processing that significantly reduces contrast is input.
(実施形態2)
次に、本発明の実施形態2について説明する。本実施形態の画像処理装置は、現像処理部103および評価画像補正部111の動作以外、実施形態1と同様であるため、重複する説明は省略し、相違点について重点的に説明する。
(Embodiment 2)
Next, Embodiment 2 of the present invention will be described. The image processing apparatus according to the present embodiment is the same as that of the first embodiment except for the operations of the
本実施形態は、現像処理部103が複数の現像ガンマ特性の1つを選択的に利用して現像ガンマ処理を行い、評価画像補正部111の階調補正特性が現像ガンマ特性の変化による階調性への影響の変動を低減するように決定される点で、実施形態1と異なる。
In this embodiment, the
現像ガンマ特性が切り替えられると、現像処理部103から出力される画像データの階調性が変化する。評価画像補正部111で適用する階調補正特性が一定の場合、実際の被写体輝度が変化しないにもかかわらず、補助画像生成部113が生成するフォーカスアシスト画像が変化してしまう。このため、合焦状態を正確に把握できず、フォーカス調整に支障をきたすことがある。
When the development gamma characteristic is switched, the gradation of the image data output from the
現像処理部103は、予め用意された複数の現像ガンマ特性のうち、CPU121から設定された1つを用いて現像ガンマ処理を行う。CPU121は、操作部122を通じて入力された現像ガンマ特性に関するユーザ指示に基づいて現像ガンマ特性を設定または変更してもよい。
The
そして、現像処理部103は、実施形態1と同様に現像ガンマ処理を入力画像データに適用し、設定された現像ガンマ特性に応じた階調性を有する画像データを出力する。
The
上述の通り、本実施形態における評価画像補正部111の階調補正処理は、現像ガンマ特性が変更されることによる出力画像データの階調性の変動を低減するための処理である。例えば、評価画像補正部111に設定される階調補正特性は、使用されている現像ガンマ特性との組み合わせによって実現される階調補正特性が実質的に一定となるように、現像ガンマ特性に応じて設定される。
As described above, the gradation correction processing of the evaluation
典型的には、現像ガンマ特性の逆特性を評価画像補正部111に設定することができる。評価画像補正部111で現像ガンマ特性の逆特性を用いるように設定することで、現像ガンマ処理が画像データの階調性に与える影響、ひいてはフォーカスアシスト画像に与える影響を、現像ガンマ特性が変化しても相殺することができる。
Typically, the inverse characteristic of the development gamma characteristic can be set in the evaluation
評価画像補正部111で用いる階調特性は、CPU121が決定し、評価画像補正部111に設定することができる。上述の通りCPU121は現像ガンマ特性の設定も行うため、例えば現像ガンマ特性を現像処理部103に設定(もしくは変更)する際に、現像ガンマ特性に応じた階調補正特性を評価画像補正部111に設定することができる。もちろん、評価画像補正部111への階調補正特性の設定方法及びタイミングはこれに限定されない。
The gradation characteristics used in the evaluation
なお、現像ガンマ特性に応じて、評価画像補正部111にどの階調補正特性を設定すべきかについても、様々な方法で決定することができる。例えば現像処理部103と評価画像補正部111とがそれぞれ、適用可能な複数の階調補正特性を記憶している場合、逆特性となる組み合わせを予め記憶しておけばよい。
Depending on the development gamma characteristic, which gradation correction characteristic should be set in the evaluation
また、階調補正特性の設定は、CPU121が、現像処理部103に対して現像ガンマ特性を特定する情報を通知する際に、評価画像補正部111に対して適用する階調補正特性を特定する情報を通知することで行うことができるが、他の方法を用いてもよい。
The gradation correction characteristic is set by specifying the gradation correction characteristic to be applied to the evaluation
例えば、現像処理部103が評価画像補正部111に現像ガンマ特性の情報を通知し、評価画像補正部111が予め記憶された対応関係に従って使用する階調補正特性を変更してもよい。また、画像データの付加情報などに現像ガンマ特性に関する情報が含まれる場合、評価画像補正部111がこの情報を監視し、現像ガンマ特性に変化があった場合には自身の階調補正特性を変更してもよい。
For example, the
このように、本実施形態では、評価画像補正部111が、現像ガンマ特性が変更されることによる出力画像データの階調性の変動を低減するような階調補正処理を適用する。そのため、現像処理部103で用いられる現像ガンマ特性の変化がフォーカスアシスト画像の階調性に与える影響の変動を低減し、有効なフォーカスアシスト画像を生成することができる。
As described above, in this embodiment, the evaluation
なお、説明及び理解を容易にするため、評価画像補正部111で用いる階調補正特性が、現像ガンマ特性の逆特性である場合を例示した。しかし、現像ガンマ特性が変更されることによる出力画像データの階調性の変動を低減できれば、評価画像補正部111で用いる階調補正特性は必ずしも現像ガンマ特性の逆特性でなくてもよい。また、現像ガンマ特性と評価画像補正部111で用いられる階調補正特性との組み合わせによって得られる階調補正特性が必ずしも線形な特性でなくてよい。
For ease of explanation and understanding, the case where the gradation correction characteristic used in the evaluation
以上、本発明を例示的な実施形態について説明したが、本発明の範囲は特許請求の範囲によってのみ規定され、これらの実施形態に記載された構成に限定されない。本発明の範囲内で種々の変形及び変更が可能である。 While the present invention has been described with reference to exemplary embodiments, the scope of the present invention is defined only by the claims and is not limited to the configurations described in these embodiments. Various modifications and changes are possible within the scope of the present invention.
[その他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (8)
撮像によって得られた画像データに対して、特性が異なる複数の第1の階調補正特性から選択された1つの第1の階調補正特性を用いた階調補正処理を含む現像処理を行って現像画像データを生成する現像手段と、
前記現像画像データに対して、前記現像手段に用いられた前記第1の階調補正特性が階調性に与えた影響を低減する第2の階調補正特性を用いた階調補正処理を適用する補正手段と、
前記補正手段によって補正された前記現像画像データから、フォーカスアシストに用いる補助画像データを生成する生成手段と、を備えることを特徴とする撮像装置。 An imaging device having a focus assist function,
Development processing including gradation correction processing using one first gradation correction characteristic selected from a plurality of first gradation correction characteristics having different characteristics is performed on image data obtained by imaging. a developing unit configured to generate a developed image data,
A gradation correction process using a second gradation correction characteristic that reduces the influence of the first gradation correction characteristic used in the developing unit on the gradation is applied to the developed image data. Correction means to
Wherein from the developed image data corrected by the correction means, the image pickup apparatus characterized by obtaining Bei generating means for generating an auxiliary image data used for focus assist, the.
現像手段が、撮像によって得られた画像データに対して、特性が異なる複数の第1の階調補正特性から選択された1つの第1の階調補正特性を用いた階調補正処理を含む現像処理を行って現像画像データを生成する現像工程と、
補正手段が、前記現像画像データに対して、前記現像工程において用いられた前記第1の階調補正特性が階調性に与えた影響を低減する第2の階調補正特性を用いた階調補正処理を適用する補正工程と、
生成手段が、前記補正工程において補正された前記現像画像データから、フォーカスアシストに用いる補助画像データを生成する生成工程と、を備えることを特徴とする撮像装置の制御方法。 A method for controlling an imaging apparatus having a focus assist function,
Development including a gradation correction process in which the developing unit uses one first gradation correction characteristic selected from a plurality of first gradation correction characteristics having different characteristics with respect to image data obtained by imaging. A development step for performing processing to generate developed image data;
A gradation using a second gradation correction characteristic for the correction means to reduce the influence of the first gradation correction characteristic used in the development step on the gradation property with respect to the developed image data A correction process for applying the correction process;
The method of the imaging apparatus generating means, characterized in that said the developed image data corrected in the correction step, obtain Preparations and generating step, the generating the auxiliary image data used for focus assist.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013252412A JP6247513B2 (en) | 2013-12-05 | 2013-12-05 | Imaging apparatus, control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013252412A JP6247513B2 (en) | 2013-12-05 | 2013-12-05 | Imaging apparatus, control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015109611A JP2015109611A (en) | 2015-06-11 |
JP6247513B2 true JP6247513B2 (en) | 2017-12-13 |
Family
ID=53439665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013252412A Active JP6247513B2 (en) | 2013-12-05 | 2013-12-05 | Imaging apparatus, control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6247513B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2024140517A (en) * | 2023-03-28 | 2024-10-10 | キヤノン株式会社 | Electronic device, electronic device control method, and program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0393363A (en) * | 1989-09-06 | 1991-04-18 | Hitachi Ltd | Contour correction circuit |
JPH05176201A (en) * | 1991-12-25 | 1993-07-13 | Matsushita Electric Ind Co Ltd | Contour correction device |
JP5390913B2 (en) * | 2009-04-08 | 2014-01-15 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP5744490B2 (en) * | 2010-12-01 | 2015-07-08 | キヤノン株式会社 | Image processing method, image processing apparatus, storage medium, and program |
JP2013038730A (en) * | 2011-08-11 | 2013-02-21 | Canon Inc | Display device |
-
2013
- 2013-12-05 JP JP2013252412A patent/JP6247513B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015109611A (en) | 2015-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101951457B (en) | Image processing apparatus and computer-readable medium | |
JP6420540B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
JP5123137B2 (en) | Imaging apparatus and imaging method | |
JP5873380B2 (en) | Image processing apparatus and control method thereof | |
JP6720881B2 (en) | Image processing apparatus and image processing method | |
JP2010081002A (en) | Image pickup apparatus | |
JP2010074813A (en) | Imaging apparatus and imaging method | |
JP4433883B2 (en) | White balance correction device, white balance correction method, program, and electronic camera device | |
JP5223686B2 (en) | Imaging apparatus and imaging method | |
JP5861924B2 (en) | Imaging device | |
JP4985220B2 (en) | Image processing apparatus, camera, image processing program, and image processing method | |
JP5589660B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
US9912873B2 (en) | Image pickup apparatus equipped with display section and method of controlling the same | |
US8102446B2 (en) | Image capturing system and image processing method for applying grayscale conversion to a video signal, and computer-readable recording medium having recorded thereon an image processing program for applying grayscale conversion to a video signal | |
JP6247513B2 (en) | Imaging apparatus, control method, and program | |
JP5284183B2 (en) | Image processing apparatus and method | |
JP2015126416A (en) | Image processing apparatus, control method, and program | |
JP2006253970A (en) | Imaging apparatus, shading correction data generating method, and program | |
JP5975705B2 (en) | Imaging apparatus and control method thereof, image processing apparatus, and method for image processing | |
US20200314349A1 (en) | Image processing device, image processing method, and program | |
JP4978669B2 (en) | Image processing apparatus, electronic camera, and image processing program | |
JP4868040B2 (en) | Image processing apparatus, electronic camera, and image processing program | |
JP2019201269A (en) | Imaging apparatus | |
JP2013115547A (en) | Imaging apparatus and control method of the same | |
JP2019134203A (en) | Imaging apparatus and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161125 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170629 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170707 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170905 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171020 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171117 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6247513 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |