JP2014082782A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2014082782A
JP2014082782A JP2013272056A JP2013272056A JP2014082782A JP 2014082782 A JP2014082782 A JP 2014082782A JP 2013272056 A JP2013272056 A JP 2013272056A JP 2013272056 A JP2013272056 A JP 2013272056A JP 2014082782 A JP2014082782 A JP 2014082782A
Authority
JP
Japan
Prior art keywords
region
image
interest
image signal
determined
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
Application number
JP2013272056A
Other languages
Japanese (ja)
Other versions
JP5766274B2 (en
Inventor
Mitsuteru Honda
充輝 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013272056A priority Critical patent/JP5766274B2/en
Publication of JP2014082782A publication Critical patent/JP2014082782A/en
Application granted granted Critical
Publication of JP5766274B2 publication Critical patent/JP5766274B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress false colors and moire generated in a high-frequency region.SOLUTION: An image processing device extracts a plurality of image signals from an image signal so that frequency components contained in the respective image signals are at least partially different from each other, determines whether a region of interest of the image signal is a high-frequency region, and when the region of interest is not determined as a high-frequency region, outputs an image signal containing a higher-frequency component or an image signal obtained by combining the plurality of image signals while more largely weighting an image signal containing a high-frequency component than when the region of interest is determined as a high-frequency region.

Description

本発明は、高周波領域におけるノイズの影響を低減することの可能な画像処理装置に関するものである。   The present invention relates to an image processing apparatus capable of reducing the influence of noise in a high frequency region.

従来、被写体の高周波領域に発生する偽色を抑圧する方法として、色補間の対象となる着目画素の周囲の画素を用いて着目画素の色補間を行っていた。   Conventionally, as a method of suppressing false colors generated in a high frequency region of a subject, color interpolation of a pixel of interest is performed using pixels around the pixel of interest to be subjected to color interpolation.

図16に示すように、赤(R)、緑(G)、青(B)のフィルタが配置されたベイヤー配列の画素から出力された画像信号に対して色補間を行う処理の例を説明する。   As shown in FIG. 16, an example of processing for performing color interpolation on an image signal output from a Bayer array pixel in which red (R), green (G), and blue (B) filters are arranged will be described. .

この図16では、Rフィルタの水平方向であってBフィルタの垂直方向に位置するGフィルタをG1フィルタ、Rフィルタの垂直方向であってBフィルタの水平方向に位置するGフィルタをG2フィルタとする。また、G1、G2、RおよびBフィルタのそれぞれに対応する画素から出力される信号をG1sig、G2sig、RsigおよびBsigとする。   In FIG. 16, the G filter positioned in the horizontal direction of the R filter and in the vertical direction of the B filter is a G1 filter, and the G filter positioned in the vertical direction of the R filter and in the horizontal direction of the B filter is a G2 filter. . The signals output from the pixels corresponding to the G1, G2, R, and B filters are G1sig, G2sig, Rsig, and Bsig.

この画像処理装置は、画像信号をG1sigで構成された画像信号、G2sigで構成された画像信号、Rsigで構成された画像信号、および、Bsigで構成された画像信号に分離し、それぞれの色の画像信号で全ての画素が信号を有するように補間処理を行う。   This image processing device separates an image signal into an image signal composed of G1 sig, an image signal composed of G2 sig, an image signal composed of Rsig, and an image signal composed of Bsig. Interpolation processing is performed so that all pixels have signals in the image signal.

そして、画像処理装置は、色補間の対象である着目画素の上下に隣接する画素のG1sigまたはG2sigの値の相関度と、左右に隣接する画素のG1sigまたはG2sigの値の相関度を求める。そして、画像処理装置は、水平方向の相関度のほうが垂直方向の相関度よりも高い場合には、Rsig−G1sigの値を色差信号R−Gとし、Bsig−G2sigの値を色差信号B−Gとする。反対に、垂直方向の相関度のほうが水平方向の相関度よりも高い場合には、Rsig−G2sigの値を色差信号R−Gとし、Bsig−G1sigの値を色差信号B−Gとする(特許文献1を参照)。   Then, the image processing apparatus obtains the correlation degree between the G1 sig or G2 sig value of the pixel adjacent to the top and bottom of the target pixel that is the target of color interpolation and the correlation degree between the G1 sig or G2 sig value of the pixel adjacent to the left and right. When the correlation in the horizontal direction is higher than the correlation in the vertical direction, the image processing apparatus sets the value of Rsig-G1sig as the color difference signal RG and sets the value of Bsig-G2sig as the color difference signal BG. And On the contrary, when the correlation degree in the vertical direction is higher than the correlation degree in the horizontal direction, the value of Rsig-G2sig is set as the color difference signal RG, and the value of Bsig-G1sig is set as the color difference signal BG (patent) Reference 1).

あるいは、画像処理装置は、Rsig−G1sigの値とRsig−G2sigの値の差分に応じた重み付け係数を用いて、Rsig−G1sigの値とRsig−G2sigの値を加算平均した値を色差信号R−Gとする。同様に、Bsig−G1sigの値とBsig−G2sigの値の差分に応じた重み付け係数を用いて、Bsig−G1sigの値とBsig−G2sigの値を加算平均した値を色差信号B−Gとする(特許文献2を参照)。   Alternatively, the image processing apparatus uses the weighting coefficient corresponding to the difference between the Rsig-G1 sig value and the Rsig-G2 sig value to add and average the value of the Rsig-G1 sig value and the Rsig-G2 sig value to the color difference signal R- G. Similarly, a color difference signal B-G is obtained by averaging the values of Bsig-G1sig and Bsig-G2sig using a weighting coefficient corresponding to the difference between the value of Bsig-G1sig and the value of Bsig-G2sig ( (See Patent Document 2).

このように、色補間に用いる画素を適応的に選択して色差信号を生成することで、偽色を減らす処理が行われていた。   In this way, processing for reducing false colors has been performed by adaptively selecting pixels used for color interpolation and generating color difference signals.

また、輝度信号を生成する際も同様に、着目画素の水平方向および垂直方向に位置する画素の相関に応じて、補間に用いる画素を適応的に選択して画像信号を生成することで、モアレを抑圧し画像全体で違和感がないように処理が行われていた(特許文献3を参照)。   Similarly, when generating a luminance signal, moire is generated by adaptively selecting pixels to be used for interpolation according to the correlation between pixels in the horizontal direction and vertical direction of the pixel of interest, and generating an image signal. Has been performed so that the image is suppressed and the image does not feel uncomfortable (see Patent Document 3).

特開2002−300590号公報JP 2002-300590 A 特開平08−023541号公報Japanese Patent Laid-Open No. 08-023541 特開2007−336384号公報JP 2007-336384 A

しかし、上記のような処理であっても、ナイキスト周波数付近の画像信号や折り返しノイズが含まれる画像信号が含まれる領域に対しては、水平方向と垂直方向の相関度を正しく得ることができず、偽色やモアレが残存してしまうことがあった。そのため、偽色やモアレをさらに低減させるための改良の余地が残されていると考えられる。   However, even with the above processing, the correlation between the horizontal direction and the vertical direction cannot be obtained correctly for an area including an image signal near the Nyquist frequency or an image signal including aliasing noise. In some cases, false colors and moire remained. Therefore, it is considered that there is room for improvement for further reducing false colors and moire.

上記課題を解決するため、本発明は、画像信号の着目領域が高周波領域であるか否かを判別する判別手段と、画像信号から、それぞれの画像信号に含まれる周波数成分の少なくとも一部が異なるように複数の画像信号を抽出する抽出手段と、判別手段により着目領域が高周波領域であると判別されなかった場合に、着目領域が高周波領域であると判別された場合よりも、高い周波数成分を含む画像信号を、あるいは、高い周波数成分を含む画像信号の重み付けを大きくして複数の画像信号を合成した画像信号を出力する処理手段を有する特徴とする画像処理装置とするものである。   In order to solve the above-described problems, the present invention differs from the image signal and the determination means for determining whether or not the region of interest of the image signal is a high frequency region, and at least a part of the frequency component included in each image signal is different from the image signal. In this way, the extraction means for extracting a plurality of image signals and the discriminating means, when the area of interest is not determined to be the high frequency area, the higher frequency component than when the area of interest is determined to be the high frequency area. The image processing apparatus includes a processing unit that outputs an image signal including a plurality of image signals by increasing the weighting of the image signal including the image signal including the high frequency component.

本発明によれば、高周波領域に発生する偽色やモアレの抑圧効果を向上させることが可能となる画像処理装置を提供することができる。   According to the present invention, it is possible to provide an image processing apparatus capable of improving the effect of suppressing false colors and moire generated in a high frequency region.

本発明の第1の実施形態における画像処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to a first embodiment of the present invention. ベイヤー配列で構成された撮像素子のうち、3×3の画素からなる一部の領域を示す図である。It is a figure which shows the one part area | region which consists of a 3 * 3 pixel among the image pick-up elements comprised by the Bayer arrangement | sequence. 本発明の第1の実施形態における色差信号生成回路104の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a color difference signal generation circuit 104 according to the first embodiment of the present invention. 色補間回路300による処理を説明するための図である。5 is a diagram for explaining processing by a color interpolation circuit 300. FIG. デジタルフィルタの一例を示す図である。It is a figure which shows an example of a digital filter. LPF301〜LPF304、LPF351〜LPF353の周波数特性の一例を示す図である。It is a figure which shows an example of the frequency characteristic of LPF301-LPF304, LPF351-LPF353. グラデーションを有する縦縞の被写体を示す図である。It is a figure which shows the to-be-photographed subject with a gradation. 図7の被写体を撮影して得られた画像信号におけるG1sigとG2sigの値を示す図である。It is a figure which shows the value of G1sig and G2sig in the image signal obtained by image | photographing the to-be-photographed object of FIG. CZP(円形ゾーンプレート)を示す図である。It is a figure which shows CZP (circular zone plate). CZPの中心部から水平に延びた軸上に位置する補間後のG1sigとG2sigの値を示す図である。It is a figure which shows the value of G1sig and G2sig after interpolation located on the axis | shaft extended horizontally from the center part of CZP. 本発明の第1の実施形態における選択回路320による色差信号の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of the color difference signal by the selection circuit 320 in the 1st Embodiment of this invention. 本発明の第2の実施形態における色差信号生成回路104の構成を示すブロック図である。It is a block diagram which shows the structure of the color difference signal generation circuit 104 in the 2nd Embodiment of this invention. 本発明の第2の実施形態における選択回路320による色差信号の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of the color difference signal by the selection circuit 320 in the 2nd Embodiment of this invention. 本発明の第3の実施形態における色差信号生成回路104の構成を示すブロック図である。It is a block diagram which shows the structure of the color difference signal generation circuit 104 in the 3rd Embodiment of this invention. 本発明の第3の実施形態における合成回路380による色差信号の合成処理を示すフローチャートである。It is a flowchart which shows the synthesis | combination process of the color difference signal by the synthetic | combination circuit 380 in the 3rd Embodiment of this invention. ベイヤー配列を示す図である。It is a figure which shows a Bayer arrangement | sequence.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(第1の実施形態)
図1は本発明の第1の実施形態における画像処理装置の構成を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to the first embodiment of the present invention.

撮像部101は、図示しない撮影レンズ、撮像素子及びその駆動回路からなり、撮影レンズにより結像する光学像を撮像素子により電気信号に変換する。この撮像素子はCCDやCMOSセンサで構成されており、図16に示すベイヤー配列の画素の集合で構成されているものとする。   The imaging unit 101 includes a photographic lens, an imaging device, and a drive circuit thereof (not shown), and converts an optical image formed by the photographic lens into an electrical signal by the imaging device. This image sensor is composed of a CCD or CMOS sensor, and is composed of a set of pixels in the Bayer array shown in FIG.

撮像部101から出力されるアナログ信号は、A/D変換器102によってデジタル信号に変換される。A/D変換器102によってデジタル信号に変換された画像信号は、ホワイトバランス(WB)回路103で公知のホワイトバランス調整が行われる。   An analog signal output from the imaging unit 101 is converted into a digital signal by the A / D converter 102. The image signal converted into a digital signal by the A / D converter 102 is subjected to a known white balance adjustment by a white balance (WB) circuit 103.

ホワイトバランス回路103から出力された画像信号は、色差信号生成回路104、相関度検出回路110、および、輝度信号生成回路111に入力される。相関度検出回路110は、画像信号から画素あるいは領域ごとに垂直方向と水平方向の信号の相関度を検出する。ホワイトバランス回路103から出力した画像信号は、相関度検出回路110の出力、輝度信号生成回路111、輝度ガンマ回路112によって、輝度信号処理が行われ、画素あるいは領域ごとに輝度信号Yが出力される。   The image signal output from the white balance circuit 103 is input to the color difference signal generation circuit 104, the correlation degree detection circuit 110, and the luminance signal generation circuit 111. The correlation level detection circuit 110 detects the correlation level between the vertical and horizontal signals for each pixel or region from the image signal. The image signal output from the white balance circuit 103 is subjected to luminance signal processing by the output of the correlation detection circuit 110, the luminance signal generation circuit 111, and the luminance gamma circuit 112, and the luminance signal Y is output for each pixel or region. .

また、色差信号生成回路104は、入力された画像信号から画素あるいは領域ごとに色差信号R−GとB−Gを生成し、出力する。色差信号生成回路104から出力された信号は、色変換マトリックス回路105で色差信号R−G、B−GがR−Y、B−Yに変換される。その後、色抑圧回路106によって高輝度および低輝度の色差ゲインが抑圧される。色抑圧回路106の出力信号は、公知の色ガンマ回路107、彩度ゲインを調整する公知のクロマニー(Chroma knee)回路108を通り、画素あるいは領域ごとに色差信号UVが出力される。   Further, the color difference signal generation circuit 104 generates and outputs color difference signals RG and BG for each pixel or region from the input image signal. The signal output from the color difference signal generation circuit 104 is converted by the color conversion matrix circuit 105 into color difference signals RG and BG into RY and BY. Thereafter, the color suppression gain is suppressed by the color suppression circuit 106. The output signal of the color suppression circuit 106 passes through a known color gamma circuit 107 and a known chroma knee circuit 108 for adjusting the saturation gain, and a color difference signal UV is output for each pixel or region.

ここで、輝度信号生成回路111で行われる輝度補間処理について説明する。図2は図16に示すベイヤー配列で構成された撮像素子のうち、3×3の画素からなる一部の領域を示すものである。この輝度補間処理ではG1フィルタに対応する画素から出力される信号G1sigと、G2フィルタに対応する画素から出力される信号G2sigを区別せず、ともにGsigとして扱う。   Here, the luminance interpolation processing performed in the luminance signal generation circuit 111 will be described. FIG. 2 shows a partial region composed of 3 × 3 pixels in the image sensor configured by the Bayer array shown in FIG. 16. In this luminance interpolation process, the signal G1sig output from the pixel corresponding to the G1 filter and the signal G2sig output from the pixel corresponding to the G2 filter are not distinguished from each other and are treated as Gsig.

輝度信号生成回路111は、まず、Gフィルタ(G1フィルタ、G2フィルタ)以外に対応する全ての画素、すなわちRフィルタとBフィルタに対応する画素について、Gsigを補間する。例えば、図2のP1〜P9は画素を識別するための符号であり、R、G1、G2、Bは画素P1〜P9がそれぞれ対応する色フィルタを示す。P5(Rsig)とは画素P5におけるRsigの値を示し、P5(Gsig)とは画素P5におけるGsigの値を示し、P5(Bsig)とは画素P5におけるBsigの値を示すものとする。   First, the luminance signal generation circuit 111 interpolates Gsig for all pixels corresponding to other than the G filter (G1 filter, G2 filter), that is, pixels corresponding to the R filter and the B filter. For example, P1 to P9 in FIG. 2 are codes for identifying pixels, and R, G1, G2, and B indicate color filters to which the pixels P1 to P9 correspond, respectively. P5 (Rsig) indicates the value of Rsig in the pixel P5, P5 (Gsig) indicates the value of Gsig in the pixel P5, and P5 (Bsig) indicates the value of Bsig in the pixel P5.

Bフィルタに対応する画素P5にGsigを補間する場合、上下および左右の信号の相関度を検出し、相関度の高い方向を判別する。すなわち、補間対象の画素の上下に位置する画素の信号の差の絶対値、および、補間対象の画素の左右に位置する画素の信号の差の絶対値を求める。   When Gsig is interpolated in the pixel P5 corresponding to the B filter, the correlation degree of the upper and lower and left and right signals is detected, and the direction with the higher correlation degree is determined. That is, the absolute value of the difference between the signals of the pixels positioned above and below the pixel to be interpolated and the absolute value of the difference between the signals of the pixels positioned at the left and right of the pixel to be interpolated are obtained.

そしてHdiffとVdiffの差をとったものを補間方向判別信号MatSwとする。   The difference between Hdiff and Vdiff is taken as an interpolation direction discrimination signal MatSw.

このMatSWが負であれば水平方向の相関が強いことになり、水平方向の画素信号から補間する。すなわち、画素P4のGsigと画素P6のGsigとの平均値を画素P5のGsigとする。逆に、その差が正であれば垂直方向の画素信号から補間する。すなわち、画素P2のGsigと画素P8のGsigとの平均値を画素P5のGsigとする。同様の方法で、全てのRフィルタとBフィルタに対応した画素についてもGsigの補間を行う。   If this MatSW is negative, the horizontal correlation is strong, and interpolation is performed from the horizontal pixel signal. That is, the average value of Gsig of the pixel P4 and Gsig of the pixel P6 is set as Gsig of the pixel P5. Conversely, if the difference is positive, interpolation is performed from the pixel signal in the vertical direction. That is, the average value of Gsig of the pixel P2 and Gsig of the pixel P8 is set as Gsig of the pixel P5. In the same manner, Gsig interpolation is performed for pixels corresponding to all R filters and B filters.

次に、補間したGsigを用いて、全てのGフィルタとBフィルタに対応した画素についてRsigの補間を行う。Gフィルタに対応した画素(P2、P4、P6、P8)については、左右または上下に位置するRフィルタに対応する画素のRsig、およびそれらの画素に対して補間で求められたGsigを用いて、Rsigの補間を行う。また、Bフィルタに対応した画素については、その画素の周囲に位置するRフィルタに対応する画素のRsig、およびそれらの画素に対して補間で求められたGsigを用いて、以下の式に示すように補間を行う。   Next, using the interpolated Gsig, Rsig interpolation is performed for pixels corresponding to all G filters and B filters. For the pixels corresponding to the G filter (P2, P4, P6, P8), using the Rsig of the pixel corresponding to the R filter located on the left or right or top and bottom, and the Gsig obtained by interpolation for those pixels, Rsig interpolation is performed. For the pixel corresponding to the B filter, the following expression is used by using the Rsig of the pixel corresponding to the R filter located around the pixel and the Gsig obtained by interpolation for these pixels. Perform interpolation.

また、同様にして、全てのGフィルタとRフィルタに対応した画素についてBsigの補間も行うことができる。これにより同一画素についてRsig、Gsig、およびBsigを得る。更に、各画素において下記式(7)の演算を行うことで、輝度信号Yを求められる。   Similarly, Bsig interpolation can also be performed for pixels corresponding to all G filters and R filters. Thus, Rsig, Gsig, and Bsig are obtained for the same pixel. Further, the luminance signal Y is obtained by performing the calculation of the following formula (7) in each pixel.

なお、この式(7)の各項の係数は、適宜変更することが可能である。   In addition, the coefficient of each term of this formula (7) can be changed as appropriate.

次に、色差信号生成回路104で行われる色補間処理について説明する。図3は色差信号生成回路104の構成を示すブロック図である。この色差信号生成回路104は、色補間回路300、350、ローパスフィルタ(LPF)301〜304、351〜353、色差信号算出回路311〜314、選択回路320、および、偽色判別回路360を有している。   Next, color interpolation processing performed by the color difference signal generation circuit 104 will be described. FIG. 3 is a block diagram showing a configuration of the color difference signal generation circuit 104. The color difference signal generation circuit 104 includes color interpolation circuits 300 and 350, low pass filters (LPF) 301 to 304, 351 to 353, color difference signal calculation circuits 311 to 314, a selection circuit 320, and a false color determination circuit 360. ing.

ホワイトバランス回路103から出力された画像信号は、色補間回路300に入力される。図4は色補間回路300による補間処理を説明するための図である。色補間回路300は、図4に示すように、ベイヤー配列で入力された画像信号を、R、G1、G2、および、Bフィルタの色ごとに対応する信号からなる画像信号に分解する。この際、分解した色フィルタに対応していない画素に対しては、信号の値として0を挿入する。   The image signal output from the white balance circuit 103 is input to the color interpolation circuit 300. FIG. 4 is a diagram for explaining the interpolation processing by the color interpolation circuit 300. As shown in FIG. 4, the color interpolation circuit 300 decomposes the image signal input in the Bayer array into image signals composed of signals corresponding to the colors of the R, G1, G2, and B filters. At this time, 0 is inserted as a signal value for a pixel that does not correspond to the separated color filter.

その後、色補間回路500は、公知のデジタルフィルタを用いてLPFによる補間処理が行われ、全ての画素において信号を有するR、G1、G2、および、Bの各色の画像信号を出力する。   Thereafter, the color interpolation circuit 500 performs interpolation processing by LPF using a known digital filter, and outputs R, G1, G2, and B image signals having signals in all pixels.

色補間回路300から出力された各色の画像信号は、遮断周波数の異なるLPF301〜304に入力される。図6(a)はLPF301〜304の周波数特性の一例を示す。LPF301が図6(a)の周波数特性601、LPF302が図6(a)の周波数特性602、LPF303が図6(a)の周波数特性603、LPF304が図6(a)の周波数特性604を有する。この図6(a)からわかるように、LPF301、LPF302、LPF303、LPF304の順で遮断周波数が高くなる。すなわち、LPF301から出力される画像信号S01、LPF302から出力される画像信号S02、LPF303から出力される画像信号S03、LPF304から出力される画像信号S04の順で、より高い周波数成分が画像に含まれる。これら画像信号S01〜S04のそれぞれが、周波数成分が制限されたR、G1、G2、および、Bの各色の画像信号を有している。   The image signals of the respective colors output from the color interpolation circuit 300 are input to LPFs 301 to 304 having different cutoff frequencies. FIG. 6A shows an example of the frequency characteristics of the LPFs 301 to 304. The LPF 301 has the frequency characteristic 601 in FIG. 6A, the LPF 302 has the frequency characteristic 602 in FIG. 6A, the LPF 303 has the frequency characteristic 603 in FIG. 6A, and the LPF 304 has the frequency characteristic 604 in FIG. As can be seen from FIG. 6A, the cutoff frequency increases in the order of LPF 301, LPF 302, LPF 303, and LPF 304. That is, higher frequency components are included in the image in the order of the image signal S01 output from the LPF 301, the image signal S02 output from the LPF 302, the image signal S03 output from the LPF 303, and the image signal S04 output from the LPF 304. . Each of these image signals S01 to S04 has an image signal of each color of R, G1, G2, and B in which frequency components are limited.

画像信号S01は色差信号算出回路311に、画像信号S02は色差信号算出回路312に、画像信号S03は色差信号算出回路313に、画像信号S04は色差信号算出回路314にそれぞれ入力される。色差信号算出回路311〜314は、画像信号S01〜S04に対して上述した方法で色差信号を求める。   The image signal S01 is input to the color difference signal calculation circuit 311, the image signal S02 is input to the color difference signal calculation circuit 312, the image signal S03 is input to the color difference signal calculation circuit 313, and the image signal S04 is input to the color difference signal calculation circuit 314. The color difference signal calculation circuits 311 to 314 obtain color difference signals by the method described above for the image signals S01 to S04.

つまり、色差信号算出回路311は、相関度検出回路110で求めた着目画素における垂直方向と水平方向の相関度を参照し、色差信号R−GとB−Gを生成する。具体的には、色差信号算出回路311は、相関度検出回路110にて水平方向の相関度のほうが垂直方向の相関度よりも高いと判断された場合には、Rsig−G1sigの値を色差信号R−Gとし、Bsig−G2sigの値を色差信号B−Gとする。反対に、色差信号算出回路311は、相関度検出回路110にて垂直方向の相関度のほうが水平方向の相関度よりも高いと判断された場合には、Rsig−G2sigの値を色差信号R−Gとし、Bsig−G1sigの値を色差信号B−Gとする。   In other words, the color difference signal calculation circuit 311 refers to the vertical and horizontal correlation degrees of the pixel of interest obtained by the correlation level detection circuit 110, and generates color difference signals RG and BG. Specifically, when the correlation detection circuit 110 determines that the horizontal correlation is higher than the vertical correlation, the color difference signal calculation circuit 311 uses the value of Rsig−G1sig as the color difference signal. Let RG be the value of Bsig-G2sig as the color difference signal BG. On the other hand, when the correlation detection circuit 110 determines that the correlation in the vertical direction is higher than the correlation in the horizontal direction, the color difference signal calculation circuit 311 uses the value of Rsig-G2sig as the color difference signal R−. Let G be the value of Bsig-G1sig as the color difference signal BG.

あるいは、色差信号算出回路311は、Rsig−G1sigの値とRsig−G2sigの値の差分に応じた重み付け係数を用いて、Rsig−G1sigの値とRsig−G2sigの値を加算平均した値を色差信号R−Gとする。同様に、Bsig−G1sigの値とBsig−G2sigの値の差分に応じた重み付け係数を用いて、Bsig−G1sigの値とBsig−G2sigの値を加算平均した値を色差信号B−Gとする。   Alternatively, the color difference signal calculation circuit 311 uses a weighting coefficient corresponding to the difference between the Rsig-G1 sig value and the Rsig-G2 sig value, and calculates a color difference signal by averaging the Rsig-G1 sig value and the Rsig-G2 sig value. RG. Similarly, using a weighting coefficient corresponding to the difference between the Bsig-G1 sig value and the Bsig-G2 sig value, a value obtained by adding and averaging the Bsig-G1 sig value and the Bsig-G2 sig value is defined as a color difference signal BG.

これらの処理を、色差信号算出回路312〜314においても行う。   These processes are also performed in the color difference signal calculation circuits 312 to 314.

色差信号算出回路311〜314から求められた色差信号R−GとB−Gは、それぞれ色差信号S11、S12、S13、S14として、後述の選択回路320に入力される。   The color difference signals RG and BG obtained from the color difference signal calculation circuits 311 to 314 are input to the selection circuit 320 described later as the color difference signals S11, S12, S13, and S14, respectively.

次に、偽色判別動作について説明する。ホワイトバランス回路103から出力した画像データは、色補間回路350に入力される。色補間回路350は色補間回路300と同様に、全ての画素において信号を有するR、G1、G2、および、Bの各色の画像信号を出力する。   Next, the false color discrimination operation will be described. Image data output from the white balance circuit 103 is input to the color interpolation circuit 350. Similar to the color interpolation circuit 300, the color interpolation circuit 350 outputs image signals of R, G1, G2, and B colors having signals in all pixels.

ここで、図16に示すベイヤー配列では、Gフィルタに対応した画素の数は、Rフィルタに対応した画素の数、Bフィルタに対応した画素の数のそれぞれに対して2倍となる。このGフィルタをG1フィルタとG2フィルタに分解することで、R、G1、G2、および、Bフィルタの画素間隔(サンプリング間隔)が等しくなる。よって、このG1およびG2の画像信号を用いて折り返しノイズが発生する領域を検出すれば、RおよびBの画像信号において折り返しノイズが発生する領域を特定することが可能となる。   Here, in the Bayer array shown in FIG. 16, the number of pixels corresponding to the G filter is twice as large as the number of pixels corresponding to the R filter and the number of pixels corresponding to the B filter. By disassembling this G filter into a G1 filter and a G2 filter, the pixel intervals (sampling intervals) of the R, G1, G2, and B filters become equal. Therefore, if a region where aliasing noise is generated is detected using the G1 and G2 image signals, the region where aliasing noise occurs in the R and B image signals can be specified.

色補間回路350から出力された各色の画像信号は、遮断周波数の異なるLPF351〜353に入力される。図6(b)はLPF351〜353の周波数特性の一例を示す。LPF351が図6(b)の周波数特性611、LPF352が図6(b)の周波数特性612、LPF353が図6(b)の周波数特性613を有する。この図6(b)からわかるように、LPF351、LPF352、LPF353の順で遮断周波数が高くなる。すなわち、LPF351から出力される画像信号T01、LPF352から出力される画像信号T02、LPF353から出力される画像信号T03の順で、より高い周波数成分が画像に含まれる。なお、本実施形態では、LPF301とLPF351、LPF302とLPF352、LPF303とLPF353の周波数特性がそれぞれ一致するものとする。   The image signals of the respective colors output from the color interpolation circuit 350 are input to LPFs 351 to 353 having different cutoff frequencies. FIG. 6B shows an example of frequency characteristics of the LPFs 351 to 353. The LPF 351 has the frequency characteristic 611 in FIG. 6B, the LPF 352 has the frequency characteristic 612 in FIG. 6B, and the LPF 353 has the frequency characteristic 613 in FIG. 6B. As can be seen from FIG. 6B, the cutoff frequency increases in the order of LPF 351, LPF 352, and LPF 353. That is, a higher frequency component is included in the image in the order of the image signal T01 output from the LPF 351, the image signal T02 output from the LPF 352, and the image signal T03 output from the LPF 353. In this embodiment, it is assumed that the LPF 301 and the LPF 351, the LPF 302 and the LPF 352, and the LPF 303 and the LPF 353 have the same frequency characteristics.

LPF351〜353から出力された画像信号T01〜T03は偽色判別回路360に入力される。   The image signals T01 to T03 output from the LPFs 351 to 353 are input to the false color discrimination circuit 360.

ここで、図7および図8を用いて、偽色判別回路360が、偽色信号が発生する領域を判別するための方法について説明する。図7はグラデーションを有する縦縞の被写体であり、図8は図7の被写体を撮影して得られた画像信号におけるG1sigとG2sigの値を示す。   Here, a method for the false color discrimination circuit 360 to discriminate an area where the false color signal is generated will be described with reference to FIGS. FIG. 7 shows a vertically striped subject having gradation, and FIG. 8 shows values of G1sig and G2sig in an image signal obtained by photographing the subject of FIG.

図8(a)〜図8(i)の横軸は、水平方向における画素の位置を示している。図8(a)、図8(d)、図8(g)は、ある行におけるG1フィルタに対応した画素から得られたG1sigと、別の行におけるG2フィルタに対応した画素から得られたG2sigを並べて配置したものである。水平方向および垂直方向において、G1フィルタに対応する画素のサンプリング間隔とG2フィルタに対応する画素のサンプリング間隔は等しく、G1フィルタに対応する画素とG2フィルタに対応する画素の空間的位相はこのサンプリング間隔の半分だけずれている。   The horizontal axis in FIGS. 8A to 8I indicates the position of the pixel in the horizontal direction. FIGS. 8A, 8D, and 8G show G1sig obtained from a pixel corresponding to the G1 filter in one row and G2sig obtained from a pixel corresponding to the G2 filter in another row. Are arranged side by side. In the horizontal direction and the vertical direction, the sampling interval of the pixel corresponding to the G1 filter is equal to the sampling interval of the pixel corresponding to the G2 filter, and the spatial phase of the pixel corresponding to the G1 filter and the pixel corresponding to the G2 filter is the sampling interval. Is shifted by half.

図7は縦縞であるので、すべての行に対して等しく被写体像が入射するため、これらG1sigとG2sigを水平方向における画素の位置に応じて並べると、図7に示す被写体のグラデーションを示す画像信号が得られる。ここで、図8(a)では、図Bに示す縦縞の周波数が、G1フィルタおよびG2フィルタのナイキスト周波数よりも十分に低いものとする。図8(d)では、図Bに示す縦縞の周波数が、図Aに示す縦縞の周波数よりも高く、G1フィルタおよびG2フィルタのナイキスト周波数よりもやや低いものとする。また、図8(g)では、図Bに示す縦縞の周波数が、G1フィルタおよびG2フィルタのナイキスト周波数よりも高いものとする。   Since FIG. 7 is a vertical stripe, the subject image is equally incident on all the rows. Therefore, when these G1sig and G2sig are arranged in accordance with the pixel position in the horizontal direction, the image signal indicating the gradation of the subject shown in FIG. Is obtained. Here, in FIG. 8A, it is assumed that the frequency of the vertical stripes shown in FIG. B is sufficiently lower than the Nyquist frequency of the G1 filter and the G2 filter. In FIG. 8D, it is assumed that the frequency of the vertical stripes shown in FIG. B is higher than the frequency of the vertical stripes shown in FIG. A and slightly lower than the Nyquist frequency of the G1 filter and the G2 filter. In FIG. 8G, the frequency of vertical stripes shown in FIG. B is higher than the Nyquist frequency of the G1 filter and the G2 filter.

図8(b)、図8(e)、図8(h)は、それぞれ図8(a)、図8(d)、図8(g)のG1sigのみを抽出し、G1フィルタに対応していない画素に対して、周囲のG1sigを用いてG1sigの補間を行ったものである。図8(c)、図8(f)、図8(i)は、図8(a)、図8(d)、図8(g)のG2sigのみを抽出し、G2フィルタに対応していない画素に対して、周囲のG2sigを用いてG2sigの補間を行ったものである。   FIGS. 8B, 8E, and 8H extract only G1sig of FIGS. 8A, 8D, and 8G, respectively, and correspond to the G1 filter. G1 sig interpolation is performed on a non-existing pixel using surrounding G1 sig. 8 (c), 8 (f), and 8 (i) extract only G2sig of FIGS. 8 (a), 8 (d), and 8 (g), and do not correspond to the G2 filter. G2sig interpolation is performed on the pixel using surrounding G2sig.

これら図8(a)〜図8(i)からわかるように、被写体の空間周波数がG1フィルタおよびG2フィルタのナイキスト周波数よりも十分に低ければ、補間後のG1sigとG2sigの位相のずれは小さくなる。そして、被写体の空間周波数がG1フィルタおよびG2フィルタのナイキスト周波数に近づくほど、補間後のG1sigとG2sigの位相のずれが大きくなり、ナイキスト周波数を超えると、補間後のG1sigとG2sigの位相がほぼ反転した状態となる。つまり、補間後のG1sigとG2sigの位相の差異を検出することで、高周波領域であるか否か、すなわち、偽色が生じる領域であるか否かを判断することが可能となる。   As can be seen from FIGS. 8A to 8I, if the spatial frequency of the subject is sufficiently lower than the Nyquist frequency of the G1 filter and the G2 filter, the phase shift between G1sig and G2sig after interpolation becomes small. . Then, as the spatial frequency of the subject approaches the Nyquist frequency of the G1 filter and the G2 filter, the phase shift between G1sig and G2sig after interpolation increases, and when the Nyquist frequency is exceeded, the phase between G1sig and G2sig after interpolation is almost inverted. It will be in the state. That is, by detecting the difference in phase between G1sig and G2sig after interpolation, it is possible to determine whether or not the region is a high frequency region, that is, whether or not it is a region where a false color is generated.

ここで、偽色判別回路360の動作について図9および図10を用いて説明する。   Here, the operation of the false color discrimination circuit 360 will be described with reference to FIGS.

図9はCZP(円形ゾーンプレート)を示す図であり、画像の中心を原点とする同心円が幾重にも並び、中心から外側に向かって空間周波数が高くなる。図10はCZPの中心部から水平に延びた軸上に位置する補間後のG1sigとG2sigの値をプロットしたものである。   FIG. 9 is a diagram showing a CZP (circular zone plate). Concentric circles with the center of the image as the origin are arranged in layers, and the spatial frequency increases from the center toward the outside. FIG. 10 is a plot of G1sig and G2sig values after interpolation located on an axis extending horizontally from the center of CZP.

図10(a)において、曲線1001は画像信号T01の補間後のG1sigを示し、曲線1002は画像信号T01の補間後のG2sigを示す。図10(b)において、曲線1003は画像信号T02の補間後のG1sigを示し、曲線1004は画像信号T02の補間後のG2sigを示す。図10(c)において、曲線1005は画像信号T03の補間後のG1sigを示し、曲線1006は画像信号T03の補間後のG2sigを示す。なお、F0〜F4はCZPの空間周波数を示しており、画像の中心の空間周波数をF0とし、画像の外側に向かうにつれ、F1、F2、F3、F4の順で徐々に空間周波数が高くなる。   In FIG. 10A, a curve 1001 indicates G1sig after interpolation of the image signal T01, and a curve 1002 indicates G2sig after interpolation of the image signal T01. In FIG. 10B, a curve 1003 indicates G1sig after interpolation of the image signal T02, and a curve 1004 indicates G2sig after interpolation of the image signal T02. In FIG. 10C, a curve 1005 indicates G1sig after interpolation of the image signal T03, and a curve 1006 indicates G2sig after interpolation of the image signal T03. Note that F0 to F4 indicate CZP spatial frequencies, where the spatial frequency at the center of the image is F0, and the spatial frequencies gradually increase in the order of F1, F2, F3, and F4 toward the outside of the image.

偽色判別回路360は、補間後のG1sigからなる画像信号と補間後のG2sigからなる画像信号の特性の差を利用して、偽色信号が発生する高周波領域であるか否かを判別する。具体的には、補間後のG1sigからなる画像信号と補間後のG2sigからなる画像信号の傾きの位相に着目し、下記の式(8)を満たすときには偽色信号が発生する偽色領域であると判別する。   The false color discriminating circuit 360 uses the difference in characteristics between the image signal composed of G1 sig after interpolation and the image signal composed of G2 sig after interpolation to determine whether or not it is a high frequency region where a false color signal is generated. Specifically, focusing on the inclination phase of the image signal composed of G1sig after interpolation and the image signal composed of G2sig after interpolation, this is a false color region where a false color signal is generated when the following equation (8) is satisfied. Is determined.

ここで、ΔG1hは補間後のG1sigからなる画像信号における水平方向の傾き、ΔG2hは補間後のG2sigからなる画像信号における水平方向の傾きを示す。また、ΔG1vは補間後のG1sigからなる画像信号における垂直方向の傾き、ΔG2vは補間後のG2sigからなる画像信号における垂直方向の傾きを示す。例えば、水平方向の傾きは図5(a)、垂直方向は図5(b)にそれぞれ示すような公知のデジタルフィルタで求めることができる。なお、傾きを求めるフィルタはこれに限られるものではない。   Here, ΔG1h represents a horizontal inclination in the image signal composed of G1sig after interpolation, and ΔG2h represents a horizontal inclination in the image signal composed of G2sig after interpolation. Further, ΔG1v represents a vertical inclination in the image signal composed of G1sig after interpolation, and ΔG2v represents a vertical inclination in the image signal composed of G2sig after interpolation. For example, the horizontal inclination can be obtained with a known digital filter as shown in FIG. 5A and the vertical direction as shown in FIG. 5B. Note that the filter for obtaining the slope is not limited to this.

なお、画素単位ではなく、複数の画素からなる着目領域の単位で偽色領域を判別するようにしてもよい。着目領域単位で判別する場合には、その領域に含まれる各画素を用いて求めた画像信号の傾きのうち、式(8)を満たすものの割合が閾値以上である場合に、その領域が偽色領域であると判別するようにしてもよい。なお、以降で着目領域と述べた場合には、複数の画素からなる領域と、単一の画素からなる領域の、いずれも含むものとする。   Note that the false color region may be determined not in units of pixels but in units of a region of interest composed of a plurality of pixels. When discriminating by the region of interest, when the ratio of the image signal inclination obtained using each pixel included in the region satisfies the expression (8) is equal to or greater than the threshold, the region is false color You may make it discriminate | determine that it is an area | region. In the following description, the region of interest includes both a region composed of a plurality of pixels and a region composed of a single pixel.

本実施形態では、図10(a)より、画像信号T01においては、図9において空間周波数がF1よりも高くなる領域2〜領域4が偽色領域であると判断することができる。また、図10(b)より、画像信号T02においては、図9において空間周波数がF2よりも高くなる領域3と領域4が偽色領域であると判断することができる。さらに、図10(c)より、画像信号T03においては、図9において空間周波数がF3よりも高くなる領域4が偽色領域であると判断することができる。   In this embodiment, from FIG. 10A, in the image signal T01, it can be determined that regions 2 to 4 in which the spatial frequency is higher than F1 in FIG. 9 are false color regions. Further, from FIG. 10B, in the image signal T02, it can be determined that the region 3 and the region 4 in which the spatial frequency is higher than F2 in FIG. 9 are false color regions. Further, from FIG. 10C, in the image signal T03, it can be determined that the region 4 in which the spatial frequency is higher than F3 in FIG. 9 is a false color region.

選択回路320は、画像信号T01において偽色領域でないと判断された領域1については、画像信号T01と同じ周波数の画像信号から生成された色差信号S11を選択する。また、選択回路320は、画像信号T01において偽色領域であると判断されたが、画像信号T02において偽色領域でないと判断された領域2については、画像信号T02と同じ周波数の画像信号から生成された色差信号S12を選択する。また、選択回路320は、画像信号T02において偽色領域であると判断されたが、画像信号T03において偽色領域でないと判断された領域3については、画像信号T03と同じ周波数の画像信号から生成された色差信号S13を選択する。そして、選択回路320は、画像信号T03において偽色領域であると判断された領域4については、画像信号T03よりも低い周波数の画像信号から生成された色差信号S14を選択する。このようにすることで、選択回路320が、画素ごとに偽色を含まない色差信号を選択することが可能となる。   The selection circuit 320 selects the color difference signal S11 generated from the image signal having the same frequency as the image signal T01 for the region 1 determined not to be a false color region in the image signal T01. In addition, the selection circuit 320 is determined from the image signal having the same frequency as that of the image signal T02 for the area 2 that is determined to be a false color area in the image signal T01 but is not determined to be a false color area in the image signal T02. The selected color difference signal S12 is selected. In addition, the selection circuit 320 is determined to be a false color area in the image signal T02, but the area 3 determined to be not a false color area in the image signal T03 is generated from an image signal having the same frequency as the image signal T03. The selected color difference signal S13 is selected. Then, the selection circuit 320 selects the color difference signal S14 generated from the image signal having a frequency lower than that of the image signal T03 for the region 4 determined to be a false color region in the image signal T03. In this way, the selection circuit 320 can select a color difference signal that does not include a false color for each pixel.

なお、本実施形態では、LPF301とLPF351、LPF302とLPF352、LPF303とLPF353の周波数特性がそれぞれ一致するものとしたが、これに限られるものではない。   In the present embodiment, the LPF 301 and the LPF 351, the LPF 302 and the LPF 352, and the LPF 303 and the LPF 353 have the same frequency characteristics, but the present invention is not limited to this.

例えば、画像信号S01のうち、画像信号T01で偽色領域でないと判断された領域において偽色が発生しない確率をより高くするためには、画像信号S01に含まれる周波数の上限を、画像信号T01に含まれる周波数の上限よりも低くすればよい。つまり、LPF351の遮断周波数をLPF301の遮断周波数よりもやや高く設定する。同様に、LPF352の遮断周波数をLPF302の遮断周波数よりも高く、LPF353の遮断周波数をLPF303の遮断周波数よりもやや高く設定する。ただし、このような場合、LPF301とLPF351、LPF302とLPF352、LPF303とLPF353の周波数特性をそれぞれ一致させた場合よりも、色解像度が低下する領域が増加する可能性がある。   For example, in order to increase the probability that a false color does not occur in a region of the image signal S01 that is determined not to be a false color region in the image signal T01, the upper limit of the frequency included in the image signal S01 is set to the image signal T01. What is necessary is just to make it lower than the upper limit of the frequency contained in. That is, the cutoff frequency of the LPF 351 is set slightly higher than the cutoff frequency of the LPF 301. Similarly, the cutoff frequency of LPF 352 is set higher than the cutoff frequency of LPF 302, and the cutoff frequency of LPF 353 is set slightly higher than the cutoff frequency of LPF 303. However, in such a case, there is a possibility that the area where the color resolution is lowered may increase as compared with the case where the frequency characteristics of LPF 301 and LPF 351, LPF 302 and LPF 352, and LPF 303 and LPF 353 are matched.

反対に、色解像度が低下する領域を減らしたいのであれば、LPF301、LPF302、LPF303の遮断周波数を、対応するLPF351、LPF352、LPF353の遮断周波数よりもやや低く設定すればよい。ただし、この場合は、例えば画像信号S01に画像信号T01よりも高い周波数が含まれる可能性があるので、画像信号T01では偽色領域でないと判断された領域においても、画像信号S01では偽色領域となる可能性が高くなる。   On the other hand, if it is desired to reduce the area where the color resolution is lowered, the cutoff frequencies of the LPF 301, LPF 302, and LPF 303 may be set slightly lower than the cutoff frequencies of the corresponding LPF 351, LPF 352, and LPF 353. However, in this case, for example, there is a possibility that the image signal S01 includes a higher frequency than the image signal T01. Therefore, even in an area that is determined not to be a false color area in the image signal T01, a false color area in the image signal S01. Is likely to be.

LPF301〜LPF303と、これに対応するLPF351〜LPF353の遮断周波数を一致させるか、あるいは差を設けるかは、どのような画像を生成したいのかによって適応的に変更するようにしてもよい。あるいは、被写体の柄や模様によっては、解像度を低下させることによる影響の程度が異なるため、被写体に応じてこれらのLPFの遮断周波数を適応的に変更するようにしてもよい。   Whether the cut-off frequencies of LPF 301 to LPF 303 and the corresponding LPF 351 to LPF 353 coincide with each other or whether a difference is provided may be adaptively changed depending on what kind of image is desired to be generated. Alternatively, since the degree of influence by reducing the resolution varies depending on the pattern or pattern of the subject, the cutoff frequency of these LPFs may be adaptively changed according to the subject.

このように、本実施形態では、色差信号生成回路104は、遮断周波数の異なるLPF301〜304を透過させた複数の画像信号S01〜S04を生成し、これら複数の画像信号S01〜S04から階層的に色差信号S11〜S14生成する。そして、色差信号生成回路104は、同様に遮断周波数の異なるLPF351〜353を通した複数の画像信号T01〜T03を生成し、これら階層の異なる画像信号ごとに偽色領域を検出する。選択回路320は、偽色領域が画像信号T01〜T03のうちのどの解像度の画像信号から検出されたかに応じて、色差信号S11〜S14のいずれかを選択する。そのため、選択回路320は、画素あるいは領域ごとに、偽色とならない範囲で最も周波数の高い階層の画像信号から生成された色差信号を選択することが可能となる。   As described above, in the present embodiment, the color difference signal generation circuit 104 generates a plurality of image signals S01 to S04 that are transmitted through the LPFs 301 to 304 having different cutoff frequencies, and hierarchically forms the plurality of image signals S01 to S04. Color difference signals S11 to S14 are generated. Similarly, the color difference signal generation circuit 104 generates a plurality of image signals T01 to T03 that have passed through LPFs 351 to 353 having different cutoff frequencies, and detects a false color region for each of these different image signals. The selection circuit 320 selects any one of the color difference signals S11 to S14 according to which resolution of the image signals T01 to T03 the false color area is detected from. Therefore, the selection circuit 320 can select, for each pixel or region, a color difference signal generated from an image signal of a hierarchy having the highest frequency in a range that does not become a false color.

このようにすることで、偽色が発生する領域のみを、偽色を抑圧するために必要な分だけ色解像度を低下させ、偽色が発生しない領域では色解像度を落とす必要がなくなるため、色解像度の向上と偽色の抑圧を優れたバランスで両立させることができる。   By doing this, the color resolution is reduced by the amount necessary to suppress the false color only in the area where the false color occurs, and the color resolution does not need to be lowered in the area where the false color does not occur. It is possible to achieve both an improvement in resolution and suppression of false colors with an excellent balance.

図11は、選択回路320による色差信号の選択処理を示すフローチャートである。選択回路320は、画素あるいは領域単位でこの選択処理を行う。ここでは、選択回路320は画素単位でこの選択処理を行うものとする。   FIG. 11 is a flowchart showing a color difference signal selection process by the selection circuit 320. The selection circuit 320 performs this selection process in units of pixels or regions. Here, it is assumed that the selection circuit 320 performs this selection process in units of pixels.

選択回路320は、ステップS1101において、着目画素に対応する画像信号T01の画素が偽色判別回路360にて偽色領域であると判別されたか否かを判定する。選択回路320は、着目画素が偽色領域でないと判別されたのであればステップS1104に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S11を選択する。   In step S1101, the selection circuit 320 determines whether or not the pixel of the image signal T01 corresponding to the pixel of interest has been determined to be a false color region by the false color determination circuit 360. If it is determined that the target pixel is not a false color region, the selection circuit 320 proceeds to step S1104, and selects the color difference signal S11 of the pixel corresponding to the target pixel as the color difference signal of the target pixel.

選択回路320は、ステップS1101において、着目画素が偽色領域でないと判別されたのであればステップS1102に進む。選択回路320は、ステップS1102において、着目画素に対応する画像信号T02の画素が偽色判別回路360にて偽色領域であると判別されたか否かを判定する。選択回路320は、着目画素が偽色領域でないと判別されたのであればステップS1105に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S12を選択する。   If it is determined in step S1101 that the target pixel is not a false color area, the selection circuit 320 proceeds to step S1102. In step S1102, the selection circuit 320 determines whether or not the pixel of the image signal T02 corresponding to the pixel of interest has been determined to be a false color region by the false color determination circuit 360. If it is determined that the target pixel is not a false color area, the selection circuit 320 proceeds to step S1105, and selects the color difference signal S12 of the pixel corresponding to the target pixel as the color difference signal of the target pixel.

選択回路320は、ステップS1102において、着目画素が偽色領域でないと判別されたのであればステップS1103に進む。選択回路320は、ステップS1103において、着目画素に対応する画像信号T03の画素が偽色判別回路360にて偽色領域であると判別されたか否かを判定する。選択回路320は、着目画素が偽色領域でないと判別されたのであればステップS1106に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S13を選択する。   If it is determined in step S1102 that the pixel of interest is not a false color area, the selection circuit 320 proceeds to step S1103. In step S1103, the selection circuit 320 determines whether or not the pixel of the image signal T03 corresponding to the pixel of interest has been determined to be a false color region by the false color determination circuit 360. If it is determined that the pixel of interest is not a false color region, the selection circuit 320 proceeds to step S1106, and selects the color difference signal S13 of the pixel corresponding to the pixel of interest as the color difference signal of the pixel of interest.

選択回路320は、ステップS1103において、着目画素が偽色領域でないと判別されたのであればステップS1107に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S14を選択する。   If it is determined in step S1103 that the pixel of interest is not a false color area, the selection circuit 320 proceeds to step S1107, and selects the color difference signal S14 of the pixel corresponding to the pixel of interest as the color difference signal of the pixel of interest.

そして、選択回路320は出力される画像信号のすべての画素に対して色差信号の選択処理を行い、各画素に対して選択した色差信号S11〜S14のいずれかに含まれる色差信号R−G、B−Gを出力する。そして、この出力された色差信号R−G、B−Gが色変換マトリックス回路105に入力され、信号R−Y、B−Yに変換される。   Then, the selection circuit 320 performs color difference signal selection processing for all the pixels of the output image signal, and the color difference signals RG included in any of the color difference signals S11 to S14 selected for each pixel. BG is output. The output color difference signals RG and BG are input to the color conversion matrix circuit 105 and converted into signals RY and BY.

なお、本実施形態では偽色領域であるか否かの判別のために式(8)を使用したが、これに限られるものではない。例えば、ΔG1h、ΔG1v、ΔG2h、および、ΔG2vの値の大きさに着目し、下記の式(9)〜式(12)のいずれかを満たす場合に、偽色領域であると判別するようにしてもよい。また、これらの式中の閾値THを画像信号T01〜T03において互いに異なる値としてもよい。これらの値を調整することで、偽色領域であると判断する基準を変更し、色解像度の向上と偽色の抑圧のバランスを調整することができる。   In the present embodiment, Expression (8) is used to determine whether the area is a false color area, but the present invention is not limited to this. For example, paying attention to the magnitudes of ΔG1h, ΔG1v, ΔG2h, and ΔG2v, if any of the following formulas (9) to (12) is satisfied, it is determined that the area is a false color area. Also good. Further, the threshold value TH in these equations may be different from each other in the image signals T01 to T03. By adjusting these values, it is possible to change the standard for determining the false color region and adjust the balance between the improvement of the color resolution and the suppression of the false color.

また、偽色領域であるか否かの判別のために、水平方向の傾きと垂直方向の傾きに着目したが、これに限られるものではなく、斜め方向の傾きに着目してもよい。   Further, in order to determine whether the region is a false color area, attention is paid to the inclination in the horizontal direction and the inclination in the vertical direction, but the present invention is not limited to this, and the inclination in the oblique direction may be noted.

また、偽色領域であるか否かの判別のために、補間後のG1sigからなる画像信号における傾きと、補間後のG2sigからなる画像信号における傾きを利用したが、G1sigとG2sigの値の差を利用してもよい。すなわち、G1sigとG2sigの値の差が大きければ、位相が大きくずれていると判別することができる。具体的には、上記式(8)〜式(12)のいずれも満たさずとも、式(13)に示すように、着目画素におけるG1sigとG2sigの差分の絶対値が閾値を超えている場合に、偽色領域であると判別してもよい。   Further, in order to determine whether the region is a false color region, the gradient in the image signal composed of G1 sig after interpolation and the gradient in the image signal composed of G2 sig after interpolation are used, but the difference between the values of G1 sig and G2 sig May be used. That is, if the difference between the values of G1sig and G2sig is large, it can be determined that the phase is greatly shifted. Specifically, when none of the above formulas (8) to (12) is satisfied, as shown in formula (13), the absolute value of the difference between G1sig and G2sig in the pixel of interest exceeds the threshold value. Alternatively, it may be determined that the region is a false color region.

ただし、輝度信号が小さい場合は、G1sigとG2sigの値がともに小さくなるため、輝度信号生成回路111にて生成された対応する画素の輝度信号に応じて、これらの閾値を変更するようにしてもよい。   However, since the values of G1sig and G2sig are both small when the luminance signal is small, these threshold values may be changed according to the luminance signal of the corresponding pixel generated by the luminance signal generation circuit 111. Good.

あるいは、補間後のG1sigからなる画像信号における傾きと、補間後のG2sigからなる画像信号における傾きによる判別に加え、G1sigとG2sigの値の差による判別を組み合わせてもよい。   Alternatively, in addition to the determination based on the gradient in the image signal composed of G1 sig after interpolation and the gradient in the image signal composed of G2 sig after interpolation, the determination based on the difference between the values of G1 sig and G2 sig may be combined.

さらに、これらの判別条件を、画像信号T01〜T03間で異ならせてもよい。   Further, these determination conditions may be made different between the image signals T01 to T03.

さらに、着目画素だけでなく、周辺領域に位置する画素の偽色領域の判別結果を考慮して、着目画素が偽色領域であるか否かを判別するようにしてもよい。   Furthermore, it may be determined whether or not the pixel of interest is a false color region in consideration of the determination result of not only the pixel of interest but also the false color region of the pixel located in the peripheral region.

また、本実施形態では、4階層の画像信号から色差信号を生成し、3階層の画像信号において偽色領域の判別を行ったが、階層の数はこれに限られるものでない。N+1階層の周波数の異なる画像信号から色差信号を生成し、N階層の周波数の異なる画像信号において偽色領域の判別を行うものであればよい。   Further, in this embodiment, a color difference signal is generated from an image signal of four layers and a false color area is determined in the image signal of three layers. However, the number of layers is not limited to this. Any color-difference signal may be generated from image signals having different frequencies in the (N + 1) -th layer, and false color regions may be determined in image signals having different frequencies in the N-th layer.

また、本実施形態では、色補間回路300と色補間回路350を分離して記載しているが、特性が共通するのであれば一つの回路で兼用しても構わない。同様に、LPF301〜303とLPF351〜353についても、特性が共通するのであれば一つの回路で兼用しても構わない。   In the present embodiment, the color interpolation circuit 300 and the color interpolation circuit 350 are described separately. However, as long as the characteristics are common, a single circuit may be used. Similarly, the LPFs 301 to 303 and the LPFs 351 to 353 may be shared by one circuit as long as the characteristics are common.

また、本実施形態では、偽色を抑圧するために、複数階層の周波数の異なる画像信号から生成された色差信号のいずれかを選択する例をあげて説明を行ったが、これに限られるものではない。上記方法と同じ方法によって、N+1階層の周波数の異なる画像信号から輝度信号を生成し、N階層の周波数の異なる画像信号に対し、同じ方法によって偽色領域の代わりにモアレ領域を検出することで、輝度信号によるモアレの抑圧を行うことも可能である。すなわち、本実施形態は、色信号による偽色だけでなく、輝度によるモアレに対しても効果を得ることが可能である。また、画素数を減らすリサイズ処理を行った画像信号を対象として本実施形態の処理を行えば、リサイズ処理によって生じるモアレや偽色の抑圧を行うことも可能である。   In this embodiment, an example of selecting one of color difference signals generated from image signals having different frequencies in a plurality of hierarchies has been described in order to suppress false colors. However, the present invention is not limited to this. is not. By generating a luminance signal from image signals having different frequencies of the N + 1 layer by the same method as described above, and detecting a moire region instead of a false color region by the same method for image signals having different frequencies of the N layer, It is also possible to suppress moire by the luminance signal. That is, this embodiment can obtain an effect not only for false colors due to color signals but also for moire due to luminance. In addition, if the processing of this embodiment is performed on an image signal that has been subjected to resizing processing that reduces the number of pixels, it is also possible to suppress moire and false colors that are generated by resizing processing.

このように、本実施形態における画像処理装置は、まず、ベイヤー配列の撮像素子から得られた画像信号から、第1の色フィルタであるG1フィルタの画像信号と、第2の色フィルタであるG2フィルタの画像信号を抽出し、補間する。このG1フィルタとG2フィルタは、互いに同じ周期で画素が配置され、かつ、その空間的位相がずれているため、G1フィルタの補間後の画像信号とG2フィルタの補間後の画像信号は、高周波領域では図8や図10に示すように、その位相が反転する。そのため、画像処理装置は、これらのG1フィルタとG2フィルタの画像信号の傾き、および、G1フィルタとG2フィルタの画像信号の差分の少なくとも一方から、着目領域(着目画素)が高周波領域であるか否かを判別することが可能である。画像処理装置は、着目画素が高周波領域であると判断された場合には、着目画素が高周波領域であると判断されないレベルまで遮断周波数を低くした画像信号から、色差信号や輝度信号などの所定の信号を生成することで、偽色やモアレを抑圧することが可能となる。   As described above, the image processing apparatus according to the present embodiment, first, from the image signal obtained from the Bayer array image sensor, the image signal of the G1 filter that is the first color filter and the G2 that is the second color filter. The image signal of the filter is extracted and interpolated. Since the G1 filter and the G2 filter have pixels arranged in the same period and their spatial phases are shifted, the image signal after interpolation of the G1 filter and the image signal after interpolation of the G2 filter are in a high frequency region. Then, as shown in FIGS. 8 and 10, the phase is inverted. Therefore, the image processing apparatus determines whether the region of interest (the pixel of interest) is a high-frequency region from at least one of the inclination of the image signals of the G1 filter and the G2 filter and the difference between the image signals of the G1 filter and the G2 filter. Can be determined. When it is determined that the pixel of interest is in the high frequency region, the image processing apparatus uses a predetermined signal such as a color difference signal or a luminance signal from an image signal in which the cutoff frequency is lowered to a level at which the pixel of interest is not determined to be in the high frequency region. By generating a signal, it is possible to suppress false colors and moire.

また、画像処理装置は、これら色差信号や輝度信号などの所定の信号を生成することは後段の装置に任せ、着目画素が高周波領域であるか否かの判断結果を示すフラグを、画像信号に設定するようにしても構わない。   In addition, the image processing device leaves the generation of predetermined signals such as the color difference signal and the luminance signal to the subsequent device, and a flag indicating the determination result as to whether or not the target pixel is in the high frequency region is included in the image signal. You may make it set.

(第2の実施形態)
第2の実施形態は、選択回路320が色差信号を選択する際に、着目画素がエッジ領域であるか否かという点を判断に加えるという点で第1の実施形態と異なる。第1の実施形態では、選択回路320は、偽色判別回路360によって偽色領域であると判別されると、より低い周波数の画像信号から生成された色差信号を選択するようにしている。その結果、偽色領域であると判別された領域がエッジ領域であると、エッジ領域の色がにじむように見える可能性がある。
(Second Embodiment)
The second embodiment is different from the first embodiment in that, when the selection circuit 320 selects a color difference signal, whether or not the pixel of interest is an edge region is added to the determination. In the first embodiment, the selection circuit 320 selects a color difference signal generated from an image signal having a lower frequency when the false color determination circuit 360 determines that it is a false color region. As a result, if the area determined to be a false color area is an edge area, the color of the edge area may appear blurred.

本実施形態における画像処理装置の構成は、第1の実施形態における画像処理装置と同様であるため、説明を省略する。本実施形態では、図1の色差信号生成回路104の構成の一部が第1の実施形態と異なる。   Since the configuration of the image processing apparatus in the present embodiment is the same as that of the image processing apparatus in the first embodiment, description thereof is omitted. In this embodiment, a part of the configuration of the color difference signal generation circuit 104 of FIG. 1 is different from that of the first embodiment.

図12は本実施形態における色差信号生成回路104の構成を示すブロック図である。本実施形態における色差信号生成回路104は、図3に示す色差信号生成回路の構成に対して、LPF351〜353から出力される画像信号T01〜T03が入力されるエッジ判別回路370が追加されている。このエッジ判別回路370によるエッジ領域の判別結果は選択回路320に入力される。   FIG. 12 is a block diagram showing a configuration of the color difference signal generation circuit 104 in the present embodiment. In the color difference signal generation circuit 104 according to the present embodiment, an edge determination circuit 370 to which image signals T01 to T03 output from the LPFs 351 to 353 are input is added to the configuration of the color difference signal generation circuit shown in FIG. . The edge region discrimination result by the edge discrimination circuit 370 is input to the selection circuit 320.

エッジ判別回路370は、LPF351から出力された画像信号T01に含まれるG1の画像信号およびG2の画像信号から、式(14)を用いて全ての画素におけるGsigを求める。   The edge discriminating circuit 370 obtains Gsig for all pixels from the G1 image signal and the G2 image signal included in the image signal T01 output from the LPF 351 using Expression (14).

そして、このGsigからなる画像信号の水平方向と垂直方向の傾きに着目し、下記の式(15)を満たすときにはその着目画素がエッジ領域であると判別し、その判別結果を選択回路320に出力する。   Then, paying attention to the horizontal and vertical inclinations of the image signal composed of Gsig, when the following equation (15) is satisfied, it is determined that the target pixel is an edge region, and the determination result is output to the selection circuit 320. To do.

ここで、ΔGhは補間後のGsigからなる画像信号における水平方向の傾き、ΔGvは補間後のG2sigからなる画像信号における水平方向の傾きを示す。これらの傾きは図5(a)、垂直方向は図5(b)にそれぞれ示すような公知のデジタルフィルタで求めることができる。なお、傾きを求めるフィルタはこれに限られるものではない。また、画素単位ではなく、複数の画素からなる領域単位でエッジ領域を判別するようにすてもよい。領域単位で判別する場合には、その領域に含まれる各画素を用いて求めた画像信号の傾きのうち、式(15)を満たすものの割合が閾値以上である場合に、その領域がエッジ領域であると判別するようにしてもよい。   Here, ΔGh represents a horizontal inclination in the image signal composed of Gsig after interpolation, and ΔGv represents a horizontal inclination in the image signal composed of G2 sig after interpolation. These inclinations can be obtained by a known digital filter as shown in FIG. 5A and the vertical direction as shown in FIG. 5B. Note that the filter for obtaining the slope is not limited to this. Further, the edge region may be determined not in units of pixels but in units of regions composed of a plurality of pixels. When discriminating by region unit, when the ratio of the image signal inclination obtained using each pixel included in the region that satisfies Equation (15) is equal to or greater than the threshold value, the region is an edge region. You may make it discriminate | determine that there exists.

同様に、エッジ判別回路370は、LPF352から出力された画像信号T02、LPF353から出力された画像信号T03に対しても、エッジ領域の判別を行う。   Similarly, the edge discriminating circuit 370 discriminates the edge region for the image signal T02 output from the LPF 352 and the image signal T03 output from the LPF 353.

なお、ここではエッジ領域の判別方法として、G1sigとG2sigからGsigを用いる例を説明したが、この方法に限られず、Rsig、Gsig、および、Bsigから式(7)を用いて生成した輝度信号を用いてもよい。   Here, although an example using Gsig from G1sig and G2sig has been described as a method for discriminating the edge region, the present invention is not limited to this method, and a luminance signal generated from Rsig, Gsig, and Bsig using Equation (7) is used. It may be used.

偽色判別回路360は、第1の実施形態と同様の処理にて偽色領域の判別を行い、その判別結果を選択回路320に出力する。   The false color discriminating circuit 360 discriminates the false color area by the same processing as that of the first embodiment, and outputs the discrimination result to the selection circuit 320.

図13は、本実施形態における選択回路320による色差信号の選択処理を示すフローチャートである。選択回路320は、画素あるいは領域単位でこの選択処理を行う。ここでは、選択回路320は画素単位でこの選択処理を行うものとする。   FIG. 13 is a flowchart showing the color difference signal selection processing by the selection circuit 320 in this embodiment. The selection circuit 320 performs this selection process in units of pixels or regions. Here, it is assumed that the selection circuit 320 performs this selection process in units of pixels.

選択回路320は、ステップS1301において、着目画素に対応する画像信号T01の画素が、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたか判定する。選択回路320は、偽色判別回路360にて偽色領域であると判別されたのであれば、ステップS1304に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S11を選択する。あるいは、選択回路320は、エッジ判別回路370にてエッジ領域であると判別されたのであれば、ステップS1304に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S11を選択する。つまり、選択回路320は、着目画素が偽色領域であると判別されたとしても、エッジ領域であると判別されたならば、エッジ領域の色のにじみを抑制することを優先するために色差信号S11を選択する。   In step S1301, the selection circuit 320 determines that the pixel of the image signal T01 corresponding to the pixel of interest is a false color area by the false color determination circuit 360, and determines that the pixel is not an edge area by the edge determination circuit 370. Judge whether or not. If the false color discriminating circuit 360 discriminates the false color region, the selection circuit 320 proceeds to step S1304 and selects the color difference signal S11 of the pixel corresponding to this pixel of interest as the color difference signal of the pixel of interest. To do. Alternatively, if the edge determination circuit 370 determines that the region is an edge region, the selection circuit 320 proceeds to step S1304 and selects the color difference signal S11 of the pixel corresponding to the target pixel as the color difference signal of the target pixel. To do. That is, even if it is determined that the pixel of interest is a false color area, the selection circuit 320, if it is determined that the target pixel is an edge area, gives priority to suppressing the color blur of the edge area. Select S11.

選択回路320は、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたならば、ステップS1302に進む。選択回路320は、ステップS1302において、着目画素に対応する画像信号T02の画素が、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたか判定する。選択回路320は、偽色判別回路360にて偽色領域であると判別されたのであれば、ステップS1305に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S12を選択する。あるいは、選択回路320は、エッジ判別回路370にてエッジ領域であると判別されたのであれば、ステップS1305に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S12を選択する。つまり、選択回路320は、着目画素が偽色領域であると判別されたとしても、エッジ領域であると判別されたならば、エッジ領域の色のにじみを抑制することを優先するため色差信号S12を選択する。   If the selection circuit 320 determines that the area is a false color area in the false color determination circuit 360 and the edge determination circuit 370 determines that the area is not an edge area, the process proceeds to step S1302. In step S1302, the selection circuit 320 determines that the pixel of the image signal T02 corresponding to the pixel of interest is a false color area by the false color determination circuit 360, and determines that the pixel is not an edge area by the edge determination circuit 370. Judge whether or not. If the false color discriminating circuit 360 discriminates that it is a false color area, the selection circuit 320 proceeds to step S1305 and selects the color difference signal S12 of the pixel corresponding to this pixel of interest as the color difference signal of the pixel of interest. To do. Alternatively, if the edge determination circuit 370 determines that the region is an edge region, the selection circuit 320 proceeds to step S1305 and selects the color difference signal S12 of the pixel corresponding to the target pixel as the color difference signal of the target pixel. To do. That is, even if it is determined that the pixel of interest is a false color area, the selection circuit 320 gives priority to suppressing the color blur of the edge area if it is determined that it is an edge area. Select.

選択回路320は、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたならば、ステップS1303に進む。選択回路320は、ステップS1303において、着目画素に対応する画像信号T03の画素が、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたか判定する。選択回路320は、偽色判別回路360にて偽色領域であると判別されたのであれば、ステップS1306に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S13を選択する。あるいは、選択回路320は、エッジ判別回路370にてエッジ領域であると判別されたのであれば、ステップS1306に進み、着目画素の色差信号として、この着目画素に対応する画素の色差信号S13を選択する。つまり、選択回路320は、着目画素が偽色領域であると判別されたとしても、エッジ領域であると判別されたならば、エッジ領域の色のにじみを抑制することを優先するため色差信号S13を選択する。   If the selection circuit 320 determines that the area is a false color area in the false color determination circuit 360 and the edge determination circuit 370 determines that the area is not an edge area, the process proceeds to step S1303. In step S1303, the selection circuit 320 determines that the pixel of the image signal T03 corresponding to the pixel of interest is a false color area by the false color determination circuit 360, and determines that the pixel is not an edge area by the edge determination circuit 370. Judge whether or not. If it is determined by the false color determination circuit 360 that the region is a false color area, the selection circuit 320 proceeds to step S1306, and selects the color difference signal S13 of the pixel corresponding to the target pixel as the color difference signal of the target pixel. To do. Alternatively, if the edge determination circuit 370 determines that the region is an edge region, the selection circuit 320 proceeds to step S1306 and selects the color difference signal S13 of the pixel corresponding to the target pixel as the color difference signal of the target pixel. To do. That is, even if it is determined that the pixel of interest is a false color region, the selection circuit 320 gives priority to suppressing the color blur of the edge region if it is determined that it is an edge region. Select.

反対に、選択回路320は、偽色判別回路360にて偽色領域であると判別され、かつ、エッジ判別回路370でエッジ領域でないと判別されたならば、ステップS1307に進み、色差信号S14を選択する。   On the other hand, if the selection circuit 320 determines that the area is a false color area in the false color determination circuit 360 and determines that the area is not an edge area in the edge determination circuit 370, the selection circuit 320 proceeds to step S1307 and outputs the color difference signal S14. select.

このように、本実施形態では、偽色判別回路360にて偽色領域であると判別された場合であっても、その領域がエッジ領域である場合には、エッジ領域でないと判断された場合よりも周波数の高い階層の画像信号から生成された色差信号を選択する。   As described above, in this embodiment, even when the false color determination circuit 360 determines that the area is a false color area, if the area is an edge area, the area is determined not to be an edge area. A color difference signal generated from an image signal of a higher hierarchy than the frequency is selected.

このようにすることで、第1の実施形態の構成で得られた効果に加え、エッジ領域で色がにじんだように見えることを抑制することも可能となる。   By doing in this way, in addition to the effect acquired by the structure of 1st Embodiment, it also becomes possible to suppress that the color looks blurred in an edge area | region.

(第3の実施形態)
第3の実施形態は、色差信号生成回路104が色差信号S11〜S14のいずれか1つを出力するのではなく、これらの色差信号S11〜S14を合成した色差信号を出力するという点で第1の実施形態と異なる。
(Third embodiment)
In the third embodiment, the color difference signal generation circuit 104 does not output any one of the color difference signals S11 to S14, but outputs a color difference signal obtained by synthesizing these color difference signals S11 to S14. Different from the embodiment.

本実施形態における画像処理装置の構成は、第1の実施形態における画像処理装置と同様であるため、説明を省略する。本実施形態では、図1の色差信号生成回路104の構成の一部が第1の実施形態と異なる。   Since the configuration of the image processing apparatus in the present embodiment is the same as that of the image processing apparatus in the first embodiment, description thereof is omitted. In this embodiment, a part of the configuration of the color difference signal generation circuit 104 of FIG. 1 is different from that of the first embodiment.

図14は本実施形態における色差信号生成回路104の構成を示すブロック図である。本実施形態における色差信号生成回路104は、図3に示す選択回路320の代わりに合成回路380を有している。   FIG. 14 is a block diagram showing the configuration of the color difference signal generation circuit 104 in this embodiment. The color difference signal generation circuit 104 according to the present embodiment includes a synthesis circuit 380 instead of the selection circuit 320 illustrated in FIG.

図15は、本実施形態における合成回路380による色差信号の合成処理を示すフローチャートである。合成回路380は、画素あるいは領域単位でこの選択処理を行う。ここでは、合成回路380は画素単位でこの選択処理を行うものとする。この合成回路380は、画像信号T01〜T03のどれで偽色領域が検出されたかに応じて、色差信号S11〜S14の重み付けを変更して、これら色差信号S11〜S14を合成して出力する。   FIG. 15 is a flowchart showing the color difference signal synthesis processing by the synthesis circuit 380 in this embodiment. The synthesis circuit 380 performs this selection process in units of pixels or areas. Here, it is assumed that the synthesis circuit 380 performs this selection process in units of pixels. The combining circuit 380 combines the color difference signals S11 to S14 by changing the weighting of the color difference signals S11 to S14 according to which of the image signals T01 to T03 the false color area is detected.

合成回路380は、ステップS1501において、着目画素に対応する画像信号T01の画素が、偽色判別回路360にて偽色領域であると判別されたか判定する。合成回路380は、偽色判別回路360にて偽色領域でないと判別されたのであれば、ステップS1504に進み、この着目画素に対応する画素の色差信号S11の重み付けを、別の色差信号の重み付けと比較して最大となるように設定する。   In step S1501, the synthesis circuit 380 determines whether the pixel of the image signal T01 corresponding to the pixel of interest is determined to be a false color area by the false color determination circuit 360. If it is determined by the false color determination circuit 360 that the region is not a false color region, the composition circuit 380 proceeds to step S1504, and assigns the weight of the color difference signal S11 of the pixel corresponding to this pixel of interest to the weight of another color difference signal. Set to be the maximum compared to.

合成回路380は、ステップS1501において、偽色判別回路360にて偽色領域であると判別されたならば、ステップS1502に進む。合成回路380は、ステップS1502において、着目画素に対応する画像信号T02の画素が、偽色判別回路360にて偽色領域であると判別されたか判定する。合成回路380は、偽色判別回路360にて偽色領域でないと判別されたのであれば、ステップS1505に進み、この着目画素に対応する画素の色差信号S12の重み付けを、他の色差信号の重み付けと比較して最大となるように設定する。   If it is determined in step S1501 that the false color determination circuit 360 determines that the area is a false color area, the synthesis circuit 380 proceeds to step S1502. In step S1502, the synthesis circuit 380 determines whether the pixel of the image signal T02 corresponding to the pixel of interest has been determined to be a false color area by the false color determination circuit 360. If it is determined by the false color determination circuit 360 that the region is not a false color region, the composition circuit 380 proceeds to step S1505 and assigns the weight of the color difference signal S12 of the pixel corresponding to this pixel of interest to the weight of other color difference signals. Set to be the maximum compared to.

合成回路380は、ステップS1502において、偽色判別回路360にて偽色領域であると判別されたならば、ステップS1503に進む。合成回路380は、ステップS1503において、着目画素に対応する画像信号T03の画素が、偽色判別回路360にて偽色領域であると判別されたか判定する。合成回路380は、偽色判別回路360にて偽色領域でないと判別されたのであれば、ステップS1506に進み、この着目画素に対応する画素の色差信号S13の重み付けを、他の色差信号の重み付けと比較して最大となるように設定する。   If it is determined in step S1502 that the false color determination circuit 360 determines that the area is a false color area, the composition circuit 380 proceeds to step S1503. In step S1503, the synthesis circuit 380 determines whether the pixel of the image signal T03 corresponding to the pixel of interest has been determined to be a false color area by the false color determination circuit 360. If it is determined by the false color determination circuit 360 that the region is not a false color region, the composition circuit 380 proceeds to step S1506 and assigns the weight of the color difference signal S13 of the pixel corresponding to this pixel of interest to the weight of other color difference signals. Set to be the maximum compared to

反対に、合成回路380は、偽色判別回路360にて偽色領域であると判別されたのであれば、ステップS1507に進み、この着目画素に対応する画素の色差信号S14の重み付けを、他の色差信号の重み付けと比較して最大となるように設定する。   On the other hand, if the false color discriminating circuit 360 discriminates that it is a false color area, the composition circuit 380 proceeds to step S1507, and assigns the weight of the color difference signal S14 of the pixel corresponding to this pixel of interest to other values. The maximum value is set in comparison with the weighting of the color difference signal.

合成回路380は、ステップS1504〜S1507で設定された重み付けにしたがって、色差信号S11〜S14を下記のいずれかの式にしたがって合成する。   The synthesizing circuit 380 synthesizes the color difference signals S11 to S14 according to any of the following formulas according to the weighting set in steps S1504 to S1507.

合成回路380は、色差信号S11の重み付けが最大に設定されている場合は式(16)を選択する。同様に、合成回路380は、色差信号S12、S13、S14の重み付けが最大に設定されている場合は、それぞれ式(17)、式(18)、式(19)を選択する。そして、合成回路380は、この合成処理にて得られた色差信号R−G、B−Gを色変換マトリックス回路105へ出力する。   The combining circuit 380 selects Expression (16) when the weight of the color difference signal S11 is set to the maximum. Similarly, the synthesis circuit 380 selects Expression (17), Expression (18), and Expression (19), respectively, when the weights of the color difference signals S12, S13, and S14 are set to the maximum. Then, the synthesis circuit 380 outputs the color difference signals RG and BG obtained by this synthesis processing to the color conversion matrix circuit 105.

なお、第2の実施形態と同様に、着目画素がエッジ領域であるか否かを考慮してもよい。つまり、着目画素が偽色領域と判別された場合であっても、着目画素がエッジ領域であると判別されたのであれば、エッジ領域と判別された画像信号の中で最も遮断周波数の高い画像信号から生成された色差信号の重み付けを最大とすればよい。   Note that, similarly to the second embodiment, it may be considered whether the target pixel is an edge region. That is, even if the target pixel is determined to be a false color region, if the target pixel is determined to be an edge region, the image having the highest cutoff frequency among the image signals determined to be the edge region The weighting of the color difference signal generated from the signal may be maximized.

なお、合成回路380は、画像信号T01〜T03から検出された偽色度に応じて、色差信号S11〜S14の重み付けを変更するようにしてもよい。偽色度は、補間後のG1sigおよび補間後のG2sigから求めたΔG1h、ΔG1v、ΔG2h、ΔG2v、および、G1sigとG2sigの値の差分から求められる。すなわち、合成回路380は、補間後のG1sigおよび補間後のG2sigの位相のずれが180度に近いと推定されるほど、値が大きくなるように偽色度を設定する。そして、合成回路380は、画像信号T01〜T03の偽色度に応じて、色差信号S11〜S14の重み付けを設定することも可能である。   The combining circuit 380 may change the weighting of the color difference signals S11 to S14 according to the false chromaticity detected from the image signals T01 to T03. The false chromaticity is obtained from ΔG1h, ΔG1v, ΔG2h, ΔG2v obtained from G1sig after interpolation and G2sig after interpolation, and a difference between values of G1sig and G2sig. That is, the composition circuit 380 sets the false chromaticity so that the value becomes larger as the phase shift between the interpolated G1sig and the interpolated G2sig is estimated to be close to 180 degrees. Then, the synthesis circuit 380 can set the weights of the color difference signals S11 to S14 according to the false chromaticity of the image signals T01 to T03.

(他の実施形態)
本発明の目的は次のような方法によっても達成される。即ち、前述した各実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(又は記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、本発明には次のような場合も含まれる。即ち、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される。
(Other embodiments)
The object of the present invention can also be achieved by the following method. That is, a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but the present invention includes the following cases. That is, based on the instruction of the program code, an operating system (OS) or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

更に、次のような場合も本発明に含まれる。すなわち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリーに書込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される。   Furthermore, the following cases are also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, a CPU or the like provided in the function expansion card or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above storage medium, the storage medium stores program codes corresponding to the procedure described above.

101 撮像部
102 A/D変換器
103 ホワイトバランス(WB)回路
104 色差信号作成回路
105 色変換マトリックス回路
106 色抑圧回路
107 色ガンマ回路
108 クロマニー回路
110 相関度検出器
111 輝度信号生成回路
112 輝度ガンマ回路
300、350 色補間回路
301、302、303、304、351、352、353 ローパスフィルタ(LPF)
311、312、313、314 色差信号算出回路
320 選択回路
360 偽色判別回路
370 エッジ判別回路
380 合成回路
DESCRIPTION OF SYMBOLS 101 Image pick-up part 102 A / D converter 103 White balance (WB) circuit 104 Color difference signal production circuit 105 Color conversion matrix circuit 106 Color suppression circuit 107 Color gamma circuit 108 Chromany circuit 110 Correlation detector 111 Luminance signal generation circuit 112 Luminance gamma Circuit 300, 350 Color interpolation circuit 301, 302, 303, 304, 351, 352, 353 Low-pass filter (LPF)
311, 312, 313, 314 color difference signal calculation circuit 320 selection circuit 360 false color discrimination circuit 370 edge discrimination circuit 380 synthesis circuit

Claims (12)

画像信号の着目領域が高周波領域であるか否かを判別する判別手段と、
前記画像信号から、それぞれの画像信号に含まれる周波数成分の少なくとも一部が異なるように、複数の画像信号を抽出する抽出手段と、
前記判別手段により前記着目領域が高周波領域であると判別されなかった場合に、前記着目領域が高周波領域であると判別された場合よりも、高い周波数成分を含む画像信号を出力する処理手段を有することを特徴とする画像処理装置。
A discriminating means for discriminating whether or not the region of interest of the image signal is a high-frequency region;
Extraction means for extracting a plurality of image signals from the image signals so that at least some of the frequency components included in the respective image signals are different;
When the discriminating means does not discriminate that the region of interest is a high frequency region, it has processing means for outputting an image signal containing a higher frequency component than when the region of interest is discriminated to be a high frequency region. An image processing apparatus.
前記処理手段は、前記抽出手段にて抽出された前記複数の画像信号のそれぞれに対して、前記判別手段により前記着目領域が高周波領域であると判別されたか否かを判定し、前記着目領域が高周波領域であると判別されなかった画像信号のうち、最も高い周波数成分を含む画像信号を出力することを特徴とする請求項1に記載の画像処理装置。   The processing unit determines, for each of the plurality of image signals extracted by the extracting unit, whether or not the region of interest is determined to be a high-frequency region by the determining unit. The image processing apparatus according to claim 1, wherein an image signal including the highest frequency component among the image signals that are not determined to be in a high frequency region is output. 前記着目領域がエッジ領域であるか否かを判別する検出手段を有し、
前記処理手段は、前記抽出手段にて抽出された前記複数の画像信号のそれぞれに対して、前記判別手段により前記着目領域が高周波領域であると判別されたか否か、および、前記検出手段により前記着目領域がエッジ領域であると判別されたか否かを判定し、前記複数の画像信号のいずれかにおいて前記着目領域がエッジ領域であると判別された場合には、前記着目領域がエッジ領域であると判別された画像信号のうち、最も高い周波数成分を含む画像信号を出力することを特徴とする請求項1に記載の画像処理装置。
Detecting means for determining whether the region of interest is an edge region;
The processing means determines, for each of the plurality of image signals extracted by the extraction means, whether or not the region of interest is determined to be a high-frequency region by the determination means, and the detection means It is determined whether or not the region of interest is determined to be an edge region. If the region of interest is determined to be an edge region in any of the plurality of image signals, the region of interest is an edge region. The image processing apparatus according to claim 1, wherein an image signal including the highest frequency component among the image signals determined as is output.
画像信号の着目領域が高周波領域であるか否かを判別する判別手段と、
前記画像信号から、それぞれの画像信号に含まれる周波数成分の少なくとも一部が異なるように、複数の画像信号を抽出する抽出手段と、
前記判別手段により前記着目領域が高周波領域であると判別されなかった場合に、前記着目領域が高周波領域であると判別された場合よりも、高い周波数成分を含む画像信号の重み付けを大きくして前記複数の画像信号を合成して出力する処理手段を有することを特徴とする画像処理装置。
A discriminating means for discriminating whether or not the region of interest of the image signal is a high-frequency region;
Extraction means for extracting a plurality of image signals from the image signals so that at least some of the frequency components included in the respective image signals are different;
When the discriminating unit does not discriminate that the region of interest is a high frequency region, the weight of an image signal including a higher frequency component is increased than when it is discriminated that the region of interest is a high frequency region. An image processing apparatus comprising processing means for combining and outputting a plurality of image signals.
前記処理手段は、前記抽出手段にて抽出された前記複数の画像信号のそれぞれに対して、前記判別手段により前記着目領域が高周波領域であると判別されたか否かを判定し、前記着目領域が高周波領域であると判別されなかった画像信号のうち、最も高い周波数成分を含む画像信号の重み付けを別の遮断周波数の画像信号よりも大きくして前記複数の画像信号を合成することを特徴とする請求項4に記載の画像処理装置。   The processing unit determines, for each of the plurality of image signals extracted by the extracting unit, whether or not the region of interest is determined to be a high-frequency region by the determining unit. Among the image signals that are not determined to be in the high frequency region, the weighting of the image signal including the highest frequency component is set larger than the image signal of another cutoff frequency, and the plurality of image signals are synthesized. The image processing apparatus according to claim 4. 前記着目領域がエッジ領域であるか否かを判別する検出手段を有し、
前記処理手段は、前記抽出手段にて抽出された前記複数の画像信号のそれぞれに対して、前記判別手段により前記着目領域が高周波領域であると判別されたか否か、および、前記検出手段により前記着目領域がエッジ領域であると判別されたか否かを判定し、前記複数の画像信号のいずれかにおいて前記着目領域がエッジ領域であると判別された場合には、前記着目領域がエッジ領域であると判別された画像信号のうち、最も高い周波数成分を含む画像信号の重み付けを別の遮断周波数の画像信号よりも大きくして前記複数の画像信号を合成することを特徴とする請求項4に記載の画像処理装置。
Detecting means for determining whether the region of interest is an edge region;
The processing means determines, for each of the plurality of image signals extracted by the extraction means, whether or not the region of interest is determined to be a high-frequency region by the determination means, and the detection means It is determined whether or not the region of interest is determined to be an edge region. If the region of interest is determined to be an edge region in any of the plurality of image signals, the region of interest is an edge region. 5. The plurality of image signals are synthesized by weighting an image signal including the highest frequency component among image signals determined to be larger than an image signal having another cutoff frequency. Image processing apparatus.
前記画像信号は、複数の色フィルタが所定の配列で配置され、かつ、それぞれの色フィルタに対応した画素が設けられた撮像素子から得られたものであることを特徴とする請求項1乃至6のいずれか一項に記載の画像処理装置。   The image signal is obtained from an image pickup device in which a plurality of color filters are arranged in a predetermined arrangement and pixels corresponding to the respective color filters are provided. The image processing apparatus according to any one of the above. 前記画像信号を生成した撮像素子は赤、青、緑の色フィルタをベイヤー配列で配置したものであって、
前記判別手段は、前記赤の色フィルタの水平方向に配置され、かつ、前記青の色フィルタの垂直方向に配置された第1の緑の色フィルタから得られた画像信号と、前記赤の色フィルタの垂直方向に配置され、かつ、前記青の色フィルタの水平方向に配置された第2の緑の色フィルタから画像信号を用いて、前記着目領域が高周波領域であるか否かを判別することを特徴とする請求項7に記載の画像処理装置。
The image sensor that has generated the image signal is one in which red, blue, and green color filters are arranged in a Bayer array,
The determination means includes an image signal obtained from a first green color filter arranged in a horizontal direction of the red color filter and arranged in a vertical direction of the blue color filter, and the red color Using the image signal from the second green color filter arranged in the vertical direction of the filter and in the horizontal direction of the blue color filter, it is determined whether or not the region of interest is a high frequency region. The image processing apparatus according to claim 7.
画像信号の着目領域が高周波領域であるか否かを判別する判別工程と、
前記画像信号から、それぞれの画像信号に含まれる周波数成分の少なくとも一部が異なるように、複数の画像信号を抽出する抽出工程と、
前記判別工程において前記着目領域が高周波領域であると判別されなかった場合に、前記着目領域が高周波領域であると判別された場合よりも、高い周波数成分を含む画像信号を出力する処理工程を有することを特徴とする画像処理方法。
A determination step of determining whether or not the region of interest of the image signal is a high-frequency region;
An extraction step of extracting a plurality of image signals from the image signals so that at least some of the frequency components included in the respective image signals are different;
And a processing step of outputting an image signal including a higher frequency component when the region of interest is not determined to be a high frequency region in the determination step than when the region of interest is determined to be a high frequency region. An image processing method.
画像信号の着目領域が高周波領域であるか否かを判別する判別工程と、
前記画像信号から、それぞれの画像信号に含まれる周波数成分の少なくとも一部が異なるように、複数の画像信号を抽出する抽出工程と、
前記判別工程において前記着目領域が高周波領域であると判別されなかった場合に、前記着目領域が高周波領域であると判別された場合よりも、高い周波数成分を含む画像信号の重み付けを大きくして前記複数の画像信号を合成して出力する処理工程を有することを特徴とする画像処理方法。
A determination step of determining whether or not the region of interest of the image signal is a high-frequency region;
An extraction step of extracting a plurality of image signals from the image signals so that at least some of the frequency components included in the respective image signals are different;
When the region of interest is not determined to be a high frequency region in the determination step, the weight of an image signal including a higher frequency component is increased than when the region of interest is determined to be a high frequency region. An image processing method comprising a processing step of combining and outputting a plurality of image signals.
請求項9または10に記載の画像処理方法を画像処理装置のコンピュータに実行させるためのプログラム。   A program for causing a computer of an image processing apparatus to execute the image processing method according to claim 9 or 10. 請求項11記載のプログラムが格納されたコンピュータにより読み取り可能な記録媒体。
A computer-readable recording medium in which the program according to claim 11 is stored.
JP2013272056A 2013-12-27 2013-12-27 Image processing apparatus and image processing method Active JP5766274B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013272056A JP5766274B2 (en) 2013-12-27 2013-12-27 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013272056A JP5766274B2 (en) 2013-12-27 2013-12-27 Image processing apparatus and image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011543899A Division JP5490139B2 (en) 2009-10-13 2009-10-13 Imaging device

Publications (2)

Publication Number Publication Date
JP2014082782A true JP2014082782A (en) 2014-05-08
JP5766274B2 JP5766274B2 (en) 2015-08-19

Family

ID=50786545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013272056A Active JP5766274B2 (en) 2013-12-27 2013-12-27 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5766274B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019097062A (en) * 2017-11-24 2019-06-20 キヤノン株式会社 Image processing apparatus, image processing method and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005094120A (en) * 2003-09-12 2005-04-07 Canon Inc Image processing apparatus
JP2007318280A (en) * 2006-05-24 2007-12-06 Matsushita Electric Ind Co Ltd Image processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005094120A (en) * 2003-09-12 2005-04-07 Canon Inc Image processing apparatus
JP2007318280A (en) * 2006-05-24 2007-12-06 Matsushita Electric Ind Co Ltd Image processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019097062A (en) * 2017-11-24 2019-06-20 キヤノン株式会社 Image processing apparatus, image processing method and program

Also Published As

Publication number Publication date
JP5766274B2 (en) 2015-08-19

Similar Documents

Publication Publication Date Title
JP5490139B2 (en) Imaging device
JP5016255B2 (en) Noise reduction apparatus, control method thereof, control program thereof, imaging apparatus, and digital camera
JP6492055B2 (en) Device for acquiring bimodal images
JP5677040B2 (en) Image processing apparatus and control method thereof
WO2013031367A1 (en) Image processing device, image processing method, and program
JP5868046B2 (en) Luminance signal creation device, imaging device, brightness signal creation method, program, and recording medium
JP2010268426A (en) Image processing apparatus, image processing method, and program
EP2800380B1 (en) Imaging device and imaging processing method
CN104010174B (en) Image processing equipment and image processing method
JP5291788B2 (en) Imaging device
JP5766274B2 (en) Image processing apparatus and image processing method
JP6760276B2 (en) Image processing device and image processing method and image sensor and image pickup device
US9402049B2 (en) Image processing apparatus and control method thereof
JP2009200635A (en) Image processor, and processing method and program
JP4280462B2 (en) Signal processing apparatus and method
US8675106B2 (en) Image processing apparatus and control method for the same
KR20150123738A (en) Image processing apparatus and image processing method
JP4958926B2 (en) Signal processing apparatus and method
JP6862272B2 (en) Signal processing equipment, signal processing methods and programs
JP2018107682A (en) Luminance signal generating device, luminance signal generating method, and program
JP2008079301A (en) Image capture device
JP2018107659A (en) Luminance signal generating device, luminance signal generating method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141021

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141222

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150616

R151 Written notification of patent or utility model registration

Ref document number: 5766274

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151