JP2008212266A - Masking device - Google Patents
Masking device Download PDFInfo
- Publication number
- JP2008212266A JP2008212266A JP2007051157A JP2007051157A JP2008212266A JP 2008212266 A JP2008212266 A JP 2008212266A JP 2007051157 A JP2007051157 A JP 2007051157A JP 2007051157 A JP2007051157 A JP 2007051157A JP 2008212266 A JP2008212266 A JP 2008212266A
- Authority
- JP
- Japan
- Prior art keywords
- mask
- region
- area
- image signal
- 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.)
- Pending
Links
- 230000000873 masking effect Effects 0.000 title abstract 11
- 230000002093 peripheral effect Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 abstract description 13
- NJPPVKZQTLUDBO-UHFFFAOYSA-N novaluron Chemical compound C1=C(Cl)C(OC(F)(F)C(OC(F)(F)F)F)=CC=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F NJPPVKZQTLUDBO-UHFFFAOYSA-N 0.000 abstract description 9
- 230000000694 effects Effects 0.000 abstract 1
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Instruments For Viewing The Inside Of Hollow Bodies (AREA)
- Endoscopes (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
本発明は、画像信号に対して電子マスク処理を施す装置、およびそれを用いた電子内視鏡装置に関する。 The present invention relates to an apparatus for performing an electronic mask process on an image signal, and an electronic endoscope apparatus using the apparatus.
撮像素子の周縁部には、物理的に遮光された光学マスク領域が設けられ、この領域から出力される画像信号に対しては更に電子マスク処理が施される。また、電子内視鏡などにおいては、光学マスク領域に囲まれる撮像領域から出力される画像信号に対しても、例えばピントがあっていない周縁領域に対して電子マスク処理が施される(特許文献1参照)。
しかし、従来の電子マスク処理は、ある画素に対してマスクを施すか、施さないかの2値的な処理により行われるため、マスク領域境界に曲線や水平ラインに対して斜めの直線を用いると、これらの部分にジャギーが発生し見栄えが悪いと言う問題がある。 However, since the conventional electronic mask processing is performed by binary processing of whether a certain pixel is masked or not, if a straight line oblique to a curve or a horizontal line is used for the mask region boundary, There is a problem that jaggy is generated in these parts and the appearance is bad.
本発明は、画像のマスク処理において、マスク境界におけるジャギーによる影響を簡略な構成かつ高速な処理により低減することを目的としている。 An object of the present invention is to reduce the influence of jaggies at a mask boundary in a mask processing of an image by a simple configuration and high-speed processing.
本発明のマスク処理装置は、撮像素子からの画像信号に対してマスク処理を施すマスク処理装置であって、画像信号に対して相対的に濃い第1濃度の第1マスク領域を形成する第1マスク処理手段と、第1マスク領域の周縁に隣接する所定の画素数分の領域の画素を、相対的に薄い第2濃度として第2マスク領域を形成する第2マスク処理手段とを備えたことを特徴としている。 The mask processing apparatus of the present invention is a mask processing apparatus that performs mask processing on an image signal from an image sensor, and forms a first mask region having a first density that is relatively dark with respect to the image signal. Mask processing means, and second mask processing means for forming a second mask region with a relatively thin second density of pixels in a predetermined number of pixels adjacent to the periphery of the first mask region. It is characterized by.
第1マスク領域は、水平ラインに対して斜めの境界線部を含み、第2マスク領域はこの境界線部に隣接して設けられる。第2マスク領域を構成する第1マスク領域の周縁に隣接する所定の画素数は1画素であることが好ましい。第1濃度は例えば画像信号の黒レベルであり、第2濃度は所定のグレーレベルである。第1マスク領域は、画像の周縁部を取り囲む領域であり、第2マスク領域は、第1マスク領域の内側周縁部に沿った領域である。 The first mask area includes an oblique boundary line portion with respect to the horizontal line, and the second mask area is provided adjacent to the boundary line portion. The predetermined number of pixels adjacent to the periphery of the first mask region that constitutes the second mask region is preferably one pixel. The first density is, for example, the black level of the image signal, and the second density is a predetermined gray level. The first mask area is an area surrounding the peripheral edge of the image, and the second mask area is an area along the inner peripheral edge of the first mask area.
また、本発明の電子内視鏡装置は、上記マスク処理装置を用いて電子内視鏡で撮影された画像にマスク処理を施すことを特徴としている。 The electronic endoscope apparatus according to the present invention is characterized in that mask processing is performed on an image photographed by the electronic endoscope using the mask processing apparatus.
以上のように、本発明によれば、画像のマスク処理において、マスク境界におけるジャギーによる影響を簡略な構成かつ高速な処理により低減することができる。 As described above, according to the present invention, in image mask processing, the influence of jaggy on the mask boundary can be reduced by a simple configuration and high-speed processing.
以下、本発明の実施の形態を、図面を参照して説明する。
図1は、本発明の一実施形態である電子内視鏡システムの構成を模式的に示すブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram schematically showing a configuration of an electronic endoscope system according to an embodiment of the present invention.
電子内視鏡システム10は、管腔内に挿入される電子スコープ11と、電子スコープ11に照明光を供給するとともに電子スコープ11からの画像信号を処理するプロセッサユニット12と、電子スコープ11で撮影された内視鏡画像を表示するモニタ13から主に構成される。 The electronic endoscope system 10 is photographed by an electronic scope 11 inserted into a lumen, a processor unit 12 that supplies illumination light to the electronic scope 11 and processes an image signal from the electronic scope 11, and the electronic scope 11. It is mainly comprised from the monitor 13 which displays the endoscopic image which was made.
電子スコープ11は、従来周知のように可撓性を有する管状の挿入部14と、挿入部14が連結され、操作者が保持して各種操作を行う操作部15とを備える。また、操作部15は可撓管およびコネクタを介してプロセッサユニット12に着脱自在に装着され、電気的、光学的にプロセッサユニット12に接続される。 As is well known, the electronic scope 11 includes a flexible tubular insertion portion 14 and an operation portion 15 to which the insertion portion 14 is coupled and held by an operator to perform various operations. The operation unit 15 is detachably attached to the processor unit 12 via a flexible tube and a connector, and is electrically and optically connected to the processor unit 12.
挿入部14の先端には、CCDなどの撮像素子16が設けられ、撮像素子16からの画像信号は、操作部15に設けられた信号処理回路17を介してデジタル信号に変換され、プロセッサユニット12へと出力される。プロセッサユニット12では、画像信号に対して従来周知の所定の信号処理が施され、例えば所定の規格の映像信号に変換されてモニタ13へと出力される。 An image sensor 16 such as a CCD is provided at the distal end of the insertion unit 14, and an image signal from the image sensor 16 is converted into a digital signal via a signal processing circuit 17 provided in the operation unit 15, and the processor unit 12. Is output. In the processor unit 12, predetermined signal processing known in the art is performed on the image signal, converted into a video signal of a predetermined standard, for example, and output to the monitor 13.
また操作部15には、FPGAなどを用いたマスク回路18が設けられ、マスク回路18では、所定のマスクデータが保存、または生成される。マスク回路18からのマスク信号は、信号処理回路17へと送られ、撮像素子16からの画像信号に重畳され、これにより電子マスク処理が施される。本実施形態では、後述するように2種類のマスクデータ(第1および第2のマスクデータ)が用いられ、マスク回路18から信号処理回路17へと出力される。 The operation unit 15 is provided with a mask circuit 18 using an FPGA or the like, and the mask circuit 18 stores or generates predetermined mask data. The mask signal from the mask circuit 18 is sent to the signal processing circuit 17 and is superimposed on the image signal from the image sensor 16, whereby electronic mask processing is performed. In this embodiment, as will be described later, two types of mask data (first and second mask data) are used and output from the mask circuit 18 to the signal processing circuit 17.
なお、従来周知のように、電子スコープ11には、図示しないライトガイドが配設され、その一端はプロセッサユニット12内に設けられた光源と接続され、光源からの光はライトガイドを介して挿入部14の先端から管腔内へと照射される。また、撮像素子16は、操作部15内に設けられた撮像素子駆動回路(不図示)により駆動制御されるが、本実施形態では、撮像素子駆動回路は便宜的に信号処理回路17の一部として描かれている。 As is conventionally known, the electronic scope 11 is provided with a light guide (not shown), one end of which is connected to a light source provided in the processor unit 12, and light from the light source is inserted through the light guide. The light is irradiated from the tip of the portion 14 into the lumen. The image sensor 16 is driven and controlled by an image sensor drive circuit (not shown) provided in the operation unit 15. In the present embodiment, the image sensor drive circuit is a part of the signal processing circuit 17 for convenience. It is drawn as.
図2に、本実施形態のマスク処理が施され、モニタ13の画面13Aに表示される画像の一例を模式的に示す。画面13Aの周縁部には、第1のマスクデータにより第1マスク領域M1が形成され、第1マスク領域の内側には、第2のマスクデータにより第2マスク領域M2が形成される。第1マスク領域では、その領域の画素が黒レベル(第1濃度)とされ、第2マスク領域では、その領域の画素が黒レベルよりも薄い(明るい)濃度のグレーレベル(第2濃度)とされる。 FIG. 2 schematically shows an example of an image displayed on the screen 13 </ b> A of the monitor 13 after the mask processing of the present embodiment is performed. A first mask region M1 is formed by the first mask data at the peripheral portion of the screen 13A, and a second mask region M2 is formed by the second mask data inside the first mask region. In the first mask area, the pixels in that area are set to a black level (first density), and in the second mask area, the pixels in that area are set to a gray level (second density) that is lighter (brighter) than the black level. Is done.
図2において第2マスク領域M2は誇張されて描かれているが、第2マスク領域M2は、例えば第1マスク領域M1の内側周縁部に沿って隣接する1画素分内側の画素からなる。また、本実施形態において、第1および第2マスク領域M1、M2の四隅は弧状曲線とされる。 Although the second mask region M2 is exaggerated in FIG. 2, the second mask region M2 is made up of pixels that are, for example, one pixel inside along the inner peripheral edge of the first mask region M1. In the present embodiment, the four corners of the first and second mask regions M1 and M2 are arcuate curves.
図3に、弧状曲線とされた第1および第2マスク領域M1、M2の左上角部の拡大図を示す。図示されるように、第1マスク領域M1は、黒レベルのマスクであり、曲線部(斜めの直線であっても同様)においてジャギーが発生する。第2マスク領域M2は、グレーレベルのマスクであり、図示されるように、第1マスク領域M1の境界から水平方向内側へ、例えば一画素分形成される。すなわち、第2マスク領域M2は、水平走査による画面13Aへの描画において、各水平ラインにおける第1マスク領域M1の左右の内側境界画素に隣接した1画素をグレーレベルとすることにより形成される。 FIG. 3 shows an enlarged view of the upper left corner of the first and second mask regions M1 and M2 that are arcuate curves. As shown in the drawing, the first mask region M1 is a black level mask, and jaggy occurs in a curved portion (even if it is an oblique straight line). The second mask region M2 is a gray level mask, and is formed, for example, for one pixel from the boundary of the first mask region M1 to the inside in the horizontal direction as shown in the drawing. That is, the second mask region M2 is formed by setting one pixel adjacent to the left and right inner boundary pixels of the first mask region M1 in each horizontal line to a gray level in drawing on the screen 13A by horizontal scanning.
なお、本実施形態では、第1マスク領域M1の全周に沿った内側1画素分を第2マスク領域M2とするため、第1マスク領域M1が形成する上辺下側に隣接する1水平ラインと下辺上側に隣接する1水平ラインも第2マスク領域M2とされる。 In the present embodiment, since one inner pixel along the entire circumference of the first mask region M1 is defined as the second mask region M2, one horizontal line adjacent to the lower side of the upper side formed by the first mask region M1 One horizontal line adjacent to the upper side of the lower side is also set as the second mask region M2.
図4に、本実施形態におけるマスク処理の原理を模式的に示す。図4(a)は、撮像素子16からの信号処理回路17に入力される1水平ライン分のアナログ画像信号の一例である。なお、本実施形態において以下の処理は、例えばマスク回路18(図1参照)によるタイミング制御により、信号処理回路17において実行される。また、図4(a)において、信号部S1は映像信号部であり、信号部S2は水平同期信号部、信号部S3はカラーバースト信号部である。また、信号レベルL1は黒レベルを決定するペダスタルレベルである。 FIG. 4 schematically shows the principle of mask processing in the present embodiment. FIG. 4A is an example of an analog image signal for one horizontal line input to the signal processing circuit 17 from the image sensor 16. In the present embodiment, the following processing is executed in the signal processing circuit 17 by timing control by the mask circuit 18 (see FIG. 1), for example. In FIG. 4A, the signal part S1 is a video signal part, the signal part S2 is a horizontal synchronizing signal part, and the signal part S3 is a color burst signal part. The signal level L1 is a pedestal level that determines the black level.
図4(b)は、図4(a)の画像信号に第1のマスク処理を施した1水平ライン分のアナログ画像信号の一例である。すなわち、図4(b)において斜線が施された領域(水平ラインの両端に対応)の映像信号が、第1のマスク処理によりペダスタルレベルL1とされる。なお、これは図4(a)の画像信号に対して、斜線部に対応する区間、画像信号レベルをペダスタルレベルL1とすることにより達成される。 FIG. 4B is an example of an analog image signal for one horizontal line obtained by performing a first mask process on the image signal of FIG. That is, the video signal in the hatched area (corresponding to both ends of the horizontal line) in FIG. 4B is set to the pedestal level L1 by the first mask processing. This is achieved by setting the interval corresponding to the shaded portion and the image signal level to the pedestal level L1 with respect to the image signal in FIG.
図4(c)は、図4(b)において第1のマスク処理が施された画像信号に対して、本実施形態の第2のマスク処理を施した1水平ライン分のアナログ画像信号の一例である。図4(c)では、図4(b)において、ペダスタルレベルL1とされた、第1マスク領域M1の内側の例えば両側1画素分の映像信号に対して第2のマスク処理が施される。すなわち、斜線が施された領域の映像信号が、グレーレベルL2(ペダスタルレベルと映像信号の最大値との間の所定レベル(例えば中間値))の信号とされる。なお、第2のマスク処理は、図4(b)の画像信号に対し、斜線部に対応する区間、画像信号レベルをグレーレベルL2とすることにより達成される。 FIG. 4C shows an example of an analog image signal for one horizontal line obtained by performing the second mask process of the present embodiment on the image signal subjected to the first mask process in FIG. It is. In FIG. 4C, the second mask process is performed on the video signal of, for example, one pixel on both sides inside the first mask area M1, which is at the pedestal level L1 in FIG. 4B. . In other words, the video signal in the shaded area is a signal of the gray level L2 (a predetermined level (for example, an intermediate value) between the pedestal level and the maximum value of the video signal). The second mask process is achieved by setting the image signal level in FIG. 4B to the gray level L2 in the section corresponding to the shaded area.
以上のように、本実施形態によれば、電子内視鏡画像に対して簡略な構成で高速にマスク処理を施しつつ、マスク領域角分などのジャギーを目立たなくすることができる。特に、本実施形態では、アナログ信号に対して、第1、第2マスク領域に対応する所定区間、信号レベルを所定レベルに維持するだけの簡略な構成で、高速にジャギーを低減したマスク処理を施すことができる。このような回路は電子スコープ側に設けることが容易であるため、本実施形態の構成を採用することにより、電子スコープ側でジャギーを低減したマスク処理を施すことができる。これにより様々な電子スコープが装着されるプロセッサユニット側でマスク処理を行う必要がないため、プロセッサユニットが、装着された電子スコープの型を認識し、これに対応したマスク処理を施すためのデータ等を保持する必要がない。 As described above, according to the present embodiment, it is possible to make a jaggy such as a mask area angle inconspicuous while performing high-speed mask processing on an electronic endoscopic image with a simple configuration. In particular, in the present embodiment, mask processing that reduces jaggies at high speed with a simple configuration that only maintains the signal level at a predetermined interval and a predetermined level corresponding to the first and second mask regions in the analog signal is performed. Can be applied. Since such a circuit can be easily provided on the electronic scope side, by adopting the configuration of the present embodiment, it is possible to perform mask processing with reduced jaggy on the electronic scope side. As a result, it is not necessary to perform mask processing on the processor unit side where various electronic scopes are mounted, so the data for the processor unit to recognize the type of the electronic scope mounted and perform mask processing corresponding to this, etc. There is no need to hold.
なお、本実施形態の場合、ジャギーが発生するのは、境界線が弧状曲線となるマスク領域の4隅のみであるので、図5に示すように、ジャギー発生部のみに対して第2マスク領域M2’を設ける構成としてもよい。 In the present embodiment, jaggies are generated only at the four corners of the mask area where the boundary line is an arcuate curve. Therefore, as shown in FIG. It is good also as a structure which provides M2 '.
なお本発明は、マスク領域の境界におけるジャギー発生箇所に同様に適用できるものであって、マスク領域の角分が弧状曲線とされた本実施形態の他、斜めの直線を含む境界などにおいても適用可能である。また、本実施形態では、2段階のレベルのマスクを用いてマスク処理を行ったが、第2マスク領域の更に内側に、更に薄いグレーの領域を1重または複数設けることも可能である。 It should be noted that the present invention can be similarly applied to a jaggy occurrence location at the boundary of the mask region. In addition to the present embodiment in which the corner of the mask region is an arcuate curve, the present invention is also applied to a boundary including an oblique straight line. Is possible. In the present embodiment, mask processing is performed using a two-level mask. However, it is also possible to provide one or more light gray regions inside the second mask region.
また、本実施形態では、グレースケールを用いたが、マスクの色はグレーに限定されるものではなく、青など特定の色の複数のレベルのマスク領域を設ける構成としてもよい。 In this embodiment, the gray scale is used. However, the mask color is not limited to gray, and a plurality of levels of mask areas of specific colors such as blue may be provided.
更に、本実施形態では、アナログ信号に対してマスク処理を施したが、画像信号をデジタル信号に変換した後、第1マスク領域の内側の画素に対して第2のマスク処理を施すことも可能である。また、本実施形態においては、第2マスク領域は1画素分としたが1画素分以上であってもよい。 Further, in this embodiment, the analog signal is masked. However, after the image signal is converted to a digital signal, the second mask processing can be performed on the pixels inside the first mask region. It is. In the present embodiment, the second mask area is for one pixel, but it may be for one pixel or more.
10 電子内視鏡システム
11 電子スコープ
12 プロセッサユニット
13 モニタ
16 撮像素子
17 信号処理回路
18 マスク回路
M1 第1マスク領域
M2 第2マスク領域
L1 ペダスタルレベル
L2 グレーレベル
DESCRIPTION OF SYMBOLS 10 Electronic endoscope system 11 Electronic scope 12 Processor unit 13 Monitor 16 Image pick-up element 17 Signal processing circuit 18 Mask circuit M1 1st mask area | region M2 2nd mask area | region L1 Pedestal level L2 Gray level
Claims (6)
前記画像信号に対して相対的に濃い第1濃度の第1マスク領域を形成する第1マスク処理手段と、
前記第1マスク領域の周縁に隣接する所定の画素数分の領域の画素を、相対的に薄い第2濃度として第2マスク領域を形成する第2マスク処理手段とを
備えることを特徴とするマスク処理装置。 A mask processing apparatus that performs mask processing on an image signal from an image sensor,
First mask processing means for forming a first mask region having a first density relatively dark with respect to the image signal;
And a second mask processing means for forming a second mask region with a relatively thin second density of pixels in a predetermined number of pixels adjacent to the periphery of the first mask region. Processing equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007051157A JP2008212266A (en) | 2007-03-01 | 2007-03-01 | Masking device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007051157A JP2008212266A (en) | 2007-03-01 | 2007-03-01 | Masking device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008212266A true JP2008212266A (en) | 2008-09-18 |
Family
ID=39833066
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007051157A Pending JP2008212266A (en) | 2007-03-01 | 2007-03-01 | Masking device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008212266A (en) |
-
2007
- 2007-03-01 JP JP2007051157A patent/JP2008212266A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4780980B2 (en) | Endoscope device | |
| JP6104493B1 (en) | Imaging system | |
| US10548465B2 (en) | Medical imaging apparatus and medical observation system | |
| US11064144B2 (en) | Imaging element, imaging apparatus, and electronic equipment | |
| US6945928B2 (en) | Electronic endoscope system | |
| JP6847636B2 (en) | Medical signal processing equipment and medical observation system | |
| JPH03165732A (en) | Detecting method for insertion direction of endoscope | |
| US10123684B2 (en) | System and method for processing video images generated by a multiple viewing elements endoscope | |
| JP7016681B2 (en) | Endoscope system | |
| JP2020005844A (en) | Medical image processing apparatus and medical observation apparatus | |
| JP2007050110A (en) | Image processing apparatus and electronic endoscope apparatus | |
| JP2005204741A (en) | Electronic endoscope apparatus | |
| JP4606838B2 (en) | Electronic endoscope device | |
| JP5178898B1 (en) | Image signal correction device, imaging device, endoscope device | |
| JP2018138142A (en) | Medical signal processing device and medical observation system | |
| JP2008212266A (en) | Masking device | |
| JPH11341485A (en) | Electronic endoscope system | |
| JP5932191B1 (en) | Transmission system and processing device | |
| US20200021762A1 (en) | Medical image processing apparatus and medical observation system | |
| JPH01270842A (en) | Electronic endoscope device | |
| JP7224963B2 (en) | Medical controller and medical observation system | |
| WO2021192644A1 (en) | Endoscope and endoscope system | |
| JP2000287202A (en) | Electronic endoscope | |
| US12347070B2 (en) | Processor for electronic endoscope and electronic endoscopic system | |
| JP2014094175A (en) | Image processing system for electronic endoscope |