JPH03123528A - Compression apparatus for endoscope image data - Google Patents

Compression apparatus for endoscope image data

Info

Publication number
JPH03123528A
JPH03123528A JP1261285A JP26128589A JPH03123528A JP H03123528 A JPH03123528 A JP H03123528A JP 1261285 A JP1261285 A JP 1261285A JP 26128589 A JP26128589 A JP 26128589A JP H03123528 A JPH03123528 A JP H03123528A
Authority
JP
Japan
Prior art keywords
circuit
image
signal
compression
memory
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.)
Pending
Application number
JP1261285A
Other languages
Japanese (ja)
Inventor
Takeo Tsuruoka
建夫 鶴岡
Kazunari Nakamura
一成 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP1261285A priority Critical patent/JPH03123528A/en
Priority to US07/574,401 priority patent/US5209220A/en
Publication of JPH03123528A publication Critical patent/JPH03123528A/en
Pending legal-status Critical Current

Links

Landscapes

  • Endoscopes (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)

Abstract

PURPOSE:To enable efficient compression of all observation images with an endoscope along with higher reproducibility of an original image by evaluating at least one of signals compressed by a plurality of compression means to produce an output to an image memory based on the evaluation. CONSTITUTION:A selector 25 outputs data of R, G and B stored in respective memories 24 sequentially to a blocking circuit 26 and an image judging circuit 27 being controlled by a control signal generating section 31. The blocking circuit section processes the data sequentially and the image judging circuit performs an evaluation based on an original image from the selector and a compression image from the blocking circuit section to select a blocking circuit above a specified evaluation value. A selector 28 produces a signal inputted into any one of the blocking circuits to a forecast encoder 29 controlled by a picture quality judging circuit to generate a forecast error, which is outputted to an image memory 22. In this manner, compression is accomplished simultaneously with three kinds of blocking circuits and the images are judged. After a compression by a blocking, further compression is made by a forecast encoding, thereby achieving a higher compression efficiency.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、内視鏡画像を圧縮し画像記録装置に出力する
内視鏡画像データ圧縮装置の改善に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement of an endoscopic image data compression device that compresses endoscopic images and outputs the compressed endoscopic images to an image recording device.

[従来の技術] 近年、細長の挿入部を体腔内に挿入することにより、体
腔内臓器等を診断したり、検査したりすることのできる
内視鏡(スコープ又はファイバスコープ)が広く用いら
れている。また、医療用のみならず工業用おいてもボイ
ラ、機械、化学プラント等の管内、あるいは機械内等の
対象物を観察、検査したりするのに用いられている。
[Prior Art] In recent years, endoscopes (scopes or fiberscopes), which can diagnose and examine internal organs in body cavities by inserting an elongated insertion section into body cavities, have been widely used. There is. In addition, it is used not only for medical purposes but also for industrial purposes to observe and inspect objects inside pipes of boilers, machines, chemical plants, etc., or inside machines.

更に、電荷結合素子(COD)等の固体搬像素子を撮像
手段に用いた電子内視鏡も各極用いられている。
Furthermore, electronic endoscopes using solid-state imaging devices such as charge-coupled devices (CODs) as imaging means are also used in various regions.

さらに、例えば電子内視鏡装置の映像信号を、光ディス
ク或いは光磁気ディスク等大容■の記憶媒体に記録し、
観察終了後等の診断、調査等に用いるための画像記録装
置が実用化されている。
Furthermore, for example, the video signal of the electronic endoscope device is recorded on a large-capacity storage medium such as an optical disk or a magneto-optical disk,
BACKGROUND ART Image recording devices for use in diagnosis, investigation, etc. after observation have been put into practical use.

例えば第14図は前記電子内視m装置及び前記画像記録
装置からなる内視鏡システム全体の概略図である。生体
92に挿入された内視鏡91は、観察装置93に接続さ
れている。観察装置93には、観察用のモニタ94と画
像データ圧縮装置を含む画像記録装置96が接続されて
いる。また、内視鏡91には吸引器95が接続されてい
る。
For example, FIG. 14 is a schematic diagram of the entire endoscope system including the electronic endoscopy device and the image recording device. An endoscope 91 inserted into a living body 92 is connected to an observation device 93. A viewing monitor 94 and an image recording device 96 including an image data compression device are connected to the viewing device 93 . Further, a suction device 95 is connected to the endoscope 91.

第15図は、内視鏡91及び観察装Fi93における画
像信号の流れを示す。内視1t91の先端部にあるCC
D1からの画像信号は、アンプ2に入り、所定の節回の
電圧レベルに増幅される。その後、γ回路3に入りγ補
正される。RGB面順次方式の場合には、γ補正された
後の信号は、A/Dコンバータ4によりアナログ−デジ
タルに変換されてからセレクタ5に入り、R,G、Bそ
れぞれのメモリ6R,6G、6Bに記録される。RlG
、Bそれぞれのメモリ6R,6G、6Bに記録された画
像信号は、TV信号のタイミングで呼び出され、D/A
コンバータ7R,7G、7Bによりそれぞれデジタル−
アナログ変換される。アナログ信号になったR、G、B
の画像信号は、同期信号発生回路13のシンクロ信号(
SYNC)と共に、RGB出力端子R,G、Bに送られ
る。この様にして得られたRGB信号をモニタ94に表
示して内′gl鏡観察を行っている。また、このRGB
信号は、画像記録装@96にて記録できる。
FIG. 15 shows the flow of image signals in the endoscope 91 and observation device Fi93. CC at the tip of endoscopy 1t91
The image signal from D1 enters an amplifier 2 and is amplified to a voltage level of a predetermined frequency. Thereafter, the signal enters the γ circuit 3 and is subjected to γ correction. In the case of the RGB plane sequential method, the signal after γ correction is converted into analog-to-digital by the A/D converter 4, then enters the selector 5, and is sent to the R, G, and B memories 6R, 6G, and 6B, respectively. recorded in RlG
, B. The image signals recorded in the memories 6R, 6G, and 6B are called out at the timing of the TV signal, and
Digital by converters 7R, 7G, 7B respectively.
converted to analog. R, G, B became analog signals
The image signal is a synchronization signal (
SYNC) and is sent to the RGB output terminals R, G, and B. The RGB signals obtained in this manner are displayed on the monitor 94 for internal mirror observation. Also, this RGB
The signal can be recorded with an image recording device@96.

前記内視鏡91のライトガイド8には、ランプ10の白
色光が、モータ11で回転される回転フィルタ9を通す
ことによって、回転フィルタを形成する赤、緑、青の各
色透過フィルタが光路中に介装され、赤、緑、青の各波
長の光が照射される。
In the light guide 8 of the endoscope 91, the white light from the lamp 10 passes through a rotating filter 9 rotated by a motor 11, so that red, green, and blue color transmission filters forming the rotating filter are placed in the optical path. It is inserted into the wafer and irradiates it with light of each wavelength: red, green, and blue.

したがって、赤、緑、青の各照明光のもとて撮像された
画像信号が、前記R,G、8メモリ6R。
Therefore, the image signals captured under the red, green, and blue illumination lights are stored in the R, G, and 8 memories 6R.

6G、6Bに書き込まれる。なお、モータ11、A/D
コンバータ4、セレクタ5、メモリ6R。
Written to 6G and 6B. In addition, motor 11, A/D
Converter 4, selector 5, memory 6R.

6G、6B、D/Aコンバータ7R,7G、7B。6G, 6B, D/A converter 7R, 7G, 7B.

同期信号発生回路13は、制御信号発生部12により制
御される。
The synchronization signal generation circuit 13 is controlled by the control signal generation section 12.

第16図は、画像記録装置96における画像信号の流れ
を示づ。前記観察装置93のRG8信号出力端子R,G
、Bからの画像信号は、画像記録装置96の入力部97
へ入力される。RGB信号は、切り換えスイッチを経由
しA/Dコンバータ部98でアナログ−デジタル変換さ
れた後、圧縮回路部99へ導かれる。圧縮回路部99は
、予測符号化等の圧縮理論に基づき構築されたものであ
る。圧縮された画像データは、光ディスク・光磁気ディ
スク等の記録システム部100に記録される。画像を再
現する場合、記録システム部100上の画像データは伸
張回路部101において元の画像信号に回復される。そ
の後、D/△コンバータ部102でデジタル−アナログ
変換され、出力部102へ送られる。一方、画像信号の
行き先と画像信号転送時の転送タイミングを制御する制
御信号発生部104がある。これは、△/Dコンバータ
部98、圧縮回路部99、記録システム部1001伸張
回路部101、D/Aコンバータ部102に接続されて
いる。また、制御信号発生部104から同期信@ (S
YNC)が入力部97・出力部103に送られている。
FIG. 16 shows the flow of image signals in the image recording device 96. RG8 signal output terminals R, G of the observation device 93
, B are input to the input section 97 of the image recording device 96.
is input to. The RGB signals are converted from analog to digital by an A/D converter section 98 via a changeover switch, and then guided to a compression circuit section 99 . The compression circuit section 99 is constructed based on compression theory such as predictive coding. The compressed image data is recorded on a recording system unit 100 such as an optical disk or magneto-optical disk. When reproducing an image, the image data on the recording system section 100 is restored to the original image signal in the decompression circuit section 101. Thereafter, the signal is digital-to-analog converted by the D/Δ converter section 102 and sent to the output section 102. On the other hand, there is a control signal generation unit 104 that controls the destination of the image signal and the transfer timing when transferring the image signal. This is connected to a Δ/D converter section 98, a compression circuit section 99, a recording system section 1001, an expansion circuit section 101, and a D/A converter section 102. In addition, a synchronization signal @ (S
YNC) is sent to the input section 97 and output section 103.

本出願人は画像データ圧縮装置として、例えば特願昭6
2−279599号にて提案している。
The present applicant has developed an image data compression device, for example, in the patent application filed in 1983.
It is proposed in No. 2-279599.

これは、単一の圧縮回路部で単一の圧縮処理を行ってい
るものである。一般に通常観察画像は赤系色を基調とし
た画像であり、緑系色及び青系色はほとんど存在しない
という特性であり、前述した圧縮処理は、このような特
性に基づいて圧縮を行っている。
This performs a single compression process using a single compression circuit. In general, normally observed images are images based on reddish colors, with almost no greenish or blueish colors, and the compression processing described above performs compression based on these characteristics. .

近年、メチレンブルー等により被検部を染色し観察した
り、フローレツセン等の蛍光剤を被検部に塗布し観察し
たりする方法が用いられるようになった。
In recent years, methods have been used in which the test area is stained with methylene blue or the like for observation, or a fluorescent agent such as florescen is applied to the test site for observation.

被検部を染色し観察した染色観察画像は青系色を基調と
した色調である。また、被検部に蛍光剤を塗布した蛍光
?IA寮画像画像系色を基調とした画像の中に青の波長
領域で励起された蛍光住、即ち、青色が混在する画像で
ある。
The dyed observation image obtained by dyeing and observing the test area has a blue-based color tone. Also, fluorescent agent applied to the test area? This is an image in which fluorescence excited in the blue wavelength region, that is, blue, is mixed in an image based on IA dormitory image color.

したがって通常内視鏡画像の特性に基づいた圧縮手段で
は圧縮率が低下するという問題点がある。
Therefore, a compression method based on the characteristics of an ordinary endoscopic image has a problem in that the compression rate decreases.

そのため、複数の圧縮手段を設けて、圧縮率の高い圧縮
手段を選択して圧縮することが考えられている。
Therefore, it has been considered to provide a plurality of compression means and select a compression means with a high compression rate for compression.

[発明が解決しようとする課題] しかし、複数の圧縮手段を用いて、単に圧縮率の高い圧
縮手段を選択した場合、原画像の再現性が悪くなるとい
う問題点がある。
[Problems to be Solved by the Invention] However, when a plurality of compression means are used and only a compression means with a high compression ratio is selected, there is a problem that the reproducibility of the original image deteriorates.

本発明は上述した点にかんがみてなされたもので、原画
像の再現性がよく、且つ、内視鏡による全ての観察画像
を効率よく圧縮する内視鏡画像データ圧縮装置を提供す
ることを目的としている。
The present invention has been made in view of the above-mentioned points, and an object of the present invention is to provide an endoscopic image data compression device that has good reproducibility of original images and efficiently compresses all images observed by an endoscope. It is said that

[課題を解決するための手段] 内視鏡の観察画像の信号或いは前記観察画像の信号を複
数の波長領域で分割した信号が入力され、前記信号を圧
縮手段により圧縮し、その圧縮した信号を画像記録装置
に出力する内視鏡画像データ圧縮装置において、前記圧
縮手段を複数設け、前記複数の圧縮手段により圧縮され
た信号の少なくとも一つを評価する評価手段と、前記評
価手段により前記圧縮された信号の一つを選択する選択
手段とを設けて、或いは、前記圧縮手段を複数設け、前
記圧縮手段により圧縮された信号の少なくとも一つの信
号を伸張し表示可能に出力する手段と、前記圧縮された
信号の一つを選択する選択手段とを設けている。
[Means for solving the problem] A signal of an observation image of an endoscope or a signal obtained by dividing the signal of the observation image into a plurality of wavelength regions is input, the signal is compressed by a compression means, and the compressed signal is An endoscopic image data compression device for outputting to an image recording device includes a plurality of compression means, an evaluation means for evaluating at least one of the signals compressed by the plurality of compression means, and an evaluation means for evaluating at least one of the signals compressed by the plurality of compression means; selecting means for selecting one of the signals compressed by the compressing means, or means for decompressing at least one of the signals compressed by the compressing means and outputting the compressed signal in a displayable manner; and selecting means for selecting one of the selected signals.

[作用コ 上述した構成により、圧縮手段により圧縮された信号の
少なくとも一つを評価して、この評価に基づいて画像記
録装置に出力するようにしている。
[Operation] With the above-described configuration, at least one of the signals compressed by the compression means is evaluated and output to the image recording device based on this evaluation.

[実施例] 以下、図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図(A)及び第2図ないし第4図は本発明の第1実
施例に係わり、第1図(A)は内視鏡画像データ圧縮装
置の構成を示すブロック図、第2図は電子内視鏡装置の
構成を示す説明図、第3図はブロック化回路の構成を示
すブロック図、第4図はブロック化に関する説明図であ
る。
FIG. 1(A) and FIGS. 2 to 4 relate to the first embodiment of the present invention. FIG. 1(A) is a block diagram showing the configuration of an endoscopic image data compression device, and FIG. FIG. 3 is a block diagram showing the configuration of a blocking circuit, and FIG. 4 is an explanatory diagram regarding blocking.

面順次撮像方式の電子内視鏡装置は、第2図に示すよう
に、後述する各ブロックに所定の制御信号を発生する制
御信号発生部12と、被写体を撮像する個体搬像素子で
あるCOD (電荷結合素子)1と、このCCD 1の
撮像信号を増幅及び信号処理し映像信号に変換するアン
プ2と、このアンプ2で増幅された映像信号をガンマ補
正するγ回路3と、前述したγ補正されたアナログ信号
である映像信号を前記制御信号発生部12の制御信号に
よりデジタル信号のデータに変換するアナログ・デジタ
ルコンバータ(以下、A/Dコンバータと称する)4と
、このデジタル信号を前記制御信号発生部12の制御信
号によりメモリ部6の各メモリへ切り換えて出力するセ
レクタ5と、前記メモリ部6に設けられた赤色波長領域
(以下、Rと称する)を記憶するRメモリ6R1緑色波
長領域(以下、Gと称する)を記憶するGメ七り6G及
び青色波長領域(以下、Bと称する)を記憶するBメモ
リ6Bと、前記メモリ部6に記憶されたデータを前記制
御信号発生部12の制御信号によりデータ信号からアナ
ログ信号に変換するデジタル・アナログコンバータ(以
下、D/Aコンバータと称する)で前記Rメモリ6Rに
対応するD/Aコンバータ7R,前記Gメモリ6Gに対
応するD/△コンバータ7G及び前記Bメモリ6Bに対
応づ−るD/Aコンバータ7Bが設けられたD/Aコン
バータ部7と、前記制御信号発生部12の制御信号によ
り図示しないモニタが必要とする水平同期信号等の所定
の同期信号を発生する同期信号発生回路13と、前記c
coiが撮像する部位等に供給するための照明光を発生
するランプ1oと、このランプ10の光をR,G及びB
に分光するフィルタが配設された回転フィルタ9と、こ
の回転フィルタ9を前記制御信号発生部12の制御信号
により回転さぜるモータ11と、前述した分光された照
明光を前記CCD1の撮像する部位等へ導光するライト
ガイド8とから構成される装置前記CCD1は、前記ア
ンプ2の入力端に接続され、前記アンプ2の出力端は前
記γ回路3の入力端に接続され、前記γ回路3の出力端
は前記A/Dコンバータ4の入力端に接続され、前記D
/△]ンバータ4の出力端は前記セレクタ50入力端に
接続されている。
As shown in FIG. 2, the frame-sequential imaging type electronic endoscope device includes a control signal generating section 12 that generates a predetermined control signal for each block, which will be described later, and a COD that is a solid state image carrier that images a subject. (charge-coupled device) 1, an amplifier 2 that amplifies and processes the imaging signal of this CCD 1 and converts it into a video signal, a γ circuit 3 that performs gamma correction on the video signal amplified by this amplifier 2, and the γ circuit 3 described above. An analog-to-digital converter (hereinafter referred to as an A/D converter) 4 converts a video signal, which is a corrected analog signal, into digital signal data using a control signal from the control signal generator 12; A selector 5 that switches and outputs to each memory in the memory section 6 according to a control signal from the signal generating section 12; and an R memory 6R1 provided in the memory section 6 that stores a red wavelength region (hereinafter referred to as R); a green wavelength region; (hereinafter referred to as G) and a B memory 6B that stores blue wavelength region (hereinafter referred to as B), and the control signal generation unit 12 stores the data stored in the memory unit 6. A digital-to-analog converter (hereinafter referred to as a D/A converter) converts a data signal into an analog signal using a control signal, and includes a D/A converter 7R corresponding to the R memory 6R and a D/Δ converter corresponding to the G memory 6G. A D/A converter unit 7 is provided with a D/A converter 7B corresponding to a converter 7G and the B memory 6B, and a horizontal synchronization signal, etc. required by a monitor (not shown) is generated by a control signal from the control signal generator 12. a synchronization signal generation circuit 13 that generates a predetermined synchronization signal;
A lamp 1o that generates illumination light to be supplied to the site to be imaged by the coi, and a lamp 1o that uses R, G, and B light from this lamp 10.
A rotary filter 9 is provided with a filter that separates the light into two parts, a motor 11 rotates the rotary filter 9 according to a control signal from the control signal generating section 12, and the CCD 1 images the divided illumination light. The CCD 1 is connected to the input end of the amplifier 2, and the output end of the amplifier 2 is connected to the input end of the γ circuit 3. 3 is connected to the input terminal of the A/D converter 4, and the output terminal of the D
/Δ] The output end of the inverter 4 is connected to the input end of the selector 50.

前記Rメモリ6R,前記Gメモリ6G及び前記Bメモリ
6Bの入力端は、各々前記セレクタ5の出力端に接続さ
れている。前記Rメモリ6Rの出力端は前記D/Aコン
バータ7Rの入ノ〕端に接続されると共に、後述する内
視鏡画像データ圧縮装N(以下、画像データ圧縮装置と
称する>20の入力端に接続されるようになっている。
The input ends of the R memory 6R, the G memory 6G, and the B memory 6B are each connected to the output end of the selector 5. The output end of the R memory 6R is connected to the input end of the D/A converter 7R, and the input end of an endoscope image data compression system N (hereinafter referred to as image data compression system) is connected to the input end of the D/A converter 7R. It is now connected.

前記Gメモリ6Gの出力端は前記D/Aコンバータ7G
の入力端に接続されると共に、後述する画像データ圧縮
装置20の入力端に接続されるようになっている。前記
Bメモリ6Bの出力端は前記D/Aコンバータ7Bの入
力端に接続されると共に、後述する画像データ圧縮装置
20の入力端に接続されるようになっている。
The output terminal of the G memory 6G is connected to the D/A converter 7G.
It is connected to the input end of the image data compression device 20, which will be described later. The output terminal of the B memory 6B is connected to the input terminal of the D/A converter 7B, and is also connected to the input terminal of an image data compression device 20, which will be described later.

前記D/Aコンバータ7Rの出力端は、出力端子14R
を介して図示しないモニタ等に接続されるようになって
いる。前記D/Aコンバータ7Gの出力端は、出力端子
14Gを介して図示しないモニタ等に接続されるように
なっている。前記D/Aコンバータ7Bの出力端は、出
力端子14[3を介して図示しないモニタ等に接続され
るようになっている。前記同期信号発生回路13の出力
端は、出力端子148を介して図示しないモニタ等に接
続されるようになっている。
The output terminal of the D/A converter 7R is an output terminal 14R.
It is designed to be connected to a monitor, etc. (not shown) via. The output terminal of the D/A converter 7G is connected to a monitor (not shown) or the like via an output terminal 14G. The output terminal of the D/A converter 7B is connected to a monitor (not shown) or the like via an output terminal 14[3. The output end of the synchronization signal generation circuit 13 is connected to a monitor (not shown) or the like via an output terminal 148.

前記A/Dコンバータ4、セレクタ5、メモリ部6、D
/Aコンバータ7、モータ11及び同明信号発生回路1
3の制御信号入力端は前記制す11信号発生部12の出
力端に各々接続されでいる。また、前記制御信号発生部
12の一出力端は、後述する画像データ圧縮装置20の
入力端に接続されるようになっている。
The A/D converter 4, selector 5, memory section 6, D
/A converter 7, motor 11 and Domei signal generation circuit 1
The 3 control signal input terminals are respectively connected to the output terminals of the control 11 signal generating section 12. Further, one output terminal of the control signal generating section 12 is connected to an input terminal of an image data compression device 20, which will be described later.

画像データ圧縮装置20は、前記メモリ部6のデータを
圧縮する画像圧縮部21が設【プられている。
The image data compression device 20 is provided with an image compression section 21 that compresses the data in the memory section 6.

画像記録部23は、光ディスク或いは光磁気ディスク等
の大官同記録媒体を用いて、前記画像データ圧縮装置2
0で圧縮されたデータを記録するものである。
The image recording unit 23 uses a general recording medium such as an optical disk or a magneto-optical disk to record the image data from the image data compression device 2.
This is to record data compressed with 0.

前記画像データ圧縮装置20は、第1図(A)に示すよ
うに、R,G、B各作業用のメモリ24R,24G、2
4Bh<設けられたメモリ部24と、前記メモリ部24
の各メモリの選択し出力づるセレクタ25と、圧縮手段
であるブロック化回路26a、26b、26cが設けら
れた圧縮部26と、前記圧縮部26の出力信号を現信号
と比較評価し後述するセレクタ28及び圧縮情報用RO
M30を制御する画質判定回路27と、前記画質判定回
路27の制御により圧縮部26のブロック化回路の一つ
を選択し出力するセレクタ28と、前記セレクタにより
選択された信号を予測符号化により圧縮する予測符号化
器29と、前記メモリ部24、セレクタ25、画質判定
回路27及び前記画像記録装置22へ制御信号を発生す
る制御信号発生部31とから構成されている。
As shown in FIG. 1(A), the image data compression device 20 includes memories 24R, 24G, 2 for R, G, and B operations.
4Bh<provided memory section 24 and said memory section 24
a selector 25 that selects and outputs each memory; a compression section 26 provided with blocking circuits 26a, 26b, and 26c serving as compression means; and a selector that compares and evaluates the output signal of the compression section 26 with the current signal and that will be described later. 28 and RO for compressed information
An image quality determination circuit 27 that controls the M30, a selector 28 that selects and outputs one of the blocking circuits of the compression unit 26 under the control of the image quality determination circuit 27, and compresses the signal selected by the selector by predictive encoding. The control signal generation section 31 generates a control signal to the memory section 24, selector 25, image quality determination circuit 27, and image recording device 22.

前記Rメモリ24Rの入力端は入力端子23Rに接続さ
れ、前記Gメモリ24Gの入力端は入力端子23Gに接
続され、前記Bメモリ24Bの入力端は入力端子23B
に接続されている。
The input terminal of the R memory 24R is connected to the input terminal 23R, the input terminal of the G memory 24G is connected to the input terminal 23G, and the input terminal of the B memory 24B is connected to the input terminal 23B.
It is connected to the.

前記Rメモリ24R,Gメモリ24G及びBメモリ24
Bの出力端は、各々セレクタ25の入力端に接続されて
いる。
The R memory 24R, G memory 24G and B memory 24
The output ends of B are connected to the input ends of the selector 25, respectively.

前記セレクタ25の出力端は、前記ブロック化回路26
a、26b、26c及び画質判定回路27の原画像入力
端に接続されている。
The output terminal of the selector 25 is connected to the blocking circuit 26.
a, 26b, 26c and the original image input terminal of the image quality determination circuit 27.

前記前記ブロック化回路26a、26b、26Cの出力
端は、各々画像判定回路27及びセレクタ28の入力端
に接続されている。
The output terminals of the blocking circuits 26a, 26b, and 26C are connected to the input terminals of an image determination circuit 27 and a selector 28, respectively.

na記両画像判定回路27、第1の出力端が前記セレク
タ28の制御端に接続され、第2の出力端が圧縮情報用
ROM30の入力端に接続されている。
The first output terminal of the na-recorded image determination circuit 27 is connected to the control terminal of the selector 28, and the second output terminal is connected to the input terminal of the compressed information ROM 30.

前記セレクタ28の出力端は前記予測符号化器29の入
力端に接続され、この予測符号化器2つの出力端は、前
記画像記録装置22の第1の入ノノ端に接続されている
The output terminal of the selector 28 is connected to the input terminal of the predictive encoder 29, and the output terminals of the two predictive encoders are connected to the first input terminal of the image recording device 22.

前記圧縮情報用ROM30の出ツノ端は前記画像記録装
置22の第2の入力端に接続されている。
An output end of the compressed information ROM 30 is connected to a second input end of the image recording device 22.

前記制御信号発生部31は、前記メモリ部24、セレク
タ25、画質判定回路27及び前記画像記録装置22の
制御信号入力端に各々の出力端が接続されている。
The control signal generating section 31 has its output terminal connected to the control signal input terminals of the memory section 24 , selector 25 , image quality determination circuit 27 , and image recording device 22 .

前記ブロック化回路26a、26b、26cは、第3図
に示すように入力信号を記憶するメインメモリ32と、
前記メインメモリ32の注目画素を読み出すためのカウ
ンタであるアドレス用カウンタ37と、前記アドレス用
カウンタ37によるアドレスを中心に注目画素のアドレ
スを発生づるマトリクス用カウンタ35と、前記マトリ
クス用カウンタ35のアドレスに対する係数が記録され
た係数用ROM36と、前記メインメモリ32と前記係
数用ROM36注目画素を中心としたマトリクス頻回の
係数とを乗算し累積加算する累積乗算器33と、前記累
積乗n器33の出力結果が所定の範囲を逸脱してる場合
に所定の範囲に集束する異常値補正回路34と、アドレ
ス用カウンタ37の値が画面の周辺部であることを検出
する周辺部検出回路38と、前記周辺部検出回路38に
より周辺部の映像データを発生する周辺部データ用39
と、前記周辺部検出回路38の制御により、前記只常値
補正回路34及び周辺部データ用ROM39の出力を切
り換えるデータセレクタ40と、前記データセレクタ4
0により切り換えられて入力された映像データを記憶す
るサブメモリ41とから構成されている。
The blocking circuits 26a, 26b, and 26c each include a main memory 32 for storing input signals, as shown in FIG.
an address counter 37 which is a counter for reading out the pixel of interest in the main memory 32; a matrix counter 35 which generates the address of the pixel of interest based on the address of the address counter 37; and an address of the matrix counter 35. a coefficient ROM 36 in which coefficients are recorded; an accumulative multiplier 33 that multiplies and cumulatively adds coefficients of a matrix frequency centered on the pixel of interest in the main memory 32 and the coefficient ROM 36; and an accumulative multiplier 33 an abnormal value correction circuit 34 that focuses the output result within a predetermined range when it deviates from a predetermined range; and a peripheral detection circuit 38 that detects that the value of the address counter 37 is in the peripheral area of the screen. peripheral area data 39 for generating peripheral area video data by the peripheral area detection circuit 38;
, a data selector 40 that switches the outputs of the normal value correction circuit 34 and the peripheral data ROM 39 under the control of the peripheral detection circuit 38;
0 and a submemory 41 for storing input video data.

前記メインメモリ32は、入力端が入力端子31に接続
され、出力端が累積乗算器33の第1の入力端に接続さ
れている。
The main memory 32 has an input terminal connected to the input terminal 31 and an output terminal connected to the first input terminal of the accumulative multiplier 33 .

前記アドレス用カウンタ37は、第1の出力端が前記マ
トリクス用カウンタ35に接続され、第2の出力端が前
記周辺部検出回路38に接続されている。
The address counter 37 has a first output terminal connected to the matrix counter 35 and a second output terminal connected to the peripheral part detection circuit 38.

前記マトリクス用カウンタ35の第1の出力端が前記メ
インメモリ32のアドレス端に接続され、第2の出力端
が前記係数用ROM36に接続されている。
A first output terminal of the matrix counter 35 is connected to the address terminal of the main memory 32, and a second output terminal is connected to the coefficient ROM 36.

前記係数用ROM36の出力端は、前記累積乗算器33
の第2の入力端に接続されている。
The output terminal of the coefficient ROM 36 is connected to the cumulative multiplier 33.
is connected to the second input terminal of.

前記累積乗算器33の出力端は前記異常値補正回路34
の入力端に接続されている。
The output terminal of the cumulative multiplier 33 is connected to the abnormal value correction circuit 34.
is connected to the input end of the

前記異常値補正回路34の出力端は前記データセレクタ
の第1の入力端に接続されている。
An output terminal of the abnormal value correction circuit 34 is connected to a first input terminal of the data selector.

前記周辺部検出回路38は、第1の出力端が前記周辺部
データ用ROM39の入力端に接続され、第2の出力端
が前記データセレクタ40の制御端に接続されている。
The peripheral part detection circuit 38 has a first output terminal connected to the input terminal of the peripheral part data ROM 39 and a second output terminal connected to the control terminal of the data selector 40 .

前記周辺部用ROM39の出力端は、前記データセレク
タ40の第2の入力端に接続されている。
An output end of the peripheral ROM 39 is connected to a second input end of the data selector 40.

前記データセレクタ40の出力端は、前記サブメモリ4
1の入力端に接続されている。
The output terminal of the data selector 40 is connected to the sub memory 4.
It is connected to the input terminal of 1.

前記サブメモリ41の出力端は、出力端子42に接続さ
れている。
The output end of the sub-memory 41 is connected to an output terminal 42.

このように構成された画像データ圧縮装置の作用につい
て説明する。
The operation of the image data compression device configured as described above will be explained.

回転フィルタ9は、第2図に示すように、制御信号発生
部12の制御信号に同期して回転するモータ11により
回転し、ランプ10の照明光を、R,G及びBに分光す
る。この分光された照明光は、ライトガイド8を導光さ
れ被写体に照射される。
As shown in FIG. 2, the rotary filter 9 is rotated by a motor 11 that rotates in synchronization with a control signal from a control signal generator 12, and separates the illumination light from the lamp 10 into R, G, and B. This separated illumination light is guided through the light guide 8 and irradiated onto the subject.

前述した照明光に照らされた被写体の被写体光束は、図
示しない対物レンズ系によりCCDIの搬像面に結像し
、光電変換され、撮像信号となってアンプ2へ入力され
る。
The subject light flux of the subject illuminated by the illumination light described above is imaged on the image carrier of the CCDI by an objective lens system (not shown), photoelectrically converted, and inputted to the amplifier 2 as an imaging signal.

前記アンプ2は、前述した搬像信号から雑音等を除去し
映像信号とし、この映像信号を例えば0〜1Vの一定の
電圧範囲となるように増幅し、γ回路3へ出力する。
The amplifier 2 removes noise and the like from the carrier signal described above to produce a video signal, amplifies this video signal to a constant voltage range of 0 to 1V, for example, and outputs it to the γ circuit 3.

前記γ回路3は、前述した映像信号を、ガンマ特性を持
つように変換し、A/Dコンバータ7へ出力する。
The γ circuit 3 converts the aforementioned video signal to have gamma characteristics and outputs it to the A/D converter 7.

前記A/Dコンバータ7は、前述したガンマ特性を持つ
映像信号を例えば8bitのデジタル信号に変換、即ち
、量子化しセレクタ5へ出力する。
The A/D converter 7 converts the video signal having the aforementioned gamma characteristic into, for example, an 8-bit digital signal, that is, quantizes it and outputs it to the selector 5.

前記セレクタ5は、前記制御信号発生部12の制御信号
に同期して前述したデジタル信号をメモリ部6の各メモ
リへ出力する。これは、前記回転フィルタ9による照明
光の分光波長領域が赤色の場合、Rメモリ6Rへ出力し
、同様に8色の場合Gメモリ6Gへ出力し、同様に青色
の場合Bメモリ6Bへ出力する、即ち、被写体光束の波
長領域と等しいメモリに入力され記憶される。
The selector 5 outputs the digital signal described above to each memory of the memory section 6 in synchronization with the control signal from the control signal generating section 12. When the spectral wavelength range of the illumination light from the rotary filter 9 is red, it is output to the R memory 6R, similarly when it is 8 colors, it is output to the G memory 6G, and similarly when it is blue, it is output to the B memory 6B. That is, it is input and stored in the memory in the same wavelength range as the subject light flux.

前記メモリ部6の各メモリは、前記制御信号発生部12
の制御信号により、記憶したデータをD/Aコンバータ
部7及び画像データ圧縮装置20へ出力する。これは、
前記セレクタ5により順次入力されたデータを同時にD
/Aコンバータ部7へ出力する、即ち、順次撮像した各
波長領域の被写体光束を同時化するものである。
Each memory of the memory section 6 is connected to the control signal generating section 12.
The stored data is output to the D/A converter section 7 and the image data compression device 20 according to the control signal. this is,
The data sequentially inputted by the selector 5 are simultaneously D
It outputs to the /A converter section 7, that is, it synchronizes the sequentially imaged object light fluxes in each wavelength range.

前記D/Aコンバータ部7のD/Aコンバータ7Rは前
記Rメモリ6Rに記憶されたデータのデジタル信号をア
ナログ信号に変換し出力端子14Rへ出力し、D/Aコ
ンバータ7Gは前記Gメモリ6Gに記憶されたデータの
デジタル信号をアナログ信号に変換し出力端子14Gへ
出力し、D/Aコンバータ7Bは前記Bメモリ6Bに記
憶されたデータのデジタル信号をアナログ信号に変換し
出力端子14Bへ出力する。
The D/A converter 7R of the D/A converter section 7 converts the digital signal of the data stored in the R memory 6R into an analog signal and outputs it to the output terminal 14R. The digital signal of the stored data is converted into an analog signal and outputted to the output terminal 14G, and the D/A converter 7B converts the digital signal of the data stored in the B memory 6B to an analog signal and outputted to the output terminal 14B. .

同時に、同期信号発生回路13は、前記制御信号発生部
12の制御信号により、図示しないモニタが必要とする
水平同期信号等の所定の同期信号を発生し、出力端子1
43へ出力する。
At the same time, the synchronization signal generation circuit 13 generates a predetermined synchronization signal such as a horizontal synchronization signal required by a monitor (not shown) according to the control signal of the control signal generation section 12, and outputs a predetermined synchronization signal to the output terminal 1.
Output to 43.

前記出力端子14R,14G、14B、14Sに出力さ
れる信号により図示しないモニタはCCD1により撮像
された被写体をカラー画像として映しだす。
A monitor (not shown) displays the subject imaged by the CCD 1 as a color image based on the signals output to the output terminals 14R, 14G, 14B, and 14S.

また、前記メモリ部6のRメモリ6Rに記憶されたデー
タは制御信号発生部12の制御信号により、第1図(A
)に示すように、画像データ圧縮装置20の入力端子2
3Rへ入力され、1]様にGメモリ6Gに記憶されたデ
ータは入力端子23Gへ入力され、同様にBメモリ6B
に記憶されたデータは入力端子23Bへ入力される。
Further, the data stored in the R memory 6R of the memory section 6 is controlled by a control signal from the control signal generating section 12 as shown in FIG.
), the input terminal 2 of the image data compression device 20
3R and stored in the G memory 6G as in 1] is input to the input terminal 23G, and similarly the data is input to the B memory 6B.
The data stored in is input to the input terminal 23B.

入力端子24Rに入力されたRのデータは、制御信号発
生部31の制御信号によりRメモリ25Rに記憶され、
入力端子24Gに入力されたGのデータは、同様にGメ
モリ25Gに記憶され、入力端子24Bに入力されたB
のデータは、同様に8メモリ25Bに記憶される。
The R data input to the input terminal 24R is stored in the R memory 25R by a control signal from the control signal generator 31.
The G data input to the input terminal 24G is similarly stored in the G memory 25G, and the B data input to the input terminal 24B is stored in the G memory 25G.
The data is similarly stored in the 8 memory 25B.

前記セレクタ25は、前記Rメモリ24RXGメモリ2
4G及びBメモリ24Bに記憶されたRlG、Bのデー
タを、制御信号発生部31の制御により、ブロック化回
路26a、26b、26c及び画像判定回路27へ、R
,G、Bの順に順次出力する。
The selector 25 selects the R memory 24RXG memory 2.
The RlG and B data stored in the 4G and B memory 24B are sent to the blocking circuits 26a, 26b, 26c and the image determination circuit 27 under the control of the control signal generator 31.
, G, B sequentially.

前記ブロック化回路26a、26b、26cは、第3図
に示すように、入力端子31に順次入力されたR、G、
Bのデータを順次処理する。
The blocking circuits 26a, 26b, 26c, as shown in FIG.
Process the data of B sequentially.

入力端子31に入力された信号は、メインメモリ32に
記憶される。
The signal input to the input terminal 31 is stored in the main memory 32.

また、前記アドレス用カウンタ37は、注目画素を読み
出しすためのアドレスを前記マトリクス用カウンタ35
へ出力すると共に、周辺部検出回路38へ出力する。
Further, the address counter 37 inputs an address for reading out the pixel of interest to the matrix counter 35.
At the same time, it is output to the peripheral detection circuit 38.

これにより、前記マトリクス用カウンタ35は、第4図
(a)〜(C)に示すように、注目画素を中心に周辺画
素(以下、マトリクスと称する)を前記メインメモリ3
2から前記累積乗算器33に入力されるように該メイン
メ七り32を制御する。
As a result, the matrix counter 35 stores peripheral pixels (hereinafter referred to as a matrix) around the pixel of interest in the main memory 3, as shown in FIGS. 4(a) to 4(C).
The main input signal 32 is controlled so that the signal is inputted from 2 to the cumulative multiplier 33.

同時に、前記マトリクス用カウンタ35は、第4図(a
)〜(C)に示すように、注目画素を中心にマトリクス
の係数を前記係数用ROM36から前記累積乗算器33
へ入力されるように該係数用ROM36を制御する。
At the same time, the matrix counter 35 is
) to (C), the coefficients of the matrix are transferred from the coefficient ROM 36 to the cumulative multiplier 33 centering on the pixel of interest.
The coefficient ROM 36 is controlled so that the coefficient is input to the coefficient.

前記注目画素は、例えば第4図(a>に示ずように縦2
画素、横1画素(以下、iX2マトリクスと称する)の
場合、上側の画素とし、例えば第4図(b)に示すよう
に縦横共に2画素(以下、2x2マトリクスと称する)
である場合、左上部の画素とし、例えば第4図<C)に
示すように縦横共に3画素(以下、3X3マトリクスと
称する)の場合、中心の画素としている。
The pixel of interest is, for example, vertically divided by 2 pixels as shown in FIG. 4 (a).
In the case of one pixel horizontally (hereinafter referred to as an iX2 matrix), the upper pixel is the upper pixel, and for example, as shown in Figure 4(b), there are two pixels in both the vertical and horizontal directions (hereinafter referred to as a 2x2 matrix).
For example, as shown in FIG. 4 <C), if there are three pixels in both the vertical and horizontal directions (hereinafter referred to as a 3×3 matrix), the center pixel is used.

また、係数用ROM36に記録された係数は、例えばI
X2マトリクスの場合1/2とし、2X271〜リクス
の場合 1/4とし、3X3マトリクスの場合 1/9
としている。
Further, the coefficients recorded in the coefficient ROM 36 are, for example, I
In the case of X2 matrix, it is 1/2, in the case of 2X271~RIX, it is 1/4, and in the case of 3X3 matrix, it is 1/9.
It is said that

前記累積乗算器33は、前述したようにメインメモリ3
2から入力された注目画素を中心とするマトリクスと、
前述したように係数用ROM36に記録された係数とを
乗停し、さらに累積加算を行い異常値補正回路34へ出
力する。
The cumulative multiplier 33 is connected to the main memory 3 as described above.
A matrix centered on the pixel of interest input from 2,
As described above, the coefficients recorded in the coefficient ROM 36 are multiplied by or subtracted from each other, and cumulative addition is performed and the result is output to the abnormal value correction circuit 34.

前記異常値補正回路34は、前述したように入力された
データ所定の範囲を逸脱している場合に、所定の範囲に
集束するように補正し、データセレクタ40へ出力する
As described above, when the input data deviates from a predetermined range, the abnormal value correction circuit 34 corrects the data so that it converges within a predetermined range, and outputs the corrected data to the data selector 40 .

また、前記周辺部検出回路38は、前記アドレスカウン
タ37から入ツノされたアドレス値により、現在の注目
画素が画面の中心部であるか否かを検出し、画面の周辺
部である場合は前記周辺部データROM39に、該周辺
部に該当するデータを出力するように制御すると共に、
前記データセレクタ40を前記周辺部データROM39
のデータを出力するように制御する。これは、画面周辺
部において、注目画素の周辺部が欠落し、前記累積乗算
器33から正しい演算結果を得ることができないためで
ある。
Further, the peripheral area detection circuit 38 detects whether the current pixel of interest is in the center of the screen based on the address value inputted from the address counter 37, and if it is in the peripheral area of the screen, the Controls the peripheral data ROM 39 to output data corresponding to the peripheral part, and
The data selector 40 is connected to the peripheral data ROM 39.
control to output data. This is because the periphery of the pixel of interest is missing in the periphery of the screen, making it impossible to obtain a correct calculation result from the cumulative multiplier 33.

前記データセレクタ40は、前述したように、注目画素
が画面の周辺部である場合、前記周辺部データROM3
9のデータをサブメモリ41へ出力し、それ・以外の場
合、前記異常値補正回路34からのデータをサブメモリ
41へ出力する。
As described above, when the pixel of interest is in the peripheral area of the screen, the data selector 40 selects the peripheral area data ROM3.
9 is output to the sub-memory 41, and in other cases, the data from the abnormal value correction circuit 34 is output to the sub-memory 41.

ざらに、前記アドレス用カウンタ37は、前述したマト
リクスが重複しないように注目アドレス値を指定し、一
画面終了まで上述した作用を繰り返し、さらに、R,G
、Bの全画面が終了するまで上述した作用を繰り返り。
Roughly speaking, the address counter 37 specifies the address value of interest so that the matrices described above do not overlap, repeats the above-mentioned operation until the end of one screen, and further specifies the R, G
, repeat the above operations until the entire screen of B is completed.

したがって、前記サブメモリ41には、R,G。Therefore, the sub-memory 41 stores R, G.

Bの3画面分の処理されたデータが記録される。Processed data for three screens of B is recorded.

上述したようにマトリクスを用いると、例えばIX2マ
トリクスの場合データ量は1/2となり、2x2マトリ
クスの場合データ量は1/4となり、3X3マトリクス
の場合データmは1/9となる。
When matrices are used as described above, for example, in the case of an IX2 matrix, the data amount becomes 1/2, in the case of a 2x2 matrix, the data amount becomes 1/4, and in the case of a 3x3 matrix, the data m becomes 1/9.

前述したようにブロック化回路26a、26b。Blocking circuits 26a, 26b as described above.

26cにより圧縮された画像は、第3図に示すようにセ
レクタ28へ入力されると共に、画像判定回路27へ入
力される。
The image compressed by 26c is input to the selector 28 as shown in FIG. 3, and is also input to the image determination circuit 27.

前記画像判定回路27では、前記セレクタ25から人力
された原画像と、前記ブロック化回路26a、26b、
26cから入力された圧縮された画像を、例えば「電気
通信学会論文誌7715Vo1.J60−B No、5
Jに記載されているS/N (信号対雑音)或いはエン
トロピー等に基づき評価し、所定の評価値以上のブロッ
ク化回路を選択する。なお、所定の評価値以上のブロッ
ク化回路が複数である場合は、前述したマトリクスの大
きい、即ち、圧縮率の高いブロック化回路を選択するよ
うにしている。さらに、前記画像判定回路27岬よ、前
述したように選択されたブロック化回路を出力するよう
にセレクタ28を制御すると共に、どのマトリクスを用
いたか等の情報を出力するように、前記圧縮情報用RO
M30を制御する。
In the image determination circuit 27, the original image manually input from the selector 25 and the blocking circuits 26a, 26b,
For example, the compressed image input from 26c is
Evaluation is made based on the S/N (signal to noise) or entropy described in J, and a blocked circuit having a predetermined evaluation value or more is selected. In addition, when there are multiple blocking circuits having a predetermined evaluation value or more, the blocking circuit with a large matrix, that is, a high compression ratio, is selected. Furthermore, the image determination circuit 27 controls the selector 28 to output the selected blocking circuit as described above, and also controls the compressed information to output information such as which matrix is used. R.O.
Controls M30.

前記セレクタ28は、前記画質判定回路27の制御によ
り、前記ブロック化回路26a、26b。
The selector 28 selects the blocking circuits 26a and 26b under the control of the image quality determination circuit 27.

26cのいずれか一つかに入力された信号を前記予測符
号化器2つへ出力する。
26c is output to the two predictive encoders.

前記予測符号化器29は、例えば「画像処理ハンドブッ
ク(昭晃堂発行)  P、127〜P、129 Jに記
載されている予測符号化方法により予測誤差を産出し、
画像記録装置22へ出力する。
The predictive encoder 29 generates a prediction error using the predictive encoding method described in, for example, "Image Processing Handbook (published by Shokodo) P, 127-P, 129 J,"
Output to the image recording device 22.

前記画像記録装置22は、前述したように入力された圧
縮画像と圧縮情報とを光ディスク或いは光磁気ディスク
等の大容量記憶媒体に記録する。
The image recording device 22 records the input compressed image and compressed information as described above on a large-capacity storage medium such as an optical disk or a magneto-optical disk.

本実施例では、3種類のブロック化回路により、同時に
ブロック化による圧縮を行い、その後に画像を判定する
ようにしている。したがって、圧縮に必要とする時間は
常に一定である。また、ブロック化による圧縮をした後
に、さらに予測符号化により圧縮をすることにより、圧
縮効率を向上するようにしている。
In this embodiment, three types of blocking circuits perform blocking compression at the same time, and then the image is determined. Therefore, the time required for compression is always constant. Further, after compression by blocking, compression is further performed by predictive coding to improve compression efficiency.

即ち、例えば通常観察画像のように隣接画素間の相関性
が高く、高周波成分の少ない画像に対しては、大きいマ
トリクスを用いて圧縮効率を向上し、例えば染色等によ
る特殊観察画像のように隣接画素間の相関性が低く、高
周波成分の多い画像に対しては・、小さいマトリクスを
用いて画質の低下を防ぐことができるという効果がある
In other words, for images with high correlation between adjacent pixels and few high-frequency components, such as normal observation images, a large matrix is used to improve compression efficiency, and for example, for images with special observation such as staining, a large matrix is used to improve compression efficiency. For images with low correlation between pixels and many high frequency components, a small matrix can be used to prevent deterioration in image quality.

第5図ないし179図は本発明の第2実論例に係わり、
第5図は電子内視鏡装置の構成を示す説明図、第6図は
予測符号化に関する説明図、第7図及び第8図は内視鏡
画像の予測誤差の頻度分布に関する説明図、第9図は圧
縮処理に関するフローチャートである。なお、第1実施
例と同様のものは同一の符号を用いて説明を省略する。
5 to 179 relate to the second practical example of the present invention,
FIG. 5 is an explanatory diagram showing the configuration of the electronic endoscope device, FIG. 6 is an explanatory diagram regarding predictive coding, FIGS. 7 and 8 are explanatory diagrams regarding the frequency distribution of prediction errors of endoscopic images, and FIG. FIG. 9 is a flowchart regarding compression processing. Components similar to those in the first embodiment are designated by the same reference numerals, and description thereof will be omitted.

画像データ圧縮装250には、第5図に示ずように、演
算処理装置51と、作業用メモリ52と、補助記憶装置
53とが設けられている。
The image data compression device 250 is provided with an arithmetic processing unit 51, a working memory 52, and an auxiliary storage device 53, as shown in FIG.

前記′t4算処理装置51は、前記作業用メモリ52と
、前記補助記憶装置53とが各々接続されている。
The 't4 arithmetic processing device 51 is connected to the working memory 52 and the auxiliary storage device 53, respectively.

また、前記演算処理装置51は、画像記録装置22と接
続されるようになっている。
Further, the arithmetic processing device 51 is connected to the image recording device 22.

前記画像データ圧縮装置50には、制御信号発生部12
の制御信号出力端の一つと、Rメモリ6R,Gメモリ6
G及びBメモリ6Bの出力端とが接続され、D/Aコン
バータ7R,7G、7Bの入力端が接続されている。
The image data compression device 50 includes a control signal generation section 12.
one of the control signal output terminals, R memory 6R, G memory 6
The output terminals of the G and B memories 6B are connected, and the input terminals of D/A converters 7R, 7G, and 7B are connected.

このように構成された画像データ圧縮装置の作用につい
て説明する。
The operation of the image data compression device configured as described above will be explained.

通常、前記Rメモリ6R,Gメモリ6G及びBメモリ6
Bの出力端は、前記画像データ圧縮装置50において、
前記D/Aコンバータ7R,7G。
Usually, the R memory 6R, G memory 6G and B memory 6
In the image data compression device 50, the output terminal of B is
The D/A converters 7R and 7G.

7Bの入力端と接続されている。Connected to the input end of 7B.

したがって、第1実施例と同様に、CCD1で搬像され
た画像は、図示しないモニタにカラー画像として映しだ
される。
Therefore, similarly to the first embodiment, the image carried by the CCD 1 is displayed as a color image on a monitor (not shown).

また、前記制御信号発生部12の制1211信号により
、前記Rメモリ6R,Gメモリ6G及びBメモリ6Bの
出力が前記演算処理装置51へ入力され、該演算処理装
置51、作業用メモリ52及び補助記憶装置53により
後述する画像圧縮処理が施され、前記画像記録装置22
に記録される。
Further, the outputs of the R memory 6R, G memory 6G, and B memory 6B are inputted to the arithmetic processing device 51 by the control signal 1211 of the control signal generating section 12, and the arithmetic processing device 51, the working memory 52, and the auxiliary Image compression processing, which will be described later, is performed by the storage device 53, and the image recording device 22
recorded in

前記演算処理装置51は、予測符号化により入力された
画像を圧縮し、前記画像記録装置22へ出力する。
The arithmetic processing device 51 compresses the input image by predictive encoding and outputs it to the image recording device 22.

この予測符号化について第6図ないし第8図を用いて説
明する。
This predictive encoding will be explained using FIGS. 6 to 8.

第6図は、あるnラインとその±1ラインの信号を図示
したものである。これによれば、n−iラインは、すで
に読み込まれ値が既知であり、nラインは、注目画素X
まで読み込まれ、該Xまでの値が既知であり、n+1ラ
インは全て値は未知である。
FIG. 6 illustrates the signals of a certain n line and its ±1 line. According to this, the ni line has already been read and the value is known, and the n line has the pixel of interest X
The values up to X are known, and the values of all n+1 lines are unknown.

ここで、注目画素Xの水平方向−1の画素をa、注目画
素の垂直方向、即ち、n−1ラインの同水平位置の画素
をC1このCの水平方向−1の画素をb、前記Cの水平
方向+1の画素をdとすると、前値予測式(前値)、平
均予測式(平均)及び複合予測式(複合)による予測値
X′は、次のようになる。
Here, a -1 pixel in the horizontal direction of the pixel of interest When the +1 pixel in the horizontal direction is d, the predicted value X' by the previous value prediction formula (previous value), average prediction formula (average), and composite prediction formula (composite) is as follows.

x’ =a               (前値)x
’ = 1/2(a+d)          (平均
)x’ = 3/4a+  1/4d+  1/2cm
  1/2d (複合)これによる予測誤差ΔXは、次
のようになる。
x' = a (previous value) x
' = 1/2(a+d) (average) x' = 3/4a+ 1/4d+ 1/2cm
1/2d (compound) The prediction error ΔX resulting from this is as follows.

Δx=x−x’ したがって、予測誤差ΔXを記録することで、既知のデ
ータから原画像のデータXを復元することができる。ま
た、一般に予測誤差ΔXは、原画像Xに比べて小さい値
となるため情報の圧縮が可能となる。
Δx=x−x′ Therefore, by recording the prediction error ΔX, the data X of the original image can be restored from known data. Furthermore, since the prediction error ΔX is generally a smaller value than the original image X, information can be compressed.

第7図及び第8図は、観察画像の頻度分布の一例を示し
ている。予測が正確に行われた場合、予III誤差は零
となり、予測値が真の値に比べて大きい場合、予測誤差
は十へ、小さい場合、予測誤差は−へ分布する。
FIGS. 7 and 8 show examples of frequency distributions of observed images. If the prediction is performed accurately, the prediction error will be zero; if the predicted value is larger than the true value, the prediction error will be distributed to 10; if it is small, the prediction error will be distributed to -.

第7図は、通常の観察画像の頻度分布を示し、第7図(
a)は、前値予測式を用いた場合を示し、第7図(b)
は、平均予測式を用いた場合を示し、第7図(C)は、
複合予測式を用いた場合を示している。通常め観察画像
においては、隣接画素間の相関性が高<、高周波成分が
少ないため、予測式がことなっても頻度分布が零に近い
部分に部分に集中する。したがって、前値予測式のよう
な簡易式を用いても十分圧縮することが可能である。
Figure 7 shows the frequency distribution of normal observation images, and Figure 7 (
Figure 7(b) shows the case where the previous value prediction formula is used.
shows the case where the average prediction formula is used, and FIG. 7(C) shows the case where the average prediction formula is used.
This shows the case where a composite prediction formula is used. In a normal observation image, the correlation between adjacent pixels is high and there are few high frequency components, so even if the prediction formula is different, the frequency distribution is concentrated in a portion close to zero. Therefore, even if a simple formula such as a previous value prediction formula is used, sufficient compression is possible.

第8図は、特殊な観1画像の頻度分布を示し、第8図(
a)は、前値予測式を用いた場合を示し、第8図(b)
は、平均予測式を用いた場合を示し、第8図(C)は、
複合予測式を用いた場合を示している。特殊な観察画像
においては、隣接画素間の相関性が低く、高周波成分が
多いため、予測式によって頻度分布が異なる。したがっ
て、前値予測式のような簡易式を用いると十分に圧縮す
ることができず、複合予測式等の複雑な予測式を用いな
(プれぼならない。
Figure 8 shows the frequency distribution of special view 1 images, and Figure 8 (
Figure 8(b) shows the case where the previous value prediction formula is used.
shows the case where the average prediction formula is used, and FIG. 8(C) shows the case where the average prediction formula is used.
This shows the case where a composite prediction formula is used. In special observed images, the correlation between adjacent pixels is low and there are many high frequency components, so the frequency distribution differs depending on the prediction formula. Therefore, if a simple formula such as a previous value prediction formula is used, sufficient compression cannot be achieved, and a complex prediction formula such as a compound prediction formula cannot be used.

前記演算処理装置51の処理について第9図を用いて説
明する。
The processing of the arithmetic processing unit 51 will be explained using FIG. 9.

ステップ(以下、Sと称する)300で処理プログラム
が呼び出され、8301へ引継がれる。
A processing program is called at step (hereinafter referred to as S) 300, and the process is taken over to step 8301.

前記8301は、初期値を設定する。この初期値は、I
maqe HがRGBの信号のいずれかのデータ配列、
X  5izeが横画素数、Y  szeが縦画素数、
DPCMOが予測誤差のデータの配列、x、yが注目画
素の位置を示す作業用の変数、caseが予測誤差式を
示す作業用の変数、Thが圧縮率の基準値であり本実施
例では原画像に対して30%以下に圧縮するように0.
3としてあり、Totalが予測誤差の総ビット数を格
納する変数である。その後8302へ引継ぐ。
The above 8301 sets an initial value. This initial value is I
maqe H is any data array of RGB signals,
X 5ize is the number of horizontal pixels, Y sze is the number of vertical pixels,
DPCMO is an array of prediction error data, x and y are working variables that indicate the position of the pixel of interest, case is a working variable that indicates the prediction error formula, and Th is the reference value of the compression rate. 0.0 to compress the image to 30% or less.
3, and Total is a variable that stores the total number of bits of prediction error. After that, it is taken over to 8302.

前記5302は、変数x、yを初期値の零に設定し、5
303へ引継ぐ。
The above 5302 sets the variables x and y to the initial value of zero, and
Transferred to 303.

前記8303は、変数Xを零に設定し、変数yを一加口
し、5304へ引継ぐ。
The step 8303 sets the variable X to zero, increments the variable y, and takes over to step 5304.

前記3304は、変数Xを一加算し、8305へ引継ぐ
The step 3304 increments the variable X by one and transfers it to step 8305.

前記5305は、予測誤差を算出するマクロであり、C
aSeが1である場合、前値予測式が実行され、CaS
eが2である場合、平均予測式が実行され、Ca5eが
3である場合、複合予測式が実行される。その後、83
06へ引継ぐ。
5305 is a macro that calculates a prediction error, and C
If aSe is 1, the previous value prediction formula is executed and CaS
If e is 2, the average prediction formula is executed, and if Ca5e is 3, the composite prediction formula is executed. After that, 83
Transferred to 06.

前記8306は、注目画素が横画素の最大値に達したか
判断し、達していない場合前記5304へ引継ぎ、達し
た場合8307へ引継ぐ。
The step 8306 determines whether the pixel of interest has reached the maximum horizontal pixel value, and if the pixel has not reached the maximum value, the step 5304 takes over, and if the pixel has reached the maximum value, the step 8307 takes over.

前記5307は、注目画素が縦画素の最大値に達したか
判断し、達していない場合前記8303へ引継ぎ、達し
た場合8308へ引継ぐ。
The step 5307 determines whether the pixel of interest has reached the maximum vertical pixel value, and if the pixel has not reached the maximum value, the step 8303 takes over, and if the pixel has reached the maximum value, the step 8308 takes over.

前記8308は、変数x、yを初期値の零に設定し、5
309へ引継ぐ。
The above 8308 sets the variables x and y to the initial value of zero, and
Transferred to 309.

前記5309は、変数Xを零に設定し、変敗yを一加算
し、8310へ引継ぐ。
The step 5309 sets the variable X to zero, adds 1 to the change y, and takes over to 8310.

前記5310は、変数Xを一加紳し、5311へ引継ぐ
The above 5310 adds the variable X and transfers it to 5311.

前記5311は、変数WOrkにDPCtvl (X。The above 5311 has DPCtvl (X.

Y)を代入し、変数3itを−に設定し、3312へ引
継ぐ。
Y), set variable 3it to -, and take over to 3312.

前記5312は、変数WOrkを2で割り、変数Wor
kへ代入し、5313へ引継ぐ。
The above 5312 divides the variable WOrk by 2 and calculates the variable Work.
Assign to k and take over to 5313.

前記5313は、変数Workが零でないか判断し、零
でない場合5314へ引継ぎ、零である場合5315へ
引継ぐ。
The step 5313 determines whether the variable Work is not zero, and if it is not zero, the step 5314 takes over, and if it is zero, the step 5315 takes over.

前記5314は、変数3itを一加痒し、前記5312
へ引継ぐ。
The above 5314 adds the variable 3it, and the above 5312
Transfer to.

前記5315は、変数Tota+に変数[3itを加輝
し、8316へ引継ぐ。
The above 5315 adds the variable [3it to the variable Tota+ and transfers it to 8316.

前記8316は、注目画素が横画素の最大値に達したか
判断し、達していない場合前記5310へ引継ぎ、達し
た場合5317へ引継ぐ。
The step 8316 determines whether the pixel of interest has reached the maximum horizontal pixel value, and if the pixel has not reached the maximum value, the step 5310 takes over, and if the pixel has reached the maximum value, the step 5317 takes over.

前記5317は、注目画素が縦画素の最大値に達したか
判断し、達していない場合前記8309へ引継ぎ、達し
た場合8318へ引継ぐ。
The step 5317 determines whether the pixel of interest has reached the maximum vertical pixel value, and if the pixel has not reached the maximum value, the step 8309 takes over, and if the pixel has reached the maximum value, the step 8318 takes over.

前記8318は、前述したTotalを全画素数で除算
し、圧縮率をRateに代入すし、5319へ引継ぐ。
The step 8318 divides the aforementioned Total by the total number of pixels, assigns the compression rate to the Rate, and proceeds to step 5319.

前記5319は、圧縮率が30%(変数Thが03)よ
り大きく、且つ、変数CaSeが3でなければ5320
へ引継ぎ、それでなければ5321へ引継ぐ。
The above 5319 is 5320 if the compression ratio is greater than 30% (variable Th is 03) and the variable CaSe is not 3.
Otherwise, take over to 5321.

前記3320は、変数Ca5eを一加咋し、前記530
2へ引継ぐ。
The above 3320 adds the variable Ca5e, and the above 530
Take over to 2.

前記5321は、プログラムの実行を終了する。The step 5321 ends the execution of the program.

上述したように、5301〜5317で、予測誤差の総
bitを算出し、8318で、圧縮率を算出することで
、最適な予測式を選択することができ、また、簡易な予
測式から実行されるので圧縮時間を短縮することができ
るという効果がある。
As described above, by calculating the total bits of the prediction error in steps 5301 to 5317 and calculating the compression ratio in step 8318, the optimal prediction formula can be selected, and the prediction formula can be executed from a simple prediction formula. This has the effect of shortening the compression time.

第10図及び第11図は、本発明の第3実施例に係わり
、第10図は画像データ圧縮装置の構成を示すブロック
図、第11図はフィルタリングに関する説明図である。
10 and 11 relate to a third embodiment of the present invention; FIG. 10 is a block diagram showing the configuration of an image data compression device, and FIG. 11 is an explanatory diagram regarding filtering.

なお、第1実施例と同様のものについては同一の符号を
用いて説明を省略する。また、面順次方式の電子内視v
t装置は第1実施例、或いは第2実施例と同様であるの
で説明を省略する。
Note that the same reference numerals are used for the same parts as in the first embodiment, and the description thereof will be omitted. In addition, electronic endoscopy using the screen sequential method
Since the device is the same as that in the first embodiment or the second embodiment, a description thereof will be omitted.

画像データ圧縮装置は、第10図に示すように、メモリ
部24に設けられたRメモリ24R,Gメモリ24G及
びBメモリ24Bと、セレクタ25と、1411rll
コサイン変換ヲすルDC王回路61ト、第1の圧縮手段
である第1フィルタリング回路62と、前記第1フィル
タリング回路62により圧縮された画像の画質を判定す
る画質判定回路(A>63と、第2の圧縮手段である第
2フィルタリング回路64と、前記第2フィルタリング
回路64により圧縮された画像の画質を判定する画質判
定回路(B)65と、第3の圧縮手段である第3フィル
タリング回路66と、前記メモリ部24、前記セレクタ
25、前記DCT回路61、前記画質判定回路(A)6
3、前記画質判定回路(B)65及び画像記録装置22
へ制御信号を供給する制御信号発生部67とから構成さ
れている。
As shown in FIG. 10, the image data compression device includes an R memory 24R, a G memory 24G, and a B memory 24B provided in the memory section 24, a selector 25, and a
A DC king circuit 61 that performs cosine conversion, a first filtering circuit 62 as a first compression means, and an image quality determination circuit (A>63) that determines the image quality of the image compressed by the first filtering circuit 62. A second filtering circuit 64 which is a second compression means, an image quality determination circuit (B) 65 which determines the image quality of the image compressed by the second filtering circuit 64, and a third filtering circuit which is a third compression means. 66, the memory section 24, the selector 25, the DCT circuit 61, and the image quality determination circuit (A) 6
3. The image quality determination circuit (B) 65 and the image recording device 22
and a control signal generating section 67 that supplies control signals to.

前記セレクタ25の出力端は、前記DCT回路61の入
力端と、前記画質判定回路(A)61の第1入力端と、
前記画質判定回路(B)65の第1入力端とに接続され
ている。
The output terminal of the selector 25 is an input terminal of the DCT circuit 61, a first input terminal of the image quality determination circuit (A) 61,
It is connected to the first input terminal of the image quality determination circuit (B) 65.

前記DCT回路61の出ノJ端は、前記第1フィルタリ
ング回路62の入力端に接続され、前記第1フィルタリ
ング回路62の出力端は、前記画質判定回路(△)63
の第2入力端に接続されている。
The output terminal J of the DCT circuit 61 is connected to the input terminal of the first filtering circuit 62, and the output terminal of the first filtering circuit 62 is connected to the image quality determination circuit (Δ) 63.
is connected to the second input terminal of.

前記画質判定回路(A)63は、第1出力端が前記画像
記録装置22の第1入力端に接続され、第2出力端が前
記第2フィルタリング回路64に接続されている。
The image quality determination circuit (A) 63 has a first output terminal connected to the first input terminal of the image recording device 22 and a second output terminal connected to the second filtering circuit 64.

前記第2フィルタリング回路64の出力端は、前記画質
判定回路(B)65の第2入力端に接続されている。
The output terminal of the second filtering circuit 64 is connected to the second input terminal of the image quality determination circuit (B) 65.

前記画質判定回路(B)は、第1の出力端が前記画像記
録装置22の第2入力端に接続され、第2出力端が前記
第3フィルタリング回路66に接続されている。
The image quality determination circuit (B) has a first output terminal connected to a second input terminal of the image recording device 22 and a second output terminal connected to the third filtering circuit 66.

前記メモリ部24、セレクタ25、DCT回路61、画
質判定回路(A)63、画質判定回路(B)65及び前
記画像記録装置22の制御端は、前記制御信号発生部6
7の制御出力端に各々接続されている。
The control terminals of the memory section 24, the selector 25, the DCT circuit 61, the image quality determination circuit (A) 63, the image quality determination circuit (B) 65, and the image recording device 22 are connected to the control signal generation section 6.
7 control output terminals, respectively.

このように構成された画像データ圧縮装置の作用につい
て説明する。
The operation of the image data compression device configured as described above will be explained.

前記セレクタ25は、前記Rメモリ24R,Gメモリ2
4G及びBメモリ24Bの信号を順次DCT回路61、
画質判定囲路(A)63及び画質判定回路(B)65へ
出力する。
The selector 25 selects the R memory 24R and the G memory 2.
The signals of the 4G and B memories 24B are sequentially converted to a DCT circuit 61,
It is output to an image quality determination circuit (A) 63 and an image quality determination circuit (B) 65.

前記DCT回路25は、入力された信号を例えば[1「
[:E Trans vol、I C−23P、90〜
P、39Jに記載されている、例えば8X8サイズの離
散コサイン変換を行ない、第1フイルタリング62へ出
力する。
The DCT circuit 25 converts the input signal into, for example, [1''
[:E Trans vol, IC-23P, 90~
For example, a discrete cosine transform of 8×8 size as described in P.39J is performed and output to the first filtering 62.

前記第1フィルタリング回路62は、例えば第11図(
a)に示すように、8×8サイズ単位の画素を、左端を
原点として4×4サイズに圧縮し、画質判定回路(A)
63へ出力する。
The first filtering circuit 62 is configured, for example, as shown in FIG.
As shown in a), the pixels of 8×8 size are compressed into 4×4 size with the left end as the origin, and the image quality judgment circuit (A)
Output to 63.

前記画質判定回路(A)63は、前述したように変換さ
れ、入力された信号を逆離散コサイン変換し、セレクタ
25から入力された原画像と比較する。この比較は、第
1実施例で説明したようにS/N或いはエントロピー等
で行なわれる。さらに、前記画質判定回路(A>63は
、圧縮された画像の画質が所定の基準以下である場合、
画像記録装置22へ前記第1フィルタリング回路62か
らの信号を出力し、所定の基準を越える場合、第2フィ
ルタリング回路64へ前記第1フィルタリング回路62
からの信号を出力する。
The image quality determination circuit (A) 63 performs inverse discrete cosine transform on the input signal, which has been transformed as described above, and compares it with the original image input from the selector 25. This comparison is performed using S/N, entropy, etc. as explained in the first embodiment. Furthermore, the image quality determination circuit (A>63) determines that when the image quality of the compressed image is below a predetermined standard,
The signal from the first filtering circuit 62 is output to the image recording device 22, and if it exceeds a predetermined standard, the signal is output from the first filtering circuit 62 to the second filtering circuit 64.
Output the signal from.

前記第2フィルタリング回路64は、前記前記画質判定
回路(A)63から入力された信号を、例えば第11図
(b)に示すように、4×41ナイズ単位の画素を、左
端を原点として3×3サイズに圧縮し、画質判定回路(
B)65へ出力する。
The second filtering circuit 64 divides the signal input from the image quality determination circuit (A) 63 into 3 pixels with the left end as the origin, as shown in FIG. 11(b), for example. ×3 size, image quality judgment circuit (
B) Output to 65.

前記画質判定回路(B)65は、前記画質判定回路<A
)63と同様に圧縮された画像を判定し、圧縮された画
像の画質が所定の基準以下である場合、前記画像記録装
置22へ前記第2フィルタリング回路64からの信号を
出力し、所定の基準を越える場合、第3フィルタリング
回路66へ前記第2フィルタリング回路64からの信号
を出力する。
The image quality determination circuit (B) 65 is configured such that the image quality determination circuit <A
) 63, and if the image quality of the compressed image is below a predetermined standard, the signal from the second filtering circuit 64 is output to the image recording device 22, and the signal is determined according to the predetermined standard. If the value exceeds 1, the signal from the second filtering circuit 64 is output to the third filtering circuit 66.

前記第3フィルタリング回路66は、例えば第11図(
C)に示すように、3×3サイズ中位の画素を、左端を
原点として2×2サイズに圧縮し、前記画像記録装置2
2へ出力する。
The third filtering circuit 66 is configured, for example, as shown in FIG.
As shown in C), a pixel with a medium size of 3×3 is compressed to a size of 2×2 with the left end as the origin, and the image recording device 2
Output to 2.

なお、前記画質判定回路(A>63において、画質が所
定の基準に達していない場合、原画像を出力し、前記画
質判定回路(B)65において、画質が所定の基準に達
していない場合、前記第1フィルタリング回路62の信
号を出ノjするようにしてもよい。
In addition, if the image quality does not reach a predetermined standard in the image quality determination circuit (A>63), the original image is output; The signal from the first filtering circuit 62 may be output.

即ち、原画像を所定の劣化しない範囲まで圧縮すること
ができるという効果がある。
That is, there is an effect that the original image can be compressed to a predetermined range without deterioration.

第1図(B)及び第12図は、本発明の第4実施例に係
わり、第1図(B)は、画像データ圧縮装置の構成を示
すブロック図、第12図は電子内視鏡装置の構成を示す
説明図である。
1(B) and 12 relate to the fourth embodiment of the present invention, FIG. 1(B) is a block diagram showing the configuration of an image data compression device, and FIG. 12 is an electronic endoscope device. FIG. 2 is an explanatory diagram showing the configuration of.

面順次搬像方式の電子内視鏡装置は、第12図に示すよ
うに、後述する各ブロックに所定の制御信号を発生ずる
タイミングシネレータ216と、被写体を搬像する例え
ばCOD (電荷結合素子)である個体元部素子203
と、この固体撮像素子203に被写体光束を結像させる
対物レンズ系202と、前記固体層I&素子へ駆動信号
を供給りるドライバ217と、前記固体搬像素子203
の画像信号を増幅するプリアンプ204ど、このプリア
ンプ204で増幅された映像信号をガンマ補正及びキト
リアの除去等をするプロセス回路205と、前述したγ
補正等をされたアナログ信号である映像信号をデジタル
信号のデータに変換りるアナログ・デジタルコンバータ
(以下、A/Dコンバータと称する)206と、このデ
ジタル信号をメモリ部208の各メモリへ切り換えて出
力するセレクタ207と、前記メモリ部208に設()
られた赤色波長領域(以下、Rと称する)を記憶するR
メモリ208R1緑色波長領域(以下、Gと称する)を
記憶するGメモリ208G及び青色波長領域(以下、B
と称する)を記憶するBメモリ208Bと、前記メモリ
部208に記憶された画像信号或いは後述する画像デー
タ圧縮装置70の画像信号をデジタル・アナログコンバ
ータ(以下、D/Aコンバータと称する)210へ出力
する表示切換回路20つと、前記メモリ部に記憶された
映像信号及び後述する内視鏡画像データ圧縮装置く以下
、画像データ圧縮装置と称する)70からの映像信号を
デジタル信号からアナログ信号に変換する前記D/Aコ
ンバータ210と、前記D/Aコンバータ210へ表示
画面用の枠を発生する画面枠発生回路211と、患者情
報等の情報を表示画面に合成するスーパインポーズ回路
212と、前記スーパインボーズ及び後述する画像フ?
イル装置80への患者情報等の情報を入力する文字情報
入力回路213と、前記スーパインポーズ回路212か
らのRGB信号を映しだすTVVTR231、+1ij
記ス一パインポーズ回路212のRGB信号を例えば輝
度信号及び色差信号に変換覆るマトリクス回路214と
、前記マトリクス回路214の信号を例えばNTSC信
号に変換するエンコーダ回路215と、前記エンコーダ
215からのNTSC信号を記録するVTR231と、
前記固体撮像素子203が搬像する部位等に供給するた
めの照明光を発生づるランプ221と、前記ランプ22
1へ電力を供給する電源220と、このランプ221の
光をR,G及びBに分光り−るフィルタが配設された回
転フィルタ222と、この回転フィルタ222を回転さ
せるモータ21つと、前記タイミングシネレータ216
の制すll信号により前記モータ219へ駆動電力を供
給するモータドライバ218と、前述した分光された照
明光を前記固体撮像素子203の撮像する部位等へ導光
するライトガイド201とから構成されている。
As shown in FIG. 12, the field-sequential image transport type electronic endoscope apparatus includes a timing cinerator 216 that generates a predetermined control signal for each block (to be described later), and a charge-coupled device (COD), for example, that transports the subject. ) is the solid element element 203
, an objective lens system 202 that forms an image of a subject light beam on this solid-state image sensor 203, a driver 217 that supplies a drive signal to the solid-state layer I&element, and the solid-state image sensor 203.
a preamplifier 204 that amplifies the image signal of the preamplifier 204, a process circuit 205 that performs gamma correction and chitria removal on the video signal amplified by the preamplifier 204, and
An analog-to-digital converter (hereinafter referred to as an A/D converter) 206 converts a video signal, which is an analog signal that has been corrected, etc., into digital signal data, and this digital signal is switched to each memory in a memory unit 208. The output selector 207 and the memory section 208 ()
R to store the red wavelength region (hereinafter referred to as R)
Memory 208R1 G memory 208G that stores a green wavelength region (hereinafter referred to as G) and a blue wavelength region (hereinafter referred to as B)
A B memory 208B stores the image signal (hereinafter referred to as a D/A converter) and outputs the image signal stored in the memory section 208 or the image signal of the image data compression device 70 described later to a digital-to-analog converter (hereinafter referred to as a D/A converter) 210. 20 display switching circuits, 20 display switching circuits, video signals stored in the memory section, and video signals from an endoscopic image data compression device (hereinafter referred to as image data compression device) 70, which will be described later, are converted from digital signals to analog signals. The D/A converter 210, the screen frame generation circuit 211 that generates a display screen frame for the D/A converter 210, the superimpose circuit 212 that synthesizes information such as patient information on the display screen, and the superimpose circuit 212 that synthesizes information such as patient information on the display screen. Invoice and image files described below?
a character information input circuit 213 for inputting information such as patient information to the file device 80; and a TVVTR 231 for displaying RGB signals from the superimpose circuit 212;
a matrix circuit 214 that converts the RGB signal of the spine pause circuit 212 into, for example, a luminance signal and a color difference signal; an encoder circuit 215 that converts the signal of the matrix circuit 214 into, for example, an NTSC signal; and an NTSC signal from the encoder 215. A VTR 231 that records
a lamp 221 that generates illumination light for supplying an image to a region etc. on which the solid-state image sensor 203 carries an image; and a lamp 22
1, a rotating filter 222 provided with a filter that separates the light from this lamp 221 into R, G, and B, 21 motors that rotate this rotating filter 222, and 21 motors that rotate this rotating filter 222; Cinerator 216
It is composed of a motor driver 218 that supplies driving power to the motor 219 in accordance with the ll signal controlled by the controller, and a light guide 201 that guides the aforementioned separated illumination light to a region to be imaged by the solid-state image sensor 203. .

前記ランプ221は、キセノンランプ或いはストロボラ
ンプ等、可視光波長領域のみならず、紫外光波長領域か
ら赤外光波長領域まで照明光を発生ずることができるも
のである。
The lamp 221 is a xenon lamp, a strobe lamp, or the like that can generate illumination light not only in the visible wavelength range but also in the ultraviolet to infrared wavelength range.

また、前記固体撮像素子203は、可視光波長領域のみ
ならず、紫外光波長領域から赤外光波長領域までの感度
を有するものである。
Furthermore, the solid-state image sensor 203 has sensitivity not only in the visible light wavelength region but also in the ultraviolet light wavelength region to the infrared light wavelength region.

前記ライトガイド201の出射端面と、前記対物レンズ
系202と、前記固体搬像素子203とは、内視鏡の先
端部200に配設されている。
The exit end face of the light guide 201, the objective lens system 202, and the solid-state image carrier 203 are arranged at the distal end portion 200 of the endoscope.

前記固体撮像素子203は、前記対物レンズ系202の
結像位置に配設されている。
The solid-state image sensor 203 is arranged at the imaging position of the objective lens system 202.

Oh記固体搬像素子203は、前記プリアンプ204の
入力端に接続され、前記プリアンプ204の出力端は前
記プロセス回路205の入力端に接続され、前記プロセ
ス回路205の出力端は前記△/Dコンバータ206の
入力端に接続され、前記A/Dコンバータ206の出力
端は前記セレクタ207の入力端に接続されている。
The solid-state imaging element 203 is connected to the input end of the preamplifier 204, the output end of the preamplifier 204 is connected to the input end of the process circuit 205, and the output end of the process circuit 205 is connected to the Δ/D converter. The output terminal of the A/D converter 206 is connected to the input terminal of the selector 207.

前記Rメモリ208R,前記Gメモリ208G及び前記
Bメモリ208Bの入力端は、各々前記セレクタ207
の出力端に接続されている。前記Rメモリ208R,G
メモリ208G及びBメモリ208Bの出力端は前記表
示切換回路209の入力端に接続されると共に、後述す
る画像データ圧縮装@70の入力端に接続されている。
The input terminals of the R memory 208R, the G memory 208G, and the B memory 208B are connected to the selector 207, respectively.
connected to the output end of the The R memory 208R,G
The output terminals of the memory 208G and the B memory 208B are connected to the input terminal of the display switching circuit 209, and also to the input terminal of an image data compression device @70, which will be described later.

前記表示切換回路209の出力端は前記D/Aコンバー
タ210の入力端に接続され、前記D/△コンバータ2
10の出力端は前記スーパインポーズ回路212の入力
端に接続されている。
The output terminal of the display switching circuit 209 is connected to the input terminal of the D/A converter 210, and the output terminal of the display switching circuit 209 is connected to the input terminal of the D/A converter 210.
The output terminal of 10 is connected to the input terminal of the superimposing circuit 212.

前記画面枠発生回路211の出力端は前記D/Aコンバ
ータ210の入ツノ端に接続されている。
The output terminal of the screen frame generation circuit 211 is connected to the input terminal of the D/A converter 210.

前記文字情報入力回路は、第1の出力端が前記スーパイ
ンポーズ回路212に接続され、第2の出力端が後述す
る画像ファイル装置80に接続されている。
The character information input circuit has a first output terminal connected to the superimpose circuit 212, and a second output terminal connected to an image file device 80, which will be described later.

前記スーパインポーズ回路212の出力端は前記TVモ
ニタ230に接続されると共に、前記マトリクス回路2
14へ接続されている。
The output terminal of the superimpose circuit 212 is connected to the TV monitor 230 and the output terminal of the superimpose circuit 212 is connected to the TV monitor 230 and
14.

前記マトリクス回路214の出力端は前記エンコーダ回
路215の入力端に接続され、前記エンコーダ回路21
5の出力端は前記VTR231の入力端に接続されてい
る。
The output terminal of the matrix circuit 214 is connected to the input terminal of the encoder circuit 215, and the output terminal of the matrix circuit 214 is connected to the input terminal of the encoder circuit 215.
The output terminal of 5 is connected to the input terminal of the VTR 231.

前記タイミングジェネレータ216は、第1の出り端が
前記ドライバ217に接続され、第2の出力端が前記メ
モリ部208に接続され、第3の出力端が前記モータド
ライバ218に接続されている。
The timing generator 216 has a first output end connected to the driver 217, a second output end connected to the memory section 208, and a third output end connected to the motor driver 218.

前記ドライバ217の出力端は前記固体搬像素子203
の駆動端に接続され、前記モータドライバの出力端は前
記モータ219に接続されている。
The output end of the driver 217 is connected to the solid-state image element 203.
The output end of the motor driver is connected to the motor 219.

前記電源220の出力端は前記ランプ221に接続され
ている。
An output end of the power source 220 is connected to the lamp 221.

前記画像データ圧縮装置70は、前記メモリ部208の
データを圧縮する画像圧縮部9oが設けられている。
The image data compression device 70 is provided with an image compression section 9o that compresses data in the memory section 208.

画像ファイル装置80は、光ディスク或いは光磁気ディ
スク等の大音ω記録媒体を用いて、前記画像データ圧縮
装置90で圧縮されたデータ及び前記文字情報入力回路
213により入力された愚老情報等を記録するものであ
る。
The image file device 80 records the data compressed by the image data compression device 90 and the old age information inputted by the character information input circuit 213 using a high-frequency recording medium such as an optical disk or a magneto-optical disk. It is something.

前記画像データ圧縮装置70は、第1図(B)に示すよ
うに、圧縮手段である予測符号化回路(A>72、二値
化を含む圧縮手段である予測符号化回路(B)73及び
DCT(離散コサイン)による圧縮手段であるDCT変
換回路74と、伸張手段である復号回路(A)75、復
号回路(B)76及び復号回路(C)77と、前記圧縮
手段を切り換えて前記画像ファイル装置80へ出力する
セレクト回路78と、前記伸張手段を切り換えて前記表
示切換回路209へ出力するセレクト回路79とから構
成されている。
As shown in FIG. 1(B), the image data compression device 70 includes a predictive encoding circuit (A>72, a predictive encoding circuit (B) 73 as a compression means including binarization) as a compression means, and a predictive encoding circuit (B) 73 as a compression means including binarization. A DCT transform circuit 74, which is a compression means using DCT (discrete cosine), and a decoding circuit (A) 75, a decoding circuit (B) 76, and a decoding circuit (C) 77, which are decompression means, switch the compression means to convert the image. It is comprised of a select circuit 78 that outputs to the file device 80 and a select circuit 79 that switches the expansion means and outputs to the display switching circuit 209.

前記予測符号化回路(A)72、予測符号化回路(B)
73及びDCT変換回路74のR,G。
The predictive encoding circuit (A) 72, the predictive encoding circuit (B)
73 and R, G of the DCT conversion circuit 74.

Bの入力端は、各々入力端子71R,71G、71Bに
接続されている。
The input ends of B are connected to input terminals 71R, 71G, and 71B, respectively.

前記予測符号化回路(A>72の出力端は、前記復号回
路(A>75の入力端に接続されると共に、前記セレク
ト回路78の第1入力端に接続されている。
The output terminal of the predictive encoding circuit (A>72) is connected to the input terminal of the decoding circuit (A>75), and is also connected to the first input terminal of the select circuit 78.

前記予測符号化回路(B)73の出力端は、前記復帰回
路(B)76の入力端に接続されると共に、前記セレク
ト回路78の第2入力端に接続されている。
The output terminal of the predictive encoding circuit (B) 73 is connected to the input terminal of the restoration circuit (B) 76, and is also connected to the second input terminal of the selection circuit 78.

前記DCT回路74の出力端は、前記復号回路(C)7
7の入力端に接続されると共に、前記セレクト回路78
の第3入力端に接続されている。
The output terminal of the DCT circuit 74 is connected to the decoding circuit (C) 7.
7, and the select circuit 78
is connected to the third input terminal of.

前記復号回路(A)75の出力端は前記セレクト回路7
9の第1入力端に接続され、前記復号回路(B)76の
出力端は前記セレクト回路79の第2入力端に接続され
、前記復号回路(C)77の出力端は前記セレクト回路
79の第3入力端に接続されている。
The output terminal of the decoding circuit (A) 75 is connected to the select circuit 7.
The output terminal of the decoding circuit (B) 76 is connected to the second input terminal of the selection circuit 79, and the output terminal of the decoding circuit (C) 77 is connected to the first input terminal of the selection circuit 79. It is connected to the third input terminal.

前記セレクト回路78及びセレクト回路79のセレクト
信号入力端は、セレクト端子82に接続されている。
The select signal input terminals of the select circuit 78 and the select circuit 79 are connected to the select terminal 82.

前記セレクト回路78の出力端は前記画像ファイル装置
80の入力端に接続されている。
The output terminal of the selection circuit 78 is connected to the input terminal of the image file device 80.

前記画像ファイル80のレリーズ端はレリーズ端子81
に接続されている。
The release end of the image file 80 is the release terminal 81
It is connected to the.

前記セレクト回路79のR,G、Bの出力端は、出力端
子83R,83G、83Bに接続されている。
The R, G, and B output terminals of the select circuit 79 are connected to output terminals 83R, 83G, and 83B.

このように構成された画像データ圧縮装置の作用につい
て説明する。
The operation of the image data compression device configured as described above will be explained.

タイミングジェネレータ216は、第12図に示すよう
に、メモリ部208、ドライバ217及びモータドライ
バ218所定のタイミングパルスを供給する。
The timing generator 216 supplies predetermined timing pulses to the memory section 208, driver 217, and motor driver 218, as shown in FIG.

前記ドライバ217は、前述したタイミングパルスによ
り固体搬像素子203に光電変換及び該充電変換信号を
読み出しずための駆動信号を供給する。
The driver 217 supplies a drive signal for not reading out the photoelectric conversion and charge conversion signals to the solid-state image carrier 203 using the timing pulse described above.

前記ランプ221は、電源220の駆動電力により前述
した照明光を生ずる。
The lamp 221 generates the above-described illumination light using driving power from a power source 220.

前記モータドライバ218は、タイミングジェネレータ
216の制御信号に同期し駆動電力を発生する。この駆
動電力により前記モータが回転し、これにより、前記回
転フィルタ222が回転し、前記ランプ221の照明光
を、R,G及びBに分光する。この分光された照明光は
、ライトガイド201を導光され内視鏡先端面200に
配設された出射端面から被写体に照射される。
The motor driver 218 generates driving power in synchronization with a control signal from the timing generator 216. This driving power causes the motor to rotate, which causes the rotary filter 222 to rotate and separates the illumination light from the lamp 221 into R, G, and B. This separated illumination light is guided through a light guide 201 and is irradiated onto a subject from an output end face disposed at the end face 200 of the endoscope.

前述した照明光に照らされた被写体の被写体光束は、対
物レンズ系202により固体撮像素子203の撮像面に
結像し、光電変換され、Rt@信号となってプリアンプ
204へ入力される。
The subject light flux of the subject illuminated by the illumination light described above is imaged by the objective lens system 202 on the imaging surface of the solid-state image sensor 203, photoelectrically converted, and inputted to the preamplifier 204 as an Rt@ signal.

前記プリアンプ204は、前述した撮像信号を所定の電
圧に増幅し、プロセス回路205へ出力層る。
The preamplifier 204 amplifies the above-mentioned imaging signal to a predetermined voltage and outputs it to the process circuit 205.

前記プロセス回路205は、入力された信号をγ補正及
びキt7リヤ除去等の処理をし、さらに、ハレーション
部にはニー特性を、暗部にはペデメタルレベルとなるよ
うにバイアスを加え、A/Dコンバータ206へ出力す
る。
The process circuit 205 processes the input signal by γ correction and chit7 rear removal, and further applies a bias so that the halation part has a knee characteristic and the dark part has a pedemal level, and A/ Output to D converter 206.

前記△/Dコンバータ206は、前述した信号を例えば
8bitのデジタル信号に変換、即ち、量子化しセレク
タ207へ出力する。
The Δ/D converter 206 converts the aforementioned signal into, for example, an 8-bit digital signal, that is, quantizes it, and outputs it to the selector 207.

前記セレクタ207は、前述したデジタル信号をメモリ
部208の各メモリへ出力する。これは、前記回転フィ
ルタ222による照明光の分光波長領域が赤色の場合、
Rメモリ208Rへ出力し、同様に緑色の場合Gメモリ
208Gへ出力し、同様に青色の場合Bメモリ208B
へ出力する、即ち、被写体光束の波長領域と等しいメモ
リに入力され記憶される。
The selector 207 outputs the digital signal described above to each memory of the memory section 208. This means that when the spectral wavelength region of the illumination light by the rotation filter 222 is red,
Similarly, if it is green, it is output to the G memory 208G, and similarly, if it is blue, it is output to the B memory 208B.
In other words, it is input to and stored in a memory having a wavelength range equal to that of the subject light beam.

前記メモリ部208の各メモリは、前記タイミングジェ
ネレータ216の制御信号により、記憶したデータを表
示切換回路209及び画像データ圧縮装置70へ出力す
る。これは、前記セレクタ5により順次入力されたデー
タを同時に表示切換回路209へ出力する、即ち、順次
撮像した各波長領域の被写体光束を同時化するものであ
る。
Each memory of the memory unit 208 outputs stored data to the display switching circuit 209 and the image data compression device 70 in response to a control signal from the timing generator 216. This is to output the data sequentially inputted by the selector 5 to the display switching circuit 209 at the same time, that is, to synchronize the subject light fluxes of each wavelength range that are sequentially imaged.

前記表示切換回路209は、前記メモリ部208から入
力された信号或いは前記画像データ圧縮装置70から入
ノJされた信号を選択してD/Δコンバータ210へ出
力する。
The display switching circuit 209 selects the signal input from the memory section 208 or the signal input from the image data compression device 70 and outputs it to the D/Δ converter 210.

前記D/Aコンバータ210は、前記表示切換回路20
9から入力された信号と、画面枠発生回路211から入
力された表示画面の枠を形成する信号とを合成し、さら
に、デジタル信号をアナログ信号に変換しスーパインポ
ーズ回路212へ出力する。
The D/A converter 210 is connected to the display switching circuit 20.
The signal input from 9 and the signal forming the frame of the display screen input from the screen frame generation circuit 211 are combined, and the digital signal is further converted into an analog signal and output to the superimpose circuit 212.

前記スーパインポーズ回路212は、前記D/Aコンバ
ータ210から入力された信号に、文字情報入力回路2
13からの例えば患者情報を合成した画面の信号を形成
し、TVVTR231びマトリクス回路214へ出力づ
゛る。
The superimpose circuit 212 applies the character information input circuit 2 to the signal input from the D/A converter 210.
For example, a screen signal is formed by combining patient information from 13, and is output to the TVVTR 231 and matrix circuit 214.

前記TVモニタ230は、前記スーパインポーズ回路2
12から入力された信号を画面に映しだす。
The TV monitor 230 is connected to the superimpose circuit 2.
The signal input from 12 is displayed on the screen.

また、前記マトリクス回路214は、前記スーパインポ
ーズ回路212から入力された信号を例えば輝度信号と
色差信号とにし、エンコーダ回路215へ出力する。
Further, the matrix circuit 214 converts the signal input from the superimpose circuit 212 into, for example, a luminance signal and a color difference signal, and outputs the signals to the encoder circuit 215.

前記エンコーダ回路215は、入力された輝度信号及び
色差信号を例えばNTSC信号に変換し、VTR231
へ出力する。
The encoder circuit 215 converts the input luminance signal and color difference signal into, for example, an NTSC signal, and outputs the signal to the VTR 231.
Output to.

前記V T R231ハ、前記NTSC信号をビデオテ
ープ等に動画として記録する。
The VTR 231 records the NTSC signal as a moving image on a video tape or the like.

前記画像データ圧縮装置70は、第1図(B)に示すよ
うに、前記Rメモリ208Rからの信号が入力端子71
Rに入力され、前記Gメモリ208Gからの信号が入力
端子71Gに入力され、前記Bメモリ208Bからの信
号が入力端子71Bに入力される。
As shown in FIG. 1(B), the image data compression device 70 receives the signal from the R memory 208R at an input terminal 71.
The signal from the G memory 208G is input to the input terminal 71G, and the signal from the B memory 208B is input to the input terminal 71B.

前記入力端子71R,71G、71Bに入力された信号
は、圧縮回路である予測符号化回路<A>72、二値化
を含む圧縮回路である予測符号化回路(B)73及び離
散コサイン変換による圧縮回路であるDCT回路74へ
入力される。
The signals input to the input terminals 71R, 71G, and 71B are processed by a predictive encoding circuit <A> 72 which is a compression circuit, a predictive encoding circuit (B) 73 which is a compression circuit including binarization, and a discrete cosine transform. The signal is input to a DCT circuit 74 which is a compression circuit.

前記予測符号化回路(A>72、予測符号化回路(B)
73及びDCT回路74では、入力された信号をそれぞ
れ異なった圧縮方法により圧縮し、予測符号化回路(A
)72は復号回路(△〉75へ出力すると共に、セレク
ト回路78の第1入力端へ出力し、予測符号化回路(B
)73は復号回路(B)76へ出力すると共に、セレク
ト回路78の第2入力端へ出力し、DCT回路74は復
号回路(C)77へ出力づると共に、セレクト回路78
の第3入力端へ出力する。
The predictive encoding circuit (A>72, predictive encoding circuit (B)
73 and the DCT circuit 74 compress the input signals using different compression methods, and send them to the predictive coding circuit (A
) 72 outputs to the decoding circuit (△〉75) and also outputs to the first input terminal of the select circuit 78, and the predictive encoding circuit (B
) 73 outputs to the decoding circuit (B) 76 and also outputs to the second input terminal of the select circuit 78, and the DCT circuit 74 outputs to the decoding circuit (C) 77 and the select circuit 78.
output to the third input terminal of.

前記復号回路(A)75、復号回路(B)76及び復号
回路(C)77は、前述したように入力された信号を伸
張し、復す回路(A)75は、セレクト回路79の第1
入力端へ出力し、復号回路(B)76は、セレクト回路
79の第2入力端へ出力し、復q回路(C)77は、セ
レクト回路79の第3入力端へ出力する。
The decoding circuit (A) 75, the decoding circuit (B) 76, and the decoding circuit (C) 77 expand the input signal as described above, and the decoding circuit (A) 75 is the first one of the select circuit 79.
The decoding circuit (B) 76 outputs it to the second input terminal of the selection circuit 79, and the decoding circuit (C) 77 outputs it to the third input terminal of the selection circuit 79.

前記セレクト回路78及び前記セレクト回路79には、
例えば内視鏡装置の外装に設けられたスイッチ等からセ
レクト端子82へ入力されるセレクト信号が入力される
The select circuit 78 and the select circuit 79 include:
For example, a select signal is input to the select terminal 82 from a switch or the like provided on the exterior of the endoscope device.

前記はレフト回路78は、前述したセレクト信号により
、前述したように第1入力端ないし第3入力端に入力さ
れた信号の一つを選択し、萌記画象ファイル1isoへ
出力する。
The left circuit 78 selects one of the signals inputted to the first to third input terminals as described above in response to the aforementioned select signal, and outputs it to the Moeki image file 1iso.

β1時に、前記セレクト回路79は、前述したセレクト
信号により、前述したように第1入力端ないし第3入力
端に入力された信号の−っを選択し、前記表示切換回路
209に接続された出力端子83R,83G、83Bへ
出力する。
At time β1, the select circuit 79 selects - of the signals inputted to the first input terminal to the third input terminal as described above in response to the above-mentioned select signal, and selects the output signal connected to the display switching circuit 209. Output to terminals 83R, 83G, and 83B.

したがって、前記TVモニタ230には、前述したよう
に圧縮され後に伸張された画像が表示される。また、前
記表示切換回路209を例えば切り換え信号により切り
換えることにより、原画像と比較することができる。
Therefore, the TV monitor 230 displays an image that has been compressed and then decompressed as described above. Further, by switching the display switching circuit 209 using, for example, a switching signal, it is possible to compare the display with the original image.

これにより、操作者である例えば医師は、伸張された画
面を評価し、記録するのに適した画像を選択し、例えば
内視鏡装置の外装に設けられたスイッチ等を操作して、
レリーズ端子81ヘレリーズ信号を入力する。
As a result, the operator, for example a doctor, evaluates the stretched screen, selects an image suitable for recording, operates a switch etc. provided on the exterior of the endoscope device, and
A release signal is input to the release terminal 81.

前述したレリーズ信号により、前記画像ファイル装置8
0は、セレクi・回路78から入力された信号を、光フ
ァイル或いは光磁気ファイル等の大容♀記憶媒体に記録
する。
The above-mentioned release signal causes the image file device 8 to
0 records the signal input from the select i circuit 78 on a large-capacity storage medium such as an optical file or a magneto-optical file.

なお、圧縮手段に予測符号化回路及びDCT回路を用い
て説明したが、その他の例えばベクトル量子化性による
圧縮手段を用いてもよい。
Although the description has been made using a predictive encoding circuit and a DCT circuit as the compression means, other compression means, such as one based on vector quantization, may be used.

即ち、本実施例においては、操作者である例えば医師が
、最適な画像を選択して記録することかでき、該画像に
適した圧縮手段を選択することができ、高画質で、且つ
、効率の良い画像の記録ができるという効果がある。
That is, in this embodiment, an operator, for example, a doctor, can select and record an optimal image, and can select a compression means suitable for the image, thereby achieving high image quality and efficiency. This has the effect of being able to record good images.

第13図は本発明の第5実施例に係わる画像デ−タ圧縮
装置の構成を示すブロック図である。なお、第4実施例
と同様のものについては同一の符号を用いて説明を省略
する。また、面順次搬像方式の内視鏡装置は第4実施例
と同様であるので説明を省略する。
FIG. 13 is a block diagram showing the configuration of an image data compression apparatus according to a fifth embodiment of the present invention. Note that the same reference numerals are used for the same parts as in the fourth embodiment, and the description thereof will be omitted. Further, since the endoscope apparatus using the field sequential image transport method is the same as that in the fourth embodiment, the explanation thereof will be omitted.

前記画像データ圧縮装置は、予測符号化回路(Δ)72
、予測符号化回路(B)73及びDCT変換回路74と
、復号回路(A)75、復号回路(B)76及び復号回
路(C)77と、セレクト回路78と、セレクト回路7
9と、前述した圧縮手段の圧縮率を算出し、前記セレク
ト回路を制御する圧縮率算出回路85と、前記セレクト
回路79からの信号を蓄積する表示用メモリ86とから
構成されている。
The image data compression device includes a predictive encoding circuit (Δ) 72
, a predictive encoding circuit (B) 73, a DCT conversion circuit 74, a decoding circuit (A) 75, a decoding circuit (B) 76, a decoding circuit (C) 77, a select circuit 78, and a select circuit 7.
9, a compression ratio calculation circuit 85 that calculates the compression ratio of the compression means described above and controls the selection circuit, and a display memory 86 that stores the signal from the selection circuit 79.

前記予測符号化回路(A)72、予測符号化回路(B)
73、OCT変換回路74及び圧縮率算出回路85のR
,G、Bの入力端は、各々入力端子71R,71G、7
1Bに接続されている。
The predictive encoding circuit (A) 72, the predictive encoding circuit (B)
73, R of OCT conversion circuit 74 and compression ratio calculation circuit 85
, G, and B are input terminals 71R, 71G, and 7, respectively.
Connected to 1B.

前記予測符号化回路(A)72の出力端は、前記復号回
路(A)75と、前記セレクト回路78の第1入力端と
、前記圧縮率い出回路85の第1入力端とに接続されて
いる。
An output end of the predictive encoding circuit (A) 72 is connected to the decoding circuit (A) 75, a first input end of the select circuit 78, and a first input end of the compression lead output circuit 85. There is.

前記予測符号化回路(B)73の出力端は、前記復号回
路(B)76と、前記セレクト回路78の第2入力端と
、前記圧縮率算出回路85の第2入力端に接続されてい
る。
The output end of the predictive encoding circuit (B) 73 is connected to the decoding circuit (B) 76, the second input end of the select circuit 78, and the second input end of the compression ratio calculation circuit 85. .

前記DCT回路74の出力端は、前記復号回路(C)7
7と、前記セレクト回路78の第3入力端と、前記圧縮
$4出回路85の第3入力端とに接続されている。
The output terminal of the DCT circuit 74 is connected to the decoding circuit (C) 7.
7, a third input terminal of the select circuit 78, and a third input terminal of the compressed $4 output circuit 85.

前記復号回路(A)75の出力端は前記セレクト回路7
9の第1入力端に接続され、ia記復号回路(B)76
の出力端は前記セレクト回路7つの第2入力端に接続さ
れ、首記復号回路(C)77の出力端は前記セレクト回
路79の第3入力端に接続されている。
The output terminal of the decoding circuit (A) 75 is connected to the select circuit 7.
9 is connected to the first input terminal of the IA decoding circuit (B) 76.
The output terminal of the head decoding circuit (C) 77 is connected to the second input terminal of the seven select circuits, and the output terminal of the head decoding circuit (C) 77 is connected to the third input terminal of the select circuit 79.

前記セレクト回路78のセレクト信号入力端は、セレク
ト端子82に接続されている。
A select signal input terminal of the select circuit 78 is connected to a select terminal 82 .

前記セレクト回路79のセレクト信号入力端は、前記圧
縮率算出回路85の出力端に接続されている。
The select signal input terminal of the select circuit 79 is connected to the output terminal of the compression ratio calculation circuit 85.

前記セレクト回路78の出力端は前記画像ファイル装置
80の入力端に接続されている。
The output terminal of the selection circuit 78 is connected to the input terminal of the image file device 80.

前記画像ファイル80のレリーズ端はレリーズ端子81
に接続されている。
The release end of the image file 80 is the release terminal 81
It is connected to the.

前記セレクト回路79のR,G、Bの出力端は、前記表
示用メモリ86の入力端に接続され、前記表示用メモリ
86の出力端は、出力端子83R183G、83Bに接
続されている。
The R, G, and B output ends of the select circuit 79 are connected to the input ends of the display memory 86, and the output ends of the display memory 86 are connected to output terminals 83R183G and 83B.

このように構成された画像データ圧縮装置の作用につい
て説明する。
The operation of the image data compression device configured as described above will be explained.

第4実施例と同様に圧縮された信号は、圧縮率算出回路
85にて、各々圧縮率が算出される。
A compression rate calculation circuit 85 calculates the compression rate of each compressed signal in the same manner as in the fourth embodiment.

さらに、圧縮率算出回路85は、前記復号回路(A>7
5、復号回路(B)76及び復号回路(C)77の信号
を、例えば圧縮率の^い順に出力するように、前記セレ
クト回路79を制御する。
Furthermore, the compression ratio calculation circuit 85 calculates the decoding circuit (A>7
5. Control the select circuit 79 so as to output the signals of the decoding circuit (B) 76 and the decoding circuit (C) 77, for example, in order of decreasing compression ratio.

前記セレクト回路79は、前述したように制御され、前
記復号回路(A)75、復号回路<8)76及び復号回
路(C)77の信号を、順次前記表示用メモリ86へ出
力づ”る。
The select circuit 79 is controlled as described above, and sequentially outputs the signals of the decoding circuit (A) 75, decoding circuit <8) 76, and decoding circuit (C) 77 to the display memory 86.

前記表示用メモリ86は、前述したように入力された信
号を、例えば一画面に表示可能なように記憶し、前記表
示切換回路209に接続された出力端子83R,83G
、83Bへ出力する。
The display memory 86 stores the input signal as described above so that it can be displayed on one screen, for example, and outputs the output terminals 83R and 83G connected to the display switching circuit 209.
, 83B.

したがって、前記TVモニタ230には、前述したよう
に圧縮され後に伸張された画像が複数、圧縮率の高い順
に表示される。また、前記表示切換回路209を例えば
切り換え信号により切り換えることにより、原画像と比
較することができる。
Therefore, on the TV monitor 230, a plurality of images compressed and then decompressed as described above are displayed in descending order of compression ratio. Further, by switching the display switching circuit 209 using, for example, a switching signal, it is possible to compare the display with the original image.

これにより、操作名である例えば医師は、伸張された画
面を評価し、記録づるのに適した画像を選択し、例えば
内視鏡装置の外装に設けられたスイッチ等を操作して、
レリーズ端子81ヘレリーズ信号を入力する。
As a result, a doctor, for example, evaluates the expanded screen, selects an image suitable for recording, operates a switch, etc. provided on the exterior of the endoscope, and
A release signal is input to the release terminal 81.

前述したレリーズ信号により、前記画像ファイル装Yi
80は、セレクト回路78から入力された信号を、光フ
ァイル或いは光磁気ファイル等の大官口記憶媒体に記録
する。
The above-mentioned release signal causes the image file device Yi
80 records the signal input from the select circuit 78 on a large-scale storage medium such as an optical file or a magneto-optical file.

なお、圧縮手段に予測符号化回路及びDCT回路を用い
て説明したが、その他の例えばベクトルm子化等による
圧縮手段を用いてもよい。
Although the description has been given using a predictive encoding circuit and a DCT circuit as the compression means, other compression means such as vector m-child conversion may also be used.

即ち、本実施例においては、複数の圧縮手段を用いた画
像を一度に比較評価することができ、操作者である例え
ば医師が、最適な画像を選択して記録することができる
という効果がある。
That is, in this embodiment, images obtained using a plurality of compression means can be compared and evaluated at the same time, and the operator, for example, a doctor, has the advantage of being able to select and record the optimal image. .

また、その他の効果は第4実施例と同様である。Further, other effects are similar to those of the fourth embodiment.

なお、面順次方式の電子内視鏡を用いて説明したが、各
波長領域の映像信号入力端子の前段に例えばコンポジッ
トビデオ信号をデコードする手段を設け、コンポジット
ビデオ信号を入力するようにしてbよい。
Although the explanation has been made using a frame-sequential electronic endoscope, it is also possible to provide means for decoding a composite video signal, for example, at the stage before the video signal input terminal of each wavelength region, and input the composite video signal. .

また、イメージガイドを用いた内m 11に外付けTV
カメラ装置を装着し、このビデオブロセッザ装置に用い
てもよい。
In addition, an external TV can be installed on the inside m 11 using the image guide.
A camera device may be attached and used for this video browser device.

[発明の効果] 以上説明したように本発明によれば、画質判定手段によ
り画質が劣化しない節回で原画像を圧縮して記録する或
いは圧縮された画像を評価して記録することができ、最
適な画像圧縮をすることができるという効果がある。
[Effects of the Invention] As explained above, according to the present invention, an original image can be compressed and recorded, or a compressed image can be evaluated and recorded at a time when the image quality does not deteriorate by the image quality determining means, This has the effect of being able to perform optimal image compression.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(A)及び第2図ないし第4図は本発明の第1実
施例に係わり、第1図(△)は内視鏡画像データ圧縮装
置の構成を示すブロック図、第2図は電子内視鏡装置の
構成を示す説明図、第3図はブロック化回路の構成を示
すブロック図、第4図はブロック化に関する説明図、第
5図ないし第9図は本発明の第2実施例に係わり、第5
図は電子内視鏡装置の構成を示す説明図、第6図は予測
符号化に関する説明図、第7図及び第8図は内視鏡画像
の予測誤差の頻度分布に関する説明図、第9図は圧縮処
理に関するフローブヤート、第10図及び第11図は本
発明の第3実施例に係わり、第10図は画像データ圧縮
装置の構成を示すブロック図、第11図はフィルタリン
グに関する説明図、第1図(B)及び第12図は本発明
の第4実施例に係わり、第1図(B)は、画像データ圧
縮装置の構成を示すブロック図、第12図は電子内′g
!鏡装置の構成を示す説明図、第13図は本発明の第5
実施例に係わる画像データ圧縮装置の構成を示すブロッ
ク図、第14図ないし第16図は従来の技術に係わり、
第14図は内視鏡システムの説明図、第15図は内視鏡
及び観察装置の説明図、第16図は画像記録装置の説明
図である。 26・・・ブロック化回路部 27・・・画質判定回路 28・・・セレクタ 72・・・予測符号化回路(A> 73・・・予測符号化回路(B) 74・・・DCT回路 75・・・復号回路(A) 76・・・復号回路([3) 77・・・復号回路(C) 7つ・・・セレクト回路 第4 図 (G) (b) (C) 注目山系 第6 図 x n+ ライン 像小未知 第7 図 (0) (b) (C) 第8 図 (0) (b) (C)
FIG. 1(A) and FIGS. 2 to 4 relate to the first embodiment of the present invention, FIG. 1(△) is a block diagram showing the configuration of an endoscopic image data compression device, and FIG. An explanatory diagram showing the configuration of an electronic endoscope device, FIG. 3 is a block diagram showing the configuration of a blocking circuit, FIG. 4 is an explanatory diagram regarding blocking, and FIGS. 5 to 9 are a second embodiment of the present invention. Regarding the example, the fifth
Figure 6 is an explanatory diagram showing the configuration of the electronic endoscope device, Figure 6 is an explanatory diagram regarding predictive coding, Figures 7 and 8 are explanatory diagrams regarding the frequency distribution of prediction errors in endoscopic images, and Figure 9 is an explanatory diagram showing the configuration of the electronic endoscope device. 10 and 11 are related to the third embodiment of the present invention, FIG. 10 is a block diagram showing the configuration of an image data compression device, FIG. 11 is an explanatory diagram regarding filtering, and FIG. FIG. 1(B) and FIG. 12 relate to the fourth embodiment of the present invention, FIG. 1(B) is a block diagram showing the configuration of an image data compression device, and FIG.
! An explanatory diagram showing the configuration of the mirror device, FIG. 13 is the fifth embodiment of the present invention.
Block diagrams showing the configuration of the image data compression device according to the embodiment, FIGS. 14 to 16, relate to the conventional technology,
FIG. 14 is an explanatory diagram of the endoscope system, FIG. 15 is an explanatory diagram of the endoscope and observation device, and FIG. 16 is an explanatory diagram of the image recording device. 26... Blocking circuit section 27... Image quality determination circuit 28... Selector 72... Predictive coding circuit (A>73... Predictive coding circuit (B) 74... DCT circuit 75... ...Decoding circuit (A) 76...Decoding circuit ([3) 77...Decoding circuit (C) 7...Select circuit Figure 4 (G) (b) (C) Noteworthy mountain range Figure 6 x n+ Line image small unknown Fig. 7 (0) (b) (C) Fig. 8 (0) (b) (C)

Claims (1)

【特許請求の範囲】 1、内視鏡の観察画像の信号或いは前記観察画像の信号
を複数の波長領域で分割した信号が入力され、前記信号
を圧縮手段により圧縮し、その圧縮した信号を画像記録
装置に出力する内視鏡画像データ圧縮装置において、 前記圧縮手段を複数設け、 前記圧縮手段により圧縮された信号の少なくとも一つの
信号に対して評価を行う評価手段と、前記評価手段によ
り前記圧縮された信号の一つを選択する選択手段とを設
けたことを特徴とする内視鏡画像データ圧縮装置。 2、内視鏡の観察画像の信号或いは前記観察画像の信号
を複数の波長領域で分割した信号が入力され、前記信号
を圧縮手段により圧縮し、その圧縮した信号を画像記録
装置に出力する内視鏡画像データ圧縮装置において、 前記圧縮手段を複数設け、 前記圧縮手段により圧縮された信号の少なくとも一つの
信号を伸張し表示可能に出力する手段と、前記圧縮され
た信号の一つを選択する選択手段とを設けたことを特徴
とする内視鏡画像データ圧縮装置。
[Scope of Claims] 1. A signal of an observation image of an endoscope or a signal obtained by dividing the observation image signal into a plurality of wavelength regions is input, the signal is compressed by a compression means, and the compressed signal is converted into an image. An endoscopic image data compression device for outputting to a recording device, comprising a plurality of compression means, an evaluation means for evaluating at least one of the signals compressed by the compression means, and an evaluation means for evaluating at least one of the signals compressed by the compression means; 1. An endoscopic image data compression device, comprising: selection means for selecting one of the selected signals. 2. A signal of an observation image of an endoscope or a signal obtained by dividing the observation image signal into a plurality of wavelength regions is input, the signal is compressed by a compression means, and the compressed signal is output to an image recording device. The endoscopic image data compression device includes a plurality of compression means, a means for decompressing at least one of the signals compressed by the compression means and outputting it in a displayable manner, and a means for selecting one of the compressed signals. 1. An endoscopic image data compression device comprising: selection means.
JP1261285A 1989-10-05 1989-10-06 Compression apparatus for endoscope image data Pending JPH03123528A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1261285A JPH03123528A (en) 1989-10-06 1989-10-06 Compression apparatus for endoscope image data
US07/574,401 US5209220A (en) 1989-10-05 1990-08-28 Endoscope image data compressing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1261285A JPH03123528A (en) 1989-10-06 1989-10-06 Compression apparatus for endoscope image data

Publications (1)

Publication Number Publication Date
JPH03123528A true JPH03123528A (en) 1991-05-27

Family

ID=17359688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1261285A Pending JPH03123528A (en) 1989-10-05 1989-10-06 Compression apparatus for endoscope image data

Country Status (1)

Country Link
JP (1) JPH03123528A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0619678A3 (en) * 1993-04-05 1995-07-26 Canon Kk Image processing apparatus.
JP2009011872A (en) * 2007-06-29 2009-01-22 Glico Dairy Products Co Ltd Device for vibrating and mixing gerber tube

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0619678A3 (en) * 1993-04-05 1995-07-26 Canon Kk Image processing apparatus.
JP2009011872A (en) * 2007-06-29 2009-01-22 Glico Dairy Products Co Ltd Device for vibrating and mixing gerber tube

Similar Documents

Publication Publication Date Title
JP3382973B2 (en) Electronic endoscope device
JP3268891B2 (en) Endoscope imaging device
JPH0318684B2 (en)
JP2000224490A (en) Image pickup controller and image pickup control method
JP2009253667A (en) Moving image processing device, moving image processing method, and moving image processing program
JP3128068B2 (en) Signal processing device
JPH03121037A (en) Endoscope image data compressing device
JPH0575911A (en) Field interpolating circuit and method for processing image
JPH03123528A (en) Compression apparatus for endoscope image data
JPH06268898A (en) Image pickup device using solid-state image pickup element
JP3292538B2 (en) Color imaging device using solid-state imaging device
JP2000115790A (en) Image pickup device
JPH03121036A (en) Endoscope image data compressing device
JPH06315463A (en) Electronic endoscope device
JPH03121038A (en) Endoscope image recording and regenerating device
JP2806513B2 (en) Image data compression recording device
JP2003032529A (en) Signal processor
JP2694027B2 (en) Endoscope image data compression device
JP2974249B2 (en) Endoscope image data compression device
JP2003304543A (en) Imaging apparatus
JPH03123527A (en) Compression apparatus for endoscope image data
JP2009288445A (en) Electronic endoscope system
JPH06225854A (en) Color drift preventing device for endoscope device
JP3893489B2 (en) Signal processing apparatus and signal processing method
JP3190368B2 (en) Endoscope image data compression device