JPH03121036A - Endoscope image data compressing device - Google Patents

Endoscope image data compressing device

Info

Publication number
JPH03121036A
JPH03121036A JP1260843A JP26084389A JPH03121036A JP H03121036 A JPH03121036 A JP H03121036A JP 1260843 A JP1260843 A JP 1260843A JP 26084389 A JP26084389 A JP 26084389A JP H03121036 A JPH03121036 A JP H03121036A
Authority
JP
Japan
Prior art keywords
image
compression
circuit
section
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1260843A
Other languages
Japanese (ja)
Other versions
JPH0763445B2 (en
Inventor
Masahide Sugano
菅野 正秀
Keiichi Hiyama
檜山 慶一
Takeo Tsuruoka
建夫 鶴岡
Masaru Konomura
優 此村
Kazunari Nakamura
一成 中村
Shinichiro Hattori
服部 眞一郎
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 JP1260843A priority Critical patent/JPH0763445B2/en
Priority to US07/574,401 priority patent/US5209220A/en
Publication of JPH03121036A publication Critical patent/JPH03121036A/en
Publication of JPH0763445B2 publication Critical patent/JPH0763445B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To secure the high degree of compression by suppressing the deterioration of the image quality for a variety of endoscope images by changing the compression methods according to the characteristics of the endoscope image. CONSTITUTION:For example, three compression methods exist, and three kinds of compression rate exist. The compression rate is switched according to the normal image and colored image on the basis of the signal supplied from a compression rate selecting circuit 52. The compression method is selected according to the number of image elements set as one block which is substituted by an average value. For example, if two image elements are set as one block, compression to about 1/2 is performed, and when four image elements are set as one block, compression to about 1/4 is performed, and when nine elements are set as one block, compression to about 1/9 is performed. While, an extension circuit part 36 regenerates the compression discriminating information and the average value in each block from a recording system part 35, and restores the image elements which constitute the block, having the concentration value of each image element in the block as average value, on the basis of the compression discrimination information.

Description

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

[従来の技術と発明が解決しようとする課題]近年、体
腔内にm長の挿入部を挿入することにより、体腔内臓器
等をvA察したり、必要に応じ処置具チャンネル内に挿
通した処置具を用いて各種治療処置のできる内視鏡が広
く利用されている。
[Prior art and problems to be solved by the invention] In recent years, by inserting an m-long insertion section into a body cavity, VA of internal organs, etc. can be detected, and treatment instruments inserted into treatment instrument channels as necessary have been developed. Endoscopes that can perform various therapeutic procedures are widely used.

また、挿入部の先端部にCOD等の固体搬像水子を設け
た電子内視鏡も実用化されている。
Furthermore, electronic endoscopes in which a solid-state carrier water droplet such as a COD is provided at the distal end of the insertion portion have also been put into practical use.

ところで、前記電子内?fftiや、ファイバスコープ
の接眼部に接続したテレビカメラで撮像した内視鏡画像
は、テレビモニタで観察する他に、画伝記録装置に記録
して、後に診断や解析に使用する場合がある。このよう
に内視鏡画像を記録する場合、画像データはデータ量が
多いため、大容量の記憶装置が必要になるという問題点
がある。また、画像を伝送する場合にも、伝送速度が遅
いという問題点がある。
By the way, what about the electron? Endoscopic images taken with an ffti or a TV camera connected to the eyepiece of a fiberscope may be viewed on a TV monitor or recorded on an image recording device for later use in diagnosis and analysis. . When recording endoscopic images in this manner, there is a problem in that a large capacity storage device is required because the amount of image data is large. Furthermore, when transmitting images, there is a problem that the transmission speed is slow.

そこで、画像データを圧縮することが提案されている。Therefore, it has been proposed to compress image data.

例えば、本出願人が先に提出した特願昭62−2795
99号には、従来技術として、第38図に示ずような装
置が示されている。
For example, patent application No. 62-2795 filed earlier by the present applicant.
No. 99 discloses a device as shown in FIG. 38 as a prior art.

この装置では、内視鏡画像を構成するRGB信号は、入
力部225から入力され、A/Dコンバータ部226で
デジタル信号に変換された後、圧縮回路部227に人力
される。この圧縮回路部227は予測符号化等により画
像データを圧縮し、圧縮された画像データは記録システ
ム部228に記録される。画像を再現する場合は、記録
システム部228上の画像データは、伸張回路部229
で元の画像信号に復元され、D/Aコンバータ部231
でアナログ信号に変換されて、出力部232を介して出
力される。上記各部は、制御信号発生部233によって
制御されている。この装置では、A/Dコンバータ部2
26におけるR、G。
In this device, RGB signals constituting an endoscopic image are inputted from an input section 225, converted into digital signals by an A/D converter section 226, and then manually inputted to a compression circuit section 227. The compression circuit unit 227 compresses the image data by predictive encoding or the like, and the compressed image data is recorded in the recording system unit 228. When reproducing an image, the image data on the recording system section 228 is transferred to the decompression circuit section 229.
The image signal is restored to the original image signal by the D/A converter section 231.
The signal is converted into an analog signal and output via the output section 232. Each of the above sections is controlled by a control signal generating section 233. In this device, the A/D converter section 2
R, G in 26.

B各信号に対する吊子化レベルは同じである。B The suspension level for each signal is the same.

しかしながら、内視鏡画像の場合、R信号は高輝度側に
多く分布し、B信号は低輝度側に多く分布する等の特徴
があり、前記装置のように、R9G、B各信号に対する
量子化レベルを同じにすると、R信号やB信号では有効
に利用されない部分が生じ圧縮の効率が悪いという問題
点がある。
However, in the case of endoscopic images, there are characteristics such as the R signal is distributed more on the high brightness side and the B signal is distributed more on the low brightness side. If the levels are made the same, there is a problem that some portions of the R and B signals are not effectively used, resulting in poor compression efficiency.

そこで、本出願人は、前記特願11f’162−279
599号において、内視鏡画像を構成する複数の色信号
の特性に応じたγ補正とω子化を行う装置を提案してい
る。
Therefore, the present applicant filed the above-mentioned patent application No. 11f'162-279.
No. 599 proposes an apparatus that performs γ correction and ω conversion according to the characteristics of a plurality of color signals that constitute an endoscopic image.

ところが、内視鏡画像は、観察部位や観察方法等によっ
て、その特性が変化する。前記装置では、R,G、8間
で量子化レベルは異なっていても、その量子化レベルは
常に不変であったため、種々の内視鏡画像に対して常に
最適な圧縮ができるとは限らず、画像によっては画質が
劣化する虞もある。
However, the characteristics of endoscopic images change depending on the observation site, observation method, and the like. In the above device, even though the quantization level is different between R, G, and 8, the quantization level is always unchanged, so it is not always possible to perform optimal compression for various endoscopic images. , the image quality may deteriorate depending on the image.

本発明は、上記事情に鑑みてなされたものであり、種々
の内視鏡画像に対して、画質の劣化を少なくして高い圧
縮を可能とした内視鏡画像データ圧縮装置を提供するこ
とを目的としている。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an endoscopic image data compression device that enables high compression of various endoscopic images with less deterioration in image quality. The purpose is

[課題を解決するための手段及び作用]本発明の内視鏡
画像データ圧縮装置は、内視鏡画像の特性に応じて圧縮
法を変えてデータ圧縮可能な圧縮手段を備え、内視鏡画
像の特性に応じて圧縮法を変えるようにしたものである
[Means and effects for solving the problem] The endoscopic image data compression device of the present invention includes a compression means capable of compressing data by changing the compression method according to the characteristics of the endoscopic image. The compression method is changed depending on the characteristics of the data.

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

第1図ないし第9図は本発明の第1実施例に係り、第1
図は画像記録装置の構成を示すブロック図、第2図は内
視鏡画像ファイリングシステムの全体を示す説明図、第
3図はI!察装首の構成を示すブロック図、第4図は画
像解析部の構成を示づブロック図、第5図は通常画像と
染色画像の差分信qのヒストグラム、第6図は画像記録
装置の記録動作を示すフローチャート、第7図は画像記
録装置の再生動作を示すフローチャート、第8図は圧縮
回路の圧縮動作を説明するための説明図、第9図は記録
システム部への記録方式を示す説明図である。
FIGS. 1 to 9 relate to a first embodiment of the present invention.
The figure is a block diagram showing the configuration of the image recording device, FIG. 2 is an explanatory diagram showing the entire endoscopic image filing system, and FIG. 3 is an I! Figure 4 is a block diagram showing the configuration of the image analysis unit, Figure 5 is a histogram of the difference signal q between the normal image and the stained image, and Figure 6 is the recording of the image recording device. 7 is a flowchart showing the reproduction operation of the image recording device, FIG. 8 is an explanatory diagram for explaining the compression operation of the compression circuit, and FIG. 9 is an explanation showing the recording method to the recording system unit. It is a diagram.

第2図に示すように、内視鏡画像ファイリングシステム
は、電子内視11と、この電子内視鏡1が接続される観
察装置3及び吸引器6と、前記観察装置3に接続される
モニタ4及び画像記録装置5とを備えている。
As shown in FIG. 2, the endoscopic image filing system includes an electronic endoscope 11, an observation device 3 and a suction device 6 to which the electronic endoscope 1 is connected, and a monitor connected to the observation device 3. 4 and an image recording device 5.

前記電子内視vA1は、生体2に挿入されるIIl艮で
例えば可撓性を有する挿入部1aと、この挿入部1aの
後端に連設された太径の操作部1bと、この操作部1b
から延設されたユニバーサルコード1Cを有し、前記ユ
ニバーサルコード1Cの端部に、181察装置3に接続
されるコネクタ1dが設けられている。
The electronic endoscope vA1 is a IIl device that is inserted into a living body 2, and includes, for example, a flexible insertion section 1a, a large-diameter operation section 1b connected to the rear end of this insertion section 1a, and this operation section. 1b
A connector 1d connected to the 181 detection device 3 is provided at the end of the universal cord 1C.

前記電子内視vL1の挿入部1aの先端部には、照明窓
と観察窓とが設けられている。前記照明窓の内側には、
図示しない配光レンズが装着され、この配光レンズの後
端にライトガイド18が連設されている。このライトガ
イド18は、挿入部1a、操作部1b、ユニバーサルコ
ード1c内を挿通され、コネクタ1dに接続されている
。また、前記観察窓の内側には、図示しない対物レンズ
系が設けられ、この対物レンズ系の結像位置に、固体層
像素子、例えばCCD8が配設されている。
An illumination window and an observation window are provided at the distal end of the insertion section 1a of the electronic endoscopy vL1. Inside the lighting window,
A light distribution lens (not shown) is attached, and a light guide 18 is connected to the rear end of the light distribution lens. This light guide 18 is inserted through the insertion section 1a, the operating section 1b, and the universal cord 1c, and is connected to the connector 1d. Furthermore, an objective lens system (not shown) is provided inside the observation window, and a solid-state image element, for example, a CCD 8, is disposed at the image forming position of this objective lens system.

このCCD8の出力信号は、挿入部1a、操作部1b、
ユニバーサルコード1c内を挿通されコネクタ1dに接
続された信号線を介して、観察装置3に入力されるよう
になっている。
The output signal of this CCD 8 is transmitted to the insertion section 1a, the operation section 1b,
The signal is input to the observation device 3 via a signal line inserted through the universal cord 1c and connected to the connector 1d.

前記観察装置3は、第3図に示すように構成されている
The observation device 3 is constructed as shown in FIG.

観察装置3は、白色光を出用するランプ19を備え、こ
のランプ19と、このランプ19とライトガイド18の
入射端との間に設けられモータ20によって回転駆動さ
れる回転フィルタ21とを備えている。前記回転フィル
タ21は、周方向に沿って配列された赤(R)、緑(G
)、青(B)の各波長領域の光を透過づるフィルタ22
R,22G、22Bを有し、モータ20によって回転さ
れることによって、照明光路中にフィルタ22R122
G、22Bが順次挿入されるようになっている。そして
、この回転フィルタ21によってRlG、Bの各波長領
域に時系列的に分離された光が、ライトガイド18.配
光レンズを経て、電子内視鏡1の挿入部1aの先端部か
ら出射されるようになっている。
The observation device 3 includes a lamp 19 that emits white light, and a rotary filter 21 that is provided between the lamp 19 and the incident end of the light guide 18 and is rotationally driven by a motor 20. ing. The rotating filter 21 has red (R) and green (G) filters arranged along the circumferential direction.
), and a filter 22 that transmits light in each wavelength range of blue (B).
R, 22G, 22B, and is rotated by the motor 20 to insert a filter 22R122 into the illumination optical path.
G and 22B are inserted sequentially. The light separated in time series into the RlG and B wavelength regions by the rotating filter 21 is transmitted to the light guide 18. The light is emitted from the distal end of the insertion section 1a of the electronic endoscope 1 after passing through a light distribution lens.

また、観察装置3は、アンプ9を有し、前記CCD8の
出力信号は、このアンプ9で所定の範囲の電圧レベルに
増幅され、γ補正回路11でγ補正されるようになって
いる。γ補正された信すは、A/Dコンバータ12でデ
ジタル信号に変換された後、切換スイッチ13によって
、R,G、Bにそれぞれ対応するメモリ14R,14G
、14Bに選択的に入力され、メモリ14R,14G、
14Bに、ツレツレ、R画像、 G画像、 Bii!1
ifxIカ記憶されるようになっている。前記メモリ1
4R114、G、14Bは、テレビ信号のタイミングで
同時に読み出され、D/△コンバータ15.15゜15
で、それぞれアナログ信号に変換されるようになってい
る。このアナログのR,G、Bの各画像信号は、同期信
号発生回路16からの同期信号5YNCと共に、RGB
信号出力端子17から出力され、モニタ42画像記録装
置5等に入力されるようになっている。前記モータ20
.A/Dコンバータ12.切換スイッチ13.メモリ1
4R114、G、14B、D/Aコンバータ15.同期
信号発生回路16は、制御信号発生部23により制御さ
れている。
The observation device 3 also includes an amplifier 9, and the output signal of the CCD 8 is amplified to a voltage level within a predetermined range by the amplifier 9, and subjected to γ correction by a γ correction circuit 11. The γ-corrected signal is converted into a digital signal by the A/D converter 12, and then transferred to the memories 14R and 14G corresponding to R, G, and B, respectively, by the changeover switch 13.
, 14B, and the memories 14R, 14G,
14B, Tsuretsure, R image, G image, Bii! 1
IfxI is set to be stored. The memory 1
4R114, G, and 14B are read out simultaneously at the timing of the TV signal, and the D/Δ converter 15.15°15
Each signal is then converted to an analog signal. These analog R, G, and B image signals together with the synchronization signal 5YNC from the synchronization signal generation circuit 16 are
The signal is output from the signal output terminal 17 and input to the monitor 42, image recording device 5, etc. The motor 20
.. A/D converter 12. Changeover switch 13. memory 1
4R114, G, 14B, D/A converter 15. The synchronizing signal generating circuit 16 is controlled by a control signal generating section 23.

次に、第1図を用いて、画像データ圧縮装置を含む画像
記録装置5について、31明する。
Next, the image recording device 5 including the image data compression device will be explained in detail using FIG.

観察装置3から出力されたR、G、B各画像信号は、入
力部31から入力され、それぞれ、A/Dコンバータ3
2,32.32でデジタル信号に変換されてR用フレー
ムメモリ33R,G用フレームメモリ33G、B用フレ
ームメモリ338に一時的に記憶されるようになってい
る。各フレームメモリ33R,33G、33Bから読み
出されたR、G、B各画像信号は、それぞれ、圧縮回路
部34で圧縮された後、記録システム部35に記録され
るようになっている。
The R, G, and B image signals outputted from the observation device 3 are inputted from the input section 31, and are respectively input to the A/D converter 3.
2, 32, and 32, it is converted into a digital signal and temporarily stored in the R frame memory 33R, the G frame memory 33G, and the B frame memory 338. The R, G, and B image signals read from each frame memory 33R, 33G, and 33B are compressed by a compression circuit section 34, and then recorded in a recording system section 35.

また、画像データの再生時は、前記記録システム部35
から、R,G、B各画像信号が読み出され、それぞれ、
伸張回路部36で伸張され、データが復元されるように
なっている。復元されたR2G、[3各画像データは、
R用フレームメモリ37R,G用フレームメモリ37G
、B用フレームメモリ37Bに一時的に記憶されるよう
になっている。そして、このフレームメモリ37R,3
7G。
Furthermore, when reproducing image data, the recording system unit 35
The R, G, and B image signals are read out from
The data is decompressed and restored by the decompression circuit section 36. The restored R2G, [3 each image data is
Frame memory 37R for R, frame memory 37G for G
, B frame memory 37B. And this frame memory 37R, 3
7G.

37Bから、R,G、B各画像信りが、テレビ信号に同
期して読み出され、それぞれ、D/Aコンバータ38.
38.38でアナログ信号に変換された後、出力部3つ
から出力されるようになっている。
37B, R, G, and B image signals are read out in synchronization with the television signal, and are respectively input to the D/A converter 38.37B.
After being converted into an analog signal at 38.38, it is output from three output sections.

本実施例では、前記各フレームメモリ33R133G、
33B内に記憶された画像情報から内視鏡画像の特性を
解析する画像解析部51が設けられている。この画像解
析部51の出力信号は、圧縮率切換え回路52に入力さ
れるようになっている。この圧縮率切換え回路52は、
前記画像解析部51からの信号に基づいて、圧縮回路部
34における圧縮率を決定し、その圧縮率を圧縮回路部
371へ送ると共に、記録システム部35にその画像の
圧縮率の情報を圧縮率識別信号として送り、記録システ
ム部35は、この圧縮率識別信号を、圧縮されたf’(
、G、Bの画像情報と共に記録するようになっている。
In this embodiment, each of the frame memories 33R133G,
An image analysis section 51 is provided to analyze the characteristics of an endoscopic image from the image information stored in the image information stored in the image information storage device 33B. The output signal of this image analysis section 51 is input to a compression rate switching circuit 52. This compression rate switching circuit 52 is
Based on the signal from the image analysis section 51, the compression ratio in the compression circuit section 34 is determined, and the compression ratio is sent to the compression circuit section 371, and information on the compression ratio of the image is sent to the recording system section 35 as a compression ratio. The recording system section 35 sends this compression rate identification signal as an identification signal to the compressed f'(
, G, and B together with the image information.

また、記録システム部35から再生された圧縮率識別信
号から圧縮率を判別し、その圧縮率の情報を伸張回路部
36に送る圧縮率判別回路53が設けられている。再生
時は、記録システム部35より、圧縮されたR、G、B
の画像情報と共に圧縮率識別信号が再生され、前記圧縮
率判別回路53は前記圧縮率識別信号に基づいてその画
像の圧縮率を判別し、その圧縮率の情報を伸張回路部3
6に送る。この伸張回路部36は、この圧縮率に応じた
伸張を行うようになっている。
Further, a compression rate determination circuit 53 is provided which determines the compression rate from the compression rate identification signal reproduced from the recording system unit 35 and sends information on the compression rate to the decompression circuit unit 36. During playback, the recording system section 35 records compressed R, G, and B data.
A compression ratio identification signal is reproduced together with the image information of the image, and the compression ratio determination circuit 53 determines the compression ratio of the image based on the compression ratio identification signal, and transmits the compression ratio information to the decompression circuit section 3.
Send to 6. This decompression circuit section 36 is configured to perform decompression according to this compression ratio.

次に、第4図及び第5図を用いて、画像解析部51につ
いて説明する。
Next, the image analysis section 51 will be explained using FIGS. 4 and 5.

第4図に示すように、画像解析部51は、入力画像信号
を1画素分遅らせる1画素デイレイライン55と、この
1画素デイレイライン55の出力と入力画像信号の差分
を求める減算器56と、この減算器56の出力を所定の
しぎい値と比較する比較回路57と、この比較回路57
の出力をカウントづるカウンタ58と、このカウンタ5
8の出力に阜づいて周波数成分を判別する周波数成分判
別信号発生回路59とを備え、前記周波数成分判別信号
発生回路59からの周波数成分判別信号が、圧縮率切換
え回路52に入力されるようになっている。
As shown in FIG. 4, the image analysis unit 51 includes a 1-pixel delay line 55 that delays the input image signal by one pixel, a subtracter 56 that calculates the difference between the output of the 1-pixel delay line 55 and the input image signal, a comparison circuit 57 that compares the output of the subtracter 56 with a predetermined threshold value;
A counter 58 that counts the output of
8, and a frequency component discrimination signal generation circuit 59 for discriminating frequency components based on the output of the frequency component discrimination signal generation circuit 59, such that the frequency component discrimination signal from the frequency component discrimination signal generation circuit 59 is input to the compression ratio switching circuit 52. It has become.

本実施例では、前記画像解析部51は、特に、内視鏡画
像が染色画像か通常画像かを判別する。
In this embodiment, the image analysis unit 51 particularly determines whether the endoscopic image is a stained image or a normal image.

一般に、染色画像は通常画像に比べて内”gin診断部
位の細部が強調された画像となる。従って、染色画像に
は、高周波成分が多く含まれる。従って、隣接画素間の
濃度値の差分を求め、その差分値のヒストグラムを求め
ると、通常画像では第5図(a)に示すようにO近傍に
多く分布し、染色画像では第5図(b)に示すように絶
対値の大きい値が多くなり、両画像は明らかに異なる特
性を有する。従って、第5図(b)に示すように、所定
のしきい値を決め、そのしきい値より絶対値の大ぎい差
分を持つ画素の累積値の大小によって、両画像を判別す
ることができる。第4図に示す画像解析部5は、このよ
うにして染色画像と通常画像を判別するものである。す
なわら、減輝器56で隣接両糸間の差分を求め、比較回
路57でその差分としきい値とを比較し、カウンタ58
で前記しきい値より絶対値の大きい差分を持つ画素の累
積値を求める。そして、周波数成分判別信号発生回路5
9は、前記累積値に応じた周波数成分判別信号を出力す
る。尚、この画像解析部51は、R2O,Bの全ての画
像について解析づるようにしても良いし、1つまたは2
つの画像について解析するようにしても良い。
In general, a stained image is an image in which the details of the diagnostic site are emphasized compared to a normal image. Therefore, a stained image contains many high frequency components. Therefore, the difference in density values between adjacent pixels is When calculating the histogram of the difference values, in the normal image there are many distributed near O as shown in Figure 5 (a), and in the stained image the values with large absolute values are as shown in Figure 5 (b). Therefore, as shown in Fig. 5(b), a predetermined threshold value is determined, and pixels having a difference in absolute value larger than the threshold value are accumulated. It is possible to distinguish between the two images depending on the magnitude of the values. The image analysis unit 5 shown in FIG. 4 distinguishes between the stained image and the normal image in this way. The difference between both adjacent yarns is determined, and the comparison circuit 57 compares the difference with a threshold value, and the counter 58
Then, the cumulative value of pixels having a difference whose absolute value is larger than the threshold value is determined. Then, the frequency component discrimination signal generation circuit 5
9 outputs a frequency component discrimination signal according to the cumulative value. Incidentally, this image analysis section 51 may analyze all the images of R2O and B, or may analyze only one or two images.
It is also possible to analyze one image.

次に、第6図ないし第8図を用いて、圧縮回路部34と
、伸張回路部36の動作について説明する。
Next, the operations of the compression circuit section 34 and the expansion circuit section 36 will be explained using FIGS. 6 to 8.

第6図に示すように、圧縮回路部34は、ステップ$1
で、所定数の画素を1ブロツクとして入力画像全体を分
割し、各ブロック内の画素の濃度値の平均値を算出する
。次に、ステップS2で、圧縮率切換え回路52からの
圧縮率識別信号による圧縮識別情報と共に前記平均値を
、記録システム部35に記録する。本実施例では、圧縮
法は3通りあり、圧縮率も3つ存在する。そして、この
圧縮率を、前記圧縮率切換え回路52からの信号に基づ
いて通常画像と染色画像とで切換える。圧縮の方法は、
細雨素を1つのブロックとして平均値で置き換えるかに
よって切換えられる。例えば、2画素を1ブロツクとす
ると約1/2に圧縮し、4画素を1ブロツクとすると約
1/4に圧縮し、9画素を1ブロツクとすると約1/9
に圧縮する。
As shown in FIG. 6, the compression circuit section 34 performs step $1
Then, the entire input image is divided into blocks with a predetermined number of pixels, and the average value of the density values of the pixels in each block is calculated. Next, in step S2, the average value is recorded in the recording system unit 35 together with compression identification information based on the compression ratio identification signal from the compression ratio switching circuit 52. In this embodiment, there are three compression methods and three compression ratios. Then, this compression ratio is switched between a normal image and a dyed image based on a signal from the compression ratio switching circuit 52. The compression method is
It is switched depending on whether the fine rain elements are replaced with the average value as one block. For example, if 2 pixels are one block, it will be compressed to about 1/2, if 4 pixels are 1 block, it will be compressed to about 1/4, and if 9 pixels are 1 block, it will be compressed to about 1/9.
Compress it into

一方、第5図に示すように、伸張回路部36は、ステッ
プS3で、記録システム部35から圧縮識別情報と各ブ
ロックの平均値を再生し、ステップS4で、圧縮識別情
報に基づき、ブロック内の各画素の濃度値を、前記平均
値として、ブロックを構成する画素を復元する。
On the other hand, as shown in FIG. 5, the decompression circuit section 36 reproduces the compression identification information and the average value of each block from the recording system section 35 in step S3, and in step S4, the decompression circuit section 36 reproduces the compression identification information and the average value of each block based on the compression identification information. The pixels constituting the block are restored using the density value of each pixel as the average value.

第8図に、具体的な濃度値を入れた圧縮、伸張り1作の
一例を示す。(a)図は2画ふを1ブロツクとする圧縮
法(圧縮N01)に関し、(b)図は4画素を1ブロツ
クとする圧縮法(圧縮N02)に関し、(C)図は9画
素を1ブロツクとする圧縮法(圧縮N03)に関する。
FIG. 8 shows an example of compression and expansion with specific density values. (a) Figure relates to the compression method (compression N01) in which 2 pixels are 1 block, (b) Figure is related to the compression method (compression N02) in which 4 pixels are 1 block, and (C) diagram is 9 pixels in 1 block. This relates to a compression method (compression N03) that uses blocks.

(a>図に示Jように、圧縮NO1では、Pi 、P2
の2画素を1ブロツクとして入力画像全体を分割し、ブ
ロック内の画素のi!1lIEt値(3,5)の平均値
(4)を算出し、この平均値(4)を記録システム部3
5に記録す゛る。再生時は、記録システム部35から再
生された1つの平均値(4)から、2画素の濃度値(4
,4)を作成する。同様に、(b)図に示t ヨウニ、
圧縮N O2−(−Lt、P n 、 P 12 、 
P 21 。
(a> As shown in the figure, for compression NO1, Pi, P2
Divide the entire input image into one block, with two pixels of i! 1I Calculate the average value (4) of the IEt values (3, 5), and use this average value (4) as the recording system unit 3.
Recorded in 5. During reproduction, the density value (4) of two pixels is calculated from one average value (4) reproduced from the recording system section 35.
, 4). Similarly, (b) shows t,
Compressed N O2-(-Lt, P n , P 12 ,
P21.

P22の4画素を1ブロツクとし、ブロック内の画素の
a度値(2,6,5,7)の平均値(5)を記録システ
ム部35に記録し、再生時は、平均値(5)から、4画
素の濃度値(5,5,5,5)を作成する。同様に、(
C)図に示すように、圧縮NO3では、Pu−PI3.
P21〜. P23. P3t〜P33の9画素を1ブ
ロツクとし、ブロック内の画素の濃度値(2,5,,6
,6,4,7,4,3゜8)の平均値(5)を記録シス
テム部35に記録し、再生時は、平均値(5)から、9
画素の濃度値を作成する。
The four pixels of P22 are taken as one block, and the average value (5) of the a degree values (2, 6, 5, 7) of the pixels in the block is recorded in the recording system section 35. During playback, the average value (5) is recorded. From this, the density values (5, 5, 5, 5) of 4 pixels are created. Similarly, (
C) As shown in the figure, in compression NO3, Pu-PI3.
P21~. P23. The nine pixels P3t to P33 are considered as one block, and the density values of the pixels in the block (2, 5, 6
, 6, 4, 7, 4, 3°8) is recorded in the recording system unit 35, and during playback, the average value (5) is 9
Create the density value of the pixel.

尚、圧縮識別情報とブロックサイズの関係は、以下の表
のようにjる。
The relationship between compression identification information and block size is shown in the table below.

このような圧縮、伸張の場合、1ブロツクの画素数が多
いほど、圧縮率が高く、再生時の解像度は劣化する。圧
縮No1.2.3の1ブロツクの画素数、圧縮率及び再
生時の解像度の関係は、以下の表のようになる。
In the case of such compression and expansion, the greater the number of pixels in one block, the higher the compression rate and the worse the resolution during reproduction. The relationship between the number of pixels in one block, the compression ratio, and the resolution during playback for compression Nos. 1, 2, and 3 is as shown in the table below.

通常画像時は、高周波成分が少ない、特に胃壁は高周波
成分の少ないいわゆるのっぺりとした画像であるため、
圧縮NO3を選択しても画質の劣化にはほとんど気付か
ない。従って、画像解析部51で通常画像と判別された
場合には、圧縮N03を選択づる。これに対し、染色画
像時は、細かい部位が明確になってくるため、圧縮NO
3を選択しては画質の劣化が目立ってしまう。従って、
画像解析部51で染色画像と判別された場合には、その
画像の高周波成分の多さに応じて、圧縮N。
During normal imaging, there are few high frequency components, especially the stomach wall, which is a so-called flat image with few high frequency components.
Even if you select compression No. 3, you will hardly notice any deterioration in image quality. Therefore, if the image analysis unit 51 determines that the image is a normal image, compression N03 is selected. On the other hand, with stained images, fine areas become clearer, so compression NO.
If you select 3, the deterioration in image quality will be noticeable. Therefore,
If the image analysis unit 51 determines that the image is a dyed image, the image is compressed N depending on the amount of high frequency components in the image.

1または2を選択する。Select 1 or 2.

また、記録システム部35への記録方式は、第9図に示
すように、画像毎に、どの圧縮Noで圧縮しノζかの圧
縮識別情報を先頭に記録し、その後にブロック毎の平均
値を記録するものとする。再生時は、前記圧縮識別情報
に基づいて伸張を行う。
In addition, as shown in FIG. 9, the recording method in the recording system section 35 is to record compression identification information for each image at the beginning, indicating which compression number to use for compression, and then record the average value for each block. shall be recorded. During playback, decompression is performed based on the compression identification information.

このように、本実施例では、内視鏡画像の周波数成分を
解析することによって通常画像と染色画像を自動的に判
別し、その判別結果に従って、圧縮法、すなわち圧縮率
を変えるようにしたので。
In this way, in this embodiment, a normal image and a stained image are automatically distinguished by analyzing the frequency components of an endoscopic image, and the compression method, that is, the compression ratio is changed according to the discrimination result. .

内視鏡画像の特性に応じて画質の劣化を少なくして画像
に適した高圧縮が可能になる。
According to the characteristics of the endoscopic image, it is possible to reduce deterioration of image quality and perform high compression suitable for the image.

尚、多くの場合、染色画像は日成分が多くなるので、R
またはG成分に対するB成分の大きさによって、通常画
像か染色画像かを判別するようにしても良い。
In addition, in many cases, stained images have a large amount of sunlight component, so R
Alternatively, it may be determined whether the image is a normal image or a stained image based on the size of the B component relative to the G component.

また、R,G、B各画像間でも圧縮法を変えるようにし
ても良い。
Furthermore, the compression method may be changed between R, G, and B images.

第10図は本発明の第2実施例における画像解析部の構
成を示すブロック図である。
FIG. 10 is a block diagram showing the configuration of an image analysis section in a second embodiment of the present invention.

本実施例は、血管の走行状態に応じて圧縮率を可変にし
た例であり、第1実施例に対して画像解析部51の構成
のみが異なる。
This embodiment is an example in which the compression ratio is made variable depending on the running state of the blood vessel, and differs from the first embodiment only in the configuration of the image analysis section 51.

血管が多く走っている画像は、診断上重要な価値を有す
るため、圧縮率を低く抑え良好な画質を得る必要がある
。従って、本実施例では、血管の走行状態を自動的に判
別し、圧縮率を変えるようにしている。
Images with many blood vessels running through them have important diagnostic value, so it is necessary to keep the compression ratio low to obtain good image quality. Therefore, in this embodiment, the running state of the blood vessel is automatically determined and the compression ratio is changed.

第10図に示すように、本実施例における画像解析部5
1は、入力画像信号を微分する微分回路61と、この微
分回路61の出力画像を細線化する細線化回路62と、
この細線化回路62の出力画像を2値化する2値化回路
63と、この2値化回路63の出力画像中のHレベルの
画素数をカラン1〜するカウンタ64と、このカウンタ
64の出力に応じて血管走行信号を発生する血管走行信
号発生回路65とを備え、前記血管走行信号が圧縮率切
換え回路52に入力されるようになっている。
As shown in FIG. 10, the image analysis section 5 in this embodiment
1 is a differentiation circuit 61 that differentiates an input image signal, a thinning circuit 62 that thins the output image of this differentiation circuit 61,
A binarization circuit 63 that binarizes the output image of this thinning circuit 62, a counter 64 that counts the number of H level pixels in the output image of this binarization circuit 63, and an output of this counter 64. The blood vessel running signal generation circuit 65 generates a blood vessel running signal in accordance with the blood vessel running signal, and the blood vessel running signal is inputted to the compression rate switching circuit 52.

この画像解析部51には、血管情報を多く含むR画像信
号が入力され、このR画像信号に対して微分回路61で
微分処理を行い血管をより強調する。次に、細線化回路
62で微分処理画像を細線化し、2値化回路63で2値
化する。次に、カウンタ64で、2値化画像中の1ルベ
ルの画素数をカウントすることによって、血管量を定量
化する。
An R image signal containing a large amount of blood vessel information is input to the image analysis section 51, and a differentiation circuit 61 performs differentiation processing on this R image signal to further emphasize blood vessels. Next, a thinning circuit 62 thins the differentially processed image, and a binarization circuit 63 binarizes it. Next, the blood vessel volume is quantified by counting the number of pixels of 1 level in the binarized image using the counter 64.

そして、この定量化された血管量に基づいて血管走行信
号発生回路65が、圧縮率を変えるための血管走行信号
を発生する。
Then, based on the quantified blood vessel volume, the blood vessel running signal generation circuit 65 generates a blood vessel running signal for changing the compression ratio.

血管i1圧縮率及び再生時の解像度の関係は、以下の表
のようになる。
The relationship between the blood vessel i1 compression rate and the resolution during reproduction is as shown in the table below.

その他の構成1作用及び効果は第1実施例と同様である
Other functions and effects of the configuration 1 are the same as those of the first embodiment.

第11図ないし第14図は本発明の第3実施例に係り、
第11図は圧縮回路部の構成を示すブロック図、第12
図は予測誤差算出回路の構成を示すブロック図、第13
図は予測誤差の算出方法を説明するIζめの説明図、第
14図は平滑化フィルタの説明図である。
11 to 14 relate to the third embodiment of the present invention,
FIG. 11 is a block diagram showing the configuration of the compression circuit section;
The figure is a block diagram showing the configuration of the prediction error calculation circuit.
The figure is an explanatory diagram of Iζth illustrating a method of calculating a prediction error, and FIG. 14 is an explanatory diagram of a smoothing filter.

本実施例は、第1実施例に対して、圧縮回路部34及び
伸張回路部36が異なっている。
This embodiment differs from the first embodiment in a compression circuit section 34 and an expansion circuit section 36.

本実施例における圧縮回路部34は、第11図に示すよ
うに、平滑化回路41と、予測誤差算出回路42とを有
し、フレームメモリ33R,33G、33Bからの画像
信号は、平滑化回路41で平滑化され、予測誤差算出回
路42で予測符号化されて、記録システム部35に記憶
される。
As shown in FIG. 11, the compression circuit unit 34 in this embodiment includes a smoothing circuit 41 and a prediction error calculation circuit 42, and the image signals from the frame memories 33R, 33G, and 33B The data is smoothed in 41, predictively encoded in a prediction error calculation circuit 42, and stored in the recording system section 35.

前記平滑化回路41は、第12図に示すような3×3(
画素)の2次元フィルタによって平滑化するようになっ
ている。このフィルタは、各画素の平滑化後の濃度値と
して、その画素の濃度値を(1−k )倍したものと、
その画素の近傍の8画素の各濃度値をそれぞれ(k/8
 )倍したものとを加算した値とする。尚、k (0<
k<1 )は平滑化係数であり、この値が大きいと平滑
化効果が大きく、値が小さいと平滑化効果が小さい。こ
の平滑化係数にの値は、圧縮率切換え回路52によって
切換えられるようになっている。この平滑化係数にの値
を任意に定めることにより、平滑化後の空間周波数帯域
を決定することができる。すなわち、kが大きく平滑化
効果が大きいほど、画像の高周波成分が劣化する。
The smoothing circuit 41 has a 3×3 (
Smoothing is performed using a two-dimensional filter (pixel). This filter uses (1-k) times the density value of each pixel as the smoothed density value of each pixel.
Each density value of 8 pixels in the vicinity of that pixel is (k/8
) is the value obtained by adding the multiplied value. Furthermore, k (0<
k<1) is a smoothing coefficient; when this value is large, the smoothing effect is large, and when the value is small, the smoothing effect is small. The value of this smoothing coefficient is switched by a compression ratio switching circuit 52. By arbitrarily setting the value of this smoothing coefficient, the spatial frequency band after smoothing can be determined. That is, the larger k and the greater the smoothing effect, the more the high frequency components of the image deteriorate.

また、前記予測誤差算出回路42は、第12図に示すよ
うに、入力データを1画素デイレイライン43によって
1画素分遅らせ、このデータを減口器44によって原人
力データから引くことによって、1画素分竹のデータと
の差を求めるようになっている。第13図に示すように
、画素(j)の濃度値をX(i、j)とすると・予測誤
差算出回路42から出力される予測誤差信号ΔX(i、
j)は、 Δx (i、j)=x (i、j>−x (i−1,j
)と表される。この子aIII誤差信号は、入力データ
よりも小さい値となるので、記録システム部35に記録
するデータ量は少なくて済む。
Further, as shown in FIG. 12, the prediction error calculation circuit 42 delays the input data by one pixel by a one-pixel delay line 43, and subtracts this data from the original human data by a reducer 44. It is designed to calculate the difference with the data of the bamboo shoots. As shown in FIG. 13, if the density value of pixel (j) is X(i, j), the prediction error signal ΔX(i, j) output from the prediction error calculation circuit 42 is
j) is Δx (i, j)=x (i, j>-x (i-1, j
). Since this child aIII error signal has a smaller value than the input data, the amount of data recorded in the recording system section 35 can be small.

一方、伸張回路部36は、記録システム部35から再生
された予測誤差信号に、予測信号りなわ+51画素分前
のデータを加算することによって、原データを復元する
On the other hand, the decompression circuit section 36 restores the original data by adding the prediction signal line+51 pixels of previous data to the prediction error signal reproduced from the recording system section 35.

ここで、前記平滑化回路41における平滑化係数kを大
きくすると、画像の高周波成分が劣化するが、平滑化効
果が大きいため、予測誤差信号は全体的に小さくなり、
従って記録するデータ量は少なくなる。すなわち、圧縮
率が高い。反対に、kが小さく平滑化効果が小さい場合
には、画像の高周波成分は劣化しないが、予測誤差信号
は全体的に大きくなり、従って記録するデータmは多く
なる。(なわら、圧縮率が低い。このように、平滑化回
路41における平滑化係数kを任意に設定することによ
って、圧縮率も任意に設定することができる。本実施例
では、内視鏡画像の高周波成分が多いときは平滑化係数
kを小ざくして圧縮率を低くし、高周波成分が少ないと
きは平滑化係数kを大きくして圧縮率を高くする。
Here, if the smoothing coefficient k in the smoothing circuit 41 is increased, the high frequency components of the image will deteriorate, but since the smoothing effect is large, the prediction error signal will become smaller overall.
Therefore, the amount of data to be recorded is reduced. In other words, the compression ratio is high. On the other hand, when k is small and the smoothing effect is small, the high frequency components of the image do not deteriorate, but the prediction error signal becomes large overall, and therefore the amount of data m to be recorded increases. (However, the compression ratio is low. In this way, by arbitrarily setting the smoothing coefficient k in the smoothing circuit 41, the compression ratio can also be set arbitrarily. When there are many high frequency components, the smoothing coefficient k is decreased to lower the compression ratio, and when there are few high frequency components, the smoothing coefficient k is increased to increase the compression ratio.

その他の構成は、第1実施例と同様である。The other configurations are the same as in the first embodiment.

本実施例では、例えば、診断部位に応じて圧縮率が変え
られる。一般に上部消化管観察時は遠景の画像が多く、
下部消化管観察時は近景の画像がほとんどである。従っ
て、下部消化管観察時の画像は、上部消化管観察時の画
像に比べて細部が明確に映し出される。従って、下部消
化管観察時は、圧縮率を高くして画質を劣化させること
は好ましくない。
In this embodiment, the compression ratio is changed depending on the diagnosis site, for example. Generally, when observing the upper gastrointestinal tract, there are many distant images;
When observing the lower gastrointestinal tract, most images are close-up. Therefore, the details of the image obtained when observing the lower gastrointestinal tract are more clearly displayed than those obtained when observing the upper gastrointestinal tract. Therefore, when observing the lower gastrointestinal tract, it is not preferable to increase the compression ratio and deteriorate the image quality.

本実施例では、下部消化管観察時は、高周波成分が多く
なるので、このことが画像解析部51で判別され、圧縮
率は低くなる。一方、上部消化管観察時は、高周波成分
が少なくるので、このことが画像解析部51で判別され
、圧縮率は高くなる。
In this embodiment, when observing the lower gastrointestinal tract, there are many high-frequency components, so this is determined by the image analysis unit 51, and the compression ratio becomes low. On the other hand, when observing the upper gastrointestinal tract, there are fewer high-frequency components, so this is determined by the image analysis unit 51, and the compression ratio becomes higher.

診断部位、圧縮率及び再生時の解像度の関係は、以下の
表のようになる。
The relationship between the diagnosis site, compression rate, and resolution during playback is as shown in the table below.

その他の構成2作用及び効果は第1実施例と同様である
Other functions and effects of Structure 2 are the same as those of the first embodiment.

第15図ないし第18図は本発明の第4実施例に係り、
第15図は画像記録装置の構成を示すブロック図、第1
6図は圧縮回路部の構成を示すブロック図、第17図は
帯域制限切換え回路の構成を示づブロック図、第18図
は第17図の各LPFの通過帯域を示す説明図である。
15 to 18 relate to the fourth embodiment of the present invention,
FIG. 15 is a block diagram showing the configuration of the image recording device.
6 is a block diagram showing the configuration of the compression circuit section, FIG. 17 is a block diagram showing the configuration of the band limit switching circuit, and FIG. 18 is an explanatory diagram showing the pass band of each LPF in FIG. 17.

第15図に示すように、本実施例では、第1実施例にお
ける入力部31と△/Dコンバータ32゜32.32の
間に、R用帯域制限切換え回路67R,G用帯域制限切
換え回路67G、B用帯域制限切換え回路67Bを設け
ている。また、画像解析部51には、入力部31からの
画像信号が入力され、圧縮率切換え回路52は、前記帯
域制限切換え回路67R,67G、67Bを制御するよ
うになっている。
As shown in FIG. 15, in this embodiment, an R band limit switching circuit 67R and a G band limit switching circuit 67G are connected between the input section 31 and the Δ/D converter 32°32.32 in the first embodiment. , B band limit switching circuit 67B is provided. Further, an image signal from the input section 31 is input to the image analysis section 51, and the compression rate switching circuit 52 controls the band limit switching circuits 67R, 67G, and 67B.

また、本実施例における圧縮回路部34は、第16図に
示すように、第3実施例と同様の予測誤差算出回路42
を有するものであるが、第3実施例と異なり、平滑化回
路41はない。また、伸張回路部36は、第3実施例と
同様に、記録システム部35から再生された予測誤差信
号に、予測信号すなわち1画素分前のデータを加算する
ことによって原データを復元するものである。
Further, the compression circuit unit 34 in this embodiment includes a prediction error calculation circuit 42 similar to that in the third embodiment, as shown in FIG.
However, unlike the third embodiment, there is no smoothing circuit 41. Further, similarly to the third embodiment, the decompression circuit section 36 restores the original data by adding the prediction signal, that is, the data of one pixel before, to the prediction error signal reproduced from the recording system section 35. be.

前記帯域制限切換え回路67R,67G、67Bは、第
17図に示すように構成されている。
The band limit switching circuits 67R, 67G, and 67B are configured as shown in FIG. 17.

各帯域制限切換え回路67 (67R,67G。Each band limit switching circuit 67 (67R, 67G.

67Bを代表する。)の入力端は、1人力2出力の切換
スイッチ70aの入力端に接続されている。
Represents 67B. ) is connected to the input end of a one-manpower, two-output changeover switch 70a.

この切換スイッチ70aの各出力端には、それぞれ、ロ
ーパスフィルタ(以下、LPFと記す。)(1)68と
、LPF (2)69の入力端が接続さている。各LP
F68,69の出力端は、それぞれ、2人力1出力の切
換スイッチ70bの各入力端に接続されている。この切
換スイッチ70bの出力が、帯域制限切換え回路67の
出力となっている。前記各LPF68.69の通過帯域
は第18図に示すようになっている。すなわち、LPF
(1)68は高周波成分を除去し、LPF (2)69
は高周波成分をあまり除去しない特性になっている。
The input ends of a low pass filter (hereinafter referred to as LPF) (1) 68 and an LPF (2) 69 are connected to each output end of the changeover switch 70a, respectively. Each LP
The output terminals of F68 and 69 are respectively connected to respective input terminals of a two-manpower one-output changeover switch 70b. The output of this changeover switch 70b is the output of the band limit changeover circuit 67. The pass bands of each of the LPFs 68 and 69 are as shown in FIG. That is, LPF
(1) 68 removes high frequency components, LPF (2) 69
has a characteristic that it does not remove high frequency components very much.

また、本実施例における画像解析部51は、入力部31
からのアナログの画像信号をデジタル信号に変換するA
/Dコンバータを有する他は、第4図または第12図に
示すものと同様の構成であり、画像の周波数成分や血管
の走行状態を判別する。
Further, the image analysis section 51 in this embodiment includes the input section 31
A to convert analog image signals from to digital signals
The configuration is similar to that shown in FIG. 4 or FIG. 12 except that it includes a /D converter, and the frequency components of the image and the running state of blood vessels are determined.

前記スイッチ70a、70bは、圧縮率切換え回路52
によって切換えられるようになっている。
The switches 70a and 70b are the compression ratio switching circuit 52.
It can be switched by.

すなわち、画像解析部51で高周波成分が少ない画像ま
たは血管の少ない画像と判別された場合には、スイッチ
70a、70bはLPF (1) 68側を選択し、そ
の結果、圧縮回路部34における予測誤差信号のデータ
量は少なくなる。一方、画像解析部51で高周波成分が
多い画像または血管の多い画像と判別された場合には、
スイッチ70a、70bはLPF (2>69側を選択
し、その結果、圧縮回路部34における予測誤差信号の
データB1は多くなるが、画質は劣化しない。
That is, when the image analysis section 51 determines that the image has few high frequency components or few blood vessels, the switches 70a and 70b select the LPF (1) 68 side, and as a result, the prediction error in the compression circuit section 34 is reduced. The amount of data in the signal becomes smaller. On the other hand, if the image analysis unit 51 determines that the image contains many high-frequency components or contains many blood vessels,
The switches 70a and 70b select the LPF (2>69 side), and as a result, the amount of data B1 of the prediction error signal in the compression circuit section 34 increases, but the image quality does not deteriorate.

第3実施例では、画像信号の帯域制限を圧縮回路部34
内の平滑化回路41によってデジタル的に行っているが
、本実施例では、帯域制限切換え回路67内のLPF6
8.69によってアナログ的に行っている。
In the third embodiment, the band limitation of the image signal is performed by the compression circuit section 34.
However, in this embodiment, the LPF 6 in the band limit switching circuit 67
This is done in an analog manner using 8.69.

その他の構成1作用及び効果は第1実施例と同様である
Other functions and effects of the configuration 1 are the same as those of the first embodiment.

第19図ないし第23図は本発明の第5実施例に係り、
第19図は画像解析部の構成を示づブロック図、第20
図は圧縮率テーブルを示で説明図、第21図は記録動作
を示づフローヂャート、第22図は記録システム部への
記録方式を示す説明図、第23図はブロックサイズを示
す説明図である。
19 to 23 relate to the fifth embodiment of the present invention,
Figure 19 is a block diagram showing the configuration of the image analysis section;
The figure is an explanatory diagram showing a compression ratio table, Fig. 21 is a flowchart showing the recording operation, Fig. 22 is an explanatory diagram showing the recording method to the recording system section, and Fig. 23 is an explanatory diagram showing the block size. .

第1ないし第4実施例は、画像単位毎に圧縮率を可変に
づるものであるが、第5ないし第7実施例は、画像内の
部分領域毎に圧縮率を可変とした例である。
In the first to fourth embodiments, the compression rate is made variable for each image unit, but in the fifth to seventh embodiments, the compression rate is made variable for each partial area within the image.

第5実施例は、内81鏡画像の中心部と周辺部で圧縮率
を可変にした例である。
The fifth embodiment is an example in which the compression ratio is made variable between the center and the periphery of the inner 81 mirror image.

本実施例では、第1実施例に対して画像解析部51の構
成が異なる。第19図に示すように、画像解析部51は
、R用フレームメモリ33Rからの画像信号が入力され
る画像の中心領域の明るさ算出回路71と、画像の周辺
領域の明るさ算出回路72とを有し、各算出回路71.
72の出力は、平坦画像/円筒画像判別信号発生回路7
3に入力されるようになっている。そして、この平坦画
像/円筒画像判別信号発生回路73の出力が、圧縮率切
換え回路52に送られるようになっている。
This embodiment differs from the first embodiment in the configuration of the image analysis section 51. As shown in FIG. 19, the image analysis section 51 includes a brightness calculation circuit 71 for the central area of the image to which the image signal from the R frame memory 33R is input, and a brightness calculation circuit 72 for the peripheral area of the image. and each calculation circuit 71.
The output of 72 is the flat image/cylindrical image discrimination signal generation circuit 7.
3 is set to be input. The output of this flat image/cylindrical image discrimination signal generation circuit 73 is sent to the compression rate switching circuit 52.

内視鏡画像は、観察状態によって大ぎく2つに分けられ
る。1つは、胃壁観察時のように内視鏡先端からの距離
が画像中心から周辺にかけて略同じであり、従って明る
さも画像全体で略一定の画像(以下、平坦画像と記す。
Endoscopic images are roughly divided into two types depending on the observation state. One is an image in which the distance from the tip of the endoscope is approximately the same from the center of the image to the periphery, as in the case of gastric wall observation, and therefore the brightness is approximately constant throughout the image (hereinafter referred to as a flat image).

)であり、もう1つは、食道観察時のように内視鏡先端
からの距離が画像中心は遠く従って暗く、周辺は近く従
って明るい画像(以下、円筒画像と記す。)である。前
記画像解析部51では、この平坦画像と円筒画像とを判
別する。
), and the other is an image (hereinafter referred to as a cylindrical image) that is dark because the center of the image is far away from the tip of the endoscope, and bright because the periphery is close, such as when observing the esophagus. The image analysis section 51 discriminates between the flat image and the cylindrical image.

第21図を用いて、本実施例の記録動作を説明する。The recording operation of this embodiment will be explained using FIG. 21.

まず、ステップ511(以下、ステップは省略し、単に
S11のように記す。)で、画像の中心領域の明るさ算
出回路71により、画像の中心部1或の明るさを算出す
る。この明るさをAとする。
First, in step 511 (hereinafter, steps will be omitted and simply referred to as S11), the brightness calculation circuit 71 for the central area of the image calculates the brightness of the central area 1 of the image. Let this brightness be A.

また、812で、画像の周辺領域の明るさ算出回路72
により、画像の周辺領域の明るさを算出づる。この明る
さをBとする。
Further, at 812, the brightness calculation circuit 72 of the peripheral area of the image
The brightness of the surrounding area of the image is calculated by: Let this brightness be B.

次に、S13で、平坦画像/円筒画像判別信号発生回路
73により、前記明るさがA<Bであるか否かを判断し
、YESの場合は、円筒画像であると判断し、その情報
を圧縮率切換え回路52へ送り、この圧縮率切換え回路
52は、814で、第20図(a)に示づような圧縮率
テーブル(a>を選択する。一方、Noの場合は、平坦
画像であると判断し、その情報を圧縮率切換え回路52
へ送り、この圧縮率切換え回路52は、815で、第2
0図(b)に示すような圧縮率テーブル(b)を選択す
る。
Next, in S13, the flat image/cylindrical image discrimination signal generation circuit 73 determines whether the brightness is A<B, and if YES, it is determined that the image is a cylindrical image, and the information is The data is sent to the compression rate switching circuit 52, and the compression rate switching circuit 52 selects the compression rate table (a> as shown in FIG. The compression ratio switching circuit 52 determines that there is a
This compression rate switching circuit 52 switches to the second compression ratio at 815.
0 Select the compression ratio table (b) as shown in Figure (b).

尚、前記圧縮率テーブルは、画像を例えば64分割し一
ス各分割画像の圧縮率を定めたものである。
The compression ratio table is obtained by dividing an image into, for example, 64 parts and determining the compression ratio of each divided image.

図中の数字は、圧縮率を示し、値が大きいほど圧縮率が
高い。従って、圧縮率テーブル(a)は、中心部が高圧
縮、周辺部が低圧縮になっている。
The numbers in the figure indicate the compression ratio, and the larger the value, the higher the compression ratio. Therefore, in the compression ratio table (a), the center part is highly compressed and the peripheral part is low compressed.

また、圧縮率テーブル(b)は、画像全体が低圧縮にな
っている。
Furthermore, in the compression rate table (b), the entire image is low compressed.

次に、S16で、814または815で選択した圧縮率
テーブルに従って、圧縮回路部34にて各分割画像内を
圧縮する。
Next, in S16, the compression circuit unit 34 compresses each divided image according to the compression ratio table selected in 814 or 815.

そして、S17で、圧縮識別情報と共に圧縮画像情報を
、記録システム部35に記録する。
Then, in S17, the compressed image information is recorded in the recording system section 35 together with the compressed identification information.

本実施例では、1画像内の領域毎にその圧縮率、すなわ
ちブロックサイズが異なるため、記録システム部35へ
の記録方式は、第22図に示すように、ブロック毎に、
その平均値の前にそのブロックの圧縮率を表す圧縮識別
情報を追加するようにした。また、ブロックサイズは、
第23図に示すように、1X2.2X2.3X2の3通
りとした。
In this embodiment, since the compression ratio, that is, the block size, differs for each area within one image, the recording method to the recording system unit 35 is as shown in FIG. 22, for each block.
Compression identification information indicating the compression rate of the block is added before the average value. Also, the block size is
As shown in FIG. 23, three types were used: 1X2.2X2.3X2.

円筒画像と判別されたときの、観察部位、圧縮率及び再
生時の解像度の関係は、以下の表のようになる。
When the image is determined to be a cylindrical image, the relationship among the observed region, compression rate, and resolution at the time of reproduction is as shown in the table below.

その他の構成2作用及び効果は第1実施例ど同様である
The other functions and effects of Structure 2 are the same as those of the first embodiment.

第24図ないし第26図は本発明の第6実施例に係り、
第24図は画@解析部の構成を示すブロック図、第25
図は(R−Y)(B−Y)平面を示す説明図、第26図
は記録動作を示すフローチャートである。
24 to 26 relate to the sixth embodiment of the present invention,
Figure 24 is a block diagram showing the configuration of the image @ analysis section, Figure 25
The figure is an explanatory diagram showing the (RY) (B-Y) plane, and FIG. 26 is a flowchart showing the recording operation.

本実施例は、色に応じて圧縮率を可変にした例である。This embodiment is an example in which the compression ratio is made variable depending on the color.

本実施例では、第1実施例に対して画像解析部51の構
成が異なる。第24図に示すように、画像解析部51は
、RGB用の各フレームメモリ33R,33G、33B
からのRGBの画像信号が入力されるマトリクス変換回
路81を有し、この71〜リクス変挽回路81で、R,
G、B信号が輝度信号Yと2つの色差信号R−Y、B−
Yに変換されるようになっている。このY、R−Y、B
−Y信号は、分割画像用フレームメモリ82に記録され
たのち、算出回路83に入力され、fJ−−Y  2+
(B−Y)2 が締出されるようになっている。前記算出回路83で算
出されたρは算出回路84に入力され、分割画像内の1
の累積値Σgが算出されるようになっている。前記算出
回路84で算出されたΣΩは、圧縮率決定回路85に入
力されるようになっている。
This embodiment differs from the first embodiment in the configuration of the image analysis section 51. As shown in FIG. 24, the image analysis unit 51 includes each frame memory 33R, 33G, 33B for RGB.
It has a matrix conversion circuit 81 to which RGB image signals from 71 to 81 are input.
The G and B signals are a luminance signal Y and two color difference signals R-Y and B-
It is now converted to Y. This Y, R-Y, B
The −Y signal is recorded in the divided image frame memory 82 and then input to the calculation circuit 83, and the fJ−−Y 2+
(B-Y)2 is now locked out. The ρ calculated by the calculation circuit 83 is inputted to the calculation circuit 84, and ρ is inputted to the calculation circuit 84.
The cumulative value Σg is calculated. The ΣΩ calculated by the calculation circuit 84 is input to a compression ratio determination circuit 85.

内視鏡診断の場合は、色の情報が診断上大変重要どなっ
てくる。すなわち、ハレーションや影等の彩度が低く白
黒に近い情報は診断上あまり意味を持たない。特にハレ
ーション部は白い領域となり診断上無意味となる。従っ
て、画像を分割し、分割領域内の画像の彩度を計算し、
彩度が低い場合には、圧縮率を上げて画質を多少落して
も診断にほとんど影響を及ぼさない。
In the case of endoscopic diagnosis, color information is extremely important for diagnosis. In other words, information with low saturation such as halation and shadows that is close to black and white does not have much meaning in terms of diagnosis. In particular, the halation area becomes a white area and is meaningless for diagnosis. Therefore, divide the image, calculate the saturation of the image within the divided regions,
If the saturation is low, even if the compression rate is increased and the image quality is reduced somewhat, it will have little effect on diagnosis.

第26図を用いて、本実施例の記録動作を説明する。The recording operation of this embodiment will be explained using FIG. 26.

まず、S21で、マトリクス変換回路81により、RG
B座標をY(R−Y)(B−Y)へ変換する。
First, in S21, the matrix conversion circuit 81 converts the RG
Convert the B coordinate to Y (RY) (B-Y).

次に、S22で、分割画像用フレームメモリ82により
、画像を例えば64分割する。
Next, in S22, the divided image frame memory 82 divides the image into, for example, 64 parts.

次に、823で、算出回路83により、画素毎のρ= 
   −Y)2 + (B−Y)2を求める。
Next, at 823, the calculation circuit 83 determines that ρ=
−Y)2 + (B−Y)2 is determined.

すなわち、彩度の情報を求める。That is, saturation information is obtained.

次に、S24で、算出回路84により、gを分割画像内
で累積する。
Next, in S24, the calculation circuit 84 accumulates g within the divided images.

次に、825で、圧縮率決定回路85により、1の累積
値Σgに応じて、分割画像毎の圧縮率を決定する。
Next, in 825, the compression rate determination circuit 85 determines the compression rate for each divided image according to the cumulative value Σg of 1.

次に、826で、決定した圧縮率に従って、圧縮回路部
34にて各分割画像内を圧縮づる。
Next, in 826, the compression circuit unit 34 compresses each divided image according to the determined compression ratio.

そして、S27で、圧縮識別情報と共に圧縮画像情報を
、記録システム部35に記録する。
Then, in S27, the compressed image information is recorded in the recording system section 35 together with the compressed identification information.

彩度、圧縮率及び再生時の解像度の関係は、以また、上
記表中の圧縮率(0,1,2,3>の範囲は、(R−Y
)(B−Y)平面上で示寸“と、例えば第25図におい
て破線で示すようになる。
The relationship between saturation, compression rate, and resolution during playback is as follows: The range of compression rate (0, 1, 2, 3> in the above table is
) (B-Y) plane, as shown by the broken line in FIG. 25, for example.

イの他の構成2作用及び効果は第1実施例と同様である
The other functions and effects of configuration 2 are the same as those of the first embodiment.

第27図ないし第30図は本発明の第7実施例に係り、
第27図は画像解析部の構成を示1ブロック図、第28
図は(R−Y)(B−Y)平面を示づ説明図、第29図
は分割画像を示寸説明図、第30図は記録動作を示すフ
ローチャートである。
27 to 30 relate to the seventh embodiment of the present invention,
Figure 27 is a block diagram showing the configuration of the image analysis section.
FIG. 29 is an explanatory diagram showing the (RY) (BY) plane, FIG. 29 is a dimensional explanatory diagram showing the divided image, and FIG. 30 is a flowchart showing the recording operation.

本実施例は、第6実施例と同様に、色に応じて圧縮率を
可変にした例であるが、本実施例では、平均色に近い領
域の圧縮率を高くしている。
Similar to the sixth embodiment, this embodiment is an example in which the compression ratio is varied depending on the color, but in this embodiment, the compression ratio is set high in areas close to the average color.

本実施例では、第1実施例に対して画像解析部51の構
成が異なる。第27図に示すように、画像解析部51は
、RGB用の各フレームメモリ33R,33G、33B
からのRGBの画像信号が入力されるマトリクス変換回
路91を有し、この71〜リクス変挽回路91で、R,
G、B信号が輝度信号Yと2つの色差信号R−Y、B−
Yに変換されるようになっている。このY、R−Y、B
Y倍信号、全領域の平均色算出回路92と分割画像用フ
レームメモリ93とに送られるようになっている。前記
分割画像用フレームメモリ93の出力は、分割画像内の
平均色算出回路94に送られるようになっている。前記
平均色算出回路92で算出された平均色(X、o、yo
)と平均色算出回路94で締出された平均色(X ij
、 yij)は、算出回路95に入力され、 D =   XO−x+J)  + (yo −yfj
) 2が算出されるようになっている。前記算出回路9
3で算出されたgは、圧縮率決定回路96に入力される
ようになっている。
This embodiment differs from the first embodiment in the configuration of the image analysis section 51. As shown in FIG. 27, the image analysis unit 51 includes each RGB frame memory 33R, 33G, 33B.
It has a matrix conversion circuit 91 to which RGB image signals from 71 to 91 are input.
The G and B signals are a luminance signal Y and two color difference signals R-Y and B-
It is now converted to Y. This Y, R-Y, B
The Y-fold signal is sent to an average color calculation circuit 92 for all areas and a frame memory 93 for divided images. The output of the divided image frame memory 93 is sent to a divided image average color calculation circuit 94. The average color (X, o, yo
) and the average color (X ij
, yij) are input to the calculation circuit 95, and D = XO−x+J) + (yo −yfj
) 2 is calculated. The calculation circuit 9
g calculated in step 3 is input to the compression ratio determining circuit 96.

内視鏡診断の場合は、画像全体の色すなわち平均色に近
い領域は、診所上あまり重要とされず、平均色から離れ
た色を持つ領域が、一般に病変部位を示す。従って、平
均色に近い領域は、圧縮率圧縮率を上げて画質を多少溝
しても診断にほとんど影響を及ぼさない。
In the case of endoscopic diagnosis, the color of the entire image, that is, an area close to the average color, is not very important in the clinic, and an area with a color far from the average color generally indicates a lesion site. Therefore, in a region close to the average color, even if the compression rate is increased and the image quality is slightly degraded, it will hardly affect the diagnosis.

第30図を用いて、本実施例の記録動作を説明する。The recording operation of this embodiment will be explained using FIG. 30.

まず、831で、マトリクス変換回路91により、RG
B座標をY(R−Y)(113−Y)へ変換する。
First, at 831, the matrix conversion circuit 91 converts the RG
Convert the B coordinate to Y (RY) (113-Y).

次に、S32で、算出回路92により(R−Y)([1
3−Y )平面において全画素の平均色(Xo 。
Next, in S32, the calculation circuit 92 calculates (RY)([1
3-Y) Average color of all pixels (Xo) in the plane.

yo)を求める。尚、(Xo 、 ’10 )は、第2
8図に示すように平均色の(R−Y)(B−Y)平面上
での座標を示す。
Find yo). Furthermore, (Xo, '10) is the second
As shown in Figure 8, the coordinates of the average color on the (RY) (BY) plane are shown.

また、833で、分割画像用フレームメモリ93により
、画像を例えば64分割し、834で、平均色算出回路
94により、(R−Y)(B−Y)平面において各分割
画像内の画素の平均色(xij。
Further, in 833, the divided image frame memory 93 divides the image into, for example, 64 parts, and in 834, the average color calculation circuit 94 calculates the average of the pixels in each divided image on the (RY) (B-Y) plane. Color (xij.

yij)を求める。尚、第29図に示すように、画像を
分割したときのi行j列の分割画像をBijとし、その
分割画像B1jの平均色の(R−Y)(BY)平面上で
の座標を(xij、 yij)とする。
yij). As shown in FIG. 29, when the image is divided, the divided image in the i row and j column is Bij, and the coordinates of the average color of the divided image B1j on the (RY) (BY) plane are ( xij, yij).

次に、835で、算出回路95により、(RY)(B−
Y)平面上における各分割画像の平均色と全画素の平均
色の距mρを求める。
Next, at 835, the calculation circuit 95 calculates (RY)(B-
Y) Find the distance mρ between the average color of each divided image and the average color of all pixels on the plane.

次に、836で、圧縮率決定回路96により、距離ρに
応じて、各分割画像の圧縮率を決定する。
Next, at 836, the compression rate determination circuit 96 determines the compression rate of each divided image according to the distance ρ.

次に、837で、決定した圧縮率に従って、圧縮回路部
34にて各分割画像内を圧縮する。
Next, in 837, the compression circuit unit 34 compresses each divided image according to the determined compression ratio.

そして、838で、圧縮識別情報と共に圧縮画像情報を
、記録システム部35に記録する。
Then, in 838, the compressed image information is recorded in the recording system section 35 together with the compressed identification information.

平均色からの距離、圧縮率及び再生時の解像度また、上
記表中の圧縮率の範囲は、(R−Y)(B−Y)平面上
で示寸と、例えば第26図において破線で示すようにな
る。
Distance from average color, compression rate, and resolution during playback Also, the range of compression rate in the above table is indicated by the dimensions on the (R-Y) (B-Y) plane and, for example, by the broken line in Fig. 26. It becomes like this.

その他の構成1作用及び効果は第1実施例と同様である
Other functions and effects of the configuration 1 are the same as those of the first embodiment.

第31図ないし第34図は本発明の第8実施例に係り、
第31図は内視鏡装置の構成を示すブロック図、第32
図は画像圧縮記録部の構成を示すブロック図、第33図
は一般内視鏡画像のヒストグラムを示す説明図、第34
図は染色内視鏡画像のヒストグラムを示す説明図である
31 to 34 relate to the eighth embodiment of the present invention,
Fig. 31 is a block diagram showing the configuration of the endoscope device;
The figure is a block diagram showing the configuration of the image compression recording unit, FIG. 33 is an explanatory diagram showing the histogram of a general endoscopic image, and FIG.
The figure is an explanatory diagram showing a histogram of a stained endoscopic image.

第31図に示すように、内視鏡の挿入部先端部には、生
体の画像を電気信F3に変換づるCCDl01が設けら
れている。このCCD 101の出力電気信号は、所定
の範囲の電気信号(例えばO〜1ボルト)に増幅するた
めのアンプ102に入力されるようになっている。この
アンプ102の出力電気信号は、γ補正回路103とA
/Dコンバータ104を経由した後、セレクタ105に
Yカされるようになっている。このセレクタ105の出
力端は3つあり、それぞれ、Rメモリ106R。
As shown in FIG. 31, a CCD 101 that converts an image of a living body into an electric signal F3 is provided at the distal end of the insertion section of the endoscope. The output electrical signal of this CCD 101 is input to an amplifier 102 for amplifying it into an electrical signal within a predetermined range (for example, 0 to 1 volt). The output electric signal of this amplifier 102 is connected to the γ correction circuit 103 and the A
After passing through the /D converter 104, the Y signal is input to the selector 105. There are three output terminals of this selector 105, each of which is an R memory 106R.

Gメモリ106G、Bメモリ106Bに接続されている
。各メモリ106R,106G、106Bは、D/Aコ
ンバータ107R,107G、107B、並びに画像圧
縮記録部108に接続されている。前記画像圧縮記録部
108は、画像判定部121、画像圧縮部1222画像
記録部123からなる。前記D/Aコンバータ107R
,107G、107Bは、RGBそれぞれの信号出力端
109.110,111に接続されている。
It is connected to a G memory 106G and a B memory 106B. Each memory 106R, 106G, 106B is connected to D/A converters 107R, 107G, 107B and an image compression recording section 108. The image compression recording section 108 includes an image determination section 121, an image compression section 1222, and an image recording section 123. Said D/A converter 107R
, 107G, and 107B are connected to RGB signal output terminals 109, 110, and 111, respectively.

また、画像信号の行き先と画像信号転送時の転送タイミ
ングを制御する制御信号発生部112が設けられ、この
制御信号発生部112は、A/Dコンバータ1o4.セ
レクタ105.RGB各メセメモリ106R06G、1
06B、D/Aコンバータ107R,107G、107
B、 画像JIM記録部108に接続されている。前記
制御信号発生部112は、同期信号発生回路113にも
接続されており、同期信号発生回路113−からは、前
記RGB信号出力に対する同期信号5YNCが、同期信
号出力端114に出力されている。
Further, a control signal generating section 112 is provided which controls the destination of the image signal and the transfer timing when transferring the image signal, and this control signal generating section 112 controls the A/D converter 1o4. Selector 105. RGB each meme memory 106R06G, 1
06B, D/A converter 107R, 107G, 107
B. Connected to the image JIM recording unit 108. The control signal generation section 112 is also connected to a synchronization signal generation circuit 113, and from the synchronization signal generation circuit 113-, a synchronization signal 5YNC for the RGB signal output is outputted to a synchronization signal output terminal 114.

また、制御信号発生部112は、RGB回転フィルタ1
16を駆動するモータ115に接続されている。ランプ
118からの光は、RGB回転フィルタ116.内視鏡
のライトガイド117を経由して、内視鏡の挿入部先端
部から出射されるようになっている。
Further, the control signal generation unit 112 includes the RGB rotation filter 1
16 is connected to a motor 115 that drives the motor 16. Light from lamp 118 is passed through RGB rotating filter 116 . The light is emitted from the distal end of the insertion section of the endoscope via the light guide 117 of the endoscope.

次に、第32図を用いて、画像圧縮記録部108につい
て説明する。
Next, the image compression recording section 108 will be explained using FIG. 32.

RG[3各入力信号は、それぞれ、ヒストグラム作成部
139R,139G、139Bを経由した後、ピーク位
置検出回路140へ導かれる。このピーク位置検出回路
140の出力は、セレクタ132、tt/クタ136.
II縮情報用ROM141に接続されている。前記ヒス
トグラム作成部139R,139G、139B、ピーク
位置検出回路140及び圧縮情報用ROM141によっ
て画像判定部121が構成されている。また、RGB各
入六入力信号それぞれ、作業用のRメモリ131R,G
メモリ131G、Bメモリ131Bを経由した後、セレ
クタ132に導かれるようになっている。このセレクタ
132の出力は、ブロック化回路(1)133.ブロッ
ク化回路(2)134゜ブロック化回路(3)135に
接続されている。
Each input signal of RG[3 is guided to the peak position detection circuit 140 after passing through histogram creation units 139R, 139G, and 139B, respectively. The output of this peak position detection circuit 140 is transmitted to the selector 132, tt/actor 136 .
It is connected to the II compression information ROM 141. The image determination section 121 is composed of the histogram creation sections 139R, 139G, and 139B, the peak position detection circuit 140, and the compressed information ROM 141. In addition, R memories 131R and 131G for work are provided for each of the six RGB input signals.
After passing through the memory 131G and B memory 131B, it is guided to the selector 132. The output of this selector 132 is the blocking circuit (1) 133. Blocking circuit (2) 134° is connected to blocking circuit (3) 135.

このブロック化回路133,134,135の出力は、
セレクタ136@経由し、予測符号化器137に入力さ
れるようになっている。前記メモリ131R,1310
,131B、セレクタ132゜ブロック化回路133,
134,135.セレクタ136.予測符号化器137
によって画像圧縮部122が構成されている。そして、
前記予測符号化器137と圧縮情報用ROM141の各
出力が、画像記録部123に記録されるようになってい
る。
The outputs of the blocking circuits 133, 134, 135 are:
The signal is input to the predictive encoder 137 via the selector 136@. The memory 131R, 1310
, 131B, selector 132° blocking circuit 133,
134,135. Selector 136. Predictive encoder 137
The image compression unit 122 is configured by: and,
The outputs of the predictive encoder 137 and compressed information ROM 141 are recorded in the image recording section 123.

次に、本実施例の作用について説明する。Next, the operation of this embodiment will be explained.

第31図において、信号の流れを説明する。CCD10
1からの画像信号は、アンプ102により所定の範囲の
電圧、本実施例では0〜1ボルトに変換される。この画
像信号は、γ補正回路103に入力され、所定のγ特性
を持った画像信号に変換される。ぞの後、A/Dコンバ
ータ104において、所定の量子化レベル(例えば8b
 i t)でデジタル化される。その後、セレクタ10
5を経由して、制御信号発生部112からの制御信号に
より、CCD 101に入る映像が赤(R)照明時の画
像はRメモリ106Rに、緑(G)照明時の画像μGG
Bリ106Gに、青(B)照明時の画像はBメ−Eす1
06Bに、それぞれ、記録される。各メ七り106R,
106G、106Bから読み出された信号は、画像圧縮
記録部108とD/△]ンバータ107R,107G、
107Bへ転送される。このD/Aコンバータ107R
,107G、10713からのRG 13画像仁号tよ
、制御信号発生部112に制fi11のちとに同期信号
発生回路113で作られた同期信号5YNCと共に、R
GB画像信号出力端109,110.111から出力さ
れる。一方、制御信号発生部112からはRGB回転フ
ィルタ116を回転駆動するモータ115に対し、モー
タ制御信号が送られている。
Referring to FIG. 31, the flow of signals will be explained. CCD10
The image signal from 1 is converted by an amplifier 102 into a voltage within a predetermined range, in this example, 0 to 1 volt. This image signal is input to the γ correction circuit 103 and converted into an image signal having a predetermined γ characteristic. After that, in the A/D converter 104, a predetermined quantization level (for example, 8b
digitized by it). Then selector 10
5, the image input to the CCD 101 is stored in the R memory 106R as an image under red (R) illumination, and the image under green (G) illumination is stored in the R memory 106R.
The image with blue (B) illumination is B-106G.
06B, respectively. Each menu 106R,
The signals read from 106G and 106B are sent to the image compression recording unit 108 and D/Δ] inverters 107R, 107G,
107B. This D/A converter 107R
, 107G, RG 13 images from 10713, R
The GB image signal is output from output terminals 109, 110, and 111. On the other hand, a motor control signal is sent from the control signal generating section 112 to the motor 115 that rotationally drives the RGB rotary filter 116.

モータ115は、制御信号によりセレクタ105の切換
えタイミングに合わせてRG B回転フィルタ116を
回転させる。このRGB回転フィルタ116により、ラ
ンプ118からの照明光は、RlG、Bの3色に時系列
的に分解され、内視鏡のライトガイド117に導かれ、
内視鏡の挿入部先端部から出射される。この照明方式は
、いわゆるRGB面順次カラ一方式である。
The motor 115 rotates the RGB rotary filter 116 in accordance with the switching timing of the selector 105 using a control signal. By this RGB rotation filter 116, the illumination light from the lamp 118 is separated into three colors of RlG and B in time series, and guided to the light guide 117 of the endoscope.
It is emitted from the tip of the insertion section of the endoscope. This lighting system is a so-called RGB sequential color system.

次に、画像圧縮部108の作用について説明づる。前記
RGB各メセメモリ6R,106G、106Bから読み
出された信号は、制御信号発生部112の制御のもとに
画像圧縮部108内の作業用のRメモリ131R,Gメ
モリ131G、13メ七り131Bとヒストグラム作成
部139R,139G、139Bに記録される。ヒスト
グラム作成部139R,139G、139Bでは、RG
 B各信号のヒストグラムが作成される。その後、ピー
ク位置検出回路140にて、各ヒストグラムのピーク位
置が求められ、RGB3信号のピーク位置の大小関係に
基づき、セレクタ132.セレクタ136.圧縮情報用
ROM141へ制御信号が出力される。
Next, the operation of the image compression section 108 will be explained. The signals read from the RGB memory 6R, 106G, and 106B are sent to the working R memory 131R, G memory 131G, and 13-memory 131B in the image compression unit 108 under the control of the control signal generation unit 112. and are recorded in the histogram creation units 139R, 139G, and 139B. In the histogram creation units 139R, 139G, and 139B, RG
B A histogram of each signal is created. Thereafter, the peak position of each histogram is determined by the peak position detection circuit 140, and the selector 132. Selector 136. A control signal is output to the compressed information ROM 141.

一方、各メモリ131R,131G、131Bから読み
出された信号は、セレクタ132に導かれる。このセレ
クタ132は、ピーク位置検出回路140の制御信号に
基づきRGB信号を、ブロック化回路(1)133.ブ
ロック化回路(2)134、ブロック化回路(3)13
5のいずれか1つに導く。3つのブロック化回路133
.13/l、135は、それぞれ例えば、IX2.2X
2゜3×3サイズのブロック化された映像信号を出力づ
る。ブロック化のサイズが大きいほど圧縮率が向上し、
逆に画質は低下する。セレクタ136は、ピーク位置検
出回路140の制御信号に基づき、選択されたブロック
化回路の出力を予測符号化器137へ導く。予測符号化
器137は、[昭晃堂画像処理ハンドブック 第217
〜219ページ]等に記載された予測符号化方法により
予測誤差を求め、画像記録部123へ出力する。この画
像記録部123は、光ディスク、!i気ディスク等の人
容最記録媒体に対してデータを記録する。
On the other hand, signals read from each memory 131R, 131G, and 131B are guided to a selector 132. This selector 132 selects the RGB signals from the blocking circuits (1) 133 . Blocking circuit (2) 134, blocking circuit (3) 13
Lead to one of 5. Three blocking circuits 133
.. 13/l and 135 are each, for example, IX2.2X
Outputs a video signal divided into blocks of 2°3×3 size. The larger the blocking size, the better the compression ratio,
On the contrary, the image quality deteriorates. The selector 136 guides the output of the selected blocking circuit to the predictive encoder 137 based on the control signal of the peak position detection circuit 140. The predictive encoder 137 is configured by [Shokodo Image Processing Handbook No. 217]
A prediction error is obtained using the predictive encoding method described in [Page 219] and the like, and is output to the image recording unit 123. This image recording section 123 is an optical disk,! Data is recorded on a personality recording medium such as an i-disc.

また、画I&復元時に必要となるブロック化サイズ等の
情報を画像記録部123に同時に記録させるため、ピー
ク位置検出回路140は、圧縮情報用RoM141に制
御信号を送る。この圧縮情報用ROMI/11は、画像
記録部123へ選択された出力信号に対応するブロック
化サイズ等の情報を出力する。
In addition, in order to simultaneously record information such as the block size required for image I and restoration in the image recording unit 123, the peak position detection circuit 140 sends a control signal to the compressed information RoM 141. This compressed information ROMI/11 outputs information such as the blocking size corresponding to the selected output signal to the image recording unit 123.

第33図(a)、(b)、(c)は、それぞれ、−殻内
視鏡画像のRGB各成分のヒストグラムを示し、第34
図(a)、(b)、(c)は、それぞれ、染色内視鏡画
像のRGB各成分のヒストグラムを示している。第33
図に示されるように、−膜内視鏡画像では、R成分は高
輝度レベルに偏り、日成分は低輝度部分に偏る。そのた
め、RGB3信号ヒストグラムのピーク位置を求め、そ
の大小関係を調べると、R>G>Bとなる。一方、メチ
レンブルー等の青色系の染色を行った場合、第34図に
示すように、ヒス1〜グラムのピーク位置は、BとRが
略等しくなり、Gが低いレベルになる。ずなわら、大小
関係は、8≧R>Gとなる。
33(a), (b), and (c) respectively show histograms of RGB components of the -shell endoscopic image;
Figures (a), (b), and (c) each show a histogram of each RGB component of a stained endoscopic image. 33rd
As shown in the figure, in the -film endoscopic image, the R component is biased toward high brightness levels, and the day component is biased toward low brightness areas. Therefore, when the peak position of the RGB three signal histogram is found and the magnitude relationship is examined, R>G>B. On the other hand, when staining with a blue color such as methylene blue is performed, as shown in FIG. 34, the peak positions of His 1 to Gram are approximately equal for B and R, and G is at a low level. However, the magnitude relationship is 8≧R>G.

このように、RGBのヒストグラムのピーク位置から、
−膜内視鏡画像か染色内視鏡画像かの区別が容易にでき
る。
In this way, from the peak position of the RGB histogram,
- Easily distinguish between membrane endoscopic images and stained endoscopic images.

一般内視鏡画像では、R成分は高周波成分が少なく、B
成分は輝度レベルが低い。このため、Rと8に関しては
解像力を低下させても、視覚的に画質劣化が検出されに
くい。従って、R成分は2×2、B成分は3×3サイズ
のブロック化により高圧縮を行うことができる。これに
対し、G成分では高周波成分が多く、輝反レベルも高い
。すなわら、視覚的に画質劣化が検出され易いため、1
×2サイズのブロック化により高画質で圧縮することが
できる。また、染色内視鏡画像では、RGB3成分とも
高周波成分が多い。従って、3成分とb1×2サイズの
ブロック化により高画質で圧縮する。
In general endoscopic images, the R component has few high frequency components, and the B
The component has a low brightness level. Therefore, even if the resolution is lowered for R and 8, it is difficult to visually detect image quality deterioration. Therefore, high compression can be achieved by forming blocks of 2×2 size for the R component and 3×3 size for the B component. On the other hand, the G component has many high frequency components and has a high brightness reflection level. In other words, since image quality deterioration is easily detected visually,
It is possible to compress images with high image quality by forming blocks of ×2 size. Furthermore, in a stained endoscopic image, there are many high frequency components in all three RGB components. Therefore, compression is performed with high image quality by using three components and b1×2 size blocks.

このように、本実施例では、入力画像の特性に応じて、
3種類のブロック化処理の選択を行う。
In this way, in this embodiment, depending on the characteristics of the input image,
Select three types of blocking processing.

そして、その後、予測符号化処理を行い、−層の圧縮を
行っている。このため、通常内視鏡画像のように隣接画
素間の相関が高く、高周波成分の少ない画像に対しては
大サイズのブロック化を選択し、高圧縮を行うことがで
きる。一方、染色時等の特殊画像に関しては、隣接画素
間の相関が低く、高周波成分が多い。このため、小サイ
ズのブロック化を選択し、画質の低下を生じさせずに圧
縮を行うことができる。
After that, predictive encoding processing is performed to perform negative layer compression. For this reason, large-sized blocks can be selected for images with high correlation between adjacent pixels and few high-frequency components, such as normal endoscopic images, and high compression can be performed. On the other hand, regarding special images such as those obtained during staining, the correlation between adjacent pixels is low and there are many high frequency components. Therefore, it is possible to select small-sized blocks and perform compression without deteriorating image quality.

以上のことから、種々の内視鏡画像の特性に適した圧縮
を行うため、画質劣化の少ない画像データの圧縮が可能
になる。また、3種類の圧縮処理を並列に行うため、処
理時間は常に一定となる。
From the above, since compression is performed that is suitable for the characteristics of various endoscopic images, it is possible to compress image data with little deterioration in image quality. Furthermore, since three types of compression processing are performed in parallel, the processing time is always constant.

第35図ないし第37図は本発明の第9実施例に係り、
第35図は画像圧縮記録部の構成を示(ブロック図、第
36図は遠景時の内視鏡画像とその周波数分布を示す説
明図、第37図は近景時の内視鏡画像とその周波数分布
を示す説明図である。
35 to 37 relate to the ninth embodiment of the present invention,
Figure 35 shows the configuration of the image compression recording section (block diagram), Figure 36 is an explanatory diagram showing an endoscopic image in a distant view and its frequency distribution, and Figure 37 shows an endoscopic image in a close view and its frequency distribution. It is an explanatory diagram showing distribution.

本実施例は、画像圧縮記録部108の構成が異なる他は
第8実施例と同様である。
This embodiment is the same as the eighth embodiment except that the configuration of the image compression recording section 108 is different.

第35図を用いて、画像圧縮記録部108の構成を説明
する。RGB各入各個力信号それぞれFFT回路159
R,159G、159Bを経由した後、周波数分布検出
回路160へ導かれるようになっている。この周波数分
布検出回路160の出力は、セレクタ153.セレクタ
157.圧縮情報用ROM161に入力されるようにな
っている。前記FFT回路159R,159G、159
B1周波数分布検出回路160.圧縮情報用ROM16
1によって画像判定部121が構成されている。また、
RGB各入各個力信号それぞれ作業用のRメモリ151
R,Gメモリ151G、Bメモリ151B、DCT回路
152R,152G。
The configuration of the image compression recording section 108 will be explained using FIG. 35. FFT circuit 159 for each RGB input signal
After passing through R, 159G, and 159B, it is led to a frequency distribution detection circuit 160. The output of this frequency distribution detection circuit 160 is transmitted to the selector 153. Selector 157. The data is input to the compressed information ROM 161. The FFT circuits 159R, 159G, 159
B1 frequency distribution detection circuit 160. Compressed information ROM16
1 constitutes an image determination section 121. Also,
R memory 151 for working with each RGB input signal
R, G memory 151G, B memory 151B, DCT circuits 152R, 152G.

152Bを経由した後、セレクタ153に導かれるよう
になっている。セレクタ153の出力は、フィルタ回路
(1)154.フィルタ回路(2)155、フィルタ回
路(3)156に入力されるようになっている。このフ
ィルタ回路15/1..155.156の出力は、セレ
クタ157に入力されるようになっている。前記メモリ
151R,151G、151B、DCT回路152R,
152G、152B、セレクタ153.フィルタ回路1
54.155,156.セレクタ157によって画像圧
縮部122が構成されている。前記セレクタ157と圧
縮情報用ROM161の各出力は、画像記録部123記
録されるようになっている。
After passing through 152B, it is guided to a selector 153. The output of the selector 153 is sent to the filter circuit (1) 154. The signal is input to filter circuit (2) 155 and filter circuit (3) 156. This filter circuit 15/1. .. The outputs of 155 and 156 are input to a selector 157. The memories 151R, 151G, 151B, the DCT circuit 152R,
152G, 152B, selector 153. Filter circuit 1
54.155,156. The image compression section 122 is configured by the selector 157. The outputs of the selector 157 and the compressed information ROM 161 are recorded in the image recording section 123.

3次に、画像圧縮記録部108の作用について説明する
。RGB各メセメモリ106R06G、106Bから読
み出された信号は、制御信号発生部112の制御のもと
に画像圧縮部108内の作業用のRメモリ151R,G
メモリ151G、Bメモリ151BとFFT回路159
R,159G。
Third, the operation of the image compression recording section 108 will be explained. The signals read from the RGB meme memories 106R06G and 106B are sent to the working R memories 151R and 151G in the image compression unit 108 under the control of the control signal generation unit 112.
Memory 151G, B memory 151B and FFT circuit 159
R, 159G.

159Bに記録される。FFT回路159R,159G
、159Bでは、RGB各信号に対してフーリエ変換が
行われ、そのパワースペクトルが鈴出される。その後、
周波数分布検出回路160にて、各信号の周波数の分布
範囲が求められ、この分布範囲に基づき、セレクタ15
3.セレクタ157、圧縮情報用ROM161へ制御信
号が出力される。
It is recorded in 159B. FFT circuit 159R, 159G
, 159B, Fourier transform is performed on each RGB signal, and its power spectrum is extracted. after that,
The frequency distribution detection circuit 160 determines the frequency distribution range of each signal, and based on this distribution range, the selector 15
3. A control signal is output to the selector 157 and the compressed information ROM 161.

一方、各メモリ151R,151G、151Bから読み
出された信号は、DCT回路152R。
On the other hand, the signals read from each memory 151R, 151G, and 151B are sent to the DCT circuit 152R.

152G、152Bへ導かれる。ここでは、例えばrl
EEE  Trans  第1G−23巻、第90〜9
3ページ」等に記載されている、8×8サイズの離散的
COS変換が行われ、セレクタ153に出力される。こ
のセレクタ153は、周波数分布検出回路160の制御
信号に基づきRGB信号を、フィルタ回路(1)154
.フィルタ回路(2)155.フィルタ回路(3)15
6のいずれか1つに導く。3つのフィルタ回路154゜
155.156は、例えば、左上を原点とした2X2.
3x3.4x4サイズの透過型フィルタである。フィル
タサイズが小さいほど、圧縮率が向上し、逆に画質は低
下づる。セレクタ157は、周波数分布検出回路160
の制御信号に基づき、選択されたフィルタ回路の出力を
画像記録部123へ出力する。一方、復元時に必要とな
るフィルタサイズ等の情報を同時に記録させるため、周
波数分布検出回路160は、圧縮情報用ROM161に
制御信号を送る。圧縮情報用ROM161は、画像記録
部123へ選択された出力信号に対応するフィルタサイ
ズ等の情報を出力する。
You will be guided to 152G and 152B. Here, for example, rl
EEE Trans Vol. 1G-23, No. 90-9
The 8×8 size discrete COS conversion described in "Page 3" is performed and output to the selector 153. This selector 153 selects the RGB signal from the filter circuit (1) 154 based on the control signal of the frequency distribution detection circuit 160.
.. Filter circuit (2) 155. Filter circuit (3) 15
Lead to one of 6. The three filter circuits 154°, 155, and 156 are arranged, for example, in a 2×2.
It is a transmission filter with a size of 3x3.4x4. The smaller the filter size, the better the compression rate, but the lower the image quality. The selector 157 is a frequency distribution detection circuit 160
Based on the control signal, the output of the selected filter circuit is output to the image recording section 123. On the other hand, the frequency distribution detection circuit 160 sends a control signal to the compressed information ROM 161 in order to simultaneously record information such as the filter size required at the time of restoration. The compressed information ROM 161 outputs information such as a filter size corresponding to the selected output signal to the image recording unit 123.

ここで、第36図及び第37図を用いて、内視鏡画像の
周波数分布を説明する。本例では、例えば、同一の被写
体を11察距離を変えて観察する場合を考える。第36
図(a)、(b)は、それぞれ、遠景時の内視鏡画像と
、その周波数分布を示づパワースペクトルを示し、第3
7図(a)。
Here, the frequency distribution of endoscopic images will be explained using FIGS. 36 and 37. In this example, consider a case where the same subject is observed at different observation distances. 36th
Figures (a) and (b) respectively show an endoscopic image in a distant view and a power spectrum showing its frequency distribution.
Figure 7(a).

(b)は、それぞれ、近景時の内視鏡画像と、その周波
数分布を示すパワースペクトルを示している。遠景時に
は、生体の粘膜構造等の高周波成分は、光学系の解像力
等によりリマスクされ検出されない。この場合の周波数
分布をパワースペクトルとして画像化すると、第36図
(b)に示すように、原点、づなわち低周波成分に集中
した像になる。一方、近景時には、生体の粘膜構造等の
高周波成分が検出される。この場合の周波数分布は、第
37図(b)に示すように、原点を中心とした広い範囲
に分布する。このように、パワースペクトルを求めるこ
とで、高周波成分の割合を判断できる。
(b) shows an endoscopic image in a close view and a power spectrum showing its frequency distribution, respectively. During a distant view, high frequency components such as the mucous membrane structure of the living body are remasked by the resolution of the optical system and are not detected. When the frequency distribution in this case is imaged as a power spectrum, the image is concentrated at the origin, that is, at low frequency components, as shown in FIG. 36(b). On the other hand, in close view, high frequency components such as the mucous membrane structure of the living body are detected. The frequency distribution in this case is distributed over a wide range centered on the origin, as shown in FIG. 37(b). By obtaining the power spectrum in this way, the proportion of high frequency components can be determined.

内視鏡画像では、同じ被写体を撮影する場合でも観察距
離により、映像信号の有する情報量が異なる。すなわち
、観察距離が近く高周波成分が多い場合、フィルタサイ
ズを4×4とすることで高画質で圧縮することができる
。逆に、観察距離が遠く高周波成分が少ない場合、フィ
ルタサイズを2×2とすることで高圧縮を行うことがで
きる。
In endoscopic images, even when photographing the same subject, the amount of information contained in the video signal differs depending on the observation distance. That is, when the observation distance is close and there are many high frequency components, compression with high image quality can be achieved by setting the filter size to 4×4. Conversely, when the observation distance is long and there are few high frequency components, high compression can be achieved by setting the filter size to 2×2.

また、同一の観察距離でも、上部消化管と下部消化管で
は情報量に大きな差が生じる。これは、胃等の上部消化
管では血管像はほとんど検出されないが、大腸等の下部
消化管では血管像が検出されるためである。血管像が検
出される下部消化管では^周波成分が多く、血管像が検
出されない上部消化管では高周波成分が少ない。これに
より、フィルタサイズを、例えば、上部消化管では2×
2、下部消化管では3×3とし、画質と圧縮率のバラン
スをとることが可能となる。
Furthermore, even at the same observation distance, there is a large difference in the amount of information between the upper and lower digestive tracts. This is because blood vessel images are hardly detected in the upper gastrointestinal tract such as the stomach, but blood vessel images are detected in the lower gastrointestinal tract such as the large intestine. In the lower gastrointestinal tract where blood vessel images are detected, there are many ^ frequency components, and in the upper gastrointestinal tract where blood vessel images are not detected, there are few high frequency components. This allows the filter size to be increased, for example, by 2× in the upper gastrointestinal tract
2. In the lower gastrointestinal tract, the image size is 3×3, making it possible to balance image quality and compression rate.

その他の構成9作用及び効果は第8実施例と同様である
The other operations and effects of the configuration 9 are the same as those of the eighth embodiment.

尚、本発明は、RGB信号を用いた面順次式電子内視鏡
に限らず、コンポジットビデオ信号をデコードする単板
式電子内視鏡にも適用することができる。また、内視鏡
は、先端部に撮像素子を有するタイプでも、光学ファイ
バによるイメージガイドを経由して、被観察物の外部に
像を導いてから撮像素子で受けるタイプのどちらでも良
い。
Note that the present invention is not limited to a frame-sequential electronic endoscope using RGB signals, but can also be applied to a single-panel electronic endoscope that decodes a composite video signal. Further, the endoscope may be of a type having an image pickup device at its tip, or of a type having an image guided to the outside of the object to be observed via an image guide using an optical fiber and then received by the image pickup device.

E発射の効果] 以上説明したように本発明によれば、内視鏡画像の特性
に応じて圧縮法を変えることができるので、種々の内視
鏡画像に対して、画質の劣化を少なくして高い圧縮が可
能になるという効果がある。
Effects of E-firing] As explained above, according to the present invention, the compression method can be changed depending on the characteristics of the endoscopic image, thereby reducing deterioration in image quality for various endoscopic images. This has the effect of enabling high compression.

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

第1図ないし第9図は本発明の第1実施例に係り、第1
図は画像記録装置の構成を示すブロック図、第2図は内
′lA!1画像フフイリングシステムの全体を示す説明
図、第3図は観察装置の構成を示すブロック図、第4図
は画像解析部の構成を示づブロック図、第5図は通常画
像と染色画像の差分信号のヒストグラム、第6図は画像
記録装置の記録動作を示すフローチャート、第7図は画
像記録装置の再生動作を示すフローチャート、第8図は
圧縮回路の圧縮動作を説明するための説明図、第9図は
記録システム部への記録方式を示す説明図、第10図は
本発明の第2実施例における画像解析部の構成を示すブ
ロック図、第11図ないし第14図は本発明の第3実施
例に係り、第11図は圧縮回路部の構成を示すブロック
図、第12図は予測誤差算出回路の構成を示すブロック
図、第13図は予測誤差の算出方法を説明するための説
明図、第14図は平滑イヒフィルタの説明図、第15図
ないし第18図は本発明の第4実施例に係り、第15図
は画像記録装置の構成を示すブロック図、第16図は圧
縮回路部の構成を示すブロック図、第17図は帯域制限
切換え回路の構成を示すブロック図、第18図は第17
図の各LPFの通過帯域を承り説明図、第19図ないし
第23図は本発明の第5実施例に係り、第19図は画像
解析部の構成を示すブロック図、第20図は圧縮率テー
ブルを示す説明図、第21図は記録動作を示すフローヂ
V−ト、第22図は記録システム部への記録方式を示ず
説明図、第23図はブロックサイズを示す説明図、第2
4図ないし第26図は本発明の第6実施例に係り、第2
4図は画像解析部の構成を示すブロック図、第25図は
(R−Y)(B−Y)平面を示づ説明図、第26図は記
録動作を示すフローヂャート、第27図ないし第30図
は本発明の第7実施例に係り、第27図は画像解析部の
構成を示すブロック図、第28図は(R−Y)(B−Y
)平面を示す説明図、第29図は分割画像を示す説明図
、第30図は記録動作を示すフローチキ・−ト、第31
図ないし第34図は本発明の第8実施例に係り、第31
図は内視鏡装置の構成を示づブロック図、第32図は画
像圧縮記録部の構成を示すブロック図、第33図は一般
内視鏡画像のヒストグラムを示′71説明図、第34図
は染色内視鏡画像のヒストグラムを示す説明図、第35
図ないし第37図は本発明の第9実施例に係り、第35
図は画像圧縮記録部の構成を示すブロック図、第36図
は遠景時の内視鏡画像とその周波数分布を示す説明図、
第37図は近景時の内視鏡画像とその周波数分布を示す
説明図、第38図は従来の両像圧縮装置を示リブロック
図である。 1・・・電子内?Ji鏡   5・・・画像記録装置3
4・・・圧縮回路部  35・・・記録システム部51
・・・画像解析部  52・・・圧縮率切換え回路第2
図 第3図 第6図 第7図 第4図 (a) (b) 255 差付値+6 −255 しhi亀 0 1/でい優+255 差付値 第8図 (0) (b) (C) 第11 図 第13図 第14図 第17図 8 第旧図 第21図 第22図 1画イ1千戸(報 第23図 第26図 第30図
FIGS. 1 to 9 relate to a first embodiment of the present invention.
The figure is a block diagram showing the configuration of the image recording device. An explanatory diagram showing the entire one-image filling system, Fig. 3 is a block diagram showing the configuration of the observation device, Fig. 4 is a block diagram showing the configuration of the image analysis section, and Fig. 5 shows the normal image and stained image. A histogram of the difference signal, FIG. 6 is a flowchart showing the recording operation of the image recording device, FIG. 7 is a flowchart showing the reproduction operation of the image recording device, FIG. 8 is an explanatory diagram for explaining the compression operation of the compression circuit, FIG. 9 is an explanatory diagram showing the recording method to the recording system section, FIG. 10 is a block diagram showing the configuration of the image analysis section in the second embodiment of the present invention, and FIGS. Regarding the third embodiment, FIG. 11 is a block diagram showing the configuration of the compression circuit section, FIG. 12 is a block diagram showing the configuration of the prediction error calculation circuit, and FIG. 13 is an explanation for explaining the prediction error calculation method. 14 is an explanatory diagram of a smoothing filter, FIGS. 15 to 18 relate to the fourth embodiment of the present invention, FIG. 15 is a block diagram showing the configuration of an image recording device, and FIG. 16 is a compression circuit. 17 is a block diagram showing the configuration of the band limit switching circuit, and FIG. 18 is a block diagram showing the configuration of the band limit switching circuit.
19 to 23 relate to the fifth embodiment of the present invention, FIG. 19 is a block diagram showing the configuration of the image analysis section, and FIG. 20 is a compression ratio. FIG. 21 is an explanatory diagram showing the table, FIG. 21 is a flowchart showing the recording operation, FIG. 22 is an explanatory diagram without showing the recording method to the recording system part, FIG. 23 is an explanatory diagram showing the block size,
4 to 26 relate to the sixth embodiment of the present invention, and the second embodiment
4 is a block diagram showing the configuration of the image analysis section, FIG. 25 is an explanatory diagram showing the (RY) (B-Y) plane, FIG. 26 is a flowchart showing the recording operation, and FIGS. 27 to 30 The figures relate to the seventh embodiment of the present invention, FIG. 27 is a block diagram showing the configuration of the image analysis section, and FIG. 28 is (R-Y) (B-Y
) An explanatory diagram showing a plane, Fig. 29 is an explanatory diagram showing a divided image, Fig. 30 is a flow diagram showing a recording operation, and Fig. 31 is an explanatory diagram showing a divided image.
The figures to 34 relate to the 8th embodiment of the present invention, and the 31st embodiment
Figure 32 is a block diagram showing the configuration of the endoscope device, Figure 32 is a block diagram showing the configuration of the image compression recording section, Figure 33 is a histogram of a general endoscopic image, and Figure 34 is an explanatory diagram. is an explanatory diagram showing a histogram of a stained endoscopic image, No. 35
Figures 37 to 37 relate to the ninth embodiment of the present invention;
The figure is a block diagram showing the configuration of the image compression recording unit, and FIG. 36 is an explanatory diagram showing an endoscopic image in a distant view and its frequency distribution.
FIG. 37 is an explanatory diagram showing an endoscopic image in a close view and its frequency distribution, and FIG. 38 is a block diagram showing a conventional double-image compression device. 1... Inside the electron? Ji mirror 5...image recording device 3
4... Compression circuit section 35... Recording system section 51
...Image analysis section 52...Compression rate switching circuit 2nd
Figure 3 Figure 6 Figure 7 Figure 4 (a) (b) 255 difference value +6 -255 Shihi turtle 0 1/deiyu +255 difference value Figure 8 (0) (b) (C ) Figure 11 Figure 13 Figure 14 Figure 17 Figure 8 Old figure Figure 21 Figure 22 1 1,000 households

Claims (1)

【特許請求の範囲】[Claims] 内視鏡によつて得た内視鏡画像の画像データを圧縮する
内視鏡画像データ圧縮装置において、内視鏡画像の特性
に応じて圧縮法を変えてデータ圧縮可能な圧縮手段を備
えたことを特徴とする内視鏡画像データ圧縮装置。
An endoscopic image data compression device for compressing image data of endoscopic images obtained by an endoscope, which is equipped with a compression means capable of compressing data by changing compression methods according to the characteristics of the endoscopic image. An endoscopic image data compression device characterized by:
JP1260843A 1989-10-05 1989-10-05 Endoscopic image data recording / reproducing device Expired - Fee Related JPH0763445B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1260843A JPH0763445B2 (en) 1989-10-05 1989-10-05 Endoscopic image data recording / reproducing device
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
JP1260843A JPH0763445B2 (en) 1989-10-05 1989-10-05 Endoscopic image data recording / reproducing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP19551192A Division JP2806513B2 (en) 1992-07-22 1992-07-22 Image data compression recording device

Publications (2)

Publication Number Publication Date
JPH03121036A true JPH03121036A (en) 1991-05-23
JPH0763445B2 JPH0763445B2 (en) 1995-07-12

Family

ID=17353530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1260843A Expired - Fee Related JPH0763445B2 (en) 1989-10-05 1989-10-05 Endoscopic image data recording / reproducing device

Country Status (1)

Country Link
JP (1) JPH0763445B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06325141A (en) * 1993-05-12 1994-11-25 Olympus Optical Co Ltd Medical image filing device
EP0619678A3 (en) * 1993-04-05 1995-07-26 Canon Kk Image processing apparatus.
WO2005125216A1 (en) * 2004-06-22 2005-12-29 Sony Corporation Image compression device, image compression method, and image compression program
JP2006288753A (en) * 2005-04-11 2006-10-26 Olympus Medical Systems Corp Electronic endoscope device, electronic endoscope and electronic endoscope processor
KR100835240B1 (en) 2006-12-08 2008-06-09 한명규 The agricultural chemicals substitute for golf course
WO2013069691A1 (en) * 2011-11-11 2013-05-16 オリンパスメディカルシステムズ株式会社 Color signal transfer apparatus, wireless image transfer system, and transmitting apparatus
US8900644B2 (en) 2004-12-22 2014-12-02 Colgate-Palmolive Company Oral care compositions containing compounds from magnolia and hops extracts
JP2019111040A (en) * 2017-12-22 2019-07-11 サイバネットシステム株式会社 Image analysis device and image analysis method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6192073A (en) * 1984-10-12 1986-05-10 Hitachi Ltd Picture data compression system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6192073A (en) * 1984-10-12 1986-05-10 Hitachi Ltd Picture data compression system

Cited By (12)

* 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.
JPH06325141A (en) * 1993-05-12 1994-11-25 Olympus Optical Co Ltd Medical image filing device
WO2005125216A1 (en) * 2004-06-22 2005-12-29 Sony Corporation Image compression device, image compression method, and image compression program
US7881543B2 (en) 2004-06-22 2011-02-01 Sony Corporation Image compression processing device, image compression processing method, and image compression processing program
US8900644B2 (en) 2004-12-22 2014-12-02 Colgate-Palmolive Company Oral care compositions containing compounds from magnolia and hops extracts
JP2006288753A (en) * 2005-04-11 2006-10-26 Olympus Medical Systems Corp Electronic endoscope device, electronic endoscope and electronic endoscope processor
JP4709573B2 (en) * 2005-04-11 2011-06-22 オリンパスメディカルシステムズ株式会社 Electronic endoscope device
KR100835240B1 (en) 2006-12-08 2008-06-09 한명규 The agricultural chemicals substitute for golf course
WO2013069691A1 (en) * 2011-11-11 2013-05-16 オリンパスメディカルシステムズ株式会社 Color signal transfer apparatus, wireless image transfer system, and transmitting apparatus
JP5362156B1 (en) * 2011-11-11 2013-12-11 オリンパスメディカルシステムズ株式会社 Color signal transmission device, wireless video transmission system, and transmission device
US8957952B2 (en) 2011-11-11 2015-02-17 Olympus Medical Systems Corp. Color signal transmission device, wireless image transmission system, and transmitter
JP2019111040A (en) * 2017-12-22 2019-07-11 サイバネットシステム株式会社 Image analysis device and image analysis method

Also Published As

Publication number Publication date
JPH0763445B2 (en) 1995-07-12

Similar Documents

Publication Publication Date Title
US6879339B2 (en) Electronic endoscope system with color-balance alteration process
US5209220A (en) Endoscope image data compressing apparatus
US5379757A (en) Method of compressing endoscope image data based on image characteristics
US7050086B2 (en) Electronic endoscope system with color-balance alteration process
JP3217343B2 (en) Image processing device
JPH0595900A (en) Endoscope image processing device
JPH04104685A (en) Video signal processing system of endoscope
JP2006061620A (en) Video signal processor for endoscope
JPH0524775B2 (en)
JPH03121036A (en) Endoscope image data compressing device
JP2837888B2 (en) Endoscope image recording / reproducing device
JP2806513B2 (en) Image data compression recording device
JPH07360A (en) Image pickup system
JP3315188B2 (en) Endoscope device
JPH03121037A (en) Endoscope image data compressing device
US5278639A (en) Color filter wheel for endoscopes and processing of generated color
JPH0789672B2 (en) Endoscope device
JP2694027B2 (en) Endoscope image data compression device
JPS62266030A (en) Endoscope apparatus
JP2974249B2 (en) Endoscope image data compression device
JPS63318927A (en) Electronic endoscopic apparatus
JP2660041B2 (en) Endoscope signal processing circuit
JPH01181840A (en) Video endoscope device
JP2524394B2 (en) Image freezing device
JPH06339457A (en) Endoscopic image data compressing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080712

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090712

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees