JP2828112B2 - Endoscope image data compression device - Google Patents

Endoscope image data compression device

Info

Publication number
JP2828112B2
JP2828112B2 JP1258052A JP25805289A JP2828112B2 JP 2828112 B2 JP2828112 B2 JP 2828112B2 JP 1258052 A JP1258052 A JP 1258052A JP 25805289 A JP25805289 A JP 25805289A JP 2828112 B2 JP2828112 B2 JP 2828112B2
Authority
JP
Japan
Prior art keywords
image data
prediction error
error signal
difference
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1258052A
Other languages
Japanese (ja)
Other versions
JPH03118026A (en
Inventor
慶一 檜山
正秀 菅野
建夫 鶴岡
優 此村
一成 中村
眞一郎 服部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP1258052A priority Critical patent/JP2828112B2/en
Priority to US07/558,551 priority patent/US5331551A/en
Publication of JPH03118026A publication Critical patent/JPH03118026A/en
Application granted granted Critical
Publication of JP2828112B2 publication Critical patent/JP2828112B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)
  • Closed-Circuit Television Systems (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、内視鏡装置からの映像データを圧縮して画
像記録する内視鏡画像データ圧縮装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an endoscope image data compression device that compresses video data from an endoscope device and records the image.

[従来の技術と発明が解決しようとする課題] 近年、体腔内に細長の挿入部を挿入することにより、
体腔内臓器等を観察したり、必要に応じて処置具チャン
ネル内に挿通した処置具を用いて各種治療処置のできる
内視鏡(スコープまたはファイバスコープとも呼ぶ。)
が広く用いられている。
[Problems to be solved by conventional technology and invention] In recent years, by inserting an elongated insertion portion into a body cavity,
An endoscope (also referred to as a scope or a fiber scope) capable of observing organs in a body cavity or performing various treatments using a treatment tool inserted into a treatment tool channel as necessary.
Is widely used.

また、電荷結合素子(CCDと記す。)等の固体撮像素
子を撮像手段に用いた電子スコープも種々使用されてい
る。この電子スコープはファイバスコープに比べ解像度
が高く、画像の記録および再生等が容易であり、また、
画像の拡大や2画面の比較等の画像処理が容易にできる
等の利点を有する。
In addition, various electronic scopes using a solid-state imaging device such as a charge-coupled device (CCD) as an imaging unit have been used. This electronic scope has a higher resolution than a fiber scope, and it is easy to record and play back images.
There are advantages such as easy image processing such as enlargement of an image and comparison of two screens.

上記電子スコープによって映像化された内視鏡像は画
像記録装置に記録されるが、特に最近、画像記録装置に
記録された画像を圧縮して記録できる画像の数を多くし
たいという要望が強くなっている。
The endoscope image visualized by the electronic scope is recorded in an image recording device. In particular, recently, there has been a strong demand to increase the number of images that can be recorded by compressing images recorded in the image recording device. I have.

本発明は、上記事情に鑑みてなされたものであり、画
像の質を落とすことなくデータ量を減らし、記録できる
画像の数を多くすることのできる内視鏡画像データ圧縮
装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an endoscope image data compression apparatus capable of reducing the amount of data without deteriorating image quality and increasing the number of images that can be recorded. Aim.

[課題を解決するための手段] 本願の請求項1に記載の発明は、内視鏡に設けられた
撮像手段によって被写体を撮像して得られた複数の色成
分を含む内視鏡画像データが入力される画像データ入力
端を有し、該画像データ入力端から入力された画像デー
タを圧縮して記録手段に記録可能な内視鏡画像データ圧
縮装置において、 前記複数の色成分の内の第1の色成分に対応する第1
の内視鏡画像データが入力され、該第1の内視鏡画像デ
ータによって生成される第1の内視鏡画像内の異なる位
置の画像データの相関関係に基づき、前記第1の色成分
における第1の予測誤差信号を生成する第1の予測符号
化手段と、前記複数の色成分の内の第2の色成分に対応
する第2の内視鏡画像データが入力され、該第2の内視
鏡画像データによって生成される第2の内視鏡画像内の
異なる位置の画像データの相関関係に基づき、前記第2
の色成分における第2の予測誤差信号を生成する第2の
予測符号化手段と、前記第1の色成分における第1の予
測誤差信号および前記第2の色成分における第2の予測
誤差信号が入力され、該第1の予測誤差信号および第2
の予測誤差信号間の相違に基づく差分予測誤差信号を生
成する差分演算手段と、前記第1の予測符号化手段で生
成された第1の予測誤差信号と前記差分演算手段で生成
された差分予測誤差信号とを圧縮画像データとして保存
する画像データ記録手段とを具備したことを特徴とする
ものであり、 そして、本願の請求項2に記載の発明は、内視鏡に設
けられた撮像手段によって被写体を撮像して得られた複
数の色成分を含む内視鏡画像データが入力される画像デ
ータ入力端を有し、該画像データ入力端から入力された
画像データを圧縮して記録手段に記録可能な内視鏡画像
データ圧縮装置において、 前記複数の色成分の内の第1の色成分に対応する第1
の内視鏡画像データおよび第2の色成分に対応する第2
の内視鏡画像データが入力され、該第1の内視鏡画像デ
ータおよび第2の内視鏡画像データ間に相違に基づく差
分予測誤差信号を生成する差分演算手段と、前記第1の
色成分に対応する第1の内視鏡画像データが入力され、
該第1の内視鏡画像データによって生成される第1の内
視鏡画像内の異なる位置の画像データの相関関係に基づ
き、前記第1の色成分における第1の予測誤差信号を生
成する第1の予測符号化手段と、前記差分演算手段で生
成された差分予測誤差信号が入力され、該差分予測誤差
信号の生成の対象となる画像内の異なる位置の画像デー
タの相関関係に基づき、前記差分予測誤差信号における
第2の予測誤差信号を生成する第2の予測符号化手段
と、前記第1の予測符号化手段で生成された第1の予測
誤差信号と前記第2の予測符号化手段で生成された第2
の予測誤差信号と圧縮画像データとして保存する画像デ
ータ記録手段とを具備したことを特徴とするものであ
る。
[Means for Solving the Problems] According to the invention described in claim 1 of the present application, endoscope image data including a plurality of color components obtained by imaging an object by an imaging unit provided in the endoscope is provided. An endoscope image data compression device having an input image data input end and capable of compressing image data input from the image data input end and recording the compressed image data in recording means, The first corresponding to one color component
Is input, and based on the correlation between the image data at different positions in the first endoscope image generated by the first endoscope image data, the first color component First predictive encoding means for generating a first predictive error signal, and second endoscope image data corresponding to a second color component of the plurality of color components are input; Based on the correlation between the image data at different positions in the second endoscope image generated by the endoscope image data, the second
A second prediction encoding unit that generates a second prediction error signal for the color component of the second color component; and a first prediction error signal for the first color component and a second prediction error signal for the second color component. The first prediction error signal and the second
Calculation means for generating a difference prediction error signal based on the difference between the prediction error signals, and a first prediction error signal generated by the first prediction encoding means and a difference prediction generated by the difference calculation means. And an image data recording means for storing the error signal as compressed image data. The invention according to claim 2 of the present application is characterized in that An image data input end to which endoscopic image data including a plurality of color components obtained by imaging the subject is input, and the image data input from the image data input end is compressed and recorded in the recording means. A possible endoscope image data compression apparatus, comprising: a first color component corresponding to a first color component of the plurality of color components;
Endoscope image data and a second color component corresponding to the second color component.
And a difference calculating means for generating a difference prediction error signal based on a difference between the first endoscope image data and the second endoscope image data; First endoscopic image data corresponding to the component is input;
Generating a first prediction error signal for the first color component based on a correlation between image data at different positions in the first endoscopic image generated by the first endoscopic image data; 1 prediction encoding means, and a difference prediction error signal generated by the difference calculation means are input, and based on a correlation between image data at different positions in an image for which the difference prediction error signal is to be generated, A second prediction encoding unit for generating a second prediction error signal in the differential prediction error signal; a first prediction error signal generated by the first prediction encoding unit; and the second prediction encoding unit The second generated by
And an image data recording means for storing the data as compressed image data.

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

第1図ないし第3図は本発明の第1実施例に係り、第
1図は内視鏡画像データ圧縮装置の構成を示すブロック
図、第2図は内視鏡画像ファイル装置の全体の構成を示
す説明図、第3図は内視鏡装置の内部構成を説明するブ
ロック図である。
1 to 3 relate to a first embodiment of the present invention. FIG. 1 is a block diagram showing a configuration of an endoscope image data compression device, and FIG. 2 is a configuration of an entire endoscope image file device. FIG. 3 is a block diagram illustrating an internal configuration of the endoscope apparatus.

第2図において、内視鏡画像ファイル装置1は内視鏡
装置2と内視鏡画像データ圧縮装置3とから構成されて
いる。
2, the endoscope image file device 1 includes an endoscope device 2 and an endoscope image data compression device 3.

前記内視鏡装置2は可撓性で細長に形成され、観察部
位6に挿入される挿入部7と、この挿入部7の後端部に
連設された操作部8と、この操作部8の側部より延出し
たユニバーサルケーブル9とを有する電子スコープ10を
有している。
The endoscope device 2 is formed to be flexible and slender, and has an insertion portion 7 inserted into the observation site 6, an operation portion 8 connected to the rear end of the insertion portion 7, and an operation portion 8. The electronic scope 10 has a universal cable 9 extending from the side of the electronic scope 10.

前記ユニバーサルケーブル9の後端部にはコネクタ11
が設けられており、このコネクタ11は電子スコープ10に
照明光を供給する光源装置12に接続されている。このコ
ネクタ11の側部から信号ケーブル13が延出しており、こ
の信号ケーブル13の後端部に設けられたコネクタ14は画
像入力装置16に接続されている。この画像入力装置16は
電子スコープ10によって得られた画像信号を信号処理し
て例えばRGB3原色信号等のビデオ信号を生成してケーブ
ル17を経てTVモニタ18で内視鏡画像が観察できるように
なっている。
A connector 11 is provided at the rear end of the universal cable 9.
The connector 11 is connected to a light source device 12 that supplies illumination light to the electronic scope 10. A signal cable 13 extends from a side of the connector 11, and a connector 14 provided at a rear end of the signal cable 13 is connected to an image input device 16. The image input device 16 performs signal processing on an image signal obtained by the electronic scope 10 to generate a video signal such as, for example, an RGB primary color signal, so that an endoscope image can be observed on a TV monitor 18 via a cable 17. ing.

前記画像入力装置16で生成されたビデオ信号はケーブ
ル19を経て前記画像データ圧縮装置3にも送出されるよ
うになっている。
The video signal generated by the image input device 16 is also transmitted to the image data compression device 3 via a cable 19.

第3図において、前記内視鏡装置2を説明する。 In FIG. 3, the endoscope device 2 will be described.

前記電子スコープ10の挿入部7の先端部には光源装置
12より供給された照明光を観察部位6に出射するファイ
ババンドルによって形成されたライトガイド22の出射端
面が設けられている。このライトガイド22は挿入部7と
操作部8とユニバーサルケーブル9内とを経てコネクタ
11を光源装置12に接続すると同時に照明光を供給させる
ようになっている。
A light source device is provided at the tip of the insertion portion 7 of the electronic scope 10.
An emission end face of a light guide 22 formed by a fiber bundle for emitting the illumination light supplied from 12 to the observation site 6 is provided. The light guide 22 is connected to the connector via the insertion section 7, the operation section 8, and the inside of the universal cable 9.
Illumination light is supplied at the same time that 11 is connected to the light source device 12.

前記挿入部7の先端部には更に、対物レンズ23が設け
られており、この対物レンズ23の結像位置には固体撮像
素子としてのCCD24の撮像面が位置するようになってい
る。このCCD24には撮像面に結像した被写体像を光電変
換した結果得られる電気信号と、このCCD24を駆動する
駆動クロックが伝送される信号線26(1本で示してあ
る)が接続されている。この信号線26は挿入部7と操作
部8とユニバーサルケーブル9とを経てコネクタ11に至
り、更に、コネクタ11から信号ケーブル13を経てコネク
タ14に延長されている。
An objective lens 23 is further provided at the tip of the insertion section 7, and an imaging surface of a CCD 24 as a solid-state imaging device is located at an image forming position of the objective lens 23. The CCD 24 is connected to an electric signal obtained as a result of photoelectrically converting a subject image formed on an imaging surface and a signal line 26 (shown as a single line) through which a drive clock for driving the CCD 24 is transmitted. . The signal line 26 reaches the connector 11 via the insertion section 7, the operation section 8, and the universal cable 9, and further extends from the connector 11 to the connector 14 via the signal cable 13.

前記光源装置12には光源ランプ31が設けられており、
この光源ランプ31と前記ライトガイド22の入射端面とを
結ぶ光路上には光源ランプ31側より光源ランプ31の照明
光を平行光とするコリメータレンズ32と回転フィルタ33
と照明光を集光してライトガイド22の入射端面に照射す
る集光レンズ34とが設けられている。
The light source device 12 is provided with a light source lamp 31,
On the optical path connecting the light source lamp 31 and the incident end face of the light guide 22, a collimator lens 32 and a rotary filter 33 that make the illumination light of the light source lamp 31 parallel from the light source lamp 31 side.
And a condenser lens 34 for condensing the illumination light and irradiating the incident end face of the light guide 22 with the light.

前記回転フィルタ33は円盤状で周方向に例えば赤
(R)、緑(G)、青(B)の各色光を透過する色透過
フィルタ34R,34G,34Bが設けられており、この各色透過
フィルタ34R,34G,34Bを前記コリメータレンズ32によっ
て平行光とされた照明光が入射するようになっている。
この回転フィルタ33はモータ35によって回転駆動され
て、赤、緑、青の各色光を時系列的にライトガイド22に
供給するようになっている。
The rotary filter 33 has a disk shape and is provided with color transmission filters 34R, 34G, and 34B that transmit, for example, red (R), green (G), and blue (B) light in the circumferential direction. Illumination light made parallel by 34R, 34G, and 34B by the collimator lens 32 enters.
The rotary filter 33 is driven to rotate by a motor 35, and supplies red, green, and blue light to the light guide 22 in time series.

前記コネクタ14を画像入力装置16に接続することによ
り信号線26は画像入力装置16内に設けられた画像プロセ
ス部36に接続されるようになっている。この画像プロセ
ス部36は駆動クロックを印加してCCD24を駆動し、該CCD
24から送出される電気信号をRGBビデオ信号に変換して
出力するようになっている。また、画像信号レベルR,B
信号のバランス等の制御を行なうようになっている。更
に、後述する制御部37から送られて来る患者データ、エ
ラーメッセージ等をRGBビデオ信号に重畳するようにな
っている。画像プロセス部36の出力は画像メモリ38に送
出されるようになっている。この画像メモリ38は入力さ
れるRGBビデオ信号を制御部37からの制御信号に応じて
そのまま通過させるか、一時保存して静止画として繰返
し出力するようになっている。画像メモリ38の出力は分
岐されて一方はTVモニタ18に出力され、画面上に観察部
位6の画像を表示するようになっている。又、他方は前
記画像データ圧縮装置3に送出される。
By connecting the connector 14 to the image input device 16, the signal line 26 is connected to an image processing unit 36 provided in the image input device 16. The image processing unit 36 drives the CCD 24 by applying a driving clock, and
The electrical signal sent from the 24 is converted to an RGB video signal and output. Also, the image signal levels R, B
Control such as signal balance is performed. Further, patient data, an error message, and the like sent from the control unit 37 described later are superimposed on the RGB video signal. The output of the image processing unit 36 is sent to the image memory 38. The image memory 38 allows the input RGB video signal to pass as it is in accordance with the control signal from the control unit 37 or temporarily stores the RGB video signal and repeatedly outputs it as a still image. The output of the image memory 38 is branched, and one is output to the TV monitor 18 to display an image of the observation site 6 on the screen. The other is sent to the image data compression device 3.

前記制御部37は例えばキーボード等のデータ入力部39
及び通信インターフェイス30とに接続されている。デー
タ入力部39からは使用者の操作によってRGBビデオ信号
に重畳する患者名、患者生年月日等の患者データや画像
記録(レリーズ)等の制御信号が入力され、患者データ
は上記したように画像プロセス部36に送出されてRGBビ
デオ信号に重畳される。又、制御信号は上記したように
画像メモリ38と通信インターフェイス30とに送出され
る。この通信インターフェイス30は例えばRS−232C規格
によるシリアル伝送のインターフェイス部で制御部37か
らの制御により外部とデータ及び制御信号の入出力を行
なう。通信インターフェイス30は画像データ圧縮装置3
との間でデータ及び制御信号の入出力を行なうようにな
っている。
The control unit 37 includes a data input unit 39 such as a keyboard.
And the communication interface 30. From the data input unit 39, a patient name to be superimposed on the RGB video signal, a patient data such as a patient's date of birth, and a control signal such as image recording (release) are input by a user operation. The signal is sent to the processing unit 36 and superimposed on the RGB video signal. The control signal is sent to the image memory 38 and the communication interface 30 as described above. The communication interface 30 is, for example, an interface unit for serial transmission according to the RS-232C standard, and inputs and outputs data and control signals to and from the outside under the control of the control unit 37. The communication interface 30 is an image data compression device 3
The input and output of data and control signals are performed between them.

前記RGB信号とデータ及び制御信号は前記ケーブル19
によって画像データ圧縮装置3に送出される。
The RGB signals, data and control signals are
Is transmitted to the image data compression device 3.

第1図において、前記画像データ圧縮装置3を説明す
る。
Referring to FIG. 1, the image data compression device 3 will be described.

上記画像メモリ38は画像データ圧縮装置3の各A/D変
換器40、41、42に接続されており、G信号はA/D変換器4
0に、R信号はA/D変換器41に、B信号はA/D変換器42に
各々入力されるようになっている。RGBビデオ信号は各A
/D変換器40、41、42でデジタル変換される。各A/D変換
器40、41、42は各々画像メモリ43、44、45に接続されて
おり、各画像メモリ43、44、45は第1圧縮手段の予測符
号化器46、47、48に各々接続されている。予測符号化器
46の出力端はデータ記録装置51と第2圧縮手段としての
差分演算器49、50の一方の入力端と各々接続されてい
る。また、予測符号化器47の出力端は差分演算器49の他
方の入力端に接続されており、予測符号化器48の出力端
は差分演算器50の他の入力端に接続されている。
The image memory 38 is connected to each of the A / D converters 40, 41 and 42 of the image data compression device 3, and the G signal is supplied to the A / D converter 4
At 0, the R signal is input to the A / D converter 41, and the B signal is input to the A / D converter 42. RGB video signal is A
Digital conversion is performed by the / D converters 40, 41, and 42. Each A / D converter 40, 41, 42 is connected to an image memory 43, 44, 45, respectively, and each image memory 43, 44, 45 is connected to a predictive encoder 46, 47, 48 of the first compression means. Each is connected. Predictive encoder
The output terminal of 46 is connected to the data recording device 51 and one input terminal of difference calculators 49 and 50 as second compression means, respectively. The output terminal of the prediction encoder 47 is connected to the other input terminal of the difference calculator 49, and the output terminal of the prediction encoder 48 is connected to the other input terminal of the difference calculator 50.

上記差分演算器49、50の出力端は前記データ記録装置
51に接続されている。
The output terminals of the difference calculators 49 and 50 are connected to the data recording device.
Connected to 51.

また、記録制御部52は前記通信インターフェイス30を
介して制御部37と接続されており、制御部37からの送ら
れてくる制御信号に基づいて各A/D変換器40、41、42、
各画像メモリ43、44、45、各予測符号化器46、47、48、
各差分演算器49、50、データ記録装置51を制御するよう
になっている。
Further, the recording control unit 52 is connected to the control unit 37 via the communication interface 30, and each of the A / D converters 40, 41, 42,
Each image memory 43, 44, 45, each predictive encoder 46, 47, 48,
The difference calculators 49 and 50 and the data recording device 51 are controlled.

上記のように構成された内視鏡画像データ圧縮装置3
の作用を説明する。
Endoscope image data compression device 3 configured as described above
The operation of will be described.

内視鏡装置2では使用者は画像の記録に先だってデー
タ入力部39よりID入力モードを選択し、患者名、患者の
生年月日等の患者データを入力する。ID入力モードが選
択されると制御部37は患者データをRGBビデオ信号に重
畳すると共に、通信インターフェイス30を介して画像デ
ータ圧縮装置3の記録制御部52に通信可能であるかを確
認する信号が出力され、記録制御部52はこれに対して通
信可能である信号を通信インターフェイス30に送信す
る。通信可能であることを表す信号は通信インターフェ
イス30から制御部37に送られて制御部37は例えばTVモニ
タ18の画像に表示させる。使用者はこれを見てデータ入
力部39よりレリーズ信号を入力する。制御部37はレリー
ズ信号を受けて画像メモリ38に対して画像を静止させる
ために新たな画像データの画像メモリ38への書込みを禁
止して同一の画像データを繰り返し出力させる。更に、
制御部37は通信インターフェイス30からレリーズ信号を
記録制御部52に送信する。記録制御部52は送られてきた
レリーズ信号を検知するとA/D変換器40、と画像メモリ4
3に制御信号を送り画像メモリ43にG画像を1フレーム
分保持させる、同様にA/D変換器41と画像メモリ44へ制
御信号を送り画像メモリ44にR信号を1フレーム分保持
させ、A/D変換器42と画像メモリ45への制御信号を送り
画像メモリ45に1フレーム分保持させる。
In the endoscope apparatus 2, the user selects an ID input mode from the data input unit 39 before recording an image, and inputs patient data such as a patient name and a patient's date of birth. When the ID input mode is selected, the control unit 37 superimposes the patient data on the RGB video signal and sends a signal for confirming whether communication is possible to the recording control unit 52 of the image data compression device 3 via the communication interface 30. The recording control unit 52 outputs the signal, which is communicable therewith, to the communication interface 30. A signal indicating that communication is possible is transmitted from the communication interface 30 to the control unit 37, and the control unit 37 displays the image on the TV monitor 18, for example. The user sees this and inputs a release signal from the data input unit 39. Upon receiving the release signal, the control unit 37 prohibits the writing of new image data to the image memory 38 and causes the same image data to be repeatedly output in order to freeze the image in the image memory 38. Furthermore,
The control unit 37 transmits a release signal from the communication interface 30 to the recording control unit 52. When the recording control unit 52 detects the transmitted release signal, the A / D converter 40 and the image memory 4
3 and a control signal is sent to the A / D converter 41 and the image memory 44 to cause the image memory 43 to hold the R signal for one frame. A control signal is sent to the / D converter 42 and the image memory 45, and the image memory 45 holds one frame.

画像が各画像メモリ43、44、45に保持されると記録制
御部52は各予測符号化器46、47、48に演算開始信号を送
ると共に、保持されたG画像データを画像メモリ43から
予測符号化器46へ送出するように制御信号を画像メモリ
43へ送る。同時に保持されたR画像データを画像メモリ
44から予測符号化器47へ送出するように制御信号を画像
メモリ44へ送ると共に、保持されたB画像データを画像
メモリ45から予測符号化器48へ送出するように制御信号
を画像メモリ45へ送る。
When an image is held in each of the image memories 43, 44, and 45, the recording control unit 52 sends an operation start signal to each of the prediction encoders 46, 47, and 48 and predicts the held G image data from the image memory 43. The control signal is sent to the image memory so as to be sent to the encoder 46.
Send to 43. Simultaneously held R image data is stored in an image memory
A control signal is sent to the image memory 44 so as to be sent from the 44 to the predictive encoder 47, and a control signal is sent to the image memory 45 so that the held B image data is sent from the image memory 45 to the predictive encoder 48. send.

上記予測符号化器46では表1に示されるようにG画像
の現画素のオリジナル画像データOgから前画素のオリジ
ナル画像データが減算されて予測誤差Pgが求められる。
例えば現画素のオリジナル画像データから前画素の
オリジナル画像データOgが減算され、予測誤差Pg=−3
が求められ得る。順次現画素から前画素のオリジナル画
像データOgが減算されて1フレーム分の予測誤差Pgが求
められ、データ記録装置51と差分演算器49、50に出力さ
れる。以下、同様に予測符号化器47ではR画像のオリジ
ナル画像データOrから予測誤差Prが求められ、予測符号
化器48ではB画像のオリジナル画像データObから予測誤
差Pbが各々求められ、予測誤差Prは 差分演算器49に、予測誤差Pbは差分演算器50に出力され
る。
As shown in Table 1, the prediction encoder 46 subtracts the original image data of the previous pixel from the original image data Og of the current pixel of the G image to obtain a prediction error Pg.
For example, the original image data Og of the previous pixel is subtracted from the original image data of the current pixel, and the prediction error Pg = −3.
May be required. The original image data Og of the previous pixel is sequentially subtracted from the current pixel to obtain a prediction error Pg for one frame, and is output to the data recording device 51 and the difference calculators 49 and 50. Hereinafter, similarly, the prediction encoder 47 obtains a prediction error Pr from the original image data Or of the R image, the prediction encoder 48 obtains a prediction error Pb from the original image data Ob of the B image, and calculates the prediction error Pr. Is The prediction error Pb is output to the difference calculator 49 and to the difference calculator 50.

なお、表1において各は各画像の画素を
示す。
In Table 1, each represents a pixel of each image.

差分演算器49ではG画像の予測誤差PgからR画像の予
測誤差Prを減算して差分予測誤差Pg−rを求める。例え
ば画素ではG画像の予測誤差12からR画像の予測誤差
13が減算されて差分予測誤差−1が求められる。順次演
算が行われて1フレーム分の差分予測誤差Pg−rがデー
タ記録装置51に出力される。
The difference calculator 49 subtracts the prediction error Pr of the R image from the prediction error Pg of the G image to obtain a difference prediction error Pg-r. For example, for a pixel, the prediction error 12 of the G image
13 is subtracted to obtain a difference prediction error -1. The calculation is sequentially performed, and the difference prediction error Pg-r for one frame is output to the data recording device 51.

また、差分演算器50においても同様にG画像の予測誤
差PgからB画像の予測誤差Pbが減算されて1フレーム分
の差分予測誤差Pg−bが順次求められてデータ記録装置
51に出力される。
Similarly, in the difference calculator 50, the prediction error Pb of the B image is subtracted from the prediction error Pg of the G image, and the difference prediction error Pg-b for one frame is sequentially obtained.
Output to 51.

データ記録装置51はこれら入力された予測誤差Pgと差
分予測誤差Pg−r、Pg−bを記録する。データ記録装置
51への記録が終了すると記録制御部52と通信インターフ
ェイス30を介して記録終了の信号を制御部37に送出し、
制御部37は例えばTVモニタ18の画面上に記録終了を表示
する。
The data recording device 51 records the input prediction error Pg and difference prediction errors Pg-r and Pg-b. Data recording device
When the recording to 51 is completed, a recording end signal is sent to the control unit 37 via the recording control unit 52 and the communication interface 30, and
The control unit 37 displays the end of recording on the screen of the TV monitor 18, for example.

なお、データ記録装置51に記録されたデータを再生す
る場合には上記の動作を逆の順序で行うことによって画
像を再生することができる。
When data recorded in the data recording device 51 is reproduced, an image can be reproduced by performing the above operations in reverse order.

本実施例ではRGBの各画像に対して予測誤差を求め、
更にG画像の予測誤差を基準にして差分予測誤差を求め
るようにしたためR画像およびB画像のデータ量を減少
させることができる。
In this embodiment, a prediction error is obtained for each of the RGB images,
Further, since the difference prediction error is obtained based on the prediction error of the G image, the data amount of the R image and the B image can be reduced.

また、R画像およびB画像のデータ量を減少させるこ
とができるためにデータ記録装置51に記録できる画像の
量を増加させることができる。
Further, since the data amounts of the R image and the B image can be reduced, the amount of images that can be recorded on the data recording device 51 can be increased.

第4図は本発明の第2実施例に係り、画像データ圧縮
装置の構成を説明するブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an image data compression device according to a second embodiment of the present invention.

本実施例では第1実施例が予測符号化した後に差分を
求めるのに対して差分を求めてから予測符号化するよう
にしたものである。
In the present embodiment, the difference is obtained after predictive encoding in the first embodiment, whereas the difference is obtained before predictive encoding.

本実施例の画像データ圧縮装置3のG画像の画像メモ
リ43の出力端は予測符号化器46と差分演算器49、50の一
方の入力端とに接続されている。また、R画像の画像メ
モリ44の出力端は差分演算器49の他方の入力端に接続さ
れ、B画像の画像メモリ45の出力端は差分演算器50の他
方の入力端に接続されている。
The output terminal of the G image image memory 43 of the image data compression device 3 of this embodiment is connected to the predictive encoder 46 and one of the input terminals of the difference calculators 49 and 50. The output terminal of the R image image memory 44 is connected to the other input terminal of the difference calculator 49, and the output terminal of the B image image memory 45 is connected to the other input terminal of the difference calculator 50.

差分演算器49の出力端は予測符号化器47の入力端に、
差分演算器50の出力端は予測符号化器48の入力端に各々
接続されている。
The output terminal of the difference calculator 49 is connected to the input terminal of the prediction encoder 47.
The output terminals of the difference calculator 50 are connected to the input terminals of the predictive encoder 48, respectively.

予測符号化器46、47、48の出力端は各々データ記録装
置51に接続されている。
The output terminals of the predictive encoders 46, 47, 48 are connected to the data recording device 51, respectively.

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

次に、本実施例の作用を説明する。 Next, the operation of the present embodiment will be described.

画像が各画像メモリ43、44、45に保持されると記録制
御部52は保持されたG画像データを画像メモリ43から予
測符号化器46と差分演算器49、50へ送出するように制御
信号を画像メモリ43へ送る。同様に保持されたR画像デ
ータを画像メモリ44から差分演算器49に送出するように
制御信号を画像メモリ44へ送ると共に、保持されたB画
像データを画像メモリ45から差分演算器50へ送出するよ
うに制御信号を画像メモリ45へ送る。
When an image is held in each of the image memories 43, 44, and 45, the recording control unit 52 sends a control signal to send the held G image data from the image memory 43 to the predictive encoder 46 and the difference calculators 49 and 50. To the image memory 43. Similarly, a control signal is sent to the image memory 44 so that the held R image data is sent from the image memory 44 to the difference calculator 49, and the held B image data is sent from the image memory 45 to the difference calculator 50. Control signal to the image memory 45 as described above.

予測符号化器46に入力されたG画像データは表2に示
されるようにG画像の現画素のオリジナル画像データOg
から前画素のオリジナル画像データOgが減算されて予測
誤差Pgが求められる。例えば現画素のオリジナル画像
データ9から前画素のオリジナル画像データ12が減算
され、予測誤差Pg=−3が求められ得る。順次現画素か
ら前画素のオリジナル画像データOgが減算され、1フレ
ーム分の予測誤差Pgが求められ、データ記録装置51に出
力される。
As shown in Table 2, the G image data input to the predictive encoder 46 is the original image data Og of the current pixel of the G image.
Is subtracted from the original image data Og of the previous pixel to obtain a prediction error Pg. For example, the original image data 12 of the previous pixel is subtracted from the original image data 9 of the current pixel, and a prediction error Pg = −3 can be obtained. The original image data Og of the previous pixel is sequentially subtracted from the current pixel, a prediction error Pg for one frame is obtained, and output to the data recording device 51.

なお、表2において各は各画像の画素を
示す。
In Table 2, each represents a pixel of each image.

差分演算器49ではG画像データOgからR画像データOr
が減算されて差分データMg−rが求められる。例えば画
素ではG画像データ12からR画像データ13が減算され
て差分データ−1が求められる。求められた差分データ
Mg−rは順次予測符号化器47に出力される。
The difference calculator 49 converts the G image data Og to the R image data Or
Is subtracted to obtain difference data Mg-r. For example, in the pixel, the R image data 13 is subtracted from the G image data 12 to obtain difference data -1. Calculated difference data
Mg-r is sequentially output to the predictive encoder 47.

また、差分演算器50においても同様にG画像データOg
からB画像データObが減算されて差分データMg−bが求
められ順次予測符号化器48に出力される。
Similarly, in the difference calculator 50, the G image data Og
Is subtracted from the B image data Ob to obtain difference data Mg-b, which is sequentially output to the predictive encoder 48.

予測符号化器47では現画素の差分データMg−rから前
画素の差分データMg−rが減算されて差分予測誤差Pg−
rが求められる。例えば現画素の差分データ−1から
前画素の差分データ−1が減算され差分予測誤差Oが
求められる。順次1フレーム分の差分予測誤差Pg−rが
データ記録装置51に出力される。
The prediction encoder 47 subtracts the difference data Mg-r of the previous pixel from the difference data Mg-r of the current pixel to obtain a difference prediction error Pg-
r is required. For example, the difference data -1 of the previous pixel is subtracted from the difference data -1 of the current pixel to obtain a difference prediction error O. The difference prediction errors Pg-r for one frame are sequentially output to the data recording device 51.

また、予測符号化器48で同様に現画素の差分データMg
−bから前画素の差分データMg−bが減算されて差分予
測誤差Pg−bが求められる。求められた差分予測誤差Pg
−bは順次1フレーム分求められてデータ記録装置51に
出力される。
Similarly, the prediction encoder 48 similarly calculates the difference data Mg of the current pixel.
The difference prediction error Pg-b is obtained by subtracting the difference data Mg-b of the previous pixel from -b. The calculated difference prediction error Pg
−b is sequentially obtained for one frame and output to the data recording device 51.

データ記録装置51はこれら入力された予測誤差Pgと差
分予測誤差Pg−r、Pg−bを記録する。
The data recording device 51 records the input prediction error Pg and difference prediction errors Pg-r and Pg-b.

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

本実施例では第1実施例と同様の効果を有する。 This embodiment has the same effects as the first embodiment.

なお、上記の各実施例ではG画像を基準に差分を求め
たが基準とする画像はR画像でもB画像でも良い。
In each of the embodiments described above, the difference is obtained based on the G image, but the reference image may be an R image or a B image.

また、デジタル的に画像間の差分を求めたがアナログ
的に差分を求めても良い。
Further, the difference between images is obtained digitally, but the difference may be obtained analogously.

上記の各実施例では画像内の予測符号化と各色間の相
関とを組み合わせたので個別の画像データより、よりい
っそうデータ量を減らすことができる。
In each of the above embodiments, the prediction encoding in the image and the correlation between the colors are combined, so that the data amount can be further reduced as compared with the individual image data.

[発明の効果] 以上説明したように本発明によれば画像内の予測符号
化と各色間の相関とを組み合わせたために画像の質を落
とすことなくデータ量を減少させ、記録できる画像の数
を多くすることができる。
[Effects of the Invention] As described above, according to the present invention, since the predictive encoding in an image and the correlation between each color are combined, the data amount is reduced without deteriorating the image quality, and the number of images that can be recorded is reduced. You can do much.

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

第1図ないし第3図は本発明の第1実施例に係り、第1
図は画像ファイル装置の構成を示すブロック図、第2図
は内視鏡画像データ圧縮装置の全体の構成を示す説明
図、第3図は内視鏡装置の内部構成を説明するブロック
図、第4図は本発明の第2実施例に係り、画像データ圧
縮装置の構成を説明するブロック図である。 3……内視鏡画像データ圧縮装置 40、41、42……A/D変換器 43、44、45……画像メモリ 46、47、48……予測符号化器 49、50……差分演算器
1 to 3 relate to a first embodiment of the present invention.
FIG. 2 is a block diagram showing the configuration of the image file device, FIG. 2 is an explanatory diagram showing the entire configuration of the endoscope image data compression device, FIG. 3 is a block diagram illustrating the internal configuration of the endoscope device, FIG. FIG. 4 is a block diagram illustrating a configuration of an image data compression device according to a second embodiment of the present invention. 3. Endoscope image data compression device 40, 41, 42 A / D converter 43, 44, 45 Image memory 46, 47, 48 Predictive encoder 49, 50 Difference calculator

フロントページの続き (72)発明者 此村 優 東京都渋谷区幡ケ谷2丁目43番2号 オ リンパス光学工業株式会社内 (72)発明者 中村 一成 東京都渋谷区幡ケ谷2丁目43番2号 オ リンパス光学工業株式会社内 (72)発明者 服部 眞一郎 東京都渋谷区幡ケ谷2丁目43番2号 オ リンパス光学工業株式会社内 (56)参考文献 特開 昭61−123280(JP,A) 特開 昭63−290091(JP,A) (58)調査した分野(Int.Cl.6,DB名) A61B 1/04 G02B 23/24 H04N 7/18Continuing on the front page (72) Inventor: Yu Konomura 2-43-2 Hatagaya, Shibuya-ku, Tokyo O Within Rinpas Optical Industry Co., Ltd. (72) Inventor Kazunari Nakamura 2-43-2, Hatagaya, Shibuya-ku, Tokyo e (72) Inventor Shinichiro Hattori 2-43-2 Hatagaya, Shibuya-ku, Tokyo O-limpus Optical Industry Co., Ltd. (56) References JP-A-61-123280 (JP, A) JP-A Sho 63-290091 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) A61B 1/04 G02B 23/24 H04N 7/18

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】内視鏡に設けられた撮像手段によって被写
体を撮像して得られた複数の色成分を含む内視鏡画像デ
ータが入力される画像データ入力端を有し、該画像デー
タ入力端から入力された画像データを圧縮して記録手段
に記録可能な内視鏡画像データ圧縮装置において、 前記複数の色成分の内の第1の色成分に対応する第1の
内視鏡画像データが入力され、該第1の内視鏡画像デー
タによって生成される第1の内視鏡画像内の異なる位置
の画像データの相関関係に基づき、前記第1の色成分に
おける第1の予測誤差信号を生成する第1の予測符合化
手段と、 前記複数の色成分の内の第2の色成分に対応する第2の
内視鏡画像データが入力され、該第2の内視鏡画像デー
タによって生成される第2の内視鏡画像内の異なる位置
の画像データの相関関係に基づき、前記第2の色成分に
おける第2の予測誤差信号を生成する第2の予測符合化
手段と、 前記第1の色成分における第1の予測誤差信号および前
記第2の色成分における第2の予測誤差信号が入力さ
れ、該第1の予測誤差信号および第2の予測誤差信号間
の相違に基づく差分予測誤差信号を生成する差分演算手
段と、 前記第1の予測符合化手段で生成された第1の予測誤差
信号と前記差分演算手段で生成された差分予測誤差信号
とを圧縮画像データとして保存する画像データ記録手段
と、 を具備したことを特徴とする内視鏡画像データ圧縮装
置。
An image data input terminal to which endoscope image data including a plurality of color components obtained by imaging a subject by an imaging means provided in an endoscope is inputted. An endoscope image data compression device capable of compressing image data input from an end and recording the compressed image data in a recording unit, comprising: first endoscopic image data corresponding to a first color component of the plurality of color components And a first prediction error signal in the first color component based on a correlation between image data at different positions in the first endoscope image generated by the first endoscope image data First predictive encoding means for generating a second endoscope image data corresponding to a second color component of the plurality of color components, and Image data at different positions in the generated second endoscope image A second prediction encoding unit that generates a second prediction error signal for the second color component based on the correlation of: a first prediction error signal for the first color component and the second color A second prediction error signal for the component, a difference calculation means for generating a difference prediction error signal based on a difference between the first prediction error signal and the second prediction error signal; and the first prediction encoding Image data recording means for storing, as compressed image data, the first prediction error signal generated by the means and the difference prediction error signal generated by the difference calculating means. Data compression device.
【請求項2】内視鏡に設けられた撮像手段によって被写
体を撮像して得られた複数の色成分を含む内視鏡画像デ
ータが入力される画像データ入力端を有し、該画像デー
タ入力端から入力された画像データを圧縮して記録手段
に記録可能な内視鏡画像データ圧縮装置において、 前記複数の色成分の内の第1の色成分に対応する第1の
内視鏡画像データおよび第2の色成分に対応する第2の
内視鏡画像データが入力され、該第1の内視鏡画像デー
タおよび第2の内視鏡画像データ間の相違に基づく差分
予測誤差信号を生成する差分演算手段と、 前記第1の色成分に対応する第1の内視鏡画像データが
入力され、該第1の内視鏡画像データによって生成され
る第1の内視鏡画像内の異なる位置の画像データの相関
関係に基づき、前記第1の色成分における第1の予測誤
差信号を生成する第1の予測符号化手段と、 前記差分演算手段で生成された差分予測誤差信号が入力
され、該差分予測誤差信号の生成の対象となる画像内の
異なる位置の画像データの相関関係に基づき、前記差分
予測誤差信号における第2の予測誤差信号を生成する第
2の予測符号化手段と、 前記第1の予測符号化手段で生成された第1の予測誤差
信号と前記第2の予測符号化手段で生成された第2の予
測誤差信号とを圧縮画像データとして保存する画像デー
タ記録手段と、 を具備したことを特徴とする内視鏡画像データ圧縮装
置。
2. An image data input terminal for inputting endoscope image data including a plurality of color components obtained by imaging an object by an image pickup means provided in the endoscope. An endoscope image data compression device capable of compressing image data input from an end and recording the compressed image data in a recording unit, comprising: first endoscopic image data corresponding to a first color component of the plurality of color components And second endoscope image data corresponding to the second color component are input, and a difference prediction error signal based on a difference between the first endoscope image data and the second endoscope image data is generated. The first endoscope image data corresponding to the first color component is input, and the first endoscope image data generated by the first endoscope image data is different from the first endoscope image data. The first color component based on the correlation of the image data at the position; First prediction encoding means for generating a first prediction error signal, and a difference prediction error signal generated by the difference calculation means, which are different from each other in an image for which the difference prediction error signal is generated. A second prediction encoding unit that generates a second prediction error signal in the difference prediction error signal based on the correlation between the image data at the position; and a first prediction generated by the first prediction encoding unit. An image data recording unit for storing an error signal and a second prediction error signal generated by the second prediction encoding unit as compressed image data; .
JP1258052A 1989-10-02 1989-10-02 Endoscope image data compression device Expired - Fee Related JP2828112B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1258052A JP2828112B2 (en) 1989-10-02 1989-10-02 Endoscope image data compression device
US07/558,551 US5331551A (en) 1989-10-02 1990-07-27 Endoscope image recording system for compressing and recording endoscope image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1258052A JP2828112B2 (en) 1989-10-02 1989-10-02 Endoscope image data compression device

Publications (2)

Publication Number Publication Date
JPH03118026A JPH03118026A (en) 1991-05-20
JP2828112B2 true JP2828112B2 (en) 1998-11-25

Family

ID=17314874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1258052A Expired - Fee Related JP2828112B2 (en) 1989-10-02 1989-10-02 Endoscope image data compression device

Country Status (1)

Country Link
JP (1) JP2828112B2 (en)

Also Published As

Publication number Publication date
JPH03118026A (en) 1991-05-20

Similar Documents

Publication Publication Date Title
JP3884226B2 (en) Imaging system
US5335662A (en) Image pickup system comprising signal processing device which uses exclusive adaptor in probes different in image pickup system from each other
JP3094431B2 (en) Endoscope video signal processing method
JPH0595900A (en) Endoscope image processing device
JPH04176435A (en) Endoscope apparatus
JPH0318684B2 (en)
CN105705075A (en) Image processing device and operation method therefor
JP3353949B2 (en) Imaging system
JP2828112B2 (en) Endoscope image data compression device
JPH05228109A (en) Narrow place insertion type observing device
JP3050562B2 (en) Endoscope image data compression device
JP4531347B2 (en) Electronic endoscope device
JP3179166B2 (en) Electronic endoscope device
JP2802085B2 (en) Image file system
JP2863535B2 (en) Image file system
JP2656951B2 (en) Electronic endoscope device
JP2716935B2 (en) Endoscope device
JP2837896B2 (en) External TV camera for endoscope
JP3214046B2 (en) Electronic endoscope device
JP2837884B2 (en) Electronic endoscope device
JP3038838B2 (en) Endoscope video signal processing method
JP2959722B2 (en) Image file system and image file method
JPH0815479B2 (en) Video signal processing circuit for endoscope
JP2004033451A (en) Electronic endoscope apparatus
JP4272853B2 (en) Processor for electronic endoscope

Legal Events

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

Free format text: PAYMENT UNTIL: 20080918

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees