JPH11220747A - Device and method for camera signal processing - Google Patents

Device and method for camera signal processing

Info

Publication number
JPH11220747A
JPH11220747A JP10315168A JP31516898A JPH11220747A JP H11220747 A JPH11220747 A JP H11220747A JP 10315168 A JP10315168 A JP 10315168A JP 31516898 A JP31516898 A JP 31516898A JP H11220747 A JPH11220747 A JP H11220747A
Authority
JP
Japan
Prior art keywords
pixel data
correlation value
input
circuit
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10315168A
Other languages
Japanese (ja)
Other versions
JP4269369B2 (en
Inventor
Toshihisa Yamamoto
敏久 山本
Takeshi Nakajima
健 中島
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP31516898A priority Critical patent/JP4269369B2/en
Publication of JPH11220747A publication Critical patent/JPH11220747A/en
Application granted granted Critical
Publication of JP4269369B2 publication Critical patent/JP4269369B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prepare a luminance signal and a color difference signal by high resolution at generating pixel data generated by an imaging device. SOLUTION: This device is equipped with an image data interpolation part 15 for generating interpolated pixel data, on the basis of pixel data in a position and/or surrounding of interpolation pixel data generated on the basis of an image-pickup signal from a solid-state image-pickup element where an image- pickup light enters by way of a color filter, a correlation value detection part 16 for detecting a correlation value that indicates the degree of correlation in a horizontal direction and a vertical direction of the interpolated pixel data, and an image generation means for generating an image on the basis of the interpolation pixel data that weighted by the correlation value. Then, the correlation detection part 16 detects the correlation value regarding the interpolation pixel data which indicate a specified color and the correlation value regarding the interpolated pixel data which indicate a color other than a specified color, the use of only the pixel data that indicate the specified color out of the pixel data detected by the solid-state 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 a camera signal processing apparatus and a camera signal processing method suitable for a camera apparatus adopting a single-chip color system, and more particularly to a luminance signal or a color difference signal from an image signal generated by a solid-state image sensor. The present invention relates to a camera signal processing device and a camera signal processing method for calculating a correlation value for each pixel when generating a pixel signal.

【0002】[0002]

【従来の技術】従来において、CCD(Charge Coupled
Device) イメージセンサ(以下、単にCCDと称す
る。)等の固体撮像素子を用いた単板式のカメラ装置に
おいては、CCD上にR,G,Bに対応した光を透過さ
せる色フィルタが配設されている。この色フィルタは、
R(レッド)の光を透過させる領域と、G(グリーン)
の光を透過させる領域と、B(ブルー)の光を透過させ
る領域とがマトリクス状に形成されており、例えば水平
方向においてG,R,G・・又はB,G,B・・と配設
されている。そして、CCDには、この色フィルタの各
領域を透過した光が入力され、色フィルタのR,G,B
の光を透過させる領域に対応した画素から画素データ
G,画素データR,画素データBをそれぞれ生成する。
2. Description of the Related Art Conventionally, a CCD (Charge Coupled) has been used.
In a single-panel camera device using a solid-state imaging device such as an image sensor (hereinafter simply referred to as a CCD), a color filter that transmits light corresponding to R, G, and B is provided on the CCD. ing. This color filter is
R (red) light transmitting area and G (green)
Are formed in the form of a matrix. For example, G, R, G, or B, G, B,... Are arranged in the horizontal direction. Have been. Then, light transmitted through each area of the color filter is input to the CCD, and R, G, B of the color filter is input to the CCD.
The pixel data G, the pixel data R, and the pixel data B are respectively generated from the pixels corresponding to the region through which the light is transmitted.

【0003】そして、このカメラ装置においては、CC
Dに入力される光に基づいて輝度信号を作成するととも
に、色信号を作成している。
In this camera device, CC
A luminance signal is generated based on the light input to D, and a color signal is generated.

【0004】このようなカメラ装置におけるCCDは、
1つの画素毎にR,G,Bを有する色フィルタが配され
ており、例えば水平方向にR,G,R,G,・・・とい
う配列となされている。そして、このカメラ装置におい
ては、各画素に対応して配された色フィルタに対応して
色信号を作成している。したがって、このようなCCD
では、Rの光を透過させる色フィルタが配されている画
素においてはG及びBに対応した画素データG,Bが生
成されないこととなり、G及びBに対応した画素データ
を補間して生成する必要がある。
The CCD in such a camera device is
A color filter having R, G, B for each pixel is arranged, for example, in an array of R, G, R, G,... In the horizontal direction. In this camera device, a color signal is created corresponding to a color filter arranged corresponding to each pixel. Therefore, such a CCD
In this case, pixel data G and B corresponding to G and B are not generated in a pixel provided with a color filter that transmits R light, and it is necessary to generate pixel data corresponding to G and B by interpolation. There is.

【0005】このようなカメラ装置において、各画素毎
に水平方向から補間して補間画像を得るときには、水平
方向において隣接する画素データを加算処理して平均を
計算することで補間を行う。また、垂直方向から補間す
るときには、水平方向と同様に、垂直方向において隣接
する画素データを加算処理して、平均を計算することで
補間を行う。
In such a camera device, when obtaining an interpolated image by interpolating each pixel from the horizontal direction, interpolation is performed by adding pixel data adjacent in the horizontal direction and calculating an average. Also, when performing interpolation from the vertical direction, similar to the horizontal direction, interpolation is performed by adding pixel data adjacent in the vertical direction and calculating the average.

【0006】[0006]

【発明が解決しようとする課題】ところで、カメラ装置
においては、輝度信号の周波数が標本化周波数の下限、
ナイキスト周波数の限界の近傍において利得が低減する
ことが避けられない。このように、輝度信号の周波数が
ナイキスト周波数近傍において利得が低減すると、カメ
ラ装置で生成する画像の解像度が劣化してしまう。ま
た、単板方式のカメラ装置においては、上述のように、
各画素上に配された色フィルタを介して各色に対応した
光を入力しているので、輝度信号の周波数が標本化周波
数の1/2であっても、色信号の周波数が1/4しかな
いことによる。
By the way, in the camera device, the frequency of the luminance signal is lower than the lower limit of the sampling frequency.
It is inevitable that the gain decreases near the Nyquist frequency limit. As described above, when the gain decreases near the frequency of the luminance signal near the Nyquist frequency, the resolution of an image generated by the camera device deteriorates. In the single-panel camera device, as described above,
Since the light corresponding to each color is input via the color filter arranged on each pixel, even if the frequency of the luminance signal is 1/2 of the sampling frequency, the frequency of the color signal is only 1/4. It depends.

【0007】このように、カメラ装置においては、ナイ
キスト限界の近傍における周波数帯域においては、相関
値を検出することができないこととなる。したがって、
このような帯域では、例えば色のエッジ等に偽色信号が
発生することがある。
As described above, in the camera device, the correlation value cannot be detected in the frequency band near the Nyquist limit. Therefore,
In such a band, for example, a false color signal may be generated at a color edge or the like.

【0008】そこで、本発明は、上述したような実情に
鑑みて提案されたものであり、撮像素子で生成した画像
データを生成するときに、高い解像度で輝度信号及び色
差信号を作成することができるカメラ信号処理装置及び
カメラ信号処理方法を提供することを目的とする。
Accordingly, the present invention has been proposed in view of the above-described circumstances, and it is possible to generate a luminance signal and a color difference signal with high resolution when generating image data generated by an image sensor. It is an object of the present invention to provide a camera signal processing device and a camera signal processing method that can be performed.

【0009】[0009]

【課題を解決するための手段】上述の課題を解決する本
発明にかかるカメラ信号処理装置は、各画素毎に分光特
性が異なる色フィルタを介して入射される光に応じて固
体撮像素子が検出する画素データを当該位置及び周囲の
画素データに基づいて補間画素データとする補間画素デ
ータ生成手段と、補間画素データ生成手段で生成された
補間画素データの水平方向及び垂直方向における相関の
程度を示し当該補間画素データに重み付けを行う相関値
を検出する相関検出手段と、補間画素データ生成した補
間画素データを相関検出手段で検出した相関値で重み付
けを行った補間画素データに基づいて画像を生成する画
像生成手段とを備え、相関検出手段は、固体撮像素子で
検出する画素データのうち所定の色を示す画素データの
みを用いて所定の色を示す補間画素データについての相
関値及び所定の色以外の色を示す補間画素データについ
ての相関値を検出することを特徴とするものである。
A camera signal processing apparatus according to the present invention, which solves the above-mentioned problems, detects a solid-state image sensor in accordance with light incident through a color filter having different spectral characteristics for each pixel. The pixel data to be interpolated based on the pixel data at the position and the surroundings, and the degree of correlation in the horizontal and vertical directions of the interpolated pixel data generated by the interpolated pixel data generator. A correlation detection unit that detects a correlation value that weights the interpolation pixel data; and generates an image based on the interpolation pixel data obtained by weighting the interpolation pixel data generated by the interpolation pixel data with the correlation value detected by the correlation detection unit. Image generating means, and the correlation detecting means uses a predetermined amount of pixel data indicating a predetermined color among the pixel data detected by the solid-state imaging device. It is characterized in that to detect the correlation value for the interpolated pixel data indicating a color other than the correlation value and a predetermined color for interpolation pixel data indicating.

【0010】また、本発明にかかるカメラ信号処理方法
は、各画素毎に分光特性が異なる色フィルタを介して入
射される光に基づいて固体撮像素子で生成された画素デ
ータを当該位置及び周囲の画素データに基づいて補間画
素データを生成し、画素データのうち所定の色を示す画
素データのみを用いて所定の色を示す補間画素データに
ついての相関値及び所定の色以外の色を示す補間画素デ
ータについての相関値を検出し、相関値で補間画素デー
タの重み付けを行い、重み付けがなされた補間画素デー
タに基づいて画像を生成することを特徴とする。
Further, according to the camera signal processing method of the present invention, pixel data generated by a solid-state image sensor based on light incident through a color filter having a different spectral characteristic for each pixel is used for the position and surrounding pixels. Interpolated pixel data is generated based on pixel data, and a correlation value for the interpolated pixel data indicating a predetermined color using only pixel data indicating a predetermined color among the pixel data and an interpolated pixel indicating a color other than the predetermined color It is characterized in that a correlation value for data is detected, interpolation pixel data is weighted with the correlation value, and an image is generated based on the weighted interpolation pixel data.

【0011】[0011]

【発明の実施の形態】以下、本発明に係るカメラ信号処
理装置及びカメラ信号処理方法について図面を参照しな
がら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a camera signal processing apparatus and a camera signal processing method according to the present invention will be described with reference to the drawings.

【0012】本発明に係るカメラ信号処理装置は、図1
に示すように、入力された光に応じて例えば静止画像を
生成するカメラ装置1に適用できる。
FIG. 1 shows a camera signal processing apparatus according to the present invention.
As shown in FIG. 7, the present invention can be applied to a camera device 1 that generates, for example, a still image according to input light.

【0013】このカメラ装置1は、CCD(Charge Coup
led Device) イメージャ(以下CCDと称する。)に被
写体を結像するする光学系2と、CCD3と、このCC
D3を駆動するタイミングジェネレータ4と、CCD3
から撮像信号が入力されるサンプル/ホールド回路5
と、サンプル/ホールド回路5から撮像信号が入力され
ゲインを調整するAGC回路6と、入力された撮像信号
をデジタル方式の画像データに変換するA/D変換回路
7と、画像データにカメラ信号処理を行うカメラ処理部
8と、CCD3で生成する撮像信号を検波するCCD検
波部9と、これら各部を制御する制御部10とから構成
されている。
The camera device 1 is a CCD (Charge Coup).
led Device) An optical system 2 for forming an image of a subject on an imager (hereinafter referred to as a CCD), a CCD 3, and the CC
A timing generator 4 for driving D3;
/ Hold circuit 5 to which an imaging signal is input from
An AGC circuit 6 which receives an image signal from the sample / hold circuit 5 and adjusts a gain; an A / D conversion circuit 7 which converts the input image signal into digital image data; , A CCD detection unit 9 for detecting an image signal generated by the CCD 3, and a control unit 10 for controlling these units.

【0014】ここで、CCD3には、R(レッド)の光
を透過する領域と、G(グリーン)の光を透過する領域
と、B(ブルー)の光を透過する領域とがマトリクス状
に形成された色フィルタが配設されており、各画素毎に
当該色フィルタを透過した光が入力される。この色フィ
ルタは、例えば、各色の光を透過する領域が水平方向に
R,G,R,G・・・又はG,B,G,B・・・と配設
されている。すなわち、CCD3は、各画素毎で各色
R,G,Bに対応した光に基づいて画素データR,画素
データG,画素データBを生成する。
Here, in the CCD 3, a region transmitting R (red) light, a region transmitting G (green) light, and a region transmitting B (blue) light are formed in a matrix. A color filter is provided, and light transmitted through the color filter is input to each pixel. In this color filter, for example, regions that transmit light of each color are arranged in the horizontal direction as R, G, R, G,... Or G, B, G, B,. That is, the CCD 3 generates pixel data R, pixel data G, and pixel data B based on the light corresponding to each color R, G, B for each pixel.

【0015】このCCD検波部9では、A/D変換回路
7でデジタル方式に変換された画像データが入力され
る。そして、このCCD検波部9で検波された画像デー
タは、例えばAE(auto exposure)回路、AF(auto foc
us)回路に入力される。そして、例えばAE回路に入力
された画像データは、電子シャッタのシャッタスピード
又は絞りを調整するために使用され、CCD3に入射す
る光の明るさを自動で切り換える。
The CCD detector 9 receives the image data converted into a digital signal by the A / D converter 7. The image data detected by the CCD detector 9 is, for example, an AE (auto exposure) circuit and an AF (auto focus).
us) circuit. Then, for example, the image data input to the AE circuit is used to adjust the shutter speed or the aperture of the electronic shutter, and automatically switches the brightness of the light incident on the CCD 3.

【0016】カメラ処理部8は、A/D変換回路7から
画像データが入力される欠陥補正回路11と、欠陥補正
回路11から画像データが入力されるCLP回路12
と、CLP回路12から画像データが入力されるホワイ
トバランス回路13と、ホワイトバランス回路13から
画像データが入力されるγ補正回路14を備える。
The camera processing unit 8 includes a defect correction circuit 11 to which image data is input from the A / D conversion circuit 7 and a CLP circuit 12 to which image data is input from the defect correction circuit 11.
A white balance circuit 13 to which image data is input from the CLP circuit 12, and a gamma correction circuit 14 to which image data is input from the white balance circuit 13.

【0017】欠陥補正回路11は、A/D変換回路7か
らの画像データに欠陥補正を施す。この欠陥補正回路1
1は、欠陥を有するために画素データが生成されない画
素の欠陥を補正して、CLP回路12に画像データを出
力する。
The defect correction circuit 11 performs defect correction on the image data from the A / D conversion circuit 7. This defect correction circuit 1
1 corrects a defect of a pixel in which pixel data is not generated because of having a defect, and outputs image data to the CLP circuit 12.

【0018】CLP回路12には、欠陥補正回路11か
らの画像データからオプティカルブラックを差し引く。
このようにCLP回路12では、入力した画像データの
黒レベルを補正して、当該画像データをホワイトバラン
ス回路13に出力する。
The CLP circuit 12 subtracts optical black from the image data from the defect correction circuit 11.
As described above, the CLP circuit 12 corrects the black level of the input image data and outputs the image data to the white balance circuit 13.

【0019】ホワイトバランス回路13には、CLP回
路12からの画像データR,G,Bに対応した色毎のレ
ベルを調整する。このようにホワイトバランス回路13
は、各色毎にレベルが調整された画像データをγ補正回
路14に出力する。
The white balance circuit 13 adjusts the level of each color corresponding to the image data R, G, B from the CLP circuit 12. Thus, the white balance circuit 13
Outputs the image data whose level has been adjusted for each color to the gamma correction circuit 14.

【0020】このγ補正回路14には、ホワイトバラン
ス回路13からの画像データにγ補正を施す。そして、
このγ補正回路14は、γ補正を施した画像データを後
述する画像データ補間部と相関値検出部とに出力する。
The gamma correction circuit 14 performs gamma correction on the image data from the white balance circuit 13. And
The gamma correction circuit 14 outputs the gamma-corrected image data to an image data interpolation unit and a correlation value detection unit described later.

【0021】また、この信号処理部8は、図2に示すよ
うに、γ補正回路14から画像データが入力される画像
データ補間部15と、各画素データ間の相関値を検出す
る相関値検出部16と、相関値のノイズを除去するノイ
ズ除去部17と、相関値にオフセットをかけるオフセッ
ト回路18と、相関値を正規化する正規化回路19と、
相関を検出する方向の偏りを補正する偏り補正回路20
と、相関の強調及び低減を行う強調・低減回路21と、
補間した画像データに相関値を用いて重み付けを行う加
重加算回路22と、画像データの輪郭を補正する輪郭補
正回路23と、画像データを輝度信号(Y)と色差信号
(C)とからなるY/C信号に変換するY/C変換部2
4と、色差信号による偽色信号を抑制する色差信号抑制
部25と、出力部26とを備える。
As shown in FIG. 2, the signal processing section 8 includes an image data interpolating section 15 to which image data is input from the gamma correction circuit 14 and a correlation value detecting section for detecting a correlation value between pixel data. A noise removing unit 17 for removing noise of the correlation value, an offset circuit 18 for offsetting the correlation value, a normalizing circuit 19 for normalizing the correlation value,
Bias correction circuit 20 for correcting the bias in the direction of detecting the correlation
An emphasis / reduction circuit 21 for emphasizing and reducing the correlation;
A weighted addition circuit 22 for weighting the interpolated image data using a correlation value, an outline correction circuit 23 for correcting the outline of the image data, and an image data Y including a luminance signal (Y) and a color difference signal (C). Y / C converter 2 for converting to / C signal
4, a color difference signal suppression unit 25 for suppressing a false color signal due to the color difference signal, and an output unit 26.

【0022】画像データ補間部15には、γ補正回路1
4から複数の画素データからなる画像データが入力され
る。この画像データ補間部15は、各画素毎に各画素デ
ータR,G,Bの補間を行って、各補間画素データ
R’,G’,B’を生成するものである。この画像デー
タ補間部15は、水平方向に配列した画素に対応した画
素データの補間を行う水平方向補間回路15aと、垂直
方向に配列した画素に対応した画素データの補間を行う
垂直方向補間回路15bとからなる。
The image data interpolation unit 15 includes a γ correction circuit 1
4, image data composed of a plurality of pixel data is input. The image data interpolating unit 15 interpolates the pixel data R, G, and B for each pixel to generate the interpolated pixel data R ', G', and B '. The image data interpolation unit 15 includes a horizontal interpolation circuit 15a for interpolating pixel data corresponding to pixels arranged in a horizontal direction, and a vertical interpolation circuit 15b for interpolating pixel data corresponding to pixels arranged in a vertical direction. Consists of

【0023】水平方向補間回路15aには、図3に示す
ようなマトリクス状に配列された各画素に対応する画素
データR,G,Bが入力される。この水平方向補間回路
15aは、下記の式1に示すフィルタを用いて水平方向
における補間画素データを算出する。なお、図3は、各
画素毎に対応した画素データR,G,Bを示す図であ
り、各画素の配置として座標を数字で示した図である。
また、この以下の説明においては、水平方向におけるラ
イン毎に0h,1h,2h,3h,4hと配されている
として以下の説明を行う。
The horizontal direction interpolation circuit 15a receives pixel data R, G, and B corresponding to pixels arranged in a matrix as shown in FIG. The horizontal interpolation circuit 15a calculates interpolation pixel data in the horizontal direction by using a filter expressed by the following equation 1. FIG. 3 is a diagram showing pixel data R, G, and B corresponding to each pixel, and is a diagram in which coordinates are indicated by numerals as the arrangement of each pixel.
In the following description, it is assumed that 0h, 1h, 2h, 3h, and 4h are arranged for each line in the horizontal direction.

【0024】 [1,4,6,4,1]/8 (式1) すなわち、補間画素データR’,G’,B’の算出を行
うときには、式1に示すフィルタを用いるために、水平
方向補間回路15aを図4に示すように構成する。
[1,4,6,4,1] / 8 (Equation 1) That is, when calculating the interpolated pixel data R ′, G ′, and B ′, since the filter shown in Equation 1 is used, the horizontal The direction interpolation circuit 15a is configured as shown in FIG.

【0025】水平方向補間回路15aは、水平方向にお
ける補間画素データR’,G’,B’を作成するとき、
図4に示すように構成する。この水平方向補間回路15
aは、γ補正回路14から画素データが入力される入力
部30と、入力部30から各画素データが入力される遅
延回路31と、遅延回路31から水平方向における各画
素データが入力され補間画素データを生成するフィルタ
回路32と、フィルタ回路32を介して補間画素データ
が入力されるセレクタ回路33と、セレクタ回路33か
らの補間画素データを出力する出力端子34とからな
る。
The horizontal direction interpolation circuit 15a generates the interpolated pixel data R ', G', B 'in the horizontal direction.
The configuration is as shown in FIG. This horizontal interpolation circuit 15
a is an input unit 30 to which pixel data is input from the γ correction circuit 14, a delay circuit 31 to which each pixel data is input from the input unit 30, and an interpolation pixel to which each pixel data in the horizontal direction is input from the delay circuit 31. The filter circuit 32 includes a filter circuit 32 for generating data, a selector circuit 33 to which interpolation pixel data is input via the filter circuit 32, and an output terminal 34 for outputting interpolation pixel data from the selector circuit 33.

【0026】入力部30には、γ補正回路14から水平
方向における各画素データが順次入力される。この入力
部30には、1画素データ毎にクロックで順次入力され
る。遅延回路31は、入力部30で入力した各画素デー
タが入力される遅延回路31a〜31dからなる。この
遅延回路31は、入力された各画素データを上記のクロ
ックと同期して各遅延回路31a〜31dに入力し、フ
ィルタ回路32に出力する。
Each pixel data in the horizontal direction is sequentially input from the gamma correction circuit 14 to the input section 30. The input unit 30 is sequentially input by a clock for each pixel data. The delay circuit 31 includes delay circuits 31a to 31d to which each pixel data input from the input unit 30 is input. The delay circuit 31 inputs the input pixel data to each of the delay circuits 31 a to 31 d in synchronization with the above clock and outputs the data to the filter circuit 32.

【0027】フィルタ回路32は、入力部30及び遅延
回路31dを介して画素データが入力される加算器32
aと、遅延回路31a及び遅延回路31cを介して画素
データが入力される加算器32bと、遅延回路31bを
介して画素データが入力される加算器32cと、加算器
32a及び加算器32cからの出力が入力される加算器
32dとからなる。
The filter circuit 32 includes an adder 32 to which pixel data is input via the input section 30 and the delay circuit 31d.
a, an adder 32b to which the pixel data is input via the delay circuit 31a and the delay circuit 31c, an adder 32c to which the pixel data is input via the delay circuit 31b, and an output from the adder 32a and the adder 32c. And an adder 32d to which an output is input.

【0028】加算器32aは入力部30から直接入力さ
れる画素データ及び遅延回路31dを介して画素データ
が入力され、加算器32cは遅延回路31bを介して画
素データが入力され、加算器32dは加算器32a及び
加算器32cを介して画素データが入力される。また、
加算器32bは遅延回路31a及び遅延回路31cを介
して画素データが入力される。
The adder 32a receives the pixel data directly input from the input unit 30 and the pixel data via a delay circuit 31d, the adder 32c receives the pixel data via a delay circuit 31b, and the adder 32d receives Pixel data is input via the adders 32a and 32c. Also,
Pixel data is input to the adder 32b via the delay circuits 31a and 31c.

【0029】すなわち、このフィルタ回路32は、加算
器32a,32c,32dで[1,0,6,0,1]/
8のフィルタを構成し、加算器32bで[1,0,1]
/2のフィルタを構成している。
That is, in the filter circuit 32, [1,0,6,0,1] /
8, and [1, 0, 1] is added by the adder 32b.
/ 2 filter.

【0030】セレクタ回路33は、加算器32dからの
出力及び遅延回路31bを介して画素データが入力され
るセレクタ33a、33bと、セレクタ33aからの出
力及び加算器32bからの出力が入力されるセレクタ3
3cと、加算器32b及びセレクタ33bからの出力が
入力されるセレクタ33dとを有する。
The selector circuit 33 includes selectors 33a and 33b to which the output from the adder 32d and the pixel data are input via the delay circuit 31b, and a selector to which the output from the selector 33a and the output from the adder 32b are input. 3
3c, and a selector 33d to which outputs from the adder 32b and the selector 33b are input.

【0031】また、各セレクタ33a〜33dは、制御
部10からの制御信号が入力されて、その動作が制御さ
れている。
The operation of each of the selectors 33a to 33d is controlled by receiving a control signal from the control unit 10.

【0032】出力部34は、セレクタ33cからの出力
を出力する端子34aとセレクタ33dからの出力を後
述するエッジ処理回路に出力する端子34bとを有す
る。
The output section 34 has a terminal 34a for outputting an output from the selector 33c and a terminal 34b for outputting an output from the selector 33d to an edge processing circuit described later.

【0033】このように構成された水平方向補間回路1
5aは、例えば画素データG22について、補間画素デー
タR22’,B22’のみならず、補間画素データG22’を
も算出する。
The horizontal interpolation circuit 1 constructed as described above
5a, for example for the pixel data G 22, interpolated pixel data R 22 ', B 22' as well, also to calculate the interpolated pixel data G 22 '.

【0034】水平方向補間回路15aで、例えば図3中
の画素データG22についての補間画素データG22’を算
出するときには、入力部30で2hにおける画素データ
20,R21,G22,R23,G24を順次入力する。
When the horizontal interpolation circuit 15a calculates, for example, the interpolated pixel data G 22 ′ for the pixel data G 22 in FIG. 3, the input unit 30 inputs the pixel data G 20 , R 21 , G 22 , R at 2h. 23 and G 24 are sequentially input.

【0035】次に、入力部30で入力した画素データG
20,R21,G22,R23,G24を遅延回路31によりフィ
ルタ回路32に入力する。すなわち、画素データG20
加算器32aに入力し、画素データR21を加算器32b
に入力し、画素データG22を加算器32cに入力し、画
素データR23を加算器32bに入力し、画素データG24
を加算器32aに入力する。
Next, the pixel data G input by the input unit 30
20 , R 21 , G 22 , R 23 , and G 24 are input to the filter circuit 32 by the delay circuit 31. That is, the input pixel data G 20 to the adder 32a, an adder 32b pixel data R 21
, The pixel data G 22 is input to the adder 32c, the pixel data R 23 is input to the adder 32b, and the pixel data G 24
Is input to the adder 32a.

【0036】次に、フィルタ回路32で各画素データG
20,G22,G24から、画素データG22についての補間画
素データG22’の演算を行う。すなわち、加算器32a
では画素データG20と画素データG24とを加算処理して
加算器32dに出力する。また、加算器32cでは、画
素データG22を4倍とするとともに2倍としてこれらを
加算処理して加算器32dに出力する。そして、加算器
32dでは、加算器32aと加算器32cとからの出力
を入力して、これらを加算処理するとともに1/8の乗
算処理を行ってセレクタ回路33に出力する。また、加
算器32bでは、画素データR21と画素データR23を入
力してこれらを加算処理するとともに1/2の乗算処理
を行ってセレクタ回路33に出力する。
Next, each pixel data G
20, the G 22, G 24, performs calculation of the interpolated pixel data G 22 'for the pixel data G 22. That is, the adder 32a
In output to the adder 32d adds processing and pixel data G 20 and the pixel data G 24. Moreover, the adder 32c, and outputs to the adder 32d adds treat them as twice as well as four times the pixel data G 22. Then, the adder 32d receives the outputs from the adders 32a and 32c, performs an addition process on them, performs a 1 / multiplication process, and outputs the result to the selector circuit 33. Further, the adder 32b, and outputs to the selector circuit 33 performs 1/2 multiplication processing while adding process these enter the pixel data R 21 and pixel data R 23.

【0037】このように加算器32a,32c,32d
で加算処理を行うことにより、{画素データG20+6×
画素データG22+画素データG24}/8という演算を行
う。一方、加算器32bで加算処理を行うことにより、
{画素データR21+画素データR23}/2という演算を
行う。すなわち、このフィルタ回路32では、加算器3
2bで[1,0,1]/2というフィルタを構成し、加
算器32a,32c,32dで[1,0,6,0,1]
/8というフィルタを構成し、画素データG20,G22
24を上述した式1に示すフィルタを通過させる。した
がって、このフィルタ回路32によれば、画素データR
22,G22についての補間画素データR22’,G22’を作
成する。
As described above, the adders 32a, 32c, 32d
加 算 pixel data G 20 + 6 ×
An operation of pixel data G 22 + pixel data G 24 } / 8 is performed. On the other hand, by performing the addition process in the adder 32b,
An operation of {pixel data R 21 + pixel data R 23 } / 2 is performed. That is, in the filter circuit 32, the adder 3
2b forms a filter of [1, 0, 1] / 2, and adders 32a, 32c, 32d form [1, 0, 6, 0, 1].
/ 8, and the pixel data G 20 , G 22 ,
The G 24 is passed through the filter shown in Equation 1 described above. Therefore, according to the filter circuit 32, the pixel data R
22 interpolated pixel data R 22 for, G 22 ', G 22' to create.

【0038】次に、セレクタ33a及びセレクタ33b
では、補間画素データG22’を入力するとともに、画素
データG22を入力する。また、セレクタ33a及びセレ
クタ33bでは、制御部10から制御信号H又は制御信
号Lを入力する。ここで、セレクタ33a及びセレクタ
33bでは、制御信号Hが入力されたときには、フィル
タ回路32からの補間画素データG22’をそのままセレ
クタ33c,33dに出力し、制御信号Lが入力された
ときには、画素データG22をセレクタ33c,33dに
出力する。
Next, the selector 33a and the selector 33b
In inputs the interpolated pixel data G 22 ', inputs the pixel data G 22. The control signal H or the control signal L is input from the control unit 10 to the selectors 33a and 33b. Here, when the control signal H is input to the selectors 33a and 33b, the interpolation pixel data G 22 ′ from the filter circuit 32 is output to the selectors 33c and 33d as they are, and when the control signal L is input, the pixel and outputs the data G 22 selector 33c, the 33d.

【0039】次に、この制御部10では、画素データG
22についての補間画素データG22’がフィルタ回路32
で生成されていることから、制御信号Lをセレクタ33
c及びセレクタ33dに出力する。このように、セレク
タ33c,33dに制御信号Lが入力されると、セレク
タ33cでは補間画素データR22’を出力し、セレクタ
33dでは画素データG22又は補間画素データG22’を
出力する。
Next, in the control unit 10, the pixel data G
Interpolated pixel data G 22 'is a filter circuit 32 for 22
, The control signal L is supplied to the selector 33.
c and the selector 33d. Thus, when the control signal L is input to the selectors 33c and 33d, the selector 33c outputs the interpolated pixel data R 22 ′, and the selector 33d outputs the pixel data G 22 or the interpolated pixel data G 22 ′.

【0040】一方、制御部10からセレクタ33c,セ
レクタ33dに制御信号Hが入力された場合、セレクタ
33cはセレクタ33aから入力されたデータを出力
し、セレクタ33dは加算器32bから入力されたデー
タを出力する。
On the other hand, when the control signal H is input from the control unit 10 to the selectors 33c and 33d, the selector 33c outputs the data input from the selector 33a, and the selector 33d outputs the data input from the adder 32b. Output.

【0041】すなわち、このセレクタ33dは、例えば
画素データG22についての補間画素データG22’を出力
するときにはセレクタ33bからの入力を出力し、図3
中の画素データG23についての補間画素データG23’を
出力するときには、加算器32bからの入力を出力する
ように制御される。そして、セレクタ33cは端子34
aに画素データR又は画素データBについての補間画素
データR22’を出力し、セレクタ33dは端子34bに
画素データGについての補間画素データG22’を出力す
る。
That is, when outputting the interpolated pixel data G 22 ′ for the pixel data G 22 , for example, the selector 33 d outputs the input from the selector 33 b, and FIG.
When outputting the interpolated pixel data G 23 ′ for the middle pixel data G 23 , control is performed so as to output the input from the adder 32b. Then, the selector 33c is connected to the terminal 34.
Output the interpolated pixel data R 22 ′ for the pixel data R or the pixel data B to a, and the selector 33 d outputs the interpolated pixel data G 22 ′ for the pixel data G to the terminal 34 b.

【0042】このように画素データGについての補間画
素データG’を算出するときは、入力した画素データ
R,Gのうち、図5に示すような画素データGのみから
なるCCD3を想定して補間画素データG’を算出す
る。したがって、この水平方向補間回路15aでは、画
素データGが存在しない画素について補間画素データ
G’を算出するときには[1,0,1]/2というフィ
ルタを使用して補間画素データG’を算出し、画素デー
タGが存在する画素について補間画素データG’を算出
するときには[1,0,6,0,1]/8というフィル
タを使用して補間画素データG’を算出することとな
る。したがって、このようなフィルタを用いて補間画素
データG’を算出する水平方向補間回路15aでは、こ
れらのフィルタの周波数特性が図6及び図7に示すよう
になる。すなわち、この[1,0,6,0,1]/8と
いうフィルタでは図6に示すような周波数特性を示し、
[1,0,1]/2というフィルタでは図7に示すよう
な周波数特性を示す。この図6及び図7に示したフィル
タの周波数特性によれば、水平方向補間回路15aで
は、これらのフィルタを用いることで画素データGが存
在する画素における補間画素データG’の周波数特性と
画素データGが存在しない補間画素データG’の周波数
特性との差を小さくすることができる。
When calculating the interpolated pixel data G 'for the pixel data G in this manner, the interpolation is performed by assuming the CCD 3 consisting only of the pixel data G as shown in FIG. The pixel data G ′ is calculated. Therefore, when calculating the interpolated pixel data G 'for a pixel having no pixel data G, the horizontal direction interpolation circuit 15a calculates the interpolated pixel data G' using a filter of [1, 0, 1] / 2. When calculating the interpolated pixel data G 'for the pixel in which the pixel data G exists, the interpolated pixel data G' is calculated using a filter of [1, 0, 6, 0, 1] / 8. Therefore, in the horizontal direction interpolation circuit 15a that calculates the interpolation pixel data G 'using such filters, the frequency characteristics of these filters are as shown in FIGS. That is, this [1,0,6,0,1] / 8 filter shows frequency characteristics as shown in FIG.
The filter [1, 0, 1] / 2 shows frequency characteristics as shown in FIG. According to the frequency characteristics of the filters shown in FIGS. 6 and 7, in the horizontal direction interpolation circuit 15a, the frequency characteristics of the interpolated pixel data G ′ and the pixel data of the pixel where the pixel data G exists are determined by using these filters. The difference from the frequency characteristic of the interpolated pixel data G ′ in which G does not exist can be reduced.

【0043】したがって、このように各画素データGに
ついての補間画素データG’を算出することにより、図
8に示すような補間画像データG’を得ることができ
る。
Therefore, by calculating the interpolated pixel data G 'for each pixel data G in this way, the interpolated image data G' as shown in FIG. 8 can be obtained.

【0044】また、上述した水平方向補間回路15a
は、2hにおいて画素データG22についての補間画素デ
ータR22’を[1,0,1]/2のフィルタを用いて算
出したが、上述と同様に1hにおいては、画素データG
11についての補間画素データB11’を算出することもで
きる。
The horizontal interpolation circuit 15a described above
Calculated the interpolated pixel data R 22 ′ for the pixel data G 22 using the filter of [1, 0, 1] / 2 in 2h, but in 1h, the pixel data G 22
It is also possible to calculate the interpolated pixel data B 11 'for 11.

【0045】次に、2hにおける画素データG22につい
ての補間画素データB22’を算出するときには、図9に
示したフィルタを用いて行う。すなわち、以下の説明で
は、画素データBが存在しないラインにおいて、補間画
素データB’を算出する一例について説明する。
Next, when calculating the interpolation pixel data B 22 ′ for the pixel data G 22 in 2h, the calculation is performed using the filter shown in FIG. That is, in the following description, an example of calculating the interpolation pixel data B ′ in a line where no pixel data B exists will be described.

【0046】画素データG22の補間画像データB22’を
算出するときには、図9に示すように構成した水平方向
補間回路15a’を用いて補間画素データB22’を算出
する。なお、以下の水平方向補間回路15a’の説明に
おいては、図4に示した水平方向補間回路15aと同様
の部分については同一の符号を付することでその詳細な
説明を省略する。すなわち、この図9に示した水平方向
補間回路15a’では、入力部30を例えば1hにおけ
る画素データがB10,G11,B12,G13,B14の順に
入力される端子30aと、3hにおける画素データがB
30,G31,B32,G33,B34の順に入力される端子3
0bとからなるものとしている。そして、この図9に示
した水平方向補間回路15a’は、端子30a,30b
から画素データが入力される加算器35を備えている。
この加算器35では、端子30a及び端子30bからの
画素データが入力されて、加算処理を行うとともに除算
処理を行う。すなわち、この加算器35では、例えば
{画素データB10+画素データB30}/2という処理を
行う。そして、この図9の水平方向補間回路15a’で
は、図4に示した水平方向補間回路15aと同様に遅延
回路31a〜31d,加算器32,セレクタ回路33を
介して補間画素データG’,B’を出力する。
The interpolated image data B 22 of the pixel data G 22 'when calculating the horizontal direction interpolation circuit 15a configured as shown in FIG. 9' to calculate the interpolated pixel data B 22 'with. In the following description of the horizontal interpolation circuit 15a ', the same parts as those of the horizontal interpolation circuit 15a shown in FIG. That is, in the horizontal direction interpolation circuit 15a 'shown in FIG. 9, the terminal 30a of the pixel data is input in the order of B 10, G 11, B 12 , G 13, B 14 at the input unit 30 for example 1h, 3h Pixel data at B
30, G 31, B 32, G 33, terminal 3 is inputted in the order of B 34
0b. The horizontal interpolation circuit 15a 'shown in FIG. 9 includes terminals 30a and 30b
And an adder 35 to which the pixel data is input.
The adder 35 receives the pixel data from the terminal 30a and the terminal 30b and performs an addition process and a division process. That is, the adder 35 performs a process of {pixel data B 10 + pixel data B 30 } / 2, for example. In the horizontal direction interpolator 15a 'of FIG. 9, the interpolated pixel data G', B via delay circuits 31a to 31d, an adder 32, and a selector circuit 33, similarly to the horizontal direction interpolator 15a shown in FIG. 'Is output.

【0047】すなわち、この水平方向補間回路15a’
では、先ず、垂直方向において隣接した1h及び3hに
配列した画素に対応した画素データBの相加平均で垂直
方向を補間することで、図10に示すように配置された
各画素の画素データBを、図11に示すように、垂直方
向に補間して補間画素データB’を算出する。
That is, the horizontal direction interpolation circuit 15a '
First, the pixel data B of each pixel arranged as shown in FIG. 10 is interpolated in the vertical direction by an arithmetic mean of the pixel data B corresponding to the pixels arranged in 1h and 3h adjacent to each other in the vertical direction. Is interpolated in the vertical direction as shown in FIG. 11 to calculate interpolated pixel data B ′.

【0048】次に、この垂直方向における画素データB
及び補間して得た補間画素データB’を[1,0,6,
0,1]/8のフィルタ、[1,0,1]/2のフィル
タを介して画素データBの水平方向における補間画素デ
ータB’を算出する。
Next, the pixel data B in the vertical direction
And the interpolated pixel data B ′ obtained by interpolation are [1, 0, 6,
Interpolated pixel data B ′ of the pixel data B in the horizontal direction is calculated via a [0,1] / 8 filter and a [1,0,1] / 2 filter.

【0049】すなわち、この水平方向補間回路15a’
では、水平方向に画素データBが存在しないラインにつ
いての補間画素データB22’を以下のように作成する。
まず、フィルタ回路32で1h及び3hにおける画素デ
ータBに[1,0,6,0,1]/8からなるフィルタ
を加算器32a,32c,32dを通過させることで適
用し、1h及び3hにおける画素データGに[1,0,
1]/2からなるフィルタを加算器32bを通過させる
ことで適用する。水平方向補間回路15a’は、さらに
[1,0,6,0,1]/8からなるフィルタを通過し
て得た画素データBの値から[1,0,1]/2からな
るフィルタを通過して得た画素データGの値を減算する
減算処理回路と、この減算処理回路からの出力に図4に
示した水平方向補間回路15aで得た補間画素データG
22’を加算処理する加算処理回路とを有している。
That is, the horizontal direction interpolation circuit 15a '
Then, the interpolated pixel data B 22 ′ for a line in which the pixel data B does not exist in the horizontal direction is created as follows.
First, a filter consisting of [1,0,6,0,1] / 8 is applied to the pixel data B at 1h and 3h by passing through the adders 32a, 32c and 32d by the filter circuit 32. [1,0,
1] / 2 is applied by passing through the adder 32b. The horizontal direction interpolation circuit 15a 'further filters the filter [1,0,1] / 2 from the value of the pixel data B obtained by passing through the filter [1,0,6,0,1] / 8. A subtraction processing circuit for subtracting the value of the pixel data G obtained by passing through, and the interpolation pixel data G obtained by the horizontal interpolation circuit 15a shown in FIG.
22 ′.

【0050】すなわち、この水平方向補間回路15a’
では、[1,0,6,0,1]/8からなるフィルタを
通過して得た画素データBの値から[1,0,1]/2
からなるフィルタを通過して得た画素データGの値を減
算処理して、さらに画素データG’を加算処理して補間
画素データB’を加重加算回路22に出力する。
That is, the horizontal interpolation circuit 15a '
Then, from the value of the pixel data B obtained by passing through the filter consisting of [1, 0, 6, 0, 1] / 8, [1, 0, 1] / 2
, And subtracts the value of the pixel data G obtained by passing through the filter consisting of the pixel data G, adds the pixel data G ′, and outputs the interpolated pixel data B ′ to the weighted addition circuit 22.

【0051】このように、図9の水平方向補間回路15
a’は、2hのように、画素データBが存在しない画素
に対応した画素データG22においても、図12に示すよ
うに、補間画素データB22’を算出することができる。
すなわち、この図9の水平方向補間回路15a’によれ
ば、全(すべ)ての画素について補間画素データB’を
算出することができる。
As described above, the horizontal direction interpolation circuit 15 shown in FIG.
As for a ′, interpolation pixel data B 22 ′ can be calculated as shown in FIG. 12, even for pixel data G 22 corresponding to a pixel having no pixel data B, such as 2h.
That is, according to the horizontal direction interpolation circuit 15a 'in FIG. 9, the interpolation pixel data B' can be calculated for all (all) pixels.

【0052】また、このような水平方向補間回路15
a’は、画素データG22について補間画素データB22
を算出するときには、下記式2及び上述の式1で算出し
た補間画素データを用いて算出してもよい。
Further, such a horizontal direction interpolation circuit 15
a ′ is the interpolation pixel data B 22 ′ for the pixel data G 22.
May be calculated using the interpolated pixel data calculated by Equation 2 below and Equation 1 above.

【0053】 B22’={(B12’−G12’)+(B32’−G32’)}/2+G22’(式2) この式2によれば、補間画素データB22’を算出すると
きには、図4の水平方向補間回路15aを用いて算出し
たG12’,G32’,G22’と、上述の式1で算出したB
32’B12’とを用いて補間画素データB22’を算出する
ことができる。一方、垂直方向補間回路15bは、図1
3に示すように構成している。なお、以下に述べる垂直
方向補間回路15bの説明においては、上述の水平方向
補間回路15aと同一部分については同一符号を付する
ことによりその詳細な説明を省略する。
B 22 ′ = {(B 12 ′ −G 12 ′) + (B 32 ′ −G 32 ′)} / 2 + G 22 ′ (Equation 2) According to Equation 2, the interpolation pixel data B 22 ′ is At the time of calculation, G 12 ′, G 32 ′, and G 22 ′ calculated using the horizontal direction interpolation circuit 15 a of FIG.
Interpolated pixel data B 22 ′ can be calculated using 32 ′ B 12 ′. On the other hand, the vertical direction interpolation circuit 15b
It is configured as shown in FIG. In the following description of the vertical direction interpolation circuit 15b, the same parts as those of the above-described horizontal direction interpolation circuit 15a are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0054】この垂直方向補間回路15bは、図13に
示すように、垂直方向における各画素データR,G,B
が順次入力される入力部30を備えている。この入力部
30は、1hにおける画素データが入力される端子30
aと、3hにおける画素データが入力される端子30b
と、0hにおける画素データが入力される端子30c
と、4hにおける画素データが入力される端子30d
と、2hにおける画素データが入力される端子30eと
を有する。
As shown in FIG. 13, the vertical direction interpolation circuit 15b performs the respective pixel data R, G, B in the vertical direction.
Are sequentially provided. The input unit 30 is a terminal 30 to which pixel data in 1h is input.
a and terminal 30b to which pixel data at 3h is input
And a terminal 30c to which pixel data at 0h is input
And a terminal 30d to which pixel data at 4h is input
And a terminal 30e to which pixel data at 2h is input.

【0055】また、この垂直方向補間回路15bは、上
述した水平方向補間回路15aと同様に、フィルタ回路
32と、セレクタ回路33と、出力部34とを有してい
る。この垂直方向補間回路15bでは、各端子30a〜
30eに画素データB10,B30,G00,G40,G20が入
力されると、端子30a及び端子30bに入力された画
素データを加算器32bに出力し、端子30c及び端子
30dに入力された画素データを加算器32aに出力
し、端子30eに入力された画素データを加算器32c
に出力する。そして、垂直方向補間回路15bでは、水
平方向補間回路15aと同様に、これらの入力された画
素データをフィルタ回路32により上述の式1及び式2
に適用して、画素データR,G,Bについての補間画素
データR’,G’,B’を得る。
The vertical direction interpolation circuit 15b has a filter circuit 32, a selector circuit 33, and an output section 34, like the horizontal direction interpolation circuit 15a. In the vertical direction interpolation circuit 15b, each of the terminals 30a to 30a
When pixel data B 10 , B 30 , G 00 , G 40 , and G 20 are input to 30 e, the pixel data input to terminals 30 a and 30 b are output to adder 32 b and input to terminals 30 c and 30 d. The output pixel data is output to the adder 32a, and the pixel data input to the terminal 30e is output to the adder 32c.
Output to Then, in the vertical direction interpolating circuit 15b, similarly to the horizontal direction interpolating circuit 15a, the input pixel data is filtered by the filter circuit 32 using the above-described equations 1 and 2.
To obtain the interpolated pixel data R ′, G ′, B ′ for the pixel data R, G, B.

【0056】また、この画像データ補間部15を構成す
る水平方向補間回路15aと垂直方向補間回路15b
は、エッジ処理回路15cに接続している。このエッジ
処理回路15cは、図14に示すように、上述のγ補正
回路14からディレイ調整がなされた画素データGが入
力される端子40a〜40cからなる入力部40と、各
端子40a〜40cから画素データGが入力される遅延
回路41a〜41dと、入力された画素データGを比較
する比較部42と、比較部42での比較結果について演
算処理を施す演算部43と、演算部43での演算結果に
応じて出力を制御する出力部44と、出力部44から画
素データを出力する出力端子45とから構成されてい
る。また、このエッジ処理回路15cは、γ補正回路1
4から各画素データGが入力される。ここで、以下に説
明するエッジ処理部15cは、例えば図15における補
間画素データG’の値を制御するときの一例について説
明する。
A horizontal interpolation circuit 15a and a vertical interpolation circuit 15b constituting the image data interpolation section 15
Are connected to the edge processing circuit 15c. As shown in FIG. 14, the edge processing circuit 15c includes an input unit 40 including terminals 40a to 40c to which the pixel data G subjected to the delay adjustment from the above-described γ correction circuit 14 is input. Delay circuits 41 a to 41 d to which the pixel data G is input, a comparing unit 42 for comparing the input pixel data G, an operating unit 43 for performing an arithmetic process on the comparison result of the comparing unit 42, The output unit 44 controls the output according to the calculation result, and the output terminal 45 outputs pixel data from the output unit 44. Further, the edge processing circuit 15 c
4, the respective pixel data G are input. Here, an example in which the edge processing unit 15c described below controls, for example, the value of the interpolation pixel data G ′ in FIG. 15 will be described.

【0057】入力部40は、上述した水平方向補間回路
15a,垂直方向補間回路15bで補間して得られた図
15における補間画素データG’の周囲の画素データG
1 〜G4 が入力される。この入力部40は、例えば2h
における補間画素データについてエッジ処理を行うとき
には、当該補間画素データG’の上方に隣接した1hの
画素データG1 が入力される端子40aと、当該補間画
素データG’の水平方向における両隣の画素データ
2,G3が入力される端子40bと、当該補間画素デー
タG’の下方に隣接した3hの画素データG4 が入力さ
れる端子40cとを備える。また、各端子40a〜40
cは、遅延回路41a〜41dと接続している。なお、
画素データG1,G2,G3,G4は、ディレイがかけられ
て各端子40a〜40cに入力される。
The input section 40 supplies pixel data G around the interpolated pixel data G 'in FIG. 15 obtained by interpolation by the horizontal interpolation circuit 15a and the vertical interpolation circuit 15b.
1 ~G 4 is input. The input unit 40 is, for example, 2h
Interpolation when pixel data performs edge processing on the 'a terminal 40a of pixel data G 1 of 1h adjacent to the upper is input, the interpolated pixel data G' corresponding interpolated pixel data G both sides of the pixel data in the horizontal direction in It has a terminal 40b to which G 2 and G 3 are input, and a terminal 40c to which 3h of pixel data G 4 adjacent below the interpolated pixel data G ′ is input. In addition, each terminal 40a-40
c is connected to the delay circuits 41a to 41d. In addition,
The pixel data G 1 , G 2 , G 3 , G 4 are input to the terminals 40 a to 40 c after being delayed.

【0058】遅延回路41a〜41dは、比較部42及
び出力部44と接続し、入力部40から出力された画素
データG1〜G4を入力する。この遅延回路41a〜41
dは、画素データG1〜G4を入力するクロックと同期し
たクロックで比較部42及び出力部44に各画素データ
1〜G4を出力する。
The delay circuits 41a to 41d are connected to the comparing section 42 and the output section 44, and receive the pixel data G 1 to G 4 output from the input section 40. These delay circuits 41a to 41
d outputs the pixel data G 1 ~G 4 to the comparator 42 and the output unit 44 at a clock synchronized with the clock input pixel data G 1 ~G 4.

【0059】比較部42は、入力部40で入力された4
つの画素データのうち、2つの画素データが入力される
コンパレータ42a〜42fからなる。すなわち、この
比較部42は、画素データG1及び画素データG2が入力
されるコンパレータ42aと、画素データG1及び画素
データG3が入力されるコンパレータ42bと、画素デ
ータG1及び画素データG4が入力されるコンパレータ4
2cと、画素データG2及び画素データG3 が入力され
るコンパレータ42dと、画素データG2 及び画素デー
タG4 が入力されるコンパレータ42eと、画素データ
3 及び画素データG4 が入力されるコンパレータ42
fとからなる。
The comparing section 42 receives the 4
It is composed of comparators 42a to 42f to which two pixel data of one pixel data are input. That is, the comparison unit 42, comparator 42b and a pixel data G 1 and pixel data G and the comparator 42a to the pixel data G 1 and the pixel data G 2 is input, the pixel data G 1 and the pixel data G 3 is input Comparator 4 to which 4 is input
And 2c, and 42d comparator pixel data G 2 and the pixel data G 3 is input, the comparator 42e to the pixel data G 2 and the pixel data G 4 is input, the pixel data G 3, and pixel data G 4 is input Comparator 42
f.

【0060】また、コンパレータ42aは端子Aで画素
データG1 、端子Bで画素データG2 が入力され、コン
パレータ42bは端子Aで画素データG1 、端子Bで画
素データG3 が入力され、コンパレータ42cは端子A
で画素データG1 、端子Bで画素データG4 が入力さ
れ、コンパレータ42dは端子Aで画素データG2 、端
子Bで画素データG3 が入力され、コンパレータ42e
は端子Aで画素データG 2 、端子Bで画素データG4
入力され、コンパレータ42fは端子Aで画素データG
3 、端子Bで画素データG4 が入力される。
The comparator 42a is connected to the terminal A by a pixel.
Data G1, Terminal B and pixel data GTwoIs entered and the
The parator 42b receives the pixel data G at the terminal A.1, Terminal B
Raw data GThreeIs input, and the comparator 42c is connected to the terminal A
Is the pixel data G1, Terminal B and pixel data GFourIs entered
The comparator 42d receives the pixel data G at the terminal A.Two,end
Pixel data G in child BThreeIs input to the comparator 42e
Is terminal A and pixel data G Two, Terminal B and pixel data GFourBut
The comparator 42f receives the pixel data G
Three, Terminal B and pixel data GFourIs entered.

【0061】演算部43は、比較部42から比較結果を
入力し、この比較結果に基づいて入力部40で入力され
た画素データG1〜G4のうち、2位と3位の画像データ
を選択する。ここで、演算部43は、複数のセレクタか
ら構成されている。この演算部43は、例えばコンパレ
ータ42a,コンパレータ42b,コンパレータ42c
からの比較結果が(L,H,H),(H,L,H),
(H,H,L)のいずれかである場合、画素データG1
を2位として、演算結果を出力部44に出力する。ま
た、この演算部43は、例えばコンパレータ42a,コ
ンパレータ42d,コンパレータ42eからの比較結果
が(H,L,L),(H,L,H),(H,H,L)の
いずれかである場合、画素データG2 を3位として、演
算結果を出力部44に出力する。
The operation unit 43 receives the comparison result from the comparison unit 42 and, based on the comparison result, outputs the second and third image data among the pixel data G 1 to G 4 input by the input unit 40. select. Here, the arithmetic unit 43 is composed of a plurality of selectors. The calculation unit 43 includes, for example, a comparator 42a, a comparator 42b, and a comparator 42c.
From (L, H, H), (H, L, H),
(H, H, L), the pixel data G 1
, And outputs the calculation result to the output unit 44. In addition, in the arithmetic unit 43, for example, the comparison result from the comparators 42a, 42d, and 42e is any one of (H, L, L), (H, L, H), and (H, H, L). In this case, the calculation result is output to the output unit 44 with the pixel data G 2 as the third place.

【0062】出力部44は、入力部40及び演算部43
と接続されている。この出力部44は、入力部40から
各画素データG1〜G4が入力されるとともに、演算部4
3から演算結果が入力される。この出力部44は、2位
を示す演算結果に応じて画素データを出力するセレクタ
44aと、3位を示す演算結果に応じて画素データG1
〜G4を出力するセレクタ44bとを有する。また、こ
の出力部44は、端子40aで入力された画素データG
1 が入力される00端子と、端子40bで入力された画
素データG2 が入力される10端子と、端子40bで入
力された画素データG3 が入力される01端子と、端子
40cで入力された画素データG4 が入力される11端
子とを備えている。
The output unit 44 includes the input unit 40 and the arithmetic unit 43
Is connected to The output unit 44 receives the pixel data G 1 to G 4 from the input unit 40 and outputs
The calculation result is input from 3. The output unit 44 outputs a selector 44a that outputs pixel data in accordance with the operation result indicating the second place, and the pixel data G 1 in accordance with the operation result indicating the third place.
And a selector 44b for outputting ~G 4. The output unit 44 also outputs the pixel data G input at the terminal 40a.
And 00 terminal 1 is input, the 01 terminal 10 and the terminal to which the pixel data G 2 input is input at terminal 40b, the pixel data G 3 input at terminal 40b is inputted, is inputted at terminal 40c And 11 terminals to which the pixel data G 4 is input.

【0063】出力部45は、出力部44及び水平方向補
間回路15a,垂直方向補間回路15bと接続されてい
る。この出力部45は、出力部44で出力した2位及び
3位を示す画素データG1〜G4を水平方向補間回路15
a,垂直方向補間回路15bに出力する。
The output unit 45 is connected to the output unit 44, the horizontal interpolation circuit 15a, and the vertical interpolation circuit 15b. The output unit 45 converts the pixel data G 1 to G 4 indicating the second and third places output from the output unit 44 into horizontal direction interpolation circuits 15.
a, Output to the vertical interpolation circuit 15b.

【0064】このように構成されたエッジ処理回路15
cでエッジ処理を行うときには、図15に示すように、
入力部40で例えば水平方向補間回路15a,垂直方向
補間回路15bで補間して得られた補間画素データG’
の周囲の画素データG1,G2,G3,G4を入力部40で
入力する。ここで、図15中の各画素データ内の数字
は、各画素データG1〜G4の大きさを表している。ここ
で、入力部40では、画素データG1 を端子40aで入
力し、画素データG2 を端子40bで入力し、画素デー
タG3 を端子40bで入力し、画素データG4 を端子4
0cで入力する。そして、これら画素データG1〜G4
各遅延回路41a〜41dを介して各コンパレータ42
a〜42fに出力する。
The edge processing circuit 15 thus configured
When performing the edge processing at c, as shown in FIG.
Interpolated pixel data G ′ obtained by the input unit 40 by, for example, the horizontal interpolation circuit 15a and the vertical interpolation circuit 15b.
The pixel data G 1 , G 2 , G 3 , and G 4 around the pixel are input by the input unit 40. Here, the numbers in each pixel data in FIG. 15 represent the size of each pixel data G 1 to G 4 . Here, the input unit 40 inputs the pixel data G 1 at the terminal 40a, and enter the pixel data G 2 at the terminal 40b, and inputs the pixel data G 3 at the terminal 40b, the terminal 4 pixel data G 4
Input with 0c. Then, the pixel data G 1 to G 4 are supplied to each comparator 42 via each of the delay circuits 41 a to 41 d.
a to 42f.

【0065】次に、これら各コンパレータ42a〜42
fでは、入力された画素データG1〜G4 の大きさを比
較して比較結果を演算部43に出力する。このとき、各
コンパレータ42a〜42fは、端子Aに入力した画素
データが端子Bに入力した画素データよりも大きいとき
は比較結果Hを演算部43に出力し、端子Aに入力した
画素データが端子Bに入力した画素データよりも小さい
ときは比較結果Lを演算部43に出力する。
Next, each of these comparators 42a-42
In f, the input pixel data G 1 to G 4 are compared in size and the comparison result is output to the arithmetic unit 43. At this time, when the pixel data input to the terminal A is larger than the pixel data input to the terminal B, each of the comparators 42a to 42f outputs the comparison result H to the arithmetic unit 43, and the pixel data input to the terminal A When the pixel data is smaller than the pixel data input to B, the comparison result L is output to the calculation unit 43.

【0066】次に、演算部43では、各コンパレータ4
2a〜42fからの比較結果に応じて入力部40で入力
した画素データG1〜G4のうち、2位と3位の画素デー
タG1〜G4を決定して、演算結果を出力部44に出力す
る。ここで、セレクタ44aで2位を示す演算結果が入
力され、セレクタ44bで3位を示す演算結果が入力さ
れる。そして、各セレクタ44a,44bは、演算結果
に基づいて画素データG1,G2,G3,G4のうち、2位
及び3位に該当する画素データG1〜G4を選択して出力
部45に出力する。
Next, in the arithmetic section 43, each comparator 4
Among the pixel data G 1 ~G 4 inputted by the input unit 40 in accordance with the comparison result from 2A~42f, to determine the 2-position and 3-position of the pixel data G 1 ~G 4, outputs the operation result 44 Output to Here, the calculation result indicating the second place is input by the selector 44a, and the calculation result indicating the third place is input by the selector 44b. Then, each selector 44a, 44b are operation result pixel data G 1 based on, G 2, G 3, among the G 4, 2 and 3 positions to select the pixel data G 1 ~G 4 corresponding output Output to the unit 45.

【0067】次に、出力部45では、これら2位及び3
位に該当する画素データG1〜G4を水平方向補間回路1
5a及び垂直方向補間回路15bに出力する。
Next, the output unit 45 outputs
The horizontal direction interpolation circuit 1 converts pixel data G 1 to G 4 corresponding to
5a and the vertical direction interpolation circuit 15b.

【0068】次に、水平方向補間回路15a及び垂直方
向補間回路15bでは、この2位及び3位に該当する画
素データG1〜G4から補間画素データG’の大きさが算
出されることとなる。
Next, a possible in the horizontal direction interpolation circuit 15a and the vertical direction interpolation circuit 15b, the size of the interpolated pixel data G 'from the pixel data G 1 ~G 4 corresponding to the 2-position and 3-position are calculated Become.

【0069】したがって、このようなエッジ処理回路1
5cによれば、例えば画素データG1 の大きさが10
0,画素データG2の大きさが100,画素データG3
大きさが100,画素データG4 の大きさが0である場
合には、2位及び3位の間を示す画素データは、共に1
00となるので、補間画素データG’の大きさは100
に制限される。したがって、このエッジ処理回路15c
によれば、図15に示した画素データについて垂直方向
について補間したときの補間画素データG’は(100
+0)=50として算出されるようなことがない。
Therefore, such an edge processing circuit 1
According to 5c, for example, the size of the pixel data G 1 is 10
0, if the size is 100 pixel data G 2, the size is 100 pixel data G 3, the size of the pixel data G 4 is 0, the pixel data representing between 2-position and 3-position, 1 together
00, the size of the interpolated pixel data G ′ is 100
Is limited to Therefore, the edge processing circuit 15c
According to the above, the interpolated pixel data G ′ obtained by interpolating the pixel data shown in FIG.
+0) = 50.

【0070】相関値検出部16は、上述のγ補正回路1
4から画素データが入力される。この相関値検出部16
は、水平方向の相関値を検出する水平方向相関検出回路
16aと、垂直方向の相関値を検出する垂直方向相関検
出回路16bとからなる。
The correlation value detecting section 16 is provided with the above-described γ correction circuit 1.
4, pixel data is input. This correlation value detection unit 16
Comprises a horizontal correlation detection circuit 16a for detecting a horizontal correlation value and a vertical correlation detection circuit 16b for detecting a vertical correlation value.

【0071】水平方向相関検出回路16aは、画素デー
タGが存在する画素においては下記式3に示すフィルタ
を用い、画素データGが存在しない画素においては下記
式4に示すフィルタを用いて水平相関値Ch を算出す
る。
The horizontal correlation detection circuit 16a uses a filter expressed by the following equation 3 for a pixel where the pixel data G exists, and uses a filter expressed by the following equation 4 for a pixel where the pixel data G does not exist. to calculate the C h.

【0072】[0072]

【数1】 (Equation 1)

【0073】すなわち、水平相関値Ch は、垂直方向に
おいて、画素データGが存在する場合には式3を用いて
[1,0,6,0,1]のLPF、画素データGが存在
しない場合には式4を用いて[1,0,1]のLPFを
かけて算出される。また、水平相関値Ch は、水平方向
において、[−1,0,2,0,−1]のBPFをかけ
て算出される。
[0073] That is, the horizontal correlation values C h, in the vertical direction, there is no LPF, pixel data G [1,0,6,0,1] using Equation 3 in the case where the pixel data G exists In this case, the calculation is performed by multiplying the LPF of [1, 0, 1] using Expression 4. The horizontal correlation value C h is in the horizontal direction, [- 1,0,2,0, -1] is calculated by multiplying the BPF of.

【0074】この水平方向相関検出回路16aは、図1
6に示すように、γ補正回路14から画素データが端子
50a〜50eから入力される入力部50と、各画素デ
ータが入力されて水平相関値Ch を生成するフィルタ回
路52と、水平相関値Ch が入力されるセレクタ回路5
3と、セレクタ回路53からの水平相関値Ch を出力す
る出力部54とからなる。
The horizontal correlation detecting circuit 16a is provided in
As shown in 6, the input unit 50 from the γ correction circuit 14 pixel data is inputted from the terminal 50 a to 50 e, a filter circuit 52 for each pixel data to generate a horizontal correlation value C h is input, the horizontal correlation value the selector circuit C h is input 5
And 3, and an output unit 54 for outputting a horizontal correlation value C h from the selector circuit 53.

【0075】入力部50は、γ補正回路14から図3に
示した垂直方向に配された各画素データを順次入力す
る。この入力部50は、1hにおける画素データが入力
される端子50aと、3hにおける画素データが入力さ
れる端子50bと、0hにおける画素データが入力され
る端子50cと、4hにおける画素データが入力される
端子50dと、2hにおける画素データが入力される端
子50eとを有する。
The input section 50 sequentially inputs the pixel data arranged in the vertical direction shown in FIG. 3 from the γ correction circuit 14. The input unit 50 receives a terminal 50a to which pixel data at 1h is input, a terminal 50b to which pixel data at 3h is input, a terminal 50c to which pixel data at 0h is input, and a pixel data at 4h. It has a terminal 50d and a terminal 50e to which pixel data at 2h is input.

【0076】フィルタ回路52は、端子50a及び端子
50bから画素データが入力される加算器52aと、端
子50c及び端子50dから画素データが入力される加
算器52bと、端子50eから画素データが入力される
加算器52cと、加算器52b及び加算器52cからの
出力が入力される加算器52dとからなる。このフィル
タ回路52は、上述した水平方向補間回路15a及び垂
直方向補間回路15bに示したフィルタ回路33と同様
に、加算器52b,加算器52c,加算器52dで
[1,0,6,0,1]/8のフィルタを構成し、加算
器52aで[1,0,1]/2のフィルタを構成してい
る。
The filter circuit 52 has an adder 52a to which pixel data is inputted from the terminals 50a and 50b, an adder 52b to which pixel data is inputted from the terminals 50c and 50d, and a pixel data to be inputted from the terminal 50e. And an adder 52d to which outputs from the adder 52b and the adder 52c are input. This filter circuit 52 includes [1, 0, 6, 0,...] At the adders 52b, 52c, and 52d, similarly to the filter circuit 33 shown in the horizontal interpolation circuit 15a and the vertical interpolation circuit 15b. 1] / 8, and the adder 52a forms a [1, 0, 1] / 2 filter.

【0077】セレクタ回路53は、加算器52dからの
出力及び端子50eから画素データが入力されるセレク
タ53aと、加算器52aからの出力及びセレクタ53
aからの出力が入力されるセレクタ53bとを有する。
また、各セレクタ53a,53bは、制御部10からの
制御信号を入力して、その動作が制御されている。すな
わち、セレクタ53aは、制御部10から制御信号Hを
入力したとき、加算器52b,52c,52dを介して
入力された画素データを出力し、制御部10から制御信
号Lを入力したとき、端子50eから入力された画素デ
ータを出力する。また、セレクタ53bは、制御部10
からの制御信号に応じて加算器52aを通過した水平相
関値Ch を出力するか、セレクタ53aを通過した画素
データを出力するかが制御される。
The selector circuit 53 includes a selector 53a to which the output from the adder 52d and the pixel data from the terminal 50e are input, and a selector 53a to which the output from the adder 52a is input.
and a selector 53b to which an output from a is input.
The operation of each of the selectors 53a and 53b is controlled by inputting a control signal from the control unit 10. That is, when the control signal H is input from the control unit 10, the selector 53 a outputs the pixel data input via the adders 52 b, 52 c, and 52 d, and when the control signal L is input from the control unit 10, The pixel data input from 50e is output. In addition, the selector 53b is connected to the control unit 10
Whether to output horizontal correlation values C h passing through the adder 52a according to the control signal from either outputs the pixel data that has passed through the selector 53a is controlled.

【0078】なお、この水平方向相関検出回路16aで
は、相関値を算出する対象となる画素データについては
フィルタ回路52を通過させずにセレクタ回路53に入
力させても良い。このように、フィルタ回路52b,5
2e,52dを通過させずに画素データGをそのまま相
関値として用いることで画素データGの帯域の低下を抑
制することができるとともに、回路を簡略化することも
できる。
In the horizontal correlation detection circuit 16a, pixel data for which a correlation value is to be calculated may be input to the selector circuit 53 without passing through the filter circuit 52. Thus, the filter circuits 52b, 5
By using the pixel data G as it is as the correlation value without passing through the 2e and 52d, it is possible to suppress a decrease in the band of the pixel data G and to simplify the circuit.

【0079】このセレクタ53bは、画素データGが存
在する画素では加算器52b,52c,52d或(あ
る)いは端子50eからの出力を通過させるように制御
され、画素データGが存在しない画素では加算器52a
からの出力を通過させるように制御される。
The selector 53b is controlled to pass the output from the adder 52b, 52c, 52d or (or) the terminal 50e in the pixel where the pixel data G exists, and in the pixel where the pixel data G does not exist. Adder 52a
Is controlled to pass the output from

【0080】出力部54は、セレクタ53bから入力し
た水平相関値Ch を出力する。この出力部54は、図示
しない水平方向に[−1,0,2,0,−1]のBPF
を介してノイズ除去部17と接続しており、水平相関値
h を当該ノイズ除去部17に出力する。
[0080] The output unit 54 outputs the horizontal correlation values C h inputted from the selector 53b. The output unit 54 has a BPF of [−1, 0, 2, 0, −1] in a horizontal direction (not shown).
, And outputs the horizontal correlation value Ch to the noise removing unit 17.

【0081】垂直方向相関検出回路16bは、画素デー
タGが存在する画素においては下記式5に示すフィルタ
を用い、画素データGが存在しない画素においては下記
式6に示すフィルタを用いて垂直相関値Cvを算出す
る。
The vertical direction correlation detecting circuit 16b uses the filter shown in the following equation 5 for the pixel where the pixel data G exists, and uses the filter shown in the following equation 6 for the pixel where the pixel data G does not exist. Calculate C v .

【0082】[0082]

【数2】 (Equation 2)

【0083】すなわち、垂直相関値Cv は、式5及び式
6を用いることにより、垂直方向において[−1,0,
2,0,−1]のBPFで算出される。また、垂直相関
値Cv は、画素データGが存在する場合、水平方向では
式5を用いて[1,0,6,0,1]のLPF、画素デ
ータGが存在しない場合には式6を用いて[1,0,
1]のLPFで算出される。
That is, the vertical correlation value C v is calculated by using the equations (5) and (6) to be [−1, 0,
2,0, -1]. Further, the vertical correlation value C v is obtained by using the equation 5 in the horizontal direction when the pixel data G exists, the LPF of [1, 0, 6, 0, 1], and in the case where the pixel data G does not exist, the equation 6 [1,0,
1] is calculated by the LPF.

【0084】この垂直方向相関検出回路16bは、図1
7に示すように、図示を省略した垂直方向に[−1,
0,2,0,−1]のBPFを介して画素データが入力
される入力部55と、入力部55から各画素データが入
力される遅延回路56a〜56dと、遅延回路56a〜
56dから各画素データが入力されて垂直相関値Cv
生成するフィルタ回路57と、フィルタ回路57を介し
て垂直相関値Cv が入力されるセレクタ回路58と、セ
レクタ回路58からの垂直相関値Cv を出力する出力部
59とからなる。
This vertical direction correlation detection circuit 16b has
As shown in FIG. 7, [−1,
[0,2,0, −1]], an input unit 55 to which pixel data is input via the BPF, delay circuits 56a to 56d to which each pixel data is input from the input unit 55, and delay circuits 56a to 56d.
A filter circuit 57 in which each pixel data to produce a vertical correlation value C v is inputted from 56d, a selector circuit 58 which vertical correlation value C v through the filter circuit 57 is input, the vertical correlation value from the selector circuit 58 And an output unit 59 for outputting Cv .

【0085】入力部55は、γ補正回路14から、図示
を省略した垂直方向に[−1,0,2,0,−1]のB
PFを介して順次入力する。入力部55は、上述した水
平方向補間回路15aに備えられる遅延回路31と同様
の構成を有する遅延回路56a〜56dに各画素データ
を出力する。
The input unit 55 outputs a signal of [−1, 0, 2, 0, −1] from the γ correction circuit 14 in the vertical direction (not shown).
Input sequentially via PF. The input unit 55 outputs each pixel data to the delay circuits 56a to 56d having the same configuration as the delay circuit 31 provided in the horizontal interpolation circuit 15a described above.

【0086】フィルタ回路57は、上述の水平方向相関
検出回路16aに備えられるフィルタ回路52と同様の
構成を有しており、加算器57a,57b,57c,5
7dからなる。このフィルタ回路52は、上述した水平
方向相関検出回路16aに示したフィルタ回路53と同
様に、加算器57b,加算器57c,加算器57dで
[1,0,6,0,1]/8のフィルタを構成し、加算
器57aで[1,0,1]/2のフィルタを構成してい
る。なお、この垂直方向相関検出回路16bでは、上述
の水平方向相関検出回路16aと同様に、相関値Cv
算出する対象となる画素データについてはフィルタ回路
57b,57c,57dを通過させずにセレクタ回路5
8に入力させても良い。
The filter circuit 57 has a configuration similar to that of the filter circuit 52 provided in the horizontal correlation detection circuit 16a, and includes adders 57a, 57b, 57c, and 5
7d. This filter circuit 52 includes [1, 0, 6, 0, 1] / 8 of [1, 0, 6, 0, 1] / 8 by an adder 57b, an adder 57c, and an adder 57d, similarly to the filter circuit 53 shown in the horizontal correlation detection circuit 16a described above. A filter is formed, and an adder 57a forms a [1, 0, 1] / 2 filter. In the vertical direction correlation detector circuit 16b, a selector similar to the horizontal correlation detection circuit 16a described above, the filter circuit 57b is the pixel data of interest to calculate a correlation value C v, 57c, without passing through the 57d Circuit 5
8 may be input.

【0087】セレクタ回路58は、上述の水平方向相関
検出回路16aに備えられるセレクタ回路53と同様の
構成を有しており、セレクタ58a,58bを有する。
また、各セレクタ58a,58bは、制御部10からの
制御信号が入力されて、その動作が制御されている。
The selector circuit 58 has the same configuration as the selector circuit 53 provided in the horizontal correlation detection circuit 16a, and has selectors 58a and 58b.
The operation of each of the selectors 58a and 58b is controlled by receiving a control signal from the control unit 10.

【0088】このセレクタ58bは、画素データGが存
在する画素では加算器57b,57c,57d或(あ
る)いは遅延回路56bからの出力を通過させるように
制御され、画素データGが存在しない画素では加算器5
7aからの出力を通過させるように制御される。
The selector 58b is controlled so that the output from the adder 57b, 57c, 57d or (or) the output from the delay circuit 56b is passed in the pixel where the pixel data G exists, and the pixel in which the pixel data G does not exist. Then adder 5
It is controlled to pass the output from 7a.

【0089】出力部59は、セレクタ58bから入力し
た垂直相関値Cv を出力する。この出力部59は、ノイ
ズ除去部17と接続しており、垂直相関値Cv を当該ノ
イズ除去部17に出力する。
[0089] The output unit 59 outputs the vertical correlation value C v inputted from the selector 58b. The output unit 59 is connected to the noise removing unit 17 and outputs the vertical correlation value Cv to the noise removing unit 17.

【0090】このように構成された相関値検出部16
は、式3〜式6を用いた回路を構成することで、例えば
画素データGのみで相関値Cを算出するので、被写体の
色の影響を受けるようなことなく水平相関値Ch 及び垂
直相関値Cv を算出することができる。
The correlation value detecting section 16 thus configured
Since the correlation value C is calculated only by the pixel data G, for example, by configuring a circuit using Expressions 3 to 6, the horizontal correlation value Ch and the vertical correlation value are not affected by the color of the subject. The value C v can be calculated.

【0091】ノイズ除去部17は、図2に示すように、
上述した水平方向相関検出回路16aと接続したノイズ
除去回路17aと、垂直方向相関検出回路16bと接続
したノイズ除去回路17bとからなる。これらノイズ除
去回路17aとノイズ除去回路17bとは、図18に示
すような同様の構成を有している。
As shown in FIG. 2, the noise removing unit 17
It comprises a noise elimination circuit 17a connected to the horizontal correlation detection circuit 16a and a noise elimination circuit 17b connected to the vertical correlation detection circuit 16b. These noise elimination circuits 17a and 17b have the same configuration as shown in FIG.

【0092】ノイズ除去部17a,17bは、図18に
示すように、相関検出回路16a,16bから相関値C
が入力される絶対値化回路60と、絶対値化された相関
値Cが入力される減算回路61と、減算された相関値C
が入力されるリミット回路62とからなる。
As shown in FIG. 18, the noise removing units 17a and 17b output the correlation values C from the correlation detection circuits 16a and 16b.
, A subtraction circuit 61 to which the absolute correlation value C is input, and a subtraction correlation value C
Is input to the limit circuit 62.

【0093】絶対値化回路60は、例えばEx.ORゲ
ート60aと加算器60bとからなる。この絶対値化回
路60は、入力した相関値Cに対して絶対値化を施し、
正の値とする。そして、この絶対値化回路60は、この
絶対値化した相関値Cを減算回路61に出力する。
The absolute value conversion circuit 60 is, for example, Ex. It comprises an OR gate 60a and an adder 60b. This absolute value conversion circuit 60 performs absolute value conversion on the input correlation value C,
Take a positive value. The absolute value conversion circuit 60 outputs the absolute value of the correlation value C to the subtraction circuit 61.

【0094】減算回路61は、例えば減算器61aから
なる。この減算器61aは、絶対値化回路60から相関
値Cが入力される。また、この減算器61aは、制御部
10から入力した相関値Cから所定の値を減算する減算
値を示す制御信号が入力される。そして、この減算器6
1aは、制御信号に応じて相関値Cから減算値を減算す
る。このように減算器61aは、減算処理を行うこと
で、図19(a)中の点線で示すように、相関値Cの出
力を図19(a)中の実線で示すように減算する。そし
て、この減算回路61は、減算した相関値Cをリミット
回路62に出力する。
The subtraction circuit 61 comprises, for example, a subtractor 61a. The subtractor 61a receives the correlation value C from the absolute value conversion circuit 60. Further, a control signal indicating a subtraction value for subtracting a predetermined value from the correlation value C input from the control unit 10 is input to the subtractor 61a. And this subtractor 6
1a subtracts the subtraction value from the correlation value C according to the control signal. As described above, the subtractor 61a performs the subtraction process to subtract the output of the correlation value C as shown by the solid line in FIG. 19A, as indicated by the dotted line in FIG. 19A. Then, the subtraction circuit 61 outputs the subtracted correlation value C to the limit circuit 62.

【0095】リミット回路62は、例えばインバータ6
2aとANDゲート62bとからなる。このリミット回
路62は、減算回路61で減算されて図19(b)に示
すように出力が負の値となった相関値Cを0となるよう
に処理を施す。そして、このリミット回路62は、この
ような処理を施した相関値Cをオフセット回路18に出
力する。
The limit circuit 62 includes, for example, the inverter 6
2a and an AND gate 62b. The limit circuit 62 performs a process so that the correlation value C whose output has become a negative value after being subtracted by the subtraction circuit 61 becomes 0 as shown in FIG. 19B. Then, the limit circuit 62 outputs the correlation value C subjected to such processing to the offset circuit 18.

【0096】このようなノイズ除去部17は、入力した
相関値Cから減算処理を行うことにより、微小な相関値
Cを除去するので、微小な値におけるノイズを除去する
ことができる。したがって、このノイズ除去部17によ
れば、例えばBPFを通過させて相関値Cを算出するた
めに、CCD3自体のノイズ等に対して算出された相関
値Cを除去することができる。また、このノイズ除去部
17によれば、CCD3で生成する画素データにノイズ
成分が含まれている場合、当該ノイズに対しても相関値
Cを算出しても、微小な相関値を減算処理する。したが
って、ノイズ除去部17によれば、ノイズの少ない相関
値Cを用いて補間画素データに重み付けを行わせること
ができ、出力される画像に偽色信号が発生してしまい、
画像が劣化することがない。
The noise removing unit 17 removes the minute correlation value C by performing a subtraction process from the input correlation value C, and thus can remove noise in the minute value. Therefore, the noise removing unit 17 can remove the correlation value C calculated for the noise of the CCD 3 itself or the like in order to calculate the correlation value C by passing through the BPF, for example. Further, according to the noise removing unit 17, when the pixel data generated by the CCD 3 includes a noise component, even if the correlation value C is calculated for the noise, a minute correlation value is subtracted. . Therefore, according to the noise removing unit 17, the interpolation pixel data can be weighted using the correlation value C with little noise, and a false color signal is generated in the output image,
The image does not deteriorate.

【0097】オフセット回路18は、図2に示すよう
に、ノイズ除去回路17aから水平相関値Ch が入力さ
れるオフセット回路18aと、ノイズ除去回路17bか
ら垂直相関値Cv が入力されるオフセット回路18bと
からなる。これらオフセット回路18aとオフセット回
路18bとは、図20に示すような同様の構成を有して
いる。
As shown in FIG. 2, the offset circuit 18 includes an offset circuit 18a to which the horizontal correlation value Ch is input from the noise removal circuit 17a and an offset circuit to which the vertical correlation value Cv is input from the noise removal circuit 17b. 18b. These offset circuits 18a and 18b have a similar configuration as shown in FIG.

【0098】オフセット回路18a,18bは、図20
に示すように、例えば加算器65からなる。この加算器
65は、上述のノイズ除去回路17a,17bから相関
値Cが入力される。また、この加算器65は、制御部1
0から所定の値のオフセット値を示す制御信号が入力さ
れる。
The offset circuits 18a and 18b correspond to those shown in FIG.
As shown in FIG. The adder 65 receives the correlation value C from the above-described noise removal circuits 17a and 17b. The adder 65 is connected to the control unit 1
A control signal indicating an offset value from 0 to a predetermined value is input.

【0099】そして、この加算器65は、ノイズ除去部
17a,17bから相関値Cが入力されると、制御信号
が示すオフセット値を加算する。そして、この加算器6
5は、入力した相関値Cとオフセット値とを加算処理し
て正規化回路19に出力する。すなわち、このオフセッ
ト回路18a,18bは、例えばノイズ除去部17a,
17bから図21中の点線で示すような相関値Cにオフ
セット値を加算することで図21中の実線で示すような
相関値Cとする。
When the correlation value C is input from the noise removing units 17a and 17b, the adder 65 adds the offset value indicated by the control signal. And this adder 6
5 adds the input correlation value C and offset value and outputs the result to the normalization circuit 19. In other words, the offset circuits 18a and 18b include, for example, the noise removing units 17a and 17a.
By adding the offset value to the correlation value C as shown by the dotted line in FIG. 21 from 17b, the correlation value C as shown by the solid line in FIG. 21 is obtained.

【0100】このようにオフセット回路18a,18b
では、オフセット値を相関値Cに加算処理することによ
り、入力した相関値Cの振幅が0程度であっても、値の
大きな相関値Cを持たせることができる。このようなオ
フセット回路18a,18bは、例えば図22に示すよ
うに、上述した相関値検出部16では相関値Cが得られ
ない、例えば1画素毎に色が変化する画像データを構成
する画素データである場合、高域の信号や、垂直相関値
v 及び水平相関値Ch の振幅が微小な場合も、水平相
関値Chと垂直相関値Cvとが急激に切り替わることを防
止することができる。すなわち、このようなオフセット
回路18a,18bによれば、オフセット値を相関値C
に加算処理することで、相関値Cで重み付けられる補間
画素データを相加平均で補間する方向に近づけることが
できる。したがって、このオフセット回路18a,18
bによれば、入力された相関値Cの振幅が微小でである
場合や隣接する画素で水平相関値Ch が1,垂直相関値
v が0である場合でも、垂直相関値Cv が0,水平相
関値Ch が1と切り替わるようなことがない。
As described above, the offset circuits 18a and 18b
By adding the offset value to the correlation value C, a large correlation value C can be provided even if the amplitude of the input correlation value C is about 0. For example, as shown in FIG. 22, the offset circuits 18a and 18b are not capable of obtaining the correlation value C by the above-described correlation value detection unit 16, for example, the pixel data constituting the image data whose color changes for each pixel. If it is, the signal and the high band, even if the amplitude of the vertical correlation value C v and a horizontal correlation value C h is very small, that the horizontal correlation value C h a vertical correlation value C v to prevent switching to rapidly Can be. That is, according to such offset circuits 18a and 18b, the offset value is set to the correlation value C
, The interpolation pixel data weighted by the correlation value C can be made closer to the direction in which interpolation is performed by arithmetic mean. Therefore, the offset circuits 18a, 18
According to b, even when the amplitude of the input correlation value C is very small, or when the horizontal correlation value Ch is 1 and the vertical correlation value Cv is 0 at adjacent pixels, the vertical correlation value Cv is 0, a horizontal correlation value C h is not such switching is 1.

【0101】正規化回路19は、図2に示すように、オ
フセット回路18a及びオフセット回路18bから水平
相関値Ch 及び垂直相関値Cv が入力される加算器19
aと、垂直相関値Cv 及び加算器19aからの出力が入
力される除算器19bとからなる。
[0102] Normalization circuit 19, as shown in FIG. 2, the adder 19 to the offset circuit 18a and a horizontal correlation value from the offset circuit 18b C h and vertical correlation value C v is inputted
consists of a, a divider 19b to output from the vertical correlation value C v and the adder 19a is input.

【0102】このような正規化回路19は、加算器19
aで垂直相関値Cv と水平相関値Ch とを加算処理して
加算結果を除算器19bに出力し、除算器19bで垂直
相関値Cv を加算結果で除算処理する。そして、この正
規化回路19は、下記式7に示す垂直相関値Cv を算出
する。ここで、水平相関値Ch は、垂直相関値Cv の相
対値として下記式8に示すように表せる。
The normalizing circuit 19 includes an adder 19
In a, the vertical correlation value Cv and the horizontal correlation value Ch are added, and the addition result is output to the divider 19b. The divider 19b divides the vertical correlation value Cv by the addition result. Then, the normalization circuit 19 calculates a vertical correlation value C v of the following formula 7. Here, a horizontal correlation value C h can be expressed as shown in the following formula 8 as a relative value of the vertical correlation value C v.

【0103】[0103]

【数3】 (Equation 3)

【0104】偏り補正回路20は、図23に示すよう
に、加算器20aからなる。この偏り補正回路20は、
正規化回路19から上記式7で示す垂直相関値CV が入
力される。加算器20aは、制御部10から補正値αが
入力される。この補正値αは、制御部10により生成さ
れ、例えばCCD3等の設定に応じて−1〜1までの範
囲内で調整される。
The bias correction circuit 20 comprises an adder 20a, as shown in FIG. This bias correction circuit 20
The vertical correlation value C V represented by the above equation 7 is input from the normalization circuit 19. The adder 20a receives the correction value α from the control unit 10. The correction value α is generated by the control unit 10 and is adjusted within a range of −1 to 1 according to the setting of the CCD 3 and the like, for example.

【0105】そして、この偏り補正回路20は、垂直相
関値CV が入力されるとともに、制御部10から入力し
た補正値αを入力し、垂直相関値CV と補正値αとを加
算処理する。このように偏り補正回路20は、加算処理
を行うことで垂直相関値CVを下記式9に示すような値
とする。
The bias correction circuit 20 receives the vertical correlation value C V , the correction value α input from the control unit 10, and adds the vertical correlation value C V to the correction value α. . As described above, the bias correction circuit 20 performs the addition processing to set the vertical correlation value C V to a value as shown in Expression 9 below.

【0106】[0106]

【数4】 (Equation 4)

【0107】したがって、この偏り補正回路20は、例
えば図24で示すように、図24中の点線で示す垂直相
関値Cv を入力したとき、補正値αを加算処理すること
で図24中の実線で示すように変化させることができ
る。すなわち、この偏り補正回路20によれば、垂直相
関値Cv に補正値αを加算処理することで、垂直相関値
v と水平相関値Ch とがCCD3からの信号の歪等に
よって同じレベルとはならない場合でも、制御部10か
ら入力する補正値αを制御することで垂直相関値Cv
値を制御して補正することができる。また、この偏り補
正回路20は、例えばCCDの縦横比や、CCDから出
力されるアナログ信号を検波するときに生ずる歪等によ
り、垂直方向における相関と水平方向における相関との
関係が等しく算出できなくても、制御部10からの補正
値αを制御することで水平相関値Ch と垂直相関値Cv
とのバランスを制御することができる。
Therefore, as shown in FIG. 24, for example, as shown in FIG. 24, when the vertical correlation value C v indicated by the dotted line in FIG. It can be changed as shown by the solid line. That is, according to the bias correction circuit 20, by adding processing the correction value α to the vertical correlation value C v, the same level by the distortion or the like of the vertical correlation value C v and a horizontal correlation value C h a signal from CCD3 However, by controlling the correction value α input from the control unit 10, the value of the vertical correlation value Cv can be controlled and corrected. In addition, the bias correction circuit 20 cannot calculate the relationship between the correlation in the vertical direction and the correlation in the horizontal direction equally due to, for example, the aspect ratio of the CCD or distortion generated when detecting an analog signal output from the CCD. However, by controlling the correction value α from the control unit 10, the horizontal correlation value Ch and the vertical correlation value C v
And balance can be controlled.

【0108】強調・低減回路21は、図25に示すよう
に、偏り補正回路20から垂直相関値Cv が入力される
減算器21aと、減算処理を施した垂直相関値Cv が入
力される乗算器21bと、乗算処理を施した垂直相関値
v が入力される加算器21cと、加算処理を施した垂
直相関値Cv が入力される制限器21dとからなる。
[0108] enhancement and reduction circuit 21, as shown in FIG. 25, a subtractor 21a which vertical correlation value C v is inputted from the bias correction circuit 20, subjected to subtraction processing vertical correlation value C v is inputted It comprises a multiplier 21b, an adder 21c to which the vertical correlation value C v subjected to the multiplication processing is inputted, and a limiter 21d to which the vertical correlation value C v subjected to the addition processing is inputted.

【0109】減算器21aは、偏り補正回路20から0
〜1までの値を有する垂直相関値Cv を入力し、当該垂
直相関値Cvに減算処理を行う。この減算器21aは、
垂直相関値Cv から0.5だけ減算処理を行う。乗算器
21bは、制御部10から入力する乗算値を示す制御信
号に基づいて垂直相関値Cv に乗算処理する。加算器2
1cは、垂直相関値Cv に0.5だけ加算処理を行う。
制限器21dは、入力した垂直相関値Cv を一定の範囲
内で制限する。
The subtractor 21a outputs 0 from the bias correction circuit 20.
Enter the vertical correlation value C v has a value of up to 1, the subtraction processing is performed on the vertical correlation value C v. This subtracter 21a
Performs only subtraction 0.5 from the vertical correlation value C v. The multiplier 21b multiplies the processing in the vertical correlation value C v based on the control signal indicating the multiplication value to be input from the control unit 10. Adder 2
1c performs 0.5 only addition processing in the vertical correlation value C v.
Limiter 21d limits the vertical correlation value C v inputted within a certain range.

【0110】このような強調・低減回路21は、偏り補
正回路20から垂直相関値Cv が入力されると、先ず、
減算器21aで垂直相関値Cv から0.5だけ減算処理
を行い、次に、減算処理を施した垂直相関値Cv に乗算
処理を行う。このとき、制御部10から入力する乗算値
に応じて図26中の実線で示すような特性の垂直相関値
v の傾きを図26中の点線又は一点鎖線で示すように
変化させる。次に、乗算処理を施した垂直相関値C
v に、上述の減算器21aで減算した0.5を加算器2
1cで加算する。次に、加算処理を施した垂直相関値C
v が0〜1までの範囲内の値を取るように、制限器21
dで規制する。
When the vertical correlation value C v is input from the bias correction circuit 20, the emphasis / reduction circuit 21 first
Subtractor 21a performs 0.5 only subtracted from the vertical correlation value C v in, then, the multiplication process is performed in a vertical correlation value C v subjected to subtraction processing. In this case, changing to indicate the inclination of the vertical correlation value C v of characteristics shown by the solid line in FIG. 26 in accordance with the multiplication value to be input from the control unit 10 by a dotted line or dashed line in FIG. 26. Next, the multiplied vertical correlation value C
The value obtained by subtracting 0.5 from the above-described subtractor 21a into v is added to v.
Add by 1c. Next, the added vertical correlation value C
Limiter 21 so that v takes a value in the range of 0 to 1.
Regulate with d.

【0111】このように強調・低減回路21は、制御部
10からの乗算値を垂直相関値Cvに乗算処理を施すこ
とにより、図26に示すように垂直相関値Cv の入出力
特性の傾きを変化させる。したがって、この強調・低減
回路21によれば、制御部10からの乗算値を変化させ
ることにより、垂直相関値Cv を変化させることができ
る。したがって、この強調・低減回路21によれば、後
述する補間画素データに重み付けを行うときに、補間画
素データに重み付けを行う相関値の値を変化させて、補
間画素データが相関を重視するか、補間画素データが相
加平均に近づくように補間するかを制御することができ
る。また、この強調・低減回路21によれば、例えばC
CD3に入力される光量が小さいために、CCD3から
の出力にノイズが多くなり、相関値が正確に算出できな
くても、乗算値を変化させることにより相関値を制御す
ることができる。
[0111] emphasis-reduction circuit 21 in this way, due to the multiplication process is subjected to a vertical correlation value C v multiplication values from the control unit 10, the input-output characteristic of the vertical correlation value C v as shown in FIG. 26 Change the slope. Therefore, according to the highlight-reducing circuit 21, by changing the multiplication value from the control unit 10, it is possible to change the vertical correlation value C v. Therefore, according to the emphasizing / reducing circuit 21, when weighting the interpolation pixel data described later, the value of the correlation value for weighting the interpolation pixel data is changed to determine whether the interpolation pixel data emphasizes the correlation. It is possible to control whether interpolation is performed so that the interpolated pixel data approaches the arithmetic mean. According to the emphasis / reduction circuit 21, for example, C
Since the amount of light input to the CD 3 is small, the output from the CCD 3 has a large amount of noise. Even if the correlation value cannot be calculated accurately, the correlation value can be controlled by changing the multiplication value.

【0112】加重加算回路22は、図2に示すように、
垂直相関値Cv を入力して正規化した水平相関値Ch
生成する減算器22aと、正規化した水平相関値Ch
入力される乗算器22bと、垂直相関値Cv が入力され
る乗算器22cと、垂直方向及び水平方向の補間画素デ
ータが入力される加算器22dとからなる。
The weighted addition circuit 22, as shown in FIG.
A subtractor 22a to produce a normalized horizontal correlation values C h enter the vertical correlation value C v, a multiplier 22b for normalized horizontal correlation values C h is input, the vertical correlation value C v is input And an adder 22d to which interpolation pixel data in the vertical and horizontal directions is input.

【0113】このような加重加算回路22は、強調・低
減回路21から垂直相関値Cv を減算器22a及び乗算
器22cに入力する。減算器22aでは、垂直相関値C
v を1から減算処理することで水平相関値Ch を生成す
る。そして、この減算器22aでは、水平相関値Ch
乗算器22bに出力する。
The weighted addition circuit 22 inputs the vertical correlation value Cv from the enhancement / reduction circuit 21 to the subtractor 22a and the multiplier 22c. In the subtractor 22a, the vertical correlation value C
The horizontal correlation value Ch is generated by subtracting v from 1. Then, the subtractor 22a outputs the horizontal correlation value Ch to the multiplier 22b.

【0114】乗算器22bは、垂直方向補間回路15b
から垂直方向における補間画素データと、減算器22a
から水平相関値Ch とが入力される。乗算器22bは、
入力した垂直方向における補間画素データと水平相関値
h とを乗算処理する。このように乗算器22bは、垂
直方向における補間画素データに水平相関値Ch を乗算
することで重み付けを行う。
The multiplier 22b includes a vertical interpolation circuit 15b
From the pixel data in the vertical direction and the subtractor 22a
, The horizontal correlation value Ch is input. The multiplier 22b
Multiplying process and an interpolation pixel data in the inputted vertical and horizontal correlation values C h. Thus multiplier 22b performs weighting by multiplying a horizontal correlation value C h to the interpolated pixel data in the vertical direction.

【0115】乗算器22cは、水平方向補間回路15a
から水平方向における補間画素データが入力されるとと
もに垂直相関値Cv が入力される。乗算器22cは、入
力した水平方向における補間画素データと垂直相関値C
vとを乗算処理する。このように乗算器22cは、水平
方向における補間画素データに垂直相関値Cv を乗算す
ることで重み付けを行う。
The multiplier 22c is provided with a horizontal interpolation circuit 15a.
, Horizontal pixel interpolation pixel data and a vertical correlation value C v are input. The multiplier 22c calculates the input horizontal interpolation pixel data and the vertical correlation value C
Multiplies with v . Thus multiplier 22c performs weighting by multiplying a vertical correlation value C v to the interpolated pixel data in the horizontal direction.

【0116】加算器22dでは、乗算器22cで重み付
けられた水平方向における補間画素データ及び乗算器2
2bで重み付けられた垂直方向における補間画素データ
が入力される。加算器22dは、入力した水平方向にお
ける補間画素データと垂直方向における補間画素データ
とを加算処理する。このように加算器22dは、加算処
理を行うことにより、垂直方向及び水平方向の相関値に
より重み付けられた補間画素データを得る。そして、加
算器22dは、当該補間画素データを輪郭補正回路23
に出力する。
In the adder 22d, the interpolation pixel data in the horizontal direction weighted by the multiplier 22c and the
The interpolation pixel data in the vertical direction weighted by 2b is input. The adder 22d performs an addition process on the input interpolation pixel data in the horizontal direction and the input interpolation pixel data in the vertical direction. As described above, the adder 22d performs the addition processing to obtain the interpolation pixel data weighted by the correlation values in the vertical and horizontal directions. Then, the adder 22d outputs the interpolated pixel data to the contour correction circuit 23.
Output to

【0117】輪郭補正回路23は、加重加算回路22の
加算器22dと接続している。この輪郭補正回路23
は、加算器22dから補間画素データが入力されるとと
もに制御部10から輪郭強調信号が入力される。この輪
郭強調信号は、CCD3のレスポンス劣化の補償や、鮮
明度を強調する信号である。そして、輪郭補正回路23
では、入力した輪郭強調信号と補間画素データとを加算
処理して、Y/C変換部24に出力する。
The contour correction circuit 23 is connected to the adder 22d of the weighted addition circuit 22. This contour correction circuit 23
Is supplied with the interpolation pixel data from the adder 22d and the contour emphasis signal from the control unit 10. This contour emphasis signal is a signal for compensating the response deterioration of the CCD 3 and emphasizing the sharpness. Then, the contour correction circuit 23
Then, the input edge enhancement signal and the interpolated pixel data are added and output to the Y / C conversion unit 24.

【0118】Y/C変換部24は、輪郭補正回路23と
接続しており、当該輪郭補正回路23から補間画素デー
タが入力される。このY/C変換部24は、入力した
R,G,Bからなる補間画素データを輝度信号(Y)と
色差信号(C)とからなるY/C信号に変換する。そし
て、このY/C変換部24は、補間画素データを変換し
て得たY/C信号を色差信号抑制部25に出力する。
The Y / C conversion section 24 is connected to the contour correction circuit 23, and receives interpolation pixel data from the contour correction circuit 23. The Y / C converter 24 converts the input interpolated pixel data composed of R, G, and B into a Y / C signal composed of a luminance signal (Y) and a color difference signal (C). Then, the Y / C converter 24 outputs the Y / C signal obtained by converting the interpolated pixel data to the color difference signal suppressor 25.

【0119】色差信号抑制部25は、Y/C変換部24
と接続しており、当該Y/C変換部24からY/C信号
が入力される。この色差信号抑制部25は、図27に示
すように、1ラインが画素データG,Bからなる画素デ
ータの色差B−Gが入力されるBGデータ抑制回路25
aと、1ラインが画素データG,Rからなる画素データ
の色差R−Gが入力されるRGデータ抑制回路25bと
からなる。
The color difference signal suppressing section 25 includes a Y / C converting section 24.
, And a Y / C signal is input from the Y / C converter 24. As shown in FIG. 27, the chrominance signal suppression unit 25 includes a BG data suppression circuit 25 to which a chrominance BG of pixel data in which one line includes pixel data G and B is input.
a, and an RG data suppression circuit 25b to which a color difference RG of pixel data in which one line is composed of pixel data G and R is input.

【0120】BGデータ抑制回路25aは、補間画素デ
ータG’,B’の色差B’−G’が入力される入力部7
0a〜70cと、入力部70a〜70cから色差B’−
G’が入力される絶対値化器71a〜71cと、絶対値
化器71a〜71cから絶対値化された色差B’−G’
が入力されるコンパレータ72a〜72cと、コンパレ
ータ72a〜72cからの比較結果が入力される演算器
73と、演算器73からの演算結果が入力されるセレク
タ74と、セレクタ74からの画素データが入力される
出力部75とからなる。
The BG data suppression circuit 25a is connected to the input section 7 to which the color difference B'-G 'of the interpolation pixel data G', B 'is input.
0a to 70c and the color difference B′− from the input units 70a to 70c.
G ′ is input to the absolute value converters 71a to 71c, and the color difference B′−G ′ that has been converted to the absolute value from the absolute value converters 71a to 71c.
, An arithmetic unit 73 to which the comparison results from the comparators 72a to 72c are input, a selector 74 to which the operation results from the arithmetic unit 73 are input, and pixel data to be input from the selector 74. And an output unit 75.

【0121】入力部70aは垂直方向にける色差B’−
G’を入力し、入力部70bは水平方向における色差
B’−G’を入力し、入力部70cは相関値で重み付け
がなされた色差B’−G’が入力される。入力部70a
は入力した色差B’−G’を絶対値化器71aに出力
し、入力部70bは入力した色差B’−G’を絶対値化
器71bに出力し、入力部70cは入力した色差B’−
G’を絶対値化器71cに出力する。
The input unit 70a receives the color difference B'-
G ′ is input, the input unit 70b receives the color difference B′−G ′ in the horizontal direction, and the input unit 70c receives the color difference B′−G ′ weighted by the correlation value. Input unit 70a
Outputs the input color difference B'-G 'to the absolute value converter 71a, the input unit 70b outputs the input color difference B'-G' to the absolute value converter 71b, and the input unit 70c outputs the input color difference B ' −
G ′ is output to the absolute value converter 71c.

【0122】絶対値化器71a〜71cは、例えばE
x.ORゲート76と加算器77とからなる。この絶対
値化器71a〜71cは、入力した色差B’−G’に対
して絶対値化を施し、正の値とする。絶対値化器71a
〜71cは、絶対値化を施した色差B’−G’をコンパ
レータ72a〜72cに出力する。
The absolute value converters 71a to 71c are, for example, E
x. It comprises an OR gate 76 and an adder 77. The absolute value converters 71a to 71c perform absolute value conversion on the input color difference B'-G 'to obtain positive values. Absolute value converter 71a
To 71c output the color difference B′-G ′ subjected to the absolute value conversion to the comparators 72a to 72c.

【0123】コンパレータ72aは、絶対値化器71a
を通過した色差B’−G’を端子Bで入力するととも
に、絶対値化器71cを通過した色差B’−G’を端子
Aで入力する。コンパレータ72bは、絶対値化器71
aを通過した色差B’−G’を端子Aで入力するととも
に、絶対値化器71bを通過した色差B’−G’を端子
Bで入力する。コンパレータ72cは、絶対値化器71
bを通過した色差B’−G’を端子Aで入力するととも
に、絶対値化器71cを通過した色差B’−G’を端子
Bで入力する。これらコンパレータ72a〜72cは、
端子A及び端子Bで入力した色差B’−G’の大きさを
比較して端子Aで入力した色差B’−G’が大きいと判
断した場合には比較結果Hを演算器73に出力し、端子
Aで入力した色差B’−G’が小さいと判断した場合に
は比較結果Lを演算器73に出力する。
The comparator 72a includes an absolute value converter 71a
Is input at a terminal B, and the color difference B'-G 'that has passed through an absolute value converter 71c is input at a terminal A. The comparator 72b includes an absolute value converter 71
The color difference B′-G ′ that has passed through a is input at the terminal A, and the color difference B′-G ′ that has passed through the absolute value converter 71b is input at the terminal B. The comparator 72c includes an absolute value converter 71
The color difference B′-G ′ that has passed through b is input at a terminal A, and the color difference B′-G ′ that has passed through the absolute value converter 71c is input at a terminal B. These comparators 72a to 72c
By comparing the magnitudes of the color differences B'-G 'inputted at the terminals A and B, and judging that the color difference B'-G' inputted at the terminal A is large, the comparison result H is outputted to the arithmetic unit 73. When the color difference B′-G ′ input at the terminal A is determined to be small, the comparison result L is output to the arithmetic unit 73.

【0124】演算器73は、コンパレータ72a〜72
cから比較結果が入力されるとともに、制御部10から
制御信号が入力される。この演算器73は、比較結果及
び制御信号に基づいて演算結果を生成してセレクタ74
に出力する。
The operation unit 73 includes comparators 72a to 72
The comparison result is input from c and a control signal is input from the control unit 10. The calculator 73 generates a calculation result based on the comparison result and the control signal, and
Output to

【0125】この演算器73は、制御信号Hを入力した
ときには演算結果11を出力し、制御信号Lを入力した
ときには各コンパレータ72a〜72cからの比較結果
に基づいて演算結果を生成する。この演算器73は、各
コンパレータ72a,72b,72cの比較結果が
(H,L,X)のときには演算結果00を出力し、各コ
ンパレータ72a,72b,72cの比較結果が(X,
H,L)のときには演算結果01を出力し、各コンパレ
ータ72a,72b,72cの比較結果が(L,X,
H)のときには演算結果10を生成してセレクタ74に
出力する。
The arithmetic unit 73 outputs the operation result 11 when the control signal H is input, and generates the operation result based on the comparison results from the comparators 72a to 72c when the control signal L is input. When the comparison result of each of the comparators 72a, 72b, and 72c is (H, L, X), the arithmetic unit 73 outputs the calculation result 00, and the comparison result of each of the comparators 72a, 72b, and 72c is (X,
In the case of (H, L), the operation result 01 is output, and the comparison results of the comparators 72a, 72b, 72c are (L, X,
In the case of H), the calculation result 10 is generated and output to the selector 74.

【0126】セレクタ74は、演算器73から演算結果
が入力されるとともに、入力部70a〜70cから色差
B’−G’が入力される。このセレクタ74は、11端
子及び10端子で入力部70cで入力した色差B’−
G’を入力し、01端子で入力部70bで入力した色差
B’−G’を入力し、00端子で入力部70aで入力し
た色差B’−G’が入力される。また、このセレクタ7
4は、演算結果11が入力されると11端子で入力した
色差B’−G’を出力し、演算結果10が入力されると
10端子で入力した色差B’−G’を出力し、演算結果
01が入力されると01端子で入力した色差B’−G’
を出力し、演算結果00が入力されると00端子で入力
した色差B’−G’を出力する。
The selector 74 receives the calculation result from the calculator 73 and also receives the color difference B'-G 'from the input units 70a-70c. This selector 74 has 11 terminals and 10 terminals, and the color difference B′− input by the input unit 70c.
G 'is input, the color difference B'-G' input at the input unit 70b is input at the 01 terminal, and the color difference B'-G 'input at the input unit 70a is input at the 00 terminal. Also, this selector 7
4 outputs the color difference B'-G 'input at terminal 11 when the operation result 11 is input, and outputs the color difference B'-G' input at terminal 10 when the operation result 10 is input. When the result 01 is input, the color difference B'-G 'input at the terminal 01 is input.
Is output, and when the calculation result 00 is input, the color difference B′-G ′ input at the 00 terminal is output.

【0127】RGデータ抑制回路25bは、入力部70
a〜70cにおいて色差R’−G’を入力し、この色差
R’−G’を絶対値化器71、コンパレータ72、演算
器73、セレクタ74を経ることで最小の色差R’−
G’を選択して出力部75で出力する。
The RG data suppression circuit 25b is connected to the input unit 70
The color difference R'-G 'is input to a to 70c, and the color difference R'-G' is passed through the absolute value generator 71, the comparator 72, the arithmetic unit 73, and the selector 74 to obtain the minimum color difference R'-G '.
G ′ is selected and output by the output unit 75.

【0128】したがって、このような色差信号抑制部2
5によれば、図28(a)に示すように、例えば、垂直
方向に配置した画素データR,Gについての補間画素デ
ータRv,Gv、水平方向に配置した画素データR,Gに
ついての補間画素データRh,Gh、重み付けされた補間画
素データRc,Gc の色差のうち最小の補間画素データ
h,Ghを選択する。また、この色差信号抑制部25
は、図28(b)に示すように、比較した補間画素デー
タのうち、最も0に近い補間画素データR’−G’を選
択する。
Therefore, such a color difference signal suppressing section 2
According to FIG. 5, for example, as shown in FIG. 28A, for example, interpolation pixel data R v , G v for pixel data R, G arranged in the vertical direction and pixel data R, G for pixel data R, G arranged in the horizontal direction are used. The smallest interpolation pixel data R h , G h among the color differences between the interpolation pixel data R h , G h and the weighted interpolation pixel data R c , G c are selected. Further, the color difference signal suppressing unit 25
Selects the interpolated pixel data R'-G 'which is closest to 0 among the interpolated pixel data as shown in FIG. 28 (b).

【0129】このような色差信号抑制部25は、入力部
70a〜70cで入力した補間画素データのうち、色差
信号の絶対値が最小のものを選択して出力する。したが
って、このような色差信号抑制部25は、相関を求める
ことができない帯域で相関値で重み付けした補間画素デ
ータで画像データを生成したとき、色のエッジ等に偽色
がつくことを防止することができる。したがって、この
色差信号抑制部25によれば、相関が見られない周波数
帯域であっても、色の折り返し歪を防止することができ
る。
The color difference signal suppressing unit 25 selects and outputs the interpolated pixel data having the smallest absolute value of the color difference signal from the interpolated pixel data input from the input units 70a to 70c. Therefore, such a color difference signal suppressing unit 25 prevents a false color from being added to a color edge or the like when image data is generated with interpolation pixel data weighted by a correlation value in a band where a correlation cannot be obtained. Can be. Therefore, according to the color difference signal suppressing section 25, it is possible to prevent the aliasing distortion of the color even in the frequency band where no correlation is observed.

【0130】出力部75は、セレクタ74で出力された
補間画素データを出力部26に出力する。出力部26
は、例えば画素データを記録する記録媒体や、表示装
置、外部へ出力する端子等である。
The output unit 75 outputs the interpolated pixel data output from the selector 74 to the output unit 26. Output unit 26
Are a recording medium for recording pixel data, a display device, a terminal for outputting to the outside, and the like.

【0131】なお、以上の説明においては、原色コーデ
ィングのCCD3を用いたカメラ装置1で生成するカメ
ラ信号を処理する一例について説明したが、本発明は、
図29(a)又は図29(b)に示すように、画像デー
タに含まれている画素データが示す色のうち、最も多い
色が市松状に配置されているコーディングの固体撮像素
子であれば、補色のCCDにも適用することができる。
In the above description, an example of processing a camera signal generated by the camera device 1 using the CCD 3 of primary color coding has been described.
As shown in FIG. 29 (a) or FIG. 29 (b), if the solid-state imaging device is a coding solid-state imaging device in which the most colors among the colors indicated by the pixel data included in the image data are arranged in a checkered pattern. And complementary color CCDs.

【0132】[0132]

【発明の効果】以上詳細に説明したように、本発明に係
るカメラ信号処理装置及びカメラ信号処理方法は、画素
データを当該位置及び周囲の画素データに基づいて補間
画素データを生成し、画素データのうち所定の色を示す
画素データのみを用いて上記所定の色を示す補間画素デ
ータについての相関値を検出するとともに、上記所定の
色以外の色を示す補間画素データについて上記所定の色
を示す画素データを用いて相関値を検出するので、上記
所定の色を示す補間画素データのみを用いて相関値を検
出することができる。したがって、本発明によれば、例
えば固体撮像素子で生成した画像データが示す被写体の
色の影響が少ない、鮮明度が高い画像を生成することが
できる。
As described in detail above, the camera signal processing device and the camera signal processing method according to the present invention generate interpolated pixel data based on the pixel data of the position and the surroundings, and generate the pixel data. And detecting the correlation value for the interpolated pixel data indicating the predetermined color using only the pixel data indicating the predetermined color, and indicating the predetermined color for the interpolated pixel data indicating a color other than the predetermined color. Since the correlation value is detected using the pixel data, the correlation value can be detected using only the interpolation pixel data indicating the predetermined color. Therefore, according to the present invention, for example, it is possible to generate an image with high clarity and little influence of the color of the subject indicated by the image data generated by the solid-state imaging device.

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

【図1】カメラ装置の構成の一例を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating an example of a configuration of a camera device.

【図2】信号処理回路の構成の一例を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating an example of a configuration of a signal processing circuit.

【図3】各画素に対応した画素データR,G,Bの配置
の一例を示す図である。
FIG. 3 is a diagram showing an example of an arrangement of pixel data R, G, and B corresponding to each pixel.

【図4】垂直方向補間回路の構成の一例を示す図であ
る。
FIG. 4 is a diagram illustrating an example of a configuration of a vertical direction interpolation circuit.

【図5】各画素に対応した画素データGの配置の一例を
示す図である。
FIG. 5 is a diagram showing an example of an arrangement of pixel data G corresponding to each pixel.

【図6】[1,0,6,0,1]のLPFの周波数特性
を示す図である。
FIG. 6 is a diagram illustrating a frequency characteristic of an LPF of [1, 0, 6, 0, 1].

【図7】[1,0,1]のLPFの周波数特性を示す図
である。
FIG. 7 is a diagram illustrating frequency characteristics of an LPF of [1, 0, 1].

【図8】補間処理を行った後に生成される補間画素デー
タG’の一例を示す図である。
FIG. 8 is a diagram illustrating an example of interpolated pixel data G ′ generated after performing an interpolation process.

【図9】水平方向補間回路の構成の一例を示す図であ
る。
FIG. 9 is a diagram illustrating an example of a configuration of a horizontal interpolation circuit.

【図10】各画素に対応した画素データBの配置の一例
を示す図である。
FIG. 10 is a diagram showing an example of an arrangement of pixel data B corresponding to each pixel.

【図11】各画素に対応した画素データBについて水力
方向に相加平均を算出したときの補間画素データB’の
配置の一例を示す図である。
FIG. 11 is a diagram showing an example of the arrangement of interpolated pixel data B ′ when an arithmetic mean is calculated in the hydraulic direction for pixel data B corresponding to each pixel.

【図12】補間処理を行った後に生成される補間画素デ
ータB’の一例を示す図である。
FIG. 12 is a diagram illustrating an example of interpolated pixel data B ′ generated after performing an interpolation process.

【図13】垂直方向補間回路の構成の一例を示す図であ
る。
FIG. 13 is a diagram illustrating an example of a configuration of a vertical direction interpolation circuit.

【図14】エッジ処理回路の構成の一例を示す図であ
る。
FIG. 14 is a diagram illustrating an example of a configuration of an edge processing circuit.

【図15】エッジ処理回路でエッジ処理を施すときの一
例を説明するための図である。
FIG. 15 is a diagram for explaining an example when edge processing is performed by an edge processing circuit.

【図16】水平方向相関検出回路の構成の一例を示す図
である。
FIG. 16 is a diagram illustrating an example of a configuration of a horizontal correlation detection circuit.

【図17】垂直方向相関検出回路の構成の一例を示す図
である。
FIG. 17 is a diagram illustrating an example of a configuration of a vertical direction correlation detection circuit.

【図18】ノイズ除去回路の構成の一例を示す図であ
る。
FIG. 18 is a diagram illustrating an example of a configuration of a noise removal circuit.

【図19】ノイズ除去回路で入力した相関値に処理を施
すときの一例を示す図であり、(a)が相関値に減算処
理を施したときの一例を示し、(b)が相関値を負の値
でリミットしたときの一例を示す図である。
FIGS. 19A and 19B are diagrams illustrating an example when a process is performed on a correlation value input by a noise removal circuit, where FIG. 19A illustrates an example when a subtraction process is performed on the correlation value, and FIG. It is a figure showing an example at the time of limiting with a negative value.

【図20】オフセット回路の構成の一例を示す図であ
る。
FIG. 20 is a diagram illustrating an example of a configuration of an offset circuit.

【図21】オフセット回路で入力した相関値にオフセッ
ト値を加算処理したときの入出力特性の変化の一例を示
す図である。
FIG. 21 is a diagram illustrating an example of a change in input / output characteristics when an offset value is added to a correlation value input by an offset circuit.

【図22】隣接する画素データ毎に色が変化する画像デ
ータの一例を示す図である。
FIG. 22 is a diagram illustrating an example of image data in which a color changes for each adjacent pixel data.

【図23】偏り補正回路の構成の一例を示す図である。FIG. 23 is a diagram illustrating an example of a configuration of a bias correction circuit.

【図24】偏り補正回路で入力した相関値に補正値を加
算処理したときの入出力特性の変化の一例を示す図であ
る。
FIG. 24 is a diagram illustrating an example of a change in input / output characteristics when a correction value is added to a correlation value input by a bias correction circuit.

【図25】強調・低減回路の構成の一例を示す図であ
る。
FIG. 25 is a diagram illustrating an example of a configuration of an emphasis / reduction circuit.

【図26】強調・低減回路で入力した相関値に乗算処理
を施したときの入出力特性の変化を示す図である。
FIG. 26 is a diagram illustrating a change in input / output characteristics when a correlation value input by an emphasis / reduction circuit is multiplied.

【図27】色差信号抑制回路の構成の一例を示す図であ
る。
FIG. 27 is a diagram illustrating an example of a configuration of a color difference signal suppression circuit.

【図28】色差信号抑制部で垂直方向に配置した画素デ
ータR,Gについての補間画素データRv,Gv、水平方
向に配置した画素データR,Gについての補間画素デー
タRh,Gh、重み付けされた補間画素データRc,Gc
色差のうち絶対値最小の補間画素データRh,Ghを選択
する一例を示す図である。
FIG. 28 shows interpolated pixel data R v and G v for pixel data R and G arranged in the vertical direction and interpolated pixel data R h and G h for pixel data R and G arranged in the horizontal direction in the color difference signal suppression unit. FIG. 10 is a diagram showing an example of selecting interpolation pixel data R h and G h having the smallest absolute value among the color differences of weighted interpolation pixel data R c and G c .

【図29】画素データの配置の他の一例を示す図であ
る。
FIG. 29 is a diagram showing another example of the arrangement of pixel data.

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

1 カメラ装置、15 画像データ補間部、16 相関
値検出部
1 camera device, 15 image data interpolation unit, 16 correlation value detection unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 各画素に対応して分光特性が異なる色フ
ィルタを介して光が入射される固体撮像素子からの信号
に応じて生成される画素データを当該位置及び周囲の画
素データに基づいて補間画素データとする補間画素デー
タ生成手段と、 上記補間画素データ生成手段で生成された補間画素デー
タの水平方向及び垂直方向における相関の程度を示し当
該補間画素データに重み付けを行う相関値を検出する相
関検出手段と、 上記補間画素データで生成した補間画素データを上記相
関検出手段で検出した相関値で重み付けを行った補間画
素データに基づいて画像を生成する画像生成手段とを備
え、 上記相関検出手段は、上記固体撮像素子で検出する画素
データのうち所定の色を示す画素データのみを用いて上
記所定の色を示す補間画素データについての相関値及び
上記所定の色以外の色を示す補間画素データについての
相関値を検出することを特徴とするカメラ信号処理装
置。
1. Pixel data generated in response to a signal from a solid-state imaging device to which light is incident via a color filter having a different spectral characteristic corresponding to each pixel, based on the position and surrounding pixel data. Interpolated pixel data generating means as interpolated pixel data; and detecting a correlation value indicating the degree of correlation in the horizontal and vertical directions of the interpolated pixel data generated by the interpolated pixel data generating means and weighting the interpolated pixel data. Correlation detecting means, and image generating means for generating an image based on the interpolated pixel data obtained by weighting the interpolated pixel data generated by the interpolated pixel data with the correlation value detected by the correlation detecting means; The means uses only the pixel data indicating a predetermined color among the pixel data detected by the solid-state imaging device to determine the interpolation pixel data indicating the predetermined color. A camera signal processing device for detecting a correlation value of the interpolated pixel data indicating a color other than the predetermined color.
【請求項2】 上記相関検出手段は、上記所定の色を示
す補間画素データについての相関値を求めるとき、当該
補間画素データと同色の画素データのみを用いて[−
1,0,2,0,−1]のBPF、[1,0,6,0,
1]/8のLPFを用いて相関値を検出することを特徴
とする請求項1に記載のカメラ信号処理装置。
2. The method according to claim 1, wherein the correlation detection unit calculates a correlation value for the interpolated pixel data indicating the predetermined color by using only pixel data of the same color as the interpolated pixel data.
[1,0,2,0, -1] BPF, [1,0,6,0,
The camera signal processing apparatus according to claim 1, wherein the correlation value is detected using an LPF of [1] / 8.
【請求項3】 上記相関検出手段は、上記所定の色以外
の色を示す補間画素データについての相関値を求めると
き、当該所定の色の画素データのみを用いて[−1,
0,2,0,−1]のBPF、[1,0,1]/2のL
PFを用いて相関値を検出することを特徴とする請求項
1に記載のカメラ信号処理装置。
3. When calculating a correlation value for interpolated pixel data indicating a color other than the predetermined color, the correlation detection means uses only the pixel data of the predetermined color to determine [−1,
[0,2,0, -1] BPF, [1,0,1] / 2 L
2. The camera signal processing apparatus according to claim 1, wherein the correlation value is detected using a PF.
【請求項4】 上記相関検出手段を制御する制御手段を
備え、 上記相関検出手段は、上記制御手段からの制御信号に応
じて上記LPFを用いないで相関値を検出することを特
徴とする請求項2記載のカメラ信号処理装置。
4. The apparatus according to claim 1, further comprising control means for controlling said correlation detecting means, wherein said correlation detecting means detects a correlation value without using said LPF in accordance with a control signal from said control means. Item 3. The camera signal processing device according to Item 2.
【請求項5】 各画素毎に分光特性が異なる色フィルタ
を介して入射される光に基づいて固体撮像素子からの信
号に応じて生成された画素データを当該位置及び周囲の
画素データに基づいて補間画素データを生成し、 画素データのうち所定の色を示す画素データのみを用い
て上記所定の色を示す補間画素データについての相関値
及び上記所定の色以外の色を示す補間画素データについ
ての相関値を検出し、 上記相関値で上記補間画素データの重み付けを行い、 重み付けがなされた上記補間画素データに基づいて画像
を生成することを特徴とするカメラ信号処理方法。
5. A pixel data generated in response to a signal from a solid-state imaging device based on light incident through a color filter having a different spectral characteristic for each pixel, based on pixel data of the position and surrounding pixels. Interpolated pixel data is generated, and only correlation data for the interpolated pixel data indicating the predetermined color and interpolated pixel data indicating a color other than the predetermined color are calculated using only the pixel data indicating the predetermined color among the pixel data. A camera signal processing method comprising: detecting a correlation value; weighting the interpolation pixel data with the correlation value; and generating an image based on the weighted interpolation pixel data.
【請求項6】 上記所定の色を示す補間画素データにつ
いての相関値を求めるときには、当該補間画素データと
同色の画素データのみを用いて[−1,0,2,0,−
1]のBPF、[1,0,6,0,1]/8のLPFを
用いて相関値を検出することを特徴とする請求項5に記
載のカメラ信号処理方法。
6. When calculating a correlation value for interpolated pixel data indicating a predetermined color, only pixel data of the same color as the interpolated pixel data is used and [−1, 0, 2, 0, −
The camera signal processing method according to claim 5, wherein the correlation value is detected using a BPF of [1] and an LPF of [1,0,6,0,1] / 8.
【請求項7】 上記所定の色以外の色を示す補間画素デ
ータについての相関値を求めるとき、当該所定の色の画
素データのみを用いて[−1,0,2,0,−1]のB
PF、[1,0,1]/2のLPFを用いて相関値を検
出することを特徴とする請求項5に記載のカメラ信号処
理方法。
7. When calculating a correlation value for interpolated pixel data indicating a color other than the predetermined color, only the pixel data of the predetermined color is used to calculate [-1, 0, 2, 0, -1]. B
The camera signal processing method according to claim 5, wherein the correlation value is detected by using a PF and an LPF of [1, 0, 1] / 2.
【請求項8】 上記所定の色を示す画素データついての
相関値を検出するとき、上記LPFを用いないで相関値
を検出することを特徴とする請求項6記載のカメラ信号
処理方法。
8. The camera signal processing method according to claim 6, wherein when detecting a correlation value for the pixel data indicating the predetermined color, the correlation value is detected without using the LPF.
JP31516898A 1997-11-28 1998-11-05 Camera signal processing apparatus and camera signal processing method Expired - Fee Related JP4269369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31516898A JP4269369B2 (en) 1997-11-28 1998-11-05 Camera signal processing apparatus and camera signal processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP32932297 1997-11-28
JP9-329322 1997-11-28
JP31516898A JP4269369B2 (en) 1997-11-28 1998-11-05 Camera signal processing apparatus and camera signal processing method

Publications (2)

Publication Number Publication Date
JPH11220747A true JPH11220747A (en) 1999-08-10
JP4269369B2 JP4269369B2 (en) 2009-05-27

Family

ID=26568210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31516898A Expired - Fee Related JP4269369B2 (en) 1997-11-28 1998-11-05 Camera signal processing apparatus and camera signal processing method

Country Status (1)

Country Link
JP (1) JP4269369B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100421348B1 (en) * 1999-10-19 2004-03-06 마츠시타 덴끼 산교 가부시키가이샤 Color image pickup apparatus
JP2007037104A (en) * 2005-06-21 2007-02-08 Sony Corp Image processing device, image processing method, imaging device, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100421348B1 (en) * 1999-10-19 2004-03-06 마츠시타 덴끼 산교 가부시키가이샤 Color image pickup apparatus
JP2007037104A (en) * 2005-06-21 2007-02-08 Sony Corp Image processing device, image processing method, imaging device, and computer program

Also Published As

Publication number Publication date
JP4269369B2 (en) 2009-05-27

Similar Documents

Publication Publication Date Title
US7030913B2 (en) White balance control apparatus and method, and image pickup apparatus
US8508625B2 (en) Image processing apparatus
US6611287B1 (en) Camera signal processing apparatus and camera signal processing method
JP2009027619A (en) Video processing device and video processing program
JP2008263507A (en) Video processor and video processing program
JP4980132B2 (en) Image processing apparatus and image processing method
JP4040171B2 (en) Signal processing device
JPH11313336A (en) Signal processor and photographing signal processing method
JP4320807B2 (en) Camera signal processing apparatus and camera signal processing method
JP4666681B2 (en) Image processing apparatus and image processing method
EP1494485B1 (en) Video signal processing apparatus and video signal processing method
JP4269367B2 (en) Camera signal processing apparatus and camera signal processing method
JPH11220749A (en) Camera signal processor and camera signal processing method
JP4269366B2 (en) Camera signal processing apparatus and camera signal processing method
JP4269369B2 (en) Camera signal processing apparatus and camera signal processing method
JP4269368B2 (en) Camera signal processing apparatus and camera signal processing method
JP4273546B2 (en) Camera signal processing apparatus and camera signal processing method
JP4269370B2 (en) Camera signal processing apparatus and camera signal processing method
JP2009022044A (en) Image processing apparatus and image processing program
JP3841584B2 (en) Imaging device
JP4130885B2 (en) Solid-state imaging device
JP4099010B2 (en) Signal processing circuit
JP2000102024A (en) Image signal processor
JP2007020061A (en) Imaging apparatus
JP2009027615A (en) Video processing device and video processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080204

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090216

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees