JP2018029225A - Image processing apparatus and imaging device - Google Patents
Image processing apparatus and imaging device Download PDFInfo
- Publication number
- JP2018029225A JP2018029225A JP2016159194A JP2016159194A JP2018029225A JP 2018029225 A JP2018029225 A JP 2018029225A JP 2016159194 A JP2016159194 A JP 2016159194A JP 2016159194 A JP2016159194 A JP 2016159194A JP 2018029225 A JP2018029225 A JP 2018029225A
- Authority
- JP
- Japan
- Prior art keywords
- image
- correction
- target pixel
- processing apparatus
- image processing
- 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.)
- Granted
Links
Images
Landscapes
- Exposure Control For Cameras (AREA)
- Studio Devices (AREA)
Abstract
【課題】撮影シーンに適した明るさに関する補正を行う。【解決手段】デジタルカメラにおいて、周辺の明るさに関する補正を行う場合、画面の任意の部分を選択可能とし、また、その選択した画面の部分に応じた光軸を通る線上に位置する選択された画像領域に従って定められる補正対象画素の補正係数を調整可能とする。選択された領域に応じた補正画素が調整されると、選択された領域の補正係数に基づいて周辺の明るさに関する補正を行う。【選択図】図2Kind Code: A1 A brightness correction suitable for a shooting scene is performed. In a digital camera, an arbitrary portion of the screen can be selected when performing correction regarding peripheral brightness, and a selected portion located on a line passing through the optical axis corresponding to the selected portion of the screen is provided. A correction coefficient for a correction target pixel determined according to an image area can be adjusted. After the correction pixels corresponding to the selected area are adjusted, the peripheral brightness is corrected based on the correction coefficient of the selected area. [Selection drawing] Fig. 2
Description
本発明は、カメラなどの撮像装置に関し、特に、レンズ特性などによって生じる画像周辺の光量低下を補正する処理に関する。 The present invention relates to an imaging apparatus such as a camera, and more particularly, to a process for correcting a decrease in the amount of light around an image caused by lens characteristics or the like.
デジタルカメラなどでは、撮影レンズの特性によって撮影画像の周辺部で光量が低下する。そのため、得られる画像信号に対してシェーディング補正(以下では、周辺光量低下補正ともいう)を施し、光量低下部分の画素に対してゲイン補正する。 In a digital camera or the like, the amount of light decreases at the periphery of the captured image due to the characteristics of the photographing lens. Therefore, shading correction (hereinafter also referred to as peripheral light amount reduction correction) is performed on the obtained image signal, and gain correction is performed on pixels in the light amount reduction portion.
周辺光量の低下具合は、使用する撮影レンズの光学特性だけでなく、撮影条件によっても相違する。そこで、画像を複数のブロックに分割して絞り値、ズーム倍率によって異なる一連の補正係数をブロック毎にメモリに格納し、撮影時の絞り値、ズーム倍率等に応じた補正係数を選択してシェーディング補正を行う(特許文献1参照)。また、撮像素子の異なる色フィルタに対して同じ補正係数を乗じると、色変調によって擬色が発生する場合がある。これを抑えるために各色フィルタに応じた補正係数によってシェーディング補正を行う(特許文献2参照)。 The degree of decrease in the amount of ambient light differs depending not only on the optical characteristics of the taking lens used but also on the shooting conditions. Therefore, the image is divided into a plurality of blocks, a series of correction coefficients that differ depending on the aperture value and zoom magnification are stored in the memory for each block, and shading is performed by selecting a correction coefficient corresponding to the aperture value, zoom magnification, etc. at the time of shooting. Correction is performed (see Patent Document 1). Further, when the same correction coefficient is multiplied to different color filters of the image pickup device, pseudo color may occur due to color modulation. In order to suppress this, shading correction is performed using a correction coefficient corresponding to each color filter (see Patent Document 2).
さらに、撮影シーンによっては、シェーディング補正を行うことで輝度レベルが必要以上に上がってノイズが増加する場合がある。これを防ぐため、周辺光量の低下が目立たない撮影シーンであるか否かを判断し、目立たない場合にはゲインを抑える。例えば、撮影画像を複数のブロックに分割して輝度値、色情報をブロック毎に検出し、周辺光量低下が目立つ空に応じた青色領域に対してシェーディング補正を行う一方、周辺光量低下が目立たない木々など緑色の領域を検出すると、シェーディング補正を行わない(特許文献3参照)。 Further, depending on the shooting scene, the shading correction may increase the luminance level more than necessary and increase noise. In order to prevent this, it is determined whether or not it is a shooting scene in which the decrease in the amount of peripheral light is inconspicuous, and if it is inconspicuous, the gain is suppressed. For example, the captured image is divided into a plurality of blocks, luminance values and color information are detected for each block, and shading correction is performed on the blue area corresponding to the sky where the peripheral light amount decrease is conspicuous, while the peripheral light amount decrease is not conspicuous When a green area such as trees is detected, shading correction is not performed (see Patent Document 3).
撮影時の被写体構図は様々であり、カメラの特性、露出条件あるいは色情報に基づいて撮影シーンを判断しても、その撮影シーンを適切に判断できない場合があり、そのシーンに不適切な周辺光量低下補正を行うと、ノイズ増加、飽和など撮影画像周辺部の画質低下が生じ、ユーザの好む画像を得ることができない。 The subject composition at the time of shooting varies, and even if the shooting scene is determined based on the camera characteristics, exposure conditions, or color information, the shooting scene may not be properly determined. When the reduction correction is performed, the image quality at the periphery of the captured image is reduced, such as noise increase and saturation, and an image preferred by the user cannot be obtained.
したがって、様々な撮影シーンに対して適切な明るさ/光量に関する補正(周辺光量低下補正など)を行うことが可能で、ユーザの好む画像を得ることが求められる。 Therefore, it is possible to perform appropriate brightness / light quantity correction (peripheral light quantity reduction correction, etc.) for various shooting scenes, and to obtain an image that the user likes.
本発明の画像処理装置は、コンピュータ、あるいは撮像装置に組み込むことが可能であり、例えばユーザの選択操作に応じて、撮影画像を分割することで定められる複数の画像領域の中から、あるいは任意の領域の中から特定の画像領域を選択する選択手段と、選択手段によって選択された画像領域に従って定められる補正対象画素に対し、明るさに関する補正を行う。 The image processing apparatus of the present invention can be incorporated into a computer or an imaging apparatus. For example, the image processing apparatus can be selected from a plurality of image areas determined by dividing a captured image in accordance with a user's selection operation, or an arbitrary image processing apparatus. Brightness correction is performed on a selection unit that selects a specific image region from the region and a correction target pixel that is determined according to the image region selected by the selection unit.
明るさに関する補正としては、撮影画像の補正対象画素の明るさを、撮像装置の特性あるいはユーザの指定内容などに応じて、補正させればよい。例えば補正手段は、撮影光学系の特性あるいはユーザの指示に従って定められる補正係数に基づいて、光量低下に対する補正を行うことが可能である。ただし補正には、相対的に輝度の低い画像領域内の画素輝度を上げる補正も、相対的に輝度の高い画像領域の画素輝度を下げる補正も含まれる。 As the correction relating to the brightness, the brightness of the correction target pixel of the photographed image may be corrected according to the characteristics of the imaging device or the contents designated by the user. For example, the correction means can correct the decrease in the amount of light based on the characteristics of the photographing optical system or a correction coefficient determined according to a user instruction. However, the correction includes a correction for increasing the pixel luminance in an image region having a relatively low luminance and a correction for decreasing the pixel luminance in an image region having a relatively high luminance.
例えば補正手段は、前記選択手段によって選択された画像領域に従って定められる補正対象画素に対し、ゲイン、オフセット、およびゲインとオフセットの組み合わせのうちいずれかの処理を実行する。 For example, the correction unit executes any one of the gain, the offset, and the combination of the gain and the offset for the correction target pixel determined according to the image region selected by the selection unit.
なお、ここでの「複数の画像領域」は、ユーザがその領域もしくはそれを中心として周辺光量低下補正を行いたい画像部分を表す。例えば、撮影画像の左上隅部分を含む第1領域、右上隅部分を含む第2領域、右下隅部分を含む第3領域、左下隅部分を含む第4領域で構成することが可能である。あるいは、その他任意の場所も可能である。 Note that the “plurality of image regions” here represents the image portion that the user wants to perform the peripheral light amount reduction correction around the region or the region. For example, it is possible to configure the first area including the upper left corner portion of the photographed image, the second area including the upper right corner portion, the third area including the lower right corner portion, and the fourth area including the lower left corner portion. Alternatively, any other location is possible.
画像領域の選択に関しては、例えばタッチパネルを使ったモニタを利用した場合には画像を表示した任意の領域をタッチ操作によりポイントの選択および範囲指定をすることもできる。さらに、コンピュータ上であれば、マウスなどのポインティングデバイスによるポイントの指定および範囲の指定を行ってもよい。 Regarding selection of an image area, for example, when a monitor using a touch panel is used, it is possible to select a point and specify a range by touching an arbitrary area in which an image is displayed. Further, on a computer, a point and a range may be specified using a pointing device such as a mouse.
所定の画像領域が選択されると、その領域に応じて補正対象画素が定められる。選択された画像領域内の画素とその周辺画素を補正対象画素としてもよく、選択された画像領域内の画素を補正対象画素と定めてもよい。補正対象画素は選択された画像領域に応じてあらかじめ決められた複数の画素であり、指定される領域毎に定められる。また、あらかじめ指定された画像領域でない選択方式、例えばタッチパネルなどによる任意の指定領域の場合にはそれに応じて設定される。 When a predetermined image area is selected, a correction target pixel is determined according to the area. The pixel in the selected image region and its surrounding pixels may be set as the correction target pixel, and the pixel in the selected image region may be set as the correction target pixel. The correction target pixel is a plurality of pixels determined in advance according to the selected image area, and is determined for each specified area. In addition, in the case of a selection method that is not a predesignated image area, for example, an arbitrary designated area such as a touch panel, it is set accordingly.
選択された画像領域内に定められる調整対象画素の補正係数を、ユーザの調整操作に応じて調整可能な調整部を設けることも可能である。例えば、調整手段は、撮影画像の画像中心や撮影画像の光学的中心(光軸位置)からのラインに沿って定められる調整対象画素の補正係数を、ユーザの調整操作に応じて調整可能とすることができる。あるいは領域毎に補正係数を調整してもよい。 It is also possible to provide an adjustment unit that can adjust the correction coefficient of the adjustment target pixel determined in the selected image area in accordance with the user's adjustment operation. For example, the adjustment unit can adjust the correction coefficient of the adjustment target pixel determined along the line from the image center of the captured image and the optical center (optical axis position) of the captured image in accordance with the user's adjustment operation. be able to. Or you may adjust a correction coefficient for every area | region.
なお、画像中心は、例えば撮像素子の有効画素の中心である。光学中心は画像中心と一致する場合もあるが、センサシフト型手振れ補正機構やレンズ駆動型手振れ補正機構などを使用する場合、光学中心は画像中心からずれる。 Note that the image center is, for example, the center of the effective pixel of the image sensor. Although the optical center may coincide with the image center, when using a sensor shift type camera shake correction mechanism, a lens drive type camera shake correction mechanism, or the like, the optical center deviates from the image center.
例えば、調整部は、調整対象画素以外の補正対象画素の補正係数を、該補正対象画素と画像中心から等距離にある同心円上にある調整対象画素の補正係数を用いた補間によって、補正することが可能である。 For example, the adjustment unit corrects the correction coefficient of the correction target pixel other than the adjustment target pixel by interpolation using the correction coefficient of the adjustment target pixel located on a concentric circle equidistant from the correction target pixel and the image center. Is possible.
本発明の他の態様における画像処理方法は、ユーザの選択操作に応じて、撮影画像において定められた複数の画像領域あるいは任意の領域の中から特定の画像領域を選択し、選択された画像領域に従って定められる補正対象画素に対し、明るさに関する補正を行う。例えば、撮影光学系の特性またはユーザの指示に従って定められる補正係数に基づいて光量低下に対する補正を行う。 An image processing method according to another aspect of the present invention selects a specific image area from a plurality of image areas or arbitrary areas defined in a captured image in accordance with a user's selection operation, and selects the selected image area The correction relating to the brightness is performed on the correction target pixel determined according to the above. For example, the light amount reduction is corrected based on a correction coefficient determined according to the characteristics of the photographing optical system or a user instruction.
本発明によれば、撮影シーンに適した明るさに関する補正を行うことができる。 According to the present invention, it is possible to perform correction related to brightness suitable for a shooting scene.
以下では、図面を参照して本実施形態であるデジタルカメラについて説明する。 Below, the digital camera which is this embodiment is demonstrated with reference to drawings.
図1は、本実施形態であるデジタルカメラのブロック図である。 FIG. 1 is a block diagram of a digital camera according to the present embodiment.
デジタルカメラ100は、ここではミラーレス型のデジタルカメラとして構成されており、モードダイヤル、レリーズボタン、十字ボタン、実行ボタンなどを含めた操作部材104に対するユーザの入力操作に従い、撮影、記録画像の再生、モード設定などが行われる。カメラ正面側には撮影レンズ107を収納する鏡筒102が着脱自在に取り付けられており、カメラ背面には、LCD106が設けられている。
Here, the
CPU、RAMなどを含む信号処理部101は、レリーズボタンなどの操作部材104に対するボタン操作に応じて、露出制御、記録動作、再生表示動作などカメラ全体の動作制御を行う。また、画像信号処理などを実行する画像処理部132および補正部134を備える。カメラ動作制御のプログラムは、図示しないROMなどの記録媒体に記憶されている。
A
撮影レンズ107は、被写体からの光が入射するとCCD、CMOSセンサなどのイメージセンサ111に光を結像し、これによって被写体像がイメージセンサ111に形成される。イメージセンサ111の受光面上には、R,G,Bなどのカラーフィルタアレイ(図示せず)が配置されている。
The
スルー画像表示の場合、タイミングジェネレータ(TG)120からの駆動信号に従い、1フィールド又は1フレーム分の画素信号が所定の時間間隔(例えば、1/60秒あるいは1/30秒)でイメージセンサ111から読み出される。読み出された画素信号は、AFE回路130において増幅処理、デジタル化など施された後、信号処理部101の画像処理部132に送られる。
In the case of through image display, pixel signals for one field or one frame are output from the image sensor 111 at a predetermined time interval (for example, 1/60 seconds or 1/30 seconds) in accordance with a drive signal from the timing generator (TG) 120. Read out. The read pixel signal is amplified and digitized by the
画像信号処理部132では、色補間処理、色変換処理、ホワイトバランス調整処理などが画素信号に対して施される。これにより、R,G,Bの画素値が画素毎に求められ、カラー画像信号が生成される。生成されたカラー画像信号は、画像メモリ103に一時的に格納される。信号処理部101は、カラー画像信号に基づいてLCD106を駆動し、これによってリアルタイムの動画像が表示される。
The image
レリーズボタンが半押しされると、イメージセンサ111から読み出される画素信号に基づいて、コントラスト式AF処理が実行される。信号処理部101は、レンズ駆動部136を制御して撮影レンズ107を駆動し、コントラスト値がピークとなる合焦位置を検出する。また、コントラスト式AF処理とともに、イメージセンサ111から読み出される画素信号に基づいて被写体像の明るさが検出され、露出値が演算される。
When the release button is pressed halfway, a contrast AF process is executed based on the pixel signal read from the image sensor 111. The
さらにレリーズボタンが全押しされると、露出制御部138は、露出値に基づいて図示しないシャッタ、絞り等を駆動し、露出制御する。これにより、1フレーム分の画素信号がイメージセンサ111から読み出される。
Further, when the release button is fully pressed, the
画像信号処理部132では、読み出された1フレーム分の画素信号に基づいて静止画像データを生成する。静止画像データは、圧縮状態、あるいは非圧縮のままでメモリカードなどの記録媒体105に記録する。再生モードが設定されると、選択された記録画像がLCD106に表示される。
The image
補正部134は、生成されたR,G,Bカラー画像信号に対してシェーディング補正処理を実行する。すなわち、装着された撮影レンズ107のレンズ特性等に起因する撮影画像の周辺部光量低下を補償するように、ゲイン補正する。ただし、シェーディング補正した後にR,G,Bカラー画像信号を生成してもよい。鏡筒102のレンズメモリ108または信号処理部に付属の不揮発性メモリ(図示せず)には、レンズ設計値(あるいは測定値、調整値などでもよい)に関するデータが格納されている。
The
本実施形態では、ユーザによる入力操作によって、ユーザの所望する画像部分をターゲットにしたシェーディング補正を行うことが可能であり、また、ユーザによってシェーディング補正の程度を調整することが可能である。以下、図2〜4を用いて詳述する。 In the present embodiment, it is possible to perform shading correction targeting an image portion desired by the user by an input operation by the user, and it is possible to adjust the degree of shading correction by the user. Hereinafter, it explains in full detail using FIGS.
図2は、シェーディング補正処理のフローチャートである。図3は、補正対象領域の選択画面を示した図である。図4は、撮影画像における補正係数の補間を示した図である。 FIG. 2 is a flowchart of the shading correction process. FIG. 3 is a diagram showing a selection screen for a correction target area. FIG. 4 is a diagram illustrating interpolation of correction coefficients in a captured image.
ユーザが再生モードを選択して所定の記録画像を再生させた後、シェーディング補正マニュアル設定モードを選択すると、図3に示す選択画面が表示される(S101)。図3では、山を写している撮影画像RIを再生表示したときの画面を示している。画面左上隅、右上隅、右下隅、左下隅には、それぞれ「左上」、「右上」、「右下」、[左下]の文字情報R1〜R4が表示されており、ユーザは、十字ボタンを操作することによって反転エリアRFをそれら文字情報R1〜R4の間で移動させ、画面隅部分を選択することができる。 When the user selects the reproduction mode and reproduces a predetermined recorded image and then selects the shading correction manual setting mode, a selection screen shown in FIG. 3 is displayed (S101). FIG. 3 shows a screen when a captured image RI showing a mountain is reproduced and displayed. In the upper left corner, upper right corner, lower right corner, and lower left corner of the screen, character information R1 to R4 of “upper left”, “upper right”, “lower right”, and [lower left] are displayed, respectively. By operating, the inversion area RF can be moved between the character information R1 to R4, and the screen corner portion can be selected.
レンズ特性に起因する画像周辺領域、特に画像4隅付近における光量低下は、撮影シーンによって目立つ場合と目立たない場合がある。例えば、人物や建造物などの被写体が視野(フレーム)周辺に存在する場合、光量低下は目立たない。一方、青空などを撮影する場合、画像周辺の光量低下が目立つ。したがって、撮影画像下半分がビルなどの建物である一方、上半分が青空のような構図の場合、左上、右上の周辺光量低下は顕著になるが、左下、右下の周辺光量低下はそれほど目立たない。 The decrease in the amount of light in the peripheral area of the image, particularly in the vicinity of the four corners of the image due to the lens characteristics, may or may not be noticeable depending on the shooting scene. For example, when a subject such as a person or a building is present around the field of view (frame), the reduction in the amount of light is not noticeable. On the other hand, when photographing a blue sky or the like, a decrease in the amount of light around the image is conspicuous. Therefore, when the lower half of the photographed image is a building such as a building and the upper half is a composition like a blue sky, the decrease in the amount of peripheral light in the upper left and the upper right becomes noticeable, but the decrease in the amount of peripheral light in the lower left and lower right is so noticeable. Absent.
このような撮影画像に対して一律に周辺光量低下に対する補正を行うと、画像左下隅部分、右下隅部分においてはそれほど印象は変わらず、ノイズだけが増加してしまう。また、室内照明による撮影画像の場合、画像四隅部分のいずれかに照明が入り込むと、その部分が光量低下補正によって白飛びになり、画質が低下して印象が悪くなってしまう。 If correction for a decrease in peripheral light amount is performed uniformly on such a captured image, the impression does not change so much in the lower left corner portion and lower right corner portion of the image, and only noise increases. Further, in the case of a photographed image by room illumination, if illumination enters any one of the four corners of the image, the portion becomes overexposed by the light amount reduction correction, and the image quality is deteriorated and the impression is deteriorated.
本実施形態では、ユーザが実際に撮影画像を見ながら、画像左上、右上、左下、右下隅部分を個別に選び、選択された隅部分に基づいた周辺光量低下補正を行う。具体的には、ユーザが撮影画像の中で光量低下が目立っていると判断できる部分についてはシェーディング補正を行い、目立っていないと判断できる部分についてはシェーディング補正を行わないように、撮影画像隅部分を選択する。例えば、図3に示すような撮影画像RIの場合、ユーザは画面右上隅部分だけを補正対象として選択することができる。 In the present embodiment, the user individually selects the upper left, upper right, lower left, and lower right corner portions of the image while viewing the captured image, and performs peripheral light amount reduction correction based on the selected corner portions. Specifically, the corner portion of the captured image is such that shading correction is performed on the portion of the captured image that can be determined to have a noticeable decrease in light intensity, and shading correction is not performed on the portion that can be determined to be inconspicuous. Select. For example, in the case of a captured image RI as shown in FIG. 3, the user can select only the upper right corner portion of the screen as a correction target.
ユーザが十字ボタンの操作によって画面隅部分を選択し、実行ボタンを操作すると、その反転領域RFの画面隅部分が補正対象領域として選択、設定される(S102、S103)。ユーザは、1つあるいは複数の画面隅部分を選択することが可能である。ただし、ここでの画面隅部分の選択は、あくまでもシェーディング補正を行う対象エリアを概略的に定めるものであり、実際に補正対象となる画素領域をユーザに決定させるものではなく、また、後述するように画面隅部分だけにシェーディング補正を行うものでもない。 When the user selects a screen corner by operating the cross button and operates the execution button, the screen corner of the inversion area RF is selected and set as a correction target area (S102, S103). The user can select one or a plurality of screen corner portions. However, the selection of the screen corner portion here merely determines the target area to be subjected to shading correction, and does not cause the user to determine the pixel area to be actually corrected, and will be described later. In addition, shading correction is not performed only on the corners of the screen.
ユーザによって画面隅部分が選択されると、ユーザにより補正係数の調整操作が行われたか否かが判断される(S104)。ユーザは、十字ボタンなどを操作することによって、選択した画面隅部分に対し、補正係数の値を調整することが可能である。 When the screen corner portion is selected by the user, it is determined whether or not a correction coefficient adjustment operation has been performed by the user (S104). The user can adjust the value of the correction coefficient for the selected screen corner by operating the cross button or the like.
記憶されるレンズデータのデータ容量の制限などから、離散的な像高に対する補正係数が所定の画素に対してあらかじめ記憶されており、それを補間して各画素に対して補正係数を算出する。補正係数を調整可能な画素は、ここでは図4に示す対角線S1、S2上にある画素に定められており、光軸と一致する画像中心Cから対角線S1、S2に沿って左上隅、右上隅、左下隅、右下隅方向に向くラインT1〜T4に対し、補正係数の値を別々に調整(変更)することが可能である。ユーザは、補正係数を任意に設定することが可能である。図示していないが、補正係数は像高に対するデータなので対角に限定されず、光軸中心を通る線上であれば任意の点を取る事ができる。すなわち、画面内のあらゆる点を指定する事が可能である。 A correction coefficient for a discrete image height is stored in advance for a predetermined pixel because of the limitation of the data capacity of the lens data to be stored. The correction coefficient is calculated for each pixel by interpolating the correction coefficient. Here, the pixels whose correction coefficients can be adjusted are defined as pixels on the diagonal lines S1 and S2 shown in FIG. 4, and the upper left corner and upper right corner along the diagonal lines S1 and S2 from the image center C coincident with the optical axis. The values of the correction coefficients can be adjusted (changed) separately for the lines T1 to T4 that face in the direction of the lower left corner and the lower right corner. The user can arbitrarily set the correction coefficient. Although not shown, since the correction coefficient is data with respect to the image height, the correction coefficient is not limited to diagonal, and any point can be taken as long as it is on a line passing through the center of the optical axis. That is, any point in the screen can be specified.
ユーザの調整操作によって補正係数が調整されると(S105)、シェーディング補正を実行させる操作(ここでは実行ボタンの押下)が行われたか否かが判断される(S106)。シェーディング補正実行の操作が行われたと判断されると、シェーディング補正対象となる画素に対し、シェーディング補正が行われる(S107)。他のモードへ移行する操作などが行われると、処理は終了する(S108)。 When the correction coefficient is adjusted by the user's adjustment operation (S105), it is determined whether an operation for executing shading correction (here, pressing of the execution button) has been performed (S106). If it is determined that an operation for performing shading correction has been performed, shading correction is performed on the pixels that are to be subjected to shading correction (S107). When an operation for shifting to another mode or the like is performed, the process ends (S108).
対角線S1、S2上にある画素については、調整された補正係数に基づいて周辺光量低下補正が行われる。対角線S1、S2上にない画素については、対角線S1、S2上にある画素に対して画像中心(光軸)Cからの距離が等しい同心円上にある画素の補正係数を、その対角線S1、S2上にあって同心円上にある画素の補正係数を用いた線形補間を行うことで求める。 For the pixels on the diagonal lines S1 and S2, the peripheral light amount decrease correction is performed based on the adjusted correction coefficient. For pixels that are not on the diagonal lines S1 and S2, the correction coefficients of the pixels that are on concentric circles having the same distance from the image center (optical axis) C relative to the pixels on the diagonal lines S1 and S2 are calculated on the diagonal lines S1 and S2. Therefore, it is obtained by performing linear interpolation using a correction coefficient of pixels on concentric circles.
例えば、ユーザが撮影画像RIの左上隅部分、右上隅部分を補正対象として選択し、ラインT1、T2に対して補正係数を調整すると、画像中心Cから同じ像高である画素PK1、PK2と同心円に沿った同じ像高にある画素PJの補正係数は、画素PK1、PK2の補正係数を用いて線形補間により求める。他の対角線S1、S2上にない画素についても同様の線形補間によって補正係数が求められる。ただし、線形補間以外の補間演算などによって求めてもよい。 For example, when the user selects the upper left corner portion and the upper right corner portion of the captured image RI as correction targets and adjusts the correction coefficient with respect to the lines T1 and T2, the pixels PK1 and PK2 having the same image height from the image center C are concentric. The correction coefficient of the pixel PJ having the same image height along the line is obtained by linear interpolation using the correction coefficients of the pixels PK1 and PK2. Correction coefficients are obtained by the same linear interpolation for the pixels not on the other diagonal lines S1 and S2. However, you may obtain | require by interpolation calculations other than linear interpolation.
補間に基づく周辺光量低下補正を行うと、ユーザが選択した画面隅部分以外の画素に対してもゲイン補正を行うことになるが、これによって撮影画像の中で不自然な光量の違いが生じない。すなわち、ユーザの選択した画面隅部分を中心とした周辺光量低下補正を行うことができる。例えば、撮影画像RIの左上隅部分、右上隅部分のみをユーザが選択した場合、図4に示す領域A1、A2、A4内の画素が周辺光量低下補正対象の画素となり、左上隅部分R1、右上隅部分R2でラインT1、T2上(特に隅部分)の画素に対して比較的大きなゲイン補正がかかる。 When the peripheral light amount reduction correction based on the interpolation is performed, the gain correction is performed for pixels other than the screen corner portion selected by the user, but this does not cause an unnatural difference in the light amount in the captured image. . That is, it is possible to perform the peripheral light amount decrease correction with the screen corner selected by the user as the center. For example, when the user selects only the upper left corner portion and the upper right corner portion of the photographed image RI, the pixels in the areas A1, A2, and A4 shown in FIG. A relatively large gain correction is applied to the pixels on the lines T1 and T2 (particularly corner portions) at the corner portion R2.
このように本実施形態によれば、補正係数に基づいて周辺光量低下補正を行う場合、ユーザが補正を行う画面隅部分を選択可能とし、また、その選択した画面隅部分に応じた対角線上のラインに位置する画素の補正係数を調整可能とする。画面隅部分が選択され、補正係数が調整されると、選択された領域の補正係数に基づいて周辺光量低下補正が行われる。 As described above, according to the present embodiment, when the peripheral light amount reduction correction is performed based on the correction coefficient, the user can select the screen corner portion to be corrected, and the diagonal line corresponding to the selected screen corner portion can be selected. The correction coefficient of the pixel located on the line can be adjusted. When the screen corner is selected and the correction coefficient is adjusted, the peripheral light amount reduction correction is performed based on the correction coefficient of the selected area.
ユーザが実際に撮影画像を見て周辺光量低下補正を行う画面隅部分を決定するので、撮影シーンにとって補正が必要な個所を適切に見分けて補正することができ、また、選択した領域に対して補正係数を調整することができるので、補正の程度もユーザの好みに合わせることができる。 Since the user actually sees the captured image and decides the corner of the screen where the peripheral light amount reduction correction is performed, it is possible to appropriately identify and correct the portion that needs to be corrected for the shooting scene, and to the selected area Since the correction coefficient can be adjusted, the degree of correction can be adjusted to the user's preference.
補正係数の値を直接調整するのではなく、補正割合を調整してもよい。ただし、補正割合とは、補正係数を画素値に反映さる程度を調整する値であり、補正割合100%のときには補正係数値をそのまま使用し、補正割合の値が小さくなるほど補正係数の値が減少する。なお、上限を設定すれば、例えば120%などの補正割合を設定するように構成してもよい。 Instead of directly adjusting the value of the correction coefficient, the correction ratio may be adjusted. However, the correction ratio is a value that adjusts the degree to which the correction coefficient is reflected in the pixel value. When the correction ratio is 100%, the correction coefficient value is used as it is, and the correction coefficient value decreases as the correction ratio value decreases. To do. If an upper limit is set, a correction ratio such as 120% may be set.
本実施形態では、画像中心が光学中心、すなわち光軸と一致しているとみなしているが、手振れ機構などによって画像中心と光学中心が一致しない撮影画像の場合、光学中心を通る線上の画素を補正係数調整可能な画素とする。 In the present embodiment, the image center is regarded as the optical center, that is, the optical axis, but in the case of a captured image in which the image center and the optical center do not coincide with each other by a camera shake mechanism or the like, pixels on a line passing through the optical center are determined. A pixel whose correction coefficient can be adjusted.
図5は、画像中心が光学中心と一致していない場合における補正係数の補間を示した図である。光学中心Cを通り、先の対角線S1、S2と平行な斜め方向の2つの線S’1、S’2上の画素に対して補正係数を調整可能であり、線S’1、S’2上にない画素PJ’については、上述した補間処理によって補正係数が求められる。また、図示していないが、線分は画面の四隅の何れかと光軸を結ぶ線分であることも可能でその線分上の画素について補正係数を調整可能であるとすることもできる。さらに、線分は光軸を通る線であれば任意の線分を設定してもよい。 FIG. 5 is a diagram showing interpolation of correction coefficients when the image center does not coincide with the optical center. Correction coefficients can be adjusted for pixels on two diagonal lines S′1 and S′2 passing through the optical center C and parallel to the diagonal lines S1 and S2, and the lines S′1 and S′2. For the pixel PJ ′ that is not above, the correction coefficient is obtained by the interpolation process described above. Although not shown, the line segment can be a line segment connecting any one of the four corners of the screen to the optical axis, and the correction coefficient can be adjusted for the pixels on the line segment. Furthermore, as long as the line segment passes through the optical axis, an arbitrary line segment may be set.
本実施形態では、光学中心を通るラインに沿った画素の補正係数に基づいて他の画素の補正係数を補間により求めているが、ユーザが選択した画像領域に位置する画素を補正対象の画素と定め、その画素に対して周辺光量低下補正を行ってもよい。また、撮影光学系の特性に従ってあらかじめ定められた補正係数を調整、修正するのではなく、ユーザの入力操作などによって補正係数あるいは補正割合の値をそのまま設定するようにしてもよい。 In this embodiment, the correction coefficient of another pixel is obtained by interpolation based on the correction coefficient of the pixel along the line passing through the optical center, but the pixel located in the image area selected by the user is determined as the correction target pixel. And the peripheral light amount decrease correction may be performed on the pixel. Further, instead of adjusting and correcting a predetermined correction coefficient according to the characteristics of the photographing optical system, the correction coefficient or the correction ratio value may be set as it is by a user input operation or the like.
ユーザの選択する画像部分は、画面4隅部分に限定されず、画面内の任意の領域であってもよい。さらには、画面内の任意領域の中から特定の領域をユーザが選択するようにしてもよい。この場合、調整可能な補正係数は、撮影条件における光学中心からその領域へのライン上にある画素が補正係数となる。画面周辺部分に限定されない光量低下に対する補正を行うことができる。 The image portion selected by the user is not limited to the four corner portions of the screen, and may be an arbitrary region within the screen. Furthermore, the user may select a specific area from an arbitrary area on the screen. In this case, the adjustment coefficient that can be adjusted is a pixel that is on the line from the optical center to the area under the photographing conditions. It is possible to perform correction for a light amount decrease that is not limited to the peripheral portion of the screen.
さらに、ユーザによる補正係数の調整は行わず、ユーザが補正対象領域のみ選択するように構成してもよい。この場合でも、ユーザが希望する画像部分を中心とした光量低下に対する補正が行われ、ユーザ好みの適切な補正を行うことができる。光量低下に対する補正としは、ゲイン処理以外のオフセット処理も可能であり、ゲイン処理とオフセット処理を組み合わせてもよい。 Further, the user may select only the correction target area without adjusting the correction coefficient. Even in this case, correction for the light amount reduction centered on the image portion desired by the user is performed, and appropriate correction according to the user preference can be performed. As correction for the light amount reduction, offset processing other than gain processing is also possible, and gain processing and offset processing may be combined.
本実施形態では、デジタルカメラにおいて周辺光量低下補正を行う構成にしているが、PCなどのコンピュータにおいて、画像編集ソフトウェアに組み込んで光量低下に対する補正を行うようにしてもよい。 In this embodiment, the digital camera is configured to perform the peripheral light amount decrease correction. However, a computer such as a PC may be incorporated in the image editing software to correct the light amount decrease.
100 デジタルカメラ(撮影装置)
101 信号処理部(選択部、調整部)
132 画像信号処理部
134 補正部
100 Digital camera (photographing device)
101 Signal processing unit (selection unit, adjustment unit)
132 Image
Claims (7)
前記選択手段によって選択された画像領域に従って定められる補正対象画素に対し、明るさに関する補正を行う補正手段と
を備えたことを特徴とする画像処理装置。 A selection means for selecting a specific image area from a plurality of image areas determined by dividing a captured image, or an arbitrary area;
An image processing apparatus comprising: correction means for performing correction relating to brightness on a correction target pixel determined according to an image region selected by the selection means.
前記調整手段が、調整対象画素以外の補正対象画素の補正係数を、該補正対象画素と画像中心または光学中心から等距離の同心円上にある調整対象画素の補正係数を用いた補間によって、補正することを特徴とする請求項2に記載の画像処理装置。 The adjustment means is capable of adjusting a correction coefficient of an adjustment target pixel determined along an image center or an optical center of a captured image;
The adjustment unit corrects the correction coefficient of the correction target pixel other than the adjustment target pixel by interpolation using the correction coefficient of the adjustment target pixel located on the concentric circle equidistant from the correction target pixel and the image center or the optical center. The image processing apparatus according to claim 2.
選択された画像領域に従って定められる補正対象画素に対し、明るさに関する補正を行うことを特徴とする画像処理方法。 Select a specific image area from a plurality of image areas defined by dividing the captured image or from any area,
An image processing method comprising performing correction relating to brightness on a correction target pixel determined according to a selected image area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016159194A JP6809032B2 (en) | 2016-08-15 | 2016-08-15 | Image processing equipment and imaging equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016159194A JP6809032B2 (en) | 2016-08-15 | 2016-08-15 | Image processing equipment and imaging equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018029225A true JP2018029225A (en) | 2018-02-22 |
| JP6809032B2 JP6809032B2 (en) | 2021-01-06 |
Family
ID=61248607
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016159194A Expired - Fee Related JP6809032B2 (en) | 2016-08-15 | 2016-08-15 | Image processing equipment and imaging equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6809032B2 (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001274973A (en) * | 2000-03-24 | 2001-10-05 | Sanyo Electric Co Ltd | Device and method for synthesizing microscopic image and computer-readable recording medium with microscopic image synthesizing processing program recorded thereon |
| JP2002185971A (en) * | 2000-12-11 | 2002-06-28 | Nikon Corp | Irregular color correcting device and electronic camera |
| JP2003116047A (en) * | 2001-10-03 | 2003-04-18 | Fuji Photo Film Co Ltd | Image pickup device and photograph controlling method |
| JP2005072967A (en) * | 2003-08-25 | 2005-03-17 | Olympus Corp | Microscopic image capturing apparatus and method |
| JP2006148795A (en) * | 2004-11-24 | 2006-06-08 | Canon Inc | Imaging device |
| JP2009094697A (en) * | 2007-10-05 | 2009-04-30 | Nikon Corp | Image processing apparatus, electronic camera, and image processing program |
| JP2011071766A (en) * | 2009-09-25 | 2011-04-07 | Canon Inc | Imaging apparatus and method for correcting image data |
| JP2012094951A (en) * | 2010-10-25 | 2012-05-17 | Casio Comput Co Ltd | Image processing device, image processing method, and program |
| JP2016096449A (en) * | 2014-11-14 | 2016-05-26 | 富士通テン株式会社 | Image display device, brightness change method, and program |
| JP2016143990A (en) * | 2015-01-30 | 2016-08-08 | キヤノン株式会社 | Image processing apparatus, imaging apparatus, image processing method, and program |
-
2016
- 2016-08-15 JP JP2016159194A patent/JP6809032B2/en not_active Expired - Fee Related
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001274973A (en) * | 2000-03-24 | 2001-10-05 | Sanyo Electric Co Ltd | Device and method for synthesizing microscopic image and computer-readable recording medium with microscopic image synthesizing processing program recorded thereon |
| JP2002185971A (en) * | 2000-12-11 | 2002-06-28 | Nikon Corp | Irregular color correcting device and electronic camera |
| JP2003116047A (en) * | 2001-10-03 | 2003-04-18 | Fuji Photo Film Co Ltd | Image pickup device and photograph controlling method |
| JP2005072967A (en) * | 2003-08-25 | 2005-03-17 | Olympus Corp | Microscopic image capturing apparatus and method |
| JP2006148795A (en) * | 2004-11-24 | 2006-06-08 | Canon Inc | Imaging device |
| JP2009094697A (en) * | 2007-10-05 | 2009-04-30 | Nikon Corp | Image processing apparatus, electronic camera, and image processing program |
| JP2011071766A (en) * | 2009-09-25 | 2011-04-07 | Canon Inc | Imaging apparatus and method for correcting image data |
| JP2012094951A (en) * | 2010-10-25 | 2012-05-17 | Casio Comput Co Ltd | Image processing device, image processing method, and program |
| JP2016096449A (en) * | 2014-11-14 | 2016-05-26 | 富士通テン株式会社 | Image display device, brightness change method, and program |
| JP2016143990A (en) * | 2015-01-30 | 2016-08-08 | キヤノン株式会社 | Image processing apparatus, imaging apparatus, image processing method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6809032B2 (en) | 2021-01-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10194091B2 (en) | Image capturing apparatus, control method therefor, program, and recording medium | |
| US9451160B2 (en) | Imaging apparatus and method for controlling the imaging apparatus | |
| US9843735B2 (en) | Image processing apparatus, imaging apparatus comprising the same, and image processing method | |
| US10986262B2 (en) | Imaging apparatus, control method, and non-transitory storage medium | |
| JP5642433B2 (en) | Imaging apparatus and image processing method | |
| US10992854B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and storage medium | |
| JP3912404B2 (en) | Imaging device | |
| JP2017022610A (en) | Image processing apparatus and image processing method | |
| US10762600B2 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable recording medium | |
| JP2018006827A (en) | Imaging apparatus, imaging program, and imaging method | |
| JP2016019196A (en) | Imaging device and control method and program therefor | |
| KR20080101277A (en) | Digital image processing device for displaying histogram and method of operation thereof | |
| JP7077100B2 (en) | Imaging device and its control method, and program | |
| JP6606838B2 (en) | Imaging apparatus and imaging method | |
| JP5948997B2 (en) | Imaging apparatus and imaging method | |
| JP6631099B2 (en) | Imaging device | |
| JP2010068046A (en) | Imaging apparatus | |
| JP2004088408A (en) | Digital camera | |
| JP6108854B2 (en) | Imaging apparatus and control method thereof | |
| JP5284183B2 (en) | Image processing apparatus and method | |
| JP2008053931A (en) | Imaging device | |
| JP2015179968A (en) | Device, method and program | |
| JP6809032B2 (en) | Image processing equipment and imaging equipment | |
| JP6547742B2 (en) | Imaging control apparatus, imaging apparatus and imaging control method | |
| JP6157274B2 (en) | Imaging apparatus, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190618 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200226 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200310 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200511 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200707 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200901 |
|
| 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: 20201110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201123 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6809032 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |