JPH06315463A - Electronic endoscope device - Google Patents

Electronic endoscope device

Info

Publication number
JPH06315463A
JPH06315463A JP5108428A JP10842893A JPH06315463A JP H06315463 A JPH06315463 A JP H06315463A JP 5108428 A JP5108428 A JP 5108428A JP 10842893 A JP10842893 A JP 10842893A JP H06315463 A JPH06315463 A JP H06315463A
Authority
JP
Japan
Prior art keywords
signal
circuit
color
converter
white balance
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.)
Withdrawn
Application number
JP5108428A
Other languages
Japanese (ja)
Inventor
Akira Watabe
晃 渡部
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP5108428A priority Critical patent/JPH06315463A/en
Publication of JPH06315463A publication Critical patent/JPH06315463A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a high quality and equal white balance over the full screen. CONSTITUTION:Added color signal sampled at sampling circuits 10 and 11 is sent to multiplexers 12 and 13 and to a WB compensation control circuit 14. The WB compensation control circuit 14 detects the ratio between a specified color component of the added color signal and other color components when a white object is exposed and calculates a WB coefficient to be multiplied with an added color signal so that the ratio becomes equal over the full screen. The multiplexer 12 and 13 multiply a WB coefficient with an added color signal to adjust the white balance of the screen. This results in a high quality and equal white balance to the full screen.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電子内視鏡装置に関
し、特に、カラーフィルタアレイが配設された同時式の
電子内視鏡装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic endoscope apparatus, and more particularly to a simultaneous type electronic endoscope apparatus provided with a color filter array.

【0002】[0002]

【従来の技術】近年、体腔内に細長の挿入部を挿通する
ことにより、体腔内臓器等を観察したり、必要に応じて
処置具チャンネル内に挿通した処置具を用いて各種治療
処置ができる内視鏡(スコ―プまたはファイバスコ―プ
とも呼ぶ。)が広く用いられている。
2. Description of the Related Art In recent years, by inserting an elongated insertion portion into a body cavity, it is possible to observe internal organs in the body cavity and, if necessary, perform various therapeutic treatments using a treatment instrument inserted into a treatment instrument channel. Endoscopes (also called scopes or fiberscopes) are widely used.

【0003】また、電荷結合素子(CCD)等の固体撮
像素子を撮像手段に用いた電子スコ―プも種々提案され
ている。この電子スコ―プは、ファイバスコ―プに比べ
て解像度が高く、画像の記録及び再生等が容易であり、
また、画像の拡大や2画像の比較等の画像処理が容易で
ある等の利点を有する。
Various electronic scopes using a solid-state image pickup device such as a charge coupled device (CCD) as an image pickup means have been proposed. This electronic scope has a higher resolution than the fiber scope and is easy to record and reproduce images.
Further, there is an advantage that image processing such as image enlargement and comparison of two images is easy.

【0004】前記電子スコ―プのカラ―画像の撮像方式
には、照明光をR(赤),G(緑),B(青)等に順次
切換える面順次式と、固体撮像素子の前面にR,G,B
等の色光をそれぞれ透過する色フィルタをモザイク状等
に配列したフィルタアレーを設けた同時式とがある。面
順次式は、同時式に比べて画素数を少なくできるという
利点を有し、一方、同時式は、色ずれを生じないという
利点を有する。
[0004] As the image pickup method of the color image of the electronic scope, a frame sequential type in which illumination light is sequentially switched to R (red), G (green), B (blue), etc. R, G, B
There is also a simultaneous type in which a filter array in which color filters that transmit color lights of the same type are arranged in a mosaic pattern is provided. The frame-sequential method has an advantage that the number of pixels can be reduced as compared with the simultaneous method, while the simultaneous method has an advantage that no color shift occurs.

【0005】ところで、カラーフィルタアレーがCCD
の前面に設けられた電子内視鏡においては、CCDから
の映像信号を色分離してR,B信号を抽出し線順次で出
力する。この色信号R,Bのレベルは光源の色温度によ
って変動してしまう。そこで、本件出願は先に出願した
特開平2−63428号公報において、R,B線順次信
号に同期したホワイトバランス調整信号を発生してホワ
イトバランスを調整する装置を提案している。更にこの
提案では、分離したR,B線順次信号と輝度信号Yとか
ら色差信号を求め、白を撮像したときの色差信号の平均
レベルの差が0となるようにY信号のレベルを調整する
ことで、ホワイトバランスを自動調整する装置も開示さ
れている。
By the way, the color filter array is a CCD
In the electronic endoscope provided on the front face of the CCD, the video signal from the CCD is color-separated to extract the R and B signals and output line-sequentially. The levels of the color signals R and B vary depending on the color temperature of the light source. Therefore, the present application proposes a device for adjusting the white balance by generating a white balance adjustment signal synchronized with the R, B line sequential signal in Japanese Patent Application Laid-Open No. 2-63428 filed earlier. Further, in this proposal, a color difference signal is obtained from the separated R and B line sequential signals and the luminance signal Y, and the level of the Y signal is adjusted so that the difference between the average levels of the color difference signals when white is captured is zero. Therefore, a device for automatically adjusting the white balance is also disclosed.

【0006】[0006]

【発明が解決しようとする課題】ところで、CCD前面
に配設されるカラーフィルタアレイは、例えば、マゼン
タ(Mg),シアン(Cy),イエロー(Ye),グリ
ーン(G)のフィルタ要素がアレイ状に配列されて構成
されている。カラー映像信号は、フィルタ要素を通過し
た光に基づく信号同士の演算によって作成される。即
ち、カラーフィルタアレーの構成要素がばらついた場合
には、単に色信号のレベルを補正するだけではホワイト
バランスを完全に調整することはできないという問題点
があった。
The color filter array arranged in front of the CCD has, for example, an array of magenta (Mg), cyan (Cy), yellow (Ye), and green (G) filter elements. It is arranged in. The color video signal is created by calculating the signals based on the light that has passed through the filter element. That is, when the constituent elements of the color filter array vary, the white balance cannot be perfectly adjusted by simply correcting the level of the color signal.

【0007】本発明はかかる問題点に鑑みてなされたも
のであって、カラーフィルタアレーの構成要素のばらつ
きに拘らず、正確な色再現性を得ることができる電子内
視鏡装置を提供することを目的とする。
The present invention has been made in view of the above problems, and provides an electronic endoscope apparatus capable of obtaining accurate color reproducibility regardless of variations in constituent elements of a color filter array. With the goal.

【0008】[0008]

【課題を解決するための手段】本発明に係る電子内視鏡
装置は、カラーフィルタアレイが配設された固体撮像素
子の出力から各色成分を抽出する抽出手段と、前記固体
撮像素子によって白を撮像した場合において前記抽出手
段が抽出した各色成分の1画面の平均を求める平均値算
出手段と、この平均値算出手段の算出結果から所定の色
成分の1画面の平均と他の各色成分の平均との各比率を
夫々求める比率算出手段と、前記各比率が夫々所定値と
なるように前記抽出手段からの各色成分に重み付けを行
う重み付け手段とを具備したものである。
In the electronic endoscope apparatus according to the present invention, an extracting means for extracting each color component from an output of a solid-state image pickup device provided with a color filter array, and a white image by the solid-state image pickup device. An average value calculating means for obtaining an average of one screen of each color component extracted by the extracting means when an image is captured, and an average of one screen of a predetermined color component and an average of each other color component from the calculation result of the average value calculating means. And a weighting means for weighting each color component from the extracting means so that each of the ratios has a predetermined value.

【0009】[0009]

【作用】本発明においては、抽出手段によって固体撮像
素子の出力からカラーフィルタアレイに基づく各色成分
が抽出される。平均値算出手段は白を撮像した場合の各
色成分の1画面の平均を求め、比率算出手段は所定の色
成分の1画面の平均と他の各色成分の平均との比率を夫
々求める。この比率が所定値となるように、重み付け手
段が抽出手段からの各色成分に重み付けを行うことによ
り、画面全域に渡って比率算出単位でホワイトバランス
を一様に良好なものとする。
In the present invention, each color component based on the color filter array is extracted from the output of the solid-state image pickup device by the extraction means. The average value calculating means calculates the average of one screen of each color component when white is imaged, and the ratio calculating means calculates the ratio of the average of one screen of the predetermined color component to the average of each of the other color components. The weighting means weights the respective color components from the extraction means so that this ratio becomes a predetermined value, so that the white balance is uniformly made good in the ratio calculation unit over the entire screen.

【0010】[0010]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1乃至図6は本発明の第1実施例に係
り、図1は第1実施例の電子内視鏡装置の構成を示す構
成図、図2はカラーフィルタの構成を示す説明図、図3
はCCDの出力を説明するための説明図、図4は図1中
のWB補正制御回路の具体的な構成を示すブロック図、
図5は本実施例のホワイトバランス補正制御を説明する
ための説明図、図6はサンプリング回路10,11の動作を
説明するためのタイミングチャートである。
Embodiments of the present invention will be described below with reference to the drawings. 1 to 6 relate to a first embodiment of the present invention, FIG. 1 is a configuration diagram showing a configuration of an electronic endoscope apparatus of the first embodiment, FIG. 2 is an explanatory diagram showing a configuration of a color filter, and FIG.
Is an explanatory diagram for explaining the output of the CCD, FIG. 4 is a block diagram showing a specific configuration of the WB correction control circuit in FIG. 1,
FIG. 5 is an explanatory diagram for explaining the white balance correction control of the present embodiment, and FIG. 6 is a timing chart for explaining the operation of the sampling circuits 10 and 11.

【0011】スコープ1には照明光を伝送するライトガ
イド2が挿通されており、ライトガイド2は光源3から
の照明光を出射端面側に伝送する。ライトガイド2によ
って伝送された照明光はスコープ1の挿入部先端部4か
ら出射されて、前方の観察物体5側が照明されるように
なっている。
A light guide 2 for transmitting illumination light is inserted into the scope 1, and the light guide 2 transmits the illumination light from the light source 3 to the emission end face side. The illumination light transmitted by the light guide 2 is emitted from the distal end portion 4 of the insertion portion of the scope 1 to illuminate the front observation object 5 side.

【0012】また、スコープ1の挿入部先端部4にはC
CD6が配設されており、CCD6の入射面には観察物
体5からの反射光が図示しない結像用対物レンズを介し
て入射されるようになっている。CCD駆動回路8はC
CD駆動用クロック信号をCCD6に供給し、CCD6
はCCD駆動用クロック信号によって動作して、撮像面
に結像された光学像を電気信号に変換して相関二重サン
プリング回路(以下、CDS回路という)7に出力す
る。CCD6の前面にはカラーフィルタが形成されてい
る。図2はカラーフィルタの配列を説明するための説明
図である。
In addition, a C is provided at the tip 4 of the insertion portion of the scope 1.
A CD 6 is provided, and reflected light from the observation object 5 is made incident on the incident surface of the CCD 6 via an imaging objective lens (not shown). CCD drive circuit 8 is C
The clock signal for driving the CD is supplied to the CCD 6, and the CCD 6
Operates in response to a CCD driving clock signal to convert the optical image formed on the image pickup surface into an electric signal and outputs the electric signal to a correlated double sampling circuit (hereinafter referred to as a CDS circuit) 7. A color filter is formed on the front surface of the CCD 6. FIG. 2 is an explanatory diagram for explaining the arrangement of the color filters.

【0013】図2に示すように、カラーフィルタの奇数
行にはマゼンタの要素Mgとグリーンの要素Gとが交互
に繰返し配列され、偶数行にはシアンの要素Cyとイエ
ローの要素Yeとが交互に繰返し配列される。また、隣
接する偶数行同士の要素Cy,Yeは1列ずれて配列さ
れている。CCD6は、各要素Mg,G,Cy,Yeを
夫々通過した光を光電変換して信号Mg,G,Cy,Y
eを得る。CCD6は、隣接する2ラインの信号を加算
して読出す2ライン同時読出しを行う。即ち、CCD6
からは、図3に示すように、奇数ラインにおいて加算色
信号(Mg+Cy)と加算色信号(G+Ye)とが交互
に繰返されて出力され、偶数ラインにおいて加算色信号
(Mg+Ye)と加算色信号(G+Cy)とが交互に繰
返されて出力される。
As shown in FIG. 2, the magenta element Mg and the green element G are alternately and repeatedly arranged in the odd rows of the color filter, and the cyan element Cy and the yellow element Ye are alternately arranged in the even row. Are repeated. In addition, the elements Cy and Ye in the even-numbered rows that are adjacent to each other are arranged one column apart. The CCD 6 photoelectrically converts the light passing through each of the elements Mg, G, Cy, and Ye to generate signals Mg, G, Cy, Y.
get e. The CCD 6 performs two-line simultaneous reading in which signals of two adjacent lines are added and read. That is, CCD6
From FIG. 3, as shown in FIG. 3, the addition color signal (Mg + Cy) and the addition color signal (G + Ye) are alternately repeated and output, and the addition color signal (Mg + Ye) and the addition color signal ( G + Cy) are alternately repeated and output.

【0014】CDS回路7は、CCD出力信号に含まれ
る1/f及びリセットノイズを除去するためにダブルサ
ンプリングを行い、ノイズ成分を除去してS/Nを改善
した信号にしてA/D変換器9に与える。A/D変換器
9は入力された線順次の映像信号をディジタル信号に変
換してサンプリング回路10,11に与える。
The CDS circuit 7 performs double sampling in order to remove 1 / f and reset noise contained in the CCD output signal, removes noise components, and makes a signal with improved S / N, and an A / D converter. Give to 9. The A / D converter 9 converts the input line-sequential video signal into a digital signal and supplies it to the sampling circuits 10 and 11.

【0015】サンプリング回路10,11は夫々水平方向画
素数に応じた周期のサンプルパルス1,2が入力され
る。サンプルパルス1,2は位相が180度ずれてお
り、奇数ラインでは、サンプリング回路10によって信号
(Mg+Cy)がサンプリングされ、サンプリング回路
11によって信号(G+Ye)がサンプリングされる。同
様に、偶数ラインでは、サンプリング回路10によって信
号(Mg+Ye)がサンプリングされ、サンプリング回
路11によって信号(G+Cy)がサンプリングされる。
サンプリング回路10,11のサンプリング出力は夫々乗算
器12,13に与えられる。
The sampling circuits 10 and 11 are supplied with sample pulses 1 and 2 having a period corresponding to the number of horizontal pixels, respectively. The phases of the sample pulses 1 and 2 are 180 degrees out of phase, and the signal (Mg + Cy) is sampled by the sampling circuit 10 on the odd line,
The signal (G + Ye) is sampled by 11. Similarly, in the even lines, the sampling circuit 10 samples the signal (Mg + Ye), and the sampling circuit 11 samples the signal (G + Cy).
The sampling outputs of the sampling circuits 10 and 11 are given to the multipliers 12 and 13, respectively.

【0016】また、サンプリング出力はWB補正制御回
路14にも与えられる。図4は図1中のWB補正制御回路
の具体的な構成を示している。
The sampling output is also given to the WB correction control circuit 14. FIG. 4 shows a specific configuration of the WB correction control circuit in FIG.

【0017】WB補正制御回路14の平均値回路31,32に
はサンプリング回路10のサンプリング出力が供給され、
平均値回路33,34にはサンプリング回路11のサンプリン
グ出力が供給される。平均値回路31乃至34は、夫々信号
(Mg+Cy),信号(Mg+Ye),信号(G+Y
e),信号(G+Cy)の1画面分の平均を求める。平
均値回路31,32,34が求めた1画面分の平均は夫々除算
回路35,36,37に与えられる。また、除算回路35乃至37
には平均値回路33から信号(G+Ye)の1画面分の平
均も与えられる。
The sampling output of the sampling circuit 10 is supplied to the average value circuits 31 and 32 of the WB correction control circuit 14,
The sampling output of the sampling circuit 11 is supplied to the average value circuits 33 and 34. The average value circuits 31 to 34 respectively include a signal (Mg + Cy), a signal (Mg + Ye), and a signal (G + Y).
e), the average of the signal (G + Cy) for one screen is obtained. The averages for one screen obtained by the average value circuits 31, 32, 34 are given to the division circuits 35, 36, 37, respectively. Also, the division circuits 35 to 37
Also, the average of the signal (G + Ye) for one screen is given to the average value circuit 33.

【0018】2×2画素の加算色信号(Mg+Cy),
(Mg+Ye),(G+Ye),(G+Cy)の比率を
適宜設定することにより、白を再現することができる。
この場合において、除算回路35乃至37は信号(G+Y
e)に対する各信号(Mg+Cy),(Mg+Ye),
(G+Cy)の比率A,B,Cを基準比率として保持し
ている。カラーフィルタアレイのばらつきにより、加算
色信号(Mg+Cy),(Mg+Ye),(G+Y
e),(G+Cy)を基準比率に基づいて混合しても一
様な白が得られない。そこで、本実施例においては、ホ
ワイトバランス調整時において白を撮像し、信号(G+
Ye)に対する各信号(Mg+Cy),(Mg+Y
e),(G+Cy)の比率a,b,cを求め、比率a,
b,cを基準比率A,B,Cに一致させるように加算色
信号のレベルを制御することで、画面全体に渡って一様
なホワイトバランスを得るようにしている。
2 × 2 pixel added color signal (Mg + Cy),
White can be reproduced by appropriately setting the ratios of (Mg + Ye), (G + Ye), and (G + Cy).
In this case, the division circuits 35 to 37 have the signals (G + Y
signals (Mg + Cy), (Mg + Ye),
The ratios A, B, and C of (G + Cy) are held as reference ratios. Due to variations in the color filter array, added color signals (Mg + Cy), (Mg + Ye), (G + Y)
Even if e) and (G + Cy) are mixed based on the reference ratio, uniform white cannot be obtained. Therefore, in this embodiment, white is imaged during the white balance adjustment, and the signal (G +
Signals (Mg + Cy), (Mg + Y) for Ye)
e), the ratio a, b, c of (G + Cy) is calculated, and the ratio a,
By controlling the level of the added color signal so that b and c match the reference ratios A, B and C, a uniform white balance is obtained over the entire screen.

【0019】即ち、除算回路35乃至37は、ホワイトバラ
ンス調整時において、(G+Ye)の1画面分の平均値
に対する(Mg+Cy),(Mg+Ye),(G+C
y)の1画面分の平均値の比率a,b,cを夫々求め
る。そして、除算回路35乃至37は、基準比率A,B,C
と比率a,b,cとの例えば除算によってWB係数を求
めて保持しセレクタ38,39に出力する。セレクタ38は、
通常撮影時において、信号(Mg+Cy)が乗算器12に
入力されるタイミングで除算回路35のWB係数を選択し
て乗算器12に与え、信号(Mg+Ye)が乗算器12に入
力されるタイミングで除算回路36のWB係数を選択して
乗算器12に与える。同様に、セレクタ39は通常撮影時に
おいて、信号(G+Ye)が乗算器13に入力されるタイ
ミングで係数1を選択して乗算器13に与え、信号(G+
Cy)が乗算器13に入力されるタイミングで除算回路37
のWB係数を選択して乗算器13に与えるようになってい
る。
That is, the dividing circuits 35 to 37 are (Mg + Cy), (Mg + Ye), and (G + C) with respect to the average value of (G + Ye) for one screen during white balance adjustment.
The ratios a, b, and c of the average values for one screen of y) are obtained. Then, the division circuits 35 to 37 have the reference ratios A, B, C.
And the ratios a, b, and c are obtained by, for example, division, and the WB coefficient is obtained and held and output to the selectors 38 and 39. Selector 38
During normal shooting, the WB coefficient of the division circuit 35 is selected and given to the multiplier 12 at the timing when the signal (Mg + Cy) is input to the multiplier 12, and the division is performed at the timing when the signal (Mg + Ye) is input to the multiplier 12. The WB coefficient of circuit 36 is selected and provided to multiplier 12. Similarly, during normal shooting, the selector 39 selects the coefficient 1 at the timing when the signal (G + Ye) is input to the multiplier 13 and gives it to the multiplier 13 to output the signal (G +
Cy) is input to the multiplier 13 at the timing of division circuit 37
The WB coefficient of is selected and given to the multiplier 13.

【0020】乗算器12,13は夫々サンプリング回路10,
11の出力にセレクタ38,39のWB係数を乗算することに
より、線順次の映像信号のホワイトバランス調整を行っ
て加算器15及び減算器16に出力する。加算器15は乗算器
12,13からのホワイトバランス調整が行われたデータを
加算して輝度信号に変換しY処理回路17に与える。減算
器16はホワイトバランス調整された乗算器12,13の出力
の減算によって色差線順次信号を得て色処理回路18に出
力する。
The multipliers 12 and 13 are sampling circuits 10 and 10, respectively.
By multiplying the output of 11 by the WB coefficient of the selectors 38 and 39, the white balance of the line-sequential video signal is adjusted and output to the adder 15 and the subtracter 16. Adder 15 is a multiplier
The white balance adjusted data from 12 and 13 are added to be converted into a luminance signal and given to the Y processing circuit 17. The subtractor 16 subtracts the outputs of the white balance-adjusted multipliers 12 and 13 to obtain a color difference line sequential signal and outputs the color difference line sequential signal to the color processing circuit 18.

【0021】Y処理回路17は入力された輝度信号に対し
て輪郭補償等の処理を施してY色差RGB変換回路19に
供給する。また、色処理回路18は入力された色差線順次
信号に対して同時化及び色補正等の処理を施して色差信
号を得てY色差RGB変換回路19に供給する。Y色差R
GB変換回路19は、入力された輝度信号及び色差信号か
ら例えば下記(1)式に示す変換式を用いてRGB信号
を得る。
The Y processing circuit 17 performs processing such as contour compensation on the input luminance signal and supplies it to the Y color difference RGB conversion circuit 19. Further, the color processing circuit 18 performs processing such as synchronization and color correction on the input color difference line sequential signal to obtain a color difference signal and supplies it to the Y color difference RGB conversion circuit 19. Y color difference R
The GB conversion circuit 19 obtains an RGB signal from the input luminance signal and color difference signal using, for example, the conversion formula shown in the following formula (1).

【0022】 R=7.3(R−Y)2Y−(B−Y) G=2Y−2(R−Y)−1.5(B−Y) B=4(B−Y)+0.52{2Y−(R−Y)} …(1) この(1)式に基づいて得られたRGB信号はγ補正回
路20に供給され、γ補正回路20はRGB信号に所定の非
線形処理を施してガンマ補正し、D/A変換器21に出力
する。D/A変換器21はガンマ補正されたRGB信号を
アナログ信号に変換して出力するようになっている。
R = 7.3 (RY) 2Y- (BY) G = 2Y-2 (RY) -1.5 (BY) B = 4 (BY) +0.52 {2Y- (RY)} (1) The RGB signal obtained based on the equation (1) is supplied to the γ correction circuit 20, and the γ correction circuit 20 performs predetermined nonlinear processing on the RGB signal. Gamma-corrected and output to the D / A converter 21. The D / A converter 21 converts the gamma-corrected RGB signal into an analog signal and outputs it.

【0023】次に、このように構成された実施例の動作
について図5の説明図及び図6のタイミングチャートを
参照して説明する。
Next, the operation of the embodiment thus constructed will be described with reference to the explanatory view of FIG. 5 and the timing chart of FIG.

【0024】光源3からの照明光はライトガイド2を介
してスコープ1の挿入部先端部4の先端から出射されて
観察物体5が照明される。観察物体5からの反射光はC
CD6の撮像面に入射し、CCD6はCCD駆動回路8
からのCCD駆動用クロック信号によって動作して、撮
像面に結像された光学像を電気信号に変換してCDS回
路7に出力する。この場合には、図3に示す2ライン同
時読出しが行われる。図3に示すように、2ライン同時
読出しによって、2ライン,2列の信号(Mg+C
y),(Mg+Ye),(G+Ye),(G+Cy)の
2×2で1単位が構成される。CCD6の出力はCDS
回路7によってリセットノイズが除去され、A/D変換
器9においてディジタル信号に変換されてサンプリング
回路10,11に供給される。
Illumination light from the light source 3 is emitted from the tip of the tip 4 of the insertion portion of the scope 1 via the light guide 2 to illuminate the observation object 5. The reflected light from the observation object 5 is C
The light enters the image pickup surface of the CD 6, and the CCD 6 is a CCD drive circuit 8
It operates in accordance with the CCD driving clock signal from, to convert the optical image formed on the imaging surface into an electrical signal and output it to the CDS circuit 7. In this case, 2-line simultaneous reading shown in FIG. 3 is performed. As shown in FIG. 3, signals of two lines and two columns (Mg + C
2 × 2 of (y), (Mg + Ye), (G + Ye), and (G + Cy) constitutes one unit. CCDS output is CDS
The reset noise is removed by the circuit 7, converted into a digital signal in the A / D converter 9, and supplied to the sampling circuits 10 and 11.

【0025】奇数ラインにおけるA/D変換器9の出力
は図6(a)に示すものとなり、偶数ラインにおけるA
/D変換器9の出力は図6(d)に示すものとなる。奇
数ラインにおいては、図6(b)に示すサンプルパルス
1によってサンプリング回路10が信号(Mg+Cy)を
サンプリングし、図6(e)に示すサンプルパルス1に
よってサンプリング回路11が信号(Mg+Ye)をサン
プリングする。同様に、偶数ラインには、サンプルパル
ス1,2のタイミングで、夫々信号(G+Ye),(G
+Cy)がサンプリングされる。
The output of the A / D converter 9 in the odd line is as shown in FIG.
The output of the / D converter 9 is as shown in FIG. 6 (d). In the odd line, the sampling circuit 10 samples the signal (Mg + Cy) by the sample pulse 1 shown in FIG. 6B, and the sampling circuit 11 samples the signal (Mg + Ye) by the sample pulse 1 shown in FIG. 6E. . Similarly, on even-numbered lines, signals (G + Ye), (G
+ Cy) is sampled.

【0026】サンプリング回路10,11によってサンプリ
ングされた信号はWB補正制御回路14に与えられる。W
B補正制御回路14は、ホワイトバランス調整時におい
て、信号(Mg+Cy),(Mg+Ye),(G+Y
e),(G+Cy)の1画面分の平均値を求め、信号
(G+Ye)と信号(Mg+Cy),(Mg+Ye),
(G+Cy)との比率a,b,cを求める。WB補正制
御回路14は白撮像時の基準比率A,B,Cを保持してお
り、比率a,b,cと基準比率A,B,Cとの比から2
×2画素単位でWB係数を求めて保持しておく。
The signals sampled by the sampling circuits 10 and 11 are given to the WB correction control circuit 14. W
The B correction control circuit 14 controls the signals (Mg + Cy), (Mg + Ye), (G + Y) during white balance adjustment.
e) and (G + Cy) for one screen are calculated, and the signal (G + Ye) and the signals (Mg + Cy), (Mg + Ye),
Ratios a, b, and c with (G + Cy) are obtained. The WB correction control circuit 14 holds the reference ratios A, B, and C at the time of white image pickup, and it is 2 from the ratio of the ratios a, b, and c and the reference ratios A, B, and C.
The WB coefficient is calculated and held in units of × 2 pixels.

【0027】通常撮影時において、サンプリング回路1
0,11から乗算器12,13に信号(Mg+Cy),(G+
Ye),(Mg+Ye),(G+Cy)が入力される
と、乗算器12,13はこらの信号が入力されるタイミング
でWB補正制御回路14から対応するWB係数が与えられ
て、入力信号とWB係数との乗算を行う。これにより、
画面のいずれの部分でも、加算色信号の比率は基準比率
に基づくものとなる。即ち、乗算器12,13がWB係数を
用いて2×2画素単位でホワイトバランスを調整するの
で、フィルタのばらつきに拘らず、画面全域に渡って一
様にホワイトバランス調整が行われる。
During normal shooting, the sampling circuit 1
Signals (Mg + Cy), (G +) from 0, 11 to the multipliers 12, 13
When (Ye), (Mg + Ye), and (G + Cy) are input, the multipliers 12 and 13 are provided with corresponding WB coefficients from the WB correction control circuit 14 at the timing when these signals are input, and the input signal and WB Multiplies with a coefficient. This allows
In any part of the screen, the ratio of the added color signal is based on the reference ratio. That is, since the multipliers 12 and 13 adjust the white balance in units of 2 × 2 pixels using the WB coefficient, the white balance is uniformly adjusted over the entire screen regardless of the filter variation.

【0028】ホワイトバランス調整されたデータは加算
器15によって加算されて輝度信号に変換された後、Y処
理回路17によって輪郭補償等が行われる。一方、減算器
16はホワイトバランス調整されたデータを色差線順次信
号に変換し、色処理回路18は線順次信号の同時化及び色
補正等を行う。Y処理回路17からの輝度信号と色処理回
路18からの色差信号とはY色差RGB変換回路19に供給
されてRGB信号に変換される。更に、RGB信号はγ
補正回路20によってガンマ補正された後、D/A変換器
21によってアナログ信号に変換されて出力される。
The white balance-adjusted data is added by the adder 15 and converted into a luminance signal, and then the Y processing circuit 17 performs contour compensation and the like. Meanwhile, the subtractor
16 converts white balance adjusted data into color difference line-sequential signals, and color processing circuit 18 performs line-sequential signal synchronization and color correction. The luminance signal from the Y processing circuit 17 and the color difference signal from the color processing circuit 18 are supplied to the Y color difference RGB conversion circuit 19 and converted into RGB signals. Furthermore, the RGB signal is γ
D / A converter after gamma correction by the correction circuit 20
It is converted into an analog signal by 21 and output.

【0029】このように、本実施例においては、2×2
画素単位でホワイトバランス調整を行うようになってい
るので、フィルタのばらつきに拘らず、画面全域に一様
で良好なホワイトバランス調整が可能である。
Thus, in this embodiment, 2 × 2
Since the white balance adjustment is performed on a pixel-by-pixel basis, it is possible to perform uniform and good white balance adjustment over the entire screen regardless of filter variations.

【0030】なお、上記実施例においては、基準比率
A,B,Cと比率a,b,cとを単純に除算することに
よってWB係数を求めたが、所定の定数を用いた演算を
行うことにより色補正したWB係数を求めてもよい。ま
た、信号(G+Ye)を基準にして比率を求めたが、他
の色成分を基準にして比率を求めてもよい。
In the above embodiment, the WB coefficient is obtained by simply dividing the reference ratios A, B, C and the ratios a, b, c, but the calculation using a predetermined constant should be performed. The color-corrected WB coefficient may be obtained by. Further, although the ratio is calculated based on the signal (G + Ye), the ratio may be calculated based on other color components.

【0031】また、比率a,b,cが基準比率A,B,
Cと著しく相違する場合には、所定の範囲を逸脱したこ
とを検出して、ホワイトバランス調整が不可能であるこ
とを示す警告を発するようにしてもよい。例えば、診断
中に誤ってホワイトバランススイッチをオンにした場合
には、誤ったホワイトバランス調整が行われてしまい、
プリセット値にする必要がある。この場合には、色成分
の比率が所定の範囲内であるか否かによってホワイトバ
ランス調整の可否を判別して、ホワイトバランス調整を
禁止することによりホワイトバランスが不良となること
を防止することができる。また、ホワイトバランス調整
時だけでなく通常撮像時においても比率を常に観察する
ことにより、光源等に異常が生じたことを比率が急変し
たことによって検出することもできる。
Further, the ratios a, b, c are the reference ratios A, B,
If the difference is significantly different from C, it may be detected that the deviation from the predetermined range has occurred, and a warning indicating that the white balance adjustment is impossible may be issued. For example, if you accidentally turn on the white balance switch during diagnosis, incorrect white balance adjustment will be performed,
Must be a preset value. In this case, it is possible to prevent the white balance from becoming defective by determining whether or not the white balance adjustment is possible depending on whether or not the ratio of the color components is within a predetermined range, and prohibiting the white balance adjustment. it can. Further, by constantly observing the ratio not only during white balance adjustment but also during normal imaging, it is possible to detect that an abnormality has occurred in the light source or the like by a sudden change in the ratio.

【0032】図7は本発明の第2実施例に係る電子内視
鏡装置の構成を示す構成図である。図7において図1と
同一の構成要素には同一符号を付して説明を省略する。
FIG. 7 is a block diagram showing the structure of the electronic endoscope apparatus according to the second embodiment of the present invention. 7, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.

【0033】本実施例はCDS回路7の出力をA/D変
換器41に与え、A/D変換器41のリファレンス電圧を制
御するリファレンス電圧制御回路42及びリファレンス外
部設定部43を備えた点が第1実施例と異なる。
The present embodiment is provided with a reference voltage control circuit 42 for applying the output of the CDS circuit 7 to the A / D converter 41 and controlling the reference voltage of the A / D converter 41, and a reference external setting section 43. Different from the first embodiment.

【0034】第1実施例においては、ディジタル処理を
採用しており、信号のダイナミックレンジはA/D変換
器41のダイナミックレンジによって制限される。このた
め、観察画像が明るい場合には、加算色信号のレベルが
比較的容易にA/D変換器41のダイナミックレンジを越
えて飽和してしまい、観察不能となってしまうことがあ
る。そこで、本実施例においては、A/D変換器41のリ
ファレンス電圧を制御することにより、ダイナミックレ
ンジを広げることを可能にして比較的明るい観察画像も
観察可能とするものである。
In the first embodiment, digital processing is adopted, and the dynamic range of the signal is limited by the dynamic range of the A / D converter 41. Therefore, when the observed image is bright, the level of the added color signal may be saturated relatively easily beyond the dynamic range of the A / D converter 41, and the observation may be impossible. Therefore, in this embodiment, by controlling the reference voltage of the A / D converter 41, the dynamic range can be widened and a relatively bright observation image can be observed.

【0035】即ち、A/D変換器41はリファレンス電圧
制御回路42によってリファレンス電圧が制御可能となっ
ている。リファレンス外部設定部43は、例えば可変抵抗
又はスイッチ等によって構成され、ユーザー操作に基づ
いてリファレンス電圧制御回路42を制御する。リファレ
ンス電圧制御回路42はリファレンス外部設定部43の操作
に基づくレベルのリファレンス電圧を発生してA/D変
換器41に供給するようになっている。
That is, the reference voltage of the A / D converter 41 can be controlled by the reference voltage control circuit 42. The reference external setting unit 43 is composed of, for example, a variable resistor or a switch, and controls the reference voltage control circuit 42 based on a user operation. The reference voltage control circuit 42 generates a reference voltage of a level based on the operation of the reference external setting section 43 and supplies it to the A / D converter 41.

【0036】このように構成された実施例においては、
A/D変換器41のリファレンス電圧レベルは、予め所定
のレベルに設定しておく。これにより、CCD6からの
映像信号は所定のダイナミックレンジでディジタル信号
に変換される。
In the embodiment thus constructed,
The reference voltage level of the A / D converter 41 is set to a predetermined level in advance. As a result, the video signal from the CCD 6 is converted into a digital signal with a predetermined dynamic range.

【0037】ここで、観察画像の観察したい部分が明る
すぎて加算色信号のレベルがA/D変換器41のダイナミ
ックレンジを越えるものとする。この場合には、ユーザ
ーはリファレンス外部設定部43を操作して、リファレン
ス電圧制御回路42を制御する。これにより、リファレン
ス電圧制御回路42はA/D変換器41のリファレンス電圧
を変化させてダイナミックレンジを広げる。そうする
と、加算色信号のレベルはダイナミックレンジの範囲内
となり、観察画像の明るさに応じた忠実な画像が再現さ
れる。
Here, it is assumed that the portion of the observed image to be observed is too bright and the level of the added color signal exceeds the dynamic range of the A / D converter 41. In this case, the user operates the reference external setting unit 43 to control the reference voltage control circuit 42. As a result, the reference voltage control circuit 42 changes the reference voltage of the A / D converter 41 to expand the dynamic range. Then, the level of the added color signal falls within the dynamic range, and a faithful image corresponding to the brightness of the observed image is reproduced.

【0038】なお、リファレンス電圧制御回路42は、リ
ファレンス電圧を変化させることによりダイナミックレ
ンジを広げるだけでなく、変換範囲をシフトさせてもよ
い。また、観察部位が暗すぎる場合には、リファレンス
外部設定部43の操作でリファレンス電圧を制御すること
により、A/D変換器41のダイナミックレンジを狭くす
ることもできる。これにより、加算色信号はディジタル
的に増幅され、観察を容易にすることができる。
The reference voltage control circuit 42 may not only widen the dynamic range by changing the reference voltage but also shift the conversion range. In addition, when the observation region is too dark, the dynamic range of the A / D converter 41 can be narrowed by controlling the reference voltage by operating the reference external setting unit 43. As a result, the added color signal is digitally amplified and can be easily observed.

【0039】このように、本実施例においては、ユーザ
ーが自由にA/D変換器41のリファレンス電圧を制御可
能とすることにより、観察部位の明るさに拘らず観察画
像の観察を容易にすることができる。
As described above, in this embodiment, the user can freely control the reference voltage of the A / D converter 41 to facilitate the observation of the observation image regardless of the brightness of the observation region. be able to.

【0040】図8は本発明の第3実施例に係る電子内視
鏡装置の構成を示す構成図である。図8において図7と
同一の構成要素には同一符号を付して説明を省略する。
FIG. 8 is a block diagram showing the configuration of the electronic endoscope apparatus according to the third embodiment of the present invention. 8, the same components as those in FIG. 7 are designated by the same reference numerals and the description thereof will be omitted.

【0041】本実施例はA/D変換器41の出力を映像検
波し検波出力に基づいてリファレンス電圧制御回路42を
制御する映像検波回路45を設けた点が第2実施例と異な
る。即ち、映像検波回路45はA/D変換器41の出力から
映像信号のピーク値を検出する。映像検波回路45は検出
したピーク値に基づいてリファレンス電圧制御回路42を
制御することにより、映像信号のピーク値をA/D変換
器41のフルレンジに等しくするようになっている。
This embodiment differs from the second embodiment in that an image detection circuit 45 for detecting the output of the A / D converter 41 and controlling the reference voltage control circuit 42 based on the detected output is provided. That is, the video detection circuit 45 detects the peak value of the video signal from the output of the A / D converter 41. The video detection circuit 45 controls the reference voltage control circuit 42 based on the detected peak value to make the peak value of the video signal equal to the full range of the A / D converter 41.

【0042】このように構成された実施例においては、
A/D変換器41のリファレンス電圧制御が映像信号のピ
ーク値に応じて自動的に行われる。即ち、A/D変換器
41の出力は映像検波回路45によって映像検波されて映像
信号のピークが検出される。いま、映像信号のピーク値
が比較的高いものとする。この場合には、映像検波回路
45はリファレンス電圧制御回路42を制御してリファレン
ス電圧を変化させ、A/D変換器41のダイナミックレン
ジを大きくする。これにより、A/D変換器41のダイナ
ミックレンジは映像信号のピーク値まで広がる。逆に、
映像信号のピーク値が比較的低い場合には、映像検波回
路45はA/D変換器41のダイナミックレンジを小さくす
るように制御する。この場合もA/D変換器41のダイナ
ミックレンジは映像信号のピーク値まで狭くなる。こう
して、A/D変換器41のフルレンジを映像信号のピーク
値に一致させることにより、A/D変換器41のダイナミ
ックレンジが有効に用いられる。
In the embodiment thus constructed,
The reference voltage control of the A / D converter 41 is automatically performed according to the peak value of the video signal. That is, A / D converter
The output of 41 is video-detected by the video detection circuit 45, and the peak of the video signal is detected. Now, it is assumed that the peak value of the video signal is relatively high. In this case, the video detection circuit
Reference numeral 45 controls the reference voltage control circuit 42 to change the reference voltage and increase the dynamic range of the A / D converter 41. As a result, the dynamic range of the A / D converter 41 extends to the peak value of the video signal. vice versa,
When the peak value of the video signal is relatively low, the video detection circuit 45 controls the A / D converter 41 so as to reduce the dynamic range. Also in this case, the dynamic range of the A / D converter 41 is narrowed to the peak value of the video signal. Thus, the dynamic range of the A / D converter 41 is effectively used by matching the full range of the A / D converter 41 with the peak value of the video signal.

【0043】図9は本発明の第4実施例に係る電子内視
鏡装置の構成を示す構成図である。図9において図1と
同一の構成要素には同一符号を付して説明を省略する。
FIG. 9 is a block diagram showing the arrangement of an electronic endoscope apparatus according to the fourth embodiment of the present invention. 9, the same components as those of FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.

【0044】本実施例においては、A/D変換器9の出
力を加算する加算器51、動き検知回路52、調光回路53を
有する点が第1実施例と異なる。動き検知回路52はA/
D変換器9の出力から画像の動きを検知し、検知結果に
よって加算器51及び調光回路53を制御するようになって
いる。加算器51はA/D変換器9の出力を加算してサン
プリング回路10,11に出力する。調光回路53は動き検知
回路52に制御されて光源3の出射光量を調整するように
なっている。
This embodiment differs from the first embodiment in that it has an adder 51 for adding the outputs of the A / D converter 9, a motion detection circuit 52, and a dimming circuit 53. The motion detection circuit 52 is A /
The motion of the image is detected from the output of the D converter 9, and the adder 51 and the dimming circuit 53 are controlled according to the detection result. The adder 51 adds the outputs of the A / D converter 9 and outputs it to the sampling circuits 10 and 11. The dimming circuit 53 is controlled by the motion detecting circuit 52 to adjust the amount of light emitted from the light source 3.

【0045】このように構成された実施例においては、
画像の動きに応じて調光と画像の加算が制御される。即
ち、動き検知回路52はA/D変換器9のディジタル映像
信号から例えばフィールド間の画像の相違を検出するこ
とにより、画像の動きを検知する。動き検知回路52は検
知結果を加算器51及び調光回路53に与える。
In the embodiment constructed as described above,
Light control and addition of images are controlled according to the movement of the images. That is, the motion detection circuit 52 detects the motion of the image by detecting the difference in the image between the fields from the digital video signal of the A / D converter 9. The motion detection circuit 52 gives the detection result to the adder 51 and the dimming circuit 53.

【0046】いま、画像に動きがあるものとする。この
場合には、通常の制御が行われる。即ち、動き検知回路
52の検知結果によって、加算器51は加算を行うことなく
A/D変換器9の出力をそのままサンプリング回路10,
11に与え、調光回路53は光源3を通常の調光で制御す
る。
Now, it is assumed that the image has a motion. In this case, normal control is performed. That is, the motion detection circuit
According to the detection result of 52, the adder 51 outputs the output of the A / D converter 9 as it is to the sampling circuit 10, without performing addition.
11, the dimming circuit 53 controls the light source 3 by normal dimming.

【0047】ここで、例えば、特定部位に注目して観察
を行っている場合等のように、画像に動きがないものと
する。この場合には、調光回路53は動き検知回路52の検
知結果に基づいて光源3の出射光量を少なくして照明を
暗くする。これにより、観察物体5からの反射光量が減
少する。また、加算器51は検知結果に基づいて画像の加
算を行ってサンプリング回路10,11に出力する。加算を
行うことによって十分な信号レベルが得られる。これら
の制御によって、ハレーション部を無くすと共に、ラン
ダムノイズを減少させることができ、画像品位を向上さ
せることができる。
Here, it is assumed that there is no motion in the image, for example, when observing a specific part. In this case, the dimming circuit 53 diminishes the illumination by reducing the amount of light emitted from the light source 3 based on the detection result of the motion detection circuit 52. As a result, the amount of reflected light from the observation object 5 decreases. Further, the adder 51 adds images based on the detection result and outputs the images to the sampling circuits 10 and 11. A sufficient signal level can be obtained by performing addition. By these controls, the halation portion can be eliminated, random noise can be reduced, and the image quality can be improved.

【0048】図10は本発明の第5実施例に係る電子内
視鏡装置の構成を示す構成図である。図10において図
8と同一の構成要素には同一符号を付して説明を省略す
る。
FIG. 10 is a block diagram showing the arrangement of an electronic endoscope apparatus according to the fifth embodiment of the present invention. 10, the same components as those in FIG. 8 are designated by the same reference numerals and the description thereof will be omitted.

【0049】本実施例はCCD駆動回路8に代えてCC
D駆動回路46を採用すると共に、加算器51、切換制御回
路47、切換え指示部48を有した点が第3実施例と異な
る。CCD6はCCD駆動回路46からのCCD駆動用ク
ロック信号によって動作する。CCD駆動回路46はCC
D6を1フィールドに1回読出すためのクロック信号と
複数回読出すためのクロック信号とを発生することがで
き、切換制御回路47からの切換制御信号によってCCD
6に与えるクロック信号を切換えるようになっている。
切換制御回路47は切換え指示部48の操作に基づく切換制
御信号を発生して、CCD駆動回路46に与えると共に、
加算器51及びリファレンス電圧制御回路42にも与える。
In this embodiment, the CCD driving circuit 8 is replaced by a CC
The third embodiment differs from the third embodiment in that the D drive circuit 46 is adopted and an adder 51, a switching control circuit 47, and a switching instruction section 48 are provided. The CCD 6 operates according to the CCD driving clock signal from the CCD driving circuit 46. CCD drive circuit 46 is CC
It is possible to generate a clock signal for reading D6 once in one field and a clock signal for reading it a plurality of times, and the switching control signal from the switching control circuit 47 causes the CCD to operate.
The clock signal given to 6 is switched.
The switching control circuit 47 generates a switching control signal based on the operation of the switching instructing section 48 and supplies it to the CCD drive circuit 46, and
It is also given to the adder 51 and the reference voltage control circuit 42.

【0050】A/D変換器41の出力は加算器51を介して
サンプリング回路10,11に与えられる。加算器51は、切
換制御信号によってCCD6から1フィールドに複数回
の読出しが行われたことが示された場合には、A/D変
換器41の出力を複数回加算することによって、信号レベ
ルをA/D変換器41のダイナミックレンジよりも拡大し
て出力する。加算器51はCCD6が1フィールドに1回
読出しを行った場合には、A/D変換器41の出力をその
ままサンプリング回路10,11に出力する。
The output of the A / D converter 41 is given to the sampling circuits 10 and 11 via the adder 51. The adder 51 adds the output of the A / D converter 41 a plurality of times to increase the signal level when the switching control signal indicates that the CCD 6 has read out a plurality of times in one field. The output is expanded from the dynamic range of the A / D converter 41. The adder 51 outputs the output of the A / D converter 41 as it is to the sampling circuits 10 and 11 when the CCD 6 reads out once per field.

【0051】リファレンス電圧制御回路42は切換制御信
号によってCCD6から1フィールドに複数回の読出し
が行われたことが示された場合には、A/D変換器41に
与えるリファレンス電圧を所定の定電圧に固定し、1フ
ィールドに1回の読出しが行われたことが示された場合
には、映像検波回路45の出力に基づいてリファレンス電
圧を制御するようになっている。
When the switching control signal indicates that the CCD 6 has read out a plurality of times in one field, the reference voltage control circuit 42 supplies the reference voltage to the A / D converter 41 to a predetermined constant voltage. When the reading is performed once in one field, the reference voltage is controlled based on the output of the video detection circuit 45.

【0052】このように構成された実施例においては、
例えば、CCD6の画像数が多く、1フィールドに1回
しか読出しが行われない場合には、ユーザーは切換え指
示部48によって1回読出しを指示する。そうすると、C
CD駆動駆動回路46は1回読出し動作するためのクロッ
ク信号を発生してCCD6に与える。また、加算器51の
加算動作は停止し、リファレンス電圧制御回路42は映像
検波回路45の検出結果に基づいてリファレンス電圧を制
御して、映像信号のピーク値をA/D変換器41のフルレ
ンジに一致させる。即ち、この場合には第3実施例と同
様の動作が行われる。
In the embodiment thus constructed,
For example, when the number of images on the CCD 6 is large and reading is performed only once in one field, the user instructs the switching instruction section 48 to read once. Then C
The CD drive circuit 46 generates a clock signal for one read operation and gives it to the CCD 6. Further, the adding operation of the adder 51 is stopped, and the reference voltage control circuit 42 controls the reference voltage based on the detection result of the video detection circuit 45 to bring the peak value of the video signal to the full range of the A / D converter 41. Match. That is, in this case, the same operation as in the third embodiment is performed.

【0053】ここで、CCD6の画素数が少なく、1フ
ィールドに複数回の読出しが可能であるものとする。こ
の場合には、ユーザーは切換え指示部48によって、複数
回読出しを指示する。切換制御回路47は切換制御信号を
発生し、CCD駆動回路46はCCD6に複数回の読出し
を可能とするクロック信号を供給する。A/D変換器41
は固定されたリファレンス電圧によってCDS回路7の
出力をディジタル信号に変換する。この場合には、加算
器51はA/D変換器41の出力を複数回加算する。これに
より、サンプリング回路10,11に入力される映像信号レ
ベルが大きくなって、A/D変換器41のダイナミックレ
ンジよりも拡大されたレベルの信号が得られる。
Here, it is assumed that the CCD 6 has a small number of pixels and can read out a plurality of times in one field. In this case, the user uses the switching instructing section 48 to instruct reading multiple times. The switching control circuit 47 generates a switching control signal, and the CCD drive circuit 46 supplies the CCD 6 with a clock signal that enables multiple readings. A / D converter 41
Converts the output of the CDS circuit 7 into a digital signal with a fixed reference voltage. In this case, the adder 51 adds the outputs of the A / D converter 41 multiple times. As a result, the video signal level input to the sampling circuits 10 and 11 is increased, and a signal having a level wider than the dynamic range of the A / D converter 41 is obtained.

【0054】このように、本実施例においては、CCD
の画素数によって、CCDの駆動、映像信号の加算及び
リファレンス電圧を制御しているので、画素数に拘らず
ダイナミックレンジの広い映像を得ることができる。
As described above, in this embodiment, the CCD
Since the driving of the CCD, the addition of the video signal and the reference voltage are controlled by the number of pixels, the image with a wide dynamic range can be obtained regardless of the number of pixels.

【0055】なお、本実施例では画素数に応じて切換制
御信号を発生させるように指示を与えているが、スコー
プの種類をスコープID等によって検知することにより
自動的に切換制御信号を発生させるようにしてもよい。
In the present embodiment, the instruction is given to generate the switching control signal according to the number of pixels, but the switching control signal is automatically generated by detecting the type of scope by the scope ID or the like. You may do it.

【0056】図11乃至図13は本発明の第6実施例に
係り、図11は第6実施例の電子内視鏡装置の構成を示
す構成図、図12は図11中のガンマ補正回路の具体的
な構成を示すブロック図、図13はγ変換メモリを説明
するためのグラフである。
11 to 13 relate to a sixth embodiment of the present invention, FIG. 11 is a block diagram showing the configuration of an electronic endoscope apparatus of the sixth embodiment, and FIG. 12 is a gamma correction circuit in FIG. FIG. 13 is a block diagram showing a specific configuration, and FIG. 13 is a graph for explaining the γ conversion memory.

【0057】図11において図1と同一の構成要素には
同一符号を付して説明を省略する。本実施例は、γ補正
回路20に代えてγ補正回路55を用いると共に、α変換値
選択回路56を用いた点が図1の実施例と異なる。
In FIG. 11, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. This embodiment is different from the embodiment of FIG. 1 in that a γ correction circuit 55 is used instead of the γ correction circuit 20 and an α conversion value selection circuit 56 is used.

【0058】ガンマ補正回路をガンマ変換ROMを用い
て構成した場合には、ガンマ変換ROMの容量は、RG
B信号の量子化ビット数によって決定される。例えば、
RGB信号が10ビットで表現されるものとすると、ガ
ンマ変換ROMの容量は2の10乗ビットとなる。更
に、複数のガンマ特性を設定可能にすると必要な容量は
大きくなり、例えば4種類のガンマ変換を可能にした場
合には(2の10乗)×4ビットの容量が必要となる。
ところが、このような大容量のROMは極めて高価であ
り、また、比較的低速である。そこで、本実施例におい
ては、高速で安価なROMを用いてガンマ補正回路を構
成するようにしている。
When the gamma correction circuit is composed of a gamma conversion ROM, the capacity of the gamma conversion ROM is RG.
It is determined by the number of quantization bits of the B signal. For example,
If the RGB signal is represented by 10 bits, the capacity of the gamma conversion ROM is 2 10 bits. Furthermore, if a plurality of gamma characteristics can be set, the required capacity becomes large. For example, when four types of gamma conversion are possible, a capacity of (2 to the 10th power) × 4 bits is required.
However, such a large-capacity ROM is extremely expensive and relatively slow. Therefore, in this embodiment, the gamma correction circuit is configured using a high-speed and inexpensive ROM.

【0059】即ち、γ補正回路55は、図12に示すよう
に、(2の8乗)×4ビットのγ変換メモリ61乃至64及
びセレクタ65によって構成されている。なお、γ補正回
路55に入力されるRGB信号は10ビットで量子化され
ているものとする。このRGB信号の下位8ビットはγ
変換メモリ61乃至64にアドレスとして与えられる。上位
2ビットは後述するセレクタ65のセレクト信号として用
いる。
That is, as shown in FIG. 12, the γ correction circuit 55 is composed of (2 8) × 4 bit γ conversion memories 61 to 64 and a selector 65. It is assumed that the RGB signal input to the γ correction circuit 55 is quantized with 10 bits. The lower 8 bits of this RGB signal are γ
It is given as an address to the conversion memories 61 to 64. The upper 2 bits are used as a select signal for the selector 65 described later.

【0060】図13に示すように、γ変換メモリ61は入
力データの0乃至255に対応するガンマ補正値を格納
しており、γ変換メモリ62は入力データの256乃至5
11に対応するガンマ補正値を格納している。同様に、
γ変換メモリ63,64は夫々入力データの512乃至76
7及び768乃至1023に対応するガンマ補正値を格
納している。γ変換メモリ61乃至64は、8ビットの入力
データによってアドレスが指定されて、格納しているガ
ンマ補正値をセレクタ65に出力するようになっている。
また、γ変換メモリ61乃至64は、4種類のガンマ特性
A,B,C,Dのガンマ補正値を格納しており、γ値選
択信号によってアドレスが指定されることによって、こ
れらの特性が選択される。なお、γ変換メモリ61乃至64
に供給されるγ値選択信号はガンマ変換値選択回路56に
よって作成されるようになっている。
As shown in FIG. 13, the γ conversion memory 61 stores gamma correction values corresponding to 0 to 255 of the input data, and the γ conversion memory 62 stores 256 to 5 of the input data.
The gamma correction value corresponding to 11 is stored. Similarly,
The γ conversion memories 63 and 64 are 512 to 76 of input data, respectively.
Gamma correction values corresponding to Nos. 7 and 768 to 1023 are stored. The γ conversion memories 61 to 64 are designed so that their addresses are designated by 8-bit input data and the stored gamma correction values are output to the selector 65.
Further, the γ conversion memories 61 to 64 store gamma correction values of four types of gamma characteristics A, B, C, D, and these characteristics are selected by specifying an address by a γ value selection signal. To be done. Note that the γ conversion memories 61 to 64
The γ-value selection signal supplied to is generated by the gamma-converted value selection circuit 56.

【0061】セレクタ65はRGB信号の上位2ビットが
与えられて、γ変換メモリ61乃至64の出力の1つを選択
して出力する。RGB信号の上位2ビットはRGB信号
が0乃至255,256乃至511,51乃至767,
768乃至1023のいずれの値であるかを示してお
り、上位2ビットによってγ変換メモリ61乃至64を選択
することによってRGB信号に対応するガンマ補正値が
選択される。
The selector 65 is supplied with the upper 2 bits of the RGB signal and selects one of the outputs of the γ conversion memories 61 to 64 and outputs it. The upper 2 bits of the RGB signal are 0 to 255, 256 to 511, 51 to 767,
768 to 1023, the gamma correction value corresponding to the RGB signal is selected by selecting the γ conversion memories 61 to 64 by the upper 2 bits.

【0062】このように構成された実施例においては、
Y色差RGB変換回路19からのRGB信号がγ補正回路
55に供給される。γ補正回路55のγ変換メモリ61乃至64
はRGB信号の下位8ビットによってアドレスが指定さ
れる。また、RGB信号の上位2ビットはセレクタ65に
与えられて、γ変換メモリ61乃至64の出力の1つが選択
される。例えば、RGB信号が256乃至511のいず
れかの値である場合には、γ変換メモリ62の出力がセレ
クタ65によって選択され、γ変換メモリ62の256個の
アドレスがRGB信号の下位8ビットで指定されて、R
GB信号に対応したガンマ補正値が出力される。
In the embodiment constructed as described above,
The RGB signal from the Y color difference RGB conversion circuit 19 is a γ correction circuit.
Supplied to 55. γ conversion memories 61 to 64 of the γ correction circuit 55
Is designated by the lower 8 bits of the RGB signal. Further, the upper 2 bits of the RGB signal are given to the selector 65, and one of the outputs of the γ conversion memories 61 to 64 is selected. For example, when the RGB signal has any value from 256 to 511, the output of the γ conversion memory 62 is selected by the selector 65, and 256 addresses of the γ conversion memory 62 are designated by the lower 8 bits of the RGB signal. Done, R
A gamma correction value corresponding to the GB signal is output.

【0063】また、γ変換値選択回路56は図13の特性
A,B,C,Dを選択するためのγ値選択信号を出力し
ており、このγ値選択信号がアドレスとしてγ変換メモ
リ61乃至64に与えられることによって、図13の特性
A,B,C,Dが選択されて、選択されたガンマ補正値
が出力される。ガンマ補正されたRGB信号はD/A変
換器21によってアナログ信号に変換されて出力される。
Further, the γ conversion value selection circuit 56 outputs a γ value selection signal for selecting the characteristics A, B, C and D of FIG. 13, and this γ value selection signal is used as an address in the γ conversion memory 61. 13 to 64, the characteristics A, B, C, and D of FIG. 13 are selected, and the selected gamma correction value is output. The gamma-corrected RGB signal is converted into an analog signal by the D / A converter 21 and output.

【0064】なお、本実施例においては、γ値選択信号
をγ変換メモリ61乃至64のアドレスを制御する信号とし
て用いているが、γ変換値選択回路56をCPU等で構成
して、メモリに選択したガンマ変換データをロードする
ようにしてもよい。
In the present embodiment, the γ value selection signal is used as a signal for controlling the addresses of the γ conversion memories 61 to 64. The selected gamma conversion data may be loaded.

【0065】このように、γ変換メモリを分割し、入力
信号の上位ビットによってγ変換メモリの1つを選択す
るようにしており、変換ROMとして容量が小さく安価
で高速なものを使用することができる。また、データの
ロードも高速となる。
As described above, the γ conversion memory is divided, and one of the γ conversion memories is selected according to the upper bits of the input signal. Therefore, it is possible to use a conversion ROM having a small capacity, a low cost and a high speed. it can. In addition, the data can be loaded at high speed.

【0066】[0066]

【発明の効果】以上説明したように本発明によれば、カ
ラーフィルタアレーの構成要素のばらつきに拘らず、正
確な色再現性を得ることができるという効果を有する。
As described above, according to the present invention, there is an effect that accurate color reproducibility can be obtained regardless of variations in constituent elements of the color filter array.

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

【図1】本発明に係る電子内視鏡装置の一実施例を示す
構成図。
FIG. 1 is a configuration diagram showing an embodiment of an electronic endoscope apparatus according to the present invention.

【図2】カラーフィルタの構成を示す説明図。FIG. 2 is an explanatory diagram showing a configuration of a color filter.

【図3】CCDの出力を説明するための説明図。FIG. 3 is an explanatory diagram for explaining an output of a CCD.

【図4】図1中のWB補正制御回路の具体的な構成を示
すブロック図。
4 is a block diagram showing a specific configuration of a WB correction control circuit in FIG.

【図5】本実施例のホワイトバランス補正制御を説明す
るための説明図。
FIG. 5 is an explanatory diagram for explaining white balance correction control of the present embodiment.

【図6】図1中のサンプリング回路10,11の動作を説明
するためのタイミングチャート。
6 is a timing chart for explaining the operation of sampling circuits 10 and 11 in FIG.

【図7】本発明の第2実施例に係る電子内視鏡装置の一
実施例を示す構成図。
FIG. 7 is a configuration diagram showing an example of an electronic endoscope apparatus according to a second example of the present invention.

【図8】本発明の第3実施例に係る電子内視鏡装置の一
実施例を示す構成図。
FIG. 8 is a configuration diagram showing an example of an electronic endoscope apparatus according to a third example of the present invention.

【図9】本発明の第4実施例に係る電子内視鏡装置の一
実施例を示す構成図。
FIG. 9 is a configuration diagram showing an example of an electronic endoscope apparatus according to a fourth example of the present invention.

【図10】本発明の第5実施例に係る電子内視鏡装置の
一実施例を示す構成図。
FIG. 10 is a configuration diagram showing an example of an electronic endoscope apparatus according to a fifth example of the present invention.

【図11】本発明の第6実施例に係る電子内視鏡装置の
一実施例を示す構成図。
FIG. 11 is a configuration diagram showing an example of an electronic endoscope apparatus according to a sixth example of the present invention.

【図12】図11中のγ補正回路の具体的な構成を示す
ブロック図。
12 is a block diagram showing a specific configuration of a γ correction circuit in FIG.

【図13】図12中のγ変換メモリを説明するための説
明図。
FIG. 13 is an explanatory diagram for explaining the γ conversion memory in FIG. 12.

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

10,11…サンプリング回路、12,13…乗算器、14…WB
補正制御回路
10, 11 ... Sampling circuit, 12, 13 ... Multiplier, 14 ... WB
Correction control circuit

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年9月2日[Submission date] September 2, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0057[Name of item to be corrected] 0057

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0057】図11において図1と同一の構成要素には
同一符号を付して説明を省略する。本実施例は、γ補正
回路20に代えてγ補正回路55を用いると共に、γ変換値
選択回路56を用いた点が図1の実施例と異なる。
In FIG. 11, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. This embodiment differs from the embodiment of FIG. 1 in that a γ correction circuit 55 is used instead of the γ correction circuit 20, and a γ conversion value selection circuit 56 is used.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 カラーフィルタアレイが配設された固体
撮像素子の出力から各色成分を抽出する抽出手段と、 前記固体撮像素子によって白を撮像した場合において前
記抽出手段が抽出した各色成分の1画面の平均を求める
平均値算出手段と、 この平均値算出手段の算出結果から所定の色成分の1画
面の平均と他の各色成分の平均との各比率を夫々求める
比率算出手段と、 前記各比率が夫々所定値となるように前記抽出手段から
の各色成分に重み付けを行う重み付け手段とを具備した
ことを特徴とする電子内視鏡装置。
1. Extraction means for extracting each color component from the output of a solid-state image pickup element provided with a color filter array, and one screen of each color component extracted by the extraction means when white is picked up by the solid-state image pickup element. An average value calculating means for obtaining the average of the above, and a ratio calculating means for respectively obtaining each ratio between the average of one screen of a predetermined color component and the average of each of the other color components from the calculation result of this average value calculating means; And a weighting unit that weights each color component from the extraction unit so that each becomes a predetermined value.
JP5108428A 1993-05-10 1993-05-10 Electronic endoscope device Withdrawn JPH06315463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5108428A JPH06315463A (en) 1993-05-10 1993-05-10 Electronic endoscope device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5108428A JPH06315463A (en) 1993-05-10 1993-05-10 Electronic endoscope device

Publications (1)

Publication Number Publication Date
JPH06315463A true JPH06315463A (en) 1994-11-15

Family

ID=14484528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5108428A Withdrawn JPH06315463A (en) 1993-05-10 1993-05-10 Electronic endoscope device

Country Status (1)

Country Link
JP (1) JPH06315463A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003093336A (en) * 2001-09-26 2003-04-02 Toshiba Corp Electronic endoscope apparatus
JP2005185305A (en) * 2003-12-24 2005-07-14 Pentax Corp Electronic endoscope apparatus
US7221388B2 (en) 1999-02-04 2007-05-22 Olympus Optical Co., Ltd. Endoscope image sensing method and apparatus
JP2008263314A (en) * 2007-04-10 2008-10-30 Sony Corp Imaging device and imaging method
JP2012035090A (en) * 2011-09-20 2012-02-23 Toshiba Corp Electronic endoscope apparatus
JP2012143464A (en) * 2011-01-13 2012-08-02 Hoya Corp White balance adjustment system and endoscope processor
JP2014012190A (en) * 2013-08-15 2014-01-23 Toshiba Corp Electronic endoscope apparatus
EP3709254A4 (en) * 2017-11-06 2020-10-21 EIZO Corporation Image processing device, image processing method, and image processing program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7221388B2 (en) 1999-02-04 2007-05-22 Olympus Optical Co., Ltd. Endoscope image sensing method and apparatus
JP2003093336A (en) * 2001-09-26 2003-04-02 Toshiba Corp Electronic endoscope apparatus
JP2005185305A (en) * 2003-12-24 2005-07-14 Pentax Corp Electronic endoscope apparatus
JP4554920B2 (en) * 2003-12-24 2010-09-29 Hoya株式会社 Electronic endoscope device
JP2008263314A (en) * 2007-04-10 2008-10-30 Sony Corp Imaging device and imaging method
JP2012143464A (en) * 2011-01-13 2012-08-02 Hoya Corp White balance adjustment system and endoscope processor
JP2012035090A (en) * 2011-09-20 2012-02-23 Toshiba Corp Electronic endoscope apparatus
JP2014012190A (en) * 2013-08-15 2014-01-23 Toshiba Corp Electronic endoscope apparatus
EP3709254A4 (en) * 2017-11-06 2020-10-21 EIZO Corporation Image processing device, image processing method, and image processing program
US11363245B2 (en) 2017-11-06 2022-06-14 Eizo Corporation Image processing device, image processing method, and image processing program

Similar Documents

Publication Publication Date Title
US6999119B1 (en) Image-capturing element, image-capturing circuit for processing signal from image-capturing element, image-capturing device, driving method of image-capturing element
JP3268891B2 (en) Endoscope imaging device
US6879339B2 (en) Electronic endoscope system with color-balance alteration process
EP2586359B1 (en) Endoscope apparatus
KR101050887B1 (en) Endoscope image processing device and endoscope device
US6677992B1 (en) Imaging apparatus offering dynamic range that is expandable by weighting two image signals produced during different exposure times with two coefficients whose sum is 1 and adding them up
JPH05277065A (en) Electronic endoscope apparatus
JPS63290539A (en) Image input apparatus for endoscope
JPH07240931A (en) Color sequential electronic camera
JPH11346327A (en) Image pickup device
JPH06315463A (en) Electronic endoscope device
JP4217313B2 (en) Electronic endoscope device
KR100595251B1 (en) Color reproduction apparatus and method for display
JP4812282B2 (en) Image processing method and apparatus, and imaging apparatus
JP2003204932A (en) Endoscopic imaging system
JP3128068B2 (en) Signal processing device
JPH11164195A (en) Image-pickup device
JP2007049533A (en) Imaging apparatus and electronic information equipment
JP2000350231A (en) Video signal processor
JP4575626B2 (en) Electronic endoscope apparatus and pseudo dye distribution processing apparatus for electronic endoscope
JP3059920B2 (en) Imaging device
JP2003348442A (en) Television camera
JPH08214291A (en) Electronic endoscope device
US8243128B2 (en) Electronic endoscope
JP4475936B2 (en) Electronic endoscope device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000801