JP2710404B2 - Color shift prevention device - Google Patents

Color shift prevention device

Info

Publication number
JP2710404B2
JP2710404B2 JP1108046A JP10804689A JP2710404B2 JP 2710404 B2 JP2710404 B2 JP 2710404B2 JP 1108046 A JP1108046 A JP 1108046A JP 10804689 A JP10804689 A JP 10804689A JP 2710404 B2 JP2710404 B2 JP 2710404B2
Authority
JP
Japan
Prior art keywords
freeze
image
signal
circuit
color shift
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.)
Expired - Fee Related
Application number
JP1108046A
Other languages
Japanese (ja)
Other versions
JPH02286125A (en
Inventor
一成 中村
晃 楠元
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 Optic 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 Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP1108046A priority Critical patent/JP2710404B2/en
Publication of JPH02286125A publication Critical patent/JPH02286125A/en
Application granted granted Critical
Publication of JP2710404B2 publication Critical patent/JP2710404B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は検出された色ずれ量が設定値以上の場合に再
フリーズを行わせる手段を設けた色ずれ防止装置に関す
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color misregistration prevention apparatus provided with a means for re-freezing when a detected color misregistration amount is equal to or more than a set value.

[従来技術] 近年、固体撮像素子を用いた撮像手段がテレビジョン
カメラとか内視鏡に広く用いられるようになった。
[Prior Art] In recent years, imaging means using a solid-state imaging device has been widely used in television cameras and endoscopes.

上記撮像手段を用いると、モニタ画面上に表示する画
像の記録とか再生あるいは画像処理して注目する特徴を
顕著化することも容易である。
The use of the image pickup means makes it easy to record, reproduce, or perform image processing on an image displayed on the monitor screen to make the feature of interest noticeable.

例えば内視鏡等に用いた場合、詳しく診断するために
画像をフリーズして静止画にする操作が行われることが
あり、この場合色ずれがある画像でフリーズしてしまう
ことが起こり得る。
For example, when used for an endoscope or the like, an operation of freezing an image to make a still image may be performed in order to make a detailed diagnosis. In this case, an image having a color shift may freeze.

このため、例えば特開昭61−717191号公報では静止画
像の色ずれを補正して、異なる時刻で撮像された画像の
差に基づいて、画像の色ずれを検出し、その補正量を撮
像者に警告し、撮像者はその警告に基づいて色ずれを補
正する従来例を開示している。
For this reason, for example, in Japanese Patent Application Laid-Open No. 61-717191, a color shift of a still image is corrected, a color shift of the image is detected based on a difference between images captured at different times, and the correction amount is determined by the photographer. , And a photographer discloses a conventional example in which color shift is corrected based on the warning.

又、特開昭63−167576号では画像にずれがある場合に
はフリーズがかからず画像にずれがない場合のみフリー
ズをかけることのできる画像フリーズ装置が開示されて
いる。
Further, Japanese Patent Application Laid-Open No. 63-167576 discloses an image freeze apparatus which does not freeze when an image is shifted and can freeze only when the image is not shifted.

[発明が解決しようとする問題点] 上記特開昭61−717191号では、撮像者は色ずれが超こ
るたびに補正を行わなければならず、不便であった。
[Problems to be Solved by the Invention] In the above-mentioned Japanese Patent Application Laid-Open No. 61-717191, the photographer must perform correction every time the color misregistration is excessive, which is inconvenient.

一方、特開昭60−26986号では、フリーズ用画像信号
を記憶するフレームメモリと、このフレームメモリを制
御する制御回路と、この制御回路を動作するスイッチ等
を設けた操作パネルとを設けたフリーズ回路を提案し
た。
On the other hand, Japanese Patent Application Laid-Open No. 60-26986 discloses a freeze system having a frame memory for storing a freeze image signal, a control circuit for controlling the frame memory, and an operation panel provided with a switch for operating the control circuit. The circuit was proposed.

従って、モニタを観察する観察者がフリーズをかけた
い時に、操作パネル上のフリーズスイッチを入れると、
モニタの画像にずれが多くてもフリーズがかかり、観察
者はフリーズをかけ直さなければならず面倒である。
Therefore, when the observer who observes the monitor wants to freeze, when the freeze switch on the operation panel is turned on,
Even if there is much shift in the image on the monitor, the image is frozen, and the observer must restart the freeze, which is troublesome.

一方、特開昭63−167576号のものでは、画像のずれを
検出した後、フリーズをかけるため、実際にフリーズの
かかった静止画像と画像のずれがないと判断した画像と
が異なるため、必ずしも画像ずれのない静止画像が得ら
れるものでない。
On the other hand, in Japanese Patent Application Laid-Open No. 63-167576, a freeze is applied after an image shift is detected, so that a still image actually frozen and an image determined to have no image shift are different from each other. A still image without image shift cannot be obtained.

本発明は上述した点にかんがみてなされたもので、簡
単な構成で確実に画像ずれの少ない静止画像を得ること
とのできる色ずれ防止装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a color misregistration preventing apparatus capable of reliably obtaining a still image with a small image misregistration with a simple configuration.

[問題点を解決する手段及び作用] 本発明ではフリーズ指示信号に基づいて画像記憶手段
に画像信号を一時フリーズさせ、そのフリーズした画像
信号の色ずれ量が設定値以内の場合には、そのフリーズ
を保持し、設定値以上の場合にはフリーズ解除を行い、
次にフリーズした画像信号に対して同様の動作を行う再
フリーズ手段を設けることにより、色ずれの画像信号を
確実に静止画として表示できるようにしている。
[Means for Solving the Problems and Action] In the present invention, the image signal is temporarily frozen in the image storage means based on the freeze instruction signal, and when the color shift amount of the frozen image signal is within a set value, the freeze is performed. Is held, and if it is more than the set value, the freeze is released,
Next, by providing a re-freezing means for performing the same operation on the frozen image signal, it is possible to reliably display the color-shifted image signal as a still image.

[実施例] 以下、図面を参照して本発明を具体的に説明する。EXAMPLES Hereinafter, the present invention will be described specifically with reference to the drawings.

第1図ないし第3図は本発明の第1実施例に係り、第
1図は第1実施例を備えた内視鏡装置の構成を示すブロ
ック図、第2図は第1実施例の構成を示すブロック図、
第3図は内視鏡装置の全体図である。
1 to 3 relate to a first embodiment of the present invention, FIG. 1 is a block diagram showing a configuration of an endoscope apparatus provided with the first embodiment, and FIG. 2 is a configuration of the first embodiment. A block diagram showing the
FIG. 3 is an overall view of the endoscope apparatus.

第3図に示すように第1実施例を備えた内視鏡装置1
は、撮像手段に備えた電子内視鏡2と、この電子内視鏡
2に照明光を供給する光源装置3及び信号処理回路4と
を内臓した、ビデオプロセッサ5と、このビデオプロセ
5と接続され、表示手段としてのカラーモニタ6と、前
記ビデオプロセッサ5と接続された第1実施例の色ずれ
防止ユニット7とから構成される。
Endoscope apparatus 1 having a first embodiment as shown in FIG.
Is a video processor 5 including an electronic endoscope 2 provided in an imaging means, a light source device 3 for supplying illumination light to the electronic endoscope 2 and a signal processing circuit 4, and a connection to the video processor 5. The video processor 5 comprises a color monitor 6 as a display means and a color misalignment prevention unit 7 of the first embodiment connected to the video processor 5.

上記電子内視鏡2は、細長で例えば可撓性の挿入部8
を有し、この挿入部8の後端に太径の操作部9が連設さ
れている。前記操作部9から側方に可撓性のケーブル11
が延設され、このケーブル11の先端部にコネクタ12が設
けられている。この電子内視鏡2は、上記コネクタ12を
介してビデオプロセッサ5に接続できるようにしてあ
る。
The electronic endoscope 2 has an elongated, for example, flexible insertion portion 8.
A large-diameter operation section 9 is connected to the rear end of the insertion section 8. A flexible cable 11 extends laterally from the operation unit 9.
Is extended, and a connector 12 is provided at a distal end portion of the cable 11. The electronic endoscope 2 can be connected to the video processor 5 via the connector 12.

上記挿入部8の先端側には、硬性の先端部13及びこの
先端部13に隣接する後方側に湾曲可能な湾曲部14が順次
設けられている。また、上記操作部9に設けられた湾曲
操作ノブ15を回動操作することによって、上記湾曲部14
を左右方向あるいは上下方向に湾曲できるようになって
いる。また、上記操作部9には、上記挿入部8内に設け
られた処置具チャンネルに連通する挿入口16が設けられ
ている。
On the distal end side of the insertion portion 8, a rigid distal end portion 13 and a bending portion 14 that can bend rearward and adjacent to the distal end portion 13 are sequentially provided. By rotating a bending operation knob 15 provided on the operation section 9, the bending section 14 is rotated.
Can be bent in the horizontal direction or the vertical direction. The operation section 9 is provided with an insertion port 16 communicating with a treatment instrument channel provided in the insertion section 8.

第1図に示すように、電子内視鏡2の挿入部8内に
は、照明光を伝達するライトガイド17が挿通されてい
る。このライトガイド17は、第3図に示すケーブル11内
を挿通され、ビデオプロセッサ5に接続することによ
り、このライトガイド71の入射側となる端面には光源装
置3から色順次の照明光が供給される。
As shown in FIG. 1, a light guide 17 for transmitting illumination light is inserted into the insertion section 8 of the electronic endoscope 2. The light guide 17 is inserted through the cable 11 shown in FIG. 3 and is connected to the video processor 5 so that color-sequential illumination light is supplied from the light source device 3 to the end face of the light guide 71 on the incident side. Is done.

電源18から供給される電力により発光するランプ10の
照明光は、モータ21によって回転駆動される回転フィル
タ22を通すことにより、その回転フィルタ22の周方向に
取付けられた赤,緑,青の各色透過フィルタ23R,23G,23
Bを順次通した赤,緑,青の各波長の光、つまり色順次
の光にされ、コンデンサレンズ24を介してライトガイド
17の端面に照射される。
Illumination light of the lamp 10 which emits light by power supplied from the power supply 18 passes through a rotary filter 22 which is driven to rotate by a motor 21, so that each color of red, green and blue attached in the circumferential direction of the rotary filter 22. Transmission filters 23R, 23G, 23
Light of each wavelength of red, green, and blue sequentially passing through B, that is, light of color sequence, is passed through a condenser lens 24 to a light guide.
Irradiated on the 17 end faces.

上記ランプ19は、紫外線から赤外線に至る広帯域の光
を発光するもので、キセノンランプとかストロボランプ
等を用いることができる。
The lamp 19 emits light in a wide band from ultraviolet rays to infrared rays, and a xenon lamp, a strobe lamp, or the like can be used.

尚、モータ21はモータドライバ25によって、その回転
速度が一定となるように駆動制御される。
The driving of the motor 21 is controlled by the motor driver 25 so that the rotation speed thereof is constant.

上記ライトガイド17によって、伝送された照明光は挿
入部8の先端側の端面から前方に出射される。この照明
光で照明された被写体は、挿入部8の先端側に取付けた
対物レンズ27によって、その焦点面に配設された固体撮
像素子としてのCCD28に結像される。
The illumination light transmitted by the light guide 17 is emitted forward from the end face on the distal end side of the insertion section 8. The object illuminated with the illumination light is imaged by a CCD 28 as a solid-state imaging device disposed on a focal plane of the object by an objective lens 27 attached to the distal end side of the insertion section 8.

このCCD28は、可視領域を含め、紫外線から赤外領域
に至る広い波長域に感度を有し、このCCD28に結像され
る光学像を光電変換し、信号電荷として蓄積する。
The CCD 28 has sensitivity in a wide wavelength range from the ultraviolet region to the infrared region including the visible region, and photoelectrically converts an optical image formed on the CCD 28 to accumulate it as signal charges.

しかして、信号処理回路4内のドライバ29から、信号
線30bを介して伝送された駆動パルスにより、CCD28の信
号電荷は読出され、信号線30aを介して信号処理回路4
内のプリアンプ31に入力される。尚、電子スコープ2の
例えば操作部9には、フリーズ指示/フリーズ解除指示
を行うためのフリーズ/フリーズ解除ボタン32が設けて
ある。
Thus, the signal charge of the CCD 28 is read out from the driver 29 in the signal processing circuit 4 by the drive pulse transmitted via the signal line 30b, and the signal charge of the CCD 28 is read out via the signal line 30a.
Is input to the preamplifier 31 in the inside. The operation unit 9 of the electronic scope 2 is provided with a freeze / freeze release button 32 for giving a freeze instruction / freeze release instruction.

上記プリアンプ31で増幅された映像信号は、プロセス
回路33に入力され、γ補正及びホワイトバランス等の信
号処理が施され、A/Dコンバータ34によって、ディジタ
ル信号に変換されるようになっている。このディジタル
の映像信号は、セレクト回路35によって、例えば赤
(R),緑(G),青(B)の各色に対応する3つのR
用メモリ36R,G用メモリ36G,B用メモリ36Bに選択的に記
憶されるようになっている。上記メモリ36R,36G,36Bに
記憶された信号データは同時に読出され、D/Aコンバー
タ37によってアナログ信号に変換され、R,G,B色信号と
して出力されると共に、エンコーダ38に入力され、この
エンコーダ38からNTSCコンポジット信号として出力され
る。
The video signal amplified by the preamplifier 31 is input to a process circuit 33, subjected to signal processing such as γ correction and white balance, and converted into a digital signal by an A / D converter. The digital video signal is converted into three R signals corresponding to, for example, red (R), green (G), and blue (B) by the selection circuit 35.
The memory 36R, the memory 36G for G, and the memory 36B for B are selectively stored. The signal data stored in the memories 36R, 36G, and 36B are simultaneously read, converted into analog signals by a D / A converter 37, output as R, G, and B color signals, and input to an encoder 38. The signal is output from the encoder 38 as an NTSC composite signal.

上記エンコーダ38から出力されるコンポジットビデオ
信号又はRGB信号は、カラーモニタ6に入力され、被写
体像をカラー表示する。尚、例えばD/Aコンバータ37の
前又は後には、患者データ、日付等のデータを映像信号
に重畳するスーパーインポーズ回路(図示略)が設けて
ある。
The composite video signal or RGB signal output from the encoder 38 is input to the color monitor 6 and displays the subject image in color. For example, before or after the D / A converter 37, a superimpose circuit (not shown) for superimposing data such as patient data and date on the video signal is provided.

上記信号処理回路4内には、システム全体のタイミン
グを作るタイミングジェネレータ39が設けられ、このタ
イミングジェネレータ39の出力信号によって、モータド
ライバ23、ドライバ29及びメモリコントローラ40の各回
路間の同期が取られているとともに、RGB信号の同期信
号SYNCを外部に出力できるようにしてある。
In the signal processing circuit 4, a timing generator 39 for generating the timing of the entire system is provided, and the output signals of the timing generator 39 synchronize the circuits of the motor driver 23, the driver 29, and the memory controller 40. In addition, a synchronization signal SYNC of the RGB signal can be output to the outside.

上記メモリコントローラ40は、R,G,B用メモリ36R,36
G,36Bに対し、色信号データの読出し/書込みの制御を
行う。
The memory controller 40 includes R, G, B memories 36R, 36R.
G / 36B is controlled to read / write color signal data.

又、このメモリコントローラ40は、端子41を経て入力
されるフリーズ指令信号/フリーズ解除指令信号FC/FCC
により、メモリ36R,36G,36Bのフリーズ/フリーズ解除
の制御を行う。
The memory controller 40 is provided with a freeze command signal / freeze release command signal FC / FCC input through a terminal 41.
Thus, the freeze / freeze control of the memories 36R, 36G, 36B is performed.

尚、フリーズ/フリーズ解除ボタン32は、信号線30c
を介して端子42に接続されている。
The freeze / freeze release button 32 is connected to the signal line 30c.
Is connected to the terminal 42 via the.

しかして、ビデオプロセッサ5に色ずれ防止ユニット
7のコネクタ43を接続することにより、色ずれ防止ユニ
ット7には例えば2つの色信号G,Bと、同期信号SYNC、
ボタン32のフリーズ指示/フリーズ解除指示信号FD/FCD
とが入力されると共に、メモリコントローラ40にフリー
ズ指令/フリーズ解除指令信号FC/FCCを出力できるよう
にしてある。
Thus, by connecting the connector 43 of the color shift prevention unit 7 to the video processor 5, the color shift prevention unit 7 has, for example, two color signals G and B and a synchronization signal SYNC,
Button 32 freeze / freeze release signal FD / FCD
Is input, and a freeze command / freeze release command signal FC / FCC can be output to the memory controller 40.

この色ずれ防止ユニット7はフリーズ/フリーズ解除
ボタン32によって、フリーズ指示が行われると、一時メ
モリコントローラ40にフリーズ指令信号FCを出力すると
共に、2つの色信号G,Bの相関量を求めて色ずれ量の検
出を行い、この色ずれ量が設定値以下の色ずれ量の場合
にはメモリコントローラ40にフリーズ指令信号FCを保持
させる。又、検出した色ずれ量が設定値以上の場合には
フリーズ解除指令信号FCCを出力し、その後に再びフリ
ーズ指令信号FCを一時的に出力して同様の動作を行い、
(フリーズ解除指示信号FCDが入力されない限り)、検
出した色ずれ量が設定値以下となる画像を最終的にフリ
ーズする機能を有する。
When a freeze instruction is given by the freeze / freeze release button 32, the color misregistration prevention unit 7 outputs a freeze command signal FC to the temporary memory controller 40 and obtains a correlation amount between the two color signals G and B to obtain a color. The shift amount is detected, and when the color shift amount is equal to or smaller than the set value, the memory controller 40 causes the freeze command signal FC to be held. If the detected color misregistration amount is equal to or greater than the set value, a freeze release command signal FCC is output, and then the freeze command signal FC is temporarily output again to perform the same operation.
(Unless the freeze release instruction signal FCD is input), the image processing apparatus has a function of finally freezing an image in which the detected color shift amount is equal to or less than the set value.

次に第2図を参照して、色ずれ防止ユニット7を説明
する。
Next, the color misregistration prevention unit 7 will be described with reference to FIG.

同期信号SYNCは、タイミング発生回路51に入力され、
各回路で必要とされるタイミング信号としてのマスクパ
ルスMP、クランプパルスCP及びリセットパルスRPを発生
する。
The synchronization signal SYNC is input to the timing generation circuit 51,
A mask pulse MP, a clamp pulse CP, and a reset pulse RP are generated as timing signals required in each circuit.

又、色信号R,G,B内、内視鏡画像として相関の高い2
つの色信号G,Bはそれぞれバッファ回路52a,52bに入力さ
れる。
In addition, the color signals R, G, and B have a high correlation as an endoscope image.
The two color signals G and B are input to buffer circuits 52a and 52b, respectively.

上記バッファ回路52a,52bから出力された各色信号
は、逆がγ補正を行う逆γ補正回路53a,53bに入力さ
れ、逆γ補正が行われた後、それぞれマスク回路54a,54
bに入力される。各マスク回路54a,54bには、第3図に示
すように患者氏名その他のデータ、日付等のデータ領域
6Aをマスクし、内視鏡画像6B部分の映像信号部分を通す
ようにするためのマスクパルスMPが印加され、該マスク
パルスMPに同期して内視鏡画像6B部分の映像信号部分が
切り出され、次段のAGC回路55a,55bに入力される。
The respective color signals output from the buffer circuits 52a and 52b are input to inverse γ correction circuits 53a and 53b which perform inverse γ correction, and after the inverse γ correction is performed, the mask circuits 54a and 54, respectively.
Entered in b. As shown in FIG. 3, each mask circuit 54a, 54b has a data area such as a patient name and other data and a date.
A mask pulse MP for masking 6A and passing the video signal portion of the endoscope image 6B is applied, and the video signal portion of the endoscope image 6B is cut out in synchronization with the mask pulse MP. Are input to the next-stage AGC circuits 55a and 55b.

上記AGC回路55a,55bは、2つの色信号G,Bの映像レベ
ルを合わせる機能を行い、このレベルが揃えられた各信
号はそれぞれクランプ回路56a,56bに入力される。各ク
ランプ回路56a,56bには、タイミングパルス発生回路51
で生成されたクランプパルスCPにより、各信号のペデス
タルレベルがクランプされ、ペデスタルレベルが揃えら
れる。
The AGC circuits 55a and 55b perform a function of matching the video levels of the two color signals G and B, and the signals whose levels are matched are input to the clamp circuits 56a and 56b, respectively. Each clamp circuit 56a, 56b includes a timing pulse generation circuit 51.
The pedestal level of each signal is clamped by the clamp pulse CP generated in step (1), and the pedestal levels are aligned.

上記クランプ回路56a,56bの出力信号は、減算回路57
に入力され、両信号の差分が検出され、さらに次段の絶
対値回路58によって、差分の絶対値が算出される。
The output signals of the clamp circuits 56a and 56b are
, The difference between the two signals is detected, and the absolute value circuit 58 at the next stage calculates the absolute value of the difference.

通常の内視鏡画像は、G,B画像成分間の相関が高いの
で、色ずれ量が小さい場合には絶対値回路58の出力値が
小さくなり、一方色ずれ量が大きい場合には絶対値回路
58の出力値は小さくなる。
In a normal endoscope image, the correlation between the G and B image components is high, so the output value of the absolute value circuit 58 is small when the amount of color shift is small, while the absolute value is large when the amount of color shift is large. circuit
The output value of 58 becomes smaller.

つまり絶対値回路58の出力値は対応する2つの画素の
色ずれ量を表わす色ずれ量検出信号となる。
That is, the output value of the absolute value circuit 58 becomes a color shift amount detection signal indicating the color shift amount of the corresponding two pixels.

上記絶対値回路58の出力信号は、マスク回路59に入力
され、必要とされる映像信号以外のノイズ分を除去する
マスクパルスMPによりカットされ、積分回路60に入力さ
れる。
The output signal of the absolute value circuit 58 is input to a mask circuit 59, cut by a mask pulse MP for removing a noise component other than a required video signal, and input to an integration circuit 60.

この積分回路60は、検出制御回路61の制御のもとで、
1画面分の色ずれ量を積分して1画面での色ずれ量を求
め、次段の比較回路62に出力する動作を行う。
This integration circuit 60 is controlled by the detection control circuit 61.
An operation is performed in which the color shift amount for one screen is integrated to obtain the color shift amount for one screen and output to the comparison circuit 62 in the next stage.

上記検出制御回路61には、タイミング発生回路51から
のリセットパルスRPが入力され、このリセットパルスRP
を積分回路60に出力することにより、積分回路60が以前
に積分した色ずれ量をリセットさせ、次の1画面分の色
ずれ信号を積分する動作を行わせる。
The reset pulse RP from the timing generation circuit 51 is input to the detection control circuit 61, and the reset pulse RP
Is output to the integration circuit 60 to reset the color misregistration amount previously integrated by the integration circuit 60, and perform an operation of integrating the color misregistration signal for the next one screen.

上記積分回路60の出力信号が入力される比較回路62に
は、さらに基準値設定回路64からフリーズを許可する上
限の色ずれ量に対応する基準値電圧が入力され、積分回
路60からの色ずれ量と比較する。しかして、積分回路60
からの色ずれ量と比較する。しかして、積分回路60から
の色ずれ量が基準値以内、つまり許容される色ずれ量以
内の場合には、比較回路62は“H"レベルのフリーズ許可
信号を出力し、基準値以上の場合には“L"レベルの信
号、フリーズを解除させる信号を出力する。
The comparison circuit 62 to which the output signal of the integration circuit 60 is input further receives a reference value voltage corresponding to the upper limit of the color shift amount permitting the freeze from the reference value setting circuit 64, and the color shift from the integration circuit 60. Compare with quantity. Thus, the integration circuit 60
Is compared with the amount of color misregistration. When the color shift amount from the integrating circuit 60 is within the reference value, that is, within the allowable color shift amount, the comparison circuit 62 outputs an "H" level freeze permission signal. Outputs an "L" level signal and a signal for releasing the freeze.

上記比較回路62の出力は、フリーズ&フリーズ解除回
路63に入力される。
The output of the comparison circuit 62 is input to a freeze & freeze release circuit 63.

このフリーズ&フリーズ解除回路63には、さらに信号
処理回路4を介して、フリーズ/フリーズ解除ボタン32
からのフリーズ指示/フリーズ解除指示信号FD/FCDが入
力される。このフリーズ&フリーズ解除回路63は、フリ
ーズ/フリーズ解除ボタン32によるフリーズ指示信号FD
が入力されると、一旦フリーズ指令信号FCをメモリコン
トローラ40に出力し、R用,G用,B用メモリ36R,36G,36B
を一旦フリーズ状態に設定する。つまり書込みを禁止
し、新しい画像データに更新されるのを禁止(停止)す
る。次に、検出制御回路61に信号を送り、積分回路60を
リセットさせ、一時的にフリーズされた画像信号に対す
る色ずれ量を1画面分について積分させる。しかして、
このフリーズされた画像信号に対する積分回路60の積分
信号を比較回路62により、基準値と比較し、比較回路62
の出力が“H"レベルの場合にはフリーズ&フリーズ解除
回路63からフリーズ許可信号又はフリーズ指令信号FCを
続けて出力し、一時的なフリーズ画像をフリーズ状態に
保持する。一方、この比較回路62の出力が“L"レベルの
場合には、フリーズ&フリーズ解除回路63はフリーズ解
除指令信号FCCを出力し、メモリコントローラ40を介し
てメモリ36R,36G,36Bをフリーズ解除状態にし、再びフ
リーズ指令信号FCを出力する。つまり、新しい画像デー
タの書込みを行わせる。尚、フリーズ解除が行われる
と、検出制御回路61はリセットパルスRPを積分回路60に
出力し、次のフリーズ画像に対する色ずれ検出動作を行
うまでの間、色ずれ検出動作を停止させる。このフリー
ズ指令信号FCにより、新しい画像データがR用,G用,B用
メモリ36R,36G,36Bに1フレーム分格納されると、この
フリーズされた画像に対する色ずれ量検出及びその結果
フリーズするかいないかの判断が完了するまで一旦フリ
ーズ状態に設定される。
The freeze / freeze release circuit 63 is further provided with a freeze / freeze release button 32 via the signal processing circuit 4.
Instruction / freeze instruction signal FD / FCD is input. The freeze & freeze release circuit 63 is provided with a freeze instruction signal FD by the freeze / freeze release button 32.
Is input, the freeze command signal FC is output once to the memory controller 40, and the R, G, and B memories 36R, 36G, 36B
Is temporarily set to the frozen state. That is, writing is prohibited, and updating to new image data is prohibited (stopped). Next, a signal is sent to the detection control circuit 61, the integration circuit 60 is reset, and the color shift amount with respect to the temporarily frozen image signal is integrated for one screen. Then
The integration signal of the integration circuit 60 with respect to the frozen image signal is compared with a reference value by a comparison circuit 62.
Is at the "H" level, the freeze permission signal or the freeze command signal FC is continuously output from the freeze & freeze release circuit 63, and the temporary freeze image is held in the freeze state. On the other hand, when the output of the comparison circuit 62 is at "L" level, the freeze & freeze release circuit 63 outputs the freeze release command signal FCC, and the memories 36R, 36G, 36B are in the freeze release state via the memory controller 40. And outputs the freeze command signal FC again. That is, writing of new image data is performed. When the freeze is released, the detection control circuit 61 outputs a reset pulse RP to the integration circuit 60, and stops the color shift detection operation until the color shift detection operation for the next frozen image is performed. When one frame of new image data is stored in the R, G, and B memories 36R, 36G, and 36B by the freeze command signal FC, the amount of color misregistration for the frozen image and the result of the freeze are determined. The state is temporarily set to the freeze state until the determination as to whether or not it is present is completed.

しかして、上述のように、このフリーズした画像に対
してその色ずれ量を検出し、基準値以下の場合にはその
フリーズ画像をフリーズ保持し、基準値以上の場合には
フリーズ解除して新しい画像を取込み、同様の動作を繰
り返す。
Then, as described above, the color misregistration amount of the frozen image is detected, and the frozen image is kept frozen if the value is equal to or less than the reference value, and the frozen image is released and released if the value is equal to or more than the reference value. An image is captured and the same operation is repeated.

従って、フリーズ指示を行って若干の時間の後には、
色ずれ量の少ないフリーズ画像を得ることができる。
Therefore, some time after giving the freeze instruction,
A frozen image with a small amount of color shift can be obtained.

フリーズ画像を動画に戻すには、フリーズ/フリーズ
解除ボタン32を押圧してフリーズ解除指示信号FCDを出
力すると、フリーズ&フリーズ解除回路回路63はメモリ
コントローラ40を介してR用,G用,B用メモリ36R,36G,36
Bのフリーズ状態を解除し、動画モードにする。
To return the frozen image to a moving image, press the freeze / freeze release button 32 to output the freeze release instruction signal FCD, and the freeze & freeze release circuit circuit 63 will use the memory controller 40 for R, G, B Memory 36R, 36G, 36
Release the freeze state of B and switch to movie mode.

この第1実施例によれば、使用者としての医師はフリ
ーズ画像を得たと思う部位のフレーミングを決定した
後、フリーズ/フリーズ解除ボタン32を押圧してフリー
ズ指示信号FDを出力すれば、その部位の画像を一旦フリ
ーズして、その画像の色ずれ量を検出し、色ずれ量が少
ないと判断される場合にはフリーズを保持し、色ずれ量
が大きい場合には、フリーズ解除出力が出力されない限
り(フリーズ中止の指示を行わない限り)フリーズを解
除して、再び新しい画像に対して基準値以下の色ずれ量
の画像を検出する動作を繰り返し行い、色ずれ量の少な
いフリーズ画像を保持することになる。
According to the first embodiment, after the physician as the user determines the framing of the portion where the frozen image is considered to be obtained, and presses the freeze / freeze release button 32 to output the freeze instruction signal FD, Is temporarily frozen, the amount of color misregistration of the image is detected, and if the amount of color misregistration is determined to be small, the freeze is held. If the amount of color misregistration is large, the freeze release output is not output. As long as the freeze is canceled (unless a freeze stop instruction is given), the operation of detecting an image with a color shift amount equal to or smaller than the reference value for a new image is repeated, and a frozen image with a small color shift amount is held. Will be.

従って、この第1実施例によれば、色ずれ量の判断手
段で色ずれ量が少ないと判断されたその画像をフリーズ
画像として確実に保持できる。
Therefore, according to the first embodiment, the image whose color shift amount is determined to be small by the color shift amount determining means can be reliably held as a frozen image.

又、この第1実施例によれば、新たにメモリ手段を設
けることなく、簡単な回路構成にて色ずれ量少ない静止
画(フリーズ画)を得られる。またこの色ずれ量の少な
いフリーズ画は、1回のフリーズ指示動作にて得られ
る。
Further, according to the first embodiment, a still image (freeze image) with a small amount of color shift can be obtained with a simple circuit configuration without newly providing a memory unit. A freeze image with a small amount of color shift can be obtained by one freeze instruction operation.

従って、面順次式の内視鏡における操作性の向上の可
能にすると共に、色ずれ量の少ない静止画により診断能
の向上にも寄与できる。
Therefore, it is possible to improve the operability of the frame sequential endoscope, and to contribute to the improvement of the diagnostic performance with a still image having a small color shift amount.

第4図は本発明の第2実施例の色ずれ防止ユニット71
を示す。
FIG. 4 shows a color misalignment prevention unit 71 according to a second embodiment of the present invention.
Is shown.

この第2実施例は第2図に示す第1実施例において、
クランプ回路56a,56bの出力信号は除算回路72に入力さ
れ、2つの色信号G,B間の比が算出される。算出された
比の内、分母がノイズレベル、つまり原画像において黒
レベル又はこれに近いものは算出結果にエラーを生じさ
せるため、ノイズレベル等の影響を取り除くべく、レベ
ル制限回路73を通し、算出した映像信号の比のレベルを
制御してマスク回路59に送る。
This second embodiment differs from the first embodiment shown in FIG.
The output signals of the clamp circuits 56a and 56b are input to the division circuit 72, and the ratio between the two color signals G and B is calculated. Of the calculated ratios, the denominator is a noise level, that is, a black level in the original image or a level close to the black level causes an error in the calculation result. The level of the video signal ratio is controlled and sent to the mask circuit 59.

このマスク回路59の出力は、積分回路60に入力され、
この積分回路60の出力は、比較回路62に入力される。こ
の比較回路62の出力は、フリーズ&フリーズ解除回路63
に入力されると共に、タイマ回路74に入力される。この
タイマ回路74は、比較回路62の出力が“L"レベルの場合
にはフリーズ&フリーズ解除回路63から出力される信号
を遅延してこのフリーズ&フリーズ解除回路63に出力
し、比較回路62の出力信号が“H"レベルの場合には遅延
動作を停止する。
The output of the mask circuit 59 is input to the integration circuit 60,
The output of the integration circuit 60 is input to the comparison circuit 62. The output of the comparison circuit 62 is a freeze & freeze release circuit 63
And input to the timer circuit 74. When the output of the comparison circuit 62 is at the “L” level, the timer circuit 74 delays the signal output from the freeze and freeze release circuit 63 and outputs the delayed signal to the freeze and freeze release circuit 63. When the output signal is at "H" level, the delay operation is stopped.

つまり色ずれ量が大きい場合には、タイマ回路74によ
って、一定間隔で一時的に動画及び静止画の表示を行わ
せる。そしてこの静止画の場合にその色ずれ量が基準値
以下か否かの判断を行い、基準値以上の場合には、この
動画及び静止画の表示を引き続き行い、基準値以下の色
ずれ量の場合には、タイマ回路74の遅延動作を停止させ
ると共に、フリーズ&フリーズ解除回路63からフリーズ
指令信号FCCを出力させてフリーズ状態を保持させる。
That is, when the amount of color misregistration is large, the timer circuit 74 causes the moving image and the still image to be displayed temporarily at regular intervals. Then, in the case of this still image, it is determined whether or not the color misregistration amount is equal to or less than the reference value. If the color misregistration amount is equal to or greater than the reference value, the moving image and the still image are continuously displayed. In this case, the delay operation of the timer circuit 74 is stopped, and the freeze command signal FCC is output from the freeze & freeze release circuit 63 to hold the freeze state.

この第2実施例の概略の動作は第5図のようになる。 The schematic operation of the second embodiment is as shown in FIG.

第5図(a)に示すようにフリーズ/フリーズ解除ボ
タン32の操作でフリーズ指示信号FDが出力されると、フ
リーズ&フリーズ解除回路63はリセットパルスRPに同期
して、同図(b)に示す“H"のフリーズ指令信号FCを出
力する。この信号FCにより、メモリ36R,36G,36Bは同図
(d)に示すように静止画モードになる。この静止画モ
ードの期間は、少くともこの静止画に対して色ずれ検出
を行い、その判断結果が行われる期間続く。
When the freeze instruction signal FD is output by operating the freeze / freeze release button 32 as shown in FIG. 5 (a), the freeze & freeze release circuit 63 synchronizes with the reset pulse RP and returns to FIG. The freeze command signal FC of "H" shown is output. By this signal FC, the memories 36R, 36G, 36B enter the still image mode as shown in FIG. The period of the still image mode lasts at least when a color misregistration is detected for the still image and the result of the determination is performed.

上記フリーズ指令信号FCは、タイマ回路74に入力さ
れ、比較回路62による判断が色ずれ量が大きいと判断す
ると(第5図(e)で“L"レベル)、タイマ回路74は第
5図(c)に示すように、このフリーズ指令信号FCを一
定時間T遅延して、フリーズ&フリーズ解除回路63に出
力する。このため、フリーズ&フリーズ解除回路63は一
定時間T毎にフリーズ指令信号FCを出力する。
The freeze command signal FC is input to the timer circuit 74, and when the judgment by the comparison circuit 62 judges that the amount of color misregistration is large ("L" level in FIG. 5E), the timer circuit 74 turns on the circuit shown in FIG. As shown in (c), the freeze command signal FC is delayed by a predetermined time T and output to the freeze & freeze cancel circuit 63. For this reason, the freeze & freeze release circuit 63 outputs the freeze command signal FC at regular time intervals T.

上記フリーズ指令信号FCが出力されない期間は、フリ
ーズ解除期間となり、メモリ36R,36G,36Bは動画モード
になる。
The period during which the freeze command signal FC is not output is a freeze release period, and the memories 36R, 36G, and 36B are in the moving image mode.

このようにして、一定時間T毎に静止画及び動画モー
ドが繰り返される。
In this manner, the still image mode and the moving image mode are repeated at regular time intervals T.

しかして、各静止画モードの際、その静止画に対する
色ずれ量が検出され、例えばその色ずれ量が基準値以下
であると比較回路62が判断すると、その出力は“H"レベ
ルとなり、この“H"レベルによりタイマ回路74の遅延動
作を停止すると共に、第5(b)に示すようにフリーズ
&フリーズ解除回路63からフリーズ指令信号FCを継続的
に出力させ、メモリ36R,36G,36Bはフリーズモードが保
持される。
Thus, in each still image mode, the amount of color misregistration with respect to the still image is detected. For example, when the comparison circuit 62 determines that the amount of color misregistration is equal to or less than the reference value, the output becomes “H” level, The delay operation of the timer circuit 74 is stopped by the “H” level, and the freeze command signal FC is continuously output from the freeze & freeze release circuit 63 as shown in FIG. 5 (b), and the memories 36R, 36G, 36B The freeze mode is maintained.

尚、フリーズ解除指示を行うと、フリーズモードが解
除され、通常の動画モードに戻る。
When a freeze release instruction is given, the freeze mode is released and the mode returns to the normal moving image mode.

この第2実施例は、上記第1実施例と同様の効果を有
すると共に、例えばG,Bの画像信号の比を算出して色ず
れ量の検出を行っているので、明るさの変化による色ず
れ量検出レベルが変動するのを防止でき、色ずれ検出能
力が向上する。
The second embodiment has the same effect as the first embodiment, and also calculates the ratio of the G and B image signals to detect the amount of color misregistration. Variation of the shift amount detection level can be prevented, and the color shift detection capability is improved.

尚、上記各実施例では、メモリ36R,36G,36Bから読出
された信号に対して色ずれ量の検出を行っているが、本
発明はこれに限定されるものでなく、メモリ36R,36G,36
Bに書込まれる信号を取込、直接色ずれ量の検出を行う
ようにしても良い。
In each of the above embodiments, the amount of color misregistration is detected for signals read from the memories 36R, 36G, and 36B. However, the present invention is not limited to this, and the memories 36R, 36G, 36
A signal written to B may be fetched to directly detect the amount of color misregistration.

又、色ずれ検出を行うためにメモリ手段を設け1フィ
ールド又は1フレーム前の同色間のレベル差を検出する
等して色ずれ量の検出を行うようにしても良い。又、メ
モリ手段を設け、異色間のレベル差等の検出により、色
ずれ量の検出を行うようにしても良い。
Further, a memory means may be provided to detect a color shift, and a color shift amount may be detected by detecting a level difference between the same colors one field or one frame before. Further, a memory means may be provided to detect the amount of color misregistration by detecting the level difference between different colors.

又、色ずれ量の検出を行う場合、画像信号が飽和して
いる部分については色ずれ検出に用いないようにしても
良い。又、色ずれ量の検出を行わない画像信号部分(期
間)又は色ずれ量の検出を行う画像信号部分を用いて色
ずれ量検出の規格化を行うようにしても良い。
When the color shift amount is detected, a portion where the image signal is saturated may not be used for color shift detection. Further, the color shift amount detection may be standardized using an image signal portion (period) in which the color shift amount is not detected or an image signal portion in which the color shift amount is detected.

尚、色ずれ量検出のためにメモリ手段を設けた場合に
は、1フィールド/フレーム期間内で色ずれ量検出を行
える場合があり、この場合にはフリーズ指示を行った場
合、その色ずれ量が基準値以上の場合には動画と殆ど変
わらないようにすることもできる。
When a memory unit is provided for detecting a color shift amount, the color shift amount may be detected within one field / frame period. In this case, when a freeze instruction is given, the color shift amount is detected. If is greater than or equal to the reference value, it can be made almost the same as a moving image.

尚、本発明はファイバスコープの接眼部にCCD等を内
蔵したテレビカメラを装着したテレビカメラ外付け方式
の装置にも適用できる。
The present invention can also be applied to a television camera external type device in which a television camera having a built-in CCD or the like is mounted on the eyepiece of the fiberscope.

発明の効果] 以上述べたように本発明によれば、フリーズ指示手段
により、画像記憶手段に記憶される画像信号をその画像
信号の色ずれ量が設定値以内であるか否かの判断結果が
出るまで記憶し、設定値以上の場合には、その記憶を解
除して解除後の画像信号に対して同様の動作を行うこと
により、設定値以内の色ずれ量の画像信号を静止画とし
て画像記憶手段に保持するようにしているので、色ずれ
量の少ない画像信号を静止画として確実に保持すること
ができる。
Effect of the Invention] As described above, according to the present invention, the freeze instructing unit determines whether the image signal stored in the image storing unit determines whether the color shift amount of the image signal is within the set value or not. If the image signal has a color shift within the set value, it is stored as a still image. Since the image signal is stored in the storage unit, an image signal with a small color shift amount can be reliably stored as a still image.

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

第1図ないし第3図は本発明の第1実施例に係り、第1
図は第1実施例を備えた内視鏡装置の構成を示すブロッ
ク図、第2図は第1実施例の構成を示すブロック図、第
3図は内視鏡装置の全体図、第4図は本発明の第2実施
例の構成を示すブロック図、第5図は第2実施例の動作
説明図である。 1……内視鏡装置、2……電子内視鏡 3……光源装置、4……信号処理回路 5……ビデオプロセッサ、6……カラーモニタ 7……色ずれ防止ユニット 32……フリーズ/フリーズ解除ボタン 36R,36G,36B……メモリ 40……メモリコントローラ 60……積分回路、61……検出制御回路 62……比較回路、64……基準値設定回路 63……フリーズ&フリーズ解除回路
1 to 3 relate to a first embodiment of the present invention.
FIG. 1 is a block diagram showing the configuration of an endoscope apparatus having the first embodiment, FIG. 2 is a block diagram showing the configuration of the first embodiment, FIG. 3 is an overall view of the endoscope apparatus, and FIG. FIG. 5 is a block diagram showing the configuration of a second embodiment of the present invention, and FIG. 5 is an operation explanatory diagram of the second embodiment. DESCRIPTION OF SYMBOLS 1 ... Endoscope apparatus, 2 ... Electronic endoscope 3 ... Light source device, 4 ... Signal processing circuit 5 ... Video processor, 6 ... Color monitor 7 ... Color shift prevention unit 32 ... Freeze / Freeze release button 36R, 36G, 36B… Memory 40… Memory controller 60… Integration circuit 61… Detection control circuit 62… Comparison circuit 64… Reference value setting circuit 63… Freeze & freeze release circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】異る波長域の照明光で順次照明された被写
体を撮像する撮像手段と、撮像された画像信号を一時記
憶する画像記憶手段とを備えた内視鏡撮像装置におい
て、 フリーズ指示信号により、前記画像記憶手段に対して画
像を一時フリーズさせるフリーズ指令信号を出力するフ
リーズ指令手段と、前記フリーズされた静止画に対する
色ずれ量の検出を行う色ずれ検出手段と、前記色ずれ検
出手段で検出され色ずれ量が設定値以内か否かの判断を
行う判断手段と、前記判断手段が設定値以内と判断した
場合には前記フリーズ指令信号を保持し、前記設定値以
上と判断した場合には前記フリーズ指令信号を一旦解除
して、新しい画像を前記画像記憶手段にフリーズさせる
再フリーズ制御手段とを設けたことを特徴とする色ずれ
防止装置。
1. An endoscope imaging apparatus comprising: imaging means for imaging a subject sequentially illuminated with illumination light of different wavelength ranges; and image storage means for temporarily storing a captured image signal. A freeze command means for outputting a freeze command signal for temporarily freezing the image to the image storage means, a color shift detecting means for detecting a color shift amount with respect to the frozen still image, and the color shift detection Means for judging whether the amount of color misregistration detected by the means is within a set value, and holding the freeze command signal when the judgment means judges that the amount is within the set value, and judges that the value is equal to or more than the set value. In this case, a re-freezing control unit for releasing the freeze command signal once and freezing a new image in the image storage unit is provided.
JP1108046A 1989-04-27 1989-04-27 Color shift prevention device Expired - Fee Related JP2710404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1108046A JP2710404B2 (en) 1989-04-27 1989-04-27 Color shift prevention device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1108046A JP2710404B2 (en) 1989-04-27 1989-04-27 Color shift prevention device

Publications (2)

Publication Number Publication Date
JPH02286125A JPH02286125A (en) 1990-11-26
JP2710404B2 true JP2710404B2 (en) 1998-02-10

Family

ID=14474559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1108046A Expired - Fee Related JP2710404B2 (en) 1989-04-27 1989-04-27 Color shift prevention device

Country Status (1)

Country Link
JP (1) JP2710404B2 (en)

Also Published As

Publication number Publication date
JPH02286125A (en) 1990-11-26

Similar Documents

Publication Publication Date Title
JP3034898B2 (en) Endoscope device
JP2848574B2 (en) Color shift correction device
JPH04259442A (en) Device for electronic endoscope
JPH0524775B2 (en)
JPS6171791A (en) Endoscope device
JPH0245031A (en) Endoscope device
JP2710404B2 (en) Color shift prevention device
JP2902691B2 (en) Monitor image capture device
JP2887167B2 (en) Imaging device
JP2716936B2 (en) Stereoscopic endoscope imaging device
JP3057725B2 (en) Electronic endoscope device
JP2003032529A (en) Signal processor
JP2789196B2 (en) Color shift prevention device
JPS63189090A (en) Video signal processor
JP2944081B2 (en) Endoscope system
JP2510384B2 (en) Frame-sequential endoscope system
JP3514557B2 (en) Color shift reduction device for electronic endoscopes
JPS62239117A (en) Endoscope device
JP3060556B2 (en) Surface-sequential electronic endoscope device
JP3133768B2 (en) Endoscope imaging device
JP2661182B2 (en) Image position adjustment method for electronic endoscopes
JP3512489B2 (en) Multiple exposure photography equipment
JP3055156B2 (en) Electronic endoscope device
JPH02152435A (en) Electronic endoscopic apparatus
JPH02152434A (en) Electronic endoscopic apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees