JPH11234690A - Image pickup device - Google Patents

Image pickup device

Info

Publication number
JPH11234690A
JPH11234690A JP10037578A JP3757898A JPH11234690A JP H11234690 A JPH11234690 A JP H11234690A JP 10037578 A JP10037578 A JP 10037578A JP 3757898 A JP3757898 A JP 3757898A JP H11234690 A JPH11234690 A JP H11234690A
Authority
JP
Japan
Prior art keywords
signal
output
color
pixel
horizontal
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
JP10037578A
Other languages
Japanese (ja)
Other versions
JP3926023B2 (en
Inventor
Masako Asamura
まさ子 浅村
Yoshiko Hatano
喜子 幡野
Hiroaki Sugiura
博明 杉浦
Tetsuya Kuno
徹也 久野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP03757898A priority Critical patent/JP3926023B2/en
Publication of JPH11234690A publication Critical patent/JPH11234690A/en
Application granted granted Critical
Publication of JP3926023B2 publication Critical patent/JP3926023B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a high resolution image with doubled resolutions in the horizontal and vertical directions where false color and false contour are reduced by calculating a signal at a prescribed pixel position with signals having doubled resolutions in the horizontal and vertical directions based on a signal from an edge discrimination means. SOLUTION: A multiplexer 7 multiplexes respective signals to obtain a signal with doubled resolutions in the horizontal and vertical directions based on signals R1, G1, B1 of the number of pixels of an image pickup element decoded by a 1st color decoding means 5 and on signals R2, G2, B2 of the number of pixels of the image pickup element decoded by a 2nd color decoding means 6. An edge discrimination means 8 detects a difference in the horizontal and vertical directions based on pixels at left/right/upper/lower pixels at a pixel position of a G signal, discriminates an edge at the surrounding pixels and outputs a signal 'ed' denoting a discrimination result to a selection means 12. The selection means 12 outputs R, G, B signals at respective pixels at the pixel positions, that is, the R, G, B signals with doubled resolutions in the horizontal and vertical directions of the number of pixels of the image pickup element.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、電子スチルカメ
ラのような撮像装置における高画質化、小型化に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to high image quality and miniaturization of an image pickup apparatus such as an electronic still camera.

【0002】[0002]

【従来の技術】従来、電子スチルカメラのような撮像装
置においては、小型化のために1枚の撮像素子(以下、
単板撮像素子と呼ぶ)を用いている。図18は従来の撮
像装置における撮像素子の色フィルタ配列の一例を示す
図である。図において、RはRの光を通過させる分光特
性を持った色フィルタを有した撮像素子であり、同様に
B、Gのついてもそれぞれの色フィルタを有した撮像素
子である。図18に示されるように、nラインにはG、
Rが2画素毎に配列され、n+1ラインではB、Gが2
画素毎に配列されている。したがって、R、B信号は上
下4画素毎(図中の斜線部)に、G信号は2画素毎に得
られることとなり、撮像素子の画素数の各信号を得て、
さらに水平垂直方向各2倍の画素数の解像度への変換を
行う場合、得られている画素信号より補間等の演算処理
を行い撮像素子数のR、G、B信号を生成し、この得ら
れたR、G、B信号のそれぞれを用いて高解像度化を行
うこととなる。
2. Description of the Related Art Conventionally, in an image pickup apparatus such as an electronic still camera, a single image pickup element (hereinafter, referred to as a single image pickup element) has been used for miniaturization.
(Referred to as a single-chip image sensor). FIG. 18 is a diagram illustrating an example of a color filter array of an imaging device in a conventional imaging device. In the figure, R is an image sensor having a color filter having a spectral characteristic that allows light of R to pass therethrough. Similarly, R and B are image sensors having respective color filters. As shown in FIG. 18, G,
R is arranged every two pixels, and B and G are 2 in the (n + 1) th line.
It is arranged for each pixel. Accordingly, the R and B signals are obtained every four pixels in the upper and lower pixels (shaded portions in the drawing), and the G signal is obtained every two pixels.
Further, when the resolution is converted to twice the number of pixels in each of the horizontal and vertical directions, arithmetic processing such as interpolation is performed from the obtained pixel signals to generate R, G, and B signals of the number of imaging elements. The resolution is increased using each of the R, G, and B signals.

【0003】図19は上記図18に示された原色の色フ
ィルタを用いた単板撮像素子において、撮像素子からの
信号よりR、G、B信号を生成し、さらに水平垂直方向
各2倍の解像度の信号を得るための従来の撮像装置の構
成の一例を示すブロック図である。図において、101
は撮像素子、102はA/Dコンバータ、103はフレ
ームメモリ、104はフレームメモリ103における信
号をR、G、Bそれぞれの信号に分離して、各信号の補
間生成を行い撮像素子の画素数の信号を復元する色復元
手段、105は色復元手段104からの信号を水平垂直
方向にそれぞれ2倍の解像度(4倍の画素数の画像)の
信号に変換する解像度変換手段であり、上記撮像素子1
01は、図18に示すような、画素R、G、Bの色フィ
ルタから構成される。
FIG. 19 shows a single-chip image sensor using the primary color filters shown in FIG. 18 that generates R, G, and B signals from signals from the image sensor and further doubles the signals in the horizontal and vertical directions. FIG. 11 is a block diagram illustrating an example of a configuration of a conventional imaging device for obtaining a signal of a resolution. In the figure, 101
Denotes an image sensor; 102, an A / D converter; 103, a frame memory; 104, a signal in the frame memory 103, which is separated into R, G, and B signals; A color restoration unit 105 for restoring a signal is a resolution conversion unit for converting the signal from the color restoration unit 104 into a signal having twice the resolution (an image having four times the number of pixels) in the horizontal and vertical directions, respectively. 1
01 is composed of color filters of pixels R, G, and B as shown in FIG.

【0004】次に、動作を説明する。撮像素子101か
ら各画素信号R、G、Bを読み出し、その出力はA/D
コンバータ102によりA/D変換され、フレームメモ
リ103に各画素信号を取り込む。色復元手段104
は、前記フレームメモリ103に取り込まれた信号か
ら、各信号を分離し、各R、G、B信号において得られ
ていない画素の信号を隣接画素の信号より補間生成し、
撮像素子すべての画素数のRGB信号を算出し出力す
る。
Next, the operation will be described. Each pixel signal R, G, B is read from the image sensor 101, and the output is A / D
A / D conversion is performed by the converter 102, and each pixel signal is taken into the frame memory 103. Color restoration means 104
Separates each signal from the signal taken into the frame memory 103 and interpolates and generates a signal of a pixel not obtained in each of R, G, and B signals from a signal of an adjacent pixel,
It calculates and outputs RGB signals for all pixels of the image sensor.

【0005】ここで、図20は従来の撮像装置における
色復元手段104の構成の一例を示したブロック図であ
り、その動作を説明する。図において、111はフレー
ムメモリ103における信号よりR、G、B信号をそれ
ぞれ分離する分離手段、112は分離された各信号にお
ける得られていない画素信号を隣接画素の信号より補間
生成し、撮像素子すべての画素数のRGB信号を算出し
出力する補間手段である。フレームメモリ103におけ
る信号は分離手段111において各R、G、B信号に分
離され、それぞれを補間手段112へと出力する。分離
手段111により分離されたR、G、B信号は図21
(a)、(b)、(c)に示されるようになり、図中
G、R、Bで示された画素が撮像素子101より得られ
た各信号であり、一方、空白の画素が得られていない画
素信号である。
FIG. 20 is a block diagram showing an example of the configuration of the color restoring means 104 in a conventional image pickup apparatus, and its operation will be described. In the figure, reference numeral 111 denotes a separating unit for separating R, G, and B signals from signals in the frame memory 103, and 112 interpolates and generates a pixel signal that is not obtained in each of the separated signals from a signal of an adjacent pixel. This is interpolation means for calculating and outputting RGB signals of all the pixel numbers. The signal in the frame memory 103 is separated into respective R, G, and B signals by a separation unit 111, and each is output to the interpolation unit 112. The R, G, B signals separated by the separation means 111 are shown in FIG.
(A), (b), and (c), the pixels indicated by G, R, and B in the figure are the respective signals obtained from the image sensor 101, and the blank pixels are obtained. This is a pixel signal that has not been set.

【0006】補間手段112においての補間方法は、G
信号(図21(a))については、垂直nライン、水平
m番目の画素位置の信号g(以下、画素位置(n,m)
と記す。)を補間するために、上下方向の隣接画素の差
分(|G(n−1,m)−G(n+1,m)|)と左右
方向の隣接画素の差分(|G(n,m−1)−G(n,
m+1)|)を求め、この差分が少ない方向の画素信号
により補間する。例えば、左右方向の隣接画素の差分が
少ない場合は、g(n,m)=(G(n,m−1)+G
(n,m+1))/2として算出し、上下方向の隣接画
素の差分が少ない場合は、g(n,m)=(G(n−
1,m)+G(n+1,m))/2として算出する。
[0006] The interpolation method in the interpolation means 112 is G
As for the signal (FIG. 21A), a signal g (hereinafter, pixel position (n, m)) at the vertical n-th line and horizontal m-th pixel position
It is written. ) To interpolate the difference (| G (n−1, m) −G (n + 1, m) |) in the vertical direction and the difference (| G (n, m−1) in the horizontal pixel. ) -G (n,
m + 1) |), and interpolates the pixel signals in the direction in which the difference is small. For example, if the difference between adjacent pixels in the left-right direction is small, g (n, m) = (G (n, m-1) + G
(N, m + 1)) / 2, and when the difference between adjacent pixels in the vertical direction is small, g (n, m) = (G (n−
1, m) + G (n + 1, m)) / 2.

【0007】RおよびB信号(図21(b)および
(c))については、まず水平方向の画素の補間を行
い、次に垂直方向で補間を行う。例えば図21(b)の
Rについては、垂直n−1ライン、n+1ラインでの補
間を行い、画素位置(n−1,m)(n+1,m)の信
号を、 r(n−1,m)=(R(n−1,m−1)+R(n−
1,m+1))/2 r(n+1,m)=(R(n+1,m−1)+R(n+
1,m+1))/2 のように算出し、つぎにnラインの画素を上下(n−1
およびn+1ライン)の画素の補間により各水平画素位
置m−1、m、m+1の信号を求める。Bについても同
様な方法で得られる。
For the R and B signals (FIGS. 21 (b) and (c)), first, horizontal pixel interpolation is performed, and then vertical interpolation is performed. For example, for R in FIG. 21B, interpolation is performed on the vertical n-1 line and the n + 1 line, and the signal at the pixel position (n-1, m) (n + 1, m) is converted into r (n-1, m). ) = (R (n-1, m-1) + R (n-
1, m + 1)) / 2 r (n + 1, m) = (R (n + 1, m-1) + R (n +
1, m + 1)) / 2, and then the pixels of the n-th line are moved up and down (n-1).
And n + 1 lines), the signal of each horizontal pixel position m-1, m, m + 1 is obtained. B can be obtained in a similar manner.

【0008】以上の補間方法により、補間手段112の
出力において、撮像素子すべての画素数のR、G、B信
号を算出することができる。
By the above-described interpolation method, it is possible to calculate R, G, and B signals of the number of pixels of all the image pickup devices at the output of the interpolation means 112.

【0009】次に、単板撮像素子からの信号を撮像素子
の画素数の解像度へ復元した信号から水平垂直方向各2
倍の解像度への向上を行うため、上記補間手段112か
らの出力であるR、G、B信号を解像度変換手段105
へと入力する。
Next, the signal from the single-chip image pickup device is restored to the resolution of the number of pixels of the image pickup device by two signals in the horizontal and vertical directions.
In order to improve the resolution twice, the R, G, and B signals output from the interpolation means 112 are converted to resolution conversion means 105.
Enter to.

【0010】解像度変換手段105では入力されたR、
G、B信号をそれぞれ水平垂直方向に、それぞれ2倍の
解像度の信号(4倍の画素数の画像)にする。例えば、
撮像素子の画素数が垂直Nライン水平M画素のN×M画
素の場合、色復元手段104からは復元されたN×M画
素のR、G、B信号が出力されており、解像度変換手段
105では垂直2Nライン水平2M画素の2N×2M画
素の解像度の信号として出力する。解像度を変換する
(高解像度化)方法は、色復元手段104の出力におい
て画素位置(n,m)の信号を2N×2M画素の信号で
の画素位置(2n、2m)とし、この画素に隣接する
(2n、2m+1)、(2n+1、2m)、(2n+
1、2m+1)の画素も同一の値とする。図22に各信
号での例を示し、図22(a)では、色復元手段104
の出力において画素位置(n、m)の信号R1を水平垂
直方向各2倍の解像度の信号での画素(2n、2m)、
(2n、2m+1)、(2n+1、2m)、(2n+
1、2m+1)の値としていることを示す。なお、他の
画素位置および信号についても同様にして行う。従っ
て、2N×2M画素の信号の上下左右4画素を、色復元
手段104からのN×M画素の信号での画素位置(n,
m)の値とすることにより、2N×2M画素のR、G、
B各信号を得られる。
In the resolution conversion means 105, the input R,
The G and B signals are each converted into a signal of twice the resolution (an image with four times the number of pixels) in the horizontal and vertical directions. For example,
When the number of pixels of the image sensor is N × M pixels of vertical N lines and horizontal M pixels, the restored R, G, and B signals of N × M pixels are output from the color restoring unit 104, and the resolution converting unit 105 In this case, a signal having a resolution of 2N × 2M pixels of 2N pixels in a vertical 2N line and horizontal is output. In the method of converting the resolution (improving the resolution), the signal of the pixel position (n, m) in the output of the color restoring unit 104 is set to the pixel position (2n, 2m) of the signal of 2N × 2M pixels, and is adjacent to this pixel. (2n, 2m + 1), (2n + 1, 2m), (2n +
The pixels of (1, 2m + 1) have the same value. FIG. 22 shows an example of each signal. In FIG.
, The signal R1 at the pixel position (n, m) is converted into a pixel (2n, 2m) with a signal of twice the resolution in the horizontal and vertical directions,
(2n, 2m + 1), (2n + 1, 2m), (2n +
1, 2m + 1). The same applies to other pixel positions and signals. Therefore, the four pixels in the upper, lower, left and right directions of the 2N × 2M pixel signal are determined by the pixel position (n,
m), R, G, 2N × 2M pixels
B signals can be obtained.

【0011】なお、上記の説明では解像度変換手段10
5での高解像度化の方法を上下左右4画素に同一値を入
れて水平垂直方向各2倍の画素にする場合としている
が、色復元手段104からのN×M画素の信号での水平
および垂直方向の隣接画素による補間により生成する場
合も考えられる。
In the above description, the resolution conversion means 10
The method of increasing the resolution at 5 is a case where the same value is inserted into the four pixels in the upper, lower, left and right directions to make the pixels twice as large in the horizontal and vertical directions. It is also conceivable that the image is generated by interpolation using adjacent pixels in the vertical direction.

【0012】また、図23は特開平6−178307号
公報に示された上下2画素を混合して読み出す画素混合
方式の単板撮像素子による従来の撮像装置における色復
元手段の他の構成の例を示すブロック図であり、上記の
従来例と同様、撮像素子からの信号を水平走査3ライン
から補間生成するよう構成する場合のブロック図を示し
たものである。同図において、113は撮像素子、11
4はフレームメモリ、115は信号選択回路、116は
色補間回路、117はRGBマトリクスであり、信号選
択回路115からRGBマトリクス117により色復元
手段を構成することとなる。撮像素子113は、図23
に示すように、4つの画素A,B,C,D(以下、各画
素信号に付けられた番号は画素位置を示す)から構成さ
れ、画素混合読み出しにより色信号が生成できるように
A、Bの画素が1ライン毎に交互に配列される。
FIG. 23 shows another example of the structure of the color restoring means in a conventional image pickup apparatus using a single-plate image pickup device of a pixel mixing system disclosed in Japanese Patent Application Laid-Open No. 6-178307. FIG. 7 is a block diagram showing a case where a signal from an image sensor is generated by interpolation from three horizontal scanning lines, similarly to the above-described conventional example. In the figure, 113 is an image sensor, 11
Reference numeral 4 denotes a frame memory, 115 denotes a signal selection circuit, 116 denotes a color interpolation circuit, and 117 denotes an RGB matrix. The signal selection circuit 115 and the RGB matrix 117 constitute a color restoration unit. The image pickup device 113 shown in FIG.
, Four pixels A, B, C, and D (the numbers given to the respective pixel signals indicate pixel positions), and A, B are generated so that color signals can be generated by pixel mixture readout. Of pixels are alternately arranged for each line.

【0013】次に、図23における動作を説明する。撮
像素子113から画素混合読み出しせずそのまま各画素
信号を読み出しA/D変換した後(図示せず)、フレー
ムメモリ114に各画素信号を取り込む。前記フレーム
メモリ114に取り込まれた信号から、信号選択回路1
15により隣接した垂直3ラインの信号を選択し、色補
間回路116へと送る。色補間回路116では、上記垂
直3ラインの信号から各色信号A、B、C、Dを補間生
成した後、RGBマトリクス回路117によりRGB信
号として出力される。
Next, the operation in FIG. 23 will be described. Each pixel signal is read out from the image sensor 113 as it is without performing pixel mixture readout and A / D converted (not shown), and then each pixel signal is taken into the frame memory 114. From the signals captured in the frame memory 114, the signal selection circuit 1
A signal of three adjacent vertical lines is selected by 15 and sent to the color interpolation circuit 116. The color interpolation circuit 116 interpolates and generates the color signals A, B, C, and D from the signals of the three vertical lines, and outputs the signals as RGB signals by the RGB matrix circuit 117.

【0014】ここで、上記色補間回路116では各色信
号を補間生成するのであるが、この補間方法について説
明する。例えば、n2ラインの色信号補間生成では、信
号選択回路115により垂直3ラインn1,n2,n3
の信号が選択されて色補間回路117へと送られてお
り、n2ラインにおいて得られている色信号はC、D画
素であり、A,Bの画素はない。従って、A,Bの画素
については垂直方向でのn1、n3ラインの信号より補
間するのであるが、n1、n3ラインではA,Bの画素
位置が異なるので、水平方向の補間係数を変えることと
なる。いま、補間後の色信号のn2ラインの3番目の画
素(n2,3)に対し、補間前の水平5画素より各色信
号A′、B′、C′、D′を補間生成するとすると、例
えば、C′、D′については、水平方向のみ中心に重み
をつけて補間生成し、 C23′=(C21/2+ C23+C25/2)/2 D23′=(D22+D24)/2 とする。一方、 A′、B′に対しては、 A23′=(A11/4+A13/2+A15/4 )/2+
(A31/4+A33/2+A3 5/4)/2 B23′=(B12/2+ B14/2)/2+(B32/2+
34/2)/2 なる式から水平画素に重みをつけ補間することができ
る。
Here, the color interpolation circuit 116 interpolates and generates each color signal. This interpolation method will be described. For example, in the color signal interpolation generation of the n2 line, the signal selection circuit 115 causes the three vertical lines n1, n2, n3
Are selected and sent to the color interpolation circuit 117. The color signals obtained in the n2 line are C and D pixels, and there are no A and B pixels. Therefore, the pixels A and B are interpolated based on the signals of the n1 and n3 lines in the vertical direction. However, since the positions of the pixels A and B are different in the n1 and n3 lines, it is necessary to change the interpolation coefficient in the horizontal direction. Become. Now, assuming that the color signals A ′, B ′, C ′, and D ′ are generated by interpolation from the five horizontal pixels before interpolation for the third pixel (n2, 3) of the n2 line of the color signal after interpolation. , C ', D' for interpolates generated weighted horizontally only center, C 23 '= (C 21 /2 + C 23 + C 25/2) / 2 D 23' = (D 22 + D 24) / 2. On the other hand, A ', B' for the, A 23 '= (A 11 /4 + A 13/2 + A 15/4) / 2 +
(A 31/4 + A 33 /2 + A 3 5/4) / 2 B 23 '= (B 12/2 + B 14/2) / 2 + (B 32/2 +
From the formula B 34/2 ) / 2, horizontal pixels can be weighted and interpolated.

【0015】次に、n3ラインの色信号の補間生成で
は、A、Bの画素はn3ラインから補間生成し、C、D
画素についてはn2、n4ラインから補間生成する。つ
まり、画素位置(3、3)において、例えば、 A33′=(A32+A34)/2 B33′=(B31/2+B33+B35/2)/2 C33′=(C21/4+C23/2+C25/4)/2+(C
41/4+C43/2+C45/4)/2 D33′=(D22/2+D24/2)/2+(D42/2+D
44/2)/2 となる。
Next, in the interpolation generation of the color signal of the n3 line, the pixels of A and B are generated by interpolation from the n3 line, and C, D
Pixels are generated by interpolation from lines n2 and n4. That is, in the pixel position (3,3), for example, A 33 '= (A 32 + A 34) / 2 B 33' = (B 31/2 + B 33 + B 35/2) / 2 C 33 '= (C 21 / 4 + C 23/2 + C 25/4) / 2 + (C
41/4 + C 43/2 + C 45/4) / 2 D 33 '= (D 22/2 + D 24/2) / 2 + (D 42/2 + D
44/2 ) / 2.

【0016】以下、A,Bの画素配置がライン毎で入れ
替わることを考慮し、n4ラインでは、画素位置(4、
3)に対し、 A43′=(A31/4+A33/2+A35/4)/2+(A
51/4+A53/2+A55/4)/2 B43′=(B32/2+B34/2)/2+(B52/2+B
54/2)/2 C43′=(C41/2+C43+C45/2)/2 D43′=(D42+D44)/2 n5ラインでは、画素位置(5、3)に対し、 A53′=(A52+A54)/2 B53′=(B52+B54)/2 C53′=(C41/4+C43/2+C45/4)/2+(C
61/4+C62/2+C65/4)/2 D53′=(D42/2+D44/2)/2+(D62/2+D
64/2)/2 となる。以後、上記n2、n3,n4、n5ラインでの
補間方法を順次繰り返すことにより、色信号A′、
B′、C′、D′を生成することとなる。
In consideration of the fact that the pixel arrangements of A and B are switched for each line, the pixel positions (4,
3), A 43 ′ = (A 31/4 + A 33/2 + A 35/4 ) / 2 + (A
51/4 + A53 / 2 + A55 / 4) / 2 B43 '= ( B32 / 2 + B34 / 2) / 2 + ( B52 / 2 + B
54/2) / 2 C 43 '= (C 41/2 + C 43 + C 45/2) / 2 D 43' = (D 42 + D 44) / 2 In n5 line, to the pixel position (5,3), A 53 '= ( A52 + A54 ) / 2 B53 ' = ( B52 + B54 ) / 2 C53 '= ( C41 / 4 + C43 / 2 + C45 / 4) / 2 + (C
61/4 + C62 / 2 + C65 / 4) / 2 D53 '= ( D42 / 2 + D44 / 2) / 2 + ( D62 / 2 + D
64/2 ) / 2. Thereafter, the color signals A ′,
B ', C', and D 'will be generated.

【0017】そして、上記補間生成されたA、B、C、
D信号はRGBマトリクス回路117によりRGB信号
として出力され、上記図19の解像度変換手段に送られ
て水平垂直方向各2倍の解像度の信号に変換されること
となる。なお、上記では、4つの色信号をA,B,C,
Dとして説明しているが、これは、例えば、Mg(マゼ
ンダ)、G(グリーン)、Cy(シアン)、Ye(イエ
ロー)の4色が考えられ、また、色補間回路117での
補間係数については色信号を補間生成できる係数であれ
ばよい。
The interpolation-generated A, B, C,
The D signal is output as an RGB signal by the RGB matrix circuit 117, sent to the resolution conversion means shown in FIG. 19, and converted into a signal having twice the resolution in the horizontal and vertical directions. In the above description, the four color signals are A, B, C,
Although described as D, for example, four colors of Mg (magenta), G (green), Cy (cyan), and Ye (yellow) can be considered. May be any coefficient that can generate a color signal by interpolation.

【0018】[0018]

【発明が解決しようとする課題】従来の撮像装置は、単
板撮像素子において、撮像素子の画素数の信号を復元し
た後水平垂直方向にそれぞれ2倍の解像度に高解像度化
する際、上下左右4画素に同一の値を入れて4倍の画素
の信号にするように、または、隣接画素との補間により
4倍の画素の信号にするよう構成されており、水平垂直
方向各2倍の解像度の画像におけるエッジ等局所的な領
域での信号の変化を考慮しておらず、そのため、偽色、
偽輪郭が生じるという問題点があり、また、全ての信号
における水平垂直の両方向の解像度の向上について考慮
していないという問題点があった。
In a conventional image pickup device, when a single-chip image pickup device restores a signal of the number of pixels of the image pickup device and increases the resolution to twice the resolution in the horizontal and vertical directions, the image pickup device moves up, down, left and right. The same value is put in four pixels to make a signal of four times the pixel, or a signal of four times the pixel is obtained by interpolation with adjacent pixels, and the resolution is twice as high in the horizontal and vertical directions. Does not take into account changes in the signal in local areas such as edges in the image of
There is a problem that false contours are generated, and there is a problem that improvement in resolution in both horizontal and vertical directions in all signals is not considered.

【0019】この発明は上記のような問題点を解消する
ためになされたもので、斜め方向に半画素ずらして配置
された2枚の撮像素子を備え、第1および第2の撮像素
子により読み出された色信号より各撮像素子に対して撮
像素子の画素数分の解像度の色信号を復元生成する色信
号復元手段と、前記色信号復元手段からの出力である上
記第1および第2の撮像素子からの信号より復元された
各信号により各撮像素子の画素数の水平垂直方向各2倍
の解像度の信号の画素を得る手段と、前記得られた水平
垂直方向各2倍の解像度の信号での所定画素位置におけ
る周辺画素のエッジ成分を判定する第1のエッジ判定手
段を備えるとともに、前記第1のエッジ判定手段からの
信号に基づき、水平垂直方向各2倍の解像度の信号での
所定画素位置の信号を算出することにより、偽色、偽輪
郭の軽減された水平垂直方向各2倍の解像度の高解像度
画像を得ることができ、かつ、水平、垂直方向における
解像度を向上することができる撮像装置を得ることを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has two image sensors which are arranged to be shifted by half a pixel in an oblique direction, and which is read by a first and a second image sensor. A color signal restoring unit for restoring and generating a color signal having a resolution corresponding to the number of pixels of the image sensor for each image sensor from the output color signals; and the first and second outputs, which are outputs from the color signal restoring unit. Means for obtaining a pixel of a signal having a resolution of twice the number of pixels of each image sensor in each of the horizontal and vertical directions from each signal restored from a signal from the image sensor, and a signal having a resolution of twice each of the obtained horizontal and vertical directions. And a first edge determining means for determining an edge component of a peripheral pixel at a predetermined pixel position at the predetermined pixel position. Based on a signal from the first edge determining means, a predetermined signal having a resolution of twice each in the horizontal and vertical directions is provided. Pixel position signal , A high-resolution image with twice the resolution in the horizontal and vertical directions with reduced false colors and false contours can be obtained, and the resolution in the horizontal and vertical directions can be improved. The purpose is to gain.

【0020】[0020]

【課題を解決するための手段】この発明に係る撮像装置
は、斜め方向に半画素ずらして配置された2枚の撮像素
子を備えた撮像装置において、第1および第2の撮像素
子により読み出された色信号より各撮像素子に対して撮
像素子の画素数分の解像度の色信号を復元生成する色信
号復元手段と、前記色信号復元手段からの出力である上
記第1および第2の撮像素子からの信号より復元された
各信号により各撮像素子の画素数の水平垂直方向各2倍
の解像度の信号の画素を得る手段と、前記得られた水平
垂直方向各2倍の解像度の信号での所定画素位置におけ
る周辺画素のエッジ成分を判定する第1のエッジ判定手
段を備えるとともに、前記第1のエッジ判定手段からの
信号に基づき、水平垂直方向各2倍の解像度の信号での
所定画素位置の信号を算出する手段を有するものであ
る。
An image pickup apparatus according to the present invention comprises an image pickup apparatus having two image pickup elements which are displaced by a half pixel in an oblique direction, and is read by the first and second image pickup elements. A color signal restoring unit for restoring and generating a color signal having a resolution corresponding to the number of pixels of the image pickup device for each image pickup device from the obtained color signal, and the first and second imagings which are outputs from the color signal restoring unit Means for obtaining a pixel of a signal having a resolution twice as large as the number of pixels of each image sensor in the horizontal and vertical directions from each signal restored from the signal from the element, and a signal having a resolution twice as large as the obtained horizontal and vertical directions. A first edge determination means for determining an edge component of a peripheral pixel at a predetermined pixel position, and a predetermined pixel in a signal having a resolution of twice each in the horizontal and vertical directions based on a signal from the first edge determination means. Position information And has a means for calculating.

【0021】また、この発明に係る撮像装置は、前記第
1のエッジ判定手段が、所定の信号での所定画素におけ
る左右の隣接画素の差の絶対値を算出して水平方向のエ
ッジ成分を検出する手段と、上下の画素の差の絶対値を
算出して垂直方向のエッジ成分を検出する手段と、前記
水平方向のエッジ成分を検出する手段と垂直方向エッジ
成分を検出する手段からの出力に基づき、前記所定画素
における水平または垂直方向のエッジ成分を判定するも
のである。
Further, in the image pickup apparatus according to the present invention, the first edge determination means detects an edge component in a horizontal direction by calculating an absolute value of a difference between right and left adjacent pixels in a predetermined pixel in a predetermined signal. Means for calculating the absolute value of the difference between the upper and lower pixels to detect a vertical edge component; and means for detecting the horizontal edge component and the means for detecting the vertical edge component. Based on this, the horizontal or vertical edge component of the predetermined pixel is determined.

【0022】また、この発明に係る撮像装置は、前記第
1のエッジ判定手段におけるエッジ成分の判定が、上記
水平方向のエッジ成分を検出する手段からの出力または
上記垂直方向のエッジ成分を検出する手段からの出力が
予め定めた値より大きい場合は、上記所定画素の周辺画
素にエッジ成分を検出したとし、さらに、水平方向のエ
ッジ成分を検出する手段からの出力が上記垂直方向のエ
ッジ成分を検出する手段の出力より大きい場合は垂直方
向により相関があり、水平方向エッジ成分を検出する手
段の出力が上記垂直方向エッジ成分を検出する手段出力
より小さい場合は水平方向により相関があると判定する
とともに、上記水平方向エッジ成分を検出する手段およ
び垂直方向エッジ成分を検出する手段の出力がともに予
め定めた値より小さい場合にはエッジ成分を検出しない
と判定するものである。
In the imaging apparatus according to the present invention, the edge component determination in the first edge determination means detects an output from the horizontal edge component detection means or the vertical edge component detection. If the output from the means is larger than a predetermined value, it is determined that an edge component has been detected in a peripheral pixel of the predetermined pixel. If the output of the detecting means is larger than the output of the means for detecting the vertical edge component, it is determined that there is a correlation in the horizontal direction. In addition, the outputs of the means for detecting the horizontal edge component and the means for detecting the vertical edge component are both smaller than a predetermined value. When have are those determined not to detect the edge components.

【0023】また、この発明に係る撮像装置は、上記水
平垂直方向各2倍の解像度の信号での所定画素位置の信
号を算出する手段が、所定画素位置における信号それぞ
れに対し、上下の画素の平均値より信号を算出する垂直
方向算出手段と、左右の画素の平均値より信号を算出す
る水平方向算出手段と、上下左右の隣接画素の平均値よ
り信号を算出する平均値算出手段とを備え、上記第1の
エッジ判定手段の出力に基づき、上記水平方向算出手段
の出力または垂直方向算出手段出力、または、平均値算
出手段からの出力より選択し、上記所定画素での信号を
得て、撮像素子における画素数の水平垂直方向各2倍の
解像度の各信号を得るものである。
In the imaging apparatus according to the present invention, the means for calculating a signal at a predetermined pixel position in the signal having a resolution twice as high in the horizontal and vertical directions may include: Vertical direction calculating means for calculating a signal from the average value, horizontal direction calculating means for calculating a signal from the average value of the left and right pixels, and average value calculating means for calculating a signal from the average value of the upper, lower, left and right adjacent pixels are provided. Based on the output of the first edge determination means, select from the output of the horizontal direction calculation means or the output of the vertical direction calculation means, or the output from the average value calculation means, obtain a signal at the predetermined pixel, This is to obtain each signal having a resolution twice as large as the number of pixels in the image sensor in the horizontal and vertical directions.

【0024】また、この発明に係る撮像装置は、上記水
平垂直方向各2倍の解像度の信号での所定画素位置の信
号を算出する手段が、所定画素位置において上記第1の
エッジ判定手段の出力がエッジ成分を検出しないと判定
した場合は上記平均値算出手段の出力を選択し、垂直方
向に相関があると判定した場合は上記垂直方向算出手段
の出力を選択し、水平方向に相関があると判定した場合
は上記水平方向算出手段の出力を選択するものである。
Further, in the imaging apparatus according to the present invention, the means for calculating the signal at a predetermined pixel position in the signal having a resolution twice as high in the horizontal and vertical directions may include an output of the first edge determination means at the predetermined pixel position. If it is determined that no edge component is detected, the output of the average value calculating means is selected, and if it is determined that there is a correlation in the vertical direction, the output of the vertical direction calculating means is selected, and there is a correlation in the horizontal direction. If the judgment is made, the output of the horizontal direction calculation means is selected.

【0025】また、この発明に係る撮像装置は、上記斜
め方向に半画素ずらして配置された2枚の撮像素子それ
ぞれにおいて、各撮像素子が、垂直2行水平2列の上下
4画素において、第1の色信号に対する分光感度特性を
持つ第1の色フィルタと第2の色信号に対する分光感度
特性を持つ第2の色フィルタとが垂直1行目に配列さ
れ、垂直2行目には上記垂直1行目の第1の色フィルタ
が配列された画素位置と同一の列に第3の色信号に対す
る分光感度特性を持つ第3の色フィルタが配列され、第
2の色フィルタと同一の列に第1の色信号に対する分光
感度特性を持つ第1の色フィルタが配列されており、上
記上下4画素の色フィルタが順次垂直および水平方向に
繰り返し配列された撮像素子であり、各撮像素子からの
色信号に対して撮像素子の画素数分の解像度の色信号を
復元生成する上記色信号復元手段が、上記第1の色フィ
ルタによる第1の色信号の所定画素位置での周辺画素信
号に基づき、所定画素位置におけるエッジ成分を判定す
る第2のエッジ判定手段と、前記第2のエッジ判定手段
の出力に基づき、上記第1、第2、第3の色フィルタに
より読み出された第1、第2および第3の色信号により
第1の色信号における上記所定位置での信号を算出する
第1の算出手段と、上記第2のエッジ判定手段の出力に
基づき、上記第1の算出手段の出力と色フィルタからの
第2および第3の色信号により第2および第3の色信号
を算出する第2の算出手段とを備え、上記撮像素子にお
ける画素数の第1、第2、第3の色信号を得るととも
に、上記第1のエッジ判定手段が、上記第1の色信号に
よる上記水平垂直方向各2倍の解像度の信号の画素を得
る手段から出力される信号に対し、所定画素位置におけ
る周辺画素のエッジ成分を判定するものである。
In the image pickup apparatus according to the present invention, in each of the two image pickup elements which are displaced by a half pixel in the oblique direction, each of the image pickup elements has a vertical two-row horizontal two-column upper and lower four pixels. A first color filter having a spectral sensitivity characteristic for one color signal and a second color filter having a spectral sensitivity characteristic for a second color signal are arranged in the first vertical line, and the second vertical line in the second vertical line. A third color filter having a spectral sensitivity characteristic for the third color signal is arranged in the same column as the pixel position where the first color filter in the first row is arranged, and is arranged in the same column as the second color filter. A first color filter having a spectral sensitivity characteristic with respect to a first color signal is arranged, and the upper and lower four-pixel color filters are sequentially and vertically and horizontally repeatedly arranged. Imaging for color signals The color signal restoring means for restoring and generating a color signal having a resolution corresponding to the number of child pixels is provided based on a peripheral pixel signal of the first color signal at a predetermined pixel position by the first color filter. A second edge determining means for determining a component, and first, second and third color filters read out by the first, second and third color filters based on an output of the second edge determining means. A first calculating means for calculating a signal at the predetermined position in the first color signal based on the color signal; and an output from the first calculating means and a color filter based on an output from the second edge determining means. A second calculating means for calculating the second and third color signals from the second and third color signals to obtain first, second and third color signals of the number of pixels in the image sensor. , The first edge determining means is With respect to the signal output from the means for obtaining the first pixel of the horizontal and vertical directions each 2 times the resolution of the signal by the color signal, and determines the edge component of the surrounding pixels at a given pixel position.

【0026】また、この発明に係る撮像装置は、上記色
復元手段における第2のエッジ判定手段が、第1の色信
号の所定画素位置における左右の隣接画素の差の絶対値
を算出して水平方向のエッジ成分を検出する水平方向エ
ッジ検出手段と、第1の色信号の所定画素位置における
上下の画素の差の絶対値を算出して垂直方向のエッジ成
分を検出する垂直方向エッジ検出手段と、前記水平方向
エッジ検出手段と垂直方向エッジ検出手段からの出力に
基づき、前記所定画素における水平または垂直方向のエ
ッジ成分を判定する判定手段を備えるとともに、前記判
定手段が、上記水平方向エッジ検出手段からの出力また
は上記垂直方向エッジ検出手段からの出力が予め定めた
値より大きい場合は、上記所定画素の周辺画素にエッジ
成分を検出したとし、さらに、水平方向エッジ検出手段
からの出力が上記垂直方向エッジ検出手段の出力より大
きい場合は垂直方向により相関があり、水平方向エッジ
検出手段からの出力が上記垂直方向エッジ検出手段の出
力より小さい場合は水平方向により相関があると判定す
るとともに、上記水平方向エッジ検出手段および垂直方
向エッジ検出手段からの出力がともに予め定めた値より
小さい場合にはエッジ成分を検出しないと判定するもの
である。
Further, in the image pickup apparatus according to the present invention, the second edge determining means in the color restoring means calculates an absolute value of a difference between left and right adjacent pixels at a predetermined pixel position of the first color signal, and performs horizontal scanning. Horizontal edge detection means for detecting an edge component in the direction, and vertical edge detection means for calculating an absolute value of a difference between upper and lower pixels at a predetermined pixel position of the first color signal to detect a vertical edge component. Determining means for determining a horizontal or vertical edge component of the predetermined pixel based on outputs from the horizontal edge detecting means and the vertical edge detecting means, wherein the determining means comprises the horizontal edge detecting means. If the output from the vertical edge detecting means is larger than a predetermined value, it is determined that an edge component has been detected in the peripheral pixels of the predetermined pixel. Further, when the output from the horizontal edge detecting means is larger than the output from the vertical edge detecting means, there is a correlation in the vertical direction, and the output from the horizontal edge detecting means is smaller than the output from the vertical edge detecting means. In this case, it is determined that there is a correlation in the horizontal direction, and if both the outputs from the horizontal edge detection means and the vertical edge detection means are smaller than a predetermined value, it is determined that no edge component is detected. .

【0027】また、この発明に係る撮像装置は、上記色
復元手段における第1の色信号での所定位置に対する信
号を算出する第1の算出手段が、第2の色信号Bのある
所定画素l行m列B(l、m)の位置において、第1の
色信号A、第2の色信号Bのそれぞれに対し水平方向の
ローパスフィルタを介した値Ahlpf(l、m)、B
hlpf(l、m)を算出し、前記水平方向ローパスフ
ィルタからの出力信号であるAhlpf(l、m)とB
hlpf(l、m)との比と上記画素位置の画素値B
(l、m)により、l行m列の第1の色信号Aにおける
画素値A(l、m)を、A(l、m)=B(l、m)×
{Ahlpf(l、m)/Bhlpf(l、m)}によ
り算出し、第3の色信号Cのある他の画素位置において
も同様に第1の色信号Aにおける画素値を算出する水平
方向信号算出手段と、上記所定画素l行m列B(l、
m)の位置において、第1の色信号A、第2の色信号B
のそれぞれに対し垂直方向のローパスフィルタを介した
値Avlpf(l、m)、Bvlpf(l、m)を算出
し、前記垂直方向ローパスフィルタからの出力信号であ
るAvlpf(l、m)とBvlpf(l、m)との比
と上記画素位置の画素値B(l、m)により、l行m列
の第1の色信号Aにおける画素値A(l、m)を、A
(l、m)=B(l、m)×{Avlpf(l、m)/
Bvlpf(l、m)}により算出し、第3の色信号C
のある他の画素位置においても同様に第1の色信号Aに
おける画素値を算出する垂直方向信号算出手段と、第1
の色信号Aにおける上記所定画素l行m列の位置での上
下左右の隣接画素の平均値よりl行m列の第1の色信号
Aにおける画素値A(l、m)を算出する平均値算出手
段とを備え、上記第2のエッジ判定手段の出力に基づ
き、上記水平方向信号算出手段の出力または垂直方向信
号算出手段出力、または、平均値算出手段からの出力よ
り選択し、上記所定画素l行m列における第1の色信号
Aの画素値A(l、m)を得て、撮像素子における画素
数の第1の色信号を得るものである。
Further, in the image pickup apparatus according to the present invention, the first calculating means for calculating the signal for the predetermined position in the first color signal in the color restoring means includes a predetermined pixel l of the second color signal B. At the position of the row m column B (l, m), the values Ahlpf (l, m), B of the first color signal A and the second color signal B are respectively passed through the horizontal low-pass filter.
hlpf (l, m) is calculated, and Ahlpf (l, m), which is an output signal from the horizontal low-pass filter, and B
hlpf (l, m) and the pixel value B at the above pixel position
By (l, m), the pixel value A (l, m) in the first color signal A in l rows and m columns is represented by A (l, m) = B (l, m) ×
A horizontal signal that is calculated by {Ahlpf (l, m) / Bhlpf (l, m)} and similarly calculates a pixel value of the first color signal A at some other pixel position of the third color signal C Calculating means, and the predetermined pixel l row m column B (l,
m), the first color signal A and the second color signal B
, Avlpf (l, m) and Bvlpf (l, m) are calculated via a vertical low-pass filter, and the output signals from the vertical low-pass filter are Avlpf (l, m) and Bvlpf (l, m). The pixel value A (l, m) in the first color signal A of l rows and m columns is calculated by the ratio of A (l, m) to the pixel value B (l, m) at the pixel position.
(L, m) = B (l, m) × {Avlpf (l, m) /
Bvlpf (l, m)} to calculate the third color signal C
A vertical direction signal calculating means for calculating a pixel value of the first color signal A at another pixel position having
Average value for calculating the pixel value A (l, m) in the first color signal A of l rows and m columns from the average value of the upper, lower, left and right adjacent pixels at the position of the predetermined pixel l rows and m columns in the color signal A Calculating means, based on the output of the second edge determining means, selecting from the output of the horizontal direction signal calculating means or the output of the vertical direction signal calculating means, or the output from the average value calculating means, A pixel value A (l, m) of the first color signal A in l rows and m columns is obtained, and a first color signal of the number of pixels in the image sensor is obtained.

【0028】また、この発明に係る撮像装置は、前記色
復元手段における第1の算出手段が、上記第2のエッジ
判定手段の出力が所定画素l行m列の位置においてエッ
ジ成分を検出しないと判定した場合は上記平均値算出手
段の出力を選択し、垂直方向に相関があると判定した場
合は上記垂直方向信号算出手段の出力を選択し、水平方
向に相関があると判定した場合は上記水平方向信号算出
手段の出力を選択し、撮像素子における画素数の第1の
色信号を得るものである。
Further, in the image pickup apparatus according to the present invention, the first calculating means in the color restoring means may detect that the output of the second edge determining means does not detect an edge component at a position of a predetermined pixel at l rows and m columns. If it is determined, the output of the average value calculation means is selected.If it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculation means is selected.If it is determined that there is a correlation in the horizontal direction, The output of the horizontal direction signal calculation means is selected to obtain a first color signal of the number of pixels in the image sensor.

【0029】また、この発明に係る撮像装置は、上記色
復元手段における第2の算出手段が、所定画素l行m列
の位置において、上記第1の算出手段からの出力Aに対
し水平方向のローパスフィルタを介した値A1hlpf
(l、m)と垂直方向ローパスフィルタを介した値A1
vlpf(l、m)を算出し、第2の色信号Bに対して
水平方向のローパスフィルタを介した値B1hlpf
(l、m)と第3の色信号Cに対し垂直方向のローパス
フィルタを介した値C1vlpf(l、m)(または、
第2の色信号Bに対して垂直方向のローパスフィルタを
介した値B1vlpf(l、m)と第3の色信号Cに対
して水平方向のローパスフィルタを介した値C1hlp
f(l、m))とを算出し、A1hlpf(l、m)と
B1hlpf(l、m)との比(または、C1hlpf
(l、m)との比)と、A1vlpf(l、m)とC1
vlpf(l、m)との比(または、B1vlpf
(l、m)との比)と、上記第1の算出手段からの出力
Aにおける所定画素l行m列での画素値A(l、m)か
ら、l行m列の第2の色信号Bと第3の色信号Cにおけ
る画素値B(l、m)とC(l、m)を、B(l、m)
=A(l、m)×{B1hlpf(l、m)/A1hl
pf(l、m)}、C(l、m)=A(l、m)×{C
1vlpf(l、m)/A1vlpf(l、m)}(ま
たは、B(l、m)=A(l、m)×{B1vlpf
(l、m)/A1vlpf(l、m)}、C(l、m)
=A(l、m)×{C1hlpf(l、m)/A1hl
pf(l、m)})により算出する信号算出手段を備え
るとともに、上記l行m列の位置とは異なる所定画素x
行y列の位置において、上記第1の算出手段からの出力
Aに対し水平方向のローパスフィルタを介した値A2h
lpf(x、y)、前記信号算出手段からの出力での第
2の色信号Bに対し水平方向のローパスフィルタを介し
た値B2hlpf(x、y)を算出し、A2hlpf
(x、y)とB2hlpf(x、y)の比と上記第1の
算出手段からの出力Aでの画素x行y列での画素値A
(x、y)により、x行y列の位置における第2の色信
号B(x、y)を、B(x、y)=A(x、y)×{B
2hlpf(x、y)/A2hlpf(x、y)}によ
り算出し、第3の色信号Cにおいても同様にC信号を算
出する水平方向信号算出手段と、上記第1の算出手段か
らの出力Aに対し垂直方向のローパスフィルタを介した
値A2vlpf(x、y)、前記信号算出手段からの出
力での第2の色信号Bに対し垂直方向のローパスフィル
タを介した値B2vlpf(x、y)を算出し、A2v
lpf(x、y)とB2vlpf(x、y)の比と上記
第1の算出手段からの出力Aでの画素x行y列での画素
値A(x、y)により、x行y列の位置における第2の
色信号B(x、y)を、B(x、y)=A(x、y)×
{B2vlpf(x、y)/A2vlpf(x、y)}
により算出し、第3の色信号Cにおいても同様にC信号
を算出する垂直方向信号算出手段と、上記信号算出手段
からの出力における第2、第3の色信号での所定画素x
行y列の位置において、斜めに隣接する画素の平均値を
算出する平均値算出手段とを備え、上記第2のエッジ判
定手段の出力に基づき、前記水平方向信号算出手段、垂
直方向信号算出手段、平均値算出手段からのそれぞれの
出力から選択して、上記所定画素x行y列での第2、第
3の色信号を得て、撮像素子における画素数の第2、第
3の色信号を得るものである。
Further, in the image pickup apparatus according to the present invention, the second calculating means in the color restoring means is arranged so that the second calculating means in the horizontal direction with respect to the output A from the first calculating means at the position of predetermined pixel l row and m column. Value A1hlpf through low-pass filter
(L, m) and the value A1 through the vertical low-pass filter
vlpf (l, m) is calculated, and a value B1hlpf is applied to the second color signal B via a horizontal low-pass filter.
The value C1vlpf (l, m) (or, through a low-pass filter in the vertical direction) for (l, m) and the third color signal C (or
A value B1vlpf (l, m) through a low-pass filter in the vertical direction for the second color signal B and a value C1hlp through a low-pass filter in the horizontal direction for the third color signal C
f (l, m)) and the ratio of A1hlpf (l, m) to B1hlpf (l, m) (or C1hlpf).
(L, m)), A1vlpf (l, m) and C1
vlpf (l, m) (or B1vlpf)
(Ratio to (l, m)) and the pixel value A (l, m) at l rows and m columns of the predetermined pixel in the output A from the first calculating means, the 1st row and m columns of the second color signal The pixel values B (l, m) and C (l, m) of B and the third color signal C are represented by B (l, m)
= A (l, m) × {B1hlpf (l, m) / A1hl
pf (l, m)}, C (l, m) = A (l, m) x {C
1vlpf (l, m) / A1vlpf (l, m)} (or B (l, m) = A (l, m) × {B1vlpf
(L, m) / A1vlpf (l, m)}, C (l, m)
= A (l, m) × {C1hlpf (l, m) / A1hl
pf (l, m)}), and a predetermined pixel x different from the position of the l row and m column.
At the position of the row y column, the value A2h obtained through the horizontal low-pass filter with respect to the output A from the first calculating means.
Ipf (x, y), a value B2hlpf (x, y) of the second color signal B output from the signal calculating means through a horizontal low-pass filter is calculated, and A2hlpf is calculated.
The ratio of (x, y) to B2hlpf (x, y) and the pixel value A at pixel x row y column at the output A from the first calculating means
According to (x, y), the second color signal B (x, y) at the position of x row and y column is represented by B (x, y) = A (x, y) × {B
2hlpf (x, y) / A2hlpf (x, y)}, and the horizontal signal calculating means for calculating the C signal for the third color signal C, and the output A from the first calculating means. A2vlpf (x, y) through a low-pass filter in the vertical direction, and B2vlpf (x, y) through a low-pass filter in the vertical direction with respect to the second color signal B at the output from the signal calculation means. Is calculated, and A2v
By the ratio of lpf (x, y) to B2vlpf (x, y) and the pixel value A (x, y) at the pixel x row y column at the output A from the first calculating means, x row y column The second color signal B (x, y) at the position is represented by B (x, y) = A (x, y) ×
{B2vlpf (x, y) / A2vlpf (x, y)}
Vertical signal calculating means for calculating the C signal in the same manner also for the third color signal C, and a predetermined pixel x in the second and third color signals in the output from the signal calculating means.
Average value calculating means for calculating an average value of obliquely adjacent pixels at the position of the row y column, wherein the horizontal direction signal calculating means and the vertical direction signal calculating means are based on the output of the second edge determining means. , The second and third color signals at the predetermined pixel x row and y column are selected from the respective outputs from the average value calculating means, and the second and third color signals of the number of pixels in the image sensor are obtained. Is what you get.

【0030】さらに、この発明に係る撮像装置は、上記
色復元手段における第2の算出手段が、上記第2のエッ
ジ判定手段の出力が所定画素x行y列の位置においてエ
ッジ成分を検出しないと判定した場合は上記平均値算出
手段の出力を選択し、垂直方向に相関があると判定した
場合は上記垂直方向信号算出手段の出力を選択し、水平
方向に相関があると判定した場合は上記水平方向信号算
出手段の出力を選択し、撮像素子における画素数の第
2、第3の色信号を得るものである。
Further, in the image pickup apparatus according to the present invention, the second calculating means in the color restoring means may detect that the output of the second edge determining means does not detect an edge component at a position of a predetermined pixel x row and y column. If it is determined, the output of the average value calculation means is selected.If it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculation means is selected.If it is determined that there is a correlation in the horizontal direction, The output of the horizontal direction signal calculation means is selected to obtain second and third color signals of the number of pixels in the image sensor.

【0031】[0031]

【発明の実施の形態】以下、この発明をその実施の形態
を示す図面に基づいて具体的に説明する。 実施の形態1.図1はこの発明の一実施形態による撮像
装置の構成の一例を示すブロック図である。図におい
て、1は画素を斜め方向に半画素ずらした撮像素子2枚
分の信号を取り込む撮像素子、2はA/Dコンバータ、
3、4はフレームメモリ、5、6は撮像素子1での1枚
分の撮像素子での総画素数のR、G、B信号を得るよう
色信号の復元を行う第1および第2の色復元手段、7は
上記第1および第2の色復元手段5、6からの信号を多
重して水平垂直方向各2倍の画素数の信号を得る多重手
段である。8は上記多重手段7の出力であるG信号にお
ける所定画素でのエッジ成分を判定するエッジ判定手
段、9は上記多重手段7からの各信号における所定画素
での上下左右隣接画素の平均値を算出する平均値演算手
段、10は多重手段7からの各信号における所定画素で
の左右隣接画素の平均値を演算する水平方向演算手段、
11は多重手段7からの各信号における所定画素での上
下画素の平均値を演算する垂直方向演算手段、12は選
択手段であり、上記エッジ判定手段8からの出力と画素
位置に基づき、平均値演算手段9、水平方向演算手段1
0、垂直方向演算手段11および多重手段7のそれぞれ
の出力より信号を切り換えて選択し、撮像素子での画素
数の水平垂直方向各2倍の画素数の解像度となるR、
G、B信号を出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be specifically described with reference to the drawings showing the embodiments. Embodiment 1 FIG. FIG. 1 is a block diagram illustrating an example of a configuration of an imaging device according to an embodiment of the present invention. In the figure, reference numeral 1 denotes an image sensor for capturing signals of two image sensors in which pixels are shifted by half a pixel in an oblique direction, 2 denotes an A / D converter,
Reference numerals 3 and 4 denote frame memories, and reference numerals 5 and 6 denote first and second colors for restoring color signals so as to obtain R, G, and B signals of the total number of pixels in one image sensor in the image sensor 1. The restoration means 7 is a multiplexing means for multiplexing the signals from the first and second color restoration means 5 and 6 to obtain a signal having twice the number of pixels in each of the horizontal and vertical directions. Reference numeral 8 denotes an edge judging means for judging an edge component at a predetermined pixel in the G signal output from the multiplexing means 7; Horizontal direction calculating means for calculating an average value of left and right adjacent pixels at predetermined pixels in each signal from the multiplexing means;
Numeral 11 denotes a vertical direction calculating means for calculating an average value of upper and lower pixels at predetermined pixels in each signal from the multiplexing means 7, and 12 denotes a selecting means. Calculation means 9, horizontal direction calculation means 1
0, the signal is switched and selected from the output of each of the vertical operation means 11 and the multiplexing means 7, and R, which has a resolution of twice the number of pixels in the image sensor in the horizontal and vertical directions, respectively.
G and B signals are output.

【0032】ここで、高解像度化のため、上記撮像素子
1においては、画素を斜め方向に半画素ずらした2枚の
撮像素子を配置して信号を取り込む。図2はこの発明の
実施の形態1による画素を斜め方向に半画素ずらした2
枚の撮像素子の配置の一例を示す図であり、データD1
と、データD1に対し斜め左下方向へ半画素ずらしたデ
ータD2によりそれぞれ信号を取り込む。図3ははこの
発明の実施の形態1による各撮像素子の色フィルタの配
列の一例を示す図であり、前記2枚のデータD1、デー
タD2による各撮像素子での色フィルタ配列を示してい
る。色フィルタは原色を用い、各光電変換素子を独立に
呼び出す方式の撮像素子を示している。図3において、
Gは垂直方向2i(i=0、1、2、…)、水平方向2
j(j=0、1、2、…)の画素位置(以下、画素位置
(2i,2j)のように記す。)と、画素位置(2i+
1、2j+1)にあり、G信号を通過させる分光特性を
持った第1の色フィルタ、Rは画素位置(2i、2j+
1)にあり、R信号を通過させる分光特性を持った第2
の色フィルタ、Bは画素位置(2i+1、2j)にあ
り、B信号を通過させる分光特性を持った第3の色フィ
ルタである。図3に示されるように、R、B信号は上下
4画素毎(図中の斜線部)に、G信号は2画素毎に得ら
れることとなり、この上下4画素が垂直水平方向に繰り
返し配列されている。
Here, in order to increase the resolution, in the image pickup device 1, signals are taken in by arranging two image pickup devices with pixels shifted by half a pixel in an oblique direction. FIG. 2 is a diagram showing a case where pixels according to the first embodiment of the present invention are shifted by half a pixel in an oblique direction.
FIG. 5 is a diagram illustrating an example of the arrangement of the image pickup elements, and includes data D1.
And a signal D2, which is obtained by shifting the data D1 by a half pixel toward the lower left direction. FIG. 3 is a diagram showing an example of an array of color filters of each image sensor according to Embodiment 1 of the present invention, and shows an array of color filters in each image sensor based on the two data D1 and data D2. . The color filter shows an image sensor of a system using primary colors and calling each photoelectric conversion element independently. In FIG.
G is vertical direction 2i (i = 0, 1, 2,...), Horizontal direction 2i
, j (j = 0, 1, 2,...) (hereinafter, referred to as pixel position (2i, 2j)) and pixel position (2i +
1, 2j + 1), a first color filter having a spectral characteristic to pass a G signal, and R is located at a pixel position (2i, 2j +
2) having a spectral characteristic for passing the R signal
Is a third color filter at a pixel position (2i + 1, 2j), which has a spectral characteristic for passing the B signal. As shown in FIG. 3, the R and B signals are obtained every four pixels in the upper and lower portions (hatched portions in the figure), and the G signals are obtained every two pixels. These four upper and lower pixels are repeatedly arranged in the vertical and horizontal directions. ing.

【0033】次に動作について説明する。撮像素子1に
おいて、図2のように画素を斜め方向に半画素ずらした
2枚の撮像素子からデータD1、データD2となる各画
素信号R、G、Bを読み出し、その出力はそれぞれA/
Dコンバータ2によりA/D変換され、第1および第2
のフレームメモリ3および4に入力される。ここで、第
1のフレームメモリ3には図2におけるデータD1によ
る図3のように配列された撮像素子の信号が入力され、
第2のフレームメモリ4には図2におけるデータD2に
よる図3のように配列された撮像素子の信号が入力され
ている。第1の色復元手段5では、第1のフレームメモ
リ3に入力されたデータD1の信号から各R、G、B信
号を分離して得られていない画素信号を復元し、撮像素
子の画素数の各R、G、B信号R1、G1、B1を出力
し、第2の色復元手段6では、第2のフレームメモリ4
に入力されたデータD2の信号から各R、G、B信号を
分離して得られていない画素信号を復元し、撮像素子の
画素数の各R、G、B信号R2、G2、B2を出力し
て、それぞれの出力は多重手段7へと送る。
Next, the operation will be described. In the image sensor 1, pixel signals R, G, and B serving as data D1 and data D2 are read from two image sensors in which pixels are shifted by half a pixel in an oblique direction as shown in FIG.
A / D conversion is performed by the D converter 2 and the first and second
Are input to the frame memories 3 and 4. Here, the signals of the image sensors arranged as shown in FIG. 3 based on the data D1 in FIG. 2 are input to the first frame memory 3,
The signals of the imaging elements arranged as shown in FIG. 3 based on the data D2 in FIG. 2 are input to the second frame memory 4. The first color restoration unit 5 restores a pixel signal that is not obtained by separating each of the R, G, and B signals from the signal of the data D1 input to the first frame memory 3 and obtains the number of pixels of the image sensor. , And outputs the R, G, and B signals R1, G1, and B1, respectively.
The pixel signals that are not obtained by separating the R, G, and B signals from the signal of the data D2 input to are output, and the R, G, and B signals R2, G2, and B2 of the number of pixels of the image sensor are output. Then, each output is sent to the multiplexing means 7.

【0034】ここで、上記第1および第2の色復元手段
5および6における動作を図4に示す色復元手段の構成
に基づき説明する。図4はこの発明の実施の形態1によ
る撮像装置における色復元手段の構成の一例を示すブロ
ック図であり、図において、20はフレームメモリにお
ける信号をR、G、B信号に分離する分離手段、21は
G信号での所定画素位置でのエッジ成分を判定する第1
のエッジ判定手段、22は分離手段20からの各R、
G、B信号と上記第1のエッジ判定手段21からの出力
に基づきG信号の復元を行うG成分復元手段、23は
R、B信号の復元を行う第1のRB成分復元手段、24
は前記G成分復元手段22からのG信号での所定画素位
置でのエッジ成分を判定する第2のエッジ判定手段、2
5は第2のエッジ判定手段24の出力に応じてRおよび
B信号の復元を行う第2のRB成分復元手段である。
The operation of the first and second color restoration means 5 and 6 will now be described based on the structure of the color restoration means shown in FIG. FIG. 4 is a block diagram showing an example of the configuration of a color restoring unit in the imaging apparatus according to the first embodiment of the present invention. In FIG. 21 is a first for determining an edge component at a predetermined pixel position in the G signal.
The edge determination means 22 of each R, R from the separation means 20,
G component restoration means for restoring the G signal based on the G and B signals and the output from the first edge determination means 21; 23, first RB component restoration means for restoring the R and B signals;
Is a second edge determining means for determining an edge component at a predetermined pixel position in the G signal from the G component restoring means 22;
Reference numeral 5 denotes second RB component restoration means for restoring the R and B signals in accordance with the output of the second edge determination means 24.

【0035】フレームメモリ3または4における図3に
示された配列の撮像素子による信号は、分離手段20に
おいてそれぞれR、G、B信号に分離され、G信号は第
1のエッジ判定手段21とG成分復元手段22へと送ら
れ、R、B信号はG成分復元手段22および第1のRB
復元手段23へと送られる。第1のエッジ判定手段21
ではG信号における所定画素位置でのエッジ成分を判定
して判定結果をG成分復元手段22へと送り、G成分復
元手段22では上記第1のエッジ判定手段21からの判
定結果の基づき、撮像素子での総画素数のG信号を得る
ようG成分の画素信号の復元を行う。図5はこの発明の
実施の形態1による撮像装置における色復元手段におけ
る第1のエッジ判定手段21とG成分復元手段22の動
作を説明するためのフローチャートであり、第1のエッ
ジ判定手段21とG成分復元手段22での処理動作を図
5に従って説明する。
The signals from the image sensors of the arrangement shown in FIG. 3 in the frame memory 3 or 4 are separated into R, G and B signals by a separation means 20, respectively. The R and B signals are sent to the G component restoring unit 22 and the first RB
It is sent to the restoration means 23. First edge determination means 21
Then, the edge component at a predetermined pixel position in the G signal is determined, and the determination result is sent to the G component restoring means 22. The pixel signal of the G component is restored so as to obtain the G signal of the total number of pixels in the above. FIG. 5 is a flowchart for explaining the operation of the first edge determining means 21 and the G component restoring means 22 in the color restoring means in the imaging apparatus according to the first embodiment of the present invention. The processing operation of the G component restoring means 22 will be described with reference to FIG.

【0036】いま、撮像素子1におけるG信号は図3に
示すように画素位置(2i、2j)と(2i+1、2j
+1)で得られており、撮像素子の画素数のG信号を得
るために、画素位置(2i、2j+1)と(2i+1、
2j)の画素での信号を求めることとなる。よって、図
5より、G成分復元手段22において画素位置(2i、
2j)と(2i+1、2j+1)での画素はG信号をそ
のまま出力し、画素位置(2i、2j+1)と(2i+
1、2j)では、まず第1のエッジ判定手段21におい
て、左右および上下の画素の差分つまりエッジ成分を検
出する。つまり、上記画素位置での左右の画素の差の絶
対値ΔH、上下の画素の差の絶対値ΔV算出する。例え
ば、画素位置(2i、2j+1)においては、水平方向
差分ΔHは、 ΔH=|G(2i、2j)−G(2i、2j+2)| (1) 垂直方向差分ΔVは、 ΔV=|G(2i−1、2j+1)−G(2i+1、2j+1)| (2) となる。以下、この画素の差の絶対値をエッジ成分と呼
ぶ。
Now, as shown in FIG. 3, the G signal in the image sensor 1 has pixel positions (2i, 2j) and (2i + 1, 2j).
+1), and in order to obtain a G signal of the number of pixels of the image sensor, pixel positions (2i, 2j + 1) and (2i + 1,
The signal at the pixel 2j) is obtained. Therefore, according to FIG. 5, the pixel position (2i,
The pixels at (2j) and (2i + 1, 2j + 1) output the G signal as they are, and the pixel positions (2i, 2j + 1) and (2i +
In (1, 2j), first, the first edge determination means 21 detects a difference between left and right and upper and lower pixels, that is, an edge component. That is, the absolute value ΔH of the difference between the left and right pixels and the absolute value ΔV of the difference between the upper and lower pixels at the pixel position are calculated. For example, at the pixel position (2i, 2j + 1), the horizontal difference ΔH is ΔH = | G (2i, 2j) −G (2i, 2j + 2) | (1) The vertical difference ΔV is ΔV = | G (2i −1, 2j + 1) −G (2i + 1, 2j + 1) | (2) Hereinafter, the absolute value of the difference between the pixels is referred to as an edge component.

【0037】そして、上記水平方向でのエッジ成分ΔH
および垂直方向エッジ成分ΔVにより、水平垂直方向で
の周辺画素での信号レベルの変化を判定し、その判定結
果を示す信号ed1を第1のエッジ判定手段21より出
力する。第1のエッジ判定手段21での判定は、ΔHと
ΔVの両方が予め定めた値th以下の場合は、周辺画素
での信号レベルの変化がないと判定し、G成分復元手段
22において、周波数の変化を考慮する必要がなく、上
下左右の4画素の平均値を算出しG信号とする。例え
ば、この場合での画素位置(2i、2j+1)における
G信号は、g(2i、2j+1)={G(2i−1、2
j+1)+G(2i+1、2j+1)+G(2i、2
j)+G(2i、2j+2)}/4となる。
Then, the edge component ΔH in the horizontal direction is obtained.
The change of the signal level in the peripheral pixels in the horizontal and vertical directions is determined based on the vertical edge component ΔV and the signal ed1 indicating the determination result is output from the first edge determination unit 21. When the first edge determination unit 21 determines that both ΔH and ΔV are equal to or smaller than a predetermined value th, it is determined that there is no change in the signal level in the surrounding pixels, and the G component restoration unit 22 determines Does not need to be considered, and the average value of the four pixels at the top, bottom, left and right is calculated and used as the G signal. For example, the G signal at the pixel position (2i, 2j + 1) in this case is g (2i, 2j + 1) = {G (2i-1, 2g).
j + 1) + G (2i + 1,2j + 1) + G (2i, 2
j) + G (2i, 2j + 2)} / 4.

【0038】一方、ΔHまたはΔVが予め定めた値th
より大きい場合は、その画素においてエッジ成分がある
と判定し、さらに、ΔH>ΔVの場合は垂直方向に相関
が高いと判定し、ΔH≦ΔVの場合は水平方向に相関が
高いと判定する。そして、ΔH>ΔVで垂直方向に相関
が高いと判定される場合は、G成分復元手段22におい
て、R、G、B信号での垂直方向の画素信号より演算
し、垂直方向に相関を持つG信号を出力する。つまり、
R信号が得られている画素である処理画素位置(2i、
2j+1)においては、G信号の垂直方向のローパスフ
ィルタを介した値Gvlpf、R信号の垂直方向のロー
パスフィルタを介した値Rvlpfを例えば、 Gvlpf={G(2i−3、2j+1)+G(2i−1、2j+1) +G(2i+1、2j+1)+G(2i+3、2j+1)}/4 (3) Rvlpf={R(2i−4、2j+1)+2×R(2i−2、2j+1) +2×R(2i、2j+1)+2×R(2i+2、2j+1) +R(2i+4、2j+1)}/8 (4) として算出し、このGvlpfとRvlpfの比と画素
位置(2i、2j+1)でのR信号より、垂直方向に相
関をもつG信号g(2i、2j+1)を次式 g(2i、2j+1)=R(2i、2j+1)×(Gvlpf/Rvlpf) (5) により算出する。
On the other hand, ΔH or ΔV is a predetermined value th.
If it is larger, it is determined that there is an edge component in that pixel. Further, if ΔH> ΔV, it is determined that the correlation is high in the vertical direction, and if ΔH ≦ ΔV, it is determined that the correlation is high in the horizontal direction. When it is determined that the correlation is high in the vertical direction when ΔH> ΔV, the G component restoring means 22 calculates from the vertical pixel signals of the R, G, and B signals to obtain a G having a vertical correlation. Output a signal. That is,
The processing pixel position (2i,
2j + 1), the value Gvlpf of the G signal through the vertical low-pass filter and the value Rvlpf of the R signal through the vertical low-pass filter are, for example, Gvlpf = {G (2i−3, 2j + 1) + G (2i−). 1,2j + 1) + G (2i + 1,2j + 1) + G (2i + 3,2j + 1)} / 4 (3) Rvlpf = {R (2i-4,2j + 1) + 2 × R (2i-2,2j + 1) + 2 × R (2i, 2j + 1) ) + 2 × R (2i + 2, 2j + 1) + R (2i + 4, 2j + 1)} / 8 (4), and the correlation in the vertical direction is obtained from the ratio of Gvlpf to Rvlpf and the R signal at the pixel position (2i, 2j + 1). The G signal g (2i, 2j + 1) is calculated by the following equation: g (2i, 2j + 1) = R (2i, 2j + 1) × (Gvlpf / Rvlpf) (5) .

【0039】また、B信号が得られる画素位置である処
理画素位置(2i+1、2j)でも同様に、G信号の垂
直方向のローパスフィルタを介した値Gvlpf、B信
号の垂直方向のローパスフィルタを介した値Bvlpf
を例えば、 Gvlpf={G(2i−2、2j)+ G(2i、2j) + G(2i+2、2j)+ G(2i+4、2j)}/4 (6) Bvlpf={B(2i−3、2j)+ 2×B(2i−1、2j) +2×B(2i+1、2j)+2×B(2i+3、2j) +R(2i+5、2j)}/8 (7) として算出し、このGvlpfとBvlpfの比と画素
位置(2i+1、2j)でのB信号より、垂直方向に相
関をもつG信号g(2i+1、2j)を次式 g(2i+1、2j)=B(2i+1、2j)×(Gvlpf/Bvlpf) (8) により算出する。
Similarly, at the processing pixel position (2i + 1, 2j) where the B signal is obtained, the value Gvlpf through the vertical low-pass filter of the G signal, and the value Gvlpf through the vertical low-pass filter of the B signal. Value Bvlpf
For example, Gvlpf = {G (2i-2, 2j) + G (2i, 2j) + G (2i + 2, 2j) + G (2i + 4, 2j)} / 4 (6) Bvlpf = {B (2i-3, 2j) + 2 × B (2i−1, 2j) + 2 × B (2i + 1, 2j) + 2 × B (2i + 3, 2j) + R (2i + 5, 2j)} / 8 (7), and Gvlpf and Bvlpf From the ratio and the B signal at the pixel position (2i + 1, 2j), a G signal g (2i + 1, 2j) having a vertical correlation is expressed by the following equation: g (2i + 1, 2j) = B (2i + 1, 2j) × (Gvlpf / Bvlpf) ) Calculated by (8).

【0040】また、ΔH≦ΔVで水平方向に相関が高い
と判定される場合には、G成分復元手段22において、
水平方向の画素信号より演算し、水平方向に相関を持つ
G信号を出力する。処理画素位置(2i、2j+1)に
おいては、G信号の水平方向のローパスフィルタを介し
た値Ghlpf、R信号の水平方向のローパスフィルタ
を介した値Rhlpfを例えば、 Ghlpf={G(2i、2j)+G(2i、2j−2) +G(2i、2j+2)+G(2i、2j+4)}/4 (9) Rhlpf={R(2i、2j−3)+ 2×R(2i、2j−1) +2×R(2i、2j+1)+ 2×R(2i、2j+3) +R(2i、2j+5)}/8 (10) として算出し、このGhlpfとRhlpfの比と画素
位置(2i、2j+1)でのR信号より、垂直方向に相
関をもつG信号g(2i、2j+1)を次式 g(2i、2j+1)=R(2i、2j+1)×(Ghlpf/Rhlpf) (11) により算出する。
When it is determined that the correlation in the horizontal direction is high when ΔH ≦ ΔV, the G component restoring means 22
A G signal having a correlation in the horizontal direction is output by calculating from the pixel signals in the horizontal direction. At the processing pixel position (2i, 2j + 1), the value Ghlpf of the G signal through the horizontal low-pass filter and the value Rhlpf of the R signal through the horizontal low-pass filter are, for example, Ghlpf = 例 え ば G (2i, 2j). + G (2i, 2j-2) + G (2i, 2j + 2) + G (2i, 2j + 4)} / 4 (9) Rhlpf = {R (2i, 2j-3) + 2 × R (2i, 2j-1) + 2 × R (2i, 2j + 1) + 2 × R (2i, 2j + 3) + R (2i, 2j + 5)} / 8 (10) , And a G signal g (2i, 2j + 1) having a correlation in the vertical direction is calculated by the following equation: g (2i, 2j + 1) = R (2i, 2j + 1) × (Ghlpf / Rhlpf) (11)

【0041】また、B信号が得られる画素位置である処
理画素位置(2i+1、2j)でも同様に、処理画素位
置(2i+1、2j)でのG信号の水平方向のローパス
フィルタを介した値Ghlpf、B信号の水平方向のロ
ーパスフィルタを介した値Bhlpfを例えば、 Ghlpf={G(2i+1、2j−1)+ G(2i、2j−3) +G(2i、2j+1)+G(2i、2j+3)}/4 (12) Bhlpf={B(2i+1、2j−4)+ 2×B(2i+1、2j−2) + 2×B(2i+1、2j)+ 2×B(2i+1、2j+2) +B(2i+1、2j+4)}/8 (13) として算出し、このGhlpfとBhlpfの比と画素
位置(2i+1、2j)でのB信号より、垂直方向に相
関をもつG信号g(2i+1、2j)を次式 g(2i+1、2j)=B(2i+1、2j)×(Ghlpf/Bhlpf) (14) により算出する。
Similarly, at the processing pixel position (2i + 1, 2j) at which the B signal is obtained, the value Ghlpf of the G signal at the processing pixel position (2i + 1, 2j) through the horizontal low-pass filter is obtained. Ghlpf = {G (2i + 1, 2j-1) + G (2i, 2j-3) + G (2i, 2j + 1) + G (2i, 2j + 3)} / 4 (12) Bhlpf = {B (2i + 1, 2j-4) + 2 × B (2i + 1, 2j-2) + 2 × B (2i + 1, 2j) + 2 × B (2i + 1, 2j + 2) + B (2i + 1, 2j + 4) From the ratio of Ghlpf to Bhlpf and the B signal at the pixel position (2i + 1, 2j), a G signal g (2i + 1, 2j) having a vertical correlation is calculated from} / 8 (13). Equation g (2i + 1,2j) = calculated by B (2i + 1,2j) × (Ghlpf / Bhlpf) (14).

【0042】なお、上記式(5)、(8)、(11)、
(14)による算出方式は、局所的領域での色の変化が
少ないことを前提としており、つまり、局所的な領域で
の各色信号の比はほぼ等しいことにより、水平方向また
は垂直方向における局所的な領域での各色信号の比は
R、G、Bの水平方向または垂直方向のローパスフィル
タを介した値の比で与えられる。また、上記式(5)〜
(14)は各水平方向ローパスフィルタおよび垂直方向
ローパスフィルタ出力の算出例であり、フィルタのタッ
プ数および係数は上記に限るものではなく、他のタップ
数および係数でもよい。
The above equations (5), (8), (11),
The calculation method according to (14) is based on the premise that there is little change in color in the local region. That is, since the ratio of each color signal in the local region is substantially equal, the local method in the horizontal or vertical direction is obtained. The ratio of each color signal in a specific region is given by the ratio of the values of R, G, and B through a horizontal or vertical low-pass filter. Further, the above formulas (5) to
(14) is a calculation example of each horizontal low-pass filter and vertical low-pass filter output. The number of taps and coefficients of the filter are not limited to the above, and other tap numbers and coefficients may be used.

【0043】したがって、G成分復元手段22からは画
素位置(2i、2j)、(2i、2j+1)、(2i+
1、2j)、(2i+1、2j+1)それぞれの画素で
のG信号が出力され、つまり、撮像素子の画素数分の解
像度のG信号を得られる。このG成分復元手段22から
の出力は次に、第1のRB成分復元手段23と第2のエ
ッジ判定手段24へと送られる。
Therefore, the pixel positions (2i, 2j), (2i, 2j + 1), (2i +
A G signal is output at each pixel of (1, 2j) and (2i + 1, 2j + 1), that is, a G signal having a resolution equal to the number of pixels of the image sensor is obtained. Next, the output from the G component restoring unit 22 is sent to the first RB component restoring unit 23 and the second edge determining unit 24.

【0044】次に、第1のRB成分復元手段23では、
R、B信号の画素位置(2i、2j)、(2i+1、2
j+1)でのR、B信号の生成を行い、その出力を第2
のRB復元手段25へと送り、第2のエッジ判定手段2
4においては、上記G成分復元手段22から出力された
G信号により画素位置(2i、2j+1)および(2i
+1、2j)の画素での左右および上下の画素の差分つ
まりエッジ成分を検出する。第2のRB成分復元手段2
5では、第2のエッジ判定手段24の出力に基づき、R
信号での画素位置(2i+1、2j)、B信号での画素
位置(2i、2j+1)でのそれぞれの画素を復元生成
する。図6は前記第1のRB成分復元手段23、第2の
エッジ判定手段24および第2のRB成分復元手段25
における動作を示すフローチャートであり、第1および
第2のRB成分復元手段23、25と第2のエッジ判定
手段24での処理動作を図6に従って説明する。
Next, in the first RB component restoring means 23,
R and B signal pixel positions (2i, 2j), (2i + 1, 2)
j + 1) are generated, and the output is output to the second
To the RB restoration means 25 of the second edge determination means 2
In (4), the pixel positions (2i, 2j + 1) and (2i) are obtained by the G signal output from the G component restoring means 22.
+1 and 2j), the difference between the left and right and upper and lower pixels, that is, the edge component is detected. Second RB component restoration means 2
5, R is determined based on the output of the second edge determination unit 24.
The pixel at the pixel position (2i + 1, 2j) in the signal and the pixel at the pixel position (2i, 2j + 1) in the B signal are restored and generated. FIG. 6 shows the first RB component restoring means 23, the second edge determining means 24 and the second RB component restoring means 25.
6 is a flowchart showing the operation of the first embodiment, and the processing operations of the first and second RB component restoring units 23 and 25 and the second edge determining unit 24 will be described with reference to FIG.

【0045】いま、図3に示すように、撮像素子におけ
るR信号は画素位置(2i、2j+1)で得られ、B信
号は(2i+1、2j)で得られており、撮像素子の画
素数のR、B信号を得るために、Rについては画素位置
(2i、2j)、(2i+l、2j)と(2i+1、2
j+1)の画素での信号を求めることとなり、Bについ
ては画素位置(2i、2j)、(2i、2j+1)と
(2i+1、2j+1)の画素での信号を求めることと
なる。図7(a)、(b)はR、B信号の算出を説明す
るための各画素のR、Bを示す図であり、図中Rおよび
Bが撮像素子により得られている画素信号を示してい
る。図6により、第1および第2のRB成分復元手段2
3、25において、R信号での画素位置(2i、2j+
1)、B信号での画素信号(2i+1、2j)における
画素はそのままの信号を出力する。次に、画素位置(2
i、2j)と(2i+1、2j+1)の場合、R、B信
号ともに左右または上下のどちらかの方向の画素が得ら
れており、また、G信号はG成分復元手段22により全
画素復元されている。よって、第1のRB成分復元手段
23には分離手段20からのR、B信号とG成分復元手
段22からの全画素の信号が復元されたG信号が入力さ
れ、上下または左右方向の画素より演算して上記画素
(2i、2j)と(2i+1、2j+1)のR、B信号
を得る。つまり、図7でのr1およびb1(画素位置
(2i、2j))、r2およびb2(画素位置(2i+
1、2j+1))での画素を、G、RおよびB信号にお
ける処理画素の上下または左右方向の画素により算出す
る。
Now, as shown in FIG. 3, the R signal in the image sensor is obtained at the pixel position (2i, 2j + 1) and the B signal is obtained at (2i + 1, 2j). , B signal, the pixel positions (2i, 2j), (2i + 1, 2j) and (2i + 1, 2j) for R are obtained.
The signal at the pixel at (j + 1) is determined, and for B, the signal at the pixel at pixel positions (2i, 2j), (2i, 2j + 1) and (2i + 1, 2j + 1) is determined. FIGS. 7A and 7B are diagrams illustrating R and B of each pixel for explaining calculation of R and B signals, where R and B indicate pixel signals obtained by the image sensor. ing. According to FIG. 6, the first and second RB component restoring means 2
At positions 3 and 25, the pixel position (2i, 2j +
1) The pixel in the pixel signal (2i + 1, 2j) of the B signal outputs a signal as it is. Next, the pixel position (2
In the case of (i, 2j) and (2i + 1, 2j + 1), pixels in either the left or right or up and down directions are obtained for both the R and B signals. I have. Therefore, the first RB component restoration unit 23 receives the R and B signals from the separation unit 20 and the G signal obtained by restoring the signals of all the pixels from the G component restoration unit 22. The operation is performed to obtain the R and B signals of the pixels (2i, 2j) and (2i + 1, 2j + 1). That is, r1 and b1 (pixel positions (2i, 2j)) and r2 and b2 (pixel positions (2i +
The pixel in (1, 2j + 1)) is calculated from pixels in the vertical and horizontal directions of the processing pixel in the G, R, and B signals.

【0046】R信号でのr1で示す画素位置(2i、2
j)の場合は、画素位置(2i、2j)においてG、R
信号に対して水平方向のローパスフィルタを介した値G
1hlpf、R1hlpfを例えば、 G1hlpf=(g(2i、2j−1)+g(2i、2j+1))/2 (15) R1hlpf=(R(2i、2j−1)+R(2i、2j+1))/2 (16) により算出し、このG1hlpfとR1hlpfの比と
画素G(2i、2j)により、画素位置(2i、2j)
でのR信号r(2i、2j)を次式により算出する。 r(2i、2j)= G(2i、2j)×(R1hlpf/G1hlpf) =G(2i、2j)×(R(2i、2j−1)+R(2i、2j+1)) (g(2i、2j−1)+g(2i、2j+1)) (17)
The pixel position (2i, 2i,
j), G, R at the pixel position (2i, 2j)
The value G of the signal through a horizontal low-pass filter
For example, 1hlpf and R1hlpf are expressed as follows: G1hlpf = (g (2i, 2j-1) + g (2i, 2j + 1)) / 2 (15) R1hlpf = (R (2i, 2j-1) + R (2i, 2j + 1)) / 2 ( 16) and the ratio of G1hlpf to R1hlpf and the pixel G (2i, 2j) determine the pixel position (2i, 2j).
Is calculated by the following equation. r (2i, 2j) = G (2i, 2j) × (R1hlpf / G1hlpf) = G (2i, 2j) × (R (2i, 2j−1) + R (2i, 2j + 1)) (g (2i, 2j−)) 1) + g (2i, 2j + 1)) (17)

【0047】同様に、B信号におけるb1の位置につい
ては、画素位置(2i、2j)において、G、B信号に
対して垂直方向のローパスフィルタを介した値G1vl
pf、B1vlpfを例えば、 G1vlpf=(g(2i−1、2j)+g(2i+1、2j))/2 (18) B1vlpf=(B(2i−1、2j)+B(2i+1、2j))/2 (19) により算出し、このG1vlpfとB1vlpfの比と
画素G(2i、2j)により、画素位置(2i、2j)
でのB信号b(2i、2j)を次式により算出する。 b(2i、2j)= G(2i、2j)×(B1vlpf/G1vlpf) =G(2i、2j)×(B(2i−1、2j)+B(2i+1、2j)) /(g(2i−1、2j)+g(2i+1、2j)) (20)
Similarly, as for the position of b1 in the B signal, a value G1vl obtained through a vertical low-pass filter with respect to the G and B signals at the pixel position (2i, 2j).
pf and B1vlpf are, for example, G1vlpf = (g (2i-1, 2j) + g (2i + 1, 2j)) / 2 (18) B1vlpf = (B (2i-1, 2j) + B (2i + 1, 2j)) / 2 ( 19) and the ratio of G1vlpf to B1vlpf and the pixel G (2i, 2j) are used to calculate the pixel position (2i, 2j).
Is calculated according to the following equation. b (2i, 2j) = G (2i, 2j) × (B1vlpf / G1vlpf) = G (2i, 2j) × (B (2i−1, 2j) + B (2i + 1, 2j)) / (g (2i−1) , 2j) + g (2i + 1, 2j)) (20)

【0048】また、r2で示す画素位置(2i+1、2
j+1)の場合についても同様に、画素位置(2i+
1、2j+1)において、G、R信号に対して垂直方向
のローパスフィルタを介した値G1vlpf、R1vl
pfを例えば、 G1vlpf=(g(2i、2j+1)+g(2i+2、2j+1))/2 (21) R1vlpf=(R(2i、2j+1)+R(2i+2、2j+1))/2 (22) により算出し、このG1vlpfとR1vlpfの比と
画素G(2i+1、2j+1)により、画素位置(2i
+1、2j+1)でのR信号r(2i+1、2j+1)
を次式により算出する。 r(2i+1、2j+1)=G(2i+1、2j+1)×(R1vlpf/G1 vlpf) =G(2i+1、2j+1)×(R(2i、2j+1)+R(2i+2、 2j+1)) /(g(2i、2j+1)+g(2i+2、2j+1)) (23)
Further, a pixel position (2i + 1, 2
j + 1), the pixel position (2i +
1, 2j + 1), the values G1vlpf, R1vl of the G and R signals through a low-pass filter in the vertical direction.
pf is calculated by, for example, G1vlpf = (g (2i, 2j + 1) + g (2i + 2, 2j + 1)) / 2 (21) R1vlpf = (R (2i, 2j + 1) + R (2i + 2, 2j + 1)) / 2 (22) By the ratio of G1vlpf to R1vlpf and the pixel G (2i + 1, 2j + 1), the pixel position (2i
R signal r (2i + 1, 2j + 1) at (+1, 2j + 1)
Is calculated by the following equation. r (2i + 1, 2j + 1) = G (2i + 1, 2j + 1) × (R1vlppf / G1vlpf) = G (2i + 1, 2j + 1) × (R (2i, 2j + 1) + R (2i + 2, 2j + 1)) / (g (2i, 2j + 1)) + G (2i + 2,2j + 1)) (23)

【0049】同様に、B信号でのb2で示す画素位置
(2i+1、2j+1)において、G、B信号に対して
水平方向のローパスフィルタを介した値G1hlpf、
B1hlpfを例えば、 G1hlpf=(g(2i+1、2j)+g(2i+1、2j+2))/2 (24) B1hlpf=(B(2i+1、2j)+B(2i+1、2j+2))/2 (25) により算出し、このG1hlpfとB1hlpfの比と
画素G(2i+1、2j+1)により、画素位置(2i
+1、2j+1)でのB信号b(2i+1、2j+1)
を次式により算出する。 b(2i+1、2j+1)=G(2i+1、2j+1)×(B1hlpf/G1 hlpf) =G(2i+1、2j+1)×(B(2i+1、2j)+B(2i+1、2 j+2)) /(g(2i+1、2j)+g(2i+1、2j+2)) (26)
Similarly, at the pixel position (2i + 1, 2j + 1) indicated by b2 in the B signal, the values G1hlpf, G1hlpf,
B1hlpf is calculated by, for example, G1hlpf = (g (2i + 1, 2j) + g (2i + 1, 2j + 2)) / 2 (24) B1hlpf = (B (2i + 1, 2j) + B (2i + 1, 2j + 2)) / 2 (25) The pixel position (2i
B signal b (2i + 1, 2j + 1) at (+1, 2j + 1)
Is calculated by the following equation. b (2i + 1, 2j + 1) = G (2i + 1, 2j + 1) × (B1hlpf / G1 hlpf) = G (2i + 1, 2j + 1) × (B (2i + 1, 2j) + B (2i + 1, 2j + 2)) / (g (2i + 1, 2j) ) + G (2i + 1, 2j + 2)) (26)

【0050】なお、上記式(17)、(20)、(2
3)、(26)は上記Gでの復元方法と同様局所的領域
での色信号の変化が少ないことを前提としており、つま
り、各信号の比は局所的な領域ではほぼ等しいというこ
とによる。また、式(15)〜(26)におけるG1h
lpf、G1vlpf、R1hlpf、R1vlpf、
B1hlpf、B1vlpfの算出式は、水平および垂
直方向のローパスフィルタ出力の算出例であり、フィル
タのタップ数および係数は上記に限るものではなく、他
のタップ数および係数であってもよい。
The above equations (17), (20) and (2)
3) and (26) are based on the premise that the change of the color signal in the local region is small similarly to the restoration method in G, that is, the ratio of each signal is almost equal in the local region. G1h in the equations (15) to (26)
lpf, G1vlpf, R1hlpf, R1vlpf,
The formulas for calculating B1hlpf and B1vlpf are calculation examples of low-pass filter outputs in the horizontal and vertical directions, and the number of taps and coefficients of the filter are not limited to the above, and other tap numbers and coefficients may be used.

【0051】次に、残りのR信号における画素位置(2
i+1、2j)とBにおける画素位置(2i、2j+
1)での信号(図7でのr3およびb3)については、
まず、第2のエッジ判定手段24において、G信号にお
ける前記画素での左右および上下の画素の差分つまりエ
ッジ成分を検出する。つまり、G成分復元手段22から
のG信号に対し、上記画素位置での左右の画素の差の絶
対値ΔH、上下の画素の差の絶対値ΔV算出する。例え
ば、画素位置(2i+1、2j)においては、水平方向
差分ΔHは、 ΔH=|G(2i+1、2j−1)−G(2i+1、2
j+1)| 垂直方向差分ΔVは、 ΔV=| G(2i、2j)−G(2i+2、2j)| となる。
Next, the pixel position (2
i + 1, 2j) and the pixel position (2i, 2j +
For the signals in 1) (r3 and b3 in FIG. 7),
First, the second edge determination means 24 detects a difference between left and right and upper and lower pixels in the G signal, that is, an edge component. That is, for the G signal from the G component restoring means 22, the absolute value ΔH of the difference between the left and right pixels and the absolute value ΔV of the difference between the upper and lower pixels at the pixel position are calculated. For example, at the pixel position (2i + 1, 2j), the horizontal difference ΔH is ΔH = | G (2i + 1, 2j−1) −G (2i + 1, 2
j + 1) | vertical difference ΔV is as follows: ΔV = | G (2i, 2j) -G (2i + 2, 2j) |

【0052】そして、上記水平方向でのエッジ成分ΔH
および垂直方向エッジ成分ΔVにより、水平垂直方向で
の周辺画素での信号レベルの変化を判定し、その判定結
果を示す信号を第2のRB成分復元手段25へと出力す
るのであるが、ここで、R信号における画素位置(2i
+1、2j)に対しては画素位置(2i+1、2j)で
のエッジ成分を判定した結果edrを送り、B信号にお
ける画素位置(2i、2j+1)に対しては画素位置
(2i、2j+1)でのエッジ成分を判定した結果ed
bを送ることになる。判定結果edrおよびedbにお
いて、ΔHとΔVの両方が予め定めた値th以下の場合
は周辺画素での信号レベルの変化がないと判定し、第2
のRB成分復元手段25において、周波数の変化を考慮
する必要がなく、斜め方向に隣接する4画素の平均値を
算出しRまたはB信号とする。つまり、R信号での画素
位置(2i+1、2j)(図7(a)でのr3)につい
ては r(2i+1、2j)=( R(2i、2j−1)+R
(2i、2j+1)+R(2i+2、2j−1)+R
(2i+2、2j+1)}/4 B信号での画素位置(2i、2j+1)(図7(b)で
のb3)については b(2i、2j+1)={ B(2i−1、2j)+B
(2i−1、2j+2)+B(2i+1、2j)+B
(2i+1、2j+2)}/4 として算出する。
Then, the edge component ΔH in the horizontal direction is obtained.
The change in the signal level in the peripheral pixels in the horizontal and vertical directions is determined based on the vertical edge component ΔV, and a signal indicating the determination result is output to the second RB component restoration unit 25. , R signal (2i
+1 and 2j), the result edr of the edge component at the pixel position (2i + 1, 2j) is sent, and the pixel position (2i, 2j + 1) in the B signal is transmitted at the pixel position (2i, 2j + 1). Result ed of judging edge component
b. If both ΔH and ΔV are equal to or less than the predetermined value th in the determination results edr and edb, it is determined that there is no change in the signal level in the peripheral pixels, and the second
In the RB component restoring means 25, there is no need to consider a change in frequency, and an average value of four pixels adjacent in an oblique direction is calculated to obtain an R or B signal. That is, for the pixel position (2i + 1, 2j) in the R signal (r3 in FIG. 7A), r (2i + 1, 2j) = (R (2i, 2j-1) + R
(2i, 2j + 1) + R (2i + 2, 2j-1) + R
(2i + 2, 2j + 1)} / 4 For the pixel position (2i, 2j + 1) in the B signal (b3 in FIG. 7B), b (2i, 2j + 1) = {B (2i−1, 2j) + B
(2i-1, 2j + 2) + B (2i + 1, 2j) + B
(2i + 1, 2j + 2)} / 4.

【0053】一方、ΔHまたはΔVが予め定めた値th
より大きい場合は、その画素においてエッジ成分がある
と判定し、さらに、ΔH>ΔVの場合は垂直方向に相関
が高いと判定し、ΔH≦ΔVの場合は水平方向に相関が
高いと判定する。そして、ΔH>ΔVで垂直方向に相関
が高いと判定される場合は、第2のRB成分復元手段2
5において、R、G、B信号での上下方向の画素より演
算し、垂直方向に相関を持つ信号を出力する。R信号で
のr3で示す画素位置(2i+1,2j)においては、
垂直方向のローパスフィルタを介した値R2vlpf、
G2vlpfを例えば、 R2vlpf=(r(2i、2j)+r(2i+2、2j))/2 (27) G2vlpf=(G(2i、2j)+G(2i+2、2j))/2 (28) により算出し、このR2vlpfとG2vlpfの比と
画素g(2i+1、2j)により、次式の演算で垂直方
向に相関を持つRの画素値r(2i+1,2j)を算出
する。 r(2i+1、2j)=g(2i+1、2j)×(R2vlpf/G2vlpf ) =g(2i+1、2j)×( r(2i、2j)+r(2i+2、2j)) /(G(2i、2j)+G(2i+2、2j)) (29)
On the other hand, ΔH or ΔV is a predetermined value th.
If it is larger, it is determined that there is an edge component in that pixel. Further, if ΔH> ΔV, it is determined that the correlation is high in the vertical direction, and if ΔH ≦ ΔV, it is determined that the correlation is high in the horizontal direction. If it is determined that the correlation is high in the vertical direction when ΔH> ΔV, the second RB component restoration unit 2
In 5, the arithmetic operation is performed from the pixels in the vertical direction in the R, G, and B signals, and a signal having a correlation in the vertical direction is output. At the pixel position (2i + 1,2j) indicated by r3 in the R signal,
The value R2vlpf through a vertical low-pass filter,
G2vlpf is calculated by, for example, R2vlpf = (r (2i, 2j) + r (2i + 2, 2j)) / 2 (27) G2vlpf = (G (2i, 2j) + G (2i + 2, 2j)) / 2 (28) From the ratio of R2vlpf to G2vlpf and pixel g (2i + 1,2j), the pixel value r (2i + 1,2j) of R having a correlation in the vertical direction is calculated by the following equation. r (2i + 1, 2j) = g (2i + 1, 2j) × (R2vlpf / G2vlpf) = g (2i + 1, 2j) × (r (2i, 2j) + r (2i + 2, 2j)) / (G (2i, 2j) + G (2i + 2, 2j)) (29)

【0054】また、B信号でのb3で示す画素位置にお
いても同様に、画素位置(2i,2j+1)において、
垂直方向のローパスフィルタを介した値B2vlpf、
G3vlpfを例えば、 B2vlpf=(b(2i−1、2j+1)+b(2i+1、2j+1))/2 (30) G3vlpf=(G(2i−1、2j+1)+G(2i+1、2j+1))/2 (31) により算出し、このB2vlpfとG3vlpfの比と
画素g(2i、2j+1)により、次式の演算で垂直方
向に相関を持つ画素値b(2i,2j+1)を算出す
る。 b(2i、2j+1)=g(2i、2j+1)×(B2vlpf/G3vlpf ) =g(2i、2j+1)×(b(2i−1、2j+1)+b(2i+1、2 j+1))/( G(2i−1、2j+1)+G(2i+1、2j+1)) (32)
Similarly, at the pixel position (2i, 2j + 1) at the pixel position indicated by b3 in the B signal,
The value B2vlpf through a vertical low-pass filter,
Let G3vlpf be, for example, B2vlpf = (b (2i-1, 2j + 1) + b (2i + 1, 2j + 1)) / 2 (30) G3vlpf = (G (2i-1, 2j + 1) + G (2i + 1, 2j + 1)) / 2 (31) Using the ratio of B2vlpf and G3vlpf and the pixel g (2i, 2j + 1), the pixel value b (2i, 2j + 1) having a vertical correlation is calculated by the following equation. b (2i, 2j + 1) = g (2i, 2j + 1) × (B2vlpf / G3vlpf) = g (2i, 2j + 1) × (b (2i−1, 2j + 1) + b (2i + 1, 2j + 1)) / (G (2i− 1, 2j + 1) + G (2i + 1, 2j + 1)) (32)

【0055】また、ΔH≦ΔVで水平方向に相関が高い
と判定される場合には、第2のRB成分復元手段25に
おいて、R、G、B信号での左右方向の画素信号より演
算し、水平方向に相関を持つ信号を出力する。R信号で
のr3で示す画素位置(2i+1,2j)においては、
水平方向のローパスフィルタを介した値R2hlpf、
G2hlpfを例えば、 R2hlpf=(r(2i+1、2j−1)+r(2i+1、2j+1))/2 (33) G2hlpf=(G(2i+1、2j−1)+G(2i+1、2j+1))/2 (34) により算出し、このR2hlpfとG2hlpfの比と
画素g(2i+1、2j)により、次式の演算で水平方
向に相関を持つRの画素値r(2i+1,2j)を算出
する。 r(2i+1、2j)=g(2i+1、2j)×(R2hlpf/G2hlpf ) =g(2i+1、2j)×(r(2i+1、2j−1)+r(2i+1、2 j+1))/( G(2i+1、2j−1)+G(2i+1、2j+1)) (35)
If it is determined that the correlation is high in the horizontal direction when ΔH ≦ ΔV, the second RB component restoring means 25 calculates from the left-right pixel signals of the R, G, and B signals, Outputs a signal having horizontal correlation. At the pixel position (2i + 1,2j) indicated by r3 in the R signal,
The value R2hlpf through a horizontal low-pass filter,
G2hlpf is, for example, R2hlpf = (r (2i + 1, 2j-1) + r (2i + 1, 2j + 1)) / 2 (33) G2hlpf = (G (2i + 1, 2j-1) + G (2i + 1, 2j + 1)) / 2 (34) From the ratio of R2hlpf to G2hlpf and the pixel g (2i + 1,2j), a pixel value r (2i + 1,2j) of R having a correlation in the horizontal direction is calculated by the following equation. r (2i + 1, 2j) = g (2i + 1, 2j) × (R2hlpf / G2hlpf) = g (2i + 1, 2j) × (r (2i + 1, 2j−1) + r (2i + 1, 2j + 1)) / (G (2i + 1, 2j-1) + G (2i + 1, 2j + 1)) (35)

【0056】B信号でのb3で示す画素位置においても
同様に、画素位置(2i,2j+1)において、水平方
向のローパスフィルタを介した値B2hlpf、G3h
lpfを例えば、 B2hlpf=(b(2i、2j)+b(2i、2j+2))/2 (36) G3hlpf=(G(2i、2j)+G(2i、2j+2))/2 (37) により算出し、このB2hlpfとG3hlpfの比と
画素g(2i、2j+1)により、次式の演算で水平方
向に相関を持つ画素値b(2i,2j+1)を算出す
る。 b(2i、2j+1)=g(2i、2j+1)×(B2hlpf/G3hlpf ) =g(2i、2j+1)×(b(2i、2j)+b(2i、2j+2)) /(G(2i、2j)+G(2i、2j+2)) (38)
Similarly, at the pixel position indicated by b3 in the B signal, at the pixel position (2i, 2j + 1), the values B2hlpf, G3h passed through the horizontal low-pass filter.
lpf is calculated by, for example, B2hlpf = (b (2i, 2j) + b (2i, 2j + 2)) / 2 (36) G3hlpf = (G (2i, 2j) + G (2i, 2j + 2)) / 2 (37) From the ratio of B2hlpf to G3hlpf and the pixel g (2i, 2j + 1), a pixel value b (2i, 2j + 1) having a correlation in the horizontal direction is calculated by the following equation. b (2i, 2j + 1) = g (2i, 2j + 1) × (B2hlpf / G3hlpf) = g (2i, 2j + 1) × (b (2i, 2j) + b (2i, 2j + 2)) / (G (2i, 2j) + G (2i, 2j + 2)) (38)

【0057】なお、上記式(29)、(32)、(3
5)、(38)は上記Gでの復元方法と同様局所的領域
での色信号の変化が少ないことを前提としており、つま
り、各信号の比は局所的な領域ではほぼ等しいというこ
とによる。また、式(27)〜(38)におけるG2h
lpf、G2vlpf、G3hlpf、G3vlpf、
R2hlpf、R2vlpf、B2hlpf、B2vl
pfの算出式は、水平および垂直方向のローパスフィル
タ出力の算出例であり、フィルタのタップ数および係数
は上記に限るものではなく、他のタップ数および係数で
あってもよい。
The above equations (29), (32) and (3)
5) and (38) are based on the premise that the change of the color signal in the local region is small as in the above-described restoration method in G, that is, the ratio of each signal is almost equal in the local region. G2h in the equations (27) to (38)
lpf, G2vlpf, G3hlpf, G3vlpf,
R2hlpf, R2vlpf, B2hlpf, B2vl
The formula for calculating pf is an example of calculating the output of the low-pass filter in the horizontal and vertical directions, and the number of taps and coefficients of the filter are not limited to the above, and other tap numbers and coefficients may be used.

【0058】以上より、第2のRB成分復元手段25か
らは画素位置(2i、2j)、(2i、2j+1)、
(2i+1、2j)、(2i+1、2j+1)それぞれ
の画素でのRおよびB信号が出力され、つまり、撮像素
子の画素数分の解像度のR、B信号を得られるとにな
る。G信号は上記G成分復元手段22においてすでに撮
像素子の画素数分の解像度の信号を得ており、したがっ
て、G成分を用い水平垂直方向のエッジ成分を判定して
局所的な領域での空間周波数の変化を判定し、その判定
結果に基づき各色信号の生成を切り換えるともに、エッ
ジ成分が所定値を越える場合の信号の算出において、局
所的な領域での色信号の比により算出を行い、エッジ成
分が所定値以下では周辺画素の平均値で求めることで、
第1および第2の色復元手段5および6の出力において
撮像素子の画素数分の解像度のR、G、B信号が得られ
る。
From the above, the pixel positions (2i, 2j), (2i, 2j + 1),
The R and B signals at each of the pixels (2i + 1, 2j) and (2i + 1, 2j + 1) are output, that is, R and B signals having a resolution equal to the number of pixels of the image sensor can be obtained. As for the G signal, the G component restoring means 22 has already obtained signals of the resolution corresponding to the number of pixels of the image sensor. Therefore, the edge component in the horizontal and vertical directions is determined using the G component, and the spatial frequency Is determined, and the generation of each color signal is switched based on the result of the determination. In the calculation of the signal when the edge component exceeds a predetermined value, the calculation is performed based on the ratio of the color signal in a local region, and the edge component is calculated. Is less than or equal to a predetermined value, by calculating the average value of peripheral pixels,
At the outputs of the first and second color restoration means 5 and 6, R, G, and B signals having resolutions corresponding to the number of pixels of the image sensor are obtained.

【0059】次に、上述の方法により第1の色復元手段
5において復元された撮像素子の画素数分の信号R1、
G1、B1は多重手段7へと送られ、第2の色復元手段
6において復元された撮像素子の画素数分の信号R2、
G2、B2も多重手段7へと送られる。多重手段7にお
いては、第1の色復元手段5からのR1、G1、B1信
号と第2の色復元手段6からのR2、G2、B2信号に
より、水平垂直方向各2倍の解像度の信号になるようそ
れぞれの信号を合成多重する。つまり、各信号は図2に
示す斜め方向に半画素ずらしたデータD1とD2により
復元された信号であるので、上記R1、G1、B1とR
2、G2、B2は各撮像素子での画素数の水平垂直方向
各2倍の解像度の信号において、図8に示されるような
配置となる。つまり、水平垂直方向各2倍の解像度の各
信号において、垂直2x行水平2y+1列の画素位置
(2x、2y+1)(x、yは整数)にR1、G1、B
1が位置し、画素位置(2x+1、2y)にR2、G
2、B2が位置しており、図8においてD1はR1また
はG1またはB1の位置を示し、D2はR2またはG2
またはB2の位置を示している。したがって、多重手段
7からは図9から図11に示されるような配置となる画
素数が水平垂直方向各2倍の解像度の信号が出力される
こととなる。
Next, the signals R1 and R2 corresponding to the number of pixels of the image sensor restored by the first color restoring means 5 by the method described above.
G1 and B1 are sent to the multiplexing means 7 and the signals R2,
G2 and B2 are also sent to the multiplexing means 7. The multiplexing means 7 converts the R1, G1, and B1 signals from the first color restoring means 5 and the R2, G2, and B2 signals from the second color restoring means 6 into signals each having twice the resolution in the horizontal and vertical directions. The respective signals are combined and multiplexed so as to achieve. That is, since each signal is a signal restored by the data D1 and D2 shifted by a half pixel in the oblique direction shown in FIG. 2, the above R1, G1, B1 and R
8, G2 and B2 are arranged as shown in FIG. 8 in a signal having a resolution of twice the number of pixels in each image sensor in the horizontal and vertical directions. That is, R1, G1, and B1 are located at pixel positions (2x, 2y + 1) (x and y are integers) in a vertical 2x row and horizontal 2y + 1 column in each signal having twice the resolution in the horizontal and vertical directions.
1 and R2, G at pixel position (2x + 1, 2y)
2 and B2 are located. In FIG. 8, D1 indicates the position of R1 or G1 or B1, and D2 is R2 or G2.
Or the position of B2 is shown. Therefore, the multiplexing means 7 outputs a signal having a resolution of twice the number of pixels arranged in the horizontal and vertical directions as shown in FIGS.

【0060】次に、多重手段7の出力であるR、G、B
各信号(図9〜図11)は、平均値演算手段9、水平方
向演算手段10、垂直方向演算手段11に送られ、G信
号はエッジ判定手段8へも入力される。ここで、図9〜
図11おいて示されるように、各信号において画素位置
(2x、2y)、(2x+1、2y+1)の画素は得ら
れておらず、したがって、これらの画素での信号を上記
平均値演算手段9、水平方向演算手段10、垂直方向演
算手段11で算出することとなる。そして、平均値演算
手段9、水平方向演算手段10、垂直方向演算手段11
による出力は選択手段12へと送られ、エッジ判定手段
8ではG信号における画素位置(2x、2y)、(2x
+1、2y+1)での周辺画素のエッジ成分を判定し、
判定結果を選択手段12へと出力する。
Next, R, G, B, which are the outputs of the multiplexing means 7,
Each signal (FIGS. 9 to 11) is sent to the average value calculation means 9, the horizontal direction calculation means 10, and the vertical direction calculation means 11, and the G signal is also input to the edge determination means 8. Here, FIG.
As shown in FIG. 11, the pixels at the pixel positions (2x, 2y) and (2x + 1, 2y + 1) are not obtained in each signal, and therefore, the signals at these pixels are converted into the average value calculating means 9, The calculation is performed by the horizontal calculation means 10 and the vertical calculation means 11. Then, the average value calculation means 9, the horizontal direction calculation means 10, the vertical direction calculation means 11
Is sent to the selection means 12, and the edge determination means 8 outputs the pixel positions (2x, 2y), (2x
(+1, 2y + 1), the edge components of the peripheral pixels are determined,
The result of the determination is output to the selection means 12.

【0061】図12はこの発明の実施の形態1による撮
像装置における高解像度化の動作を説明するためのフロ
ーチャートであり、前記エッジ判定手段8、平均値演算
手段9、水平方向演算手段10、垂直方向演算手段11
および選択手段12での動作を示すものである。この図
12に従い説明する。
FIG. 12 is a flowchart for explaining the operation of increasing the resolution in the image pickup apparatus according to the first embodiment of the present invention. Direction calculation means 11
And the operation of the selection means 12. A description will be given with reference to FIG.

【0062】図9〜図11で示す各画素信号が得られて
いる画素位置(2x、2y+1)、(2x+1、2y)
については選択手段12においてそのままの信号を出力
する。画素位置(2x、2y)、(2x+1、2y+
1)については、まずエッジ判定手段8において、G信
号の上記画素位置での左右および上下の画素より水平お
よび垂直方向の差分(つまりエッジ成分)を検出する。
つまり、多重手段7からのG信号に対し、上記画素位置
での左右の画素の差の絶対値ΔHg、上下の画素の差の
絶対値ΔVg算出する。例えば、画素位置(2x、2
y)においては、水平方向差分ΔHgは、 ΔHg=|G(2x、2y−1)−G(2x、2y+
1)| 垂直方向差分ΔVgは、 ΔVg=|G(2x−1、2y)−G(2x+1、2
y)| となる。
The pixel positions (2x, 2y + 1), (2x + 1, 2y) at which the pixel signals shown in FIGS. 9 to 11 are obtained.
As for, the selection means 12 outputs a signal as it is. Pixel positions (2x, 2y), (2x + 1, 2y +
Regarding 1), first, the edge determination means 8 detects differences in the horizontal and vertical directions (that is, edge components) from the left and right and upper and lower pixels at the pixel position of the G signal.
That is, for the G signal from the multiplexing means 7, the absolute value ΔHg of the difference between the left and right pixels at the pixel position and the absolute value ΔVg of the difference between the upper and lower pixels are calculated. For example, the pixel position (2x, 2
In y), the horizontal difference ΔHg is ΔHg = | G (2x, 2y−1) −G (2x, 2y +
1) | The vertical difference ΔVg is ΔVg = | G (2x−1, 2y) −G (2x + 1, 2)
y) |

【0063】そして、上記水平方向差分ΔHgおよび垂
直方向差分ΔVgにより、水平垂直方向での周辺画素で
のエッジを判定し、その判定結果を示す信号edを選択
手段12へと出力する。判定結果edにおいて、ΔHg
とΔVgの両方が予め定めた値thg以下の場合は周辺
画素での信号レベルの変化がないと判定し、選択手段1
2において平均値演算手段9からの信号を選択する。平
均値演算手段9では、各信号において画素位置(2x、
2y)、(2x+1、2y+1)での上下左右の4画素
の平均値を演算しており、例えば画素位置(2x、2
y)の場合は次式によりR、G、B各信号の値Ra、G
a、Baを演算して、選択手段12へと出力している。 Ra(2x、2y)={R(2x−1、2y)+R(2
x+1、2y)+R(2x、2y−1)+R(2x、2
y+1)}/4 Ga(2x、2y)={G(2x−1、2y)+G(2
x+1、2y)+G(2x、2y−1)+G(2x、2
y+1)}/4 Ba(2x、2y)={B(2x−1、2y)+B(2
x+1、2y)+B(2x、2y−1)+B(2x、2
y+1)}/4
Based on the horizontal difference ΔHg and the vertical difference ΔVg, an edge of a peripheral pixel in the horizontal and vertical directions is determined, and a signal ed indicating the determination result is output to the selection means 12. In the judgment result ed, ΔHg
If both of .DELTA.Vg and .DELTA.Vg are equal to or less than a predetermined value thg, it is determined that there is no change in the signal level in the peripheral pixels, and the selecting means 1
In step 2, the signal from the average value calculating means 9 is selected. In the average value calculating means 9, the pixel position (2x,
2y) and (2x + 1, 2y + 1), the average value of the four pixels at the top, bottom, left and right is calculated.
In the case of y), the values Ra, G of the R, G, and B signals are given by the following equations.
a and Ba are calculated and output to the selection means 12. Ra (2x, 2y) = {R (2x-1, 2y) + R (2
x + 1, 2y) + R (2x, 2y-1) + R (2x, 2
y + 1)} / 4 Ga (2x, 2y) = {G (2x−1, 2y) + G (2
x + 1, 2y) + G (2x, 2y-1) + G (2x, 2
y + 1)} / 4 Ba (2x, 2y) = {B (2x−1, 2y) + B (2
x + 1,2y) + B (2x, 2y-1) + B (2x, 2
y + 1)} / 4

【0064】一方、ΔHgまたはΔVgが予め定めた値
thgより大きい場合は、その画素においてエッジ成分
があると判定し、さらに、ΔHg>ΔVgの場合は水平
方向にエッジ成分があり、垂直方向に相関が高いと判定
し、ΔHg≦ΔVgの場合は垂直方向にエッジ成分があ
り、水平方向に相関が高いと判定する。そして、ΔHg
>ΔVgで垂直方向に相関が高いと判定される場合は、
選択手段12において垂直方向演算手段11からの信号
を選択する。垂直方向演算手段11では各信号において
画素位置(2x、2y)、(2x+1、2y+1)での
上下方向の画素の平均値を演算し、垂直方向に相関を持
つ信号を出力する。例えば、画素位置(2x、2y)の
場合は次式によりR、G、B各信号の値Rv、Gv、B
vを演算して、選択手段12へと出力している。 Rv(2x、2y)={R(2x−1、2y)+R(2
x+1、2y)}/2 Gv(2x、2y)={G(2x−1、2y)+G(2
x+1、2y)}/2 Bv(2x、2y)={B(2x−1、2y)+B(2
x+1、2y)}/2
On the other hand, if ΔHg or ΔVg is larger than a predetermined value thg, it is determined that there is an edge component in the pixel. Further, if ΔHg> ΔVg, there is an edge component in the horizontal direction, and there is a correlation in the vertical direction. Is high, and when ΔHg ≦ ΔVg, it is determined that there is an edge component in the vertical direction and the correlation is high in the horizontal direction. And ΔHg
When it is determined that the correlation is high in the vertical direction at> ΔVg,
The signal from the vertical operation means 11 is selected by the selection means 12. The vertical direction calculating means 11 calculates the average value of the pixels in the vertical direction at the pixel positions (2x, 2y) and (2x + 1, 2y + 1) in each signal, and outputs a signal having a correlation in the vertical direction. For example, in the case of the pixel position (2x, 2y), the values Rv, Gv, and B of the R, G, and B signals are expressed by the following equations.
v is calculated and output to the selection means 12. Rv (2x, 2y) = {R (2x-1, 2y) + R (2
x + 1, 2y) / 2 Gv (2x, 2y) = {G (2x-1, 2y) + G (2
x + 1,2y)} / 2 Bv (2x, 2y) = {B (2x−1,2y) + B (2
x + 1, 2y)} / 2

【0065】また、ΔHg≦ΔVgで水平方向に相関が
高いと判定される場合には、選択手段12において水平
方向演算手段10からの信号を選択する。水平方向演算
手段10では各信号において画素位置(2x、2y)、
(2x+1、2y+1)での左右方向の画素の平均値を
演算し、水平方向に相関を持つ信号を出力する。例え
ば、画素位置(2x、2y)の場合は次式によりR、
G、B各信号の値Rh、Gh、Bhを演算して、選択手
段12へと出力している。 Rh(2x、2y)={R(2x、2y−1)+R(2
x、2y+1)}/2 Gh(2x、2y)={G(2x、2y−1)+G(2
x、2y+1)}/2 Bh(2x、2y)={B(2x、2y−1)+B(2
x、2y+1)}/2
When it is determined that the correlation is high in the horizontal direction when ΔHg ≦ ΔVg, the selection means 12 selects the signal from the horizontal operation means 10. In the horizontal direction calculating means 10, the pixel position (2x, 2y) in each signal,
The average value of the pixels in the horizontal direction at (2x + 1, 2y + 1) is calculated, and a signal having a correlation in the horizontal direction is output. For example, in the case of the pixel position (2x, 2y), R,
The values Rh, Gh, and Bh of the G and B signals are calculated and output to the selection unit 12. Rh (2x, 2y) = {R (2x, 2y-1) + R (2
x, 2y + 1)} / 2 Gh (2x, 2y) = {G (2x, 2y−1) + G (2
x, 2y + 1)} / 2 Bh (2x, 2y) = {B (2x, 2y−1) + B (2
x, 2y + 1)} / 2

【0066】以上より、選択手段12からは画素位置
(2x、2y)、(2x、2y+1)、(2x+1、2
y)、(2x+1、2y+1)それぞれの画素でのR、
G、B信号が出力され、つまり、撮像素子の画素数の水
平垂直方向各2倍の解像度のR、G、B信号を得られる
ことになり、したがって、G信号を用い水平垂直方向の
エッジ成分を判定し、その判定結果に基づき各色信号の
生成を切り換えるともに、エッジ成分が所定値を越える
場合の信号の算出において、エッジ成分が少ない方向で
の画素より算出を行い、エッジ成分が所定値以下では周
辺画素の平均値で求めることで、水平垂直方向各2倍の
解像度の画像における偽色、偽輪郭が軽減され、また、
全ての信号における水平垂直の両方向の解像度が向上す
ることになる。
As described above, the pixel positions (2x, 2y), (2x, 2y + 1), (2x + 1, 2)
y), R at each pixel (2x + 1, 2y + 1),
G and B signals are output, that is, R, G, and B signals having a resolution twice as large as the number of pixels of the image sensor in the horizontal and vertical directions can be obtained. Is determined, the generation of each color signal is switched based on the determination result, and in the calculation of the signal when the edge component exceeds a predetermined value, the calculation is performed from the pixels in the direction where the edge component is small, and the edge component is equal to or less than the predetermined value. By calculating the average value of the peripheral pixels, false colors and false contours in an image with twice the resolution in the horizontal and vertical directions can be reduced.
The resolution of all the signals in both the horizontal and vertical directions is improved.

【0067】図13はこの発明の実施の形態1による撮
像装置と従来の装置により処理したシミュレーション画
像での垂直方向の解像度での偽色レベルを示す図であ
り、詳しくは、発明者らによる画像シミュレーションに
おいて、ゾーンプレートを上述図1の構成により処理し
た場合の垂直方向で発生する偽色レベル(color−
alias level、縦軸)と解像度(横軸)との
関係を示している。上記従来技術による処理後の偽色レ
ベルを破線で示し、図1による実施の形態1による処理
後の偽色レベルを実線で示している。従来の技術による
処理では多くの偽色が発生しているが、実施の形態1に
よる処理では偽色の発生が抑圧されている。各処理でこ
の垂直方向の偽色信号のレベルを積分して比較すると、
約21.5dBの抑圧効果がある。
FIG. 13 is a diagram showing a false color level at a vertical resolution in a simulation image processed by the imaging apparatus according to the first embodiment of the present invention and a conventional apparatus. More specifically, FIG. In the simulation, a false color level (color-color) generated in the vertical direction when the zone plate is processed by the configuration of FIG.
It shows the relationship between the alias level (vertical axis) and the resolution (horizontal axis). The false color level after processing according to the above-described conventional technique is indicated by a broken line, and the false color level after processing according to the first embodiment shown in FIG. 1 is indicated by a solid line. Many false colors are generated in the processing according to the related art, but the processing according to the first embodiment suppresses the generation of false colors. In each process, the level of this false color signal in the vertical direction is integrated and compared.
There is a suppression effect of about 21.5 dB.

【0068】なお、上記実施の形態1において、第1の
色復元手段5および第2の色復元手段6における色復元
手段の構成を図4に示す構成の場合について説明した
が、他の周辺画素からの補間による復元方法であって
も、斜めに半画素ずらした2枚の撮像素子により得た信
号よりそれぞれ撮像素子の画素数分のR、G、B信号を
復元して、この画素ずらしによる2枚分の復元画像より
上述図1による方法で水平垂直方向各2倍の解像度の画
像を得るのであれば、上記実施の形態1と同様の効果を
奏する。
In the first embodiment, the configuration of the color restoring means in the first color restoring means 5 and the second color restoring means 6 has been described with reference to the configuration shown in FIG. Even if the restoration method by interpolation is used, R, G, and B signals corresponding to the number of pixels of the image sensor are restored from the signals obtained by the two image sensors that are obliquely shifted by half a pixel, and this pixel shift is performed. If an image having twice the resolution in the horizontal and vertical directions is obtained from the two restored images by the method shown in FIG. 1, the same effect as in the first embodiment can be obtained.

【0069】また、上記実施の形態1では、撮像素子1
における画素ずらしによる2枚の撮像素子の色フィルタ
の配列を図3に示す原色の色フィルタであり、各光電変
換素子を独立に呼び出す方式の撮像素子として説明して
いるが、撮像素子は画素混合方式の撮像素子であっても
よく、色フィルタの分光特性はR、G、Bに限るもので
はなく、また、色フィルタの配列も他の場合でもよく、
斜めに半画素ずらした2枚の撮像素子により得たデータ
より撮像素子の画素数の信号を復元してRGBの色信号
を再生でき、この画素ずらしによる2枚分の復元した信
号より上述図1による方法で水平垂直方向各2倍の解像
度の信号を得られるのであれば、上記と同様の効果を奏
する。
In the first embodiment, the image pickup device 1
The arrangement of the color filters of the two image sensors due to the pixel shift is a primary color filter shown in FIG. 3, and each of the photoelectric conversion elements is described as an independent image sensor. The image sensor of the system may be used, and the spectral characteristics of the color filters are not limited to R, G, and B, and the arrangement of the color filters may be other cases.
An RGB color signal can be reproduced by restoring a signal of the number of pixels of the image sensor from the data obtained by the two image sensors shifted obliquely by half a pixel, and FIG. As long as a signal having twice the resolution in each of the horizontal and vertical directions can be obtained by the method described above, the same effect as described above can be obtained.

【0070】例えば、図14に示すように、画素位置
(2i,2j)と画素位置(2i+1、2j+1)(i
=0、1、2、…、j=0、1、2、…)に第1の色信
号Aを通過させる分光特性を持った第1の色フィルタ
を、画素位置(2i、2j+1)に第2の色信号Bを通
過させる分光特性を持った第2の色フィルタを、画素位
置(2i+1、2j)に第3の色信号Cを通過させる分
光特性を持った第3の色フィルタを配列し、色復元手段
5、6において撮像素子の画素数分の各色信号A、B、
Cを復元した後RGBの色信号を再生できればよい。ま
た、図15に示されるように、画素位置(2i,2j+
1)と画素位置(2i+1、2j)(i=0、1、2、
…、j=0、1、2、…)に第1の色フィルタを、画素
位置(2i、2j)に第2の色フィルタを、画素位置
(2i+1、2j+1)に第3の色フィルタを配列した
場合(図15中の斜線部分)でも同様の効果を奏する。
For example, as shown in FIG. 14, a pixel position (2i, 2j) and a pixel position (2i + 1, 2j + 1) (i
= 0, 1, 2,..., J = 0, 1, 2,...) At the pixel position (2i, 2j + 1). A second color filter having a spectral characteristic for passing the second color signal B, and a third color filter having a spectral characteristic for passing the third color signal C at the pixel position (2i + 1, 2j). , The respective color signals A, B,
It is only necessary that RGB color signals can be reproduced after C is restored. Further, as shown in FIG. 15, the pixel position (2i, 2j +
1) and pixel positions (2i + 1, 2j) (i = 0, 1, 2,.
, J = 0, 1, 2,...), A first color filter at the pixel position (2i, 2j), and a third color filter at the pixel position (2i + 1, 2j + 1). In this case (the hatched portion in FIG. 15), the same effect can be obtained.

【0071】また、上記実施の形態1では、撮像素子1
における画素ずらしによる2枚の撮像素子の配置を図2
に示すように配置して説明しているが、斜め方向に半画
素ずらすのであれば図16のような配置であっても上記
実施の形態1により高解像度の画像を得られ、同様の効
果を奏する。
In the first embodiment, the image pickup device 1
FIG. 2 shows the arrangement of two image sensors due to pixel shift in FIG.
However, if the pixel is shifted by a half pixel in the oblique direction, a high-resolution image can be obtained according to the first embodiment even if the pixel is shifted as shown in FIG. Play.

【0072】なお、上記実施の形態1では、ハードウェ
アにより図1、図4の構成の処理を行う場合について説
明しているが、撮像装置におけるソフトウェアにより同
様の処理を行うことができることは言うまでもなく、上
記実施の形態1と同様の効果を奏する。
In the first embodiment, the case where the processing of the configuration shown in FIGS. 1 and 4 is performed by hardware has been described, but it goes without saying that the same processing can be performed by software in the imaging apparatus. Thus, the same effect as in the first embodiment can be obtained.

【0073】実施の形態2.実施の形態1の図4で示し
た色復元手段5または6において、第1のエッジ判定手
段21においてG信号における画素位置(2i、2j+
1)および(2i+1、2j)での上下左右でのエッジ
成分を判定し、第2のエッジ判定手段24においては、
R信号の復元に対してG信号における画素位置(2i+
1、2j)でのエッジ成分を、B信号の復元に対してG
信号における画素位置(2i、2j+1)でのエッジ成
分を判定するよう構成したが、どちらも画素位置(2
i、2j+1)、(2i+1、2j)での左右および上
下の画素のエッジ成分を検出しており、これらの画素位
置での上下左右の画素信号は撮像素子より得られた信号
であるため、同一のエッジ成分を求めることとなる。よ
って、図17に示すように、色復元手段5または6の構
成を、1つのG成分エッジ判定手段によりG信号におけ
る画素位置(2i、2j+1)および(2i+1、2
j)でのエッジ成分を判定するような構成とすることも
できる。
Embodiment 2 In the color restoration means 5 or 6 shown in FIG. 4 of the first embodiment, the pixel position (2i, 2j +
1) and (2i + 1, 2j) to determine the edge components in the upper, lower, left, and right directions.
The pixel position (2i +
1, 2j), the G component for the reconstruction of the B signal
The edge component at the pixel position (2i, 2j + 1) in the signal is configured to be determined.
i, 2j + 1) and (2i + 1, 2j), the edge components of the left and right and upper and lower pixels are detected. Since the upper, lower, left and right pixel signals at these pixel positions are signals obtained from the image sensor, they are the same. Is to be obtained. Therefore, as shown in FIG. 17, the configuration of the color restoration means 5 or 6 is changed by one G component edge determination means to the pixel positions (2i, 2j + 1) and (2i + 1, 2) in the G signal.
It is also possible to adopt a configuration in which the edge component in j) is determined.

【0074】図17において、20、22〜23および
25は上記実施の形態1での撮像装置における色復元手
段5および6におけるものと同一のものであり、41は
G成分エッジ判定手段である。
In FIG. 17, 20, 22, 23 and 25 are the same as those in the color restoring means 5 and 6 in the image pickup apparatus according to the first embodiment, and 41 is a G component edge judging means.

【0075】次に動作を説明する。フレームメモリ3ま
たは4からの信号を分離手段20により各R、G、B信
号に分離し、G成分復元手段22、第1のRB復元手段
23および第2のRB復元手段25で撮像素子の画素数
の各信号を生成し復元する動作は上記実施の形態1と同
一であるのでその詳細な説明は省略する。
Next, the operation will be described. A signal from the frame memory 3 or 4 is separated into respective R, G, and B signals by a separating unit 20, and a G component restoring unit 22, a first RB restoring unit 23, and a second RB restoring unit 25 use a pixel of an image sensor. The operation of generating and restoring each signal of the numbers is the same as that in the first embodiment, and therefore the detailed description is omitted.

【0076】G成分エッジ判定手段41には分離手段2
0におけるG信号が入力され、画素位置(2i、2j+
1)、(2i+1、2j)(図3中のRおよびBで示す
画素位置)での左右および上下の画素の差分つまりエッ
ジ成分を検出する。つまり、上記画素位置での左右の画
素の差の絶対値ΔH2、上下の画素の差の絶対値ΔV2
を算出する。例えば、画素位置(2i、2j+1)にお
いては、 ΔH2=|G(2i、2j)−G(2i、2j+2)| ΔV2=|G(2i−1、2j+1)−G(2i+1、
2j+1)| として算出する。
The G component edge determining means 41 includes a separating means 2
G signal at 0 is input and the pixel position (2i, 2j +
1) and (2i + 1, 2j) (pixel positions indicated by R and B in FIG. 3), that is, differences between left and right and upper and lower pixels, that is, edge components are detected. That is, the absolute value ΔH2 of the difference between the left and right pixels at the pixel position, and the absolute value ΔV2 of the difference between the upper and lower pixels
Is calculated. For example, at the pixel position (2i, 2j + 1), ΔH2 = | G (2i, 2j) −G (2i, 2j + 2) | ΔV2 = | G (2i−1, 2j + 1) −G (2i + 1,
2j + 1) |.

【0077】そして、上記水平方向でのエッジ成分ΔH
2および垂直方向エッジ成分ΔV2により、水平垂直方
向での周辺画素での信号レベルの変化を判定し、入力さ
れるG信号の各画素位置に応じて、その判定結果を示す
信号ed1をG成分復元手段22へ、edr、edbを
第2のRB成分復元手段25へと出力する。各判定信号
は、ΔH2とΔV2の両方が予め定めた値以下の場合
は、周辺画素での信号レベルの変化がないと判定する。
一方、ΔH2またはΔV2が予め定めた値より大きい場
合は、その画素においてエッジ成分があると判定し、さ
らに、ΔH2>ΔV2の場合は垂直方向に相関が高いと
判定し、ΔH2≦ΔV2の場合は水平方向に相関が高い
と判定する。ここで、G成分復元手段22においては、
画素位置(2i、2j+1)と(2i+1、2j)での
画素を復元するため、両画素位置において上記エッジ判
定結果ed1を出力することになる。
Then, the edge component ΔH in the horizontal direction is obtained.
2 and a vertical edge component ΔV2 to determine a change in signal level in peripheral pixels in the horizontal and vertical directions, and restore a signal ed1 indicating the determination result to the G component according to each pixel position of the input G signal. The edr and edb are output to the second RB component restoring means 25. When both of ΔH2 and ΔV2 are equal to or smaller than a predetermined value, each determination signal determines that there is no change in the signal level in the peripheral pixels.
On the other hand, if ΔH2 or ΔV2 is larger than a predetermined value, it is determined that there is an edge component at that pixel. Further, if ΔH2> ΔV2, it is determined that the correlation is high in the vertical direction. If ΔH2 ≦ ΔV2, It is determined that the correlation is high in the horizontal direction. Here, in the G component restoration means 22,
In order to restore the pixels at the pixel positions (2i, 2j + 1) and (2i + 1, 2j), the edge determination result ed1 is output at both pixel positions.

【0078】一方、第2のRB成分復元手段25におい
ては、R信号の画素位置(2i+1,2j)の復元を行
い、B信号の画素位置(2i、2j+1)の復元を行
う。よって、画素位置(2i+1、2j)において上記
エッジ成分を判定した結果をedrとして、第2のRB
成分復元手段25におけるR信号での処理画素位置にタ
イミングを合わせて出力する。また、画素位置(2i、
2j+1)において上記エッジ成分を判定した結果をe
dbとして、第2のRB成分復元手段25におけるB信
号での処理画素位置にタイミングを合わせて出力する。
On the other hand, the second RB component restoring means 25 restores the pixel position (2i + 1, 2j) of the R signal and restores the pixel position (2i, 2j + 1) of the B signal. Therefore, the result of determining the edge component at the pixel position (2i + 1, 2j) is defined as edr, and the second RB
The component restoration unit 25 outputs the signal in synchronization with the processing pixel position in the R signal. In addition, the pixel position (2i,
2j + 1) is the result of the determination of the edge component
As the db, the second RB component restoring unit 25 outputs the signal in synchronization with the processing pixel position in the B signal.

【0079】よって、G成分エッジ判定手段41におい
て、上記G成分復元手段22および第2のRB成分復元
手段25におけるG、R、B信号を復元する画素位置に
対応するG信号でのエッジ成分の判定結果を出力される
こととなる。
Therefore, in the G component edge determining means 41, the edge component of the G signal corresponding to the pixel position at which the G, R, B signal is restored in the G component restoring means 22 and the second RB component restoring means 25 is obtained. The judgment result is output.

【0080】なお、上記実施の形態2では、画素位置
(2i、2j)、(2i+1、2j+1)にG信号が、
画素位置(2i、2j+1)にR信号が、画素位置(2
i+1、2j+1)にB信号が撮像素子より得られる場
合について説明したが、上記実施の形態1同様、画素位
置(2i、2j+1)、(2i+1、2j)にG信号
が、画素位置(2i、2j)にR信号が、画素位置(2
i+1、2j+1)にB信号が配列されていてもよく、
また、色信号はRGBに限ることはない。
In the second embodiment, the G signal is applied to the pixel positions (2i, 2j) and (2i + 1, 2j + 1).
The R signal is applied to the pixel position (2i, 2j + 1) at the pixel position (2
The case where the B signal is obtained from the image sensor at (i + 1, 2j + 1) has been described. However, as in the first embodiment, the G signal is at pixel positions (2i, 2j + 1) and (2i + 1, 2j) and the pixel position (2i, 2j). ) At the pixel position (2).
i + 1, 2j + 1), a B signal may be arranged,
Further, the color signal is not limited to RGB.

【0081】また、上記実施の形態1と同様、実施の形
態2においても、図17の構成の処理を撮像装置におけ
るソフトウェアにより同様の処理を行うことができるこ
とは言うまでもなく、上記実施の形態2と同様の効果を
奏する。
In the second embodiment, as in the first embodiment, the same processing as that of the second embodiment can be performed by the software in the imaging apparatus. A similar effect is achieved.

【0082】[0082]

【発明の効果】以上のように、この発明による撮像装置
によれば、斜め方向に半画素ずらして配置された2枚の
撮像素子を備えた撮像装置において、第1および第2の
撮像素子により読み出された色信号より各撮像素子に対
して撮像素子の画素数分の解像度の色信号を復元生成す
る色信号復元手段と、前記色信号復元手段からの出力で
ある上記第1および第2の撮像素子からの信号より復元
された各信号により各撮像素子の画素数の水平垂直方向
各2倍の解像度の信号の画素を得る手段と、前記得られ
た水平垂直方向各2倍の解像度の信号での所定画素位置
における周辺画素のエッジ成分を判定する第1のエッジ
判定手段を備えるとともに、前記第1のエッジ判定手段
からの信号に基づき、水平垂直方向各2倍の解像度の色
信号での所定画素位置の信号を算出する手段を有するこ
とにより、偽色、偽輪郭の軽減された水平垂直方向各2
倍の解像度の高解像度画像を得ることができ、かつ、水
平、垂直方向における解像度を向上することができる。
As described above, according to the image pickup apparatus of the present invention, in the image pickup apparatus having two image pickup elements which are arranged to be shifted by a half pixel in the oblique direction, the first and second image pickup elements A color signal restoring unit for restoring and generating a color signal having a resolution corresponding to the number of pixels of the image sensor for each image sensor from the read color signals; and the first and second outputs being the outputs from the color signal restoring unit. Means for obtaining a pixel of a signal having a resolution twice as large as the number of pixels of each image sensor in the horizontal and vertical directions from each signal restored from the signal from the image sensor as described above; A first edge determining means for determining an edge component of a peripheral pixel at a predetermined pixel position in the signal; and a color signal having a resolution twice as high in the horizontal and vertical directions based on a signal from the first edge determining means. Predetermined pixel By having a means for calculating the location of the signal, the horizontal and vertical directions each 2 false color, was reduced false contour
A high-resolution image with double resolution can be obtained, and the resolution in the horizontal and vertical directions can be improved.

【0083】また、この発明による撮像装置によれば、
前記第1のエッジ判定手段が、所定の色信号での所定画
素における左右の隣接画素の差の絶対値を算出して水平
方向のエッジ成分を検出する手段と、上下の画素の差の
絶対値を算出して垂直方向のエッジ成分を検出する手段
と、前記水平方向のエッジ成分を検出する手段と垂直方
向エッジ成分を検出する手段からの出力に基づき、前記
所定画素における水平または垂直方向のエッジ成分を判
定することにより、偽色、偽輪郭の軽減された水平垂直
方向各2倍の解像度の高解像度画像を得ることができ、
かつ、水平、垂直方向における解像度を向上することが
できる。
According to the imaging apparatus of the present invention,
A first edge determining means for calculating an absolute value of a difference between left and right neighboring pixels in a predetermined pixel in a predetermined color signal to detect a horizontal edge component; and an absolute value of a difference between upper and lower pixels. Calculating a vertical edge component and calculating a horizontal edge component based on an output from the horizontal edge component detecting unit and a vertical edge component detecting unit. By determining the components, it is possible to obtain a high-resolution image with a double resolution in the horizontal and vertical directions in which false colors and false contours are reduced,
In addition, the resolution in the horizontal and vertical directions can be improved.

【0084】また、この発明による撮像装置よれば、前
記第1のエッジ判定手段におけるエッジ成分の判定が、
上記水平方向のエッジ成分を検出する手段からの出力ま
たは上記垂直方向のエッジ成分を検出する手段からの出
力が予め定めた値より大きい場合は、上記所定画素の周
辺画素にエッジ成分を検出したとし、さらに、水平方向
のエッジ成分を検出する手段からの出力が上記垂直方向
のエッジ成分を検出する手段の出力より大きい場合は垂
直方向により相関があり、水平方向エッジ成分を検出す
る手段の出力が上記垂直方向エッジ成分を検出する手段
出力より小さい場合は水平方向により相関があると判定
するとともに、上記水平方向エッジ成分を検出する手段
および垂直方向エッジ成分を検出する手段の出力がとも
に予め定めた値より小さい場合にはエッジ成分を検出し
ないと判定することにより、偽色、偽輪郭の軽減された
水平垂直方向各2倍の解像度の高解像度画像を得ること
ができ、かつ、水平、垂直方向における解像度を向上す
ることができる。
According to the imaging apparatus of the present invention, the first edge determining means determines the edge component.
If the output from the means for detecting the horizontal edge component or the output from the means for detecting the vertical edge component is larger than a predetermined value, it is assumed that an edge component has been detected in a peripheral pixel of the predetermined pixel. Further, when the output from the means for detecting the edge component in the horizontal direction is larger than the output from the means for detecting the edge component in the vertical direction, there is a correlation in the vertical direction, and the output from the means for detecting the edge component in the horizontal direction is If the output of the means for detecting the vertical edge component is smaller than the output of the means for detecting the vertical edge component, it is determined that there is a correlation in the horizontal direction, and the outputs of the means for detecting the horizontal edge component and the means for detecting the vertical edge component are both predetermined. If the value is smaller than the value, it is determined that no edge component is detected. It can be obtained for high-resolution images of the resolution, and it is possible to improve the resolution horizontal, in the vertical direction.

【0085】また、この発明による撮像装置よれば、上
記水平垂直方向各2倍の解像度の信号での所定画素位置
の信号を算出する手段が、所定画素位置における色信号
それぞれに対し、上下の画素の平均値より信号を算出す
る垂直方向算出手段と、左右の画素の平均値より信号を
算出する水平方向算出手段と、上下左右の隣接画素の平
均値より信号を算出する平均値算出手段とを備え、上記
第1のエッジ判定手段の出力に基づき、上記水平方向算
出手段の出力または垂直方向算出手段出力、または平均
値算出手段からの出力より選択し、上記所定画素での信
号を得て、撮像素子における画素数の水平垂直方向各2
倍の解像度の各色信号を得ることにより、偽色、偽輪郭
の軽減された水平垂直方向各2倍の解像度の高解像度画
像を得ることができ、かつ、水平、垂直方向における解
像度を向上することができる。
Further, according to the imaging apparatus of the present invention, the means for calculating the signal at the predetermined pixel position in the signal having the resolution twice as high in the horizontal and vertical directions is provided for each of the color signals at the predetermined pixel position. Vertical calculation means for calculating a signal from the average value of, horizontal calculation means for calculating the signal from the average value of the left and right pixels, and average value calculation means for calculating the signal from the average value of the upper, lower, left and right adjacent pixels Based on the output of the first edge determination means, select from the output of the horizontal direction calculation means or the output of the vertical direction calculation means, or the output from the average value calculation means, obtain a signal at the predetermined pixel, 2 pixels each in the horizontal and vertical directions of the number of pixels in the image sensor
By obtaining each color signal of double resolution, it is possible to obtain a high-resolution image of double resolution in the horizontal and vertical directions with reduced false colors and false contours, and to improve the resolution in the horizontal and vertical directions Can be.

【0086】また、この発明による撮像装置によれば、
上記水平垂直方向各2倍の解像度の信号での所定画素位
置の信号を算出する手段が、所定画素位置において上記
第1のエッジ判定手段の出力がエッジ成分を検出しない
と判定した場合は上記平均値算出手段の出力を選択し、
垂直方向に相関があると判定した場合は上記垂直方向算
出手段の出力を選択し、水平方向に相関があると判定し
た場合は上記水平方向算出手段の出力を選択することに
より、偽色、偽輪郭の軽減された水平垂直方向各2倍の
解像度の高解像度画像を得ることができ、かつ、水平、
垂直方向における解像度を向上することができる。
According to the imaging apparatus of the present invention,
If the means for calculating a signal at a predetermined pixel position in the signal having a resolution twice as high in the horizontal and vertical directions determines that the output of the first edge determination means does not detect an edge component at the predetermined pixel position, the average is calculated. Select the output of the value calculation means,
When it is determined that there is a correlation in the vertical direction, the output of the vertical direction calculation means is selected, and when it is determined that there is a correlation in the horizontal direction, the output of the horizontal direction calculation means is selected. It is possible to obtain a high-resolution image with twice the resolution in the horizontal and vertical directions with reduced contours,
The resolution in the vertical direction can be improved.

【0087】また、この発明による撮像装置によれば、
上記斜め方向に半画素ずらして配置された2枚の撮像素
子それぞれにおいて、各撮像素子が、垂直2行水平2列
の上下4画素において、第1の色信号に対する分光感度
特性を持つ第1の色フィルタと第2の色信号に対する分
光感度特性を持つ第2の色フィルタとが垂直1行目に配
列され、垂直2行目には上記垂直1行目の第1の色フィ
ルタが配列された画素位置と同一の列に第3の色信号に
対する分光感度特性を持つ第3の色フィルタが配列さ
れ、第2の色フィルタと同一の列に第1の色信号に対す
る分光感度特性を持つ第1の色フィルタが配列されてお
り、上記上下4画素の色フィルタが順次垂直および水平
方向に繰り返し配列された撮像素子であり、各撮像素子
からの色信号に対して撮像素子の画素数分の解像度の色
信号を復元生成する上記色信号復元手段が、上記第1の
色フィルタによる第1の色信号の所定画素位置での周辺
画素信号に基づき、所定画素位置におけるエッジ成分を
判定する第2のエッジ判定手段と、前記第2のエッジ判
定手段の出力に基づき、上記第1、第2、第3の色フィ
ルタにより読み出された第1、第2および第3の色信号
により第1の色信号における上記所定位置での信号を算
出する第1の算出手段と、上記第2のエッジ判定手段の
出力に基づき、上記第1の算出手段の出力と色フィルタ
からの第2および第3の色信号により第2および第3の
色信号を算出する第2の算出手段とを備え、上記撮像素
子における画素数の第1、第2、第3の色信号を得ると
ともに、上記第1のエッジ判定手段が、上記水平垂直方
向各2倍の解像度の信号の画素を得る手段からの出力で
ある第1の色信号に対し、所定画素位置における周辺画
素のエッジ成分を判定することにより、偽色、偽輪郭の
軽減された水平垂直方向各2倍の解像度の高解像度画像
を得ることができ、かつ、水平、垂直方向における解像
度を向上することができる。
According to the imaging apparatus of the present invention,
In each of the two image sensors that are displaced by a half pixel in the oblique direction, each of the image sensors has a spectral sensitivity characteristic with respect to a first color signal in four pixels in two rows vertically and two columns vertically. A color filter and a second color filter having a spectral sensitivity characteristic for the second color signal are arranged in a vertical first row, and the first color filter in the vertical first row is arranged in a vertical second row. A third color filter having a spectral sensitivity characteristic for the third color signal is arranged in the same column as the pixel position, and a first color filter having a spectral sensitivity characteristic for the first color signal in the same column as the second color filter. Is an image sensor in which the color filters of the upper and lower four pixels are sequentially arranged in the vertical and horizontal directions sequentially, and the resolution corresponding to the number of pixels of the image sensor with respect to a color signal from each image sensor. Restore the color signal of A second edge determination unit configured to determine an edge component at a predetermined pixel position based on a peripheral pixel signal of the first color signal at a predetermined pixel position by the first color filter; The first, second, and third color signals read out by the first, second, and third color filters based on the output of the second edge determination means at the predetermined position in the first color signal. Based on the output of the first calculating means for calculating the signal and the output of the second edge determining means, the second and third color signals from the color filter and the output of the first calculating means are used. A second calculating means for calculating the color signal of the image sensor, obtaining first, second, and third color signals of the number of pixels in the image sensor, and wherein the first edge determining means calculates the color signal in the horizontal and vertical directions. Obtain pixels of signal with double resolution By judging the edge components of peripheral pixels at predetermined pixel positions with respect to the first color signal output from the stage, false colors and false contours are reduced and a high-resolution image with a double resolution in the horizontal and vertical directions is reduced. And the resolution in the horizontal and vertical directions can be improved.

【0088】また、この発明による撮像装置によれば、
上記色復元手段における第2のエッジ判定手段が、第1
の色信号の所定画素位置における左右の隣接画素の差の
絶対値を算出して水平方向のエッジ成分を検出する水平
方向エッジ検出手段と、第1の色信号の所定画素位置に
おける上下の画素の差の絶対値を算出して垂直方向のエ
ッジ成分を検出する垂直方向エッジ検出手段と、前記水
平方向エッジ検出手段と垂直方向エッジ検出手段からの
出力に基づき、前記所定画素における水平または垂直方
向のエッジ成分を判定する判定手段を備えるとともに、
前記判定手段が、上記水平方向エッジ検出手段からの出
力または上記垂直方向エッジ検出手段からの出力が予め
定めた値より大きい場合は、上記所定画素の周辺画素に
エッジ成分を検出したとし、さらに、水平方向エッジ検
出手段からの出力が上記垂直方向エッジ検出手段の出力
より大きい場合は垂直方向により相関があり、水平方向
エッジ検出手段からの出力が上記垂直方向エッジ検出手
段の出力より小さい場合は水平方向により相関があると
判定するとともに、上記水平方向エッジ検出手段および
垂直方向エッジ検出手段からの出力がともに予め定めた
値より小さい場合にはエッジ成分を検出しないと判定す
ることにより、偽色、偽輪郭の軽減された水平垂直方向
各2倍の解像度の高解像度画像を得ることができ、か
つ、水平、垂直方向における解像度を向上することがで
きる。
According to the imaging apparatus of the present invention,
The second edge judging means in the color restoring means is the first
Horizontal edge detection means for calculating the absolute value of the difference between the left and right adjacent pixels at the predetermined pixel position of the color signal to detect a horizontal edge component; A vertical edge detecting means for calculating an absolute value of the difference to detect a vertical edge component, based on an output from the horizontal edge detecting means and the vertical edge detecting means, in a horizontal or vertical direction in the predetermined pixel. A determination unit for determining an edge component;
When the output from the horizontal edge detecting means or the output from the vertical edge detecting means is larger than a predetermined value, the determining means detects an edge component in a peripheral pixel of the predetermined pixel, If the output from the horizontal edge detecting means is larger than the output of the vertical edge detecting means, there is a vertical correlation.If the output from the horizontal edge detecting means is smaller than the output of the vertical edge detecting means, the correlation is horizontal. In addition to determining that there is a correlation depending on the direction, and determining that no edge component is detected when both the outputs from the horizontal edge detecting means and the vertical edge detecting means are smaller than a predetermined value, It is possible to obtain a high-resolution image with twice the resolution in the horizontal and vertical directions with reduced false contours, and in the horizontal and vertical directions. It is possible to improve the definitive resolution.

【0089】また、この発明による撮像装置よれば、上
記色復元手段における第1の色信号での所定位置に対す
る信号を算出する第1の算出手段が、第2の色信号Bの
ある所定画素l行m列B(l、m)の位置において、第
1の色信号A、第2の色信号Bのそれぞれに対し水平方
向のローパスフィルタを介した値Ahlpf(l、
m)、Bhlpf(l、m)を算出し、前記水平方向ロ
ーパスフィルタからの出力信号であるAhlpf(l、
m)とBhlpf(l、m)との比と上記画素位置の画
素値B(l、m)により、l行m列の第1の色信号Aに
おける画素値A(l、m)を、A(l、m)=B(l、
m)×{Ahlpf(l、m)/Bhlpf(l、
m)}により算出し、第3の色信号Cのある他の画素位
置においても同様に第1の色信号Aにおける画素値を算
出する水平方向信号算出手段と、上記所定画素l行m列
B(l、m)の位置において、第1の色信号A、第2の
色信号Bのそれぞれに対し垂直方向のローパスフィルタ
を介した値Avlpf(l、m)、Bvlpf(l、
m)を算出し、前記垂直方向ローパスフィルタからの出
力信号であるAvlpf(l、m)とBvlpf(l、
m)との比と上記画素位置の画素値B(l、m)によ
り、l行m列の第1の色信号Aにおける画素値A(l、
m)を、A(l、m)=B(l、m)×{Avlpf
(l、m)/Bvlpf(l、m)}により算出し、第
3の色信号Cのある他の画素位置においても同様に第1
の色信号Aにおける画素値を算出する垂直方向信号算出
手段と、第1の色信号Aにおける上記所定画素l行m列
の位置での上下左右の隣接画素の平均値よりl行m列の
第1の色信号Aにおける画素値A(l、m)を算出する
平均値算出手段とを備え、上記第2のエッジ判定手段の
出力に基づき、上記水平方向信号算出手段の出力または
垂直方向信号算出手段出力、または、平均値算出手段か
らの出力より選択し、上記所定画素l行m列における第
1の色信号Aの画素値A(l、m)を得て、撮像素子に
おける画素数の第1の色信号を得ることにより、偽色、
偽輪郭の軽減された水平垂直方向各2倍の解像度の高解
像度画像を得ることができ、かつ、水平、垂直方向にお
ける解像度を向上することができる。
Further, according to the imaging apparatus of the present invention, the first calculating means for calculating the signal for the predetermined position in the first color signal in the color restoring means includes a predetermined pixel l of the second color signal B. At the position of the row m column B (l, m), the value Ahlpf (l, l) of each of the first color signal A and the second color signal B via a horizontal low-pass filter is given.
m) and Bhlpf (l, m) are calculated, and Ahlpf (l, m) which is an output signal from the horizontal low-pass filter is calculated.
m) and Bhlpf (l, m) and the pixel value B (l, m) at the pixel position, the pixel value A (l, m) of the first color signal A in l rows and m columns is represented by A (L, m) = B (l,
m) × {Ahlpf (l, m) / Bhlpf (l,
m), the horizontal direction signal calculating means for calculating the pixel value of the first color signal A at another pixel position of the third color signal C in the same manner, and the predetermined pixel l row m column B At the position (l, m), the values Avlpf (l, m) and Bvlpf (l, l) of the first color signal A and the second color signal B are respectively passed through the low-pass filter in the vertical direction.
m), and output signals from the vertical low-pass filter, Avlpf (l, m) and Bvlpf (l,
m) and the pixel value B (l, m) at the pixel position, the pixel value A (l, l) in the first color signal A in l rows and m columns
m) is given by A (l, m) = B (l, m) × {Avlpf
(L, m) / Bvlpf (l, m)}, and the first pixel is similarly set at another pixel position where the third color signal C exists.
A vertical direction signal calculating means for calculating a pixel value in the color signal A of the first color signal A; Average value calculating means for calculating a pixel value A (l, m) of one color signal A, and based on an output of the second edge determining means, an output of the horizontal signal calculating means or a vertical signal calculating means. The pixel value A (l, m) of the first color signal A in the predetermined pixel l row m column is selected from the output of the means or the output from the average value calculation means, and the pixel number A By obtaining a color signal of 1, false colors,
It is possible to obtain a high-resolution image with twice the resolution in the horizontal and vertical directions with reduced false contours, and to improve the resolution in the horizontal and vertical directions.

【0090】また、この発明による撮像装置によれば、
前記色復元手段における第1の算出手段が、上記第2の
エッジ判定手段の出力が所定画素l行m列の位置におい
てエッジ成分を検出しないと判定した場合は上記平均値
算出手段の出力を選択し、垂直方向に相関があると判定
した場合は上記垂直方向信号算出手段の出力を選択し、
水平方向に相関があると判定した場合は上記水平方向信
号算出手段の出力を選択し、撮像素子における画素数の
第1の色信号を得ることにより、偽色、偽輪郭の軽減さ
れた水平垂直方向各2倍の解像度の高解像度画像を得る
ことができ、かつ、水平、垂直方向における解像度を向
上することができる。
According to the imaging apparatus of the present invention,
When the first calculating means in the color restoring means determines that the output of the second edge determining means does not detect an edge component at the position of the predetermined pixel l row and m column, the output of the average value calculating means is selected. Then, when it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculation means is selected,
If it is determined that there is a correlation in the horizontal direction, the output of the horizontal direction signal calculation means is selected, and the first color signal of the number of pixels in the image sensor is obtained, whereby the horizontal and vertical directions with reduced false colors and false contours are obtained. A high-resolution image having a resolution twice as high in each direction can be obtained, and the resolution in the horizontal and vertical directions can be improved.

【0091】また、この発明による撮像装置よれば、上
記色復元手段における第2の算出手段が、所定画素l行
m列の位置において、上記第1の算出手段からの出力A
に対し水平方向のローパスフィルタを介した値A1hl
pf(l、m)と垂直方向ローパスフィルタを介した値
A1vlpf(l、m)を算出し、第2の色信号Bに対
し水平方向のローパスフィルタを介した値B1hlpf
(l、m)と第3の色信号Cに対して垂直方向のローパ
スフィルタを介した値C1vlpf(l、m)(また
は、第2の色信号Bに対して垂直方向のローパスフィル
タを介した値B1vlpf(l、m)と第3の色信号C
に対して水平方向のローパスフィルタを介した値C1h
lpf(l、m))とを算出し、A1hlpf(l、
m)とB1hlpf(l、m)との比(またはC1hl
pf(l、m)との比)と、A1vlpf(l、m)と
C1vlpf(l、m)との比(または、B1vlpf
(l、m)との比)と、上記第1の算出手段からの出力
Aにおける所定画素l行m列での画素値A(l、m)か
ら、l行m列の第2の色信号Bと第3の色信号Cにおけ
る画素値B(l、m)とC(l、m)を、B(l、m)
=A(l、m)×{B1hlpf(l、m)/A1hl
pf(l、m)}、C(l、m)=A(l、m)×{C
1vlpf(l、m)/A1vlpf(l、m)}(ま
たは、B(l、m)=A(l、m)×{B1vlpf
(l、m)/A1vlpf(l、m)}、C(l、m)
=A(l、m)×{C1hlpf(l、m)/A1hl
pf(l、m)})により算出する信号算出手段を備え
るとともに、上記l行m列の位置とは異なる所定画素x
行y列の位置において、上記第1の算出手段からの出力
Aに対し水平方向のローパスフィルタを介した値A2h
lpf(x、y)、前記信号算出手段からの出力での第
2の色信号Bに対し水平方向のローパスフィルタを介し
た値B2hlpf(x、y)を算出し、A2hlpf
(x、y)とB2hlpf(x、y)の比と上記第1の
算出手段からの出力Aでの画素x行y列での画素値A
(x、y)により、x行y列の位置における第2の色信
号B(x、y)を、B(x、y)=A(x、y)×{B
2hlpf(x、y)/A2hlpf(x、yy)}に
より算出し、第3の色信号Cにおいても同様にC信号を
算出する水平方向信号算出手段と、上記第1の算出手段
からの出力Aに対し垂直方向のローパスフィルタを介し
た値A2vlpf(x、y)、前記信号算出手段からの
出力での第2の色信号Bに対し垂直方向のローパスフィ
ルタを介した値B2vlpf(x、y)を算出し、A2
vlpf(x、y)とB2vlpf(x、y)の比と上
記第1の算出手段からの出力Aでの画素x行y列での画
素値A(x、y)により、x行y列の位置における第2
の色信号B(x、y)を、B(x、y)=A(x、y)
×{B2vlpf(x、y)/A2vlpf(x、
y)}により算出し、第3の色信号Cにおいても同様に
C信号を算出する垂直方向信号算出手段と、上記信号算
出手段からの出力における第2、第3の色信号での所定
画素x行y列の位置において、斜めに隣接する画素の平
均値を算出する平均値算出手段とを備え、上記第2のエ
ッジ判定手段の出力に基づき、前記水平方向信号算出手
段、垂直方向信号算出手段、平均値算出手段からのそれ
ぞれの出力から選択して、上記所定画素x行y列での第
2、第3の色信号を得て、撮像素子における画素数の第
2、第3の色信号を得ることにより、偽色、偽輪郭の軽
減された水平垂直方向各2倍の解像度の高解像度画像を
得ることができ、かつ、水平、垂直方向における解像度
を向上することができる。
Further, according to the imaging apparatus of the present invention, the second calculating means in the color restoring means determines that the output A from the first calculating means is at the position of the predetermined pixel at l row and m column.
To the value A1hl through a horizontal low-pass filter
pf (l, m) and a value A1vlpf (l, m) through a vertical low-pass filter are calculated, and a value B1hlpf through a horizontal low-pass filter is calculated for the second color signal B.
(L, m) and a value C1vlpf (l, m) through a vertical low-pass filter for the third color signal C (or a value C1vlpf (l, m) through a vertical low-pass filter for the second color signal B) The value B1vlpf (l, m) and the third color signal C
To the value C1h through a horizontal low-pass filter
lpf (l, m)) and A1hlpf (l,
m) and the ratio of B1hlpf (l, m) (or C1hl
pf (l, m)) and the ratio between A1vlpf (l, m) and C1vlpf (l, m) (or B1vlpf).
(Ratio to (l, m)) and the pixel value A (l, m) at l rows and m columns of the predetermined pixel in the output A from the first calculating means, the 1st row and m columns of the second color signal The pixel values B (l, m) and C (l, m) of B and the third color signal C are represented by B (l, m)
= A (l, m) × {B1hlpf (l, m) / A1hl
pf (l, m)}, C (l, m) = A (l, m) x {C
1vlpf (l, m) / A1vlpf (l, m)} (or B (l, m) = A (l, m) × {B1vlpf
(L, m) / A1vlpf (l, m)}, C (l, m)
= A (l, m) × {C1hlpf (l, m) / A1hl
pf (l, m)}), and a predetermined pixel x different from the position of the l row and m column.
At the position of the row y column, the value A2h obtained through the horizontal low-pass filter with respect to the output A from the first calculating means.
Ipf (x, y), a value B2hlpf (x, y) of the second color signal B output from the signal calculating means through a horizontal low-pass filter is calculated, and A2hlpf is calculated.
The ratio of (x, y) to B2hlpf (x, y) and the pixel value A at pixel x row y column at the output A from the first calculating means
According to (x, y), the second color signal B (x, y) at the position of x row and y column is represented by B (x, y) = A (x, y) × {B
2hlpf (x, y) / A2hlpf (x, yy)}, and the horizontal signal calculating means for calculating the C signal for the third color signal C in the same manner, and the output A from the first calculating means. A2vlpf (x, y) through a low-pass filter in the vertical direction, and B2vlpf (x, y) through a low-pass filter in the vertical direction with respect to the second color signal B at the output from the signal calculation means. Is calculated, and A2
By the ratio of vlpf (x, y) to B2vlpf (x, y) and the pixel value A (x, y) at the pixel x row y column at the output A from the first calculating means, x row y column Second in position
B (x, y) = A (x, y)
× {B2vlpf (x, y) / A2vlpf (x,
y) The vertical color signal calculating means for calculating the third color signal C in the same manner as in the third color signal C, and the predetermined pixel x in the second and third color signals in the output from the signal calculating means. Average value calculating means for calculating an average value of obliquely adjacent pixels at the position of the row y column, wherein the horizontal direction signal calculating means and the vertical direction signal calculating means are based on the output of the second edge determining means. , The second and third color signals at the predetermined pixel x row and y column are selected from the respective outputs from the average value calculation means, and the second and third color signals of the number of pixels in the image sensor are obtained. As a result, it is possible to obtain a high-resolution image having twice the resolution in the horizontal and vertical directions with reduced false colors and false contours, and to improve the resolution in the horizontal and vertical directions.

【0092】さらに、この発明による撮像装置よれば、
上記色復元手段における第2の算出手段が、上記第2の
エッジ判定手段の出力が所定画素x行y列の位置におい
てエッジ成分を検出しないと判定した場合は上記平均値
算出手段の出力を選択し、垂直方向に相関があると判定
した場合は上記垂直方向信号算出手段の出力を選択し、
水平方向に相関があると判定した場合は上記水平方向信
号算出手段の出力を選択し、撮像素子における画素数の
第2、第3の色信号を得ることにより、偽色、偽輪郭の
軽減された水平垂直方向各2倍の解像度の高解像度画像
を得ることができ、かつ、水平、垂直方向における解像
度を向上することができる。
Further, according to the imaging apparatus of the present invention,
When the second calculating means in the color restoring means determines that the output of the second edge determining means does not detect an edge component at the position of the predetermined pixel x row and y column, the output of the average value calculating means is selected. Then, when it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculation means is selected,
When it is determined that there is a correlation in the horizontal direction, the output of the horizontal direction signal calculation means is selected and the second and third color signals of the number of pixels in the image sensor are obtained, thereby reducing false colors and false contours. It is possible to obtain a high-resolution image having twice the resolution in each of the horizontal and vertical directions, and to improve the resolution in the horizontal and vertical directions.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1による撮像装置の構
成の一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a configuration of an imaging device according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1による斜め方向に半
画素ずらした2枚の撮像素子の配置の一例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of an arrangement of two imaging elements shifted by a half pixel in an oblique direction according to the first embodiment of the present invention;

【図3】 この発明の実施の形態1による各撮像素子の
色フィルタの配列の一例を示す図である。
FIG. 3 is a diagram showing an example of an arrangement of color filters of each image sensor according to Embodiment 1 of the present invention;

【図4】 この発明の実施の形態1による撮像装置にお
ける色復元手段の構成の一例を示すブロック図である。
FIG. 4 is a block diagram illustrating an example of a configuration of a color restoration unit in the imaging device according to the first embodiment of the present invention;

【図5】 この発明の実施の形態1による撮像装置にお
ける色復元手段における第1のエッジ判定手段とG成分
復元の動作を説明するためのフローチャートである。
FIG. 5 is a flowchart illustrating an operation of a first edge determination unit and a G component restoration in the color restoration unit in the imaging device according to the first embodiment of the present invention;

【図6】 この発明の実施の形態1による撮像装置にお
ける色復元手段におけるR、B成分復元の動作を説明す
るためのフローチャートである。
FIG. 6 is a flowchart for explaining an operation of restoring R and B components in a color restoring unit in the imaging device according to the first embodiment of the present invention;

【図7】 この発明の実施の形態1による撮像装置にお
けるR、B信号の復元の動作を説明するためのR信号お
よびB信号の画素を示す図である。
FIG. 7 is a diagram showing pixels of R and B signals for describing an operation of restoring R and B signals in the imaging apparatus according to the first embodiment of the present invention;

【図8】 この発明の実施の形態1による撮像装置にお
ける多重手段12の動作を説明するための水平垂直方向
各2倍の解像度の信号の画素を示す図である。
FIG. 8 is a diagram illustrating pixels of a signal having twice the resolution in the horizontal and vertical directions for explaining the operation of the multiplexing unit 12 in the imaging apparatus according to the first embodiment of the present invention;

【図9】 この発明の実施の形態1による撮像装置にお
ける多重手段12における水平垂直方向各2倍の解像度
のR信号の画素を示す図である。
FIG. 9 is a diagram showing pixels of an R signal having twice the resolution in the horizontal and vertical directions in the multiplexing unit 12 in the imaging apparatus according to the first embodiment of the present invention.

【図10】 この発明の実施の形態1による撮像装置に
おける多重手段12における水平垂直方向各2倍の解像
度のG信号の画素を示す図である。
FIG. 10 is a diagram showing pixels of a G signal having twice the resolution in the horizontal and vertical directions in the multiplexing unit 12 in the imaging apparatus according to the first embodiment of the present invention.

【図11】 この発明の実施の形態1による撮像装置に
おける多重手段12における水平垂直方向各2倍の解像
度のB信号の画素を示す図である。
FIG. 11 is a diagram showing pixels of a B signal having twice the resolution in the horizontal and vertical directions in the multiplexing unit 12 in the imaging apparatus according to the first embodiment of the present invention;

【図12】 この発明の実施の形態1による撮像装置に
おける高解像度化の動作を説明するためのフローチャー
トを示す図である。
FIG. 12 is a diagram illustrating a flowchart for explaining the operation of increasing the resolution in the imaging device according to the first embodiment of the present invention;

【図13】 この発明の実施の形態1による撮像装置と
従来の装置により処理したシミュレーション画像での垂
直方向の解像度での偽色レベルを示す図である。
FIG. 13 is a diagram illustrating a false color level at a vertical resolution in a simulation image processed by the imaging device according to the first embodiment of the present invention and a conventional device.

【図14】 この発明の実施の形態1による撮像素子の
他の色フィルタ配列の例を示す図である。
FIG. 14 is a diagram showing an example of another color filter array of the imaging device according to the first embodiment of the present invention.

【図15】 この発明の実施の形態1による撮像素子の
他の色フィルタ配列の例を示す図である。
FIG. 15 is a diagram showing an example of another color filter array of the imaging device according to the first embodiment of the present invention.

【図16】 この発明の実施の形態1による斜め方向に
半画素ずらした2枚の撮像素子の配置の他の例を示す図
である。
FIG. 16 is a diagram showing another example of the arrangement of the two imaging elements shifted by a half pixel in the oblique direction according to the first embodiment of the present invention.

【図17】 この発明の実施の形態2による撮像装置に
おける色復元手段の構成の一例を示すブロック図であ
る。
FIG. 17 is a block diagram illustrating an example of a configuration of a color restoring unit in the imaging device according to the second embodiment of the present invention;

【図18】 従来の撮像装置における撮像素子の色フィ
ルタ配列の一例を示す図である。
FIG. 18 is a diagram illustrating an example of a color filter array of an imaging device in a conventional imaging device.

【図19】 従来の撮像装置の構成の一例を示すブロッ
ク図である。
FIG. 19 is a block diagram illustrating an example of a configuration of a conventional imaging device.

【図20】 従来の撮像装置における色復元手段の構成
の一例を示すブロック図である。
FIG. 20 is a block diagram illustrating an example of a configuration of a color restoration unit in a conventional imaging device.

【図21】 従来の撮像装置の高解像度化の動作を説明
するための各信号の画素を示す図である。
FIG. 21 is a diagram illustrating pixels of each signal for explaining an operation of increasing the resolution of a conventional imaging device.

【図22】 従来の撮像装置の高解像度化の方法を説明
するための各信号の画素を示す図である。
FIG. 22 is a diagram illustrating pixels of each signal for describing a method of increasing the resolution of a conventional imaging device.

【図23】 従来の撮像装置における色復元手段の他の
構成の例を示すブロック図である。
FIG. 23 is a block diagram illustrating another example of the configuration of the color restoring unit in the conventional imaging apparatus.

【符号の説明】[Explanation of symbols]

1 撮像素子、2 A/Dコンバータ、3、4 フレー
ムメモリ、5、6 色復元手段、7 多重手段、8 エ
ッジ判定手段、9 平均値演算手段、10 水平方向演
算手段、11 垂直方向演算手段、12 選択手段、2
0 分離手段、21 第1のエッジ判定手段、22 G
成分復元手段、23 第1のRB成分復元手段、24
第2のエッジ判定手段、25 第2のRB成分復元手
段。
DESCRIPTION OF SYMBOLS 1 Image sensor, 2 A / D converter, 3, 4 frame memory, 5 and 6 color restoration means, 7 multiplexing means, 8 edge determination means, 9 average value calculation means, 10 horizontal direction calculation means, 11 vertical direction calculation means, 12 Selection means, 2
0 separation means, 21 first edge determination means, 22 G
Component restoring means, 23 first RB component restoring means, 24
Second edge determining means, 25 second RB component restoring means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 久野 徹也 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 ──────────────────────────────────────────────────続 き Continued from the front page (72) Inventor Tetsuya Kuno 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 斜め方向に半画素ずらして配置された2
枚の撮像素子を備えた撮像装置において、第1および第
2の撮像素子により読み出された色信号より各撮像素子
に対して撮像素子の画素数分の解像度の色信号を復元生
成する色信号復元手段と、前記色信号復元手段からの出
力である上記第1および第2の撮像素子からの信号より
復元された各信号により各撮像素子の画素数の水平垂直
方向各2倍の解像度の信号の画素を得る手段と、前記得
られた水平垂直方向各2倍の解像度の信号での所定画素
位置における周辺画素のエッジ成分を判定する第1のエ
ッジ判定手段を備えるとともに、前記第1のエッジ判定
手段からの信号に基づき、水平垂直方向各2倍の解像度
の信号での所定画素位置の信号を算出する手段を有する
ことを特徴とする撮像装置。
2. An image display apparatus comprising: two pixels arranged in a diagonal direction and shifted by a half pixel;
A color signal for restoring and generating a color signal having a resolution corresponding to the number of pixels of the image sensor for each image sensor from the color signals read by the first and second image sensors in an image pickup apparatus including a plurality of image sensors; A signal having a resolution twice as large as the number of pixels of each image sensor in the horizontal and vertical directions, based on each signal restored from the signals from the first and second image sensors, which is an output from the color signal restoring means. And a first edge determination means for determining an edge component of a peripheral pixel at a predetermined pixel position in the obtained signal having a resolution twice as high in the horizontal and vertical directions, and the first edge An imaging apparatus comprising: means for calculating a signal at a predetermined pixel position in a signal having twice the resolution in each of the horizontal and vertical directions based on a signal from a determination means.
【請求項2】 前記第1のエッジ判定手段が、所定の信
号での所定画素における左右の隣接画素の差の絶対値を
算出して水平方向のエッジ成分を検出する手段と、上下
の画素の差の絶対値を算出して垂直方向のエッジ成分を
検出する手段と、前記水平方向のエッジ成分を検出する
手段と垂直方向エッジ成分を検出する手段からの出力に
基づき、前記所定画素における水平または垂直方向のエ
ッジ成分を判定することを特徴とする請求項1記載の撮
像装置。
2. The image processing apparatus according to claim 1, wherein the first edge determination unit calculates an absolute value of a difference between left and right adjacent pixels in a predetermined pixel in a predetermined signal and detects an edge component in a horizontal direction. Means for calculating the absolute value of the difference to detect a vertical edge component; means for detecting the horizontal edge component and means for detecting a vertical edge component; 2. The imaging apparatus according to claim 1, wherein a vertical edge component is determined.
【請求項3】 前記第1のエッジ判定手段におけるエッ
ジ成分の判定が、上記水平方向のエッジ成分を検出する
手段からの出力または上記垂直方向のエッジ成分を検出
する手段からの出力が予め定めた値より大きい場合は、
上記所定画素の周辺画素にエッジ成分を検出したとし、
さらに、水平方向のエッジ成分を検出する手段からの出
力が上記垂直方向のエッジ成分を検出する手段の出力よ
り大きい場合は垂直方向により相関があり、水平方向エ
ッジ成分を検出する手段の出力が上記垂直方向エッジ成
分を検出する手段出力より小さい場合は水平方向により
相関があると判定するとともに、上記水平方向エッジ成
分を検出する手段および垂直方向エッジ成分を検出する
手段の出力がともに予め定めた値より小さい場合にはエ
ッジ成分を検出しないと判定することを特徴とする請求
項1または請求項2記載の撮像装置。
3. The determination of an edge component in the first edge determination means is performed by determining whether an output from the horizontal edge component detection means or an output from the vertical edge component detection means is predetermined. If greater than the value,
Assuming that an edge component is detected in a peripheral pixel of the predetermined pixel,
Further, when the output from the means for detecting the horizontal edge component is larger than the output from the means for detecting the vertical edge component, there is a correlation in the vertical direction, and the output of the means for detecting the horizontal edge component is If the output is smaller than the output of the means for detecting the vertical edge component, it is determined that there is a correlation in the horizontal direction, and the outputs of the means for detecting the horizontal edge component and the means for detecting the vertical edge component are both predetermined values. 3. The imaging apparatus according to claim 1, wherein it is determined that the edge component is not detected when the size is smaller.
【請求項4】 上記水平垂直方向各2倍の解像度の信号
での所定画素位置の信号を算出する手段が、所定画素位
置における信号それぞれに対し、上下の画素の平均値よ
り信号を算出する垂直方向算出手段と、左右の画素の平
均値より信号を算出する水平方向算出手段と、上下左右
の隣接画素の平均値より信号を算出する平均値算出手段
とを備え、上記第1のエッジ判定手段の出力に基づき、
上記水平方向算出手段の出力または垂直方向算出手段出
力、または、平均値算出手段からの出力より選択し、上
記所定画素での信号を得て、撮像素子における画素数の
水平垂直方向各2倍の解像度の各信号を得ることを特徴
とする請求項1記載の撮像装置。
4. A means for calculating a signal at a predetermined pixel position in a signal having twice the resolution in each of the horizontal and vertical directions, wherein for each signal at the predetermined pixel position, a vertical signal for calculating a signal from an average value of upper and lower pixels is calculated. The first edge determination means, comprising: a direction calculation means; a horizontal direction calculation means for calculating a signal from the average value of the left and right pixels; and an average value calculation means for calculating a signal from the average values of the upper, lower, left and right adjacent pixels. Based on the output of
Select from the output of the horizontal direction calculation means or the output of the vertical direction calculation means, or the output from the average value calculation means, obtain the signal at the predetermined pixel, and double the number of pixels in the image sensor in each of the horizontal and vertical directions. 2. The image pickup apparatus according to claim 1, wherein each signal of the resolution is obtained.
【請求項5】 上記水平垂直方向各2倍の解像度の信号
での所定画素位置の信号を算出する手段が、所定画素位
置において上記第1のエッジ判定手段の出力がエッジ成
分を検出しないと判定した場合は上記平均値算出手段の
出力を選択し、垂直方向に相関があると判定した場合は
上記垂直方向算出手段の出力を選択し、水平方向に相関
があると判定した場合は上記水平方向算出手段の出力を
選択することを特徴とする請求項1〜請求項4のいずれ
かに記載の撮像装置。
5. A means for calculating a signal at a predetermined pixel position in a signal having twice the resolution in each of the horizontal and vertical directions determines that the output of the first edge determination means does not detect an edge component at the predetermined pixel position. In this case, the output of the average value calculation means is selected.If it is determined that there is a correlation in the vertical direction, the output of the vertical direction calculation means is selected. The imaging device according to claim 1, wherein an output of the calculation unit is selected.
【請求項6】 上記斜め方向に半画素ずらして配置され
た2枚の撮像素子それぞれにおいて、各撮像素子が、垂
直2行水平2列の上下4画素において、第1の色信号に
対する分光感度特性を持つ第1の色フィルタと第2の色
信号に対する分光感度特性を持つ第2の色フィルタとが
垂直1行目に配列され、垂直2行目には上記垂直1行目
の第1の色フィルタが配列された画素位置と同一の列に
第3の色信号に対する分光感度特性を持つ第3の色フィ
ルタが配列され、第2の色フィルタと同一の列に第1の
色信号に対する分光感度特性を持つ第1の色フィルタが
配列されており、上記上下4画素の色フィルタが順次垂
直および水平方向に繰り返し配列された撮像素子であ
り、各撮像素子からの色信号に対して撮像素子の画素数
分の解像度の色信号を復元生成する上記色信号復元手段
が、上記第1の色フィルタによる第1の色信号の所定画
素位置での周辺画素信号に基づき、所定画素位置におけ
るエッジ成分を判定する第2のエッジ判定手段と、前記
第2のエッジ判定手段の出力に基づき、上記第1、第
2、第3の色フィルタにより読み出された第1、第2お
よび第3の色信号により第1の色信号における上記所定
位置での信号を算出する第1の算出手段と、上記第2の
エッジ判定手段の出力に基づき、上記第1の算出手段の
出力と色フィルタからの第2および第3の色信号により
第2および第3の色信号を算出する第2の算出手段とを
備え、上記撮像素子における画素数の第1、第2、第3
の色信号を得るとともに、上記第1のエッジ判定手段
が、上記第1の色信号による上記水平垂直方向各2倍の
解像度の信号の画素を得る手段から出力される信号に対
し、所定画素位置における周辺画素のエッジ成分を判定
することを特徴とする請求項1または請求項2記載の撮
像装置。
6. In each of the two image sensors, which are displaced by half a pixel in the oblique direction, each image sensor has a spectral sensitivity characteristic with respect to a first color signal in upper and lower four pixels of two vertical rows and two horizontal columns. And a second color filter having a spectral sensitivity characteristic for a second color signal are arranged in the first vertical line, and the first color in the first vertical line is arranged in the second vertical line. A third color filter having a spectral sensitivity characteristic for the third color signal is arranged in the same column as the pixel position where the filter is arranged, and a spectral sensitivity for the first color signal is arranged in the same column as the second color filter. A first color filter having characteristics is arranged. The image sensor is an image sensor in which the color filters of the upper and lower four pixels are sequentially and repeatedly arranged in the vertical and horizontal directions. Color signals with the resolution of the number of pixels A second edge determining unit configured to determine an edge component at a predetermined pixel position based on a peripheral pixel signal of the first color signal at a predetermined pixel position by the first color filter; The first, second, and third color signals read by the first, second, and third color filters based on the output of the second edge determination means, and A first calculating means for calculating a signal at a position, and a second signal based on the output of the first calculating means and the second and third color signals from the color filter based on the output of the second edge determining means. And a second calculating means for calculating a third color signal, wherein the first, second, and third pixel numbers in the image sensor are determined.
And the first edge determination means determines a predetermined pixel position with respect to a signal output from the means for obtaining a pixel of a signal having a double resolution in each of the horizontal and vertical directions based on the first color signal. The imaging device according to claim 1, wherein an edge component of a peripheral pixel is determined.
【請求項7】 上記色復元手段における第2のエッジ判
定手段が、第1の色信号の所定画素位置における左右の
隣接画素の差の絶対値を算出して水平方向のエッジ成分
を検出する水平方向エッジ検出手段と、第1の色信号の
所定画素位置における上下の画素の差の絶対値を算出し
て垂直方向のエッジ成分を検出する垂直方向エッジ検出
手段と、前記水平方向エッジ検出手段と垂直方向エッジ
検出手段からの出力に基づき、前記所定画素における水
平または垂直方向のエッジ成分を判定する判定手段を備
えるとともに、前記判定手段が、上記水平方向エッジ検
出手段からの出力または上記垂直方向エッジ検出手段か
らの出力が予め定めた値より大きい場合は、上記所定画
素の周辺画素にエッジ成分を検出したとし、さらに、水
平方向エッジ検出手段からの出力が上記垂直方向エッジ
検出手段の出力より大きい場合は垂直方向により相関が
あり、水平方向エッジ検出手段からの出力が上記垂直方
向エッジ検出手段の出力より小さい場合は水平方向によ
り相関があると判定するとともに、上記水平方向エッジ
検出手段および垂直方向エッジ検出手段からの出力がと
もに予め定めた値より小さい場合にはエッジ成分を検出
しないと判定することを特徴とする請求項1または請求
項6記載の撮像装置。
7. A horizontal edge detecting means for detecting a horizontal edge component by calculating an absolute value of a difference between left and right adjacent pixels at a predetermined pixel position of the first color signal. A direction edge detection unit, a vertical direction edge detection unit that calculates an absolute value of a difference between upper and lower pixels at a predetermined pixel position of the first color signal to detect a vertical direction edge component, and the horizontal direction edge detection unit. A determination unit configured to determine a horizontal or vertical edge component in the predetermined pixel based on an output from the vertical edge detection unit, wherein the determination unit determines whether an output from the horizontal edge detection unit or the vertical edge If the output from the detecting means is larger than a predetermined value, it is determined that an edge component has been detected in the peripheral pixels of the predetermined pixel. If the output from the stage is larger than the output of the vertical edge detecting means, there is a vertical correlation.If the output from the horizontal edge detecting means is smaller than the output of the vertical edge detecting means, the correlation is more horizontal. 2. The method according to claim 1, further comprising: judging that no edge component is detected when the outputs from the horizontal edge detecting means and the vertical edge detecting means are both smaller than a predetermined value. Item 7. The imaging device according to Item 6.
【請求項8】 上記色復元手段における第1の色信号で
の所定位置に対する信号を算出する第1の算出手段が、
第2の色信号Bのある所定画素l行m列B(l、m)の
位置において、第1の色信号A、第2の色信号Bのそれ
ぞれに対し水平方向のローパスフィルタを介した値Ah
lpf(l、m)、Bhlpf(l、m)を算出し、前
記水平方向ローパスフィルタからの出力信号であるAh
lpf(l、m)とBhlpf(l、m)との比と上記
画素位置の画素値B(l、m)により、l行m列の第1
の色信号Aにおける画素値A(l、m)を、A(l、
m)=B(l、m)×{Ahlpf(l、m)/Bhl
pf(l、m)}により算出し、第3の色信号Cのある
他の画素位置においても同様に第1の色信号Aにおける
画素値を算出する水平方向信号算出手段と、上記所定画
素l行m列B(l、m)の位置において、第1の色信号
A、第2の色信号Bのそれぞれに対し垂直方向のローパ
スフィルタを介した値Avlpf(l、m)、Bvlp
f(l、m)を算出し、前記垂直方向ローパスフィルタ
からの出力信号であるAvlpf(l、m)とBvlp
f(l、m)との比と上記画素位置の画素値B(l、
m)により、l行m列の第1の色信号Aにおける画素値
A(l、m)を、A(l、m)=B(l、m)×{Av
lpf(l、m)/Bvlpf(l、m)}により算出
し、第3の色信号Cのある他の画素位置においても同様
に第1の色信号Aにおける画素値を算出する垂直方向信
号算出手段と、第1の色信号Aにおける上記所定画素l
行m列の位置での上下左右の隣接画素の平均値よりl行
m列の第1の色信号Aにおける画素値A(l、m)を算
出する平均値算出手段とを備え、上記第2のエッジ判定
手段の出力に基づき、上記水平方向信号算出手段の出力
または垂直方向信号算出手段出力、または、平均値算出
手段からの出力より選択し、上記所定画素l行m列にお
ける第1の色信号Aの画素値A(l、m)を得て、撮像
素子における画素数の第1の色信号を得ることを特徴と
する請求項1、請求項6および請求項7のいずれかに記
載の撮像装置。
8. A first calculating means for calculating a signal for a predetermined position in a first color signal in the color restoring means,
At a position of a predetermined pixel l row m column B (l, m) of the second color signal B, the value of each of the first color signal A and the second color signal B via a horizontal low-pass filter Ah
Ipf (l, m) and Bhlpf (l, m) are calculated, and Ah which is an output signal from the horizontal low-pass filter is calculated.
Based on the ratio of lpf (l, m) to Bhlpf (l, m) and the pixel value B (l, m) at the pixel position, the first in l rows and m columns
The pixel value A (l, m) of the color signal A of A is represented by A (l,
m) = B (l, m) × {Ahlpf (l, m) / Bhl
pf (l, m)}, and a horizontal direction signal calculating means for calculating a pixel value of the first color signal A at another pixel position of the third color signal C in the same manner; At the position of the row m column B (l, m), the values Avlpf (l, m), Bvlp for the first color signal A and the second color signal B, respectively, are passed through a vertical low-pass filter.
f (l, m) is calculated, and Avlpf (l, m) and Bvlp which are output signals from the vertical low-pass filter are calculated.
f (l, m) and the pixel value B (l,
m), the pixel value A (l, m) in the first color signal A in l rows and m columns is calculated as A (l, m) = B (l, m) × {Av
vertical direction signal calculation which calculates the pixel value of the first color signal A at another pixel position where the third color signal C is also calculated by the calculation of lpf (l, m) / Bvlpf (l, m)} Means, and the predetermined pixel l in the first color signal A.
An average value calculating means for calculating a pixel value A (l, m) of the first color signal A in l rows and m columns from an average value of the upper, lower, left and right neighboring pixels at the position of the row m column; Based on the output of the edge judging means, the output of the horizontal signal calculating means, the output of the vertical signal calculating means, or the output of the average value calculating means, and the first color in the predetermined pixel l row m column 8. The method according to claim 1, wherein a pixel value A (l, m) of the signal A is obtained to obtain a first color signal of the number of pixels in the image sensor. Imaging device.
【請求項9】 前記色復元手段における第1の算出手段
が、上記第2のエッジ判定手段の出力が所定画素l行m
列の位置においてエッジ成分を検出しないと判定した場
合は上記平均値算出手段の出力を選択し、垂直方向に相
関があると判定した場合は上記垂直方向信号算出手段の
出力を選択し、水平方向に相関があると判定した場合は
上記水平方向信号算出手段の出力を選択し、撮像素子に
おける画素数の第1の色信号を得ることを特徴とする請
求項1、請求項6〜請求項8のいずれかに記載の撮像装
置。
9. A method according to claim 1, wherein said first calculating means in said color restoring means determines that an output of said second edge determining means is a predetermined pixel l row m
If it is determined that no edge component is detected at the position of the column, the output of the average value calculating means is selected.If it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculating means is selected. 9. When it is determined that there is a correlation, the output of the horizontal direction signal calculation means is selected to obtain a first color signal of the number of pixels in the image sensor. The imaging device according to any one of the above.
【請求項10】 上記色復元手段における第2の算出手
段が、所定画素l行m列の位置において、上記第1の算
出手段からの出力Aに対し水平方向のローパスフィルタ
を介した値A1hlpf(l、m)と垂直方向ローパス
フィルタを介した値A1vlpf(l、m)を算出し、
第2の色信号Bに対し水平方向のローパスフィルタを介
した値B1hlpf(l、m)と第3の色信号Cに対し
垂直方向のローパスフィルタを介した値C1vlpf
(l、m)(または、第2の色信号Bに対し垂直方向の
ローパスフィルタを介した値B1vlpf(l、m)と
第3の色信号Cに対し水平方向のローパスフィルタを介
した値C1hlpf(l、m))とを算出し、A1hl
pf(l、m)とB1hlpf(l、m)との比(また
はC1hlpf(l、m)との比)と、A1vlpf
(l、m)とC1vlpf(l、m)との比(または、
B1vlpf(l、m)との比)と、上記第1の算出手
段からの出力Aにおける所定画素l行m列での画素値A
(l、m)から、l行m列の第2の色信号Bと第3の色
信号Cにおける画素値B(l、m)とC(l、m)を、
B(l、m)=A(l、m)×{B1hlpf(l、
m)/A1hlpf(l、m)}、C(l、m)=A
(l、m)×{C1vlpf(l、m)/A1vlpf
(l、m)}(または、B(l、m)=A(l、m)×
{B1vlpf(l、m)/A1vlpf(l、
m)}、C(l、m)=A(l、m)×{C1hlpf
(l、m)/A1hlpf(l、m)})により算出す
る信号算出手段を備えるとともに、上記l行m列の位置
とは異なる所定画素x行y列の位置において、上記第1
の算出手段からの出力Aに対し水平方向のローパスフィ
ルタを介した値A2hlpf(x、y)、前記信号算出
手段からの出力での第2の色信号Bに対し水平方向のロ
ーパスフィルタを介した値B2hlpf(x、y)を算
出し、A2hlpf(x、y)とB2hlpf(x、
y)の比と上記第1の算出手段からの出力Aでの画素x
行y列での画素値A(x、y)により、x行y列の位置
における第2の色信号B(x、y)を、B(x、y)=
A(x、y)×{B2hlpf(x、y)/A2hlp
f(x、y)}により算出し、第3の色信号Cにおいて
も同様にC信号を算出する水平方向信号算出手段と、上
記第1の算出手段からの出力Aに対し垂直方向のローパ
スフィルタを介した値A2vlpf(x、y)、前記信
号算出手段からの出力での第2の色信号Bに対し垂直方
向のローパスフィルタを介した値B2vlpf(x、
y)を算出し、A2vlpf(x、y)とB2vlpf
(x、y)の比と上記第1の算出手段からの出力Aでの
画素x行y列での画素値A(x、y)により、x行y列
の位置における第2の色信号B(x、y)を、B(x、
y)=A(x、y)×{B2vlpf(x、y)/A2
vlpf(x、y)}により算出し、第3の色信号Cに
おいても同様にC信号を算出する垂直方向信号算出手段
と、上記信号算出手段からの出力における第2、第3の
色信号での所定画素x行y列の位置において、斜めに隣
接する画素の平均値を算出する平均値算出手段とを備
え、上記第2のエッジ判定手段の出力に基づき、前記水
平方向信号算出手段、垂直方向信号算出手段、平均値算
出手段からのそれぞれの出力から選択して、上記所定画
素x行y列での第2、第3の色信号を得て、撮像素子に
おける画素数の第2、第3の色信号を得ることを特徴と
する請求項1、請求項6〜請求項8のいずれかに記載の
撮像装置。
10. The second calculating means in the color restoring means outputs a value A1hlpf (A1hlpf (A) through a horizontal low-pass filter to an output A from the first calculating means at a position of a predetermined pixel at l rows and m columns. l, m) and a value A1vlpf (l, m) through a vertical low-pass filter,
The value B1hlpf (l, m) of the second color signal B through a horizontal low-pass filter and the value C1vlpf of the third color signal C through a vertical low-pass filter
(L, m) (or a value B1vlpf (l, m) through a low-pass filter in the vertical direction for the second color signal B and a value C1hlpf through a low-pass filter in the horizontal direction for the third color signal C (L, m)) and A1hl
A ratio between pf (l, m) and B1hlpf (l, m) (or a ratio between C1hlpf (l, m)) and A1vlpf
The ratio of (l, m) to C1vlpf (l, m) (or
B1vlpf (l, m)) and the pixel value A at the predetermined pixel l row m column in the output A from the first calculating means
From (l, m), pixel values B (l, m) and C (l, m) in the second color signal B and the third color signal C in l rows and m columns are
B (l, m) = A (l, m) × {B1hlpf (l,
m) / A1hlpf (l, m)}, C (l, m) = A
(L, m) × {C1vlpf (l, m) / A1vlpf
(L, m)} (or B (l, m) = A (l, m) ×
{B1vlpf (l, m) / A1vlpf (l,
m)}, C (l, m) = A (l, m) × 1C1hlpf
(L, m) / A1hlpf (l, m)}), and at the position of a predetermined pixel x row y column different from the position of l row m column, the first
A2hlpf (x, y) through a low-pass filter in the horizontal direction with respect to the output A from the calculation means, and through a low-pass filter in the horizontal direction with respect to the second color signal B in the output from the signal calculation means. A value B2hlpf (x, y) is calculated, and A2hlpf (x, y) and B2hlpf (x, y) are calculated.
y) and the pixel x at the output A from the first calculating means
By the pixel value A (x, y) at the row y column, the second color signal B (x, y) at the position at the x row y column is calculated as B (x, y) =
A (x, y) × {B2hlpf (x, y) / A2hlp
f (x, y)}, and a horizontal signal calculating means for calculating the C signal in the same manner also for the third color signal C, and a low-pass filter in the vertical direction for the output A from the first calculating means. A2vlpf (x, y) via the low-pass filter in the vertical direction with respect to the second color signal B at the output from the signal calculation means.
y) is calculated, and A2vlpf (x, y) and B2vlpf are calculated.
The second color signal B at the position of x row and y column is obtained from the ratio of (x, y) and the pixel value A (x, y) at the pixel x row and y column at the output A from the first calculating means. (X, y) is converted to B (x,
y) = A (x, y) × {B2vlpf (x, y) / A2
vlpf (x, y)}, a vertical signal calculating means for calculating the C signal in the same manner also for the third color signal C, and the second and third color signals in the output from the signal calculating means. Average value calculating means for calculating an average value of pixels obliquely adjacent to each other at the position of the predetermined pixel x row and y column, and the horizontal direction signal calculating means and the vertical direction By selecting from the respective outputs from the direction signal calculating means and the average value calculating means, the second and third color signals at the predetermined pixel x row and y column are obtained, and the second and third pixel numbers in the image sensor are obtained. 9. The image pickup apparatus according to claim 1, wherein three color signals are obtained.
【請求項11】 上記色復元手段における第2の算出手
段が、上記第2のエッジ判定手段の出力が所定画素x行
y列の位置においてエッジ成分を検出しないと判定した
場合は上記平均値算出手段の出力を選択し、垂直方向に
相関があると判定した場合は上記垂直方向信号算出手段
の出力を選択し、水平方向に相関があると判定した場合
は上記水平方向信号算出手段の出力を選択し、撮像素子
における画素数の第2、第3の色信号を得ることを特徴
とする請求項1、請求項6〜請求項10のいずれかに記
載の撮像装置。
11. When the second calculating means in the color restoring means determines that the output of the second edge determining means does not detect an edge component at a position of a predetermined pixel x row and y column, the average value calculation is performed. The output of the means is selected, and if it is determined that there is a correlation in the vertical direction, the output of the vertical signal calculation means is selected.If it is determined that there is a correlation in the horizontal direction, the output of the horizontal signal calculation means is output. 11. The image pickup apparatus according to claim 1, wherein a second color signal and a third color signal corresponding to the number of pixels in the image pickup element are selected.
JP03757898A 1998-02-19 1998-02-19 Imaging device Expired - Fee Related JP3926023B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03757898A JP3926023B2 (en) 1998-02-19 1998-02-19 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03757898A JP3926023B2 (en) 1998-02-19 1998-02-19 Imaging device

Publications (2)

Publication Number Publication Date
JPH11234690A true JPH11234690A (en) 1999-08-27
JP3926023B2 JP3926023B2 (en) 2007-06-06

Family

ID=12501431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03757898A Expired - Fee Related JP3926023B2 (en) 1998-02-19 1998-02-19 Imaging device

Country Status (1)

Country Link
JP (1) JP3926023B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911515B2 (en) 2007-09-20 2011-03-22 Victor Company Of Japan, Ltd. Imaging apparatus and method of processing video signal
WO2019082462A1 (en) * 2017-10-26 2019-05-02 ソニーセミコンダクタソリューションズ株式会社 Image processing device, image processing method, and imaging device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911515B2 (en) 2007-09-20 2011-03-22 Victor Company Of Japan, Ltd. Imaging apparatus and method of processing video signal
WO2019082462A1 (en) * 2017-10-26 2019-05-02 ソニーセミコンダクタソリューションズ株式会社 Image processing device, image processing method, and imaging device
US11301958B2 (en) 2017-10-26 2022-04-12 Sony Semiconductor Solutions Corporation Image processing apparatus, image processing method, and imaging apparatus

Also Published As

Publication number Publication date
JP3926023B2 (en) 2007-06-06

Similar Documents

Publication Publication Date Title
US7835573B2 (en) Method and apparatus for edge adaptive color interpolation
KR101012537B1 (en) Solid-state image sensor
JP3735867B2 (en) Luminance signal generator
US7760255B2 (en) Method and apparatus for interpolation of interlaced CMYG color format
EP2728545B1 (en) Image processing method and device based on bayer format
US7792356B2 (en) Imaging device
KR0146260B1 (en) Solid state image pick-up apparatus
JPS59137909A (en) Color filter and solid-state image sensing device provided with color filter
JPH10234047A (en) Single ccd color camera
JP2000023174A (en) Image processor and image processing method
JP2013017142A (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP4548390B2 (en) Imaging apparatus and signal processing method
JPH11234690A (en) Image pickup device
US20060044428A1 (en) Image pickup device and signal processing method
JP3926019B2 (en) Imaging device
JP2815497B2 (en) Color video camera
JPH11220751A (en) Image-pickup device
JPS60194889A (en) Color solid-state image pickup device
JPH11355667A (en) Picture element signal processor
JP3079839B2 (en) Solid-state imaging device
JP2003134523A (en) Image pickup apparatus and method
JP2001231052A (en) Method for processing output signal from solid-state image pickup element and camera using it
JP3115123B2 (en) Image signal processing device
JPH10248069A (en) Image pickup device
JPH0523114B2 (en)

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040628

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060306

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100309

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140309

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees