JP2012169989A - Imaging device and interpolation processing method for imaging device - Google Patents

Imaging device and interpolation processing method for imaging device Download PDF

Info

Publication number
JP2012169989A
JP2012169989A JP2011030939A JP2011030939A JP2012169989A JP 2012169989 A JP2012169989 A JP 2012169989A JP 2011030939 A JP2011030939 A JP 2011030939A JP 2011030939 A JP2011030939 A JP 2011030939A JP 2012169989 A JP2012169989 A JP 2012169989A
Authority
JP
Japan
Prior art keywords
signal
pixel
interpolation
interpolation value
color
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
JP2011030939A
Other languages
Japanese (ja)
Other versions
JP5673186B2 (en
Inventor
Tadao Shinya
忠雄 新屋
Masato Sato
正人 佐藤
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.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2011030939A priority Critical patent/JP5673186B2/en
Publication of JP2012169989A publication Critical patent/JP2012169989A/en
Application granted granted Critical
Publication of JP5673186B2 publication Critical patent/JP5673186B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device capable of obtaining a favorable interpolation image with no false color even when an image contains many high frequency components.SOLUTION: An imaging device 1 comprises: a monochrome image sensor 4 that images a subject to output a luminance signal; a color image sensor 5 that images the subject to output each color signal of an R signal, a G signal, and a B signal; a correlation direction index calculation unit 11 that calculates a correlation direction index representing a high correlation direction at each pixel based on the luminance signal; a signal interpolation unit 12 that acquires correlation direction pixels positioned in a high correlation direction based on the correlation direction index for a target pixel as a target of interpolation value acquisition, and acquires an interpolation value of a color signal at the target pixel using color signals of the correlation direction pixels; and an interpolation value calculation unit 13 that calculates an interpolation value of a color signal which is not acquired using the interpolation value acquired by the signal interpolation unit 12, the luminance signal, and the color signal output from the color image sensor 5.

Description

本発明は、2板式撮像装置において高周波成分を多く含んだ画像であっても偽色の発生を防止する撮像装置及び撮像装置の補間処理方法に関する。   The present invention relates to an imaging apparatus and an interpolation processing method of the imaging apparatus that prevent generation of false colors even in an image including a lot of high-frequency components in a two-plate imaging apparatus.

カラー撮像装置には、入射光(被写体像)を色分離光学系(プリズム)を用いてRGBの3色に分離し、3枚の白黒撮像素子に結像して各画素の3原色信号を得る3板式撮像装置や、各画素上にオンチップカラーフィルター(以下、OCFと称する)を形成した1枚のカラー撮像素子に入射光を結像し、信号処理(補間演算)によって各画素の3原色信号を得る単板式撮像装置がある。さらに、入射光を分離光学系(ビームスプリッター)を用いて分離し、白黒撮像素子1枚とカラー撮像素子1枚の各々に結像して2枚の撮像素子の出力信号を信号処理することによって各画素の3原色信号を得る2板式撮像装置がある。   In a color imaging apparatus, incident light (subject image) is separated into three colors of RGB using a color separation optical system (prism) and imaged on three monochrome imaging elements to obtain three primary color signals of each pixel. Incident light is imaged on a three-plate imaging device or a single color imaging device in which an on-chip color filter (hereinafter referred to as OCF) is formed on each pixel, and the three primary colors of each pixel are obtained by signal processing (interpolation calculation). There are single-plate imaging devices that obtain signals. Further, the incident light is separated by using a separation optical system (beam splitter), imaged on each of the monochrome imaging element and the color imaging element, and the output signals of the two imaging elements are subjected to signal processing. There is a two-plate imaging device that obtains three primary color signals of each pixel.

3板式撮像装置は、プリズムを用いるために装置が大きく、且つ撮像素子を3枚用いるために高価になるが、補間演算によらずに各画素の3原色信号を得ることができるので、例えば格子縞のように細かい繰り返しパターンを有する空間周波数の高い被写体像であっても正確に被写体像の各色信号を得ることができる。一方、単板式撮像装置は、プリズムが不要で撮像素子を1枚しか用いないので装置が小型で安価になるが、補間演算を行うために被写体像の空間周波数が高い場合には偽色を生じることがある。   The three-plate type image pickup device is large because of the use of a prism and is expensive because of the use of three image pickup devices. However, since the three primary color signals of each pixel can be obtained without using an interpolation operation, Thus, it is possible to accurately obtain each color signal of a subject image even for a subject image having a high spatial frequency having a fine repetitive pattern. On the other hand, the single-plate image pickup apparatus does not require a prism and uses only one image pickup device, so that the apparatus is small and inexpensive. However, a false color is generated when the spatial frequency of the subject image is high to perform interpolation calculation. Sometimes.

そこで、3板式撮像装置より小型安価であり、単板式撮像装置よりも高画質な画像を得ることのできる2板式撮像装置が提案されており、例えば特許文献1に開示された2板式CCDカメラがある。   Therefore, a two-plate type imaging device has been proposed that is smaller and cheaper than a three-plate type imaging device and can obtain a higher quality image than a single-plate type imaging device. For example, a two-plate type CCD camera disclosed in Patent Document 1 is proposed. is there.

特開平6−121326号公報JP-A-6-121326

しかしながら、上述した特許文献1に開示された従来の2板式CCDカメラでは、各画素における相関性の高い方向の如何に関わらず着目画素近傍のR信号のみからR信号の補間値を算出し、同様にB信号のみからB信号の補間値を算出しているので、空間周波数の高い画像、例えばカラー撮像素子のRあるいはBのカラーフィルターの配列ピッチよりも狭いピッチの縞模様で表されるような画像では、適切な色復調を行うことができずに偽色が生じてしまうという問題点があった。例えば配列ピッチの狭い白黒の縞模様の画像はシアン色あるいは黄色の縞模様として出力されてしまうという問題があった。  However, in the conventional two-plate CCD camera disclosed in Patent Document 1 described above, the interpolated value of the R signal is calculated from only the R signal in the vicinity of the pixel of interest regardless of the direction of high correlation in each pixel. Since the interpolated value of the B signal is calculated from only the B signal, an image having a high spatial frequency, for example, a stripe pattern having a narrower pitch than the arrangement pitch of the R or B color filters of the color image sensor. In the image, there is a problem that false color is generated because proper color demodulation cannot be performed. For example, a black-and-white striped pattern image with a narrow arrangement pitch is output as a cyan or yellow striped pattern.

そこで、本発明は、上述した実情に鑑みて提案されたものであり、高周波成分が多く含まれた画像であっても偽色のない良好な補間画像を得ることのできる撮像装置及び撮像装置の補間処理方法を提供することを目的とする。  Therefore, the present invention has been proposed in view of the above-described circumstances, and there is provided an imaging apparatus and an imaging apparatus capable of obtaining a good interpolated image having no false color even if the image contains a lot of high-frequency components. An object is to provide an interpolation processing method.

上記した目的を達成するために、本発明に係る撮像装置は、被写体を撮像して輝度信号を出力する第1撮像素子と、被写体を撮像してR信号とG信号とB信号との各色信号をベイヤ配列に従って出力する前記第1撮像素子と同じ画素数の第2撮像素子と、前記輝度信号に基づいて各画素における相関性の高い方向を表す相関方向指数を算出する相関方向指数算出部と、補間値を求める対象の着目画素に対して、前記相関方向指数に基づいて相関性の高い方向に位置する相関方向画素を求め、前記相関方向画素の色信号によって前記着目画素における色信号の補間値を求める信号補間部と、前記信号補間部で求められた色信号の補間値と前記輝度信号と前記第2撮像素子から出力された色信号とを用いて、求められていない色信号の補間値を算出する補間値算出部とを備えていることを特徴とする。   In order to achieve the above-described object, an imaging apparatus according to the present invention includes a first imaging device that images a subject and outputs a luminance signal, and each color signal of an R signal, a G signal, and a B signal by imaging the subject. A second image sensor having the same number of pixels as the first image sensor, and a correlation direction index calculation unit that calculates a correlation direction index representing a direction with high correlation in each pixel based on the luminance signal; Then, a correlation direction pixel located in a highly correlated direction is obtained based on the correlation direction index for the target pixel for which an interpolation value is to be obtained, and the color signal of the target pixel is interpolated by the color signal of the correlation direction pixel. A signal interpolation unit for obtaining a value, an interpolation value of the color signal not obtained using the interpolation value of the color signal obtained by the signal interpolation unit, the luminance signal, and the color signal output from the second image sensor Calculate value Characterized in that it comprises an interpolation value calculating section for.

また、本発明に係る撮像装置の信号補間部は、前記着目画素が前記B信号を出力するB画素と前記R信号を出力するR画素との場合には、前記相関方向画素のG信号の平均値を補間値として求めるG信号補間部と、前記着目画素が前記G信号を出力するG画素の場合であって、かつ、前記相関方向画素が前記R画素のときには前記相関方向画素のR信号の平均値を補間値として求めるR信号補間部と、前記着目画素が前記G信号を出力するG画素の場合であって、かつ、前記相関方向画素が前記B画素のときには前記相関方向画素のB信号の平均値を補間値として求めるB信号補間部とを備えていることを特徴とする。   The signal interpolation unit of the imaging apparatus according to the present invention may be configured to calculate an average of the G signals of the correlation direction pixels when the target pixel is a B pixel that outputs the B signal and an R pixel that outputs the R signal. A G signal interpolating unit that obtains a value as an interpolation value, and the target pixel is a G pixel that outputs the G signal, and when the correlation direction pixel is the R pixel, the R signal of the correlation direction pixel An R signal interpolation unit for obtaining an average value as an interpolation value, and a B signal of the correlation direction pixel when the pixel of interest is a G pixel that outputs the G signal and the correlation direction pixel is the B pixel And a B signal interpolating unit for obtaining an average value as an interpolated value.

さらに、本発明に係る撮像装置の補間値算出部は、前記B画素においては前記G信号の補間値と前記輝度信号と前記B信号とを用いてR信号の補間値を算出し、前記G画素においては前記B信号の補間値と前記輝度信号と前記G信号とを用いてR信号の補間値を算出するR補間値算出部と、前記R画素においては前記G信号の補間値と前記輝度信号と前記R信号とを用いてB信号の補間値を算出し、前記G画素においては前記R信号の補間値と前記輝度信号と前記G信号とを用いてB信号の補間値を算出するB補間値算出部とを備えていることを特徴とする。   Furthermore, the interpolation value calculation unit of the imaging apparatus according to the present invention calculates an interpolation value of the R signal using the interpolation value of the G signal, the luminance signal, and the B signal in the B pixel, and the G pixel. An R interpolation value calculation unit that calculates an R signal interpolation value using the B signal interpolation value, the luminance signal, and the G signal, and the G signal interpolation value and the luminance signal in the R pixel. B interpolation using the R signal and the R signal, and the B signal calculating the B signal interpolation value using the R signal interpolation value, the luminance signal, and the G signal in the G pixel. And a value calculation unit.

また、本発明に係る撮像装置の補間処理方法は、第1撮像素子によって被写体を撮像して輝度信号を出力するステップと、前記第1撮像素子と同じ画素数の第2撮像素子によって被写体を撮像してR信号とG信号とB信号との各色信号をベイヤ配列に従って出力するステップと、前記輝度信号に基づいて各画素における相関性の高い方向を表す相関方向指数を算出する相関方向指数算出ステップと、補間値を求める対象の着目画素に対して、前記相関方向指数に基づいて相関性の高い方向に位置する相関方向画素を求め、前記相関方向画素の色信号によって前記着目画素における色信号の補間値を求める信号補間ステップと、前記信号補間ステップで求められた色信号の補間値と前記輝度信号と前記第2撮像素子から出力された色信号とを用いて、求められていない色信号の補間値を算出する補間値算出ステップとを含むことを特徴とする。   According to the interpolation processing method of the imaging apparatus according to the present invention, the subject is imaged by the first imaging element and a luminance signal is output, and the subject is imaged by the second imaging element having the same number of pixels as the first imaging element. A step of outputting each color signal of the R signal, the G signal, and the B signal in accordance with a Bayer array, and a correlation direction index calculating step for calculating a correlation direction index indicating a highly correlated direction in each pixel based on the luminance signal And a correlation direction pixel located in a highly correlated direction based on the correlation direction index for the target pixel for which an interpolation value is to be calculated, and the color signal of the target pixel is determined by the color signal of the correlation direction pixel. A signal interpolation step for obtaining an interpolation value, an interpolation value of the color signal obtained in the signal interpolation step, the luminance signal, and the color signal output from the second image sensor are used. Te, characterized in that it comprises an interpolation value calculating step of calculating an interpolated value of the color signal which is not required.

本発明に係る撮像装置及び撮像装置の補間処理方法によれば、輝度信号に基づいて各画素における相関性の高い方向を求め、この相関性の高い方向にある画素の色信号を用いて補間値を求めるので、高周波成分が多く含まれた画像であっても偽色のない良好な補間画像を得ることができる。   According to the imaging apparatus and the interpolation processing method of the imaging apparatus according to the present invention, a direction with high correlation in each pixel is obtained based on the luminance signal, and an interpolation value is obtained using the color signal of the pixel in the direction with high correlation. Therefore, even if the image contains a lot of high frequency components, a good interpolation image without false color can be obtained.

本発明を適用した一実施形態に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied. 本発明を適用した一実施形態に係る撮像装置による補間処理を説明するための図である。It is a figure for demonstrating the interpolation process by the imaging device which concerns on one Embodiment to which this invention is applied.

以下、本発明を適用した一実施形態について図面を参照して説明する。   Hereinafter, an embodiment to which the present invention is applied will be described with reference to the drawings.

[撮像装置の構成]
図1は本実施形態に係る撮像装置の構成を示すブロック図である。図1に示すように、本実施形態に係る撮像装置1は、被写体からの光が入射するレンズ2と、レンズ2を介して入射した被写体像を2方向に分離する分離光学系3と、被写体を撮像して輝度信号を出力する白黒撮像素子4と、被写体を撮像してR信号とG信号とB信号との各色信号をベイヤ配列に従って出力する白黒撮像素子4と同じ画素数のカラー撮像素子5と、補間処理を行って各画素の3原色信号Pを生成する補間処理部6とを備えている。
[Configuration of imaging device]
FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus according to the present embodiment. As shown in FIG. 1, an imaging apparatus 1 according to the present embodiment includes a lens 2 on which light from a subject is incident, a separation optical system 3 that separates a subject image incident through the lens 2 in two directions, and a subject. Monochrome image pickup device 4 that picks up an image and outputs a luminance signal, and a color image pickup device having the same number of pixels as the monochrome image pickup device 4 that picks up a subject and outputs each color signal of an R signal, a G signal, and a B signal according to a Bayer array 5 and an interpolation processing unit 6 that performs interpolation processing to generate the three primary color signals P of each pixel.

本実施形態に係る撮像装置1は、レンズ2を介して入射した被写体像を分離光学系3によって2方向に分離し、白黒撮像素子4とカラー撮像素子5に結像させる。ここで、白黒撮像素子4は人間の視感度特性にほぼ等しい特性を持っており、カラー撮像素子5は画素上にベイヤー配列のOCF(オンチップカラーフィルター)が形成されている。白黒撮像素子4の出力SD1及びカラー撮像素子5の出力SD2は、補間処理部6に入力されて補間演算によって各画素の3原色信号Pが生成される。   The imaging apparatus 1 according to the present embodiment separates the subject image incident through the lens 2 in two directions by the separation optical system 3 and forms it on the monochrome imaging element 4 and the color imaging element 5. Here, the monochrome imaging device 4 has characteristics almost equal to human visibility characteristics, and the color imaging device 5 has a Bayer array OCF (on-chip color filter) formed on pixels. The output SD1 of the monochrome imaging device 4 and the output SD2 of the color imaging device 5 are input to the interpolation processing unit 6, and the three primary color signals P of each pixel are generated by the interpolation calculation.

ここで、照明条件(色温度)によってRGBのバランス(いわゆるホワイトバランス)が変化するので、無彩色の被写体に対してはR=G=Bとなるようにカラー撮像素子5の各色の利得は調整され、白黒撮像素子4については無彩色の被写体に対してはY=R=G=Bとなるように利得が調整される。   Here, since the RGB balance (so-called white balance) changes depending on the illumination condition (color temperature), the gain of each color of the color image sensor 5 is adjusted so that R = G = B for an achromatic subject. The gain of the monochrome image sensor 4 is adjusted so that Y = R = G = B for an achromatic subject.

[補間処理部の構成]
図1に示すように、本実施形態に係る補間処理部6は、輝度信号に基づいて各画素における相関性の高い方向を表す相関方向指数を算出する相関方向指数算出部11と、補間値を求める対象の着目画素に対して、相関方向指数に基づいて相関性の高い方向に位置する相関方向画素を求め、この相関方向画素の色信号によって着目画素における色信号の補間値を求める信号補間部12と、信号補間部12で求められた色信号の補間値と輝度信号とカラー撮像素子5から出力された色信号とを用いて、求められていない色信号の補間値を算出する補間値算出部13とを備えている。
[Configuration of interpolation processing unit]
As shown in FIG. 1, the interpolation processing unit 6 according to the present embodiment includes a correlation direction index calculation unit 11 that calculates a correlation direction index that represents a highly correlated direction in each pixel based on the luminance signal, and an interpolation value. A signal interpolation unit that obtains a correlation direction pixel located in a highly correlated direction based on a correlation direction index for a target pixel to be obtained, and obtains an interpolated value of the color signal in the target pixel from the color signal of the correlation direction pixel 12 and the interpolation value calculation for calculating the interpolation value of the color signal not obtained using the interpolation value of the color signal obtained by the signal interpolation unit 12, the luminance signal, and the color signal output from the color image sensor 5. Part 13.

また、信号補間部12は、着目画素がB信号を出力するB画素とR信号を出力するR画素の場合には、相関方向画素のG信号の平均値を補間値として求めるG信号補間部21と、着目画素がG信号を出力するG画素の場合で、かつ、相関方向画素がR画素のときには相関方向画素のR信号の平均値を補間値として求めるR信号補間部23と、着目画素がG信号を出力するG画素の場合で、かつ、相関方向画素がB画素のときには相関方向画素のB信号の平均値を補間値として求めるB信号補間部22とを備えている。   Further, when the pixel of interest is a B pixel that outputs a B signal and an R pixel that outputs an R signal, the signal interpolation unit 12 obtains an average value of G signals of correlation direction pixels as an interpolation value. When the target pixel is a G pixel that outputs a G signal and the correlation direction pixel is an R pixel, the R signal interpolation unit 23 that obtains an average value of the R signals of the correlation direction pixel as an interpolation value, In the case of a G pixel that outputs a G signal and the correlation direction pixel is a B pixel, a B signal interpolation unit 22 that obtains an average value of the B signals of the correlation direction pixel as an interpolation value is provided.

さらに、補間値算出部13は、B画素においてG信号の補間値と輝度信号とB信号とを用いてR信号の補間値を算出し、G画素においてB信号の補間値と輝度信号とG信号とを用いてR信号の補間値を算出するR補間値算出部31と、R画素においてG信号の補間値と輝度信号とR信号とを用いてB信号の補間値を算出し、G画素においてR信号の補間値と輝度信号とG信号とを用いてB信号の補間値を算出するB補間値算出部32とを備えている。   Further, the interpolation value calculation unit 13 calculates the interpolation value of the R signal using the interpolation value of the G signal, the luminance signal, and the B signal in the B pixel, and the interpolation value of the B signal, the luminance signal, and the G signal in the G pixel. The R interpolation value calculation unit 31 for calculating the interpolation value of the R signal using the R, and the interpolation value of the B signal using the interpolation value of the G signal, the luminance signal, and the R signal in the R pixel, A B interpolation value calculation unit 32 is provided that calculates an interpolation value of the B signal using the interpolation value of the R signal, the luminance signal, and the G signal.

[補間処理の手順]
次に、本実施形態に係る撮像装置1による補間処理の手順を図2のフローチャートを参照して説明する。ここでは撮像素子の画素ピッチと等しい周期の白黒の縦縞パターンの被写体を撮影した場合を一例として説明する。理解を容易にするために、白黒撮像素子4とカラー撮像素子5の画素配列は図3(a)に示すように同じ座標軸上に1つの模式図として示し、本実施形態の具体的な数値例を図3(b)に示す。また、水平方向x=i及び垂直方向y=jの座標を添え字(i,j)で示す。
[Interpolation procedure]
Next, the procedure of interpolation processing by the imaging apparatus 1 according to the present embodiment will be described with reference to the flowchart of FIG. Here, a case where a subject having a black and white vertical stripe pattern having a period equal to the pixel pitch of the image sensor is photographed will be described as an example. In order to facilitate understanding, the pixel arrangement of the monochrome imaging device 4 and the color imaging device 5 is shown as one schematic diagram on the same coordinate axis as shown in FIG. Is shown in FIG. Also, the coordinates in the horizontal direction x = i and the vertical direction y = j are indicated by a subscript (i, j).

図2に示すように、ステップS101では、座標(i,j)の位置にある画素の白黒撮像素子4の輝度信号出力Y(i,j)をもとにして、各画素における相関性の高い方向を表す相関方向指数D(i,j)を算出する。具体的な算出方法は、補間値を求める対象となっている着目画素の輝度信号をY(i,j)としたときに、上下に隣接する2画素の輝度信号Y(i,j-1)とY(i,j+1)の平均値Ya_v(i,j)と、左右に隣接する2画素Y(i-1,j)とY(i+1,j)の平均値Ya_h(i,j)とを算出し、これらの平均値と着目画素の輝度信号Y(i,j)との差分が小さい方向を相関性の高い方向とし、垂直方向の相関性が高い場合には相関方向指数D(i,j)=1、水平方向の相関性が高い場合には相関方向指数D(i,j)=0と定義すれば、次式によって算出することができる。   As shown in FIG. 2, in step S101, the correlation at each pixel is high based on the luminance signal output Y (i, j) of the monochrome imaging device 4 of the pixel located at the coordinate (i, j). A correlation direction index D (i, j) representing the direction is calculated. A specific calculation method is as follows. The luminance signal Y (i, j-1) of two adjacent pixels above and below is Y (i, j), where Y (i, j) is the luminance signal of the target pixel whose interpolation value is to be obtained. And Y (i, j + 1) average value Ya_v (i, j), and left and right adjacent two pixels Y (i-1, j) and Y (i + 1, j) average value Ya_h (i, j) is calculated, and the direction in which the difference between the average value and the luminance signal Y (i, j) of the pixel of interest is small is defined as a highly correlated direction. If D (i, j) = 1 and the correlation in the horizontal direction is high, the correlation direction index D (i, j) = 0 can be defined.

D(i,j)=0・・・(|Ya_v(i,j)−Y(i,j)|>|Ya_h(i,j)−Y(i,j)|の時)
=1・・・(|Ya_v(i,j)−Y(i,j)|=|Ya_h(i,j)−Y(i,j)|の時)
=1・・・(|Ya_v(i,j)−Y(i,j)|<|Ya_h(i,j)−Y(i,j)|の時) ・・・・(1)
ここで、|Ya_v(i,j)−Y(i,j)|=|Ya_h(i,j)−Y(i,j)|のときには水平方向、垂直方向ともに相関性の程度が同等なので、本実施形態では垂直方向を優先するものとした。ただし、これに限定されるわけではない。
D (i, j) = 0 (when | Ya_v (i, j) −Y (i, j) |> | Ya_h (i, j) −Y (i, j) |)
= 1 ... (when | Ya_v (i, j) -Y (i, j) | = | Ya_h (i, j) -Y (i, j) |)
= 1 (when | Ya_v (i, j) −Y (i, j) | <| Ya_h (i, j) −Y (i, j) |)) (1)
Here, when | Ya_v (i, j) −Y (i, j) | = | Ya_h (i, j) −Y (i, j) |, the degree of correlation is equal in both the horizontal and vertical directions. In the present embodiment, priority is given to the vertical direction. However, the present invention is not limited to this.

次に、ステップS102では、カラー撮像素子5においてBのOCFが形成されているx=奇数、y=偶数の座標(以下、B画素あるいは座標(o,e)と称す)におけるG信号の補間値g(o,e)を次式によって算出する。具体的な算出方法は、着目画素の相関方向指数がD(i,j)=1のとき、すなわち垂直方向の相関が強い場合には上下に隣接する2画素のG信号G(i,j-1)とG(i,j+1)の平均値をG信号の補間値g(i,j)として算出し、着目画素の相関方向指数がD(i,j)=0のとき、すなわち水平方向の相関が強い場合には左右に隣接する2画素のG信号G(i-1,j)とG(i+1,j)の平均値をG信号の補間値g(i,j)として算出する。   Next, in step S102, the interpolation value of the G signal at the coordinates of x = odd, y = even (hereinafter referred to as B pixel or coordinates (o, e)) where the B OCF is formed in the color image sensor 5. g (o, e) is calculated by the following equation. A specific calculation method is as follows. When the correlation direction index of the pixel of interest is D (i, j) = 1, that is, when the correlation in the vertical direction is strong, the G signals G (i, j− The average value of 1) and G (i, j + 1) is calculated as an interpolated value g (i, j) of the G signal, and when the correlation direction index of the pixel of interest is D (i, j) = 0, that is, horizontal When the direction correlation is strong, the average value of G signals G (i−1, j) and G (i + 1, j) of two pixels adjacent to the left and right is set as an interpolated value g (i, j) of the G signal. calculate.

g(i,j)=(G(i,j-1)+G(i,j+1))/2 ・・・(D(i,j)=1のとき)
g(i,j)=(G(i-1,j)+G(i+1,j))/2 ・・・(D(i,j)=0のとき) ・・・(2)
次に、ステップS103では、カラー撮像素子5においてRのOCFが形成されているx=偶数、y=奇数の座標(以下、R画素あるいは座標(e,o)と称す)におけるG信号の補間値g(e,o)を算出する。具体的な算出方法は、ステップS102と同様に相関方向画素のG信号の平均値をG信号の補間値g(i,j)として算出する。ステップS102及びS103による具体的な算出結果を図4(a)、(b)に示す。
g (i, j) = (G (i, j-1) + G (i, j + 1)) / 2 (when D (i, j) = 1)
g (i, j) = (G (i-1, j) + G (i + 1, j)) / 2 (when D (i, j) = 0) (2)
Next, in step S103, the interpolation value of the G signal at the coordinates of x = even and y = odd (hereinafter referred to as R pixels or coordinates (e, o)) where the R OCF is formed in the color image sensor 5. g (e, o) is calculated. As a specific calculation method, the average value of the G signals of the correlation direction pixels is calculated as the interpolation value g (i, j) of the G signal as in step S102. Specific calculation results obtained in steps S102 and S103 are shown in FIGS.

次に、ステップS104では、カラー撮像素子5においてBのOCFが形成されている座標(o,e)におけるR信号の補間値r(o,e)を算出する。具体的な算出方法は、着目画素の白黒撮像素子4の出力Y(i,j)と、カラー撮像素子5の出力B(i,j)と、ステップS102で算出したG信号の補間値g(i,j)とを用いて、次式によって算出する。   Next, in step S104, an interpolation value r (o, e) of the R signal at the coordinates (o, e) where the B OCF is formed in the color image sensor 5 is calculated. A specific calculation method includes an output Y (i, j) of the monochrome image pickup element 4 of the target pixel, an output B (i, j) of the color image pickup element 5, and an interpolation value g (G signal calculated in step S102). i, j) and the following equation.

r(i,j)=(Y(i,j)−0.6×g(i,j)−0.1×B(i,j))/0.3 ・・・・(3)
これによって座標(o,e)における画素の3原色は全て算出されるので、座標(o,e)における画素の色復調は完成する。この算出結果を図5(a)、(b)に示す。
r (i, j) = (Y (i, j) −0.6 × g (i, j) −0.1 × B (i, j)) / 0.3 (3)
As a result, all three primary colors of the pixel at the coordinate (o, e) are calculated, so that the color demodulation of the pixel at the coordinate (o, e) is completed. The calculation results are shown in FIGS. 5 (a) and 5 (b).

次に、ステップS105では、カラー撮像素子5においてRのOCFが形成されている座標(e,o)におけるB信号の補間値b(e,o)を算出する。具体的な算出方法は、ステップS104と同様であり、B(i,j)の代わりにR(i,j)を用いて次式によって算出する。   Next, in step S105, the interpolation value b (e, o) of the B signal at the coordinate (e, o) where the R OCF is formed in the color image sensor 5 is calculated. A specific calculation method is the same as in step S104, and R (i, j) is used instead of B (i, j), and the calculation is performed according to the following equation.

b(i,j)=(Y(i,j)−0.6×g(i,j)−0.3×R(i,j))/0.1 ・・・・(4)
これによって座標(e,o)における画素の3原色は全て算出されるので、座標(e,o)における画素の色復調は完成する。この算出結果を図6(a)、(b)に示す。
b (i, j) = (Y (i, j) −0.6 × g (i, j) −0.3 × R (i, j)) / 0.1 (4)
As a result, all three primary colors of the pixel at the coordinate (e, o) are calculated, so that the color demodulation of the pixel at the coordinate (e, o) is completed. The calculation results are shown in FIGS. 6 (a) and 6 (b).

次に、ステップS106では、カラー撮像素子5においてGのOCFが形成されている座標(e,e)の相関方向を相関方向指数D(e,e)を用いて判定する。ここで相関方向が縦である場合には、ステップS107aに移行して座標(e,e)におけるR信号の補間値r(e,e)を算出する。具体的な算出方法は、着目画素の上下に隣接する2画素のR信号R(i,j-1)とR(i,j+1)の平均値をR信号の補間値r(e,e)として算出する。この計算式を次式に示し、算出結果を図7(a)、(b)に示す。   Next, in step S106, the correlation direction of the coordinates (e, e) where the G OCF is formed in the color image sensor 5 is determined using the correlation direction index D (e, e). If the correlation direction is vertical, the process proceeds to step S107a to calculate the interpolation value r (e, e) of the R signal at the coordinate (e, e). A specific calculation method is to calculate an average value of R signals R (i, j-1) and R (i, j + 1) of two pixels adjacent above and below the target pixel as an interpolation value r (e, e) of the R signal. ). This calculation formula is shown in the following formula, and the calculation results are shown in FIGS.

r(i,j)=(R(i,j-1)+R(i,j+1))/2 ・・・・(5)
引き続きステップS108aでは、座標(e,e)におけるB信号の補間値b(e,e)を算出する。具体的な算出方法は、着目画素の白黒撮像素子4の輝度信号Y(i,j)と、カラー撮像素子5のG信号G(i,j)と、ステップS107aで算出したR信号の補間値r(i,j)とを用いて、次式によって算出する。
r (i, j) = (R (i, j-1) + R (i, j + 1)) / 2 (5)
In step S108a, the interpolation value b (e, e) of the B signal at the coordinates (e, e) is calculated. A specific calculation method is that the luminance signal Y (i, j) of the monochrome image pickup device 4 of the pixel of interest, the G signal G (i, j) of the color image pickup device 5, and the interpolation value of the R signal calculated in step S107a. Using r (i, j), the following equation is used.

b(i,j)=(Y(i,j)−0.6×G(i,j)−0.3×r(i,j))/0.1 ・・・・(6)
これによって座標(e,e)における画素の3原色は全て算出されるので、座標(e,e)における画素の色復調は完成する。この算出結果を図8(a)、(b)に示す。
b (i, j) = (Y (i, j) −0.6 × G (i, j) −0.3 × r (i, j)) / 0.1 (6)
As a result, all the three primary colors of the pixel at the coordinates (e, e) are calculated, so that the color demodulation of the pixel at the coordinates (e, e) is completed. The calculation results are shown in FIGS. 8 (a) and 8 (b).

一方、ステップS106において相関方向が横であった場合には、ステップS107bに移行して座標(e,e)におけるB信号の補間値b(e,e)を算出し、ステップS108bにおいてR信号の補間値r(e,e)を算出する。具体的な算出方法は、相関方向が縦であった場合のステップS107a、108aと同様であり、B信号の補間値bの算出式とR信号の補間値rの算出式はそれぞれ以下のようになる。   On the other hand, if the correlation direction is horizontal in step S106, the process proceeds to step S107b to calculate the interpolated value b (e, e) of the B signal at the coordinates (e, e), and in step S108b the R signal Interpolated value r (e, e) is calculated. The specific calculation method is the same as that in steps S107a and 108a in the case where the correlation direction is vertical. The calculation formula for the interpolation value b for the B signal and the calculation formula for the interpolation value r for the R signal are as follows. Become.

b(i,j)=(B(i-1,j)+B(i+1,j))/2 ・・・・(7)
r(i,j)=(Y(i,j)−0.6×G(i,j)−0.1×b(i,j))/0.3 ・・・・(8)
次に、ステップS109に移行して、カラー撮像素子5においてGのOCFが形成されている座標(o,o)における相関方向を相関方向指数D(o,o)を用いて判定する。ここで、相関方向が縦である場合には、ステップS110aに移行して座標(o,o)におけるB信号の補間値b(o,o)を算出する。具体的な算出方法は、着目画素の上下に隣接している2画素のB信号B(i,j-1)とB(i,j+1)の平均値をB信号の補間値b(o,o)として算出する。この計算式を次式に示し、算出結果を図9(a)、(b)に示す。
b (i, j) = (B (i-1, j) + B (i + 1, j)) / 2 (7)
r (i, j) = (Y (i, j) −0.6 × G (i, j) −0.1 × b (i, j)) / 0.3 (8)
In step S109, the correlation direction at the coordinates (o, o) where the G OCF is formed in the color image sensor 5 is determined using the correlation direction index D (o, o). If the correlation direction is vertical, the process proceeds to step S110a to calculate the interpolation value b (o, o) of the B signal at the coordinates (o, o). A specific calculation method is to calculate an average value of B signals B (i, j-1) and B (i, j + 1) of two pixels adjacent to the upper and lower sides of the target pixel as an interpolation value b (o of the B signal. , o). This calculation formula is shown in the following formula, and the calculation results are shown in FIGS.

b(i,j)=(B(i,j-1)+B(i,j+1))/2 ・・・・(9)
引き続きステップS111aでは、座標(o,o)におけるR信号の補間値r(o,o)を算出する。具体的な算出方法は、着目画素の白黒撮像素子4の輝度信号Y(i,j)と、カラー撮像素子5のG信号G(i,j)と、ステップS110aで算出したB信号の補間値b(i,j)とを用いて、次式によって算出する。
b (i, j) = (B (i, j-1) + B (i, j + 1)) / 2 (9)
In step S111a, the interpolation value r (o, o) of the R signal at the coordinates (o, o) is calculated. A specific calculation method is that the luminance signal Y (i, j) of the monochrome image pickup device 4 of the target pixel, the G signal G (i, j) of the color image pickup device 5, and the interpolation value of the B signal calculated in step S110a. Using b (i, j), the following equation is used.

r(i,j)=(Y(i,j)−0.6×G(i,j)−0.1×b(i,j))/0.3 ・・・・(10)
これによって座標(o,o)における画素の3原色は全て算出されるので、座標(o,o)における画素の色復調は完成する。この算出結果を図10(a)、(b)に示す。
r (i, j) = (Y (i, j) −0.6 × G (i, j) −0.1 × b (i, j)) / 0.3 (10)
As a result, all the three primary colors of the pixel at the coordinates (o, o) are calculated, so that the color demodulation of the pixel at the coordinates (o, o) is completed. The calculation results are shown in FIGS. 10 (a) and 10 (b).

一方、ステップS109において相関方向が横であった場合には、ステップS110bに移行して座標(o,o)におけるR信号の補間値r(o,o)を算出し、ステップS111bにおいてB信号の補間値b(o,o)を算出する。具体的な算出方法は、相関方向が縦であった場合のステップS110a、111aと同様であり、R信号の補間値rの算出式とB信号の補間値bの算出式はそれぞれ以下のようになる。   On the other hand, if the correlation direction is horizontal in step S109, the process proceeds to step S110b to calculate the interpolated value r (o, o) of the R signal at the coordinates (o, o), and in step S111b the B signal Interpolated value b (o, o) is calculated. The specific calculation method is the same as that in steps S110a and 111a when the correlation direction is vertical, and the calculation formula for the interpolation value r for the R signal and the calculation formula for the interpolation value b for the B signal are as follows. Become.

r(i,j)=(R(i-1,j)+R(i+1,j))/2 ・・・・(11)
b(i,j)=(Y(i,j)−0.6×G(i,j)−0.3×r(i,j))/0.1 ・・・・(12)
これによって座標(o,o)における画素の3原色は全て算出されるので、座標(o,o)における画素の色復調は完成する。
r (i, j) = (R (i-1, j) + R (i + 1, j)) / 2 (11)
b (i, j) = (Y (i, j) −0.6 × G (i, j) −0.3 × r (i, j)) / 0.1 (12)
As a result, all the three primary colors of the pixel at the coordinates (o, o) are calculated, so that the color demodulation of the pixel at the coordinates (o, o) is completed.

こうして全ての座標に対する3原色信号が算出されると、本実施形態に係る撮像装置による補間処理は終了する。この結果、本実施形態に係る撮像装置によれば、従来の補間処理方法では偽色が発生してしまう高周波成分を含んだ縦縞模様に対しても、図10(b)に示すように、補間処理結果に偽色はなく入力画像を正しく再現できていることが分かる。   When the three primary color signals for all coordinates are calculated in this way, the interpolation processing by the imaging apparatus according to the present embodiment ends. As a result, according to the imaging apparatus according to the present embodiment, as shown in FIG. 10B, interpolation is also performed on a vertical stripe pattern including a high-frequency component that generates false colors in the conventional interpolation processing method. It can be seen that there is no false color in the processing result and the input image can be correctly reproduced.

尚、上述した実施形態では、ステップS101において全ての座標の相関方向指数を算出しているが、相関方向指数を算出するタイミングについてはこれに限定されるわけではなく、相関方向指数を参照する各ステップ(S102、S103、S106、S109)においてそれぞれ算出してもよい。また、ステップS102、S103においてG信号の補間値を全座標について算出した後に、ステップS104で座標(o,e)の色復調を完成させ、更にその後にステップS105で座標(e,o)の色復調を完成させているが、処理の順序はこれに限定されるわけではなく、まずステップS103→S105の順序で座標(e,o)の色復調を完成させ、次にステップS102→S104の順序で座標(o,e)の色復調を完成させてもよい。あるいはステップS106→S107→S108を最初に処理することで座標(e,e)の色復調を最初に完成させてもよいし、ステップS109→S110→S111を最初に処理することで座標(o,o)の色復調を最初に完成させてもよい。本発明は、このように処理の順序を入れ換えたとしても、その概念及び効果に変わりはない。もちろん、ハードウェアによって並列同時処理を行っても同様である。   In the above-described embodiment, the correlation direction index of all coordinates is calculated in step S101. However, the timing for calculating the correlation direction index is not limited to this, and each reference to the correlation direction index is performed. You may calculate in step (S102, S103, S106, S109), respectively. In addition, after the interpolation values of the G signal are calculated for all coordinates in steps S102 and S103, the color demodulation of the coordinates (o, e) is completed in step S104, and then the color of the coordinates (e, o) in step S105. Although the demodulation is completed, the order of processing is not limited to this. First, the color demodulation of the coordinates (e, o) is completed in the order of steps S103 → S105, and then the order of steps S102 → S104. The color demodulation of the coordinates (o, e) may be completed with Alternatively, the color demodulation of the coordinates (e, e) may be completed first by processing steps S106 → S107 → S108 first, or the coordinates (o, o) Color demodulation may be completed first. In the present invention, even if the order of processing is changed as described above, the concept and the effect are not changed. Of course, the same applies even if parallel parallel processing is performed by hardware.

また、上述した実施形態では、ステップS101における相関方向指数の算出方法として、着目画素を狭持する隣接2画素の平均値と着目画素との差分を用いて算出したが、算出方法はこれに限定されるわけではなく、更に多くの隣接画素に適当なフィルター処理を施した値を用いて算出するなど、既存の任意の方法を用いることができる。   In the above-described embodiment, the correlation direction index is calculated using the difference between the average value of two adjacent pixels that hold the pixel of interest and the pixel of interest as the method of calculating the correlation direction index in step S101. However, the calculation method is limited to this. However, any existing method can be used, such as calculation using a value obtained by appropriately filtering a larger number of adjacent pixels.

さらに、上述した実施形態では、ステップS102、S103、S107、S110における特定方向の補間値算出方法を、着目画素を狭持する隣接2画素の平均値としているが、算出方法はこれに限定されるわけではなく、更に多くの隣接画素に適当なフィルター処理を施した値を用いることもできる。   Further, in the above-described embodiment, the interpolation value calculation method in the specific direction in steps S102, S103, S107, and S110 is the average value of two adjacent pixels that hold the target pixel, but the calculation method is limited to this. However, it is also possible to use a value obtained by appropriately filtering a larger number of adjacent pixels.

なお、本発明は、ハードウェアにより図1の補間処理部を構成する場合に限定されるものではなく、図2の手順を実行するコンピュータプログラムによるソフトウェアによって補間処理を行うこともできる。この場合、コンピュータプログラムは、記録媒体からコンピュータに取り込まれてもよいし、ネットワーク経由でコンピュータに取り込まれてもよい。   The present invention is not limited to the case where the interpolation processing unit in FIG. 1 is configured by hardware, and the interpolation processing can also be performed by software by a computer program that executes the procedure in FIG. In this case, the computer program may be taken into the computer from a recording medium or may be taken into the computer via a network.

[実施形態の効果]
以上詳細に説明したように、本発明を適用した一実施形態に係る撮像装置及び撮像装置の補間処理方法によれば、輝度信号に基づいて各画素における相関性の高い方向を求め、この相関性の高い方向にある画素の色信号を用いて補間値を求めるので、高周波成分が多く含まれた画像であっても偽色のない良好な補間画像を得ることができる。
[Effect of the embodiment]
As described above in detail, according to the imaging apparatus and the interpolation processing method of the imaging apparatus according to an embodiment to which the present invention is applied, a direction having high correlation in each pixel is obtained based on the luminance signal, and this correlation is obtained. Since the interpolation value is obtained using the color signal of the pixel in the higher direction, a good interpolation image without false colors can be obtained even for an image containing a lot of high frequency components.

また、本発明を適用した一実施形態に係る撮像装置によれば、着目画素がB画素とR画素の場合には相関方向画素のG信号の平均値を補間値として求めるG信号補間部21と、着目画素がG画素の場合には相関方向画素に応じてR信号及びB信号の平均値を補間値として求めるR信号補間部23及びB信号補間部22とを備えているので、相関性の高い方向にある画素の色信号を用いて補間値を求めることができる。   Further, according to the imaging apparatus according to an embodiment to which the present invention is applied, when the target pixel is the B pixel and the R pixel, the G signal interpolation unit 21 that obtains the average value of the G signals of the correlation direction pixels as an interpolation value; When the pixel of interest is a G pixel, the R signal interpolating unit 23 and the B signal interpolating unit 22 that obtain an average value of the R signal and the B signal as an interpolation value according to the correlation direction pixel are provided. The interpolation value can be obtained using the color signal of the pixel in the higher direction.

さらに、本発明を適用した一実施形態に係る撮像装置によれば、G信号の補間値と輝度信号とB信号とを用いてR信号の補間値を算出する、あるいはB信号の補間値と輝度信号とG信号とを用いてR信号の補間値を算出するR補間値算出部31と、G信号の補間値と輝度信号とR信号とを用いてB信号の補間値を算出する、あるいはR信号の補間値と輝度信号とG信号とを用いてB信号の補間値を算出するB補間値算出部32とを備えているので、相関性の高い方向にある画素の色信号を用いて求められた補間値を用いて補間値を算出することができる。   Furthermore, according to the imaging apparatus according to an embodiment to which the present invention is applied, the interpolation value of the R signal is calculated using the interpolation value of the G signal, the luminance signal, and the B signal, or the interpolation value of the B signal and the luminance. An R interpolation value calculation unit 31 that calculates an interpolation value of the R signal using the signal and the G signal, and an interpolation value of the B signal using the interpolation value, the luminance signal, and the R signal of the G signal, or R Since the B interpolation value calculation unit 32 that calculates the interpolation value of the B signal using the signal interpolation value, the luminance signal, and the G signal is provided, it is obtained using the color signal of the pixel in the direction with high correlation. The interpolation value can be calculated using the obtained interpolation value.

なお、上述の実施形態は本発明の一例である。したがって、本発明は、上述の実施形態に限定されるわけではなく、この実施形態以外の形態であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計などに応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. Therefore, the present invention is not limited to the above-described embodiment, and various forms other than this embodiment can be used depending on the design as long as they do not depart from the technical idea of the present invention. Of course, it is possible to change.

1 撮像装置
2 レンズ
3 分離光学系
4 白黒撮像素子
5 カラー撮像素子
6 補間処理部
11 相関方向指数算出部
12 信号補間部
13 補間値算出部
21 G信号補間部
22 R信号補間部
23 B信号補間部
31 R補間値算出部
32 B補間値算出部
DESCRIPTION OF SYMBOLS 1 Image pick-up device 2 Lens 3 Separation optical system 4 Black and white image pick-up element 5 Color image pick-up element 6 Interpolation processing part 11 Correlation direction index | exponent calculation part 12 Signal interpolation part 13 Interpolation value calculation part 21 G signal interpolation part 22 R signal interpolation part 23 B signal interpolation Unit 31 R interpolation value calculation unit 32 B interpolation value calculation unit

Claims (4)

被写体を撮像して輝度信号を出力する第1撮像素子と、
被写体を撮像してR信号とG信号とB信号との各色信号をベイヤ配列に従って出力する前記第1撮像素子と同じ画素数の第2撮像素子と、
前記輝度信号に基づいて各画素における相関性の高い方向を表す相関方向指数を算出する相関方向指数算出部と、
補間値を求める対象の着目画素に対して、前記相関方向指数に基づいて相関性の高い方向に位置する相関方向画素を求め、前記相関方向画素の色信号によって前記着目画素における色信号の補間値を求める信号補間部と、
前記信号補間部で求められた色信号の補間値と前記輝度信号と前記第2撮像素子から出力された色信号とを用いて、求められていない色信号の補間値を算出する補間値算出部と
を備えていることを特徴とする撮像装置。
A first image sensor that images a subject and outputs a luminance signal;
A second image pickup device having the same number of pixels as the first image pickup device that picks up an image of a subject and outputs color signals of R, G, and B signals according to a Bayer array;
A correlation direction index calculating unit that calculates a correlation direction index representing a highly correlated direction in each pixel based on the luminance signal;
A correlation direction pixel located in a highly correlated direction is obtained based on the correlation direction index for a target pixel for which an interpolation value is to be calculated, and an interpolation value of a color signal at the target pixel is determined by a color signal of the correlation direction pixel. A signal interpolation unit for obtaining
An interpolation value calculation unit that calculates an interpolation value of a color signal that has not been obtained using the interpolation value of the color signal obtained by the signal interpolation unit, the luminance signal, and the color signal output from the second image sensor. An imaging device comprising:
前記信号補間部は、
前記着目画素が前記B信号を出力するB画素と前記R信号を出力するR画素との場合には、前記相関方向画素のG信号の平均値を補間値として求めるG信号補間部と、
前記着目画素が前記G信号を出力するG画素の場合であって、かつ、前記相関方向画素が前記R画素のときには前記相関方向画素のR信号の平均値を補間値として求めるR信号補間部と、
前記着目画素が前記G信号を出力するG画素の場合であって、かつ、前記相関方向画素が前記B画素のときには前記相関方向画素のB信号の平均値を補間値として求めるB信号補間部と
を備えていることを特徴とする請求項1に記載の撮像装置。
The signal interpolation unit
When the pixel of interest is a B pixel that outputs the B signal and an R pixel that outputs the R signal, a G signal interpolation unit that obtains an average value of the G signals of the correlation direction pixels as an interpolation value;
An R signal interpolation unit that obtains an average value of R signals of the correlation direction pixel as an interpolation value when the target pixel is a G pixel that outputs the G signal and the correlation direction pixel is the R pixel; ,
A B signal interpolation unit for obtaining an average value of B signals of the correlation direction pixel as an interpolation value when the target pixel is a G pixel that outputs the G signal and the correlation direction pixel is the B pixel; The imaging apparatus according to claim 1, further comprising:
前記補間値算出部は、
前記B画素において前記G信号の補間値と前記輝度信号と前記B信号とを用いてR信号の補間値を算出し、前記G画素において前記B信号の補間値と前記輝度信号と前記G信号とを用いてR信号の補間値を算出するR補間値算出部と、
前記R画素において前記G信号の補間値と前記輝度信号と前記R信号とを用いてB信号の補間値を算出し、前記G画素において前記R信号の補間値と前記輝度信号と前記G信号とを用いてB信号の補間値を算出するB補間値算出部と
を備えていることを特徴とする請求項2に記載の撮像装置。
The interpolation value calculator is
An interpolation value of the R signal is calculated using the interpolation value of the G signal, the luminance signal, and the B signal in the B pixel, and the interpolation value of the B signal, the luminance signal, and the G signal in the G pixel An R interpolation value calculation unit for calculating an interpolation value of the R signal using
In the R pixel, an interpolation value of the B signal is calculated using the interpolation value of the G signal, the luminance signal, and the R signal. In the G pixel, the interpolation value of the R signal, the luminance signal, and the G signal are calculated. The imaging apparatus according to claim 2, further comprising: a B interpolation value calculation unit that calculates an interpolation value of the B signal using the B.
第1撮像素子によって被写体を撮像して輝度信号を出力するステップと、
前記第1撮像素子と同じ画素数の第2撮像素子によって被写体を撮像してR信号とG信号とB信号との各色信号をベイヤ配列に従って出力するステップと、
前記輝度信号に基づいて各画素における相関性の高い方向を表す相関方向指数を算出する相関方向指数算出ステップと、
補間値を求める対象の着目画素に対して、前記相関方向指数に基づいて相関性の高い方向に位置する相関方向画素を求め、前記相関方向画素の色信号によって前記着目画素における色信号の補間値を求める信号補間ステップと、
前記信号補間ステップで求められた色信号の補間値と前記輝度信号と前記第2撮像素子から出力された色信号とを用いて、求められていない色信号の補間値を算出する補間値算出ステップと
を含むことを特徴とする撮像装置の補間処理方法。
Imaging a subject with a first image sensor and outputting a luminance signal;
Imaging a subject with a second image sensor having the same number of pixels as the first image sensor and outputting each color signal of an R signal, a G signal, and a B signal according to a Bayer array;
A correlation direction index calculating step for calculating a correlation direction index representing a highly correlated direction in each pixel based on the luminance signal;
A correlation direction pixel located in a highly correlated direction is obtained based on the correlation direction index for a target pixel for which an interpolation value is to be calculated, and an interpolation value of a color signal at the target pixel is determined by a color signal of the correlation direction pixel. A signal interpolation step to obtain
Interpolation value calculation step of calculating an interpolation value of a color signal that has not been obtained using the interpolation value of the color signal obtained in the signal interpolation step, the luminance signal, and the color signal output from the second image sensor. An interpolation processing method for an imaging apparatus, comprising:
JP2011030939A 2011-02-16 2011-02-16 Imaging apparatus and interpolation processing method of imaging apparatus Active JP5673186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011030939A JP5673186B2 (en) 2011-02-16 2011-02-16 Imaging apparatus and interpolation processing method of imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011030939A JP5673186B2 (en) 2011-02-16 2011-02-16 Imaging apparatus and interpolation processing method of imaging apparatus

Publications (2)

Publication Number Publication Date
JP2012169989A true JP2012169989A (en) 2012-09-06
JP5673186B2 JP5673186B2 (en) 2015-02-18

Family

ID=46973645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011030939A Active JP5673186B2 (en) 2011-02-16 2011-02-16 Imaging apparatus and interpolation processing method of imaging apparatus

Country Status (1)

Country Link
JP (1) JP5673186B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015035782A (en) * 2013-08-09 2015-02-19 オリンパス株式会社 Image processing device, imaging device, microscope system, image processing method, and image processing program
CN115460386A (en) * 2022-08-31 2022-12-09 武汉精立电子技术有限公司 Method and system for acquiring color image by using black and white camera
DE112021004549T5 (en) 2020-08-31 2023-08-03 Sony Group Corporation MEDICAL IMAGING SYSTEM, MEDICAL IMAGING DEVICE AND SURGICAL PROCEDURE
CN115460386B (en) * 2022-08-31 2024-05-17 武汉精立电子技术有限公司 Method and system for acquiring color image by black-and-white camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003070010A (en) * 2001-08-24 2003-03-07 Nikon Corp Two-plate image capture device
JP2005333418A (en) * 2004-05-20 2005-12-02 Tadashi Sugiki Color solid state imaging apparatus
JP2009253616A (en) * 2008-04-04 2009-10-29 Fujifilm Corp Imaging apparatus
JP2010130321A (en) * 2008-11-27 2010-06-10 Sharp Corp Imaging apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003070010A (en) * 2001-08-24 2003-03-07 Nikon Corp Two-plate image capture device
JP2005333418A (en) * 2004-05-20 2005-12-02 Tadashi Sugiki Color solid state imaging apparatus
JP2009253616A (en) * 2008-04-04 2009-10-29 Fujifilm Corp Imaging apparatus
JP2010130321A (en) * 2008-11-27 2010-06-10 Sharp Corp Imaging apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015035782A (en) * 2013-08-09 2015-02-19 オリンパス株式会社 Image processing device, imaging device, microscope system, image processing method, and image processing program
DE112021004549T5 (en) 2020-08-31 2023-08-03 Sony Group Corporation MEDICAL IMAGING SYSTEM, MEDICAL IMAGING DEVICE AND SURGICAL PROCEDURE
CN115460386A (en) * 2022-08-31 2022-12-09 武汉精立电子技术有限公司 Method and system for acquiring color image by using black and white camera
CN115460386B (en) * 2022-08-31 2024-05-17 武汉精立电子技术有限公司 Method and system for acquiring color image by black-and-white camera

Also Published As

Publication number Publication date
JP5673186B2 (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN103444183B (en) Color imaging element and imaging device
US8988546B2 (en) Image processing device, image processing method, image capturing device, and program
JP5298638B2 (en) Image processing apparatus, imaging apparatus, correction coefficient calculation method, and image processing program
TWI387353B (en) Pixel interpolation circuit, pixel interpolation method, and recording medium
JP2008141658A (en) Electronic camera and image processor
JP2007028040A (en) Image processing apparatus
US20150042782A1 (en) Image processing apparatus, imaging apparatus, microscope system, image processing method, and computer readable recording medium
JP5673186B2 (en) Imaging apparatus and interpolation processing method of imaging apparatus
JP2004229055A (en) Image processor
JP3905708B2 (en) Image interpolation device
JP2002112276A (en) Color solid-state image pickup device
JP2009177418A (en) Image processing device, image signal correction method, correction matrix calculation method, and imaging device
KR100894420B1 (en) Apparatus and method for generating image using multi-channel filter
JP2009194721A (en) Image signal processing device, image signal processing method, and imaging device
JP2012173334A (en) Defocus quantity detection device and electronic camera
US8675106B2 (en) Image processing apparatus and control method for the same
JP4962293B2 (en) Image processing apparatus, image processing method, and program
JP2015211347A (en) Image processing apparatus, imaging apparatus, image processing method and program
JP2013172218A (en) Imaging device, image processing method, and program
JP5109911B2 (en) Imaging apparatus and interpolation processing method
JP2009033699A (en) Image processing apparatus, image processing method, program, and imaging apparatus
KR101072877B1 (en) The method for demosaicing color and the apparatus thereof
JP7300962B2 (en) Image processing device, image processing method, imaging device, program, and storage medium
WO2016063316A1 (en) Image processing unit, image pickup device, image processing program, and image processing method
JP4334151B2 (en) Image interpolation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140801

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141215

R150 Certificate of patent or registration of utility model

Ref document number: 5673186

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150