JP6060552B2 - Image processing apparatus, imaging apparatus, and image processing program - Google Patents

Image processing apparatus, imaging apparatus, and image processing program Download PDF

Info

Publication number
JP6060552B2
JP6060552B2 JP2012172017A JP2012172017A JP6060552B2 JP 6060552 B2 JP6060552 B2 JP 6060552B2 JP 2012172017 A JP2012172017 A JP 2012172017A JP 2012172017 A JP2012172017 A JP 2012172017A JP 6060552 B2 JP6060552 B2 JP 6060552B2
Authority
JP
Japan
Prior art keywords
image
subject
brightness
image data
unit
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
Application number
JP2012172017A
Other languages
Japanese (ja)
Other versions
JP2014033305A (en
Inventor
艶子 松下
艶子 松下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2012172017A priority Critical patent/JP6060552B2/en
Publication of JP2014033305A publication Critical patent/JP2014033305A/en
Application granted granted Critical
Publication of JP6060552B2 publication Critical patent/JP6060552B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Studio Devices (AREA)
  • Picture Signal Circuits (AREA)

Description

本発明は、画像処理装置、撮像装置および画像処理プログラムに関する。   The present invention relates to an image processing device, an imaging device, and an image processing program.

従来、夜景や舞台など、明るさや色調(彩度など)に斑のある被写界を撮像した画像に対して、明るさや色調の斑を補正し画質を向上させている。   Conventionally, with respect to an image obtained by capturing an image of a scene with spots in brightness and color tone (saturation, etc.) such as a night view and a stage, the image quality is improved by correcting the spots of brightness and color tone.

例えば、ホワイトバランス処理において、画像全体の色評価値に基づいて第1のホワイトバランス補正値を算出し、検出された顔領域に対して第1のホワイトバランス補正値で補正した際に所望の肌色になるか否かを予め評価し、所望の肌色にならなかった場合、所望の肌色となるようにそのズレを小さくする第2のホワイトバランス補正値を算出し、第1のホワイトバランス補正値と合わせて用いることにより、画像全体の色調を補正する技術がある(特許文献1など参照)。   For example, in white balance processing, a first white balance correction value is calculated based on the color evaluation value of the entire image, and a desired skin color is obtained when the detected face area is corrected with the first white balance correction value. In the case where the desired skin color is not obtained, a second white balance correction value for reducing the deviation so as to obtain the desired skin color is calculated, and the first white balance correction value There is a technique for correcting the color tone of the entire image by using them together (see Patent Document 1, etc.).

特開2009−159496号公報JP 2009-159596 A

しかしながら、従来技術では、画像の明るさや色調の斑を完全に取り除くことは困難である。そして、そのような明るさおよび色調の斑が取り除かれずに残った画像に対して、ノイズ除去処理やシャープネス処理などを施して画像の鮮鋭度を調整した場合、画像全体の明るさや色調が不自然となり、逆に画質が低下してしまうという問題がある。   However, it is difficult for the prior art to completely remove the brightness and color tone spots of the image. Then, when the sharpness of the image is adjusted by applying noise reduction processing or sharpness processing to the image that remains without removing such brightness and color tone spots, the overall brightness and color tone of the image is unnatural. On the contrary, there is a problem that the image quality is deteriorated.

上記従来技術が有する問題に鑑み、本発明の目的は、画質を低下させることなく画像の鮮鋭度を調整することができる技術を提供することにある。   In view of the problems of the above-described conventional technology, an object of the present invention is to provide a technology capable of adjusting the sharpness of an image without degrading the image quality.

上記課題を解決するために、本発明を例示する画像処理装置の一態様は、画像データから主要被写体および主要被写体に類似する類似被写体を検出する被写体検出部と、画像データにおける明るさおよび色調の斑を補正する第1補正部と、第1補正部により補正された画像データの明るさおよび色調の分布に基づいて、少なくとも主要被写体および類似被写体の画像領域における鮮鋭度を調整する第2補正部と、を備える。   In order to solve the above problems, an aspect of an image processing apparatus illustrating the present invention includes a subject detection unit that detects a main subject and a similar subject similar to the main subject from image data, and brightness and color tone in the image data. A first correction unit that corrects spots, and a second correction unit that adjusts the sharpness of at least the main subject and similar subject image areas based on the brightness and tone distribution of the image data corrected by the first correction unit And comprising.

また、第2補正部は、ノイズ除去処理および/またはシャープネス処理により鮮鋭度を調整してもよい。   In addition, the second correction unit may adjust the sharpness by noise removal processing and / or sharpness processing.

また、第2補正部は、主要被写体と類似被写体との明るさおよび色調に基づいて、主要被写体および類似被写体の画像領域に対するノイズ除去処理および/またはシャープネス処理の度合いを調整してもよい。   Further, the second correction unit may adjust the degree of noise removal processing and / or sharpness processing for the image areas of the main subject and the similar subject based on the brightness and color tone of the main subject and the similar subject.

また、主要被写体は、合焦領域に位置する被写体であり、類似被写体は、合焦領域以外の領域に位置する被写体であり、第2補正部は、主要被写体と類似被写体との合焦状態に基づいて、シャープネス処理の度合いを調整してもよい。   The main subject is a subject located in the in-focus region, the similar subject is a subject located in a region other than the in-focus region, and the second correction unit is in a focused state between the main subject and the similar subject. Based on this, the degree of sharpness processing may be adjusted.

本発明を例示する撮像装置の一態様は、被写界を撮像して画像データを生成する撮像部と、本発明の画像処理装置と、を備える。   One aspect of an imaging apparatus illustrating the present invention includes an imaging unit that captures an image of an object scene and generates image data, and the image processing apparatus of the present invention.

また、被写界を測光する測光部を備え、第1補正部は、測光部による測光結果に基づいて、画像データの明るさおよび色調の斑を補正してもよい。   In addition, a photometric unit that performs photometry of the object scene may be provided, and the first correction unit may correct the brightness and color tone of the image data based on the photometric result of the photometric unit.

また、被写界の合焦状態を検出する合焦検出部を備え、第2補正部は、主要被写体と類似被写体との合焦状態に基づいて、シャープネス処理の度合いを調整してもよい。   In addition, a focus detection unit that detects the focus state of the object scene may be provided, and the second correction unit may adjust the degree of sharpness processing based on the focus state of the main subject and the similar subject.

本発明を例示する画像処理プログラムの一態様は、画像データを読み込む入力手順、画像データから主要被写体および主要被写体に類似する類似被写体を検出する被写体検出手順、画像データにおける明るさおよび色調の斑を補正する第1補正手順、第1補正手順により補正された画像データの明るさおよび色調の分布に基づいて、少なくとも主要被写体および類似被写体の画像領域における鮮鋭度を調整する第2補正手順、をコンピュータに実行させる。 An aspect of the image processing program illustrating the present invention includes an input procedure for reading image data, a subject detection procedure for detecting a main subject and a similar subject similar to the main subject from the image data, and brightness and color tone spots in the image data. A first correction procedure for correcting, and a second correction procedure for adjusting sharpness at least in the image areas of the main subject and similar subjects based on the brightness and tone distribution of the image data corrected by the first correction procedure. To run.

本発明によれば、画質を低下させることなく画像の鮮鋭度を調整することができる。   According to the present invention, it is possible to adjust the sharpness of an image without degrading the image quality.

本発明の一の実施形態に係るデジタルカメラの構成を示すブロック図1 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention. 一の実施形態に係るデジタルカメラの処理動作を示すフローチャート7 is a flowchart showing processing operations of a digital camera according to an embodiment. 被写界の一例を示す図A figure showing an example of the object scene 明るさおよび色調とノイズ除去処理およびシャープネス処理の度合いとの関係を示す図The figure which shows the relationship between brightness and color tone and the degree of noise removal processing and sharpness processing 図4に示す関係をグラフで表した図Graph showing the relationship shown in FIG.

図1は、本発明の一の実施形態に係るデジタルカメラ1の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a digital camera 1 according to an embodiment of the present invention.

本実施形態のデジタルカメラ1は、撮像光学系11、撮像素子12、AFE13、バッファメモリ14、モニタ15、記憶部16、記録I/F17、レンズ駆動部19、CPU20、操作部材25、バス26から構成される。バッファメモリ14、モニタ15、記憶部16、記録I/F17、CPU20は、バス26を介して情報伝達可能にそれぞれ接続される。また、レンズ駆動部19および操作部材25は、CPU20に接続される。   The digital camera 1 according to this embodiment includes an imaging optical system 11, an imaging device 12, an AFE 13, a buffer memory 14, a monitor 15, a storage unit 16, a recording I / F 17, a lens driving unit 19, a CPU 20, an operation member 25, and a bus 26. Composed. The buffer memory 14, the monitor 15, the storage unit 16, the recording I / F 17, and the CPU 20 are connected via a bus 26 so that information can be transmitted. The lens driving unit 19 and the operation member 25 are connected to the CPU 20.

撮像光学系11は、ズームレンズやフォーカシングレンズを含む複数のレンズ群で構成されている。撮像光学系11のレンズ位置は、CPU20の制御指示に基づいてレンズ駆動部19によって光軸方向に調整される。CPU20は、合焦検出部として、レンズ駆動部19による撮像光学系11の移動量に基づき合焦領域における被写体まで距離や合焦領域以外の被写体までの距離を算出する。なお、簡単のため、図1では撮像光学系11を1枚のレンズとして図示する。   The imaging optical system 11 includes a plurality of lens groups including a zoom lens and a focusing lens. The lens position of the imaging optical system 11 is adjusted in the optical axis direction by the lens driving unit 19 based on a control instruction from the CPU 20. As the focus detection unit, the CPU 20 calculates a distance to the subject in the focus region and a distance to the subject other than the focus region based on the amount of movement of the imaging optical system 11 by the lens driving unit 19. For simplicity, the imaging optical system 11 is illustrated as a single lens in FIG.

撮像素子12は、撮像光学系11を通過した光束によって結像される被写体を撮像するデバイスである。この撮像素子12の出力はAFE13に入力される。なお、本実施形態の撮像素子12は、順次走査方式の固体撮像素子(CCD等)であっても、XYアドレス方式の固体撮像素子(CMOS等)であってもよい。   The image pickup device 12 is a device that picks up an image of a subject imaged by a light beam that has passed through the image pickup optical system 11. The output of the image sensor 12 is input to the AFE 13. Note that the image sensor 12 of the present embodiment may be a progressive scan type solid-state image sensor (CCD or the like) or an XY address type solid-state image sensor (CMOS or the like).

また、撮像素子12の受光面には、複数の受光素子がマトリックス状に配列されている。撮像素子12の各受光素子には、赤色(R)、緑色(G)、青色(B)のカラーフィルタが公知のベイヤ配列にしたがって配置されている。そのため、撮像素子12の各受光素子は、カラーフィルタでの色分解によってそれぞれの色に対応する画像信号を出力する。これにより、撮像素子12は、カラーの画像を取得できる。   A plurality of light receiving elements are arranged in a matrix on the light receiving surface of the image sensor 12. In each light receiving element of the image sensor 12, red (R), green (G), and blue (B) color filters are arranged according to a known Bayer array. Therefore, each light receiving element of the imaging element 12 outputs an image signal corresponding to each color by color separation in the color filter. Thereby, the image sensor 12 can acquire a color image.

なお、デジタルカメラ1の撮影モードにおいて、撮像素子12は操作部材25のレリーズ釦の全押し操作に応答して記録画像(本画像)を撮像する。また、撮影モードでの撮像素子12は、撮影待機時にも所定の時間間隔で構図確認用画像(スルー画像)を撮像する。このスルー画像のデータは、撮像素子12から間引き読み出しで出力される。なお、スルー画像のデータは、モニタ15での画像表示や、CPU20による被写界の測光など各種演算処理などに使用される。   In the shooting mode of the digital camera 1, the image sensor 12 captures a recorded image (main image) in response to a full pressing operation of the release button of the operation member 25. Further, the imaging element 12 in the shooting mode captures a composition confirmation image (through image) at a predetermined time interval even during shooting standby. The through image data is output from the image sensor 12 by thinning-out readout. The through image data is used for various display processing such as image display on the monitor 15 and photometry of the object scene by the CPU 20.

AFE13は、撮像素子12の出力に対してアナログ信号処理を施すアナログフロントエンド回路である。このAFE13は、相関二重サンプリング、画像信号のゲインの調整、画像信号のA/D変換を行う。AFE13の出力は、バッファメモリ14に一時的に記録される。なお、本実施形態では、撮像素子12とAFE13とで撮像部を構成する。また、バッファメモリ14は、一般的な揮発性の半導体メモリ等を適宜選択して用いることができる。   The AFE 13 is an analog front end circuit that performs analog signal processing on the output of the image sensor 12. The AFE 13 performs correlated double sampling, image signal gain adjustment, and image signal A / D conversion. The output of the AFE 13 is temporarily recorded in the buffer memory 14. In the present embodiment, the imaging device 12 and the AFE 13 constitute an imaging unit. As the buffer memory 14, a general volatile semiconductor memory or the like can be appropriately selected and used.

モニタ15は、液晶モニタなどの表示部であり、CPU20の指示に応じて各種画像を表示する。また、CPU20は、モニタ15にスルー画像や本画像とともに、撮像に必要となる各種情報や、各種設定項目の入力を可能とするGUI(Graphical User Interface)形式の釦を重畳表示させてもよい。   The monitor 15 is a display unit such as a liquid crystal monitor and displays various images in accordance with instructions from the CPU 20. Further, the CPU 20 may superimpose and display a GUI (Graphical User Interface) button that allows input of various information necessary for imaging and various setting items together with the through image and the main image on the monitor 15.

記憶部16は、CPU20によって実行される制御プログラムや画像処理プログラムなどとともに、デジタルカメラ1によって撮像された本画像を記憶する。記憶部16には、不揮発性の半導体メモリなどを用いることができる。   The storage unit 16 stores a main image captured by the digital camera 1 together with a control program and an image processing program executed by the CPU 20. As the storage unit 16, a nonvolatile semiconductor memory or the like can be used.

記録I/F17には、記憶媒体18を接続するためのコネクタが形成されている。そして、記録I/F17は、コネクタに接続された記憶媒体18に対してデータの書き込み/読み込みを実行する。上記記憶媒体18は、ハードディスクや、半導体メモリを内蔵したメモリカードなどで構成される。なお、図1では記憶媒体18の一例としてメモリカードを示す。   A connector for connecting the storage medium 18 is formed in the recording I / F 17. The recording I / F 17 executes data writing / reading with respect to the storage medium 18 connected to the connector. The storage medium 18 is composed of a hard disk, a memory card incorporating a semiconductor memory, or the like. In FIG. 1, a memory card is shown as an example of the storage medium 18.

CPU20は、デジタルカメラ1の各部を統括的に制御するプロセッサである。CPU20は、制御プログラムを実行することにより、スルー画像のデータに基づいて、位相差検出方式やコントラスト検出方式による公知の自動焦点(AF)制御や、自動露出(AE)演算などを行う。また、CPU20は、撮像した本画像のファイルの生成処理やモニタ15に対する表示制御などを行う。さらに、本実施形態のCPU20は、画像処理プログラムの実行により、画像処理部21、顔検出部22、第1補正部23、第2補正部24として動作する。   The CPU 20 is a processor that comprehensively controls each unit of the digital camera 1. The CPU 20 executes a known automatic focus (AF) control by a phase difference detection method or a contrast detection method, an automatic exposure (AE) calculation, and the like based on the through image data by executing a control program. Further, the CPU 20 performs processing for generating a file of the captured main image, display control for the monitor 15, and the like. Furthermore, the CPU 20 of the present embodiment operates as an image processing unit 21, a face detection unit 22, a first correction unit 23, and a second correction unit 24 by executing the image processing program.

画像処理部21は、バッファメモリ14に記憶された1フレーム分の本画像のデジタル画像信号に対して、各種画像処理(例えば、色補間処理やホワイトバランス処理など)を施す。   The image processing unit 21 performs various types of image processing (for example, color interpolation processing and white balance processing) on the digital image signal of the main image for one frame stored in the buffer memory 14.

顔検出部22は、被写体検出部として、スルー画像や本画像の画像データに顔検出処理を施し、被写体である人物の顔領域を検出する。この顔検出処理は公知のアルゴリズムによって行われる。一例として、顔検出部22は、公知の特徴点抽出処理によって、眉,目,鼻,唇の各端点などの特徴点を画像から抽出し、これらの特徴点に基づいて顔領域か否かを判定する。あるいは、顔検出部22は、予め記憶部16に記憶された顔画像とスルー画像や本画像の画像データとの相関係数を求めたり、パターン認識処理を施したりして、相関係数やパターンの一致の度合いが一定の閾値を超えるときに顔領域と判定するようにしてもよい。   As the subject detection unit, the face detection unit 22 performs face detection processing on the image data of the through image and the main image, and detects the face area of the person who is the subject. This face detection process is performed by a known algorithm. As an example, the face detection unit 22 extracts feature points such as eyebrow, eye, nose, and lip end points from an image by a known feature point extraction process, and determines whether or not a face region is based on these feature points. judge. Alternatively, the face detection unit 22 obtains a correlation coefficient between the face image stored in the storage unit 16 in advance and the image data of the through image or the main image, or performs a pattern recognition process to obtain the correlation coefficient or the pattern. The face area may be determined when the degree of matching exceeds a certain threshold.

第1補正部23は、画像処理部21により各種画像処理が施された本画像に対し、画像全体の明るさおよび色調(彩度など)の斑を補正する。本実施形態では、画像全体の明るさおよび色調の斑の補正は、例えば、特開2009−44208号公報などの公知の方法を用いて行われるものとする。したがって、第1補正部23による本画像全体の明るさおよび色調の補正処理ついての詳細な説明は省略する。   The first correction unit 23 corrects unevenness of brightness and color tone (saturation, etc.) of the entire image on the main image that has been subjected to various image processing by the image processing unit 21. In the present embodiment, the correction of the brightness and color tone of the entire image is performed using a known method such as, for example, Japanese Unexamined Patent Application Publication No. 2009-44208. Therefore, a detailed description of the correction processing of the brightness and color tone of the entire main image by the first correction unit 23 is omitted.

第2補正部24は、第1補正部23の補正処理が施された本画像全体の明るさおよび色調の分布が均一か否かを判定し、その判定結果に基づいて鮮鋭度の調整処理を行う。なお、第2補正部24による鮮鋭度の調整処理については後ほど詳細に説明する。   The second correction unit 24 determines whether the brightness and color tone distribution of the entire main image subjected to the correction processing of the first correction unit 23 is uniform, and performs sharpness adjustment processing based on the determination result. Do. The sharpness adjustment processing by the second correction unit 24 will be described in detail later.

操作部材25は、例えば、レリーズ釦、電源釦、コマンドダイヤル、十字状のカーソルキー、決定釦などで構成される。そして、操作部材25はデジタルカメラ1の各種入力をユーザから受け付ける。例えば、操作部材25は、デジタルカメラ1の動作モードの切替操作や、設定画面での入力操作などに用いられる。なお、操作部材25は、パネル表面に接触したスタイラス(または指先など)の位置を検出し、検出した位置情報をCPU20に出力することでユーザからの指示入力を受け付けるタッチパネルであってもよい。そのタッチパネルは、モニタ15と同形状の透明のパネルで構成され、モニタの表面全体に積層配置され、ユーザは、モニタ15に表示されたGUI形式の釦を視認しつつ、CPU20に指示入力する。   The operation member 25 includes, for example, a release button, a power button, a command dial, a cross-shaped cursor key, a determination button, and the like. The operation member 25 receives various inputs of the digital camera 1 from the user. For example, the operation member 25 is used for an operation of switching the operation mode of the digital camera 1 or an input operation on a setting screen. Note that the operation member 25 may be a touch panel that detects the position of a stylus (or a fingertip or the like) in contact with the panel surface and outputs the detected position information to the CPU 20 to receive an instruction input from the user. The touch panel is composed of a transparent panel having the same shape as the monitor 15 and is laminated on the entire surface of the monitor. The user inputs an instruction to the CPU 20 while visually checking the GUI button displayed on the monitor 15.

次に、図2のフローチャートを参照しつつ、本実施形態のデジタルカメラ1による処理動作について説明する。なお、本実施形態のデジタルカメラ1は、撮像モードとして単写の静止画像モードに予め設定されているものとし、本画像は静止画像とする。ただし、本画像が連写や動画に対しても同様の処理が適用できる。   Next, the processing operation by the digital camera 1 of the present embodiment will be described with reference to the flowchart of FIG. Note that the digital camera 1 of the present embodiment is set in advance to a single-shot still image mode as an imaging mode, and the main image is a still image. However, the same processing can be applied to continuous shooting and moving images of the main image.

また、本実施形態のデジタルカメラ1が撮像する被写界は、図3(a)に示すような、中央付近が明るく照らされた舞台上に複数の人物30a〜30lが整列している場面とする。つまり、図3(a)に示すように、舞台の中央付近に位置する人物30bなどは明るく照らされ適正露出であるのに対して、舞台の両端に位置する人物30aなどは暗く照らされ露出不足である。これにより、中央付近に位置する人物と端に位置する人物との間で、明るさおよび色調に斑が生じる。なお、図3(a)は、両端に位置する人物のうち、後方の列の人物ほど暗くなっていることをシェーディングの濃淡で表している。また、人物30cは、舞台の中央付近に位置しながらも、下を向いているために髪の毛や目鼻立ちのなどの影響により、顔の部分の明るさおよび色調が周囲の人物の顔と異なり斑が生じていることを示す。   In addition, the scene captured by the digital camera 1 according to the present embodiment includes a scene in which a plurality of persons 30a to 30l are arranged on a stage that is brightly illuminated near the center as shown in FIG. To do. That is, as shown in FIG. 3 (a), the person 30b located near the center of the stage is brightly illuminated and has a proper exposure, whereas the persons 30a located at both ends of the stage are darkly illuminated and underexposed. It is. This causes spots in brightness and color tone between the person located near the center and the person located at the end. Note that FIG. 3A shows shading shading that the person in the back row among the persons located at both ends is darker. In addition, the person 30c is located near the center of the stage but faces downward, so that the brightness and color tone of the face portion is different from the faces of surrounding people due to the influence of hair and eyes and nose. Indicates that it has occurred.

CPU20は、ユーザによる操作部材25の電源釦操作により、電源投入指示を受け付け、デジタルカメラ1の電源を投入する。CPU20は、記憶部16より制御プログラムおよび画像処理プログラムを読み込んで実行し、デジタルカメラ1を初期化する。CPU20は、デジタルカメラ1が撮像モードに設定されている場合、撮像素子12に被写界のスルー画像を所定のフレームレートで撮像させ、モニタ15に動画表示する。CPU20は、ステップS101からの処理を開始する。   The CPU 20 receives a power-on instruction by turning on the power button on the operation member 25 by the user, and turns on the power of the digital camera 1. The CPU 20 reads and executes the control program and the image processing program from the storage unit 16 and initializes the digital camera 1. When the digital camera 1 is set to the imaging mode, the CPU 20 causes the imaging device 12 to capture a through image of the object scene at a predetermined frame rate and displays a moving image on the monitor 15. CPU20 starts the process from step S101.

ステップS101:CPU20は、ユーザによる操作部材25のレリーズ釦の半押し操作を受け付けたか否かを判定する。CPU20は、レリーズ釦が半押し操作されていない場合(NO側)、ユーザによるレリーズ釦の操作が行われるまで待機する。   Step S101: The CPU 20 determines whether or not a half press operation of the release button of the operation member 25 by the user has been accepted. When the release button is not half-pressed (NO side), the CPU 20 waits until the user operates the release button.

一方、CPU20は、レリーズ釦の半押し操作が行われた場合、AF制御に基づいて、レンズ駆動部19に撮像光学系11を駆動させ、被写界の1つの領域を合焦領域として合焦させる。本実施形態では、CPU20は、顔検出部22にスルー画像に対して顔検出させて、人物30gの顔領域を合焦領域として合焦させるものとする(図3(b))。同時に、CPU20は、その合焦領域における輝度をスルー画像に基づいて測光して、AE演算により露出条件を取得する。CPU20は、ステップS102(YES側)へ移行する。図3(b)は、顔検出部22による検出結果を、人物30a〜30lの顔領域に矩形の顔枠をスルー画像に重畳してモニタ15に表示する場合の一例を示す。   On the other hand, when the release button is half-pressed, the CPU 20 causes the lens driving unit 19 to drive the imaging optical system 11 based on the AF control, so that one area of the object field is focused as a focusing area. Let In the present embodiment, the CPU 20 causes the face detection unit 22 to detect a face with respect to the through image, and focuses the face area of the person 30g as the focus area (FIG. 3B). At the same time, the CPU 20 measures the luminance in the in-focus area based on the through image, and acquires the exposure condition by AE calculation. CPU20 transfers to step S102 (YES side). FIG. 3B shows an example in which the detection result by the face detection unit 22 is displayed on the monitor 15 by superimposing a rectangular face frame on the through image in the face regions of the persons 30a to 30l.

ステップS102:CPU20は、ユーザによる操作部材25のレリーズ釦の全押し操作を受け付けたか否かを判定する。CPU20は、レリーズ釦が全押し操作されていない場合、ステップS101(NO側)へ移行して、次に取得したスルー画像に対して、ステップS101およびステップS102の処理を施す。   Step S102: The CPU 20 determines whether or not the user has fully pressed the release button of the operation member 25. When the release button is not fully pressed, the CPU 20 proceeds to step S101 (NO side), and performs the processes of step S101 and step S102 on the next acquired through image.

一方、CPU20は、レリーズ釦が全押し操作された場合、静止画像の撮像開始の指示として受け付け、ステップS101で取得した露出条件に基づいて、撮像素子12に対して、図3(a)に示す被写界を撮像させる。AFE13は、撮像素子12からのアナログの画像信号をデジタル信号に変換し、静止画像の画像データとしてバッファメモリ14に記録する。   On the other hand, when the release button is fully pressed, the CPU 20 receives an instruction to start capturing a still image, and the image sensor 12 is shown in FIG. 3A based on the exposure condition acquired in step S101. Capture the scene. The AFE 13 converts an analog image signal from the image sensor 12 into a digital signal and records it in the buffer memory 14 as image data of a still image.

ステップS103:CPU20の画像処理部21は、バッファメモリ14に記憶された静止画像の画像データを読み込み、色補間処理やホワイトバランス処理などの各種画像処理を画像データに対して施す。   Step S103: The image processing unit 21 of the CPU 20 reads the image data of the still image stored in the buffer memory 14, and performs various image processing such as color interpolation processing and white balance processing on the image data.

ステップS104:CPU20の第1補正部23は、公知の明るさおよび色調の補正処理を各種画像処理が施された静止画像の画像データに対して施し、画像全体で明るさおよび色調の斑を補正して均一にする。なお、静止画像の画像全体の明るさおよび色調を均一にするために、第1補正部23は、静止画像全体における輝度および色調の平均値を求め、それらの平均値を基準にして補正してもよいし、静止画像における輝度分布に基づいて、白トビおよび黒潰れした画像領域が無くなるように補正してもよい。   Step S104: The first correction unit 23 of the CPU 20 performs known brightness and color tone correction processing on the image data of the still image that has been subjected to various image processing, and corrects brightness and color tone spots in the entire image. And make it uniform. In order to make the brightness and tone of the entire still image uniform, the first correction unit 23 obtains an average value of luminance and tone in the entire still image, and corrects them based on the average value. Alternatively, the correction may be performed so that the image area that is white and black is eliminated based on the luminance distribution in the still image.

ステップS105:CPU20の顔検出部22は、静止画像の画像データに対して顔検出を施す。CPU20は、人物の顔領域が検出されなかった場合、被写界は風景などであると判定しステップS107(NO側)へ移行する。一方、CPU20は、人物30a〜30lの顔領域が検出された場合、ステップS106(YES側)へ移行する。なお、CPU20は、ステップS101の顔検出部22によるスルー画像に対する検出結果に基づいて、顔検出されたか否かを判定してもよい。   Step S105: The face detection unit 22 of the CPU 20 performs face detection on the image data of the still image. If the face area of the person is not detected, the CPU 20 determines that the object scene is a landscape or the like, and proceeds to step S107 (NO side). On the other hand, when the face areas of the persons 30a to 30l are detected, the CPU 20 proceeds to step S106 (YES side). Note that the CPU 20 may determine whether or not a face has been detected based on the detection result for the through image by the face detection unit 22 in step S101.

ステップS106:CPU20の第2補正部24は、ステップS104において明るさおよび色調が補正された静止画像の画像データにおいて、依然として明るさおよび色調に斑があるか否かを判定し、その判定結果に応じて鮮鋭度を調整する。例えば、第2補正部24は、明るさおよび色調が補正された静止画像の画像データをRGBからLabの色空間に変換し、画像データにおいて色差ΔEの値が所定値以上となる画素があるか否かを判定する。第2補正部24は、静止画像の全画素において色差ΔEの値が所定値より小さい場合、画像全体の明るさおよび色調は均一であると判定し、画像全体に対して従来の一様な度合いでノイズ除去処理およびシャープネス処理を施し鮮鋭度を調整する。   Step S106: The second correction unit 24 of the CPU 20 determines whether or not there are still spots in the brightness and color tone in the image data of the still image whose brightness and color tone are corrected in step S104, and the determination result is as follows. Adjust the sharpness accordingly. For example, the second correction unit 24 converts image data of a still image whose brightness and color tone are corrected from RGB to Lab color space, and whether there is a pixel whose color difference ΔE is equal to or greater than a predetermined value in the image data. Determine whether or not. The second correction unit 24 determines that the brightness and tone of the entire image are uniform when the value of the color difference ΔE is smaller than a predetermined value in all pixels of the still image, and the conventional uniform degree with respect to the entire image. Adjust the sharpness by applying noise removal processing and sharpness processing.

なお、本実施形態における所定値は、2〜3程度の値に設定されるが、要求される明るさおよび色調の補正処理の精度や、CPU20の処理能力などに応じて設定されることが好ましい。   Note that the predetermined value in the present embodiment is set to a value of about 2-3, but is preferably set according to the required brightness and tone correction processing accuracy, the processing capability of the CPU 20, and the like. .

一方、第2補正部24は、色差ΔEの値が所定値以上となる画素がある場合、静止画像には依然として明るさまたは色調の斑が残っていると判定し、静止画像の画像データに対し下記の手順に基づいて鮮鋭度の調整処理を施す。
まず、第2補正部24は、例えば、第1補正部23により明るさおよび色調が補正された静止画像の画像データをRGBからLabの色空間に変換し、合焦領域に位置する人物30gを主要被写体とし、人物30gの顔領域における明るさおよび色調を鮮鋭度の調整処理の基準に設定する。同時に、第2補正部24は、他の人物を人物30gに類似する類似被写体とし、各類似被写体の顔領域における明るさおよび色調を求め、不図示の内部メモリに保持する。
On the other hand, when there is a pixel whose color difference ΔE is equal to or greater than a predetermined value, the second correction unit 24 determines that the still image still has brightness or color tone, and determines the still image image data. Sharpness adjustment processing is performed based on the following procedure.
First, the second correction unit 24 converts, for example, image data of a still image whose brightness and color tone have been corrected by the first correction unit 23 from RGB to Lab color space, and the person 30g located in the in-focus region is converted. The brightness and color tone in the face area of the person 30g as a main subject are set as the reference for the sharpness adjustment process. At the same time, the second correction unit 24 sets other persons as similar subjects similar to the person 30g, obtains the brightness and tone in the face area of each similar subject, and holds them in an internal memory (not shown).

そして、第2補正部24は、主要被写体の人物30gの明るさに対する類似被写体の明るさの差に基づいて、類似被写体に対するノイズ除去処理(すなわち輝度ノイズ除去処理)を、主要被写体の顔領域に対する場合よりも強めに施し鮮鋭度を調整する(図5)。なお、図4に示すように、本実施形態の第2補正部24は、例えば、類似被写体の明るさが主要被写体の明るさに比べて80%程度の明るさの場合、類似被写体は「やや暗い」と判定し、70%以下の明るさの場合、類似被写体は「暗い」と判定する。また、第2補正部24は、図5に示すグラフに基づいて輝度ノイズ除去処理の度合いを設定するが、輝度ノイズ除去処理をどの程度強く施すかは、被写界の撮像環境や要求される鮮鋭度に応じて適宜決定されることが好ましい。   Then, the second correction unit 24 performs noise removal processing (that is, luminance noise removal processing) on the similar subject on the face area of the main subject based on the difference in brightness of the similar subject with respect to the brightness of the person 30g as the main subject. Apply sharper than the case to adjust the sharpness (Fig. 5). As shown in FIG. 4, the second correction unit 24 of the present embodiment, for example, when the brightness of the similar subject is about 80% of the brightness of the main subject, If the brightness is 70% or less, the similar subject is determined to be “dark”. Further, the second correction unit 24 sets the degree of luminance noise removal processing based on the graph shown in FIG. 5, but how strongly the luminance noise removal processing is performed depends on the imaging environment of the object scene and required. It is preferable to determine appropriately according to the sharpness.

次に、第2補正部24は、主要被写体の人物30gの色調に対する類似被写体の色調の差に基づいて、類似被写体に対するノイズ除去処理(すなわち色ノイズ除去処理)を、主要被写体の人物30gの顔領域に対する場合よりも強めに施し鮮鋭度を調整する(図5)。なお、本実施形態における色調の差とは、例えば、主要被写体の顔領域における肌の色を基準にして、類似被写体の顔領域の肌の色が基準の色からの外れ度合いとする。また、第2補正部24は、図5に示すグラフに基づいて色ノイズ除去処理の度合いを設定するが、色ノイズ除去処理をどの程度強く施すかは、被写界の撮像環境や要求される鮮鋭度に応じて適宜決定されることが好ましい。   Next, the second correcting unit 24 performs noise removal processing (that is, color noise removal processing) on the similar subject based on the difference in color tone of the similar subject relative to the color tone of the main subject person 30g, and the face of the main subject person 30g. Apply sharper than in the case of the region to adjust the sharpness (FIG. 5). Note that the difference in color tone in the present embodiment refers to, for example, the degree of deviation of the skin color of the face area of the similar subject from the reference color based on the skin color of the face area of the main subject. Further, the second correction unit 24 sets the degree of color noise removal processing based on the graph shown in FIG. 5, but how strongly the color noise removal processing is performed depends on the imaging environment of the object scene and required. It is preferable to determine appropriately according to the sharpness.

最後に、第2補正部24は、各類似被写体の人物と人物30gとの顔領域における明るさおよび色調の差に応じて、シャープネス処理の度合いを調整し、各類似被写体の人物に顔領域に対してシャープネス処理を施し鮮鋭度を調整する。本実施形態の第2補正部24は、例えば、シャープネス処理をガウシアンフィルタを用いて行う場合、明るさおよび色調の差が大きくなるに従いガウシアンフィルタの半径が大きくなるように設定し、シャープネス処理の度合いを調整する。あるいは、第2補正部24は、ガウシアンフィルタの半径を一定にしつつ、主要被写体と類似被写体との明るさおよび色調の差が大きくなるに従いガウシアンフィルタの強度が小さくなるように設定し、シャープネス処理の度合いを調整してもよい。   Finally, the second correction unit 24 adjusts the degree of sharpness processing according to the difference in brightness and color tone in the face area between the person of each similar subject and the person 30g, and applies the person of each similar subject to the face area. On the other hand, sharpness processing is performed to adjust the sharpness. For example, when the sharpness process is performed using a Gaussian filter, the second correction unit 24 of the present embodiment sets the radius of the Gaussian filter to increase as the difference in brightness and tone increases, and the degree of the sharpness process Adjust. Alternatively, the second correction unit 24 sets the Gaussian filter radius so that the intensity of the Gaussian filter decreases as the difference in brightness and color tone between the main subject and the similar subject increases, and sharpness processing is performed. The degree may be adjusted.

なお、ガウシアンフィルタの半径や強度は、明るさよりも色調の差により重みを付けて設定されることが好ましい。これは、一般的に、輝度差よりも照明の色温度などによる各被写体の色味や色ノイズの重畳の仕方の違いが鮮鋭度の調整に影響を与えるからである。   Note that the radius and strength of the Gaussian filter are preferably set with a weight based on a difference in color tone rather than brightness. This is because, in general, a difference in the color tone of each subject and the way in which color noise is superimposed due to the color temperature of the illumination affects the adjustment of the sharpness rather than the luminance difference.

あるいは、静止画の画像データをRGBからLab空間に変換し、明るさについてはアンシャープマスクを適応し、色についてはガウシアンフィルタを適用して、最後にそれらを合成してからRGB空間に変換するようにしてもよい。   Alternatively, the image data of a still image is converted from RGB to Lab space, an unsharp mask is applied for brightness, a Gaussian filter is applied for color, and finally they are combined and converted to RGB space. You may do it.

また、ガウシアンフィルタの半径や強度は、各類似被写体の顔領域が主要被写体の顔領域である合焦領域からの距離(すなわち合焦状態)に応じて設定されてもよい。   Further, the radius and strength of the Gaussian filter may be set according to the distance (that is, the in-focus state) from the focus area where the face area of each similar subject is the face area of the main subject.

ステップS107:CPU20は、静止画像の画像データのファイルを生成して記憶部16や記憶媒体18に記録する。そして、CPU20は、一連の動作を終了する。   Step S107: The CPU 20 generates a file of image data of a still image and records it in the storage unit 16 or the storage medium 18. Then, the CPU 20 ends a series of operations.

このように、本実施形態では、たとえ照明や人物の顔の向きなどにより明るさや色調の斑が生じたとしても、主要被写体と類似被写体との明るさおよび色調の差に応じて、ノイズ除去処理およびシャープネス処理を施すことにより、画質を低下させることなく画像の鮮鋭度を調整することができる。
《実施形態の補足事項》
(1)上記実施形態では、顔検出部21、画像処理部22、第1補正部23、第2補正部24の処理を、CPU20がソフトウエア的に実現する例を説明したが、ASICを用いてハードウエア的に実現してもよい。
As described above, in the present embodiment, even if brightness or color tone spots occur due to lighting or the face direction of a person, noise removal processing is performed according to the difference in brightness and color tone between the main subject and a similar subject. By applying the sharpness process, the sharpness of the image can be adjusted without degrading the image quality.
<< Additional items of embodiment >>
(1) In the above-described embodiment, the example in which the CPU 20 implements the processing of the face detection unit 21, the image processing unit 22, the first correction unit 23, and the second correction unit 24 by software has been described. It may be realized by hardware.

(2)上記実施形態では、被写界を舞台としたが、本発明はこれに限定されず、野外や室内、夜景などに対しても本発明は適用可能である。   (2) In the above embodiment, the scene is set as a scene, but the present invention is not limited to this, and the present invention can be applied to the outdoors, indoors, night scenes, and the like.

(3)上記実施形態では、CPU20が、人物30a〜30lの顔領域の明るさを画像データから測光して取得したが、本発明はこれに限定されない。例えば、デジタルカメラ1は、撮像素子12とは別に測光センサを備え、測光センサによる測光に基づいて、人物30a〜30lの顔領域の明るさを取得してもよい。   (3) In the above embodiment, the CPU 20 obtains the brightness of the face areas of the persons 30a to 30l from the image data, but the present invention is not limited to this. For example, the digital camera 1 may include a photometric sensor separately from the image sensor 12, and may acquire the brightness of the face areas of the persons 30a to 30l based on photometry by the photometric sensor.

(4)上記実施形態では、ステップS105において、CPU20は、顔検出されなかった場合、ステップS107へ移行するとしたが、本発明はこれに限定されない。例えば、第2補正部24は、ステップS107へ移行する前に、画像全体に対して従来の一様な度合いでノイズ除去処理およびシャープネス処理を施し鮮鋭度を調整してもよい。   (4) In the above embodiment, the CPU 20 proceeds to step S107 when no face is detected in step S105, but the present invention is not limited to this. For example, the second correction unit 24 may adjust the sharpness by performing noise removal processing and sharpness processing on the entire image with a conventional uniform degree before proceeding to step S107.

(5)上記実施形態では、第2補正部24が、主要被写体と類似被写体との明るさおよび色調の差に応じて鮮鋭度の調整処理を行ったが、本発明はこれに限定されない。例えば、第2補正部24は、所定の明るさおよび所定の色調を設定し、主要被写体および類似被写体に対するノイズ除去処理およびシャープネス処理の度合いを、所定の明るさおよび所定の色調と、主要被写体または類似被写体の明るさおよび色調との差に応じて調整してもよい。   (5) In the above embodiment, the second correction unit 24 performs the sharpness adjustment process according to the difference in brightness and color tone between the main subject and the similar subject. However, the present invention is not limited to this. For example, the second correction unit 24 sets a predetermined brightness and a predetermined color tone, and sets the degree of noise removal processing and sharpness processing for the main subject and the similar subject to the predetermined brightness and the predetermined color tone, the main subject or You may adjust according to the difference with the brightness and color tone of a similar subject.

また、第2補正部24は、主要被写体と類似被写体との明るさおよび色調の差に応じて、ノイズ除去処理またはシャープネス処理のいずれか一方の度合いだけを調整してもよい。   Further, the second correction unit 24 may adjust only one degree of the noise removal processing or the sharpness processing according to the difference in brightness and color tone between the main subject and the similar subject.

また、第2補正部24は、ノイズ除去処理およびシャープネス処理の度合いを、男性と女性や大人と子供とに応じて調整することが好ましい。例えば、顔検出部22が、顔検出とともに人物の性別や年齢を判定し、第2補正部24は、男性よりも女性を優先して明るくしノイズ除去してもよい。   Moreover, it is preferable that the 2nd correction | amendment part 24 adjusts the degree of a noise removal process and a sharpness process according to a man and a woman, an adult, and a child. For example, the face detection unit 22 may determine the gender and age of the person together with the face detection, and the second correction unit 24 may brighten the woman over men and remove noise.

さらに、第2補正部24は、ノイズ除去処理およびシャープネス処理の度合いを、人物の顔領域の大きさに応じて調整することが好ましい。例えば、第2補正部24は、顔領域の大きさが所定の大きさより小さい人物に対する鮮鋭度の調整処理を行わないようにしてもよい。   Furthermore, the second correction unit 24 preferably adjusts the degree of noise removal processing and sharpness processing according to the size of the face area of the person. For example, the second correction unit 24 may not perform the sharpness adjustment process on a person whose face area is smaller than a predetermined size.

(6)上記実施形態では、舞台の中央付近に位置し合焦領域の人物30gの顔領域の明るさおよび色調を基準にしたが、本発明はこれに限定されない。例えば、第2補正部24は、人物30a〜30lの顔領域の明るさおよび色調の平均を求め、その平均の明るさおよび色調に最も近い値を有する人物を基準にしてもよい。あるいは、第2補正部24は、明るさや色度図の最も真ん中に近い明るさおよび色調を有する人物を基準にしてもよい。   (6) In the above embodiment, the brightness and color tone of the face area of the person 30g in the focus area located near the center of the stage is used as a reference, but the present invention is not limited to this. For example, the second correction unit 24 may calculate the average brightness and color tone of the face areas of the persons 30a to 30l, and may use the person having a value closest to the average brightness and color tone as a reference. Or the 2nd correction | amendment part 24 may make a reference | standard the person who has the brightness and color tone close | similar to the center of brightness or a chromaticity diagram.

(7)上記実施形態では、顔検出部22は人物30a〜30lの顔領域を検出したが、本発明はこれに限定されない。例えば、顔検出部22は、犬や猫などの動物の顔領域を検出してもよい。また、デジタルカメラ1は、顔検出部22の代わりに岩などの類似する被写体を検出する被写体検出部を備え、被写体検出部は、風景における岩や木などの類似する被写体を、パターン認識、画像データの色味成分や周波数成分に基づいて検出し、第2補正部24が鮮鋭度を調整してもよい。   (7) In the above embodiment, the face detection unit 22 detects the face regions of the persons 30a to 30l, but the present invention is not limited to this. For example, the face detection unit 22 may detect a face region of an animal such as a dog or a cat. In addition, the digital camera 1 includes a subject detection unit that detects a similar subject such as a rock instead of the face detection unit 22, and the subject detection unit recognizes a similar subject such as a rock or a tree in a landscape by performing pattern recognition and image processing. Detection may be performed based on the color component or frequency component of the data, and the second correction unit 24 may adjust the sharpness.

(8)上記実施形態では、第2補正部24は、ノイズ除去処理およびシャープネス処理の度合いを図5に示すグラフに基づいて調整したが、本発明はこれに限定されず、他のグラフを用いて調整してもよい。   (8) In the above embodiment, the second correction unit 24 adjusts the degree of noise removal processing and sharpness processing based on the graph shown in FIG. 5, but the present invention is not limited to this, and other graphs are used. May be adjusted.

以上の詳細な説明により、実施形態の特徴点および利点は明らかになるであろう。これは、特許請求の範囲が、その精神および権利範囲を逸脱しない範囲で前述のような実施形態の特徴点および利点にまで及ぶことを意図する。また、当該技術分野において通常の知識を有する者であれば、あらゆる改良および変更に容易に想到できるはずであり、発明性を有する実施形態の範囲を前述したものに限定する意図はなく、実施形態に開示された範囲に含まれる適当な改良物および均等物によることも可能である。   From the above detailed description, features and advantages of the embodiments will become apparent. It is intended that the scope of the claims extend to the features and advantages of the embodiments as described above without departing from the spirit and scope of the right. Further, any person having ordinary knowledge in the technical field should be able to easily come up with any improvements and modifications, and there is no intention to limit the scope of the embodiments having the invention to those described above. It is also possible to use appropriate improvements and equivalents within the scope disclosed in.

1…デジタルカメラ、11…撮像光学系、12…撮像素子、13…AFE、14…バッファメモリ、15…モニタ、16…記憶部、17…記録I/F、18…記憶媒体、19…レンズ駆動部、20…CPU、21…画像処理部、22…顔検出部、23…第1補正部、24…第2補正部、25…操作部材、26…バス DESCRIPTION OF SYMBOLS 1 ... Digital camera, 11 ... Imaging optical system, 12 ... Image sensor, 13 ... AFE, 14 ... Buffer memory, 15 ... Monitor, 16 ... Memory | storage part, 17 ... Recording I / F, 18 ... Storage medium, 19 ... Lens drive , 20 ... CPU, 21 ... Image processing unit, 22 ... Face detection unit, 23 ... First correction unit, 24 ... Second correction unit, 25 ... Operation member, 26 ... Bus

Claims (10)

画像データから主要被写体および前記主要被写体に類似する類似被写体を検出する被写体検出部と、
前記画像データにおける明るさおよび色調の斑を補正する第1補正部と、
前記第1補正部により補正された前記画像データの前記明るさおよび色調の分布に基づいて、少なくとも前記主要被写体および前記類似被写体の画像領域における鮮鋭度を調整する第2補正部と、
を備え画像処理装置。
A subject detection unit for detecting a main subject and a similar subject similar to the main subject from image data;
A first correction unit for correcting unevenness in brightness and color tone in the image data;
A second correction unit that adjusts sharpness in at least the image areas of the main subject and the similar subject based on the brightness and tone distribution of the image data corrected by the first correction unit;
The image processing apparatus Ru comprising a.
請求項1に記載の画像処理装置において、
前記第2補正部は、ノイズ除去処理および/またはシャープネス処理により前記鮮鋭度を調整す画像処理装置。
The image processing apparatus according to claim 1.
The second correction unit, an image processing apparatus that adjust the sharpness by the noise removal processing and / or sharpening.
請求項2に記載の画像処理装置において、
前記第2補正部は、前記主要被写体と前記類似被写体との前記明るさおよび色調に基づいて、前記主要被写体および前記類似被写体の画像領域に対する前記ノイズ除去処理および/またはシャープネス処理の度合いを調整する
像処理装置。
The image processing apparatus according to claim 2,
The second correction unit adjusts the degree of the noise removal process and / or the sharpness process for the image areas of the main subject and the similar subject based on the brightness and color tone of the main subject and the similar subject.
Images processing device.
請求項2または請求項3に記載の画像処理装置において、
前記主要被写体は、合焦領域に位置する被写体であり、
前記類似被写体は、前記合焦領域以外の領域に位置する被写体であり、
前記第2補正部は、前記主要被写体と前記類似被写体と合焦状態に基づいて、前記シャープネス処理の度合いを調整する
像処理装置。
The image processing apparatus according to claim 2 or 3,
The main subject is a subject located in the focusing area,
The similar subject is a subject located in a region other than the in-focus region,
The second correction unit adjusts the degree of the sharpness processing based on a focus state between the main subject and the similar subject.
Images processing device.
被写界を撮像して画像データを生成する撮像部と、
請求項1記載の画像処理装置と、
を備え撮像装置。
An imaging unit that images the object scene and generates image data;
An image processing apparatus according to claim 1;
Ru an image pickup device.
請求項5に記載の撮像装置において、
前記被写界を測光する測光部を備え、
前記第1補正部は、前記測光部による測光結果に基づいて、前記画像データの明るさおよび色調の斑を補正する
像装置。
The imaging apparatus according to claim 5,
A metering unit for metering the object scene;
The first correction unit corrects unevenness in brightness and color tone of the image data based on a photometry result obtained by the photometry unit.
Imaging device.
被写界を撮像して画像データを生成する撮像部と
請求項2または請求項3に記載の画像処理装置と
を備える撮像装置。
An imaging unit that images the object scene and generates image data ;
An image processing apparatus according to claim 2 or 3 ,
Ru an image pickup device.
請求項7に記載の撮像装置において
前記被写界を測光する測光部を備え
前記第1補正部は、前記測光部による測光結果に基づいて、前記画像データの明るさおよび色調の斑を補正する
撮像装置
The imaging apparatus according to claim 7 ,
A metering unit for metering the object scene ;
The first correction unit corrects unevenness in brightness and color tone of the image data based on a photometry result obtained by the photometry unit.
Imaging device .
請求項7または請求項8に記載の撮像装置において、In the imaging device according to claim 7 or 8,
前記被写界の合焦状態を検出する合焦検出部を備え、A focus detection unit for detecting a focus state of the object scene;
前記第2補正部は、前記主要被写体と前記類似被写体との前記合焦状態に基づいて、前記シャープネス処理の度合いを調整するThe second correction unit adjusts the degree of sharpness processing based on the in-focus state between the main subject and the similar subject.
撮像装置。Imaging device.
画像データを読み込む入力手順、Input procedure for reading image data,
前記画像データから主要被写体および前記主要被写体に類似する類似被写体を検出する被写体検出手順、A subject detection procedure for detecting a main subject and a similar subject similar to the main subject from the image data;
前記画像データにおける明るさおよび色調の斑を補正する第1補正手順、A first correction procedure for correcting brightness and color spots in the image data;
前記第1補正手順により補正された前記画像データの前記明るさおよび色調の分布に基づいて、少なくとも前記主要被写体および前記類似被写体の画像領域における鮮鋭度を調整する第2補正手順、A second correction procedure for adjusting sharpness in at least the image areas of the main subject and the similar subject based on the brightness and tone distribution of the image data corrected by the first correction procedure;
をコンピュータに実行させる画像処理プログラム。An image processing program for causing a computer to execute.
JP2012172017A 2012-08-02 2012-08-02 Image processing apparatus, imaging apparatus, and image processing program Active JP6060552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012172017A JP6060552B2 (en) 2012-08-02 2012-08-02 Image processing apparatus, imaging apparatus, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012172017A JP6060552B2 (en) 2012-08-02 2012-08-02 Image processing apparatus, imaging apparatus, and image processing program

Publications (2)

Publication Number Publication Date
JP2014033305A JP2014033305A (en) 2014-02-20
JP6060552B2 true JP6060552B2 (en) 2017-01-18

Family

ID=50282826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012172017A Active JP6060552B2 (en) 2012-08-02 2012-08-02 Image processing apparatus, imaging apparatus, and image processing program

Country Status (1)

Country Link
JP (1) JP6060552B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017037615A (en) * 2015-08-13 2017-02-16 辰巳電子工業株式会社 Game imaging device, image processing method and program
JP2017102642A (en) * 2015-12-01 2017-06-08 カシオ計算機株式会社 Image processor, image processing method and program
JP7307541B2 (en) * 2018-12-19 2023-07-12 キヤノン株式会社 IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003259196A (en) * 2002-02-26 2003-09-12 Olympus Optical Co Ltd Camera
JP4934326B2 (en) * 2005-09-29 2012-05-16 富士フイルム株式会社 Image processing apparatus and processing method thereof
JP2007282119A (en) * 2006-04-11 2007-10-25 Nikon Corp Electronic camera and image processing apparatus
JP4851505B2 (en) * 2008-10-22 2012-01-11 三菱電機株式会社 Image processing apparatus and image processing method
JP2010199720A (en) * 2009-02-23 2010-09-09 Nikon Corp Digital camera

Also Published As

Publication number Publication date
JP2014033305A (en) 2014-02-20

Similar Documents

Publication Publication Date Title
US8982232B2 (en) Image processing apparatus and image processing method
JP6720881B2 (en) Image processing apparatus and image processing method
US20100220208A1 (en) Image processing method and apparatus and digital photographing apparatus using the same
US9674427B2 (en) Image processing method and apparatus
US20140085511A1 (en) Image processing device, method for processing image, and recording medium
US10270991B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP5047055B2 (en) Image processing apparatus, imaging apparatus, and image processing method
JP5589660B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP6060552B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2012085083A (en) Image processing apparatus, image pickup device, and image processing program
JP6450107B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2013225779A (en) Image processing device, imaging device, and image processing program
JP5146015B2 (en) Imaging apparatus and imaging method
JP5115297B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP2008085915A (en) Imaging apparatus, and imaging method
JP2014103644A (en) Imaging apparatus, image processing apparatus and color correcting method
US20230188849A1 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
JP4449692B2 (en) Electronic camera
JP5522299B2 (en) Imaging apparatus, imaging method, and program
KR101642399B1 (en) Digital image processing apparatus to evaluate blurring level amount and the method of the same
JP2011044965A (en) Imaging apparatus, imaging method and computer program
JP6849351B2 (en) Image processing equipment, image processing methods, and programs
US20120154617A1 (en) Image capturing device
JP6019587B2 (en) Image processing device
JP2023162633A (en) Imaging apparatus and control method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160719

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161128

R150 Certificate of patent or registration of utility model

Ref document number: 6060552

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250