JPH10210454A - Image processor - Google Patents

Image processor

Info

Publication number
JPH10210454A
JPH10210454A JP9006683A JP668397A JPH10210454A JP H10210454 A JPH10210454 A JP H10210454A JP 9006683 A JP9006683 A JP 9006683A JP 668397 A JP668397 A JP 668397A JP H10210454 A JPH10210454 A JP H10210454A
Authority
JP
Japan
Prior art keywords
image
invalid
signal
image processing
region
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
JP9006683A
Other languages
Japanese (ja)
Other versions
JP3689212B2 (en
Inventor
Hiroshi Takasugi
啓 高杉
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 JP00668397A priority Critical patent/JP3689212B2/en
Publication of JPH10210454A publication Critical patent/JPH10210454A/en
Application granted granted Critical
Publication of JP3689212B2 publication Critical patent/JP3689212B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To recognize an image after being processed correctly by properly eliminating the image data of a part in which no accurate image processing result is obtained. SOLUTION: This unit used for an endoscope or the like detects an amount of a hemoglobin index IHb in an image to display it in pseudo-color, so as to apply image processing to the image so as to easily identify a lesion or the like. An invalid region elimination part 4 that eliminates an region having improper data for image processing as an invalid region has an invalid region detection part 9 and an invalid region extension part 10. The invalid region detection part 9 discriminates whether or not the region is an invalid region such as a halation part or a dark part where an accurate arithmetic result is not obtained based on a signal level of an inputted image signal, and after the invalid region extension part 10 extends the invalid region by a prescribed region, based on an outputted from the invalid region detection part 9, the part 10 outputs only an image signal of a pixel to be made as a valid region and the calculation of the IHb amount and image processing of pseudo-color display are conducted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、内視鏡画像等の画
像に対して視認性の向上などのために所定の画像処理を
行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing predetermined image processing on an image such as an endoscope image in order to improve visibility.

【0002】[0002]

【従来の技術】従来より、例えば内視鏡装置等において
は、画像処理装置を用いて内視鏡により得られた内視鏡
画像などに対して色彩強調等の画像処理を施し、診断時
の視認性を高めたりすることが行われている。内視鏡用
の画像処理装置では、画像中の照明光量が多すぎて白く
ぼけたハレーション部や照明光量が少なくて黒くなった
暗部のデータについては、正確な演算データが得られな
いため、画像処理には不適当なデータとして演算処理か
ら除外することが一般に行われている。例えば、特開平
3−21186号公報に開示されている画像処理装置で
は、所定の信号レベルを逸脱した場合を無効領域として
それ以外の有効領域と識別可能にし、誤認識の発生を防
止して信頼性の高い情報を得ることができるようにして
いる。
2. Description of the Related Art Conventionally, for example, in an endoscope apparatus or the like, image processing such as color emphasis is performed on an endoscope image or the like obtained by an endoscope using an image processing apparatus, and the image processing is performed at the time of diagnosis. For example, visibility is improved. In an image processing device for an endoscope, accurate calculation data cannot be obtained for data of a halation portion which is blurred due to an excessive amount of illumination in an image or a dark portion which is dark due to a small amount of illumination. It is common practice to exclude data from the arithmetic processing as inappropriate data for the processing. For example, in the image processing apparatus disclosed in Japanese Patent Application Laid-Open No. Hei 3-21186, a case where the signal level deviates from a predetermined signal level is set as an invalid area so that it can be distinguished from other valid areas. So that highly relevant information can be obtained.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
画像処理装置では、面順次式の内視鏡装置を用いて画像
を得る場合には、その原理的な要因により色ズレが発生
するため、画像処理時にハレーション部等の無効領域周
辺のデータについても演算処理を行うと正確なデータが
得られないことがあった。このため、演算結果を疑似カ
ラーで表示させた場合など、無効領域として除去した部
分の周辺の色変化が病変部のように見えてしまうことも
あり、このようなアーティファクトにより観察しづらい
画像となってしまう不具合があった。
However, in the conventional image processing apparatus, when an image is obtained by using a frame sequential endoscope apparatus, a color shift occurs due to a principle factor thereof. When the arithmetic processing is performed on data around an invalid area such as a halation part during processing, accurate data may not be obtained in some cases. For this reason, when the calculation result is displayed in a pseudo color, a color change around a portion removed as an invalid area may look like a lesion, and such an artifact may make it difficult to observe the image. There was a problem that was.

【0004】これに対し、前記のようなアーティファク
トを発生させないように、ハレーション部と暗部のデー
タを除去するためにあるしきい値を用いた場合は、除去
した部分の辺縁がノイズなどの影響によってギザギザに
なってしまい、動画で観察を行うときに見づらくなって
しまうことがあった。また、ハレーション部周辺や暗部
周辺ではない正常な領域を誤って無効領域として除去し
てしまうおそれがあり、観察したい領域が除去されてし
まう場合があるという問題点もあった。
On the other hand, when a certain threshold value is used to remove the data of the halation portion and the dark portion so as not to generate the above-mentioned artifacts, the edge of the removed portion may be affected by noise or the like. In some cases, the image was jagged, making it difficult to see when observing with a moving image. In addition, there is a possibility that a normal region other than the periphery of the halation portion or the dark portion may be erroneously removed as an invalid region, and there is a problem that a region to be observed may be removed.

【0005】本発明は、これらの事情に鑑みてなされた
もので、画像処理時に正確な演算結果が得られない部分
の画像データを確実かつ適切に除去して画像処理による
アーティファクトの発生を防止でき、かつ観察者が観察
したい所望部分の画像データの欠落を防ぎ、処理後の画
像を正しく認識できるようにすることが可能な画像処理
装置を提供することを目的としている。
The present invention has been made in view of these circumstances, and it is possible to reliably and appropriately remove image data in a portion where an accurate calculation result cannot be obtained at the time of image processing, thereby preventing the occurrence of artifacts due to image processing. It is another object of the present invention to provide an image processing apparatus capable of preventing missing of image data of a desired portion that an observer wants to observe, and enabling an image after processing to be correctly recognized.

【0006】[0006]

【課題を解決するための手段】本発明による画像処理装
置は、入力された画像信号に所定の処理を施す画像処理
装置において、前記画像信号の信号レベルに基づき、該
画像信号における非処理部分を特定する非処理部分特定
手段と、前記非処理部分特定手段の特定情報に基づき、
前記画像信号における非処理部分を所定領域だけ拡張す
る非処理部分拡張手段と、前記非処理部分拡張手段によ
って非処理部分が拡張設定された画像信号に基づき画像
処理する画像処理手段と、を具備したものである。
According to the present invention, there is provided an image processing apparatus for performing a predetermined process on an input image signal, wherein an unprocessed portion in the image signal is determined based on a signal level of the image signal. Non-processing part specifying means to specify, based on the specifying information of the non-processing part specifying means,
A non-processing part extending means for expanding a non-processing part in the image signal by a predetermined area; and an image processing means for performing image processing based on the image signal in which the non-processing part is extended by the non-processing part expanding means. Things.

【0007】[0007]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1ないし図6は本発明の第1の
実施形態に係り、図1は画像処理装置の構成を示すブロ
ック図、図2はIHb算出部の構成例を示すブロック
図、図3はIHb量に対応する色付けの設定例を示す説
明図、図4は無効領域除去部の構成を示すブロック図、
図5は図4中の無効領域拡張部の構成を示すブロック
図、図6は処理画像における拡張された無効領域の分布
の一例を示す作用説明図である。
Embodiments of the present invention will be described below with reference to the drawings. 1 to 6 relate to a first embodiment of the present invention, FIG. 1 is a block diagram showing a configuration of an image processing apparatus, FIG. 2 is a block diagram showing a configuration example of an IHb calculation unit, and FIG. FIG. 4 is an explanatory diagram showing a setting example of corresponding coloring, FIG. 4 is a block diagram showing a configuration of an invalid area removing unit,
FIG. 5 is a block diagram showing the configuration of the invalid area extension unit in FIG. 4, and FIG. 6 is an operation explanatory view showing an example of the distribution of the extended invalid area in the processed image.

【0008】本実施形態では、内視鏡により得られた内
視鏡画像に対して画像処理を行う内視鏡用画像処理装置
の構成例を示す。画像処理装置1は、内視鏡画像より求
めたヘモグロビン色素に相関するヘモグロビンインデッ
クス(以下、IHbと記載する)を疑似カラー表示さ
せ、病変部などのIHb量の変化を観察可能にする画像
処理を行う装置である。
In this embodiment, an example of the configuration of an image processing apparatus for an endoscope which performs image processing on an endoscope image obtained by an endoscope will be described. The image processing apparatus 1 performs image processing for displaying a hemoglobin index (hereinafter, referred to as IHb) correlated to a hemoglobin pigment obtained from an endoscope image in a pseudo color, and enabling observation of a change in the amount of IHb in a lesion or the like. It is a device that performs.

【0009】図1に示すように、画像処理装置1は、ア
ナログの入力画像信号をディジタル信号に変換するA/
D変換部2と、A/D変換部2の出力に対して逆ガンマ
補正を行う逆ガンマ補正部(γ′)3と、画像処理を行
う上で不適当なデータを持つ領域を無効領域として除去
する無効領域除去部4と、演算によりIHb量を求める
IHb算出部5と、IHb量に応じた表示色を設定する
疑似カラー割当部6と、疑似カラー割当部6の出力に対
してガンマ補正を行うガンマ補正部(γ)7と、ディジ
タル信号をアナログの出力画像信号に変換するD/A変
換部8とを有して構成されている。
As shown in FIG. 1, an image processing apparatus 1 converts an analog input image signal into a digital signal.
A D conversion unit 2, an inverse gamma correction unit (γ ') 3 for performing an inverse gamma correction on the output of the A / D conversion unit 2, and an area having inappropriate data for performing image processing as an invalid area An invalid area removing unit 4 for removing, an IHb calculating unit 5 for calculating an IHb amount by calculation, a pseudo color allocating unit 6 for setting a display color according to the IHb amount, and gamma correction for an output of the pseudo color allocating unit 6 And a D / A converter 8 for converting a digital signal into an analog output image signal.

【0010】このように構成された本実施形態の画像処
理装置1の動作を説明する。内視鏡により撮像された内
視鏡画像は、画像処理装置1に入力されてIHb量を示
す疑似カラー表示を行うための画像処理が施される。内
視鏡画像の画像信号は、まず、画像処理装置1内部での
処理がディジタル信号処理であるため、A/D変換部2
においてアナログ信号からディジタル信号に変換され
る。ディジタル信号に変換された画像信号は、逆ガンマ
補正部3によって内視鏡画像にかけられているガンマ補
正が除去される。その後、無効領域除去部4によって、
ハレーション部と暗部及びその周辺部に相当する演算に
不適当な領域のデータが除去される。この無効領域の除
去方法については後で説明する。
The operation of the image processing apparatus 1 according to the embodiment having the above-described configuration will be described. The endoscope image captured by the endoscope is input to the image processing device 1 and subjected to image processing for performing pseudo color display indicating the IHb amount. First, since the image signal of the endoscope image is digital signal processing in the image processing apparatus 1, the A / D converter 2
Is converted from an analog signal to a digital signal. The gamma correction applied to the endoscope image by the inverse gamma correction unit 3 is removed from the image signal converted into the digital signal. After that, the invalid area removing unit 4
Data in an unsuitable region corresponding to a halation portion, a dark portion and a peripheral portion thereof is removed. The method of removing the invalid area will be described later.

【0011】無効領域除去部4によって画像中の無効領
域が除去されると、IHb算出部5によって各画素のI
Hb量が算出される。IHb量を求める演算式は、以下
に示す(1)式の通りである。
When the invalid area in the image is removed by the invalid area removing section 4, the IHb calculating section 5 calculates the I
The Hb amount is calculated. The calculation formula for calculating the IHb amount is as shown in the following formula (1).

【0012】 IHb=32×Log(R/G) …(1) ただし、R:R画像の信号レベル G:G画像の信号レベル このIHb量の演算は、ROMを用いたり、図2に示す
ような演算回路を用いて算出することができる。例え
ば、図2の演算回路では、割り算回路31によってR画
像の信号レベルに対してG画像の信号レベルを除算した
後、対数変換回路32によって対数変換し、掛け算回路
33によって定数の32を乗算することにより、IHb
量が求められる。
IHb = 32 × Log (R / G) (1) where R: signal level of R image G: signal level of G image The calculation of the IHb amount is performed using a ROM or as shown in FIG. It can be calculated using a simple arithmetic circuit. For example, in the arithmetic circuit of FIG. 2, after dividing the signal level of the G image to the signal level of the R image by the division circuit 31, the logarithmic conversion circuit 32 performs logarithmic conversion, and the multiplication circuit 33 multiplies a constant 32. As a result, IHb
The quantity is required.

【0013】各画素において求められたIHb量は、疑
似カラー割当部6に入力され、ここで算出されたIHb
量に基づいて疑似カラー表示する色が決定される。図3
はIHb量に対応する色付けの設定例を示したものであ
り、IHb量を6段階に分割して表示色を設定する場合
の例である。この場合、IHb量の高い順に、ピンク、
赤、黄、緑、シアン、青が割り当てられる。この疑似カ
ラー表示色の割り当ては、ROMなどを用い、入力され
るIHb量に応じて前記のような各色を表すR、G、B
データを出力するようにすれば簡単に行うことが可能で
ある。
The IHb amount obtained for each pixel is input to the pseudo color allocating unit 6, where the calculated IHb amount is calculated.
The color to be displayed in the pseudo color is determined based on the amount. FIG.
Shows an example of setting of coloring corresponding to the amount of IHb, and is an example in the case where the display color is set by dividing the IHb amount into six stages. In this case, pink,
Red, yellow, green, cyan, and blue are assigned. The pseudo-color display colors are allocated by using a ROM or the like, and R, G, B representing each color as described above according to the input IHb amount.
If data is output, it can be easily performed.

【0014】なお、IHb量に関してより細部の変化を
観察したい場合は、さらに細かく8、16、32段階な
どに分割し、それぞれ色分けすれば良い。また、6色で
細部の変化を表示したい場合は、観察者が表示したいI
Hb量の範囲を狭く指定することで実現可能である。
When it is desired to observe a more detailed change in the amount of IHb, it is sufficient to divide the IHb amount into 8, 16, 32, etc., and to color each. Also, when it is desired to display changes in details in six colors, the observer wants to display I
This can be realized by designating a narrow range of the Hb amount.

【0015】このようにして、疑似カラーとして割り当
てられたIHb量分布画像の画像信号は、ガンマ補正部
7によってモニタに表示した際にリニアな特性になるよ
うガンマ補正がかけられる。そして、補正がかけられた
IHb量分布画像の画像信号は、D/A変換部8によっ
てディジタル信号からアナログ信号に変換され、画像処
理装置1より出力される。
As described above, the image signal of the IHb amount distribution image assigned as the pseudo color is subjected to gamma correction by the gamma correction unit 7 so that it has a linear characteristic when displayed on a monitor. Then, the image signal of the corrected IHb amount distribution image is converted from a digital signal to an analog signal by the D / A converter 8 and output from the image processing device 1.

【0016】次に、無効領域除去部4の構成及び作用に
ついて詳細に説明する。図4に示すように、無効領域除
去部4は、無効領域検出部9と無効領域拡張部10とを
有して構成されている。
Next, the configuration and operation of the invalid area removing section 4 will be described in detail. As shown in FIG. 4, the invalid area removing unit 4 includes an invalid area detecting unit 9 and an invalid area expanding unit 10.

【0017】無効領域除去部4に入力された逆ガンマ補
正部3からの画像信号は、無効領域検出部9と無効領域
拡張部10とに入力される。無効領域検出部9では、入
力された画像信号を基に、その信号レベルなどを参照し
てハレーション部や暗部などの正確な演算結果が得られ
ない領域かどうかの判別が行われ、無効領域と判別され
た画素については「0」が出力され、有効領域と判別さ
れた画素については「1」が出力される。無効領域拡張
部10では、前記無効領域検出部9の出力を基に所定領
域だけ無効領域の拡張が行われた後、入力された画像信
号のうち、有効領域とした画素の画像信号のみがIHb
算出部5へ出力される。なお、無効領域に設定された画
素の画像信号としては、0レベルが出力される。
The image signal from the inverse gamma correction section 3 input to the invalid area removing section 4 is input to the invalid area detecting section 9 and the invalid area extending section 10. The invalid area detection unit 9 determines, based on the input image signal, whether or not an area where an accurate calculation result such as a halation part or a dark part cannot be obtained by referring to the signal level or the like, and determines whether the area is an invalid area. “0” is output for the determined pixel, and “1” is output for the pixel determined as the effective area. The invalid area extension unit 10 expands the invalid area by a predetermined area based on the output of the invalid area detection unit 9, and then, among the input image signals, only the image signals of the pixels that are regarded as valid areas are IHb
It is output to the calculation unit 5. Note that a 0 level is output as the image signal of the pixel set in the invalid area.

【0018】図5に無効領域拡張部10の構成を示す。
無効領域拡張部10は、無効領域検出部9の出力を一時
記憶するラインメモリ12,13と、信号遅延用のディ
レイ14〜19と、入力された各信号の乗算を行う乗算
部20と、出力する画像信号を選択するセレクタ21
と、逆ガンマ補正部3から無効領域除去部4に入力され
た画像信号を格納するメモリ22とを有して構成されて
いる。
FIG. 5 shows the configuration of the invalid area extension unit 10.
The invalid area extension section 10 includes line memories 12 and 13 for temporarily storing the output of the invalid area detection section 9, delays 14 to 19 for signal delay, a multiplication section 20 for multiplying input signals, and an output section. Selector 21 for selecting an image signal to be applied
And a memory 22 for storing the image signal input from the inverse gamma correction unit 3 to the invalid area removal unit 4.

【0019】無効領域拡張部10は、入力された画像信
号の中から、隣接した画素の画像信号を参照して、無効
領域を示す0レベルの信号が隣接画素に存在する場合
は、その画素も無効領域として0レベルを出力する。こ
のとき、乗算部20は、入力される9つの信号の乗算を
行うようになっており、乗算部20にはラインメモリ1
2,13、ディレイ14〜19によって3×3の隣接す
る9画素の信号が入力され、この領域内に0レベルの信
号があれば演算結果は「0」となる。すなわち、3×3
の領域内において隣接画素に無効領域が存在する場合
に、その中心画素も無効領域とすることが可能となって
いる。
The invalid area extension unit 10 refers to the image signal of an adjacent pixel from the input image signal, and if a 0-level signal indicating the invalid area exists in the adjacent pixel, the invalid pixel is also displayed. 0 level is output as an invalid area. At this time, the multiplication unit 20 multiplies the input nine signals, and the multiplication unit 20 includes the line memory 1
Signals of 3 × 3 adjacent nine pixels are input by 2, 13 and delays 14 to 19. If there is a 0 level signal in this area, the calculation result is “0”. That is, 3 × 3
When there is an invalid area in an adjacent pixel in the area, the center pixel can be also set as an invalid area.

【0020】図6は無効領域拡張部10により拡張され
た無効領域の分布の一例を示したものである。図6にお
いて、「0」は無効領域を示す画素、「1」は有効領域
を示す画素であり、左側は無効領域拡張部10に入力さ
れる画像、右側は無効領域拡張部10から出力される画
像のそれぞれの無効領域の分布を示している。この例の
ように、上下左右及び斜め方向のいずれかに隣接する画
素が0レベルとなっている画素は、その画素も0レベル
として出力される。
FIG. 6 shows an example of the distribution of the invalid area extended by the invalid area extension section 10. As shown in FIG. In FIG. 6, “0” is a pixel indicating an invalid area, “1” is a pixel indicating an effective area, the left side is an image input to the invalid area expanding section 10, and the right side is output from the invalid area expanding section 10. The distribution of each invalid area of the image is shown. As in this example, a pixel in which a pixel adjacent in any of the up, down, left, right, and oblique directions is at the 0 level is also output as the 0 level.

【0021】このようにして拡張された無効領域の分布
は、セレクタ21のB端子とS端子に入力され、このB
端子に入力される信号とA端子に入力される画像信号の
いずれか一方がセレクタ21により選択されてIHb算
出部5へ出力される。画像の全領域のうち、無効領域と
判別された画素はB端子の入力、すなわち0レベルの信
号が出力され、有効領域と判別された画素はA端子の入
力、すなわち入力された画像信号が出力される。ここ
で、メモリ22は、無効領域を拡張するための演算にか
かる時間だけ、入力画像信号を遅らせる機能を有してい
る。
The distribution of the invalid area expanded in this way is input to the B terminal and the S terminal of the selector 21 and
One of the signal input to the terminal and the image signal input to the A terminal is selected by the selector 21 and output to the IHb calculation unit 5. Of the entire area of the image, the pixels determined to be invalid areas are input to the B terminal, that is, a 0-level signal is output, and the pixels determined to be valid areas are input to the A terminal, that is, the input image signal is output. Is done. Here, the memory 22 has a function of delaying the input image signal by the time required for the operation for expanding the invalid area.

【0022】以上のように、IHb量の算出を行う際
に、ハレーション部や暗部などの正確な演算データが得
られない部分を無効領域として除去し、さらにこの無効
領域を周辺の画素まで拡張して設定し直すことで、画像
処理時に正確な演算結果が得られない部分の画像データ
を適切に除去でき、ハレーション部等の周辺に発生した
色ズレなどの影響を除去することが可能となり、より正
確な演算データを得ることができる。
As described above, when calculating the IHb amount, a portion where accurate calculation data such as a halation portion or a dark portion cannot be obtained is removed as an invalid region, and the invalid region is extended to peripheral pixels. By re-setting, it is possible to appropriately remove the image data of the part where the accurate calculation result is not obtained at the time of the image processing, and it is possible to remove the influence of the color shift generated around the halation part and the like. Accurate calculation data can be obtained.

【0023】また、本実施形態ではハレーション部等の
不良部分周辺のデータを広めに除去するようにしている
ため、従来ハレーション部周辺で発生していたアーティ
ファクトによる色変化が少なくなり、病変部による変化
と見誤るようなおそれもなくすことができる。また、無
効領域として除去された辺縁部が平滑化されたようにな
るため、従来の処理結果のようにギザギザの辺縁になる
ことがなく、この結果、除去された部分周辺でのアーテ
ィファクトが少なくなるため、観察の行いやすい画像を
提供することが可能である。
Further, in the present embodiment, since data around a defective portion such as a halation portion is largely removed, a color change due to an artifact which has conventionally occurred around a halation portion is reduced, and a change due to a lesion portion is reduced. It is possible to eliminate the risk of misunderstanding. In addition, since the edge removed as an invalid area is smoothed, the edge does not become jagged as in the conventional processing result. As a result, artifacts around the removed part are reduced. Since the number is reduced, it is possible to provide an image that can be easily observed.

【0024】なお、本実施形態では、無効領域とみなす
信号レベルを拡張して不良部分周辺のアーティファクト
を除去するようにした場合と異なり、ハレーション部や
暗部周辺ではない正常な部分まで無効領域としてしまう
ことがないため、観察者が観察したい部分の領域を誤っ
て無効領域としてしまう不具合を防止できる。
In this embodiment, unlike the case where the signal level regarded as an invalid area is extended to remove artifacts around a defective part, a normal part other than a halation part or a dark part is regarded as an invalid area. Therefore, it is possible to prevent a problem that an area of a portion that the observer wants to observe is mistakenly set as an invalid area.

【0025】図7は本発明の第2の実施形態に係る無効
領域除去部の構成を示すブロック図である。第2の実施
形態では、図1の画像処理装置における無効領域除去部
の構成を変更した例を示す。無効領域除去部30は、内
視鏡用画像処理装置に設けられ、第1の実施形態とは異
なる方法で入力画像からハレーション部や暗部などの無
効領域を除去するものである。画像処理装置の基本的な
構成及び動作は第1の実施形態と同様であるため説明を
省略する。
FIG. 7 is a block diagram showing the configuration of the invalid area removing section according to the second embodiment of the present invention. In the second embodiment, an example in which the configuration of the invalid area removing unit in the image processing apparatus of FIG. 1 is changed will be described. The invalid area removing section 30 is provided in the image processing apparatus for an endoscope, and removes invalid areas such as a halation section and a dark section from an input image by a method different from that of the first embodiment. The basic configuration and operation of the image processing apparatus are the same as in the first embodiment, and a description thereof will be omitted.

【0026】無効領域除去部30は、入力画像信号を記
憶するビデオRAM(VRAM)24と、各部の制御を
行うCPU25と、セレクタ27のB端子及びS端子へ
のデータ出力を制御するI/Oポート26と、出力する
画像信号を選択するセレクタ27と、逆ガンマ補正部3
から無効領域除去部30に入力された画像信号を格納す
るメモリ28と、VRAM24,CPU25,I/Oポ
ート26を接続するバス29とを有して構成されてい
る。
The invalid area removing section 30 includes a video RAM (VRAM) 24 for storing an input image signal, a CPU 25 for controlling each section, and an I / O for controlling data output to the B and S terminals of the selector 27. A port 26, a selector 27 for selecting an image signal to be output, and an inverse gamma correction unit 3.
And a memory 28 for storing an image signal input to the invalid area removing unit 30 and a bus 29 connecting the VRAM 24, the CPU 25, and the I / O port 26.

【0027】無効領域除去部30に入力された画像信号
は、VRAM24とメモリ28とに入力される。VRA
M24に取り込まれた入力画像信号は、CPU25によ
って、ハレーション部や暗部などの正確な演算データが
得られない領域であるか否かを信号レベルなどによって
判別され、有効領域である画素のデータは「1」、無効
領域である画素のデータは「0」に書き換えられる。
The image signal input to the invalid area removing unit 30 is input to the VRAM 24 and the memory 28. VRA
The CPU 25 determines whether or not the input image signal taken into the M24 is a region where accurate calculation data such as a halation portion or a dark portion cannot be obtained based on a signal level or the like. "1" is rewritten to "0".

【0028】次にCPU25は、3×3のマスク処理に
よって、3×3の領域内、すなわち中心画素に隣接して
いる画素に「0」のデータが存在する場合は、その中心
画素のデータも「0」に書き換えることで無効領域の拡
張を行う。このようにして得られる無効領域のデータの
分布は、第1の実施形態で説明した図6と同様である。
なお、3×3のマスク処理に限らず、5×5またはそれ
以上の領域でマスク処理を行っても良い。
Next, if the data of “0” exists in the 3 × 3 area, that is, in the pixel adjacent to the center pixel, the CPU 25 performs the mask processing of 3 × 3, and also the data of the center pixel. The invalid area is extended by rewriting to “0”. The distribution of the invalid area data obtained in this way is the same as that of FIG. 6 described in the first embodiment.
The mask processing is not limited to the 3 × 3 mask processing, and may be performed in a 5 × 5 or more area.

【0029】このようにして拡張された無効領域の分布
は、VRAM24より画素ごとに順次読み出され、I/
Oポート26を介してセレクタ27のB端子とS端子に
入力される。一方、セレクタ27のA端子には、メモリ
28から画像信号が入力される。セレクタ27は、S端
子に入力された値に基づいて、出力する信号としてB端
子の入力信号とA端子の入力信号のいずれか一方を選択
し、IHb算出部5へ出力する。すなわち、「0」がS
端子に入力されるとB端子に入力される信号を、「1」
がS端子に入力されるとA端子に入力される信号を出力
する。従って、画像の全領域のうち、有効領域と判別さ
れた画素はA端子に入力される画像信号が出力され、無
効領域と判別された画素はB端子に入力される0レベル
の信号が出力される。
The distribution of the invalid area expanded in this way is sequentially read out from the VRAM 24 for each pixel, and
The signal is input to the B terminal and the S terminal of the selector 27 via the O port 26. On the other hand, an image signal is input from the memory 28 to the A terminal of the selector 27. The selector 27 selects one of the input signal of the B terminal and the input signal of the A terminal as a signal to be output based on the value input to the S terminal, and outputs the selected signal to the IHb calculation unit 5. That is, "0" is S
When the signal is input to the terminal, the signal input to the terminal B is changed to “1”.
When is input to the S terminal, a signal input to the A terminal is output. Therefore, of the whole area of the image, the pixels determined to be valid areas output the image signal input to the A terminal, and the pixels determined to be invalid areas output the 0 level signal input to the B terminal. You.

【0030】ここで、メモリ28は、CPU25による
無効領域の検出、及び無効領域の拡張にかかる時間だ
け、入力画像信号を遅らせる機能を有している。なお、
上記の無効領域の検出及び拡張処理を映像信号の帰線期
間内に行えば、動画での処理が可能である。
Here, the memory 28 has a function of delaying an input image signal by a time required for detecting an invalid area by the CPU 25 and expanding the invalid area. In addition,
If the above-described invalid area detection and extension processing are performed within the retrace period of the video signal, processing with a moving image can be performed.

【0031】上記の構成によって、無効領域が除去され
た画像信号がIHb算出部5に出力される。
With the above configuration, the image signal from which the invalid area has been removed is output to the IHb calculating section 5.

【0032】以上のように、第2の実施形態の構成にお
いても第1の実施形態と同様の作用効果が得られ、IH
b量を算出して疑似カラー表示を行う際に、面順次式の
内視鏡装置で得られた画像を処理するような場合であっ
ても、ハレーション部等の周辺に発生した色ズレなどの
影響を除去することができ、より正確な演算データを得
ることが可能となる。
As described above, in the configuration of the second embodiment, the same operation and effect as those of the first embodiment can be obtained.
When performing pseudo color display by calculating the amount of b, even when processing an image obtained by a frame sequential type endoscope apparatus, even when processing an image obtained by a peripheral part such as a halation part, it is possible to reduce color shift. The influence can be removed, and more accurate calculation data can be obtained.

【0033】[付記] (1) 入力された画像信号に所定の処理を施す画像処
理装置において、前記画像信号の信号レベルに基づき、
該画像信号における非処理部分を特定する非処理部分特
定手段と、前記非処理部分特定手段の特定情報に基づ
き、前記画像信号における非処理部分を所定領域だけ拡
張する非処理部分拡張手段と、前記非処理部分拡張手段
によって非処理部分が拡張設定された画像信号に基づき
画像処理する画像処理手段と、を具備したことを特徴と
する画像処理装置。
[Supplementary Notes] (1) In an image processing apparatus for performing a predetermined process on an input image signal, based on a signal level of the image signal,
A non-processing part specifying unit that specifies a non-processing part in the image signal; a non-processing part expanding unit that expands the non-processing part in the image signal by a predetermined area based on the specifying information of the non-processing part specifying unit; An image processing device comprising: an image processing unit that performs image processing based on an image signal whose non-processing part has been expanded and set by the non-processing part expansion unit.

【0034】(2) 入力された画像信号の信号レベル
に基づき、演算処理に不適切な無効画像領域を検出する
無効領域検出手段と、前記無効領域検出手段で検出され
た無効画像領域情報に基づき、無効画像領域を所定領域
だけ拡張して設定する無効領域拡張手段と、前記無効領
域拡張手段によって拡張された無効画像領域に基づき、
前記画像信号に対し画像処理のための演算処理を施す演
算手段と、を具備したことを特徴とする画像処理装置。
(2) Invalid area detecting means for detecting an invalid image area inappropriate for arithmetic processing based on the signal level of the input image signal, and invalid image area information detected by the invalid area detecting means. Based on an invalid area extending means for extending and setting an invalid image area by a predetermined area, and an invalid image area extended by the invalid area extending means.
An image processing device comprising: an arithmetic unit that performs arithmetic processing for image processing on the image signal.

【0035】(3) 前記非処理部分特定手段は、前記
画像信号におけるハレーション部と暗部とを非処理部分
として検出を行うことを特徴とする付記1に記載の画像
処理装置。
(3) The image processing apparatus according to appendix 1, wherein the non-processing portion specifying means detects a halation portion and a dark portion in the image signal as non-processing portions.

【0036】(4) 前記非処理部分拡張手段は、前記
非処理部分特定手段の特定情報に基づき、前記画像信号
における隣接する画素が非処理部分であることを検出し
て非処理部分の拡張を行うことを特徴とする付記1に記
載の画像処理装置。
(4) The non-processing portion expanding means detects that an adjacent pixel in the image signal is a non-processing portion based on the specifying information of the non-processing portion specifying means, and expands the non-processing portion. The image processing apparatus according to claim 1, wherein the image processing is performed.

【0037】(5) 前記非処理部分拡張手段は、前記
非処理部分特定手段の特定情報に基づき、前記画像信号
における隣接する画素に非処理部分がある場合にその画
素も非処理部分として拡張設定することを特徴とする付
記1に記載の画像処理装置。
(5) The non-processed part expanding means, based on the identification information of the non-processed part specifying means, sets an extended pixel as a non-processed part when an adjacent pixel in the image signal has a non-processed part. 2. The image processing apparatus according to claim 1, wherein

【0038】[0038]

【発明の効果】以上説明したように本発明によれば、画
像処理時に正確な演算結果が得られない部分の画像デー
タを確実かつ適切に除去して画像処理によるアーティフ
ァクトの発生を防止でき、かつ観察者が観察したい所望
部分の画像データの欠落を防ぎ、処理後の画像を正しく
認識できるようにすることが可能となる効果がある。
As described above, according to the present invention, it is possible to reliably and appropriately remove image data in a portion where an accurate operation result cannot be obtained during image processing, thereby preventing the occurrence of artifacts due to image processing. There is an effect that it is possible to prevent a loss of image data of a desired portion to be observed by an observer, and to correctly recognize a processed image.

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

【図1】本発明の実施形態に係る画像処理装置の構成を
示すブロック図
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】IHb算出部の構成例を示すブロック図FIG. 2 is a block diagram illustrating a configuration example of an IHb calculation unit.

【図3】IHb量に対応する色付けの設定例を示す説明
FIG. 3 is an explanatory diagram showing a setting example of coloring corresponding to an IHb amount;

【図4】第1の実施形態に係る無効領域除去部の構成を
示すブロック図
FIG. 4 is a block diagram illustrating a configuration of an invalid area removing unit according to the first embodiment.

【図5】図4中の無効領域拡張部の構成を示すブロック
FIG. 5 is a block diagram showing a configuration of an invalid area extension unit in FIG. 4;

【図6】処理画像における拡張された無効領域の分布の
一例を示す作用説明図
FIG. 6 is an operation explanatory diagram showing an example of a distribution of an extended invalid area in a processed image.

【図7】第2の実施形態に係る無効領域除去部の構成を
示すブロック図
FIG. 7 is a block diagram illustrating a configuration of an invalid area removing unit according to a second embodiment.

【符号の説明】[Explanation of symbols]

1…画像処理装置 3…逆ガンマ補正部 4…無効領域除去部 5…IHb算出部 6…疑似カラー割当部 7…ガンマ補正部 9…無効領域検出部 10…無効領域拡張部 REFERENCE SIGNS LIST 1 image processing device 3 inverse gamma correction unit 4 invalid region removal unit 5 IHb calculation unit 6 pseudo color allocation unit 7 gamma correction unit 9 invalid region detection unit 10 invalid region extension unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像信号に所定の処理を施す
画像処理装置において、 前記画像信号の信号レベルに基づき、該画像信号におけ
る非処理部分を特定する非処理部分特定手段と、 前記非処理部分特定手段の特定情報に基づき、前記画像
信号における非処理部分を所定領域だけ拡張する非処理
部分拡張手段と、 前記非処理部分拡張手段によって非処理部分が拡張設定
された画像信号に基づき画像処理する画像処理手段と、 を具備したことを特徴とする画像処理装置。
1. An image processing apparatus for performing predetermined processing on an input image signal, comprising: a non-processing part specifying unit that specifies a non-processing part in the image signal based on a signal level of the image signal; A non-processing part expanding means for expanding a non-processing part in the image signal by a predetermined area based on the specifying information of the part specifying means; and an image processing based on the image signal in which the non-processing part is extended by the non-processing part expanding means An image processing apparatus, comprising:
JP00668397A 1997-01-17 1997-01-17 Image processing device Expired - Fee Related JP3689212B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00668397A JP3689212B2 (en) 1997-01-17 1997-01-17 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00668397A JP3689212B2 (en) 1997-01-17 1997-01-17 Image processing device

Publications (2)

Publication Number Publication Date
JPH10210454A true JPH10210454A (en) 1998-08-07
JP3689212B2 JP3689212B2 (en) 2005-08-31

Family

ID=11645170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00668397A Expired - Fee Related JP3689212B2 (en) 1997-01-17 1997-01-17 Image processing device

Country Status (1)

Country Link
JP (1) JP3689212B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007108280A1 (en) 2006-03-15 2007-09-27 Olympus Medical Systems Corp. Medical image processing device and medical image processing method
JP2007268063A (en) * 2006-03-31 2007-10-18 Fujifilm Corp Image processor
US9759545B2 (en) 2013-01-24 2017-09-12 Hitachi-Lg Data Storage, Inc. Optical tomograph and optical tomographic method
JPWO2018105062A1 (en) * 2016-12-07 2019-10-24 オリンパス株式会社 Image processing apparatus and image processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007108280A1 (en) 2006-03-15 2007-09-27 Olympus Medical Systems Corp. Medical image processing device and medical image processing method
US8335361B2 (en) 2006-03-15 2012-12-18 Olympus Medical Systems Corp. Medical image processing apparatus and medical image processing method
JP2007268063A (en) * 2006-03-31 2007-10-18 Fujifilm Corp Image processor
US9759545B2 (en) 2013-01-24 2017-09-12 Hitachi-Lg Data Storage, Inc. Optical tomograph and optical tomographic method
JPWO2018105062A1 (en) * 2016-12-07 2019-10-24 オリンパス株式会社 Image processing apparatus and image processing method
US10491813B2 (en) 2016-12-07 2019-11-26 Olympus Corporation Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP3689212B2 (en) 2005-08-31

Similar Documents

Publication Publication Date Title
CN110505459B (en) Image color correction method, device and storage medium suitable for endoscope
KR101138852B1 (en) Smart clipper for mobile displays
JP2002010104A (en) Device for correcting luminance level of image signal
JPS63125241A (en) Image processor
KR100380201B1 (en) Method and apparatus for processing digital pixel output signals
JPH10210454A (en) Image processor
EP0891080B1 (en) Method for processing a sequence of radiological images of an object
JPH01138876A (en) Color picture processing unit
JP2006270421A (en) Edge emphasis processor, and liquid crystal display device
CN116245766A (en) Image enhancement processing method and device, electronic equipment and readable storage medium
JP2003304400A (en) Image processing apparatus and method, program, and recording medium
JP6115410B2 (en) Image processing apparatus and image processing method
JP2004046329A (en) Image contour enhancement device
US20020080262A1 (en) Method of improving a signal in a sequence of images acquired with a digtal color video camera
JP2004005424A (en) Signal processor for reducing noise of image signal, signal processing program and signal processing method
KR100727837B1 (en) An image signal processing device of the camera system
JP2001078235A (en) Method and system for image evaluation
JP2007260019A (en) Endoscope apparatus
JP3066919B2 (en) Image processing method and system using the same
JPH04253837A (en) Image processor
JP6048046B2 (en) Image composition apparatus and image composition method
JP3006678B2 (en) CRT screen burn-in prevention device
JP2933626B2 (en) Endoscope image processing device
JPH10149431A (en) Picture processing method
JPH0669438B2 (en) Endoscope device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050303

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: 20050607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050610

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

Free format text: PAYMENT UNTIL: 20080617

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130617

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees