JP2015226158A - Image processing system and image processing method - Google Patents
Image processing system and image processing method Download PDFInfo
- Publication number
- JP2015226158A JP2015226158A JP2014109411A JP2014109411A JP2015226158A JP 2015226158 A JP2015226158 A JP 2015226158A JP 2014109411 A JP2014109411 A JP 2014109411A JP 2014109411 A JP2014109411 A JP 2014109411A JP 2015226158 A JP2015226158 A JP 2015226158A
- Authority
- JP
- Japan
- Prior art keywords
- shift amount
- color shift
- characteristic
- amount
- induced
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本開示は、画像処理装置および画像処理方法に関し、特に、特性起因色ずれ量や個体差起因色ずれ量を精度良く検出することができるようにした画像処理装置および画像処理方法に関する。 The present disclosure relates to an image processing apparatus and an image processing method, and more particularly, to an image processing apparatus and an image processing method capable of accurately detecting a characteristic-induced color shift amount and an individual-difference color shift amount.
撮像画像では、色の波長によって結像する像の大きさ(倍率)が異なるため、倍率色収差が発生する。近年、倍率色収差が発生している画像の倍率色収差の影響を除去するための補正の補正量を、画像の撮影に用いたレンズの情報などを用いたり、事前にキャリブレーションなどを行ったりせずに、画像のみを用いて算出する技術が考案されている。 In the captured image, the chromatic aberration of magnification occurs because the size (magnification) of the image formed differs depending on the color wavelength. In recent years, the amount of correction to eliminate the effect of chromatic aberration of magnification on images that have developed chromatic aberration of magnification does not use information about the lens used to shoot the image or perform calibration in advance. In addition, a technique for calculating using only an image has been devised.
このような技術としては、例えば、画像から、撮影に用いたレンズの特性に起因する、画像の中心に対して対称に発生する色ずれ(以下、対称色ずれという)を検出する技術がある(例えば、特許文献1参照)。特許文献1に記載されている技術では、画像中の複数箇所においてローカルな対称色ずれ量を検波し、検波した色ずれ量を集計することにより、画像全体における対称色ずれ量を検出する検出処理が行われる。 As such a technique, for example, there is a technique for detecting a color shift that occurs symmetrically with respect to the center of the image (hereinafter referred to as a symmetric color shift) due to the characteristics of the lens used for shooting from the image ( For example, see Patent Document 1). In the technique described in Japanese Patent Application Laid-Open No. H10-228707, a detection process for detecting a symmetric color misregistration amount in the entire image by detecting local symmetric color misregistration amounts at a plurality of locations in the image and counting the detected color misregistration amounts. Is done.
しかしながら、特許文献1に記載されている技術では、レンズの取り付け誤差などのレンズの個体差に起因する色ずれは考慮されておらず、レンズの個体差によって倍率色収差の点対称性が崩れた収差が発生している場合に、精度良く補正することができない。
However, the technique described in
一方、画像から、対称色ずれと、レンズの個体差に起因する画像内で一様に発生する色ずれ(以下、均一色ずれという)の両方を検出する技術もある(例えば、特許文献2参照)。特許文献2に記載されている技術では、対称色ずれ量と均一色ずれ量の検出処理が独立して行われる。 On the other hand, there is also a technique for detecting both a symmetric color shift and a color shift that occurs uniformly in an image due to individual lens differences (hereinafter referred to as uniform color shift) from an image (see, for example, Patent Document 2). ). In the technique described in Patent Document 2, the detection processing of the symmetric color shift amount and the uniform color shift amount is performed independently.
対称色ずれ量の検出処理は、特許文献1に記載されている検出処理と同様である。また、均一色ずれ量の検出処理は、画像内の対称色ずれが生じていない領域においてローカルな均一色ずれ量を検波し、検波したローカルな均一色ずれ量の平均値を画像全体における均一色ずれ量として検出する処理である。
The detection process of the symmetric color shift amount is the same as the detection process described in
画像内の対称色ずれが生じていない領域とは、画像の中心を通過する水平方向および垂直方向の直線上の領域である。従って、対称色ずれが生じていない領域において、必ずしも輝度変化が大きいエッジが存在するとは限らず、エッジが存在しない場合には均一色ずれ量を検波することができない。 The region where no symmetric color shift occurs in the image is a region on a straight line in the horizontal direction and the vertical direction passing through the center of the image. Therefore, in a region where no symmetric color shift has occurred, an edge having a large luminance change does not necessarily exist, and when there is no edge, a uniform color shift amount cannot be detected.
また、画像内の対称色ずれが生じていない領域を、画像の中心を通過する水平方向および垂直方向の直線を含む所定の範囲の領域に拡大して均一色ずれ量を検波することも考えられる。しかしながら、実際には、画像の中心を通過する水平方向および垂直方向の直線上の領域以外の領域には、対称色ずれが発生している。即ち、検波される均一色ずれ量には、実際の均一色ずれ量と対称色ずれ量の外積がオフセットとして含まれている。従って、精度良く均一色ずれ量を検出することはできない。 It is also conceivable to detect a uniform color misregistration amount by enlarging an area in the image where no symmetric color misregistration has occurred into a predetermined range including horizontal and vertical straight lines passing through the center of the image. . However, in practice, a symmetric color shift occurs in a region other than the region on the straight line in the horizontal direction and the vertical direction passing through the center of the image. That is, the detected uniform color misregistration amount includes an outer product of the actual uniform color misregistration amount and the symmetric color misregistration amount as an offset. Therefore, the uniform color shift amount cannot be detected with high accuracy.
さらに、検波される対称色ずれ量には、均一色ずれ量が含まれており、精度良く対称色ずれ量を検出することはできない。 Further, the detected symmetric color misregistration amount includes a uniform color misregistration amount, and the symmetric color misregistration amount cannot be detected with high accuracy.
以上のように、画像から、対称色ずれ量などの画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量と、均一色ずれ量などの画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量とを独立して検出する場合、検出精度が低くなる。 As described above, from the image, the color resulting from the individual difference of the image lens such as the characteristic color misregistration amount such as the color misregistration amount such as the symmetric color misregistration amount and the uniform color misregistration amount. When the individual-deviation color shift amount that is the shift amount is detected independently, the detection accuracy is lowered.
本開示は、このような状況に鑑みてなされたものであり、特性起因色ずれ量や個体差起因色ずれ量を精度良く検出することができるようにするものである。 The present disclosure has been made in view of such a situation, and makes it possible to accurately detect a characteristic-induced color shift amount and an individual-difference color shift amount.
本開示の一側面の画像処理装置は、画像から検出される色ずれ量、前記画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量、および前記画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量の関係にしたがって、入力画像から前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する検出部を備える画像処理装置である。 An image processing apparatus according to one aspect of the present disclosure is caused by a color shift amount detected from an image, a characteristic-induced color shift amount that is a color shift amount caused by a lens characteristic of the image, and an individual difference of the lens of the image. The image processing apparatus includes a detection unit that detects the characteristic-induced color misregistration amount and the individual difference-induced color misregistration amount from an input image according to the relationship between the individual difference-induced color misregistration amounts that are the color misregistration amounts to be detected.
本開示の一側面の画像処理方法は、本開示の一側面の画像処理装置に対応する。 An image processing method according to one aspect of the present disclosure corresponds to the image processing apparatus according to one aspect of the present disclosure.
本開示の一側面においては、画像から検出される色ずれ量、前記画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量、および前記画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量の関係にしたがって、入力画像から前記特性起因色ずれ量と前記個体差起因色ずれ量が検出される。 In one aspect of the present disclosure, a color misregistration amount detected from an image, a color misregistration amount that is a color misregistration amount caused by characteristics of the lens of the image, and a color misregistration caused by individual differences of the lenses of the image The characteristic-induced color misregistration amount and the individual difference-induced color misregistration amount are detected from the input image in accordance with the relationship between the individual difference-induced color misregistration amounts, which are amounts.
なお、本開示の一側面の画像処理装置は、コンピュータにプログラムを実行させることにより実現することができる。 Note that the image processing apparatus according to one aspect of the present disclosure can be realized by causing a computer to execute a program.
また、本開示の一側面の画像処理装置を実現するために、コンピュータに実行させるプログラムは、伝送媒体を介して伝送することにより、又は、記録媒体に記録して、提供することができる。 In order to realize the image processing apparatus according to one aspect of the present disclosure, a program to be executed by a computer can be provided by being transmitted via a transmission medium or by being recorded on a recording medium.
本開示の一側面によれば、画像を処理することができる。また、本開示の一側面によれば、特性起因色ずれ量や個体差起因色ずれ量を精度良く検出することができる。 According to one aspect of the present disclosure, an image can be processed. Further, according to one aspect of the present disclosure, it is possible to accurately detect a characteristic-induced color shift amount and an individual-difference color shift amount.
なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。 Note that the effects described here are not necessarily limited, and may be any of the effects described in the present disclosure.
以下、本開示の前提および本開示を実施するための形態(以下、実施の形態という)について説明する。なお、説明は以下の順序で行う。
1.第1実施の形態:画像処理装置(図1乃至図9)
2.第2実施の形態:画像処理装置(図10)
3.第3実施の形態:画像処理装置(図11および図12)
4.第4実施の形態:画像処理装置(図13および図14)
5.第5実施の形態:コンピュータ(図15)
Hereinafter, the premise of this indication and the form for implementing this indication (henceforth an embodiment) are explained. The description will be given in the following order.
1. First Embodiment: Image Processing Device (FIGS. 1 to 9)
2. Second Embodiment: Image Processing Device (FIG. 10)
3. Third embodiment: image processing apparatus (FIGS. 11 and 12)
4). Fourth embodiment: image processing apparatus (FIGS. 13 and 14)
5. Fifth embodiment: computer (FIG. 15)
<第1実施の形態>
(画像処理装置の第1実施の形態の構成例)
図1は、本開示を適用した画像処理装置の第1実施の形態の構成例を示すブロック図である。
<First embodiment>
(Configuration example of first embodiment of image processing apparatus)
FIG. 1 is a block diagram illustrating a configuration example of a first embodiment of an image processing apparatus to which the present disclosure is applied.
図1の画像処理装置10は、検出部11、均一色ずれ量集計部12、および対称色ずれ量集計部13により構成される。画像処理装置10は、入力された撮像画像から、特性起因色ずれ量としての対称色ずれ量と、個体差起因色ずれ量としての均一色ずれ量とを検出する。
The
具体的には、画像処理装置10の検出部11は、対称色ずれ量検出部31、対称色ずれ量仮集計部32、均一用オフセット計算部33、均一色ずれ量検出部34、均一色ずれ量算出部35、対称用オフセット計算部36、および対称色ずれ量算出部37により構成される。検出部11は、撮像画像から検出される色ずれ量、撮像画像の対称色ずれ量、および撮像画像の均一色ずれ量の関係(以下、対称均一関係という)にしたがって、入力画像から対称色ずれ量と均一色ずれ量を検出する。
Specifically, the detection unit 11 of the
即ち、検出部11の対称色ずれ量検出部31(特性起因色ずれ量算出部)は、外部から入力される撮像画像の所定の検波方向に直交するエッジの領域(第2の領域/第1の領域)でブロックマッチングを行うことにより色ずれ量を検出する。対称色ずれ量検出部31は、検出された色ずれ量をローカル対称色ずれ量として、対称色ずれ量仮集計部32と対称色ずれ量算出部37に供給する。
That is, the symmetric color misregistration amount detection unit 31 (characteristic-induced color misregistration amount calculation unit) of the detection unit 11 has an edge region (second region / first region) orthogonal to a predetermined detection direction of a captured image input from the outside. The color misregistration amount is detected by performing block matching in the area (1). The symmetric color misregistration
対称色ずれ量仮集計部32は、検出されたローカル対称色ずれ量に均一色ずれ量が含まれていないと仮定し、撮像画像の中心から検出位置までの距離ごとに、対称色ずれ量検出部31から供給されるローカル対称色ずれ量の平均値を算出する。対称色ずれ量仮集計部32は、算出された平均値を画像全体における対称色ずれ量(の仮の値)として、均一用オフセット計算部33に供給する。
The symmetric color misregistration amount
均一用オフセット計算部33は、対称色ずれ量仮集計部32または対称色ずれ量集計部13から供給される対称色ずれ量を用いて、対称均一関係にしたがって、均一用オフセット(個体差用オフセット)を算出する。均一用オフセットとは、均一色ずれ量検出部34により検出されるローカル均一色ずれ量に含まれる対称色ずれ量である。均一用オフセット計算部33は、均一用オフセットを均一色ずれ量算出部35に供給する。
The uniform offset
均一色ずれ量検出部34(個体差起因色ずれ量検出部)は、外部から入力される撮像画像の所定の検波方向に直交するエッジの領域(第1の領域/第2の領域)でブロックマッチングを行うことにより色ずれ量を検出し、ローカル均一色ずれ量として均一色ずれ量算出部35に供給する。
The uniform color shift amount detection unit 34 (individual difference caused color shift amount detection unit) blocks in an edge region (first region / second region) orthogonal to a predetermined detection direction of a captured image input from the outside. By performing matching, the color misregistration amount is detected and supplied to the uniform color misregistration
均一色ずれ量算出部35(個体差起因色ずれ量算出部)は、均一色ずれ量検出部34から供給されるローカル均一色ずれ量から、均一用オフセット計算部33から供給される均一用オフセットを削除することにより、ローカル均一色ずれ量を算出または更新する。均一色ずれ量算出部35は、算出または更新されたローカル均一色ずれ量を均一色ずれ量集計部12に供給する。
The uniform color misregistration amount calculation unit 35 (individual difference-induced color misregistration amount calculation unit) uses a uniform offset supplied from the uniform offset
対称用オフセット計算部36は、均一色ずれ量集計部12から供給される均一色ずれ量を用いて、対称均一関係にしたがって、対称用オフセット(特性用オフセット)を算出する。対称用オフセットとは、対称色ずれ量検出部31により検出されるローカル対称色ずれ量に含まれる均一色ずれ量である。対称用オフセット計算部36は、対称用オフセットを対称色ずれ量算出部37に供給する。
The symmetry offset
対称色ずれ量算出部37(特性起因色ずれ量算出部)は、対称色ずれ量検出部31から供給されるローカル対称色ずれ量から、対称用オフセット計算部36から供給される対称用オフセットを削除することにより、ローカル対称色ずれ量を補正する。対称色ずれ量算出部37は、補正後のローカル対称色ずれ量を対称色ずれ量集計部13に供給する。
The symmetric color shift amount calculation unit 37 (characteristic-induced color shift amount calculation unit) calculates the symmetric offset supplied from the symmetric offset
均一色ずれ量集計部12は、均一色ずれ量算出部35から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量として求める。均一色ずれ量集計部12は、均一色ずれ量を対称用オフセット計算部36に供給する。また、均一色ずれ量集計部12は、求められた均一色ずれ量と対称色ずれ量が収束した場合、その均一色ずれ量を最終的な均一色ずれ量として出力する。
The uniform color misregistration
対称色ずれ量集計部13は、撮像画像の中心から検出位置までの距離ごとに、対称色ずれ量算出部37から供給されるローカル対称色ずれ量の平均値を算出し、これを画像全体における対称色ずれ量とする。対称色ずれ量集計部13は、求められた均一色ずれ量と対称色ずれ量が収束した場合、その対称色ずれ量を最終的な対称色ずれ量として出力する。
The symmetric color misregistration
一方、求められた均一色ずれ量と対称色ずれ量が収束していない場合、対称色ずれ量集計部13は、その対称色ずれ量を均一用オフセット計算部33に供給する。これにより、その対称色ずれ量を用いて、均一色ずれ量と対称色ずれ量が更新される。
On the other hand, when the obtained uniform color shift amount and symmetric color shift amount have not converged, the symmetric color shift
(対称色ずれ量の説明)
図2は、撮像画像の各位置の対称色ずれ量をベクトルで表す図である。
(Explanation of symmetrical color shift amount)
FIG. 2 is a diagram illustrating a symmetric color shift amount at each position of the captured image as a vector.
図2に示すように、対称色ずれ量とは、撮像画像の中心に対して対称に発生する色ずれ量である。 As shown in FIG. 2, the symmetric color shift amount is a color shift amount that occurs symmetrically with respect to the center of the captured image.
(均一色ずれ量の説明)
図3は、撮像画像の各位置の均一色ずれ量をベクトルで表す図である。
(Description of uniform color misregistration)
FIG. 3 is a diagram illustrating a uniform color shift amount at each position of the captured image as a vector.
図3に示すように、均一色ずれ量とは、撮像画像全体に一様に発生する色ずれ量である。 As shown in FIG. 3, the uniform color misregistration amount is a color misregistration amount that occurs uniformly in the entire captured image.
(撮像画像の色ずれ量の説明)
図4は、撮像画像の各位置で発生する色ずれ量をベクトルで表す図である。
(Explanation of color shift amount of captured image)
FIG. 4 is a diagram showing the amount of color shift occurring at each position of the captured image as a vector.
図4に示すように、撮像画像の各位置では、対称色ずれと均一色ずれの両方が発生しており、撮像画像の各位置の色ずれ量は点対称ではない。即ち、撮像画像から検出される色ずれ量は、対称色ずれ量と均一色ずれ量の両方を含むものである。 As shown in FIG. 4, both symmetric color shift and uniform color shift occur at each position of the captured image, and the color shift amount at each position of the captured image is not point-symmetric. That is, the color misregistration amount detected from the captured image includes both a symmetric color misregistration amount and a uniform color misregistration amount.
(対称色ずれ量検出部における検波方向の例)
図5は、図1の対称色ずれ量検出部31における検波方向の例を示す図である。
(Example of detection direction in symmetric color shift detection unit)
FIG. 5 is a diagram illustrating an example of a detection direction in the symmetric color shift
図5に示すように、対称色ずれ量検出部31は、例えば、撮像画像を8つの領域に分割し、分割された各領域において、図中矢印で示す像高方向を検波方向に設定する。対称色ずれ量検出部31は、設定された検波方向に直交するエッジの領域を撮像画像から検出し、その領域でブロックマッチング(検波)を行うことにより、ローカル対称色ずれ量を検出する。
As illustrated in FIG. 5, for example, the symmetric color shift
(均一色ずれ量検出部における検波方向の例)
図6は、図1の均一色ずれ量検出部34における検波方向の例を示す図である。
(Example of detection direction in uniform color shift detection unit)
FIG. 6 is a diagram illustrating an example of the detection direction in the uniform color shift
図6に示すように、均一色ずれ量検出部34は、例えば、撮像画像を8つの領域に分割し、分割された8つの領域のうちの4つの領域において、図中矢印で示す像高方向と直交する方向を検波方向に設定する。均一色ずれ量検出部34は、設定された検波方向に直交するエッジの領域を撮像画像から検出し、その領域でブロックマッチング(検波)を行うことにより、ローカル均一色ずれ量を検出する。
As illustrated in FIG. 6, the uniform color shift
(対称均一関係の説明)
図7は、撮像画像からローカル対称色ずれ量が検出される場合の対称均一関係を説明する図である。
(Explanation of symmetric uniform relationship)
FIG. 7 is a diagram illustrating a symmetric uniform relationship when a local symmetric color shift amount is detected from a captured image.
なお、図7において、横軸は撮像画像の中心を通過する水平方向の直線であり、縦軸は撮像画像の中心を通過する垂直方向の直線である。このことは、後述する図8においても同様である。 In FIG. 7, the horizontal axis is a horizontal straight line passing through the center of the captured image, and the vertical axis is a vertical straight line passing through the center of the captured image. The same applies to FIG. 8 described later.
また、細い点線の矢印は、対称色ずれ量を表すベクトルであり、細い一点鎖線の矢印は、均一色ずれ量を表すベクトルであり、細い実線の矢印は、対称色ずれ量検出部31により検出されるローカル対称色ずれ量を表すベクトルである。さらに、太い実線の矢印は、実際の色ずれ量を表すベクトルであり、太い点線の矢印は、対象用オフセットを表すベクトルである。
A thin dotted line arrow is a vector representing the amount of symmetric color misregistration, a thin dashed line arrow is a vector representing the amount of uniform color misregistration, and a thin solid line arrow is detected by the symmetric color misregistration
図7に示すように、対称色ずれ量検出部31で検出されるローカル対称色ずれ量には、実際の対称色ずれ量に加えて、均一色ずれ量を検波方向に射影したものが、対象用オフセットとして含まれている。従って、図7に示すように、撮像画像の中心からの距離が同一である、即ち像高が同一である場合であっても、対称色ずれ量検出部31で検出されるローカル対称色ずれ量は異なる。
As shown in FIG. 7, the local symmetric color shift amount detected by the symmetric color shift
対称用オフセットは、以下の式(1)で定義される。 The symmetry offset is defined by the following formula (1).
式(1)において、uniform_offsetαは、対称色ずれ量検出部31により設定された検波方向と水平方向のなす角がαであるときの対称用オフセットであり、ベクトルuは、均一色ずれ量を表すベクトルである。また、θは、均一色ずれ量を表すベクトルと水平方向のなす角である。
In Expression (1), uniform_offset α is a symmetry offset when the angle between the detection direction and the horizontal direction set by the symmetric color shift
従って、例えば、αが-45度の位置における対称用オフセットは、ベクトルuを(ux,uy)として、以下の式(2)により計算することができる。 Therefore, for example, the symmetry offset at the position where α is −45 degrees can be calculated by the following equation (2), where the vector u is (u x , u y ).
(対称均一関係の説明)
図8は、撮像画像からローカル均一色ずれ量が検出される場合の対称均一関係を説明する図である。
(Explanation of symmetric uniform relationship)
FIG. 8 is a diagram illustrating a symmetric uniform relationship when a local uniform color shift amount is detected from a captured image.
なお、図8において、細い点線の矢印は、対称色ずれ量を表すベクトルであり、細い一点鎖線の矢印は、均一色ずれ量を表すベクトルであり、細い実線の矢印は、均一色ずれ量検出部34により検出されるローカル均一色ずれ量を表すベクトルである。また、太い実線の矢印は、実際の色ずれ量を表すベクトルであり、太い点線は、均一用オフセットを表すベクトルである。
In FIG. 8, the thin dotted arrow is a vector representing a symmetric color misregistration amount, the thin dashed line arrow is a vector representing a uniform color misregistration amount, and the thin solid line arrow is a uniform color misregistration amount detection. This is a vector representing the local uniform color shift amount detected by the
図8に示すように、均一色ずれ量を表すベクトルuを(ux,uy)とすると、uxは、均一色ずれ量検出部34により撮像画像の中心を通過する垂直方向の直線上で検出される水平方向に発生しているローカル均一色ずれ量と等価である。また、uyは、均一色ずれ量検出部34により撮像画像の中心を通過する水平方向の直線上で検出される垂直方向に発生しているローカル均一色ずれ量と等価である。
As shown in FIG. 8, when a vector u representing a uniform color shift amount is (u x , u y ), u x is on a vertical straight line passing through the center of the captured image by the uniform color shift
しかしながら、均一色ずれ量検出部34により撮像画像の中心を通過する垂直方向および水平方向の直線上以外の位置において検出されるローカル均一色ずれ量には、実際の均一色ずれ量に加えて、対称色ずれ量を検波方向に射影したものが、均一用オフセットとして含まれている。
However, in addition to the actual uniform color shift amount, the local uniform color shift amount detected by the uniform color shift
均一用オフセットは、以下の式(3)で定義される。 The uniform offset is defined by the following equation (3).
式(3)において、symmetric_offsetαは、対称色ずれ量を表すベクトルと水平方向のなす角がαであるときの均一用オフセットであり、ベクトルs(p)は、均一色ずれ量検出部34においてローカル均一色ずれ量が検出された位置pにおける対称色ずれ量を表すベクトルである。
In Equation (3), symmetric_offset α is a uniform offset when the angle formed between the vector representing the symmetric color shift amount and the horizontal direction is α, and the vector s (p) is determined by the uniform color shift
従って、例えば、αが-20度の位置における均一用オフセットは、以下の式(4)により計算することができる。 Therefore, for example, the uniform offset at the position where α is −20 degrees can be calculated by the following equation (4).
(画像処理装置の処理の説明)
図9は、図1の画像処理装置10の画像処理を説明するフローチャートである。この画像処理は、例えば、画像処理装置10に撮像画像が入力されたとき、開始される。
(Description of processing of image processing apparatus)
FIG. 9 is a flowchart for explaining image processing of the
図9のステップS11において、画像処理装置10の対称色ずれ量検出部31は、入力された撮像画像の所定の検波方向(図5)に直交するエッジの領域でブロックマッチングを行うことにより、ローカル対称色ずれ量を検出する。対称色ずれ量検出部31は、検出されたローカル対称色ずれ量を、対称色ずれ量仮集計部32と対称色ずれ量算出部37に供給する。
In step S11 of FIG. 9, the symmetric color shift
ステップS12において、均一色ずれ量検出部34は、入力された撮像画像の所定の検波方向(図6)に直交するエッジの領域でブロックマッチングを行うことにより、ローカル均一色ずれ量を検出する。均一色ずれ量検出部34は、検出されたローカル均一色ずれ量を均一色ずれ量算出部35に供給する。
In step S <b> 12, the uniform color misregistration
ステップS13において、対称色ずれ量仮集計部32は、対称色ずれ量検出部31から供給されるローカル対称色ずれ量の平均値を、撮像画像の中心から検出位置までの距離ごとに算出し、画像全体における対称色ずれ量(の仮の値)を決定する。対称色ずれ量仮集計部32は、決定された対称色ずれ量(の仮の値)を均一用オフセット計算部33に供給する。
In step S <b> 13, the symmetric color misregistration amount
ステップS14において、均一用オフセット計算部33は、対称色ずれ量仮集計部32または対称色ずれ量集計部13から供給される対称色ずれ量を用いて、上述した式(3)により、均一用オフセットを算出する。均一用オフセット計算部33は、均一用オフセットを均一色ずれ量算出部35に供給する。
In step S <b> 14, the uniform offset
ステップS15において、均一色ずれ量算出部35は、均一色ずれ量検出部34から供給されるローカル均一色ずれ量から、均一用オフセット計算部33から供給される均一用オフセットを削除することにより、ローカル均一色ずれ量を算出する。均一色ずれ量算出部35は、算出されたローカル均一色ずれ量を均一色ずれ量集計部12に供給する。
In step S15, the uniform color misregistration
ステップS16において、均一色ずれ量集計部12は、均一色ずれ量算出部35から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量として求め、対称用オフセット計算部36に供給する。
In step S <b> 16, the uniform color misregistration
ステップS17において、対称用オフセット計算部36は、均一色ずれ量集計部12から供給される均一色ずれ量を用いて、上述した式(1)により対称用オフセットを算出する。対称用オフセット計算部36は、対称用オフセットを対称色ずれ量算出部37に供給する。
In step S <b> 17, the symmetry offset
ステップS18において、対称色ずれ量算出部37は、対称色ずれ量検出部31から供給されるローカル対称色ずれ量から、対称用オフセット計算部36から供給される対称用オフセットを削除することにより、ローカル対称色ずれ量を補正し、対称色ずれ量集計部13に供給する。
In step S <b> 18, the symmetric color shift
ステップS19において、対称色ずれ量集計部13は、対称色ずれ量算出部37から供給されるローカル対称色ずれ量の平均値を、撮像画像の中心から検出位置までの距離ごとに算出し、画像全体における対称色ずれ量を求める。
In step S19, the symmetric color misregistration
ステップS20において、画像処理装置10は、対称色ずれ量と均一色ずれ量が収束したかどうかを判定する。例えば、画像処理装置10は、前回と今回のステップS16で求められた均一色ずれ量の差分が閾値より小さく、かつ、前回と今回のステップS19で求められた対称色ずれ量の差分が閾値より小さい場合、対称色ずれ量と均一色ずれ量が収束したと判定する。
In step S20, the
一方、画像処理装置10は、前回と今回のステップS16で求められた均一色ずれ量の差分が閾値以上であるか、または、前回と今回のステップS19で求められた対称色ずれ量の差分が閾値以上である場合、対称色ずれ量と均一色ずれ量が収束していないと判定する。
On the other hand, the
ステップS20で対称色ずれ量と均一色ずれ量が収束していないと判定された場合、対称色ずれ量集計部13は、直前のステップS19で求められた対称色ずれ量を均一用オフセット計算部33に供給する。そして、処理はステップS14に戻り、対称色ずれ量と均一色ずれ量が収束するまで、ステップS14乃至S20の処理が繰り返される。これにより、均一色ずれ量が、直前のステップS19で求められた対称色ずれ量を用いて更新され、対称色ずれ量が、直前のステップS16で求められた均一色ずれ量を用いて更新される。
When it is determined in step S20 that the symmetric color shift amount and the uniform color shift amount have not converged, the symmetric color shift
一方、ステップS20で対称色ずれ量と均一色ずれ量が収束したと判定された場合、処理はステップS21に進む。ステップS21において、均一色ずれ量集計部12は、直前のステップS16で求められた均一色ずれ量を、最終的な均一色ずれ量として出力する。
On the other hand, if it is determined in step S20 that the symmetric color shift amount and the uniform color shift amount have converged, the process proceeds to step S21. In step S21, the uniform color misregistration
ステップS22において、対称色ずれ量集計部13は、直前のステップS19で求められた対称色ずれ量を、最終的な対称色ずれ量として出力する。そして、処理は終了する。
In step S22, the symmetric color shift
以上のように、画像処理装置10は、対称均一関係にしたがって、撮像画像から対称色ずれ量と均一色ずれ量を検出する。従って、撮像画像のみを用いて、撮像画像の対称色ずれ量と均一色ずれ量を精度良く検出することができる。
As described above, the
よって、画像処理装置10により検出された対称色ずれ量と均一色ずれ量を用いて撮像画像に対して倍率色収差補正を行うことにより、色ずれのない撮像画像を得ることができる。また、レンズ情報を取得できないオールドレンズを用いて撮像された撮像画像であっても、対称色ずれ量と均一色ずれ量を精度良く検出することができる。さらに、撮像画像を撮像する撮像装置の製造工程において、対称色ずれ量と均一色ずれ量を検出するために、撮像装置ごとにキャリブレーションを行う必要がない。
Therefore, by performing magnification chromatic aberration correction on the captured image using the symmetric color shift amount and the uniform color shift amount detected by the
また、画像処理装置10は、対称色ずれ量と均一色ずれ量が収束するまで、対称色ずれ量と均一色ずれ量を更新するので、対称色ずれ量と均一色ずれ量の検出精度を向上させることができる。
Further, the
<第2実施の形態>
(画像処理装置の第2実施の形態の構成例)
図10は、本開示を適用した画像処理装置の第2実施の形態の構成例を示すブロック図である。
<Second Embodiment>
(Configuration example of second embodiment of image processing apparatus)
FIG. 10 is a block diagram illustrating a configuration example of the second embodiment of the image processing apparatus to which the present disclosure is applied.
図10に示す構成のうち、図1の構成と同じ構成には同じ符号を付してある。重複する説明については適宜省略する。 Among the configurations shown in FIG. 10, the same reference numerals are given to the same configurations as those in FIG. 1. The overlapping description will be omitted as appropriate.
図10の画像処理装置50は、検出部51、対称色ずれ量集計部52、および均一色ずれ量集計部53により構成される。画像処理装置50は、均一色ずれ量の仮の値を用いて対称色ずれ量を算出し、その対称色ずれ量を用いて最終的な均一色ずれ量を算出する。即ち、画像処理装置50では、均一色ずれ量と対称色ずれ量の算出の順番が、画像処理装置10の場合と逆になっている。
The
具体的には、検出部51は、対称色ずれ量検出部31、均一色ずれ量検出部34、均一色ずれ量仮集計部71、対称用オフセット計算部72、対称色ずれ量算出部73、均一用オフセット計算部74、および均一色ずれ量算出部75により構成される。
Specifically, the
均一色ずれ量仮集計部71は、均一色ずれ量検出部34により検出されたローカル均一色ずれ量に対称色ずれ量が含まれていないと仮定し、検出されたローカル均一色ずれ量の平均値を画像全体における均一色ずれ量(の仮の値)に決定する。均一色ずれ量仮集計部71は、均一色ずれ量(の仮の値)を対称用オフセット計算部72に供給する。
The uniform color misregistration amount
対称用オフセット計算部72は、均一色ずれ量仮集計部71または均一色ずれ量集計部53から出力される均一色ずれ量を用いて、対称均一関係にしたがって対称用オフセットを算出する。具体的には、対称用オフセット計算部72は、均一色ずれ量を用いて、上述した式(1)により対称用オフセットを算出する。対称用オフセット計算部72は、算出された対称用オフセットを対称色ずれ量算出部73に供給する。
The symmetry offset
対称色ずれ量算出部73(特性起因色ずれ量算出部)は、対称色ずれ量検出部31により検出されたローカル対称色ずれ量から、対称用オフセット計算部72から供給される対称用オフセットを削除することにより、ローカル対称用色ずれ量を算出または更新する。対称色ずれ量算出部73は、算出または更新されたローカル対称用色ずれ量を対称色ずれ量集計部52に供給する。
A symmetric color shift amount calculation unit 73 (characteristic-induced color shift amount calculation unit) calculates a symmetric offset supplied from the symmetric offset
均一用オフセット計算部74は、対称色ずれ量集計部52から供給される対称色ずれ量を用いて、対称均一関係にしたがって均一用オフセットを算出する。具体的には、均一用オフセット計算部74は、対称色ずれ量を用いて、上述した式(3)により均一用オフセットを算出する。均一用オフセット計算部74は、算出された均一用オフセットを均一色ずれ量算出部75に供給する。
The uniformity offset
均一色ずれ量算出部75は、均一色ずれ量検出部34から供給されるローカル均一色ずれ量から、均一用オフセット計算部74から供給される均一用オフセットを削除することにより、ローカル均一色ずれ量を補正し、均一色ずれ量集計部53に供給する。
The uniform color misregistration
対称色ずれ量集計部52は、撮像画像の中心から検出位置までの距離ごとに、対称色ずれ量算出部73から供給されるローカル対称色ずれ量の平均値を算出する。対称色ずれ量集計部52は、算出された平均値を画像全体における対称色ずれ量として、均一用オフセット計算部74に供給する。また、対称色ずれ量集計部52は、求められた均一色ずれ量と対称色ずれ量が収束した場合、その対称色ずれ量を最終的な対称色ずれ量として出力する。
The symmetric color shift
均一色ずれ量集計部53は、均一色ずれ量算出部75から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量として求める。均一色ずれ量集計部53は、求められた均一色ずれ量と対称色ずれ量が収束した場合、その均一色ずれ量を最終的な均一色ずれ量として出力する。一方、求められた均一色ずれ量と対称色ずれ量が収束していない場合、均一色ずれ量集計部53は、その均一色ずれ量を対称用オフセット計算部72に供給する。これにより、その均一色ずれ量を用いて、均一色ずれ量と対称色ずれ量が更新される。
The uniform color shift
図10の画像処理装置50の画像処理は、対称色ずれと均一色ずれが逆になる点を除いて図9の画像処理と同様であるので、説明は省略する。
The image processing of the
なお、第1および第2実施の形態において、対称色ずれ量と均一色ずれ量の更新は、対称色ずれ量と均一色ずれ量が収束するまで行われるのではなく、予め決められた回数だけ行われるようにしてもよい。 In the first and second embodiments, the update of the symmetric color shift amount and the uniform color shift amount is not performed until the symmetric color shift amount and the uniform color shift amount converge, but only a predetermined number of times. It may be performed.
<第3実施の形態>
図11は、本開示を適用した画像処理装置の第3実施の形態の構成例を示すブロック図である。
<Third Embodiment>
FIG. 11 is a block diagram illustrating a configuration example of a third embodiment of an image processing apparatus to which the present disclosure is applied.
図11に示す構成のうち、図1の構成と同じ構成には同じ符号を付してある。重複する説明については適宜省略する。 Of the configurations shown in FIG. 11, the same configurations as those in FIG. The overlapping description will be omitted as appropriate.
図11の画像処理装置90は、検出部91と均一色ずれ量集計部92により構成される。画像処理装置90は、対称色ずれ量の仮の値を補正せずに、最終的な対称色ずれ量として出力する。
An
具体的には、検出部91の構成は、対称色ずれ量仮集計部32の代わりに対称色ずれ量集計部101が設けられる点、対称用オフセット計算部36と対称色ずれ量算出部37が設けられない点を除いて、図1の検出部11の構成と同一である。
Specifically, the configuration of the
検出部91の対称色ずれ量集計部101は、検出されたローカル対称色ずれ量に均一色ずれ量が含まれていないと仮定し、撮像画像の中心から検出位置までの距離ごとに、対称色ずれ量検出部31から供給されるローカル対称色ずれ量の平均値を算出する。対称色ずれ量集計部101は、算出された平均値を画像全体における対称色ずれ量として、均一用オフセット計算部33に供給するとともに、最終的な対称色ずれ量として出力する。
The symmetric color shift
均一色ずれ量集計部92は、均一色ずれ量算出部35から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量として求める。均一色ずれ量集計部92は、求められた均一色ずれ量を出力する。
The uniform color misregistration
(画像処理装置の処理の説明)
図12は、図11の画像処理装置90の画像処理を説明するフローチャートである。この画像処理は、例えば、画像処理装置90に撮像画像が入力されたとき、開始される。
(Description of processing of image processing apparatus)
FIG. 12 is a flowchart for explaining image processing of the
図12のステップS31およびS32の処理は、図9のステップS11およびS12の処理と同様であるので、説明は省略する。 The processes in steps S31 and S32 in FIG. 12 are the same as the processes in steps S11 and S12 in FIG.
ステップS33において、対称色ずれ量集計部101は、対称色ずれ量検出部31から供給されるローカル対称色ずれ量の平均値を、撮像画像の中心から検出位置までの距離ごとに算出し、画像全体における対称色ずれ量を決定する。対称色ずれ量集計部101は、決定された対称色ずれ量を均一用オフセット計算部33に供給する。
In step S33, the symmetric color misregistration
ステップS34において、均一用オフセット計算部33は、対称色ずれ量集計部101から供給される対称色ずれ量を用いて、上述した式(3)により、均一用オフセットを算出する。均一用オフセット計算部33は、均一用オフセットを均一色ずれ量算出部35に供給する。
In step S <b> 34, the uniform offset
ステップS35およびS36の処理は、図9のステップS15およびS16の処理と同様であるので、説明は省略する。 The processing in steps S35 and S36 is the same as the processing in steps S15 and S16 in FIG.
ステップS37において、均一色ずれ量集計部92は、均一色ずれ量算出部35から供給される均一色ずれ量を、最終的な均一色ずれ量として出力する。
In step S <b> 37, the uniform color misregistration
ステップS38において、対称色ずれ量集計部101は、ステップS33で求められた対称色ずれ量を、最終的な対称色ずれ量として出力する。そして、処理は終了する。
In step S38, the symmetric color shift
以上のように、画像処理装置90は、対称色ずれ量の仮の値を補正せずに、そのまま最終的な対称色ずれ量として出力するので、処理量が少ない。また、画像処理装置90は、対称色ずれ量の仮の値を用いて均一用オフセットを算出し、その均一用オフセットをローカル均一色ずれ量から削除することにより均一色ずれ量を求める。従って、均一色ずれ量を精度良く検出することができる。
As described above, the
なお、説明は省略するが、第2実施の形態と第3実施の形態を組み合わせることもできる。この場合、画像処理装置は、均一色ずれ量の仮の値を補正せずに、最終的な均一色ずれ量として出力する。 In addition, although description is abbreviate | omitted, 2nd Embodiment and 3rd Embodiment can also be combined. In this case, the image processing apparatus outputs the final uniform color misregistration amount without correcting the temporary value of the uniform color misregistration amount.
<第4実施の形態>
(画像処理装置の第4実施の形態の構成例)
図13は、本開示を適用した画像処理装置の第4実施の形態の構成例を示すブロック図である。
<Fourth embodiment>
(Configuration example of fourth embodiment of image processing apparatus)
FIG. 13 is a block diagram illustrating a configuration example of the fourth embodiment of an image processing apparatus to which the present disclosure is applied.
図13の画像処理装置120は、検出部121と集計部122により構成される。画像処理装置120は、撮像画像から検出される色ずれ量、撮像画像の対称色ずれ量、撮像画像の均一色ずれ量、および撮像画像の色ずれ量の検波方向(検出方向)の関係を表す対称均一関係モデルに基づいて、撮像画像から検出された色ずれ量から、対称色ずれ量と均一色ずれ量を検出する。
The
画像処理装置120の検出部121は、外部から入力される撮像画像の所定の検波方向に直交するエッジの領域でブロックマッチングを行うことにより、撮像画像の色ずれ量を検出する。検出部121は、対称均一関係モデルと検波方向に基づいて算出される撮像画像の色ずれ量の検出予測値と、検出された色ずれ量との二乗誤差が最小となるように、対称色ずれ量と均一色ずれ量を検出する。
The
ここで、対称均一関係モデルについて説明する。まず、撮像画像内の位置pi=(pxi,pyi)の撮像画像の中心からの距離riは、以下の式(5)で表される。 Here, the symmetric uniform relation model will be described. First, the distance r i from the center of the captured image at the position p i = (p xi , p yi ) in the captured image is expressed by the following equation (5).
また、位置piにおいて対称色ずれと均一色ずれによって発生する色ずれ量aberrationpiは、対称色ずれ量s(ri)と均一色ずれ量u=(ux,uy)を用いて、以下の式(6)で定式化することができる。 The position p i color shift amount Aberration pi generated by symmetric color shift and uniform color shift in a uniform color shift and symmetric color shift amount s (r i) the amount of u = (u x, u y ) using, It can be formulated by the following formula (6).
従って、検波方向を表すベクトルをdiとすると、撮像画像から検出される色ずれ量aberration_modelpiは、以下の式(7)に示すように、位置piの色ずれ量aberrationpiとベクトルdiの内積になる。 Therefore, when a vector representing the detection direction is d i, the color shift amount Aberration_model pi detected from the captured image, as shown in the following equation (7), the position p i of the color shift amount Aberration pi and the vector d i Is the inner product.
よって、上述した式(7)で表されるモデルが、対称均一関係モデルとして用いられる。検出部121は、上述した式(7)に検波方向を表すベクトルを代入し、式(7)の色ずれ量aberration_modelpiと撮像画像から検出された色ずれ量の二乗誤差が最小となるように、ローカル対称色ずれ量s(ri)とローカル均一色ずれ量uを検出する。検出部121は、検出されたローカル対称色ずれ量とローカル均一色ずれ量を集計部122に供給する。
Therefore, the model represented by the above-described formula (7) is used as the symmetric uniform relation model. The
集計部122は、撮像画像の中心から検出位置までの距離ごとに、検出部121から供給されるローカル対称色ずれ量の平均値を算出し、これを画像全体における対称色ずれ量とする。集計部122は、対称色ずれ量を出力する。
The totaling
また、集計部122は、検出部121から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量として求める。集計部122は、均一色ずれ量を出力する。
Further, the totaling
(画像処理装置の処理の説明)
図14は、図13の画像処理装置120の画像処理を説明するフローチャートである。この画像処理は、例えば、画像処理装置120に撮像画像が入力されたとき、開始される。
(Description of processing of image processing apparatus)
FIG. 14 is a flowchart illustrating image processing of the
図14のステップS51において、画像処理装置120の検出部121は、入力された撮像画像の所定の検波方向に直交するエッジの領域でブロックマッチングを行うことにより、撮像画像の色ずれ量を検出する。
In step S51 of FIG. 14, the
ステップS52において、検出部121は、上述した式(7)が表す対称均一関係モデルと検波方向に基づいて算出される撮像画像の色ずれ量の検出予測値と、検出された色ずれ量との二乗誤差が最小となるように、ローカル対称色ずれ量とローカル均一色ずれ量を検出する。検出部121は、検出されたローカル対称色ずれ量とローカル均一色ずれ量を集計部122に供給する。
In step S <b> 52, the
ステップS53において、集計部122は、検出部121から供給されるローカル対称色ずれ量の平均値を、撮像画像の中心から検出位置までの距離ごとに算出して画像全体における対称色ずれ量を決定し、出力する。
In step S53, the totaling
ステップS54において、集計部122は、検出部121から供給されるローカル均一色ずれ量の平均値を、画像全体における均一色ずれ量に決定し、出力する。そして、処理は終了する。
In step S54, the totaling
<第5実施の形態>
(本開示を適用したコンピュータの説明)
上述した一連の処理は、ハードウエアにより実行することもできるし、ソフトウエアにより実行することもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
<Fifth embodiment>
(Description of computer to which the present disclosure is applied)
The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software is installed in the computer. Here, the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
図15は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 15 is a block diagram illustrating a configuration example of hardware of a computer that executes the above-described series of processing by a program.
コンピュータ200において、CPU(Central Processing Unit)201,ROM(Read Only Memory)202,RAM(Random Access Memory)203は、バス204により相互に接続されている。
In the
バス204には、さらに、入出力インタフェース205が接続されている。入出力インタフェース205には、入力部206、出力部207、記憶部208、通信部209、及びドライブ210が接続されている。
An input /
入力部206は、キーボード、マウス、マイクロフォンなどよりなる。出力部207は、ディスプレイ、スピーカなどよりなる。記憶部208は、ハードディスクや不揮発性のメモリなどよりなる。通信部209は、ネットワークインタフェースなどよりなる。ドライブ210は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブルメディア211を駆動する。
The
以上のように構成されるコンピュータ200では、CPU201が、例えば、記憶部208に記憶されているプログラムを、入出力インタフェース205及びバス204を介して、RAM203にロードして実行することにより、上述した一連の処理が行われる。
In the
コンピュータ200(CPU201)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア211に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。
The program executed by the computer 200 (CPU 201) can be provided by being recorded in the
コンピュータ200では、プログラムは、リムーバブルメディア211をドライブ210に装着することにより、入出力インタフェース205を介して、記憶部208にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部209で受信し、記憶部208にインストールすることができる。その他、プログラムは、ROM202や記憶部208に、あらかじめインストールしておくことができる。
In the
なお、コンピュータ200が実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。
Note that the program executed by the
本明細書に記載された効果はあくまで例示であって限定されるものではなく、他の効果があってもよい。 The effects described in this specification are merely examples and are not limited, and may have other effects.
また、本開示の実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present disclosure.
例えば、特性起因色ずれは、レンズの特性に起因する色ずれであれば、対称色ずれ以外の色ずれであってもよい。個体差起因色ずれ量は、レンズの個体差に起因する色ずれであれば、均一色ずれ以外の色ずれであってもよい。 For example, the characteristic-induced color shift may be a color shift other than a symmetric color shift as long as the color shift is caused by lens characteristics. The individual-difference color misregistration amount may be a color misregistration other than the uniform color misregistration as long as it is a color misregistration due to an individual difference between lenses.
また、例えば、本開示は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 Further, for example, the present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is jointly processed.
また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。 In addition, each step described in the above flowchart can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, when a plurality of processes are included in one step, the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
なお、本開示は、以下のような構成もとることができる。 In addition, this indication can also take the following structures.
(1)
画像から検出される色ずれ量、前記画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量、および前記画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量の関係にしたがって、入力画像から前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する検出部
を備える画像処理装置。
(2)
前記検出部は、
前記入力画像の第1の領域で検出された色ずれ量から、前記入力画像の前記特性起因色ずれ量を用いて前記関係にしたがって算出された個体差用オフセットを削除することにより、前記入力画像の前記個体差起因色ずれ量を算出する個体差起因色ずれ量算出部
を備える
前記(1)に記載の画像処理装置。
(3)
前記検出部は、
前記入力画像の第2の領域で検出された色ずれ量を、前記入力画像の前記特性起因色ずれ量として検出する特性起因色ずれ量検出部
を備え、
前記個体差起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因ずれ量検出部により検出された前記特性起因色ずれ量を用いて前記関係にしたがって算出された前記個体差用オフセットを削除する
ように構成された
前記(2)に記載の画像処理装置。
(4)
前記検出部は、
前記特性起因色ずれ量検出部により検出された前記特性起因色ずれ量から、前記個体差起因色ずれ量算出部により算出された前記個体差起因色ずれ量を用いて前記関係にしたがって算出された特性用オフセットを削除することにより、前記特性起因色ずれ量を補正する特性起因色ずれ量算出部
をさらに備える
前記(3)に記載の画像処理装置。
(5)
前記個体差起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因色ずれ量算出部により補正された前記特性起因色ずれ量を用いて前記関係にしたがって算出された個体差用オフセットを削除することにより、前記個体差起因色ずれ量を更新する
ように構成された
前記(4)に記載の画像処理装置。
(6)
前記検出部は、
前記入力画像の第1の領域で検出された色ずれ量から、前記入力画像の前記個体差起因色ずれ量を用いて前記関係にしたがって算出された特性用オフセットを削除することにより、前記入力画像の前記特性起因色ずれ量を算出する特性起因色ずれ量算出部
を備える
前記(1)に記載の画像処理装置。
(7)
前記検出部は、
前記入力画像の第2の領域で検出された色ずれ量を、前記入力画像の前記個体差起因色ずれ量として検出する個体差起因色ずれ量検出部
を備え、
前記特性起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因ずれ量検出部により検出された前記個体差起因色ずれ量を用いて前記関係にしたがって算出された前記特性用オフセットを削除する
ように構成された
前記(6)に記載の画像処理装置。
(8)
前記検出部は、
前記個体差起因色ずれ量検出部により検出された前記個体差起因色ずれ量から、前記特性起因色ずれ量算出部により算出された前記特性起因色ずれ量を用いて前記関係にしたがって算出された個体差用オフセットを削除することにより、前記個体差起因色ずれ量を補正する個体差起因色ずれ量算出部
をさらに備える
前記(7)に記載の画像処理装置。
(9)
前記特性起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因色ずれ量算出部により補正された前記個体差起因色ずれ量を用いて前記関係にしたがって算出された特性用オフセットを削除することにより、前記特性起因色ずれ量を更新する
ように構成された
前記(8)に記載の画像処理装置。
(10)
前記検出部は、前記関係を表すモデルに基づいて、前記入力画像から検出される色ずれ量から、前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する
ように構成された
前記(1)に記載の画像処理装置。
(11)
前記検出部は、前記モデルに基づいて算出される前記入力画像の色ずれ量の検出予測値と前記入力画像から検出される色ずれ量との二乗誤差が最小となるように、前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する
ように構成された
前記(10)に記載の画像処理装置。
(12)
前記モデルは、前記入力画像から検出される色ずれ量、前記入力画像の前記特性起因色ずれ量、前記入力画像の前記個体差起因色ずれ量、および前記入力画像の色ずれ量の検出方向の関係を表し、
前記検出部は、前記モデルと前記検出方向に基づいて算出される前記入力画像の色ずれ量の検出予測値と前記入力画像から検出される色ずれ量との二乗誤差が最小となるように、前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する
ように構成された
前記(11)に記載の画像処理装置。
(13)
画像処理装置が、
画像から検出される色ずれ量、前記画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量、および前記画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量の関係にしたがって、入力画像から前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する検出ステップ
を含む画像処理方法。
(1)
Color shift amount detected from an image, characteristic-induced color shift amount that is a color shift amount caused by lens characteristics of the image, and individual difference-induced color shift that is a color shift amount caused by individual difference of the lens of the image An image processing apparatus comprising: a detection unit configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount from an input image in accordance with a quantity relationship.
(2)
The detector is
By deleting the offset for individual difference calculated according to the relationship using the characteristic-induced color shift amount of the input image from the color shift amount detected in the first region of the input image, the input image The image processing apparatus according to (1), further including: an individual difference-induced color shift amount calculation unit that calculates the individual difference-induced color shift amount.
(3)
The detector is
A characteristic-induced color shift amount detection unit that detects a color shift amount detected in the second region of the input image as the characteristic-induced color shift amount of the input image;
The individual difference-induced color shift amount calculation unit uses the characteristic-induced color shift amount detected by the characteristic-induced shift amount detection unit from the color shift amount detected in the first region of the input image. The image processing apparatus according to (2), configured to delete the individual difference offset calculated according to a relationship.
(4)
The detector is
From the characteristic-induced color misregistration amount detected by the characteristic-induced color misregistration amount detection unit, calculated according to the relationship using the individual difference-induced color misregistration amount calculated by the individual difference-based color misregistration amount calculation unit. The image processing apparatus according to (3), further including: a characteristic-induced color shift amount calculation unit that corrects the characteristic-induced color shift amount by deleting the characteristic offset.
(5)
The individual difference-induced color misregistration amount calculation unit uses the characteristic-induced color misregistration amount corrected by the characteristic-induced color misregistration amount calculation unit from the color misregistration amount detected in the first region of the input image. The image processing apparatus according to (4), configured to update the individual-difference color shift amount by deleting the offset for individual difference calculated according to the relationship.
(6)
The detector is
By deleting the characteristic offset calculated according to the relationship using the individual difference-induced color shift amount of the input image from the color shift amount detected in the first region of the input image, the input image The image processing apparatus according to (1), further comprising: a characteristic-induced color shift amount calculation unit that calculates the characteristic-induced color shift amount.
(7)
The detector is
An individual difference-induced color shift amount detection unit that detects the color shift amount detected in the second region of the input image as the individual difference-induced color shift amount of the input image;
The characteristic-induced color shift amount calculation unit uses the individual difference-induced color shift amount detected by the characteristic-induced shift amount detection unit from the color shift amount detected in the first region of the input image. The image processing apparatus according to (6), configured to delete the characteristic offset calculated according to a relationship.
(8)
The detector is
Calculated according to the relationship using the characteristic-induced color misregistration amount calculated by the characteristic-induced color misregistration amount calculation unit from the individual difference-induced color misregistration amount detected by the individual difference-induced color misregistration amount detection unit. The image processing apparatus according to (7), further including: an individual difference-induced color shift amount calculation unit that corrects the individual difference-induced color shift amount by deleting the individual difference offset.
(9)
The characteristic-induced color misregistration amount calculation unit uses the individual difference-induced color misregistration amount corrected by the characteristic-induced color misregistration amount calculation unit from the color misregistration amount detected in the first region of the input image. The image processing apparatus according to (8), configured to update the characteristic-induced color misregistration amount by deleting the characteristic offset calculated according to the relationship.
(10)
The detection unit is configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount from a color shift amount detected from the input image based on a model representing the relationship. The image processing apparatus according to 1).
(11)
The detection unit includes the characteristic-derived color so that a square error between a detection prediction value of a color shift amount of the input image calculated based on the model and a color shift amount detected from the input image is minimized. The image processing apparatus according to (10), configured to detect a shift amount and the individual-difference color shift amount.
(12)
The model includes a color shift amount detected from the input image, a characteristic-induced color shift amount of the input image, an individual difference-induced color shift amount of the input image, and a color shift amount of the input image. Represents a relationship,
The detection unit is configured to minimize a square error between a detection prediction value of a color shift amount of the input image calculated based on the model and the detection direction and a color shift amount detected from the input image. The image processing apparatus according to (11), configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount.
(13)
The image processing device
Color shift amount detected from an image, characteristic-induced color shift amount that is a color shift amount caused by lens characteristics of the image, and individual difference-induced color shift that is a color shift amount caused by individual difference of the lens of the image An image processing method including a detecting step of detecting the characteristic-induced color shift amount and the individual-difference color shift amount from an input image in accordance with a relationship between the amounts.
10 画像処理装置, 11 検出部, 31 対称色ずれ量検出部, 34 均一色ずれ量検出部, 35 均一色ずれ量算出部, 37 対称色ずれ量算出部, 50 画像処理装置, 73 対称色ずれ量算出部, 75 均一色ずれ量算出部, 120 画像処理装置, 121 検出部
DESCRIPTION OF
Claims (13)
を備える画像処理装置。 Color shift amount detected from an image, characteristic-induced color shift amount that is a color shift amount caused by lens characteristics of the image, and individual difference-induced color shift that is a color shift amount caused by individual difference of the lens of the image An image processing apparatus comprising: a detection unit configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount from an input image in accordance with a quantity relationship.
前記入力画像の第1の領域で検出された色ずれ量から、前記入力画像の前記特性起因色ずれ量を用いて前記関係にしたがって算出された個体差用オフセットを削除することにより、前記入力画像の前記個体差起因色ずれ量を算出する個体差起因色ずれ量算出部
を備える
請求項1に記載の画像処理装置。 The detector is
By deleting the offset for individual difference calculated according to the relationship using the characteristic-induced color shift amount of the input image from the color shift amount detected in the first region of the input image, the input image The image processing apparatus according to claim 1, further comprising: an individual difference-induced color shift amount calculation unit that calculates the individual difference-induced color shift amount.
前記入力画像の第2の領域で検出された色ずれ量を、前記入力画像の前記特性起因色ずれ量として検出する特性起因色ずれ量検出部
を備え、
前記個体差起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因ずれ量検出部により検出された前記特性起因色ずれ量を用いて前記関係にしたがって算出された前記個体差用オフセットを削除する
ように構成された
請求項2に記載の画像処理装置。 The detector is
A characteristic-induced color shift amount detection unit that detects a color shift amount detected in the second region of the input image as the characteristic-induced color shift amount of the input image;
The individual difference-induced color shift amount calculation unit uses the characteristic-induced color shift amount detected by the characteristic-induced shift amount detection unit from the color shift amount detected in the first region of the input image. The image processing apparatus according to claim 2, configured to delete the individual difference offset calculated according to a relationship.
前記特性起因色ずれ量検出部により検出された前記特性起因色ずれ量から、前記個体差起因色ずれ量算出部により算出された前記個体差起因色ずれ量を用いて前記関係にしたがって算出された特性用オフセットを削除することにより、前記特性起因色ずれ量を補正する特性起因色ずれ量算出部
をさらに備える
請求項3に記載の画像処理装置。 The detector is
From the characteristic-induced color misregistration amount detected by the characteristic-induced color misregistration amount detection unit, calculated according to the relationship using the individual difference-induced color misregistration amount calculated by the individual difference-based color misregistration amount calculation unit. The image processing apparatus according to claim 3, further comprising: a characteristic-induced color misregistration amount calculation unit that corrects the characteristic-induced color misregistration amount by deleting the characteristic offset.
ように構成された
請求項4に記載の画像処理装置。 The individual difference-induced color misregistration amount calculation unit uses the characteristic-induced color misregistration amount corrected by the characteristic-induced color misregistration amount calculation unit from the color misregistration amount detected in the first region of the input image. The image processing apparatus according to claim 4, wherein the individual-difference color shift amount is updated by deleting the individual-difference offset calculated according to the relationship.
前記入力画像の第1の領域で検出された色ずれ量から、前記入力画像の前記個体差起因色ずれ量を用いて前記関係にしたがって算出された特性用オフセットを削除することにより、前記入力画像の前記特性起因色ずれ量を算出する特性起因色ずれ量算出部
を備える
請求項1に記載の画像処理装置。 The detector is
By deleting the characteristic offset calculated according to the relationship using the individual difference-induced color shift amount of the input image from the color shift amount detected in the first region of the input image, the input image The image processing apparatus according to claim 1, further comprising: a characteristic-induced color shift amount calculation unit that calculates the characteristic-induced color shift amount.
前記入力画像の第2の領域で検出された色ずれ量を、前記入力画像の前記個体差起因色ずれ量として検出する個体差起因色ずれ量検出部
を備え、
前記特性起因色ずれ量算出部は、前記入力画像の前記第1の領域で検出された色ずれ量から、前記特性起因ずれ量検出部により検出された前記個体差起因色ずれ量を用いて前記関係にしたがって算出された前記特性用オフセットを削除する
ように構成された
請求項6に記載の画像処理装置。 The detector is
An individual difference-induced color shift amount detection unit that detects the color shift amount detected in the second region of the input image as the individual difference-induced color shift amount of the input image;
The characteristic-induced color shift amount calculation unit uses the individual difference-induced color shift amount detected by the characteristic-induced shift amount detection unit from the color shift amount detected in the first region of the input image. The image processing apparatus according to claim 6, configured to delete the characteristic offset calculated according to a relationship.
前記個体差起因色ずれ量検出部により検出された前記個体差起因色ずれ量から、前記特性起因色ずれ量算出部により算出された前記特性起因色ずれ量を用いて前記関係にしたがって算出された個体差用オフセットを削除することにより、前記個体差起因色ずれ量を補正する個体差起因色ずれ量算出部
をさらに備える
請求項7に記載の画像処理装置。 The detector is
Calculated according to the relationship using the characteristic-induced color misregistration amount calculated by the characteristic-induced color misregistration amount calculation unit from the individual difference-induced color misregistration amount detected by the individual difference-induced color misregistration amount detection unit. The image processing apparatus according to claim 7, further comprising: an individual difference-induced color shift amount calculation unit that corrects the individual difference-induced color shift amount by deleting an individual difference offset.
ように構成された
請求項8に記載の画像処理装置。 The characteristic-induced color misregistration amount calculation unit uses the individual difference-induced color misregistration amount corrected by the characteristic-induced color misregistration amount calculation unit from the color misregistration amount detected in the first region of the input image. The image processing apparatus according to claim 8, wherein the characteristic-induced color shift amount is updated by deleting the characteristic offset calculated according to the relationship.
ように構成された
請求項1に記載の画像処理装置。 The detection unit is configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount from a color shift amount detected from the input image based on a model representing the relationship. The image processing apparatus according to 1.
ように構成された
請求項10に記載の画像処理装置。 The detection unit includes the characteristic-derived color so that a square error between a detection prediction value of a color shift amount of the input image calculated based on the model and a color shift amount detected from the input image is minimized. The image processing apparatus according to claim 10, wherein the image processing apparatus is configured to detect a deviation amount and the individual-difference color deviation amount.
前記検出部は、前記モデルと前記検出方向に基づいて算出される前記入力画像の色ずれ量の検出予測値と前記入力画像から検出される色ずれ量との二乗誤差が最小となるように、前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する
ように構成された
請求項11に記載の画像処理装置。 The model includes a color shift amount detected from the input image, a characteristic-induced color shift amount of the input image, an individual difference-induced color shift amount of the input image, and a color shift amount of the input image. Represents a relationship,
The detection unit is configured to minimize a square error between a detection prediction value of a color shift amount of the input image calculated based on the model and the detection direction and a color shift amount detected from the input image. The image processing apparatus according to claim 11, configured to detect the characteristic-induced color shift amount and the individual-difference color shift amount.
画像から検出される色ずれ量、前記画像のレンズの特性に起因する色ずれ量である特性起因色ずれ量、および前記画像のレンズの個体差に起因する色ずれ量である個体差起因色ずれ量の関係にしたがって、入力画像から前記特性起因色ずれ量と前記個体差起因色ずれ量を検出する検出ステップ
を含む画像処理方法。 The image processing device
Color shift amount detected from an image, characteristic-induced color shift amount that is a color shift amount caused by lens characteristics of the image, and individual difference-induced color shift that is a color shift amount caused by individual difference of the lens of the image An image processing method including a detecting step of detecting the characteristic-induced color shift amount and the individual-difference color shift amount from an input image in accordance with a relationship between the amounts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014109411A JP2015226158A (en) | 2014-05-27 | 2014-05-27 | Image processing system and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014109411A JP2015226158A (en) | 2014-05-27 | 2014-05-27 | Image processing system and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015226158A true JP2015226158A (en) | 2015-12-14 |
Family
ID=54842654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014109411A Pending JP2015226158A (en) | 2014-05-27 | 2014-05-27 | Image processing system and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015226158A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3276944A1 (en) | 2016-07-28 | 2018-01-31 | Canon Kabushiki Kaisha | Image processing apparatus, image capturing apparatus, image processing method, and image processing program |
JP2019204984A (en) * | 2018-05-21 | 2019-11-28 | キヤノン株式会社 | Image processing device, imaging device, image processing method, and image processing program |
-
2014
- 2014-05-27 JP JP2014109411A patent/JP2015226158A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3276944A1 (en) | 2016-07-28 | 2018-01-31 | Canon Kabushiki Kaisha | Image processing apparatus, image capturing apparatus, image processing method, and image processing program |
JP2018019272A (en) * | 2016-07-28 | 2018-02-01 | キヤノン株式会社 | Image processing device, imaging apparatus, image processing method, and image processing program |
US10515442B2 (en) | 2016-07-28 | 2019-12-24 | Canon Kabushiki Kaisha | Image processing apparatus that corrects for lateral chromatic aberration, image capturing apparatus, image processing method, and storage medium |
JP2019204984A (en) * | 2018-05-21 | 2019-11-28 | キヤノン株式会社 | Image processing device, imaging device, image processing method, and image processing program |
JP7051580B2 (en) | 2018-05-21 | 2022-04-11 | キヤノン株式会社 | Image processing device, image pickup device, image processing method and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI511086B (en) | Lens distortion calibration method | |
JP2010041419A (en) | Image processor, image processing program, image processing method, and electronic apparatus | |
JP2009230537A (en) | Image processor, image processing program, image processing method, and electronic equipment | |
US10516825B2 (en) | Image processing device, image processing method, and computer program product for correcting a motion vector of a low-reliability block | |
US8502880B2 (en) | Image processing apparatus, image processing method, and program | |
JP5091994B2 (en) | Motion vector detection device | |
US10510163B2 (en) | Image processing apparatus and image processing method | |
JP2015226158A (en) | Image processing system and image processing method | |
JP2012049603A (en) | Image processing apparatus and image processing program | |
US8634001B2 (en) | Image processing apparatus, image processing program, image processing method, and image-pickup apparatus | |
JP6652052B2 (en) | Image processing apparatus and image processing method | |
JP5446285B2 (en) | Image processing apparatus and image processing method | |
US8509568B2 (en) | Image processing apparatus and image processing method | |
JP6388507B2 (en) | Image processing device | |
JP2016075883A (en) | Projection system, projection device, projection method and program | |
US10198797B2 (en) | Apparatus correcting shading without taking optical characteristics into consideration and method thereof | |
US9369707B2 (en) | Global motion vector estimation | |
JP2019020839A (en) | Image processing apparatus, image processing method and program | |
JP2012231406A (en) | Image processor and image processing method | |
JP2012068842A (en) | Motion vector detection apparatus, motion vector detection method, and, motion vector detection program | |
JP2011171991A (en) | Image processing apparatus, electronic device, image processing method and image processing program | |
JP2017059049A (en) | Image processing device and control method therefor | |
JP2017098775A (en) | Imaging device | |
JP2016042639A (en) | Camera posture controller, method and program | |
WO2015159778A1 (en) | Image processing device, image processing method and image processing program |