JP3842944B2 - Electric endoscope generator for electronic endoscope - Google Patents

Electric endoscope generator for electronic endoscope Download PDF

Info

Publication number
JP3842944B2
JP3842944B2 JP2000029840A JP2000029840A JP3842944B2 JP 3842944 B2 JP3842944 B2 JP 3842944B2 JP 2000029840 A JP2000029840 A JP 2000029840A JP 2000029840 A JP2000029840 A JP 2000029840A JP 3842944 B2 JP3842944 B2 JP 3842944B2
Authority
JP
Japan
Prior art keywords
mask
signal
image
scaling
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000029840A
Other languages
Japanese (ja)
Other versions
JP2001224017A (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.)
Fujinon Corp
Original Assignee
Fujinon 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 Fujinon Corp filed Critical Fujinon Corp
Priority to JP2000029840A priority Critical patent/JP3842944B2/en
Priority to US09/775,616 priority patent/US6670983B2/en
Publication of JP2001224017A publication Critical patent/JP2001224017A/en
Application granted granted Critical
Publication of JP3842944B2 publication Critical patent/JP3842944B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は電子内視鏡の電気マスク生成装置、特に電子内視鏡の画像変倍機能に合わせてマスクの大きさも変える変倍マスク生成処理に関する。
【0002】
【従来の技術】
電子内視鏡装置は、スコープ(電子内視鏡)先端に配置された撮像素子、例えばCCD(Charge Coupled Device)にて被観察体を撮像し、このCCDで得られたビデオ信号(画像信号)に対し所定の画像処理を施しており、これによってモニタに被観察体画像が表示される。このモニタ画面においては、画面の周囲に電気マスクが付与され、この電気マスクで設定された例えば円形開口部に上記の被観察体画像が表示される。
【0003】
図6には、電子内視鏡装置の電気マスク生成部の回路が示されており、このマスク生成部では、マスク生成メモリ1に所定マスク形状のマスク信号が書き込まれ、このマスク信号をマスクミックス回路2にてビデオ信号に混合するようになっている。例えば、このマスクミックス回路2に入力されるビデオ信号は、上記CCDの出力から形成されたR(赤),G(緑),B(青)の信号とされ、これらのRGB信号に対しマスク信号が混合・付与される。
【0004】
図7には、上記の電気マスク信号の混合処理が示されており、図7(A)はマスクをかける前の上記マスクミックス回路2に入力される原画像であり、これは被観察体画像Fが鏡胴枠3と共に画面4上に映し出されたものとなる。この画像では、鏡胴枠3の小さな凹凸部分が映し出されると共に、周囲のケラレ分が生じる。一方、図7(B)に示されるように、周囲を遮蔽し円形開口部を持つマスク(画像)M1 が上記マスク生成メモリ1のマスク信号に基づいて形成され、上記マスクミックス回路2で図7の(A)と(B)の信号が混合されることにより、図7(C)のように、鏡胴枠3及びケラレ分が隠れた見やすい画面4が形成されるようになっている。
【0005】
【発明が解決しようとする課題】
しかしながら、従来の電気マスク処理では、画像を拡大したときにマスクによって必要な画像が表示されなくなる場合があるという問題があった。即ち、近年の電子内視鏡では、被観察体を光学的に拡大して撮像する光学ズーム機能、撮像後に電子的に拡大する電子ズーム機能が設けられており、例えば図8の画面4に示されるように、図8(A)の通常表示画像において注目部位Qがあるとき、図8(B)の拡大表示画像では注目部位Qの一部がマスクM1 に隠れてしまうことが生じていた。
【0006】
また、上記マスク生成処理では、マスク生成に時間がかかるという問題がある。即ち、上述した図6のマスク生成メモリ1では、例えば図7(B)のマスクM1 を点線で示すように、4分割した1/4データM1aを記憶し、このマスクデータM1aをその読出し方向を変えながら順次4回読み出すことにより1枚のマスク画像を形成することができる。そして、従来では、図7(B)のマスクの一部を拡大した図7(D)に示されるように、マスク画像M1 の1画素(ピクセル)Pが1バイト(byte)のデータで表される。
【0007】
ここで、上記マスク生成メモリ1に1/4データM1aを書き込む時間を計算すると、例えばNTSC方式で768の水平画素、525本の垂直ラインとし、マイコンのクロック周波数を10MHz、1クロック=1インストラクション処理できるマイコンを使用した場合、図6のメモリ書込み動作のフローチャートに従って必要なクロック数(ステップS0 〜S8 まで)を掛けていくこととすると、書込みに必要な時間Tは、
T=(1/107 )×(768/2)×(525/2)×8+(1/107
≒0.08064[sec]
となり、1画面を生成する時間は上記時間Tの4倍となるため、
0.08064×4=0.32256[sec]
となる。そして、このNTSC方式表示の場合、1フレームに1/30秒かかるため、マスク生成時に必要なフレーム構成数は、
0.32256/(1/30)=9.6768[枚]
となる。
【0008】
上記のデータM1aの書込み時間Tは、画像形成の初期処理(電源投入時)において必要となる時間ではあるが、1画面を構成するのに、約9.7枚のフレーム数が必要ともなれば迅速な画像表示ができず、マスクデータの書込みを含めた初期処理の時間短縮が望まれている。特に、本願では、拡大・縮小した画像に応じてマスクも拡大・縮小(変倍)することを提案しており、この場合には、画像変倍処理と共に新たなマスク処理が行われることから、変倍操作時のマスクの切換えがスムーズに行われないという問題が生じる。
【0009】
本発明は上記問題点に鑑みてなされたものであり、その目的は、拡大した画像の一部がマスクに隠れないようにすると共に、マスクの生成処理にかかる時間を短縮してマスクが付与された被観察体画像の表示を迅速に行うことができる電子内視鏡の電気マスク生成装置を提供することにある。
【0010】
【課題を解決するための手段】
上記目的を達成するために、請求項1の発明に係る電子内視鏡の電気マスク生成装置は、画面の所定部分を覆うための電気マスク信号を記憶するマスク生成用メモリを備え、このマスク信号を固体撮像素子で得られた画像信号に混合する電子内視鏡の電気マスク生成装置において、画像変倍機能を備えた電子内視鏡装置の画像変倍に応じてマスク変倍処理を行い、1画素を1ビット情報で表したビット列の変倍マスク信号を変倍マスク画像の1/4につき形成し、このビット列1/4マスク信号を上記マスク生成用メモリに格納し、このマスク生成用メモリからビット列1/4マスク信号をパラレルに読み出すと共に、この1/4マスク信号の読出し方向を変えながら変倍マスク画像の全体を読み出す変倍マスク生成回路と、上記マスク生成用メモリから読み出したパラレルマスク信号をシリアルマスク信号へ変換するシフトレジスタを有し、シリアル変換した1画素1ビット構成のマスク信号に基づき、変倍マスクを付与した変倍画像信号を形成するマスク混合回路と、を設けたことを特徴とする。
請求項2の発明は、1画素を1ビット情報で表した変倍マスクのビット列を生成するためのプログラム及びデータを記憶する読出し専用メモリと、上記変倍マスクのビット列データを展開させるための読書き自在メモリと、を設けたことを特徴とする。
【0011】
上記の構成によれば、変倍スイッチにより拡大・縮小操作が行われると、マスク自体も拡大処理される。即ち、マイコン等によって画像拡大率に応じたマスク生成データを読み出し、これにに基づいて1画素が1ビットの情報で表されたマスク信号(画像信号)が生成され、このマスク信号がマスク生成用メモリに一旦書き込まれる。その後、この1画素1ビット構成のマスク信号は固体撮像素子を用いて形成された原画像信号にシフトレジスタ等を用いて混合・出力されることにより、モニタ等に新たな拡大画像が拡大マスク(開口部が拡大するマスク)と共に表示される。
【0012】
上記のマスク生成メモリへの書込み速度は、1画素1バイト構成の従来に比較すると1/8に短縮されており、短時間にマスクが形成されるので、倍率変更時に切り換えられるマスクの表示がスムーズになる。
【0013】
【発明の実施の形態】
図1には、実施形態例に係る電子内視鏡の電気マスク生成装置の構成が示され、図2にはマスクミックス回路内の構成が示されている。この装置は、例えば電子内視鏡のプロセッサ装置に組み込まれており、このプロセッサ装置の全体を統括制御するマイコン11がマスク生成回路としても機能する。このマイコン11には、1画素(ピクセル)を1ビットで表した電気マスクのビット列生成データ(プログラム等)を記憶したROM(読出し専用メモリ)12、このマスクビット列データを展開させるためのRAM(読み書き自在メモリ)13が接続され、また拡大方向(N)、縮小方向(F)に操作する変倍スイッチSW1の制御信号が入力される。
【0014】
即ち、上記マイコン11は、変倍スイッチSW1で設定された倍率に対応するマスク生成データをROM12から読み出し、マスク画像の画素に対応したビット列をRAM13に展開する。なお、上記の変倍スイッチSW1は、可動レンズ等を用いて光学的に像を拡大する光学ズーム機能のスイッチ、CCDで撮像した像を信号処理により拡大する電子ズーム機能のスイッチ或いはそれら両方のスイッチとなる。
【0015】
そして、上記のマイコン11には、マスク生成メモリ15が接続されており、このマスク生成用メモリ15には上記RAM13で展開したデータに基づき、1画素1ビット構成のマスク信号が書き込まれる。図3(A)には、一つのマスク画像M2 が示されているが、例えばマスク画像M2 を4分割した左上のデータM2aが上記マスク生成用メモリ15に生成される。そして、このマスク生成用メモリ15をマイコン11により読出し制御することによって、図3(A)の1枚のマスク画像M2 が出力される。
【0016】
例えば、1/4マスクデータM2aを左上側から走査線に合わせて順次読み出しながら、水平ライン毎に同一のデータM2aを右上側から逆方向に読み出すことにより、図3(A)の右上の1/4データM2bを含むマスク画像M2 の上半分を形成し、次にマスク画像M2 の下半分については、データM2aを左下側から読み出して左下の1/4データM2cを形成するが、このとき水平ライン毎に同一のデータM2aを右下側から逆方向に読み出して右下の1/4データM2dを得ることにより形成される。
【0017】
また、上記マスク生成用メモリ15の出力信号と被観察体画像の原画素信号を混合するマスクミックス回路16が設けられており、この画素信号は電子内視鏡先端部に配置されたCCDから得られるもので、例えばR(赤),G(緑),B(青)の各色毎の信号となる。
【0018】
図2には、上記マスクミックス回路16の内部構成が示されており、このマスクミックス回路16はクロック信号を入力するカウンタ18、マスク信号のビットデータD0 〜D7 をラッチするラッチ回路19、このラッチ回路19から出力されたパラレル信号Q0 〜Q7 をシフトクロックに基づいてシリアル信号に変換するシフトレジスタ20、RGBの信号毎にマスク信号を混合する信号混合部21R,21G,21Bを備えている。この信号混合部21R,21G,21Bでは、8個の論理回路22を有しており、これによって画素毎にマスク信号が混合される。
【0019】
実施形態例は以上の構成からなり、次にその作用を説明する。まず、電源投入時では、図4(A)に示されるような標準の大きさのマスクM2 を形成することになる。即ち、図1のマイコン11は、1画素1ビット構成のマスクビット列生成データをROM12から読み出し、上記RAM13に標準マスク画像を形成するためのビット列を展開して、このビット列を順次、マスク生成用メモリ15に書き込む。この結果、例えば図3(A)の1/4マスクデータM2aが形成される。このマスクデータM2aは、マスク画像M2 の一部を拡大した図3(B)に示されるように、1画素が1ビットで表されたものであり、例えば遮蔽部の黒画素を”1”、画素データ無しのスルーを”0”に設定する。
【0020】
そして、上記マスク生成用メモリ15内のマスクデータM2aは、上述した読み出し方法により4回読み出されることになるが、このマスクデータは、図2に示されるように、8ビット毎にデータD0 〜D7 としてマスクミック回路16へパラレルに供給される。このマスクミックス回路16では、ラッチ回路19、シフトレジスタ20を介して上記パラレルビットデータがシリアルビットデータへ変換され、このマスク信号のビットデータが信号混合部21R,21G,21Bへ供給される。
【0021】
例えば、上記信号混合部21Rでは、論理回路22により赤画素信号R0 〜R7 と上記マスク信号のビットデータの反転信号との論理積が演算される。即ち、図3(B)に示した黒を示すマスクビットデータ”1”は、反転して”0”となるので、赤色信号R0 〜R7 が1又は0の何れであっても”0”となり、スルーを示すデータ””は、反転して”1”となるので、赤色信号R0 〜R7 が1であるとき、”1”となる。これは、緑画素信号G0 〜G7 、青画素信号B0 〜B7 についても同様であり、RGBの全てが”0”となったときに、黒の画素が形成され、それ以外では各色信号がスルーで出力される。このようにして、マスク信号が付与された画像信号が形成され、図5(A)に示されるように、モニタ画面4には周囲が標準マスクM2 で覆われた被観察体画像が表示される。
【0022】
一方、図1の変倍スイッチSW1により拡大操作が行われた場合は、マイコン11によりその拡大率に応じた、例えば図4(D)のマスクM3 の1画素1ビット構成のビット列生成データがROM12から読み出され、ビット列の1/4マスクデータM3aがマスク生成用メモリ15に書き込まれる。そして、このマスク生成用メモリ15の読出し制御により、図4の(B)→(C)→(D)に示されるように、上記拡大マスクM3 が生成されることになり、直前に形成されていたマスクM2 を上側から書き換えて行く形でマスクM3 が画面4に表示される。
この結果、図5(B)に示されるように、拡大マスクM3 内に拡大画像を表示することができ、注目部位Qの一部がマスクM3 に隠れることもない。
【0023】
また、上記の実施形態例において、上記マスク生成用メモリ15内に書き込まれるマスクデータM2a,M3aは、1画素1ビットで構成されるので、1画素1バイトで構成する従来よりも、8分の1のデータ量となる。即ち、1画素1バイトの場合、上記1/4マスクデータM2aは、(768/2)×(525/2)=100800バイトとなるが、1画素1ビットとした場合は、この8分の1の{(768/2)×(525/2)}/8=12600バイトとなる。
【0024】
従って、メモリ15への書込みフレーム数は9.6768/8=1.2096で、約1.2枚となり、短時間に電気マスクを生成することが可能となり、拡大、縮小の倍率変更時に切り換えられるマスクの表示もスムーズになるという利点がある。なお、このマスク切換え処理の時間、即ち上述した図4の(A)から(D)の間のマスク形成の時間をブラックアウト処理することもでき、この場合は、マスクの生成過程[図4(B),(C)]が画像4上に表示されないことになる。また、メモリ書込みのためのアドレスは、マスク生成メモリ15内で自動的に生成できるものを使用すれば不要となる。
【0025】
【発明の効果】
以上説明したように、本発明によれば、画像の拡大、縮小の変倍処理に対応して1画素情報を1ビットで表したビット列1/4変倍マスク信号を形成し、このビット列1/4マスク信号をマスク生成用メモリに書き込み、この1/4マスク信号から変倍マスク画像の全体を形成すると共に、上記マスク生成用メモリから読み出したパラレルマスク信号をシリアルマスク信号へ変換しながら変倍マスクを付与するので、拡大した画像の一部が電気マスクに隠れないようにすると共に、マスクの切換え生成処理にかかる時間を短縮することができ、マスクを付与した被観察体画像の表示及び観察が迅速に行われるという利点がある。
【図面の簡単な説明】
【図1】本発明の実施形態例に係る電子内視鏡の電気マスク生成装置の構成を示すブロック図である。
【図2】図1のマスクミックス回路内の構成を示す図である。
【図3】実施形態例のマスク画像[図(A)]及びマスクの一部の拡大画像[図(B)]を示す図である。
【図4】実施形態例のマスク切換え時の動作を示す図である。
【図5】実施形態例における変倍動作時の画面の変化を示し、図(A)は標準画面の図、図(B)は拡大画面の図である。
【図6】従来の電気マスク生成の一部回路を示すブロック図である。
【図7】図6の回路で処理される画像で、図(A)はマスクをかける前の原画像、図(B)はマスク画像、図(C)はマスクをかけた画像、図(D)はマスクの一部の拡大画像を示す図である。
【図8】従来の変倍動作時の画面の変化を示し、図(A)は標準画面の図、図(B)は拡大画面の図である。
【図9】電気マスク生成時のメモリ書込み動作を示すフローチャートである。
【符号の説明】
1,15 … マスク生成用メモリ、
2,16 … マスクミックス回路、
4 … 画面、
11 … マイコン、
20 … シフトレジスタ、
21R,21G,21B … 信号混合部
SW1 … 変倍スイッチ。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electric mask generating apparatus for an electronic endoscope, and more particularly to a zoom mask generating process for changing a mask size in accordance with an image scaling function of an electronic endoscope.
[0002]
[Prior art]
An electronic endoscope apparatus images an object to be observed with an imaging element, for example, a CCD (Charge Coupled Device) disposed at the tip of a scope (electronic endoscope), and a video signal (image signal) obtained by the CCD. Is subjected to predetermined image processing, whereby an object image is displayed on the monitor. In the monitor screen, an electric mask is provided around the screen, and the above-described object image is displayed in, for example, a circular opening set by the electric mask.
[0003]
FIG. 6 shows a circuit of an electric mask generation unit of the electronic endoscope apparatus. In this mask generation unit, a mask signal having a predetermined mask shape is written in the mask generation memory 1, and this mask signal is converted into a mask mix. The circuit 2 mixes the video signal. For example, a video signal input to the mask mix circuit 2 is an R (red), G (green), or B (blue) signal formed from the output of the CCD, and a mask signal for these RGB signals. Is mixed and given.
[0004]
FIG. 7 shows the mixing process of the electric mask signal, and FIG. 7A is an original image input to the mask mix circuit 2 before applying a mask, which is an object image to be observed. F is projected on the screen 4 together with the lens barrel 3. In this image, a small uneven portion of the lens barrel frame 3 is projected, and surrounding vignetting is generated. On the other hand, as shown in FIG. 7B, a mask (image) M 1 that shields the periphery and has a circular opening is formed based on the mask signal of the mask generation memory 1, and the mask mix circuit 2 7A and 7B are mixed to form an easy-to-see screen 4 in which the lens barrel frame 3 and the vignetting are hidden, as shown in FIG. 7C.
[0005]
[Problems to be solved by the invention]
However, the conventional electric mask process has a problem that a necessary image may not be displayed by the mask when the image is enlarged. That is, recent electronic endoscopes are provided with an optical zoom function for optically enlarging and imaging an object to be observed and an electronic zoom function for electronically enlarging after imaging, for example as shown in screen 4 in FIG. As shown in FIG. 8A, when the target part Q is present in the normal display image of FIG. 8A, a part of the target part Q is hidden in the mask M 1 in the enlarged display image of FIG. .
[0006]
The mask generation process has a problem that it takes time to generate a mask. That is, the mask generation memory 1 of FIG. 6 described above stores, for example, the quarter data M 1a divided into four as shown by the dotted line in the mask M 1 of FIG. 7B, and the mask data M 1a is stored in the mask data M 1a . One mask image can be formed by sequentially reading four times while changing the reading direction. Conventionally, as shown in FIG. 7D in which a part of the mask in FIG. 7B is enlarged, one pixel (pixel) P of the mask image M 1 is represented by 1-byte data. Is done.
[0007]
Here, when the time for writing the quarter data M 1a to the mask generation memory 1 is calculated, for example, in the NTSC system, 768 horizontal pixels and 525 vertical lines are set, and the clock frequency of the microcomputer is 10 MHz, 1 clock = 1 instruction. When a microcomputer capable of processing is used, assuming that the necessary number of clocks (steps S0 to S8) are multiplied according to the flowchart of the memory write operation in FIG.
T = (1/10 7 ) × (768/2) × (525/2) × 8 + (1/10 7 )
≒ 0.08064 [sec]
And the time to generate one screen is four times the time T,
0.08064 × 4 = 0.32256 [sec]
It becomes. In the case of this NTSC system display, since 1 frame takes 1/30 second, the number of frame configurations necessary for mask generation is
0.32256 / (1/30) = 9.6768 [sheets]
It becomes.
[0008]
The writing time T of the data M 1a is a time required for the initial process of image formation (when the power is turned on), but about 9.7 frames are required to form one screen. Therefore, it is not possible to display images quickly, and it is desired to shorten the initial processing time including writing of mask data. In particular, the present application proposes to enlarge / reduce (magnify) the mask in accordance with the enlarged / reduced image. In this case, a new mask process is performed together with the image scaling process. There arises a problem that the switching of the mask during the zooming operation is not performed smoothly.
[0009]
The present invention has been made in view of the above problems, and an object of the present invention is to prevent a part of the enlarged image from being hidden by the mask and to reduce the time required for the mask generation process and to provide the mask. Another object of the present invention is to provide an electric mask generator for an electronic endoscope that can quickly display an object image to be observed.
[0010]
[Means for Solving the Problems]
To achieve the above object, an electric mask generating apparatus for an electronic endoscope according to the invention of claim 1 includes a mask generating memory for storing an electric mask signal for covering a predetermined portion of a screen, and the mask signal. In an electronic endoscope electric mask generating device that mixes the image signal obtained by the solid-state image sensor with the image scaling of the electronic endoscope device having an image scaling function, A variable-magnification mask signal of a bit string in which one pixel is represented by 1-bit information is formed for ¼ of the variable-magnification mask image , and this bit string ¼ mask signal is stored in the mask generation memory. reads the bit string 1/4 mask signal in parallel from the variable power mask generating circuit for reading the entire zooming mask image while changing the reading direction of the 1/4 mask signal, said mask generation A shift register for converting parallel mask signal read out from the memory to the serial mask signal, based on the mask signal of 1 pixel 1 bit configuration of serial converted, mask mixing circuit for forming a scaled image signal imparted with zooming mask And is provided.
The invention of claim 2 is a read-only memory for storing a program and data for generating a bit string of a scaling mask in which one pixel is represented by 1-bit information, and a reading for expanding the bit string data of the scaling mask. And a free memory.
[0011]
According to the above configuration, when an enlargement / reduction operation is performed by the zoom switch, the mask itself is also enlarged. That is, the mask generation data corresponding to the image enlargement ratio is read out by a microcomputer or the like, and a mask signal (image signal) in which one pixel is represented by 1-bit information is generated based on the read mask generation data. Once written to memory. Thereafter, the mask signal of 1 pixel 1 bit configuration is mixed and output to the original image signal formed using the solid-state imaging device using a shift register or the like, so that a new enlarged image is displayed on the monitor or the like as an enlarged mask ( The mask is displayed together with a mask in which the opening is enlarged.
[0012]
The writing speed to the mask generation memory is reduced to 1/8 compared with the conventional one-pixel 1-byte configuration, and the mask is formed in a short time, so that the mask displayed when the magnification is changed is displayed smoothly. become.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a configuration of an electric mask generator for an electronic endoscope according to an embodiment, and FIG. 2 shows a configuration in a mask mix circuit. This device is incorporated in, for example, a processor device of an electronic endoscope, and the microcomputer 11 that performs overall control of this processor device also functions as a mask generation circuit. The microcomputer 11 includes a ROM (read only memory) 12 that stores bit sequence generation data (program, etc.) of an electric mask in which one pixel (pixel) is represented by 1 bit, and a RAM (read / write) for expanding the mask bit sequence data. A control signal for a zoom switch SW1 that is operated in the enlargement direction (N) and the reduction direction (F) is input.
[0014]
That is, the microcomputer 11 reads out the mask generation data corresponding to the magnification set by the magnification switch SW1 from the ROM 12, and develops the bit string corresponding to the pixel of the mask image in the RAM 13. The zoom switch SW1 is an optical zoom function switch for optically enlarging an image using a movable lens or the like, an electronic zoom function switch for enlarging an image captured by a CCD by signal processing, or both switches. It becomes.
[0015]
A mask generation memory 15 is connected to the microcomputer 11, and a mask signal having a 1-bit pixel configuration is written in the mask generation memory 15 based on the data developed in the RAM 13. FIG. 3A shows one mask image M 2. For example, upper left data M 2a obtained by dividing the mask image M 2 into four is generated in the mask generation memory 15. Then, the mask generation memory 15 is read and controlled by the microcomputer 11 to output one mask image M 2 shown in FIG.
[0016]
For example, the same data M 2a is read in the reverse direction from the upper right side for each horizontal line while sequentially reading the ¼ mask data M 2a in accordance with the scanning line from the upper left side, so that the upper right side in FIG. forming a top half of the mask image M 2 containing 1/4 data M 2b, for then the lower half of the mask image M 2, forms a lower left quarter data M 2c reads data M 2a from the lower left side However, at this time, the same data M 2a is read out from the lower right side in the reverse direction for each horizontal line to obtain the lower right quarter data M 2d .
[0017]
Further, a mask mix circuit 16 is provided for mixing the output signal of the mask generating memory 15 and the original pixel signal of the object image to be observed, and this pixel signal is obtained from a CCD disposed at the tip of the electronic endoscope. For example, it is a signal for each color of R (red), G (green), and B (blue).
[0018]
In FIG. 2, the internal structure of a mask mix circuit 16 is shown, the counter 18 the mask mixing circuit 16 for inputting a clock signal, a latch circuit 19 for latching the bit data D 0 to D 7 of the mask signal, A shift register 20 that converts parallel signals Q 0 to Q 7 output from the latch circuit 19 into serial signals based on a shift clock, and signal mixing units 21R, 21G, and 21B that mix mask signals for each of RGB signals are provided. ing. Each of the signal mixing units 21R, 21G, and 21B has eight logic circuits 22, whereby a mask signal is mixed for each pixel.
[0019]
The embodiment is configured as described above, and the operation thereof will be described next. First, when the power is turned on, a mask M 2 having a standard size as shown in FIG. 4A is formed. That is, the microcomputer 11 in FIG. 1 reads out the mask bit string generation data having a 1-pixel 1-bit configuration from the ROM 12, develops a bit string for forming a standard mask image in the RAM 13, and sequentially stores the bit string in a mask generation memory. Write to 15. As a result, for example, the ¼ mask data M 2a shown in FIG. 3A is formed. In the mask data M 2a , as shown in FIG. 3B in which a part of the mask image M 2 is enlarged, one pixel is represented by one bit. “Through without pixel data” is set to “0”.
[0020]
The mask data M 2a in the mask generation memory 15 is read out four times by the above-described reading method. This mask data is data D 0 every 8 bits as shown in FIG. It is supplied in parallel to the mask Mick circuit 16 as to D 7. In the mask mix circuit 16, the parallel bit data is converted into serial bit data through the latch circuit 19 and the shift register 20, and the bit data of the mask signal is supplied to the signal mixing units 21R, 21G, and 21B.
[0021]
For example, in the signal mixing unit 21R, the logical circuit 22 calculates the logical product of the red pixel signals R 0 to R 7 and the inverted signal of the bit data of the mask signal. That is, the mask bit data “1” indicating black shown in FIG. 3B is inverted to “0”, so that the red signal R 0 to R 7 is “1” or “0”. The data “ 0 ” indicating through is inverted and becomes “1”, so that when the red signals R 0 to R 7 are 1, it becomes “1”. The same applies to the green pixel signals G 0 to G 7 and the blue pixel signals B 0 to B 7. When all of RGB are “0”, a black pixel is formed. The signal is output through. In this way, an image signal to which the mask signal is added is formed, and as shown in FIG. 5A, an object image whose periphery is covered with the standard mask M 2 is displayed on the monitor screen 4. The
[0022]
On the other hand, if the enlargement operation is performed by the zooming switch SW1 in FIG. 1, according to the enlargement ratio by the microcomputer 11, for example, 4-bit string generation data of one pixel 1-bit configuration of the mask M 3 of (D) is Read from the ROM 12 and write ¼ mask data M 3a of the bit string to the mask generation memory 15. Then, the read control of the mask generation memory 15, as shown in the FIG. 4 (B) → (C) → (D), will be the larger the mask M 3 is generated, it is formed immediately before The mask M 3 is displayed on the screen 4 in the form of rewriting the mask M 2 from the upper side.
As a result, as shown in FIG. 5B, an enlarged image can be displayed in the enlarged mask M 3 , and a part of the attention site Q is not hidden by the mask M 3 .
[0023]
In the above embodiment, the mask data M 2a and M 3a written in the mask generation memory 15 is composed of 1 bit per pixel, so that it is 8 than in the conventional case where it is composed of 1 byte per pixel. The data amount is 1 / minute. That is, in the case of 1 byte per pixel, the 1/4 mask data M 2a is (768/2) × (525/2) = 100800 bytes. 1 {(768/2) × (525/2)} / 8 = 12600 bytes.
[0024]
Therefore, the number of frames to be written in the memory 15 is 9.6768 / 8 = 1.2096, which is about 1.2, and an electric mask can be generated in a short time, and can be switched when the magnification ratio is changed. There is an advantage that the display of the mask becomes smooth. Note that the mask switching process time, that is, the mask formation time period between FIGS. 4A to 4D can be blacked out. In this case, the mask generation process [FIG. B) and (C)] are not displayed on the image 4. In addition, if an address that can be automatically generated in the mask generation memory 15 is used, an address for memory writing becomes unnecessary.
[0025]
【The invention's effect】
As described above, according to the present invention, a bit string 1/4 scaling mask signal representing one pixel information in one bit is formed corresponding to the scaling process of image enlargement / reduction, and this bit string 1 / 4 writes a mask signal to the mask generation memory, to form a whole zooming mask image from the 1/4 mask signal, while converting a parallel mask signal read out from the mask generation memory to the serial mask signal Since a variable magnification mask is provided, it is possible to prevent part of the enlarged image from being hidden by the electric mask and to shorten the time required for the mask switching generation process, and to display the object image to which the mask is applied. And there is an advantage that observation is performed quickly.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an electric mask generating apparatus for an electronic endoscope according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration in the mask mix circuit of FIG. 1;
FIG. 3 is a diagram illustrating a mask image [FIG. (A)] and an enlarged image [part (B)] of a part of the mask according to the embodiment.
FIG. 4 is a diagram illustrating an operation at the time of mask switching in the embodiment.
FIGS. 5A and 5B show changes in the screen during a scaling operation in the embodiment, and FIG. 5A is a standard screen and FIG. 5B is an enlarged screen.
FIG. 6 is a block diagram showing a partial circuit of conventional electric mask generation.
7A and 7B are images processed by the circuit of FIG. 6, in which FIG. (A) is an original image before masking, FIG. (B) is a mask image, FIG. (C) is a masked image, and FIG. ) Is a diagram showing an enlarged image of a part of the mask.
FIGS. 8A and 8B show changes in the screen during a conventional scaling operation, where FIG. 8A is a standard screen and FIG. 8B is an enlarged screen.
FIG. 9 is a flowchart showing a memory write operation when generating an electric mask.
[Explanation of symbols]
1,15 ... memory for mask generation,
2,16 ... Mask mix circuit,
4 ... screen,
11: Microcomputer,
20 ... shift register,
21R, 21G, 21B... Signal mixing unit SW1.

Claims (2)

画面の所定部分を覆うための電気マスク信号を記憶するマスク生成用メモリを備え、このマスク信号を固体撮像素子で得られた画像信号に混合する電子内視鏡の電気マスク生成装置において、
画像変倍機能を備えた電子内視鏡装置の画像変倍に応じてマスク変倍処理を行い、1画素を1ビット情報で表したビット列の変倍マスク信号を変倍マスク画像の1/4につき形成し、このビット列1/4マスク信号を上記マスク生成用メモリに格納し、このマスク生成用メモリからビット列1/4マスク信号をパラレルに読み出すと共に、この1/4マスク信号の読出し方向を変えながら変倍マスク画像の全体を読み出す変倍マスク生成回路と、
上記マスク生成用メモリから読み出したパラレルマスク信号をシリアルマスク信号へ変換するシフトレジスタを有し、シリアル変換した1画素1ビット構成のマスク信号に基づき、変倍マスクを付与した変倍画像信号を形成するマスク混合回路と、を設けたことを特徴とする電子内視鏡の電気マスク生成装置。
In an electric mask generator for an electronic endoscope that includes a memory for generating a mask for storing an electric mask signal for covering a predetermined portion of a screen, and mixes the mask signal with an image signal obtained by a solid-state imaging device.
A mask scaling process is performed in accordance with image scaling of an electronic endoscope apparatus having an image scaling function, and a scaling mask signal of a bit string in which one pixel is represented by 1-bit information is set to 1/4 of the scaling mask image. formed per, stores this bit sequence 1/4 mask signal to the mask generation memory, reads out the bit string 1/4 mask signal from the mask generation memory in parallel, changing the reading direction of the 1/4 mask signal A scaling mask generation circuit that reads out the entire scaling mask image ,
A shift register that converts the parallel mask signal read from the mask generation memory into a serial mask signal is formed, and a scaled image signal with a scaling mask is formed based on the serially converted mask signal of one pixel and one bit. And an electric mask generating device for an electronic endoscope, comprising:
1画素を1ビット情報で表した変倍マスクのビット列を生成するためのプログラム及びデータを記憶する読出し専用メモリと、上記変倍マスクのビット列データを展開させるための読書き自在メモリと、を設けたことを特徴とする請求項1記載の電子内視鏡の電気マスク生成装置。A read-only memory for storing a program and data for generating a bit string of a magnification / reduction mask in which one pixel is represented by 1-bit information, and a readable / writable memory for expanding the bit string data of the magnification / reduction mask are provided. 2. The electric mask generating apparatus for an electronic endoscope according to claim 1, wherein:
JP2000029840A 2000-02-07 2000-02-07 Electric endoscope generator for electronic endoscope Expired - Fee Related JP3842944B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000029840A JP3842944B2 (en) 2000-02-07 2000-02-07 Electric endoscope generator for electronic endoscope
US09/775,616 US6670983B2 (en) 2000-02-07 2001-02-05 Electric mask generating apparatus of electronic endoscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000029840A JP3842944B2 (en) 2000-02-07 2000-02-07 Electric endoscope generator for electronic endoscope

Publications (2)

Publication Number Publication Date
JP2001224017A JP2001224017A (en) 2001-08-17
JP3842944B2 true JP3842944B2 (en) 2006-11-08

Family

ID=18554935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000029840A Expired - Fee Related JP3842944B2 (en) 2000-02-07 2000-02-07 Electric endoscope generator for electronic endoscope

Country Status (1)

Country Link
JP (1) JP3842944B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3870044B2 (en) 2001-07-25 2007-01-17 株式会社日立製作所 Pattern inspection method and pattern inspection apparatus
JP6338772B2 (en) 2015-06-12 2018-06-06 オリンパス株式会社 Image processing apparatus and image processing system

Also Published As

Publication number Publication date
JP2001224017A (en) 2001-08-17

Similar Documents

Publication Publication Date Title
US8508610B2 (en) Video signal processing apparatus
KR100618014B1 (en) Image pickup device
KR20030004143A (en) Digital Camera With Electronic Zooming Function
JP2003302952A (en) Display device
US6670983B2 (en) Electric mask generating apparatus of electronic endoscope
JP3842944B2 (en) Electric endoscope generator for electronic endoscope
JP2008040272A (en) Liquid crystal display device, imaging device, liquid crystal display method, and program
JP2009027422A (en) Electronic zoom device
JPH09322026A (en) Image display device
JP3836653B2 (en) Electric endoscope generator for electronic endoscope
JP3172491B2 (en) Digital camera
JP4525382B2 (en) Display device and imaging device
JP3764963B2 (en) Image display device, image display method, and storage medium
JP2001269310A (en) Electronic endoscope device
JP2004078075A (en) On-screen display device
JP2006148821A (en) Histogram display apparatus
KR100295326B1 (en) On-Screen Display (OSD) Processing Unit of Digital Optical Equipment
JP2004297300A (en) Image recording apparatus and electronic camera
JP2837526B2 (en) Superimpose device
JP2002320086A (en) Device/method for picture processing, recording medium and program
JPH0750765A (en) Image display device
JP4124875B2 (en) Electronic endoscope device capable of digital output
JPH03272730A (en) Electronic endoscope device
JPH06261262A (en) Multi-screen display method
JP2921391B2 (en) Video special effects device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040407

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060628

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060725

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060811

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130818

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees