JP2967830B2 - Endoscope color shift detection device and color shift correction device - Google Patents

Endoscope color shift detection device and color shift correction device

Info

Publication number
JP2967830B2
JP2967830B2 JP1285587A JP28558789A JP2967830B2 JP 2967830 B2 JP2967830 B2 JP 2967830B2 JP 1285587 A JP1285587 A JP 1285587A JP 28558789 A JP28558789 A JP 28558789A JP 2967830 B2 JP2967830 B2 JP 2967830B2
Authority
JP
Japan
Prior art keywords
color
signal
image
shift
detecting
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
JP1285587A
Other languages
Japanese (ja)
Other versions
JPH03146024A (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 Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP1285587A priority Critical patent/JP2967830B2/en
Publication of JPH03146024A publication Critical patent/JPH03146024A/en
Application granted granted Critical
Publication of JP2967830B2 publication Critical patent/JP2967830B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本願発明は、面順次方式を用いた内視鏡装置によって
時系列的に得られた複数色の画像にて構成される内視鏡
画素の色ずれを検出する内視鏡用色ずれ検出装置、及
び、内視鏡画像の色ずれを補正する内視鏡用色ずれ補正
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an endoscope pixel composed of a plurality of color images obtained in time series by an endoscope apparatus using a frame sequential method. The present invention relates to an endoscope color misregistration detection device that detects a color misregistration and an endoscope color misregistration correction device that corrects a color misregistration of an endoscope image.

[従来の技術] 近年、体腔内に細長の挿入部を挿入することにより、
体腔内臓器等を観察したり、必要に応じ処置具チャンネ
ル内に挿通した処置具を用いて各種治療処置のできる内
視鏡が広く利用されている。
[Prior art] In recent years, by inserting an elongated insertion portion into a body cavity,
2. Description of the Related Art Endoscopes capable of observing organs in a body cavity and the like and performing various treatments using a treatment tool inserted into a treatment tool channel as necessary are widely used.

また、電荷結合素子(CCD)等の固体撮像素子を撮像
手段に用いた電子内視鏡も種々提案されている。
Also, various electronic endoscopes using a solid-state imaging device such as a charge-coupled device (CCD) as an imaging unit have been proposed.

ところで、面順次式で撮像する内視鏡では、時系列的
に色分離を行っているため、被写体の動きが速い場合等
には、各色に対応する各画像の位置がずれて原色等が表
れる、いわゆる色ずれが発生する。
By the way, in an endoscope that performs imaging in a frame-sequential manner, since color separation is performed in a time-series manner, when a subject moves quickly, for example, the position of each image corresponding to each color is shifted, and primary colors and the like appear. That is, a so-called color shift occurs.

これに対処するに、特開昭62−145529号公報には、静
止画像を複数の領域に分割し、各領域を構成するRGB画
像間の相関値が最大となるように、各画像を移動または
補間処理して、色ずれのある画像を色ずれのない画像に
補正する装置が開示されている。また、特開昭63−1091
87号公報には、画像静止手段と、複数枚のフレームまた
はフィールド画像を記録する手段と、前記画像静止手段
により静止され前記記録手段に記録された複数枚のフレ
ームまたはフィールド画像のうち最も色ずれ量の少ない
画像を検出する検出手段を備え、前記検出手段の検出手
段に基づき最も色ずれ量の少ない画像を選択表示する装
置が開示されている。
To cope with this, Japanese Patent Application Laid-Open No. Sho 62-145529 discloses that a still image is divided into a plurality of regions and each image is moved or moved so that the correlation value between the RGB images constituting each region is maximized. An apparatus that corrects an image having a color shift to an image having no color shift by performing an interpolation process is disclosed. Also, JP-A-63-1091
Japanese Patent Publication No. 87 discloses an image still unit, a unit for recording a plurality of frame or field images, and the most color shift among a plurality of frame or field images which are stopped by the image still unit and recorded on the recording unit. An apparatus is disclosed which includes a detecting unit for detecting an image with a small amount, and selectively displays an image with the least amount of color shift based on the detecting unit of the detecting unit.

[発明が解決しようとする課題] しかしながら、前記特開昭62−145529号公報に示され
る装置では、一組のRGB画像間の相関に基づいて補正を
行っていたため、内視鏡画像において相関の良いGB画像
間については良好であるが、相管の悪いR画像と他のGB
画像間の補正時においては相関値が最大となるときが必
ずしも色ずれが最小とはならず、良好な補正が行われな
かった。
[Problems to be Solved by the Invention] However, in the device disclosed in Japanese Patent Application Laid-Open No. Sho 62-145529, correction is performed based on the correlation between a set of RGB images. Good between good GB images, but bad R images with poor A / P and other GB images
At the time of correction between images, the color shift does not always become the minimum when the correlation value becomes the maximum, and satisfactory correction was not performed.

また、前記特開昭63−109187号公報に示される装置で
は、複数枚の画像メモリを必要とするため、回路規模が
大きくなるという問題点があった。
Further, the apparatus disclosed in Japanese Patent Application Laid-Open No. 63-109187 has a problem that the circuit scale is increased because a plurality of image memories are required.

上記問題点に鑑み、請求項1の発明は、回路規模の小
さな内視鏡用色ずれ検出装置を提供することを目的とす
る。
In view of the above problems, an object of the present invention is to provide a color shift detecting device for an endoscope having a small circuit scale.

また、請求項2、請求項3の発明は、回路規模が小さ
く、かつ、良好な色ずれ補正が可能な内視鏡用色ずれ補
正装置を提供することを目的とする。
Another object of the present invention is to provide a color shift correction device for an endoscope which has a small circuit scale and can perform good color shift correction.

[課題を解決するための手段] 請求項1に係る内視鏡用色ずれ検出装置は、面順次撮
像して得られた複数色の画像信号を入力して彩度信号及
び色相信号を出力する色信号変換手段と、前記彩度信号
及び前記色相信号に基き、所定の座標系における原色部
を特定する原色部特定手段と、前記座標系にて特定され
た前記原色部における色信号に基き色ずれの発生を検出
する色ずれ検出手段と、を有することを特徴とする。
[Means for Solving the Problems] A color shift detecting apparatus for an endoscope according to claim 1 inputs a plurality of color image signals obtained by performing frame sequential imaging, and outputs a saturation signal and a hue signal. Color signal converting means, primary color part specifying means for specifying a primary color part in a predetermined coordinate system based on the saturation signal and the hue signal, and a color based on the color signal in the primary color part specified in the coordinate system. A color shift detecting means for detecting occurrence of a shift.

また、請求項2に係る内視鏡用色ずれ補正装置は、面
順次撮像して得られた複数色の画像信号を入力して彩度
信号及び色相信号を出力する色信号変換手段と、前記彩
度信号及び前記色相信号に基き、所定の座標系における
原色部を特定する原色部特定手段と、前記座標系にて特
定された前記原色部における各信号に基き色ずれを検出
する色ずれ検出手段と、前記複数色の画像信号より得ら
れる複数色の画像のうち、基準とする画像に対して特定
の画像シフトするよう、前記複数色の画像信号を制御可
能な制御回路と、を有することを特徴とする。
In addition, the color shift correction device for an endoscope according to claim 2 is a color signal conversion unit that inputs an image signal of a plurality of colors obtained by performing frame sequential imaging and outputs a saturation signal and a hue signal, Primary color portion specifying means for specifying a primary color portion in a predetermined coordinate system based on a saturation signal and the hue signal; and color shift detection for detecting a color shift based on each signal in the primary color portion specified in the coordinate system. Means, and a control circuit capable of controlling the plurality of color image signals so as to shift a specific image with respect to a reference image among the plurality of color images obtained from the plurality of color image signals. It is characterized by.

また、請求項3に係る内視鏡用色ずれ補正装置は、面
順次撮像して得られた複数色の画像信号を入力して彩度
信号及び色相信号を出力する色信号変換手段と、前記彩
度信号及び前記色相信号に基き、所定の座標系における
原色部を特定する原色部特定手段と、前記座標系にて特
定された前記原色部における色信号に基き色ずれを検出
する色ずれ検出手段と、前記色ずれ検出手段による色ず
れ検出結果に基づき色ずれ量を検出する色ずれ量検出手
段と、前記複数色の画像信号より得られる複数色の画像
のうち、基準とする画像に対して特定の画像をシフトす
るよう、前記複数色の画像信号を制御可能な制御回路
と、前記制御回路により前記特定の画像をシフトしたと
き、前記色ずれ量検出手段にて検出される前記色ずれ量
が最小となるシフト量を検知する検知手段と、前記検知
手段にて検知される前記シフト量に基き、前記複数色の
画像信号から画像を再構成する画像再構成手段と、を有
することを特徴とする。
In addition, the color shift correction device for an endoscope according to claim 3 is a color signal conversion unit that inputs an image signal of a plurality of colors obtained by performing frame sequential imaging and outputs a saturation signal and a hue signal, Primary color portion specifying means for specifying a primary color portion in a predetermined coordinate system based on a saturation signal and the hue signal; and color shift detection for detecting a color shift based on the color signal in the primary color portion specified in the coordinate system. Means, a color misregistration amount detecting means for detecting a color misregistration amount based on a color misregistration detection result by the color misregistration detecting means, and a reference image among a plurality of color images obtained from the plurality of color image signals. And a control circuit capable of controlling the image signals of the plurality of colors so as to shift the specific image by shifting the specific image by the control circuit. Shift amount that minimizes the amount A detecting means for detecting that, based on the shift amount detected by the detection means, and having and an image reconstruction means for reconstructing an image from said plurality of colors image signals.

請求項1の発明によると、面順次撮像して得られた複
数色の画像信号を彩度信号及び色相信号に変換し、この
彩度信号及び色相信号に基き、所定の座標系において特
定された原色部に現れる色信号から色ずれの発生を検出
する。
According to the first aspect of the present invention, the image signals of a plurality of colors obtained by image-sequential imaging are converted into a saturation signal and a hue signal, and specified in a predetermined coordinate system based on the saturation signal and the hue signal. The occurrence of a color shift is detected from the color signal appearing in the primary color portion.

また、請求項2の発明によると、面順次撮像して得ら
れた複数色の画像信号を彩度信号及び色相信号に変換
し、この彩度信号及び色相信号に基き、所定の座標系に
おいて特定された原色部に現れる色信号から色ずれの発
生を検出し、前記複数色の画像のうち、基準とする画像
に対して特定の画像をシフトすることで、色ずれを補正
する。
According to the second aspect of the present invention, the image signals of a plurality of colors obtained by image-sequential imaging are converted into a saturation signal and a hue signal, and specified in a predetermined coordinate system based on the saturation signal and the hue signal. The occurrence of color misregistration is detected from the color signal appearing in the primary color portion, and the color misregistration is corrected by shifting a specific image with respect to a reference image among the plurality of color images.

また、請求項3の発明によると、面順次撮像して得ら
れた複数色の画像信号を彩度信号及び色相信号に変換
し、この彩度信号及び色相信号に基き、所定の座標系に
おいて特定された原色部に現れる色信号から色ずれ量を
検出し、該色ずれ量に基き、前記複数色の画像のうち、
基準とする画像に対して特定の画像をシフトすること
で、色ずれを補正する。
According to the third aspect of the present invention, the image signals of a plurality of colors obtained by image-sequential imaging are converted into a saturation signal and a hue signal, and specified in a predetermined coordinate system based on the saturation signal and the hue signal. The color misregistration amount is detected from the color signal appearing in the primary color portion, and based on the color misregistration amount, among the plurality of color images,
The color shift is corrected by shifting a specific image with respect to a reference image.

[実施例] 以下、図面を参照して本発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図ないし第5図は本発明の第1実施例に係り、第
1図は色ずれ補正装置の構成を示すブロック図、第2図
は内視鏡装置の構成を示すブロック図、第3図は内視鏡
装置の全体を示す側面図、第4図(a)は色ずれを起こ
していない内視鏡画像の色差平面上での色の分布を示す
説明図、第4図(b)は色ずれを起こしている内視鏡画
像の色差平面上での色の分布を示す説明図、第5図
(a)はG画像のマッチングエリアを示す説明図、第5
図(b)はRまたはB画像のマッチングエリア及びスキ
ャンエリアを示す説明図である。
1 to 5 relate to a first embodiment of the present invention, FIG. 1 is a block diagram showing a configuration of a color misregistration correction device, FIG. 2 is a block diagram showing a configuration of an endoscope device, and FIG. FIG. 4A is a side view showing the entire endoscope apparatus, FIG. 4A is an explanatory view showing a color distribution on a color difference plane of an endoscope image having no color shift, and FIG. Fig. 5A is an explanatory diagram showing a color distribution of an endoscope image having a color shift on a color difference plane, Fig. 5A is an explanatory diagram showing a matching area of a G image, and Figs.
FIG. 2B is an explanatory diagram showing a matching area and a scan area of the R or B image.

第3図に示すように、本実施例における内視鏡装置
は、電子内視鏡1を備えている。この電子内視鏡1は、
細長で例えば可撓性の挿入部2を有し、この挿入部2の
後端に太径の操作部3が連設されている。前記操作部3
の後端部からは側方に可撓性のユニバーサルコード4が
延設され、このユニバーサルコード4の先端部にコネク
タ5が設けられている。前記電子内視鏡1は、前記コネ
クタ5を介して、光源装置及び信号処理回路が内蔵され
たビデオプロセッサ6に接続されるようになっている。
更に、前記ビデオプロセッサ6には、モニタ7が接続さ
れるようになっている。
As shown in FIG. 3, the endoscope apparatus according to the present embodiment includes an electronic endoscope 1. This electronic endoscope 1
It has an elongated and flexible insertion section 2, for example, and a large-diameter operation section 3 is connected to the rear end of the insertion section 2. The operation unit 3
A flexible universal cord 4 is extended laterally from a rear end of the cable, and a connector 5 is provided at a distal end of the universal cord 4. The electronic endoscope 1 is connected via the connector 5 to a video processor 6 having a light source device and a signal processing circuit built therein.
Further, a monitor 7 is connected to the video processor 6.

前記挿入部2の先端側には、硬性の先端部9及びこの
先端部9に隣接する後方側に湾曲可能な湾曲部10が順次
設けられている。また、前記操作部3には、湾曲操作ノ
ブ11が設けられ、この湾曲操作ノブ11を回動操作するこ
とにより、前記湾曲部10を上下/左右方向に湾曲できる
ようになっている。また、前記操作部3には、前記挿入
部2内に設けられた処置具チャンネルに連通する挿入口
12が設けられている。
On the distal end side of the insertion portion 2, a rigid distal end portion 9 and a bending portion 10 which can be bent rearward adjacent to the distal end portion 9 are sequentially provided. The operating section 3 is provided with a bending operation knob 11, and by rotating the bending operation knob 11, the bending section 10 can be bent in the up / down / left / right directions. The operation section 3 has an insertion port communicating with a treatment instrument channel provided in the insertion section 2.
There are twelve.

第2図に示すように、電子内視鏡1の挿入部2内に
は、照明光を伝達するライトガイド14が挿通されてい
る。このライトガイド14の先端面は、挿入部2の先端部
9に配置され、この先端部9から照明光を出射できるよ
うになっている。また、前記ライトガイド14の入射端側
は、ユニバーサルコード4内を挿通されてコネクタ5に
接続されている。また、前記先端部9には、対物レンズ
系15が設けられ、この対物レンズ系15の結像位置に、固
体撮像素子16が配設されている。この固体撮像素子16
は、可視領域を含め紫外領域から赤外領域に至る広い波
長範囲で感度を有している。前記固体撮像素子16には、
信号線26,27が接続され、これら信号線26,27は、前記挿
入部2及びユニバーサルコード4内を挿通されて前記コ
ネクタ5に接続されている。
As shown in FIG. 2, a light guide 14 for transmitting illumination light is inserted into the insertion section 2 of the electronic endoscope 1. The distal end surface of the light guide 14 is arranged at the distal end 9 of the insertion section 2 so that illumination light can be emitted from the distal end 9. The light guide 14 has an incident end inserted through the universal cord 4 and connected to the connector 5. Further, an objective lens system 15 is provided at the distal end portion 9, and a solid-state imaging device 16 is provided at an image forming position of the objective lens system 15. This solid-state imaging device 16
Has sensitivity in a wide wavelength range from the ultraviolet region to the infrared region including the visible region. The solid-state imaging device 16 includes:
The signal lines 26 and 27 are connected, and these signal lines 26 and 27 are inserted through the insertion section 2 and the universal cord 4 and connected to the connector 5.

一方、ビデオプロセッサ6内には、紫外光から赤外光
に至る広帯域の光を発光するランプ21が設けられてい
る。このランプ21としては、一般的なキセノンランプや
ストロボランプ等を用いることができる。前記キセノン
ランプやストロボランプは、可視光のみならず紫外光及
び赤外光を大量に発光する。このランプ21は、電源部22
によって電力が供給されるようになっている。
On the other hand, the video processor 6 is provided with a lamp 21 that emits light in a wide band from ultraviolet light to infrared light. As the lamp 21, a general xenon lamp, a strobe lamp, or the like can be used. The xenon lamp and the strobe lamp emit a large amount of ultraviolet light and infrared light as well as visible light. This lamp 21 is connected to a power supply 22
Is supplied with power.

前記ランプ21の前方には、モータ23によって回転駆動
される回転フィルタ39が配設されている。この回転フィ
ルタ39には、赤(R),緑(G),青(B)の各波長領
域の光を透過するフィルタが、周方向に沿って配列され
ている。また、前記モータ23は、モータドライバ25によ
って回転が制御されて駆動されるようになっている。
A rotary filter 39 that is driven to rotate by a motor 23 is provided in front of the lamp 21. In the rotary filter 39, filters that transmit light in the respective wavelength regions of red (R), green (G), and blue (B) are arranged along the circumferential direction. The rotation of the motor 23 is controlled by a motor driver 25 to be driven.

前記回転フィルタ39を透過し、R,G,Bの各波長領域の
光に時系列的に分離された光は、前記ライトガイド14の
入射端に入射され、このライトガイド14を介して先端部
9に導かれ、この先端部9から出射されて、観察部位を
照明するようになっている。
The light that has passed through the rotary filter 39 and has been separated in time series into light in the R, G, and B wavelength regions is incident on the incident end of the light guide 14, and the distal end portion is transmitted through the light guide 14. 9 and is emitted from the tip 9 to illuminate the observation site.

この照明光によって照明された観察部位からの光は、
対物レンズ系15によって、固体撮像素子16上に結像さ
れ、光電変換されるようになっている。この固体撮像素
子16には、前記信号線26を介して、前記ビデオプロセッ
サ6内のドライバ回路31からの駆動パルスが印加され、
この駆動パルスによって読み出し,転送が行われるよう
になっている。この固体撮像素子16から読み出された映
像信号は、信号線27を介して、前記ビデオプロセッサ6
内または電子内視鏡1内に設けられたプリアンプ32に入
力されるようになっている。このプリアンプ32で増幅さ
れた映像信号は、プロセス回路33に入力され、このプロ
セス回路33にて、γ補正及びキャリア除去等の信号処理
を施し、ハレーション部に対してはニー(knee)特性を
持たせ、暗部に対してはバイアスを与えてペデスタルレ
ベルにする処理を行うようになっている。前記プロセス
回路33の出力は、A/Dコンバータ34によって、デジタル
信号に変換されるようになっている。このデジタルの映
像信号は、セレクタ35によって、例えば赤(R),緑
(G),青(B)の各色に対応するメモリ(1)36a,メ
モリ(2)36b,メモリ(3)36cに選択的に記憶される
ようになっている。前記メモリ(1)36a,メモリ(2)
36b,メモリ(3)36cは、同時に読み出され、D/Aコンバ
ータ37によって、アナログ信号に変換され、R,G,B色信
号として出力されるようになっている。
The light from the observation site illuminated by this illumination light,
An image is formed on the solid-state imaging device 16 by the objective lens system 15 and photoelectrically converted. A drive pulse from a driver circuit 31 in the video processor 6 is applied to the solid-state imaging device 16 via the signal line 26,
Reading and transferring are performed by this drive pulse. The video signal read from the solid-state imaging device 16 is transmitted to the video processor 6 via a signal line 27.
The signal is input to a preamplifier 32 provided inside or inside the electronic endoscope 1. The video signal amplified by the preamplifier 32 is input to a process circuit 33, which performs signal processing such as γ correction and carrier removal, and has a knee characteristic for a halation portion. Then, a process is performed to apply a bias to the pedestal level to the dark part. The output of the process circuit 33 is converted into a digital signal by an A / D converter. The digital video signal is selected by a selector 35 into, for example, a memory (1) 36a, a memory (2) 36b, and a memory (3) 36c corresponding to each color of red (R), green (G), and blue (B). Is memorized. The memory (1) 36a, the memory (2)
The memory 36b and the memory (3) 36c are read at the same time, converted into analog signals by the D / A converter 37, and output as R, G, B color signals.

また、表示用の画面枠を発生する画面枠発生回路40が
設けられ、この画面枠発生回路40からの制御信号にて、
前記D/Aコンバータ37の出力画像信号に表示用の枠が合
成され、スーパーインポーズ回路41に出力される。この
スーパーインポーズ回路41では、文字情報入力回路42に
て入力された患者情報を画像情報にスーパーインポーズ
する。このようにして表示用の枠、及び患者情報等の文
字情報が追加された画像信号は、R,G,B信号としてTVモ
ニタ46と、色ずれ補正装置100と、マトリクス回路43と
に入力されるようになっている。そして、前記TVモニタ
46に被写体像がカラー表示されるようになっている。ま
た、前記マトリクス回路43では、前記R,G,B信号を色差
信号と輝度信号に変換し、この色差信号と輝度信号はエ
ンコーダ回路44に入力され、NTSC信号に変換されて出力
され、VTR45に記録されるようになっている。
Further, a screen frame generating circuit 40 for generating a screen frame for display is provided, and a control signal from the screen frame generating circuit 40
A display frame is synthesized with the output image signal of the D / A converter 37 and output to the superimpose circuit 41. In the superimpose circuit 41, the patient information input by the character information input circuit 42 is superimposed on the image information. The image signal to which the display frame and the character information such as patient information are added in this manner is input to the TV monitor 46, the color misregistration correction device 100, and the matrix circuit 43 as R, G, and B signals. It has become so. And the TV monitor
The subject image is displayed in color at 46. In the matrix circuit 43, the R, G, B signals are converted into a color difference signal and a luminance signal.The color difference signal and the luminance signal are input to an encoder circuit 44, converted into an NTSC signal and output, and output to a VTR 45. It is to be recorded.

また、前記ビデオプロセッサ6内には、システム全体
のタイミングを作るタイミングジェネレータ38が設けら
れ、このタイミングジェネレータ38によって、モータド
ライバ25,ドライバ回路31,メモリ36a,36b,36c等の各回
路間の周期が取られている。
In the video processor 6, a timing generator 38 for generating the timing of the whole system is provided, and the timing generator 38 controls a cycle between respective circuits such as the motor driver 25, the driver circuit 31, the memories 36a, 36b and 36c. Has been taken.

ところで、このような面順次方式の内視鏡装置によっ
て得られた内視鏡画像中の色の分布を、色差平面上にて
観察すると、通常の色ずれを起こしていない内視鏡画像
では、第4図(a)に示すように、Rを中心とした狭い
色相範囲に限定される。これは、内視鏡による生体観察
時において生体粘膜の色調をほぼ決定しているのがヘモ
グロビンによるためである。一方、色ずれを起こしてい
る内視鏡画像では、第4図(b)に示すように、R,G,B
とその補色であるシアン(Cy),マゼンタ(Mg),黄
(Ye)が現れる。これは、送水時のごとく高輝度で且つ
高速に移動する被写体を観察したときに顕著に現れる。
また、胃角部のように背景とのコントラスト差が大きい
部位や、食道のごとく拍動により高速に移動する部位の
観察時においても顕著に現れる。本実施例における色ず
れ補正装置100は、このような面順次方式における色ず
れを起こした画像と色ずれを起こしていない画像の色差
平面上での特性の差異を利用して、色ずれ量を検出す
る。
By the way, when observing a color distribution in an endoscope image obtained by such a field sequential type endoscope apparatus on a color difference plane, in an endoscope image which does not cause a normal color shift, As shown in FIG. 4 (a), the range is limited to a narrow hue range centered on R. This is because hemoglobin largely determines the color tone of the mucous membrane of the living body during the observation of the living body with the endoscope. On the other hand, as shown in FIG. 4 (b), R, G, B
And its complementary colors cyan (Cy), magenta (Mg), and yellow (Ye). This is noticeable when observing a high-brightness and high-speed moving subject such as during water supply.
Further, it is remarkably observed when observing a part having a large contrast difference from the background, such as a stomach corner, or a part that moves at high speed due to pulsation, such as the esophagus. The color misregistration correction apparatus 100 according to the present embodiment uses the difference in characteristics on a color difference plane between an image in which color misregistration occurs and an image in which color misregistration does not occur in such a frame sequential method, and calculates the amount of color misregistration. To detect.

前記色ずれ補正装置100は、第1図に示すように構成
されている。
The color misregistration correction device 100 is configured as shown in FIG.

すなわち、スーパーインポーズ回路41から出力された
RGB画像信号は、それぞれ、A/Dコンバータ101,102,103
にてデジタル画像信号に変換され、フレームメモリ回路
104,105,106に、それぞれ1フレームずつ記録されるよ
うになっている。ここで、メモリ制御回路107にて、各
フレームメモリ回路104,105,106からの読み出しが、次
のように制御される。
That is, the output from the superimpose circuit 41
RGB image signals are A / D converters 101, 102, 103, respectively.
Is converted into a digital image signal by the frame memory circuit.
One frame is recorded on each of 104, 105, and 106. Here, the reading from each of the frame memory circuits 104, 105, and 106 is controlled by the memory control circuit 107 as follows.

画面上の物体の動きは一様ではないので、第5図
(a)及び(b)に示すように、画像中に例えば100点
の検出点を設け、ローカルな色ずれ検出を行うために、
前記検出点を中心に色ずれ検出のためのマッチングエリ
アを設定する。基準画像となるG画像では、第5図
(a)に示すように、マッチングエリアは固定されてい
る。一方、R及びB画像では、マッチングエリアは、第
5図(b)に示すように、検出点を中心とするスキャン
エリア内で順次移動される。前記スキャンエリアは、G
画像のマッチングエリアと対応するマッチングエリアを
探す範囲となる。
Since the movement of the object on the screen is not uniform, as shown in FIGS. 5 (a) and (b), for example, 100 detection points are provided in the image to perform local color shift detection.
A matching area for detecting a color shift is set around the detection point. In the G image serving as the reference image, as shown in FIG. 5A, the matching area is fixed. On the other hand, in the R and B images, the matching area is sequentially moved within the scan area centered on the detection point, as shown in FIG. 5 (b). The scan area is G
This is a range in which a matching area corresponding to the matching area of the image is searched.

各フレームメモリ回路104,105,106にて読み出された
マッチングエリア内の画像は、デコード回路108にて、R
GB画像信号からR−Y,G−Yの色差信号にデコードされ
るようになっている。このデコード回路108は、ROMテー
ブルにて構成されている。前記デコード回路108にて色
差信号に変換された画像信号は、ROMテーブルによる極
座標変換回路109にて、色差信号から色差平面を極座標
表示する色相と彩度に極座標変換されるようになってい
る。即ち、上記デコード回路108及び極座標変換回路109
は、請求項1乃至3における色信号変換手段として機能
する。
The image in the matching area read by each frame memory circuit 104, 105, 106
The GB image signal is decoded into RY and GY color difference signals. This decoding circuit 108 is configured by a ROM table. The image signal converted into the color difference signal by the decoding circuit 108 is polar-coordinate-converted from the color difference signal to hue and saturation for displaying the color difference plane in polar coordinates by the polar coordinate conversion circuit 109 using a ROM table. That is, the decoding circuit 108 and the polar coordinate conversion circuit 109
Function as the color signal conversion means in the first to third aspects.

前記極座標変換回路109から出力された彩度信号は、
彩度のレベルを検出する彩度レベル検出回路110に入力
されるようになっている。この彩度レベル検出回路110
にて、ノイズ成分の持つ広範囲の色相成分による誤動作
を防止するようになっている。一方、前記極座標変換回
路109から出力された色相データは、原色部検出回路111
に入力され、彩度レベル検出回路110から出力される一
定値以上の彩度レベルで且つR,G,B及びYe,Mg,Cyの範囲
に存在する画像データを、各マッチングエリアの組毎に
検出する。即ち、上記原色部検出回路111は、請求項1
乃至3における原色部特定手段、及び、請求項1乃至3
における色ずれ検出手段として機能する。
The saturation signal output from the polar coordinate conversion circuit 109 is
It is designed to be input to a saturation level detection circuit 110 for detecting a saturation level. This saturation level detection circuit 110
Thus, malfunction due to a wide range of hue components of the noise component is prevented. On the other hand, the hue data output from the polar coordinate conversion circuit 109 is
The image data having a saturation level equal to or higher than a certain value output from the saturation level detection circuit 110 and existing in the range of R, G, B, and Ye, Mg, and Cy is output for each pair of matching areas. To detect. That is, the primary color part detection circuit 111 is provided in the first embodiment.
4. A primary color portion specifying unit according to any one of claims 1 to 3, and a primary color portion specifying unit.
Function as a color misregistration detecting means.

上記原色部検出回路111により検出された原色部すな
わち色ずれ部は、原色面積算出回路112に入力され、各
マッチングエリアの組毎の原色面積、すなわち色ずれ量
が算出されるようになっている。即ち、上記原色面積算
出回路112は、請求項3における色ずれ量検出回路とし
て機能する。算出された原色面積は、原色面積最小値検
出回路113に入力されるようになっている。この原色面
積最小値検出回路113は、R,B画像のマッチングエリアを
スキャンエリア内で順次移動させて得られる複数組のマ
ッチングエリアの組毎の原色面積(色ずれ量)の、スキ
ャンエリア内における最小値を検出し、その最小値を記
憶すると共に、色ずれ量が最小値となるときのマッチン
グエリアのシフト量をシフトマップメモリ114に記録す
る。即ち、上記原色面積最小値検出回路113は、請求項
における、色ずれ量が最小となるシフト量を検知する検
知手段として機能する。前記シフトマップメモリ114
は、各マッチングエリアのスキャンエリア内における色
ずれ最小の位置であるシフト量を各マッチングエリア毎
に記憶する。尚、メモリ制御回路107には、原色部検出
回路111,原色面積算出回路112からのマッチングエリア
クリア信号と、原色面積最小値検出回路113,シフトマッ
プメモリ114からのスキャンエリアクリア信号が入力さ
れ、各信号に従って、マッチングエリアとスキャンエリ
アが更新されるようになっている。即ち、上記メモリ制
御回路107、原色部検出回路111、原色面積算出回路11
2、原色面積最小値検出回路113、シフトマップメモリ11
4が全体として、請求項2,3における、基準とする画像に
対して特定の画像をシフトする制御回路として機能す
る。
The primary color portion, that is, the color shift portion detected by the primary color portion detection circuit 111 is input to the primary color area calculation circuit 112, and the primary color area, that is, the color shift amount for each matching area set is calculated. . That is, the primary color area calculation circuit 112 functions as the color misregistration amount detection circuit in claim 3. The calculated primary color area is input to the primary color area minimum value detection circuit 113. The primary color area minimum value detection circuit 113 detects the primary color area (color shift amount) of each of a plurality of sets of matching areas obtained by sequentially moving the matching areas of the R and B images in the scan area. The minimum value is detected, the minimum value is stored, and the shift amount of the matching area when the color shift amount becomes the minimum value is recorded in the shift map memory 114. That is, the primary color area minimum value detection circuit 113 functions as a detecting unit that detects a shift amount that minimizes the color shift amount in the claims. The shift map memory 114
Stores the shift amount, which is the position of the minimum color shift in the scan area of each matching area, for each matching area. Note that the memory control circuit 107 receives a matching area clear signal from the primary color part detection circuit 111 and the primary color area calculation circuit 112, and a scan area clear signal from the primary color area minimum value detection circuit 113 and the shift map memory 114. The matching area and the scan area are updated according to each signal. That is, the memory control circuit 107, the primary color part detection circuit 111, the primary color area calculation circuit 11
2, primary color area minimum value detection circuit 113, shift map memory 11
4 functions as a control circuit for shifting a specific image with respect to a reference image in claims 2 and 3 as a whole.

このようにして色ずれ量が最小となる各マッチングエ
リア間の相対的位置関係が求められ、この位置関係に基
づいて、画像再構成回路116にて画像が再構成される。
その際、各マッチングエリア間を補間処理回路115にて
補間処理する。すなわち、画像再構成回路116にて、フ
レームメモリ回路104及び106から読み出されたR画像と
B画像を用い、色ずれ量が最小となるようにマッチング
エリアをシフトさせた後、シフトマップメモリ114のデ
ータを各マッチングエリア間を補間処理したデータに基
づき画像を再構成する。この補間処理を行うことで、画
像の再構成時において各マッチングエリア間の境界が不
自然なく再構成される。
In this way, the relative positional relationship between the matching areas where the amount of color shift is minimized is obtained, and the image is reconstructed by the image reconstruction circuit 116 based on the positional relationship.
At this time, the interpolation processing circuit 115 performs interpolation processing between the respective matching areas. That is, the image reconstruction circuit 116 uses the R image and the B image read from the frame memory circuits 104 and 106 to shift the matching area so that the amount of color misregistration is minimized. An image is reconstructed based on the data obtained by interpolating the data of each of the matching areas. By performing this interpolation processing, the boundary between the matching areas is reconstructed without unnaturalness when reconstructing the image.

このようにして再構成されたR及びB画像は、サブフ
レームメモリ117,118にて各色の1フレーム分の画像デ
ータとして記録される。各サブフレームメモリ117,118
に記録された画像信号は、D/Aコンバータ119,121にてア
ナログ信号に変換されて出力される。一方、基準画像と
なったG画像は、画像再構成処理を行わず、D/Aコンバ
ータ120にてアナログ信号に変換されて出力される。
The reconstructed R and B images are recorded in the sub-frame memories 117 and 118 as image data for one frame of each color. Each sub-frame memory 117, 118
Is converted into an analog signal by the D / A converters 119 and 121 and output. On the other hand, the G image serving as the reference image is converted into an analog signal by the D / A converter 120 and output without performing image reconstruction processing.

このように本実施例の色ずれ補正装置では、色相平面
における原色面積、すなわち色ずれ量が最小となるよう
に色ずれ補正を行っているので、相関の悪いR画像と他
のGB画像間の色ずれ補正誤差を低減でき、より高精度の
色ずれ補正が可能となる。また、複数組のRGB用の画像
メモリを必要としないので、回路規模が小さく容易に構
成可能となる。
As described above, in the color misregistration correction apparatus according to the present embodiment, the color misregistration is corrected so that the primary color area on the hue plane, that is, the color misregistration amount is minimized. The color misregistration correction error can be reduced, and more accurate color misregistration correction can be performed. Further, since a plurality of sets of RGB image memories are not required, the circuit scale is small and the configuration can be made easily.

第6図は本発明の第2実施例の色ずれ補正装置の構成
を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a color misregistration correction apparatus according to a second embodiment of the present invention.

本実施例の色ずれ補正装置100では、第1実施例にお
ける極座標変換回路109から出力された色相データは、
1フレーム分の色相データを記録する色相メモリ201に
入力されるようになっている。この色相メモリ201は、
1フレーム前の画像データを、第1実施例における原色
部検出回路111に代る原色部検出回路202に入力するよう
になっている。また、この原色部検出回路202には、極
座標変換回路109から出力される現在の色相データも入
力されるようになっている。
In the color misregistration correction device 100 of the present embodiment, the hue data output from the polar coordinate conversion circuit 109 of the first embodiment is
The data is input to a hue memory 201 that records hue data for one frame. This hue memory 201
The image data of one frame before is input to a primary color part detection circuit 202 instead of the primary color part detection circuit 111 in the first embodiment. Further, the current hue data output from the polar coordinate conversion circuit 109 is also input to the primary color portion detection circuit 202.

前記原色部検出回路202は、極座標変換回路109から出
力される現在の色相データと、色相メモリ201から出力
される1フレーム前の色相データとを比較することによ
り、R,G,BまたはYe,Cy,Mgの各原色が色差平面上に現れ
ていて且つ1フレーム前と比較することにより色相の移
動すなわち観察している被写体が移動しているか否かの
検出を行う。すなわち、この原色部検出回路202は、1
フレーム前と比較して変動している原色部のみを原色面
積検出部112に出力する。従って、本実施例では、動き
のある原色部についてのみ色ずれ補正が行われる。
The primary color part detection circuit 202 compares the current hue data output from the polar coordinate conversion circuit 109 with the hue data of one frame before output from the hue memory 201, thereby obtaining R, G, B or Ye, By detecting each of the primary colors Cy and Mg on the color-difference plane and comparing it with the immediately preceding frame, it is possible to detect whether the hue has moved, that is, whether or not the subject being observed has moved. That is, the primary color part detection circuit 202
Only the primary color portion that has changed compared to that before the frame is output to primary color area detection section 112. Therefore, in the present embodiment, the color shift correction is performed only for the primary color portion having motion.

その他の構成及び作用は、第1実施例と同様である。 Other configurations and operations are the same as those of the first embodiment.

本実施例によれば、第1実施例と同様の効果が得られ
ると共に、メチレンブルー,コンゴーレッド等の色素を
散布する染色により発生した原色部分及び出血による原
色部分を色ずれとして誤認識することを防止でき、より
高精度の色ずれ補正が可能となる。
According to the present embodiment, the same effect as that of the first embodiment can be obtained, and the primary color portion caused by dyeing by spraying a dye such as methylene blue and Congo red and the primary color portion caused by bleeding are erroneously recognized as color misregistration. Can be prevented, and more accurate color shift correction can be performed.

第7図は本発明の第3実施例の色ずれ補正装置の構成
を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a color misregistration correction apparatus according to a third embodiment of the present invention.

本実施例の色ずれ補正装置100では、第2実施例にお
ける原色面積算出回路112にて算出された観察画像の色
ずれによる原色部分の面積が、第2実施例における原色
面積最小値検出回路113に代る原色面積最小値検出回路3
01に入力されるようになっている。この原色面積最小値
検出回路301は、原色部分の面積が最小となるマッチン
グエリアのシフト量と前記面積の最小値とを検出するよ
うになっている。
In the color misregistration correction apparatus 100 according to the present embodiment, the area of the primary color portion due to the color misregistration of the observation image calculated by the primary color area calculation circuit 112 according to the second embodiment is equal to the primary color area minimum value detection circuit 113 according to the second embodiment. Primary color area minimum value detection circuit 3 instead of
01 is to be entered. The primary color area minimum value detection circuit 301 detects the shift amount of the matching area where the area of the primary color portion is the minimum and the minimum value of the area.

ところで、胃角部等の病変好発部位であり且つ被写体
の移動量の大きい部位に関しても、ある程度スキャンエ
リアを大きく設定することにより色ずれ補正が可能とな
るが、送水時のごとくその移動量がスキャンエリアを多
く外れており、また診断にほとんど関与しない被写体に
関しては、RGB画像を補正せず目視上邪魔となる色ずれ
を低減することにより観察画像を見易くすることが望ま
れる。そこで、本実施例では、原色面積最小値検出回路
301にて検出された最小値が所定の値以下に小さくなら
ないか否かを、最小値比較回路302にて検出するように
なっている。すなわち、最小値比較回路302は、原色面
積最小値検出回路301にて検出された最小値と所定の設
定値との比較を行う。
By the way, it is possible to correct the color misregistration by setting the scan area to a certain extent, even for a site where a lesion is likely to occur, such as a stomach corner, and where the movement amount of the subject is large. For a subject that is largely out of the scan area and hardly involved in the diagnosis, it is desired to make the observed image easier to see by reducing the color shift that is visually obstructive without correcting the RGB image. Therefore, in this embodiment, the primary color area minimum value detection circuit
The minimum value comparison circuit 302 detects whether the minimum value detected in 301 does not become smaller than a predetermined value. That is, the minimum value comparison circuit 302 compares the minimum value detected by the primary color area minimum value detection circuit 301 with a predetermined set value.

また、フレームメモリ回路104,105,106からのRGB画像
信号からマッチングエリア内の平均色を算出するマッチ
ングエリア内平均色算出回路303が設けられ、この平均
色算出回路303の出力と、補間処理回路115の出力が、選
択回路304に入力されるようになっている。この選択回
路304は、前記最小値比較回路302の出力に応じて、前記
平均色算出回路303の出力と補間処理回路115の出力の一
方を選択して、画面再構成回路305に送るようになって
いる。
Further, a matching area average color calculation circuit 303 for calculating an average color in the matching area from the RGB image signals from the frame memory circuits 104, 105, and 106 is provided, and an output of the average color calculation circuit 303 and an output of the interpolation processing circuit 115 are provided. , To the selection circuit 304. The selection circuit 304 selects one of the output of the average color calculation circuit 303 and the output of the interpolation processing circuit 115 according to the output of the minimum value comparison circuit 302, and sends it to the screen reconstruction circuit 305. ing.

前記最小値比較回路302は、比較された最小値が設定
値よりも大きく、すなわち色ずれが非常に大きい部分に
ついては、平均色算出回路303の出力を選択するように
選択回路304に信号を出力する。一方、最小値比較回路3
02にて比較された最小値が設定値以下の部分について
は、補間処理回路115にて色ずれを補正し補間処理を行
った画像データが選択回路304で選択される。この選択
回路304で選択された画像データは、画面再構成回路305
に送られ、画面が再構成される。再構成されたR及びB
画像は、サブフレームメモリ117,118にて各色の1フレ
ーム分の画像データとして記録され、各サブフレームメ
モリ117,118に記録された画像信号は、D/Aコンバータ11
9,121にてアナログ信号に変換されて出力される。一
方、基準画像となったG画像は、画面再構成処理を行わ
ず、D/Aコンバータ120にてアナログ信号に変換されて出
力される。
The minimum value comparison circuit 302 outputs a signal to the selection circuit 304 so as to select the output of the average color calculation circuit 303 for a portion where the compared minimum value is larger than the set value, that is, for a portion where the color shift is extremely large. I do. On the other hand, the minimum value comparison circuit 3
For the portion where the minimum value compared in 02 is equal to or smaller than the set value, the selection circuit 304 selects the image data on which the interpolation processing circuit 115 has corrected the color misregistration and performed the interpolation processing. The image data selected by the selection circuit 304 is output to the screen reconstruction circuit 305.
And the screen is reconstructed. Reconstructed R and B
The image is recorded as image data for one frame of each color in the sub-frame memories 117 and 118, and the image signal recorded in each of the sub-frame memories 117 and 118 is stored in the D / A converter 11
At 9,121, it is converted into an analog signal and output. On the other hand, the G image serving as the reference image is converted into an analog signal by the D / A converter 120 and output without performing screen reconstruction processing.

その他の構成及び作用は、第2実施例と同様である。 Other configurations and operations are the same as those of the second embodiment.

本実施例によれば、第2実施例と同様の効果が得られ
ると共に、送水時のごとく補正不可能な程高速に移動す
る被写体においても、目視上観察の妨げとなる色ずれ
を、そのマッチングエリア内の平均色に置き換えてマス
キング処理を行うことで低減でき、面順次方式において
観察能を向上させることができる。
According to the present embodiment, the same effects as those of the second embodiment can be obtained, and even for a subject that moves so fast that it cannot be corrected as in the case of water supply, the color shift that hinders visual observation is matched. This can be reduced by performing the masking process by replacing the average color in the area with the average color, and the observability can be improved in the frame sequential method.

尚、マッチングエリア内にて、その平均色が色ずれの
影響で十分原色を低減できないときは、近傍のマッチン
グエリアとの平均色を採用することで、より高速で移動
する被写体の色ずれをマスク処理するようにしても良
い。
If the average color cannot be sufficiently reduced in the matching area due to the color shift, the average color with the neighboring matching area is adopted to mask the color shift of the moving object at higher speed. Processing may be performed.

尚、本発明は上記各実施例に限定されず、例えば、原
色の検出は、R−Y,B−Yによる色差平面上による処理
に限らず、uv色平面,XY色平面等の色平面上による処理
でも良く、XYZまたはa色空間等の他の色空
間上による処理でも良い。
Note that the present invention is not limited to the above embodiments. For example, the detection of primary colors is not limited to processing on a color difference plane by RY and BY, but may be performed on a color plane such as a uv color plane and an XY color plane. , Or a process in another color space such as the XYZ or a * b * L * color space.

また、本発明が適用される内視鏡は、先端に固体撮像
素子を有するタイプでも、光学ファイバによるイメージ
ガイドを経由して被観察物の外部に像を導いてから撮像
素子で撮像するタイプのいずれでも良い。
In addition, the endoscope to which the present invention is applied is a type having a solid-state image sensor at the tip, and a type in which an image is guided to the outside of an object to be observed via an image guide using an optical fiber and then imaged by the image sensor. Either is acceptable.

[発明の効果] 請求項1に係る内視鏡用色ずれ検出装置によると、面
順次撮像して得られた複数色の画像信号を彩度信号及び
色相信号に変換し、この彩度信号及び色相信号に基き、
所定の座標系において特定された原色部に現れる色信号
から色ずれの発生を検出するので、回路規模を小さくす
ることができる。
[Advantage of the Invention] According to the color shift detecting apparatus for an endoscope according to claim 1, the image signals of a plurality of colors obtained by performing frame sequential imaging are converted into a saturation signal and a hue signal. Based on the hue signal,
Since the occurrence of color misregistration is detected from the color signal appearing in the primary color portion specified in the predetermined coordinate system, the circuit scale can be reduced.

また、請求項2の発明によると、面順次撮像して得ら
れた複数色の画像信号を彩度信号及び色相信号に変換
し、この彩度信号及び色相信号に基き、所定の座標系に
おいて特定された原色部に現れる色信号から色ずれの発
生を検出し、前記複数色の画像のうち、基準とする画像
に対して特定の画像をシフトすることで、色ずれを補正
するので、回路規模を小さくすることができるととも
に、良好な色ずれ補正が可能となる。
According to the second aspect of the present invention, the image signals of a plurality of colors obtained by image-sequential imaging are converted into a saturation signal and a hue signal, and specified in a predetermined coordinate system based on the saturation signal and the hue signal. Since the occurrence of color misregistration is detected from the color signal appearing in the primary color portion, and a specific image is shifted with respect to a reference image among the plurality of color images, the color misregistration is corrected. Can be reduced, and good color shift correction can be performed.

また、請求項3の発明によると、面順次撮像して得ら
れた複数色の画像信号を彩度信号及び色相信号に変換
し、この彩度信号及び色相信号に基き、所定の座標系に
おいて特定された原色部に現れる色信号から色ずれ量を
検出し、該色ずれ量に基き、前記複数色の画像のうち、
基準とする画像に対して特定の画像をシフトすること
で、色ずれ補正を行っているので、回路規模を小さくす
ることができるとともに、良好な色ずれ補正が可能とな
る。
According to the third aspect of the present invention, the image signals of a plurality of colors obtained by image-sequential imaging are converted into a saturation signal and a hue signal, and specified in a predetermined coordinate system based on the saturation signal and the hue signal. The color misregistration amount is detected from the color signal appearing in the primary color portion, and based on the color misregistration amount, among the plurality of color images,
Since color misregistration correction is performed by shifting a specific image with respect to a reference image, the circuit scale can be reduced, and good color misregistration correction can be performed.

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

第1図ないし第5図は本発明の第1実施例に係り、第1
図は色ずれ補正装置の構成を示すブロック図、第2図は
内視鏡装置の構成を示すブロック図、第3図は内視鏡装
置の全体を示す側面図、第4図(a)は色ずれを起こし
ていない内視鏡画像の色差平面上での色の分布を示す説
明図、第4図(b)は色ずれを起こしている内視鏡画像
の色差平面上での色の分布を示す説明図、第5図(a)
はG画像のマッチングエリアを示す説明図、第5図
(b)はRまたはB画像のマッチングエリア及びスキャ
ンエリアを示す説明図、第6図は本発明の第2実施例の
色ずれ補正装置の構成を示すブロック図、第7図は本発
明の第3実施例の色ずれ補正装置の構成を示すブロック
図である。 1……電子内視鏡 100……色ずれ補正装置 111……原色部検出回路 112……原色面積算出回路 113……原色面積最小値検出回路 114……シフトマップメモリ 115……補間処理回路 116……画像再構成回路
1 to 5 relate to a first embodiment of the present invention.
FIG. 2 is a block diagram showing the configuration of the color misregistration correction device, FIG. 2 is a block diagram showing the configuration of the endoscope device, FIG. 3 is a side view showing the entire endoscope device, and FIG. FIG. 4 (b) is an explanatory diagram showing a color distribution on a color difference plane of an endoscope image having no color shift, and FIG. 4 (b) is a color distribution of an endoscope image having a color shift on a color difference plane. FIG. 5 (a)
FIG. 5B is an explanatory view showing a matching area of a G image, FIG. 5B is an explanatory view showing a matching area and a scan area of an R or B image, and FIG. 6 is a diagram of a color misregistration correcting apparatus according to a second embodiment of the present invention. FIG. 7 is a block diagram showing the configuration, and FIG. 7 is a block diagram showing the configuration of a color misregistration correction apparatus according to a third embodiment of the present invention. DESCRIPTION OF SYMBOLS 1 ... Electronic endoscope 100 ... Color misregistration correction device 111 ... Primary color part detection circuit 112 ... Primary color area calculation circuit 113 ... Primary color area minimum value detection circuit 114 ... Shift map memory 115 ... Interpolation processing circuit 116 …… Image reconstruction circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】面順次撮像して得られた複数色の画像信号
を入力して彩度信号及び色相信号を出力する色信号変換
手段と、 前記彩度信号及び前記色相信号に基き、所定の座標系に
おける原色部を特定する原色部特定手段と、 前記座標系にて特定された前記原色部における色信号に
基き色ずれの発生を検出する色ずれ検出手段と、 を有することを特徴とする内視鏡用色ずれ検出装置。
1. A color signal conversion means for inputting image signals of a plurality of colors obtained by frame-sequential imaging and outputting a saturation signal and a hue signal, and a predetermined signal based on the saturation signal and the hue signal. A primary color part specifying means for specifying a primary color part in a coordinate system; and a color shift detecting means for detecting occurrence of a color shift based on a color signal in the primary color part specified in the coordinate system. Endoscope color shift detector.
【請求項2】面順次撮像して得られた複数色の画像信号
を入力して彩度信号及び色相信号を出力する色信号変換
手段と、 前記彩度信号及び前記色相信号に基き、所定の座標系に
おける原色部を特定する原色部特定手段と、 前記座標系にて特定された前記原色部における色信号に
基き色ずれを検出する色ずれ検出手段と、 前記複数色の画像信号より得られる複数色の画像のう
ち、基準とする画像に対して特定の画像をシフトするよ
う、前記複数色の画像信号を制御可能な制御回路と、 を有することを特徴とする内視鏡用色ずれ補正装置。
2. A color signal conversion means for inputting image signals of a plurality of colors obtained by frame sequential imaging and outputting a saturation signal and a hue signal, and a predetermined signal based on the saturation signal and the hue signal. Primary color portion specifying means for specifying a primary color portion in a coordinate system; color misregistration detecting means for detecting color misregistration based on a color signal in the primary color portion specified in the coordinate system; A control circuit capable of controlling the image signals of the plurality of colors so as to shift a specific image with respect to a reference image among the images of the plurality of colors. apparatus.
【請求項3】面順次撮像して得られた複数色の画像信号
を入力して彩度信号及び色相信号を出力する色信号変換
手段と、 前記彩度信号及び前記色相信号に基き、所定の座標系に
おける原色部を特定する原色部特定手段と、 前記座標系にて特定された前記原色部における色信号に
基き色ずれを検出する色ずれ検出手段と、 前記色ずれ検出手段による色ずれ検出結果に基づき色ず
れ量を検出する色ずれ量検出手段と、 前記複数色の画像信号より得られる複数色の画像のう
ち、基準とする画像に対して特定の画像をシフトするよ
う、前記複数色の画像信号を制御可能な制御回路と、 前記制御回路により前記特定の画像をシフトしたとき、
前記色ずれ量検出手段にて検出される前記色ずれ量が最
小となるシフト量を検知する検知手段と、 前記検知手段にて検知される前記シフト量に基き、前記
複数色の画像信号から画像を再構成する画像再構成手段
と、 を有することを特徴とする内視鏡用色ずれ補正装置。
3. A color signal conversion means for inputting image signals of a plurality of colors obtained by performing frame sequential imaging and outputting a saturation signal and a hue signal, and a predetermined signal based on the saturation signal and the hue signal. Primary color portion specifying means for specifying a primary color portion in a coordinate system; color shift detecting means for detecting a color shift based on a color signal in the primary color portion specified in the coordinate system; color shift detection by the color shift detecting device A color misregistration amount detection unit configured to detect a color misregistration amount based on a result; and the plurality of colors are shifted from a plurality of color images obtained from the plurality of color image signals by shifting a specific image with respect to a reference image. And a control circuit capable of controlling the image signal of, when the specific image is shifted by the control circuit,
Detecting means for detecting a shift amount at which the color misregistration amount detected by the color misregistration amount detecting means is minimized; and detecting an image from the plurality of color image signals based on the shift amount detected by the sensing means. An image reconstructing means for reconstructing a color shift correcting device for an endoscope.
JP1285587A 1989-10-31 1989-10-31 Endoscope color shift detection device and color shift correction device Expired - Fee Related JP2967830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1285587A JP2967830B2 (en) 1989-10-31 1989-10-31 Endoscope color shift detection device and color shift correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1285587A JP2967830B2 (en) 1989-10-31 1989-10-31 Endoscope color shift detection device and color shift correction device

Publications (2)

Publication Number Publication Date
JPH03146024A JPH03146024A (en) 1991-06-21
JP2967830B2 true JP2967830B2 (en) 1999-10-25

Family

ID=17693484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1285587A Expired - Fee Related JP2967830B2 (en) 1989-10-31 1989-10-31 Endoscope color shift detection device and color shift correction device

Country Status (1)

Country Link
JP (1) JP2967830B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4415318B2 (en) 2004-04-27 2010-02-17 富士フイルム株式会社 Color image color misregistration correction method and color image imaging apparatus
JP6392486B1 (en) * 2017-02-01 2018-09-19 オリンパス株式会社 Endoscope system

Also Published As

Publication number Publication date
JPH03146024A (en) 1991-06-21

Similar Documents

Publication Publication Date Title
US7050086B2 (en) Electronic endoscope system with color-balance alteration process
US8419628B2 (en) Endoscope system and endoscopic image processing apparatus
JP3869698B2 (en) Electronic endoscope device
KR100707896B1 (en) Endoscope image processing apparatus
JP2648494B2 (en) Endoscope device
JP6561000B2 (en) Endoscope system and operating method thereof
JP6362274B2 (en) Endoscope system and method for operating endoscope system
JP2660009B2 (en) Endoscope device
JP2641654B2 (en) Endoscope device
JPH01308531A (en) Endoscopic apparatus
JP2967830B2 (en) Endoscope color shift detection device and color shift correction device
JP3315188B2 (en) Endoscope device
JP2761238B2 (en) Endoscope device
JPH11305144A (en) Endoscope device
JP6285373B2 (en) Endoscope system, processor device, and operation method of endoscope system
JP3179166B2 (en) Electronic endoscope device
JP2001136540A (en) Image processor
JP2713837B2 (en) Electronic endoscope device
JPH06335449A (en) Electronic endoscope equipment
JP2710386B2 (en) Endoscope device
JP2837884B2 (en) Electronic endoscope device
JP2656951B2 (en) Electronic endoscope device
JP2607506B2 (en) Endoscope imaging device
JP2003126030A (en) Electronic endoscope
JP3216653B2 (en) Electronic endoscope device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090820

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees