JP6310598B2 - Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus - Google Patents

Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus Download PDF

Info

Publication number
JP6310598B2
JP6310598B2 JP2017089968A JP2017089968A JP6310598B2 JP 6310598 B2 JP6310598 B2 JP 6310598B2 JP 2017089968 A JP2017089968 A JP 2017089968A JP 2017089968 A JP2017089968 A JP 2017089968A JP 6310598 B2 JP6310598 B2 JP 6310598B2
Authority
JP
Japan
Prior art keywords
image
display
area
information
storage unit
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.)
Active
Application number
JP2017089968A
Other languages
Japanese (ja)
Other versions
JP2017170157A (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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2017089968A priority Critical patent/JP6310598B2/en
Publication of JP2017170157A publication Critical patent/JP2017170157A/en
Application granted granted Critical
Publication of JP6310598B2 publication Critical patent/JP6310598B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、観察光学系及び固体撮像素子を有する内視鏡装置、及びこの内視鏡装置で得られた画像に画像処理を施してモニタに出力する画像処理装置、並びに内視鏡装置の作動方法に関する。   The present invention relates to an endoscope apparatus having an observation optical system and a solid-state image sensor, an image processing apparatus that performs image processing on an image obtained by the endoscope apparatus and outputs the processed image to a monitor, and operation of the endoscope apparatus Regarding the method.

従来から、医療分野において電子内視鏡を利用した医療診断が行われている。例えばスコープと呼ばれる電子内視鏡には、患者の体内に挿入される挿入部が設けられている。この挿入部の先端部位である挿入部先端部の内部空間には、観察光学系、及び観察光学系により結像される光学像を撮像する固体撮像素子などが設けられている。   Conventionally, medical diagnosis using an electronic endoscope has been performed in the medical field. For example, an electronic endoscope called a scope is provided with an insertion portion that is inserted into a patient's body. An observation optical system and a solid-state imaging device that captures an optical image formed by the observation optical system are provided in the internal space of the insertion portion distal end, which is the distal end portion of the insertion portion.

固体撮像素子は、挿入部先端部内の固体撮像素子枠に取り付け固定されたり、または、シールド枠の中に封止樹脂で固定されたりするので、固体撮像素子の取り付け位置精度は低くなる場合がある。また、挿入部先端部内での観察光学系の取り付け位置精度についても固体撮像素子と同様に低くなる場合がある。このような場合には、図19に示すように、固体撮像素子の有効画素エリア300の中心と、観察光学系の結像エリア302の中心とを一致させることが難しくなる。また、有効画素エリア300の一部は画像処理に使用されるため、有効画素エリア300の中心とモニタに表示される画像の表示エリア304の中心とが図19に示すように一致するとは限らない。このため、モニタに表示される画像に偏角等の不良が発生する。   Since the solid-state imaging device is attached and fixed to the solid-state imaging device frame in the distal end portion of the insertion portion, or is fixed to the shield frame with a sealing resin, the mounting position accuracy of the solid-state imaging device may be lowered. . In addition, the mounting position accuracy of the observation optical system in the distal end portion of the insertion portion may be lowered as in the case of the solid-state imaging device. In such a case, as shown in FIG. 19, it is difficult to make the center of the effective pixel area 300 of the solid-state imaging device coincide with the center of the imaging area 302 of the observation optical system. Further, since a part of the effective pixel area 300 is used for image processing, the center of the effective pixel area 300 and the center of the display area 304 of the image displayed on the monitor do not always match as shown in FIG. . For this reason, defects such as declination occur in the image displayed on the monitor.

そこで、特許文献1に記載の撮像装置では、観察光学系(結像エリア)の中心と表示エリアの中心とを一致させることにより、偏角等の不良がない良好な画像を得るようにしている。   Therefore, in the imaging apparatus described in Patent Document 1, a good image free from defects such as declination is obtained by matching the center of the observation optical system (imaging area) with the center of the display area. .

特許第4772826号公報Japanese Patent No. 477826

しかしながら、近年の電子内視鏡の観察光学系や固体撮像素子の小型化に伴い、観察光学系の結像エリアに対する有効画素エリアの余裕、及び表示エリアに対する結像エリアの余裕がそれぞれ確保できない場合がある。このような場合に、固体撮像素子等の取り付け精度が低いと、上記特許文献1に記載のように結像エリアの中心と、表示エリアの中心とを一致させたとしても、図20に示すように、結像エリア302内の表示エリア304と重複する領域の一部(図中のハッチングで表示されている部分)が有効画素エリア300外に位置するおそれがある。その結果、表示エリア304に対応する光学像の一部が有効画素エリア外に結像されてしまうことで、モニタに表示される画像にケラレが発生する。   However, due to the recent miniaturization of observation optical systems and solid-state image sensors for electronic endoscopes, it is not possible to secure a margin for the effective pixel area for the imaging area of the observation optical system and a margin for the imaging area for the display area. There is. In such a case, if the mounting accuracy of the solid-state imaging device or the like is low, even if the center of the imaging area and the center of the display area coincide with each other as described in Patent Document 1, as shown in FIG. In addition, there is a possibility that a part of the area overlapping with the display area 304 in the imaging area 302 (a portion displayed by hatching in the drawing) is located outside the effective pixel area 300. As a result, a part of the optical image corresponding to the display area 304 is formed outside the effective pixel area, causing vignetting in the image displayed on the monitor.

本発明はこのような事情に鑑みてなされたもので、固体撮像素子や観察光学系の取り付け精度が低い場合でもケラレのない良好な画像を得ることができる内視鏡装置及び画像処理装置並びに内視鏡装置の作動方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and is an endoscope apparatus, an image processing apparatus, and an internal apparatus capable of obtaining a good image without vignetting even when the mounting accuracy of a solid-state imaging device or an observation optical system is low. It is an object of the present invention to provide a method for operating an endoscope apparatus.

本発明の目的を達成するための内視鏡装置は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、記憶部に記憶されている画像切り出し情報に基づき、画像から表示用画像を切り出す画像処理部と、を備え、記憶部は、画像切り出し情報として、固体撮像素子の表示可能画素エリアと、観察光学系により固体撮像素子に結像される光学像の結像エリアとの重複領域であって、且つ結像エリアの中心と表示エリアの中心とを一致させた際の重複領域に対応する表示用画像を切り出すための画像切り出し領域を特定する情報を記憶し、画像処理部は、切り出した表示用画像を表示エリアの画像サイズに拡大する。   An endoscope apparatus for achieving the object of the present invention is an observation optical system and a solid-state imaging device that is positioned and fixed relative to the observation optical system and forms an optical image by the observation optical system. In order to cut out a display image corresponding to a display area to be displayed on a monitor from a solid-state imaging device in which a plurality of photoelectric conversion elements for photoelectrically converting an optical image are arranged and an image generated based on an imaging signal of the solid-state imaging device A storage unit that stores image cutout information for specifying an image cutout area, and an image processing unit that cuts out a display image from the image based on the image cutout information stored in the storage unit. As the cutout information, the displayable pixel area of the solid-state image sensor and the image formation area of the optical image formed on the solid-state image sensor by the observation optical system, and the center of the image formation area Information for specifying an image cutout area for cutting out the display image corresponding to the overlap area when the display area is matched with the center of the display area is stored, and the image processing unit displays the cutout display image in the image size of the display area. Expand to.

本発明によれば、固体撮像素子や観察光学系の取り付け精度が低いため、結像エリア内の表示エリアと重複する領域の一部が表示可能画素エリア外に位置するような場合でも、表示エリアの画像サイズに拡大された表示用画像をモニタに表示させることができる。   According to the present invention, since the mounting accuracy of the solid-state imaging device and the observation optical system is low, even when a part of the area overlapping the display area in the imaging area is located outside the displayable pixel area, the display area The display image enlarged to the image size can be displayed on the monitor.

本発明の他の態様に係る内視鏡装置において、記憶部は、表示用画像を表示エリアの画像サイズに拡大するための倍率を示す倍率情報をさらに記憶し、画像処理部は、記憶部に記憶されている倍率情報に従って、表示用画像の拡大を行う。予め記憶部に記憶されている倍率情報に従って切り出した表示用画像を拡大するだけで、この表示用画像を表示エリアの画像サイズに簡単に調整することができる。   In the endoscope apparatus according to another aspect of the present invention, the storage unit further stores magnification information indicating a magnification for enlarging the display image to the image size of the display area, and the image processing unit is stored in the storage unit. The display image is enlarged according to the stored magnification information. The display image can be easily adjusted to the image size of the display area simply by enlarging the display image cut out in accordance with the magnification information stored in advance in the storage unit.

本発明の他の態様に係る内視鏡装置において、記憶部には、複数の表示エリアのそれぞれに対応した画像切り出し情報及び倍率情報が記憶されており、複数の表示エリアの中からモニタに表示する表示エリアを選択する選択部を備え、画像処理部は、選択部にて選択された表示エリアに対応する画像切り出し情報及び倍率情報を記憶部から取得して、画像切り出し情報に基づき画像から表示用画像を切り出し、かつ倍率情報に従って表示用画像の拡大を行う。これにより、表示エリアの選択や切り替えを行った場合でもケラレのない良好な観察像が得られる。   In the endoscope apparatus according to another aspect of the present invention, image storage information and magnification information corresponding to each of the plurality of display areas are stored in the storage unit, and displayed on the monitor from the plurality of display areas. A selection unit that selects a display area to be acquired, and the image processing unit acquires image cutout information and magnification information corresponding to the display area selected by the selection unit from the storage unit, and displays the image cutout information and the image based on the image cutout information. A display image is cut out and the display image is enlarged according to the magnification information. Thereby, even when the display area is selected or switched, a good observation image without vignetting can be obtained.

本発明の他の態様に係る内視鏡装置において、記憶部に記憶される画像切り出し情報は、表示エリアと同じアスペクト比を有する画像切り出し領域を示す情報である。これにより、表示用画像の拡大を行った場合でも違和感のない画像をモニタに表示させることができる。   In the endoscope apparatus according to another aspect of the present invention, the image cutout information stored in the storage unit is information indicating an image cutout area having the same aspect ratio as the display area. Thereby, even when the display image is enlarged, an image without a sense of incongruity can be displayed on the monitor.

本発明の他の態様に係る内視鏡装置において、表示可能画素エリアの垂直方向及び水平方向の画素数を2V、2Hとし、表示エリアの垂直方向及び水平方向の画素数を2L、2Lとし、表示可能画素エリアの中心と結像エリアの中心との垂直方向及び水平方向のずれ量を画素数で表したものをD、Dとした場合に、画像切り出し情報が下記の式(1)及び式(2)の少なくともいずれかが満たされる画像切り出し領域を示す情報である場合に、画像処理部による表示用画像の拡大を行う。これにより、画像切り出し処理や画像拡大処理を行う必要がない場合までこれらの処理が実行されることが防止される。 In the endoscope apparatus according to another aspect of the present invention, the number of pixels in the vertical and horizontal directions of the displayable pixel area is 2V and 2H, and the number of pixels in the vertical and horizontal directions of the display area is 2L V and 2L H. When the V D and D H represent the amount of deviation in the vertical and horizontal directions between the center of the displayable pixel area and the center of the imaging area in terms of the number of pixels, When the information indicates an image cutout region that satisfies at least one of 1) and Equation (2), the image for display is enlarged by the image processing unit. Thus, these processes are prevented from being executed until it is not necessary to perform the image cut-out process or the image enlargement process.

V−L≦D・・・(1)
H−L≦D・・・(2)
本発明の他の態様に係る内視鏡装置において、画像処理部は、表示用画像の拡大を行う倍率をmとした場合に、下記の式(3)及び式(4)でそれぞれ示される倍率mのうち、倍率の高い方で表示用画像の拡大を行う。これにより、切り出した表示用画像の画像サイズを表示エリアの画像サイズに拡大することができる。
V−L V ≦ D V (1)
H−L H ≦ D H (2)
In the endoscope apparatus according to another aspect of the present invention, the image processing unit has magnifications represented by the following equations (3) and (4), where m is the magnification for enlarging the display image. The display image is enlarged at the higher magnification of m. Thereby, the image size of the clipped display image can be enlarged to the image size of the display area.

m=L/(V−D)・・・(3)
m=L/(H−D)・・・(4)
本発明の他の態様に係る内視鏡装置において、倍率の高い方が許容倍率以下である場合に、画像処理部による表示用画像の拡大を行う。これにより、画像品質の悪い観察像の表示を行うことが防止される。
m = L V / (V−D V ) (3)
m = L H / (H−D H ) (4)
In the endoscope apparatus according to another aspect of the present invention, when the higher magnification is equal to or less than the allowable magnification, the image for display is enlarged by the image processing unit. Thereby, it is possible to prevent an observation image with poor image quality from being displayed.

本発明の他の態様に係る内視鏡装置において、表示用画像には、表示エリアと同形状にマスキングするマスク処理が画像処理部により施されている。これにより、表示エリアと同形状の表示用画像をモニタに表示することができる。   In the endoscope apparatus according to another aspect of the present invention, a mask process for masking the display image in the same shape as the display area is performed on the display image. Thereby, the display image having the same shape as the display area can be displayed on the monitor.

本発明の目的を達成するための画像処理装置は、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を生成してモニタに出力する画像処理装置において、画像から表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部より、画像切り出し情報を取得する情報取得部と、情報取得部が取得した画像切り出し情報に基づき、画像から表示用画像を切り出す画像処理部と、を備え、情報取得部は、画像切り出し情報として、固体撮像素子の表示可能画素エリアと、観察光学系により固体撮像素子に結像される光学像の結像エリアとの重複領域であって、且つ結像エリアの中心と表示エリアの中心とを一致させた際の重複領域に対応する表示用画像を切り出すための画像切り出し領域を特定する情報を記憶部から取得し、画像処理部は、切り出した表示用画像を表示エリアの画像サイズに拡大する。   An image processing apparatus for achieving the object of the present invention is a solid-state image sensor that is positioned and fixed relative to an observation optical system and forms an optical image by the observation optical system, and photoelectrically converts the optical image. In an image processing apparatus that generates a display image corresponding to a display area displayed on a monitor from an image generated based on an imaging signal of a solid-state imaging device in which a plurality of photoelectric conversion elements are arranged, Display from the image based on the information acquisition unit for acquiring the image cut-out information from the storage unit for storing the image cut-out information for specifying the image cut-out region for cutting out the display image from the image, and the image cut-out information acquired by the information acquisition unit An image processing unit that cuts out an image for image processing. To cut out a display image corresponding to the overlapping area when the center of the imaging area and the center of the display area coincide with the imaging area of the optical image formed on the image element. The information for specifying the image cutout area is acquired from the storage unit, and the image processing unit enlarges the cutout display image to the image size of the display area.

本発明の目的を達成するための内視鏡装置の作動方法は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、記憶部に記憶されている画像切り出し情報に基づき、画像から表示用画像を切り出す画像処理部と、を備える内視鏡装置の作動方法において、記憶部が、画像切り出し情報として、固体撮像素子の表示可能画素エリアと、観察光学系により固体撮像素子に結像される光学像の結像エリアとの重複領域であって、且つ結像エリアの中心と表示エリアの中心とを一致させた際の重複領域に対応する表示用画像を切り出すための画像切り出し領域を特定する情報を記憶し、画像処理部が、切り出した表示用画像を表示エリアの画像サイズに拡大する。   An operation method of an endoscope apparatus for achieving the object of the present invention includes an observation optical system and a solid-state imaging device that is positioned and fixed relative to the observation optical system and forms an optical image by the observation optical system. An image for display corresponding to a display area displayed on a monitor from a solid-state imaging device in which a plurality of photoelectric conversion elements for photoelectrically converting an optical image are arranged and an image generated based on an imaging signal of the solid-state imaging device An endoscope comprising: a storage unit that stores image cutout information for specifying an image cutout region for cutting out an image; and an image processing unit that cuts out a display image from the image based on the image cutout information stored in the storage unit In the operation method of the apparatus, the storage unit includes, as image cutout information, a displayable pixel area of the solid-state imaging device and an imaging area of an optical image formed on the solid-state imaging device by the observation optical system. Information for specifying an image cut-out area for cutting out a display image corresponding to the overlap area when the center of the imaging area coincides with the center of the display area is stored in the image processing unit. However, the clipped display image is enlarged to the image size of the display area.

本発明の他の態様に係る内視鏡装置の作動方法において、記憶部は、表示用画像を表示エリアの画像サイズに拡大するための倍率を示す倍率情報をさらに記憶し、画像処理部は、記憶部に記憶されている倍率情報に従って、表示用画像の拡大を行う。   In the operation method of the endoscope apparatus according to another aspect of the present invention, the storage unit further stores magnification information indicating a magnification for enlarging the display image to the image size of the display area, and the image processing unit includes: The display image is enlarged according to the magnification information stored in the storage unit.

本発明の内視鏡装置及び画像処理装置並びに内視鏡装置の作動方法は、固体撮像素子や観察光学系の取り付け精度が低い場合でもケラレのない良好な画像を得ることができる。   The endoscope apparatus, the image processing apparatus, and the operation method of the endoscope apparatus according to the present invention can obtain a good image without vignetting even when the mounting accuracy of the solid-state imaging device or the observation optical system is low.

本発明に係る内視鏡装置の斜視図である。1 is a perspective view of an endoscope apparatus according to the present invention. 内視鏡装置の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of an endoscope apparatus. 有効画素エリアの中心と観察光学系の中心とが一致する理想状態での有効画素エリアと結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area in the ideal state in which the center of an effective pixel area and the center of an observation optical system correspond, an imaging area, and a display area. 有効画素エリアの中心と観察光学系の中心とにずれが生じている現実状態での有効画素エリアと結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area in the real state in which the shift | offset | difference has arisen with the center of an effective pixel area, and the center of an observation optical system, an imaging area, and a display area. 画像切り出し領域、及び画像切り出し情報を説明するための説明図である。It is explanatory drawing for demonstrating an image cut-out area | region and image cut-out information. 倍率情報を説明するための説明図である。It is explanatory drawing for demonstrating magnification information. 図2に示した画像処理部の機能ブロック図である。FIG. 3 is a functional block diagram of an image processing unit illustrated in FIG. 2. マスク処理部によるマスク処理を説明するための説明図である。It is explanatory drawing for demonstrating the mask process by a mask process part. 電子内視鏡の製造工程の一部の工程であり、画像切り出し情報及び倍率情報の記憶工程の流れを示すフローチャートである。It is a flowchart which is a part of manufacturing process of an electronic endoscope, and shows a flow of a storage process of image cutout information and magnification information. 本発明の画像調整方法に係る画像処理を含む観察像の表示処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the display process of the observation image containing the image process which concerns on the image adjustment method of this invention. 本発明の画像調整方法に係る画像処理を説明するための説明図である。It is explanatory drawing for demonstrating the image processing which concerns on the image adjustment method of this invention. 他実施例1の内視鏡装置における有効画素エリア(表示可能画素エリア)と結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area (displayable pixel area), image formation area, and display area in the endoscope apparatus of other Example 1. FIG. 他実施例1の内視鏡装置で実行される画像処理を説明するための説明図である。It is explanatory drawing for demonstrating the image process performed with the endoscope apparatus of the other Example 1. FIG. 他実施例2の内視鏡装置における有効画素エリア(表示可能画素エリア)と結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area (displayable pixel area) in the endoscope apparatus of other Example 2, an imaging area, and a display area. 他実施例2の内視鏡装置で実行される画像処理を説明するための説明図である。It is explanatory drawing for demonstrating the image process performed with the endoscope apparatus of the other Example 2. FIG. 他実施例3の内視鏡装置のプロセッサ装置の要部の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the principal part of the processor apparatus of the endoscope apparatus of other Example 3. 本発明の内視鏡装置に用いられるカプセルシステムの概略図である。It is the schematic of the capsule system used for the endoscope apparatus of this invention. 他実施形態のカプセルシステムの概略図である。It is the schematic of the capsule system of other embodiment. 有効画素エリアの中心と観察光学系の中心とが一致する状態での有効画素エリアと結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area in the state in which the center of an effective pixel area and the center of an observation optical system correspond, an imaging area, and a display area. 有効画素エリアの中心と観察光学系の中心とにずれが生じている状態での有効画素エリア(表示可能画素エリア)と結像エリアと表示エリアとの位置関係を説明するための説明図である。It is explanatory drawing for demonstrating the positional relationship of the effective pixel area (displayable pixel area), the image formation area, and the display area in the state which has shifted | deviated between the center of an effective pixel area and the center of an observation optical system. .

以下、添付図面に従って本発明に係る内視鏡装置について説明する。   Hereinafter, an endoscope apparatus according to the present invention will be described with reference to the accompanying drawings.

[内視鏡装置の全体構成]
図1は、本発明に係る内視鏡装置(内視鏡システムともいう)10の外観斜視図である。内視鏡装置10は、大別して、患者体内の観察部位を撮像するスコープ(ここでは軟性内視鏡)としての電子内視鏡11、光源装置12、プロセッサ装置13、及びモニタ14などを備えている。
[Entire configuration of endoscope apparatus]
FIG. 1 is an external perspective view of an endoscope apparatus (also referred to as an endoscope system) 10 according to the present invention. The endoscope apparatus 10 is roughly divided and includes an electronic endoscope 11, a light source device 12, a processor device 13, a monitor 14, and the like as a scope (here, a flexible endoscope) that images an observation site in a patient. Yes.

光源装置12は、観察部位を照明する照明光を電子内視鏡11へ供給する。プロセッサ装置13は、本発明の画像処理装置の一形態に相当するものであり、電子内視鏡11により得られた撮像信号に基づいてモニタ14に表示する表示用画像の画像データ(以下、表示用画像データという)を生成してモニタ14に出力する。モニタ14は、プロセッサ装置13から入力される画像データに基づき観察部位の観察像を表示する。   The light source device 12 supplies illumination light for illuminating the observation site to the electronic endoscope 11. The processor device 13 corresponds to an embodiment of the image processing device of the present invention, and image data (hereinafter referred to as a display image) of a display image to be displayed on the monitor 14 based on an imaging signal obtained by the electronic endoscope 11. Image data) and output to the monitor 14. The monitor 14 displays an observation image of the observation site based on the image data input from the processor device 13.

電子内視鏡11は、患者体内に挿入される可撓性の挿入部16と、挿入部16の基端部に連設され、電子内視鏡11の把持及び挿入部16の操作に用いられる操作部17と、操作部17を光源装置12及びプロセッサ装置13に接続するユニバーサルコード18とを備えている。   The electronic endoscope 11 is connected to a flexible insertion portion 16 to be inserted into a patient's body and a proximal end portion of the insertion portion 16, and is used for gripping the electronic endoscope 11 and operating the insertion portion 16. An operation unit 17 and a universal cord 18 that connects the operation unit 17 to the light source device 12 and the processor device 13 are provided.

挿入部16の先端部位である挿入部先端部16aには、観察部位の照明や撮影に用いられる観察光学系、固体撮像素子などが内蔵されている。挿入部先端部16aの後端には、湾曲自在な湾曲部16bが連設されている。また、湾曲部16bの後端には、可撓性を有する可撓管部16cが連設されている。   The insertion portion distal end portion 16a, which is the distal end portion of the insertion portion 16, incorporates an observation optical system, a solid-state imaging device, and the like used for illumination of the observation portion and photographing. A bendable bending portion 16b is connected to the rear end of the insertion portion distal end portion 16a. A flexible tube portion 16c having flexibility is connected to the rear end of the curved portion 16b.

操作部17には、アングルノブ21、操作ボタン22、及び鉗子入口23などが設けられている。アングルノブ21は、湾曲部16bの湾曲方向及び湾曲量を調整する際に回転操作される。操作ボタン22は、送気・送水や吸引等の各種の操作に用いられる。鉗子入口23は、挿入部16内の鉗子チャネルに連通している。   The operation unit 17 is provided with an angle knob 21, an operation button 22, a forceps inlet 23, and the like. The angle knob 21 is rotated when adjusting the bending direction and the bending amount of the bending portion 16b. The operation button 22 is used for various operations such as air / water supply and suction. The forceps inlet 23 communicates with a forceps channel in the insertion portion 16.

ユニバーサルコード18には、送気・送水チャンネル、信号ケーブル、及びライトガイドなどが組み込まれている。ユニバーサルコード18の先端部には、光源装置12に接続されるコネクタ部25aと、プロセッサ装置13に接続されるコネクタ部25bとが設けられている。これにより、コネクタ部25aを介して、光源装置12から電子内視鏡11に照明光が供給されると共に、コネクタ部25bを介して、電子内視鏡11により得られた撮像信号がプロセッサ装置13に入力される。   The universal cord 18 incorporates an air / water channel, a signal cable, a light guide, and the like. The distal end portion of the universal cord 18 is provided with a connector portion 25a connected to the light source device 12 and a connector portion 25b connected to the processor device 13. Thereby, illumination light is supplied from the light source device 12 to the electronic endoscope 11 via the connector portion 25a, and an imaging signal obtained by the electronic endoscope 11 via the connector portion 25b is processed by the processor device 13. Is input.

[内視鏡装置の電気的構成]
図2は、内視鏡装置10の電気的構成を示すブロック図である。図2に示すように、光源装置12は、光源CPU31、光源32、光源ドライバ33、絞り機構34、及び集光レンズ35を有している。光源CPU31は、光源ドライバ33及び絞り機構34の制御を行う。また、光源CPU31は、プロセッサ装置13のプロセッサCPU61と通信を行い、各種情報の遣り取りを行う。
[Electric configuration of endoscope apparatus]
FIG. 2 is a block diagram showing an electrical configuration of the endoscope apparatus 10. As shown in FIG. 2, the light source device 12 includes a light source CPU 31, a light source 32, a light source driver 33, a diaphragm mechanism 34, and a condenser lens 35. The light source CPU 31 controls the light source driver 33 and the diaphragm mechanism 34. Further, the light source CPU 31 communicates with the processor CPU 61 of the processor device 13 to exchange various information.

光源32は、LEDやLDなどの半導体光源あるいはキセノンランプなどが用いられ、光源ドライバ33により照明光の出射が制御される。絞り機構34は、光源32の光射出側に配置され、光源32から集光レンズ35に入射される照明光の光量を増減させる。集光レンズ35は、絞り機構34を通過した照明光を集光して、光源装置12に接続されたコネクタ部25a内のライトガイド40の入射端に導く。   As the light source 32, a semiconductor light source such as an LED or an LD, a xenon lamp, or the like is used. The diaphragm mechanism 34 is disposed on the light emission side of the light source 32 and increases or decreases the amount of illumination light incident on the condenser lens 35 from the light source 32. The condensing lens 35 condenses the illumination light that has passed through the diaphragm mechanism 34 and guides it to the incident end of the light guide 40 in the connector portion 25 a connected to the light source device 12.

電子内視鏡11は、大別して、ライトガイド40、照明窓42、観察窓43、観察光学系44、固体撮像素子45、内視鏡CPU47、ROM48、及び内視鏡記憶部49を有している。   The electronic endoscope 11 roughly includes a light guide 40, an illumination window 42, an observation window 43, an observation optical system 44, a solid-state imaging device 45, an endoscope CPU 47, a ROM 48, and an endoscope storage unit 49. Yes.

ライトガイド40は、大口径光ファイバ、バンドルファイバなどが用いられる。ライトガイド40は、その入射端がコネクタ部25aを介して光源装置12に挿入されており、その出射端が挿入部16を通って挿入部先端部16a内に設けられた照明窓42に対向している。光源装置12からライトガイド40に供給された照明光は、照明窓42を通して観察部位に照射される。そして、観察部位で反射/散乱した照明光は、観察窓43を通して観察光学系44に入射する。   For the light guide 40, a large-diameter optical fiber, a bundle fiber, or the like is used. The light guide 40 has an incident end inserted into the light source device 12 via the connector portion 25a, and an emission end opposed to an illumination window 42 provided in the insertion portion distal end portion 16a through the insertion portion 16. ing. The illumination light supplied from the light source device 12 to the light guide 40 is irradiated to the observation site through the illumination window 42. The illumination light reflected / scattered at the observation site enters the observation optical system 44 through the observation window 43.

観察光学系44は、観察窓43の奥側に配置されている。観察光学系44は、観察窓43を通して入射した照明光の反射光または散乱光、すなわち、観察部位の光学像を固体撮像素子45の撮像面に結像させる。   The observation optical system 44 is disposed on the back side of the observation window 43. The observation optical system 44 forms reflected light or scattered light of illumination light incident through the observation window 43, that is, an optical image of the observation site on the imaging surface of the solid-state imaging device 45.

固体撮像素子45は、CMOS(complementary metal oxide semiconductor)型又はCCD(charge coupled device)型の撮像素子であり、観察光学系44よりも奥側の位置で観察光学系44に相対的に位置決め固定されている。固体撮像素子45の撮像面には、光学像を光電変換する複数の光電変換素子PD(図3参照)により構成される複数の画素が2次元配列されている。固体撮像素子45は、観察光学系44により結像される光学像を電気的な撮像信号に変換してプロセッサ装置13に出力する。   The solid-state imaging device 45 is a CMOS (complementary metal oxide semiconductor) type or CCD (charge coupled device) type imaging device, and is relatively positioned and fixed to the observation optical system 44 at a position farther from the observation optical system 44. ing. A plurality of pixels constituted by a plurality of photoelectric conversion elements PD (see FIG. 3) that photoelectrically convert an optical image are two-dimensionally arranged on the imaging surface of the solid-state imaging element 45. The solid-state imaging device 45 converts the optical image formed by the observation optical system 44 into an electrical imaging signal and outputs it to the processor device 13.

なお、固体撮像素子45がCMOS型である場合には、A/D変換器が内蔵されており、固体撮像素子45からプロセッサ装置13に対してデジタルの撮像信号が直接出力される。また、固体撮像素子45がCCD型である場合には、固体撮像素子45から出力される撮像信号は図示しないA/D変換器等でデジタルな撮像信号に変換された後、プロセッサ装置13に出力される。   When the solid-state image sensor 45 is a CMOS type, an A / D converter is built in, and a digital image signal is directly output from the solid-state image sensor 45 to the processor device 13. When the solid-state image sensor 45 is a CCD type, an image signal output from the solid-state image sensor 45 is converted into a digital image signal by an A / D converter (not shown) and then output to the processor device 13. Is done.

内視鏡CPU47は、ROM48等から読み出した各種プログラムやデータを逐次実行して、主として固体撮像素子45の駆動を制御する。なお、固体撮像素子45がCMOS型である場合には、内視鏡CPU47が固体撮像素子45に内蔵されていてもよい。   The endoscope CPU 47 sequentially executes various programs and data read from the ROM 48 and the like, and mainly controls the driving of the solid-state image sensor 45. When the solid-state image sensor 45 is a CMOS type, the endoscope CPU 47 may be built in the solid-state image sensor 45.

また、内視鏡CPU47は、プロセッサ装置13のプロセッサCPU61と通信を行って、ROM48や内視鏡記憶部49に記憶されている情報を、プロセッサ装置13に送信する。ROM48には、プロセッサ装置13に送信される情報として、例えば、電子内視鏡11の種類を識別するための識別情報が記憶されている。   Further, the endoscope CPU 47 communicates with the processor CPU 61 of the processor device 13 to transmit information stored in the ROM 48 and the endoscope storage unit 49 to the processor device 13. The ROM 48 stores, for example, identification information for identifying the type of the electronic endoscope 11 as information transmitted to the processor device 13.

内視鏡記憶部49は、本発明の記憶部の一形態に相当するものである。内視鏡記憶部49には、プロセッサ装置13に送信される情報として、詳しくは後述する画像切り出し情報51及び倍率情報53が電子内視鏡11の製造時に予め記憶されている。   The endoscope storage unit 49 corresponds to an embodiment of the storage unit of the present invention. In the endoscope storage unit 49, image cutout information 51 and magnification information 53, which will be described in detail later, are stored in advance as information transmitted to the processor device 13 when the electronic endoscope 11 is manufactured.

プロセッサ装置13は、プロセッサCPU61、ROM62、デジタル信号処理回路(DSP:Digital Signal Processor)63、プロセッサ記憶部64、画像処理部65、及び表示ドライバ66を有している。   The processor device 13 includes a processor CPU 61, a ROM 62, a digital signal processing circuit (DSP) 63, a processor storage unit 64, an image processing unit 65, and a display driver 66.

プロセッサCPU61は、ROM62から必要なプログラムやデータを読み出して逐次処理することで、プロセッサ装置13の各部を制御する。また、プロセッサCPU61は、内視鏡CPU47から送信された識別情報をDSP63に出力すると共に、画像切り出し情報51及び倍率情報53を画像処理部65に出力する。従って、プロセッサCPU61は、本発明の情報取得部の一形態に相当するものである。   The processor CPU 61 controls each unit of the processor device 13 by reading out necessary programs and data from the ROM 62 and sequentially processing them. The processor CPU 61 outputs the identification information transmitted from the endoscope CPU 47 to the DSP 63, and outputs the image cutout information 51 and the magnification information 53 to the image processing unit 65. Therefore, the processor CPU 61 corresponds to an embodiment of the information acquisition unit of the present invention.

DSP63は、プロセッサCPU61の制御の下、電子内視鏡11から入力された1フレーム分の画像信号に対し、色補間、色分離、色バランス調整、ガンマ補正、画像強調処理等の各種信号処理を行い、1フレーム分の画像データを生成する。なお、DSP63は、プロセッサCPU61から入力された識別情報に基づき、電子内視鏡11の種類(機種)に応じた各種の信号処理を行う。そして、DSP63は、生成した1フレーム分ごとの画像データを逐次に画像処理部65に出力する。   The DSP 63 performs various signal processing such as color interpolation, color separation, color balance adjustment, gamma correction, and image enhancement processing on the image signal for one frame input from the electronic endoscope 11 under the control of the processor CPU 61. Then, image data for one frame is generated. The DSP 63 performs various types of signal processing according to the type (model) of the electronic endoscope 11 based on the identification information input from the processor CPU 61. Then, the DSP 63 sequentially outputs the generated image data for each frame to the image processing unit 65.

プロセッサ記憶部64は、本発明の記憶部の一形態に相当するものである。プロセッサ記憶部64は、プロセッサCPU61から入力された画像切り出し情報51及び倍率情報53を記憶する。   The processor storage unit 64 corresponds to an embodiment of the storage unit of the present invention. The processor storage unit 64 stores the image cutout information 51 and the magnification information 53 input from the processor CPU 61.

画像処理部65は、プロセッサCPU61の制御の下、プロセッサ記憶部64から取得した画像切り出し情報51及び倍率情報53に基づき、DSP63から入力される画像データに対して画像切り出し処理、画像拡大処理、マスク処理を施すことで、表示用画像データを生成する。そして、画像処理部65は、表示用画像データを表示ドライバ66に出力する。   The image processing unit 65 performs image clipping processing, image enlargement processing, masking on image data input from the DSP 63 based on the image clipping information 51 and the magnification information 53 acquired from the processor storage unit 64 under the control of the processor CPU 61. By performing the processing, display image data is generated. Then, the image processing unit 65 outputs the display image data to the display driver 66.

表示ドライバ66は、画像処理部65から入力される表示用画像データに基づき、モニタ14に観察部位の観察像を表示させる。   The display driver 66 displays an observation image of the observation site on the monitor 14 based on the display image data input from the image processing unit 65.

[画像切り出し情報]
図3は、固体撮像素子45の有効画素エリア150(表示可能画素エリア155)の中心と、観察光学系44の中心とが一致している理想状態での有効画素エリア150(表示可能画素エリア155)と結像エリア160と表示エリア170との位置関係を説明するための説明図である。また、図4は、固体撮像素子45の有効画素エリア150の中心と、観察光学系44の中心とにずれが生じている現実状態での有効画素エリア150と結像エリア160と表示エリア170との位置関係を説明するための説明図である。
[Image clipping information]
FIG. 3 shows an effective pixel area 150 (displayable pixel area 155) in an ideal state where the center of the effective pixel area 150 (displayable pixel area 155) of the solid-state imaging device 45 and the center of the observation optical system 44 coincide. ), The imaging area 160, and the display area 170 are explanatory diagrams for explaining the positional relationship. 4 shows the effective pixel area 150, the imaging area 160, and the display area 170 in a real state where the center of the effective pixel area 150 of the solid-state imaging device 45 and the center of the observation optical system 44 are shifted. It is explanatory drawing for demonstrating these positional relationships.

図3に示すように、有効画素エリア150は、固体撮像素子45の撮像面上において画素の信号が実際に撮像した信号として用いられる画素エリアであり、本実施形態では矩形状の画素エリアである。   As shown in FIG. 3, the effective pixel area 150 is a pixel area that is used as a signal obtained by actually imaging a pixel signal on the imaging surface of the solid-state imaging device 45, and is a rectangular pixel area in the present embodiment. .

また、有効画素エリア150内には、モニタ14での画像表示に用いられるエリアである表示可能画素エリア155が含まれている。具体的に、表示可能画素エリア155は、有効画素エリア150から画像処理等に使用する部分と、数画素の余裕しろとを除いたエリアである。本実施形態の表示可能画素エリア155は矩形状の画素エリアであり、その垂直方向及び水平方向の画素数は、「2V」、「2H」である。本実施形態では、図面の煩雑化を防止するため、有効画素エリア150の中心である画素エリア中心CGの位置と、表示可能画素エリア155の中心の位置とを一致させている。従って、画素エリア中心CGは、表示可能画素エリア155の中心に相当する。なお、有効画素エリア150の中心と表示可能画素エリア155の中心との位置がずれていてもよい。   The effective pixel area 150 includes a displayable pixel area 155 that is an area used for image display on the monitor 14. Specifically, the displayable pixel area 155 is an area obtained by removing a portion used for image processing and the like from the effective pixel area 150 and a margin of several pixels. The displayable pixel area 155 of this embodiment is a rectangular pixel area, and the number of pixels in the vertical and horizontal directions is “2V” and “2H”. In the present embodiment, the position of the pixel area center CG, which is the center of the effective pixel area 150, and the position of the center of the displayable pixel area 155 are matched in order to prevent the drawing from becoming complicated. Therefore, the pixel area center CG corresponds to the center of the displayable pixel area 155. Note that the positions of the center of the effective pixel area 150 and the center of the displayable pixel area 155 may be shifted.

結像エリア160は、観察光学系44により固体撮像素子45の撮像面に結像される光学像のエリアであり、本実施形態では円形状のエリアである。   The imaging area 160 is an area of an optical image formed on the imaging surface of the solid-state imaging device 45 by the observation optical system 44, and is a circular area in this embodiment.

表示エリア170は、モニタ14に表示される、後述するマスク処理が施された画像の観察部位表示エリアである。本実施形態の表示エリア170は円形状のエリアであり、その垂直方向及び水平方向の最大画素数は、「2L」、「2L」(2L=2L)である。 The display area 170 is an observation site display area of an image displayed on the monitor 14 and subjected to mask processing described later. The display area 170 of this embodiment is a circular area, and the maximum number of pixels in the vertical and horizontal directions is “2L V ” and “2L H ” (2L V = 2L H ).

本実施形態では、上記特許文献1と同様に結像エリア160の中心である結像エリア中心CKと、表示エリア170の中心である表示エリア中心CHとを一致させている。例えば、結像エリア中心CKを基準として、DSP63から入力される画像データから表示用画像データを切り出すことにより、結像エリア中心CKと表示エリア中心CHとを一致させることができる。これにより、偏角のない観察像が得られる。   In the present embodiment, the imaging area center CK, which is the center of the imaging area 160, and the display area center CH, which is the center of the display area 170, are made to coincide with each other as in Patent Document 1. For example, the image formation area center CK and the display area center CH can be matched by cutting out the display image data from the image data input from the DSP 63 with the image formation area center CK as a reference. Thereby, an observation image without a declination is obtained.

画像切り出し情報51は、DSP63から出力される画像データから、モニタ14に表示する表示エリア170に対応する表示用画像データを切り出すための画像切り出し領域TR(図5参照)を特定する情報である。この画像切り出し情報51は、表示可能画素エリア155と、結像エリア160との重複領域であって、且つ結像エリア中心CKと表示エリア中心CHとを一致させた際の重複領域に対応する表示用画像データを切り出すための画像切り出し領域TRを特定する情報である。   The image cutout information 51 is information for specifying an image cutout region TR (see FIG. 5) for cutting out display image data corresponding to the display area 170 displayed on the monitor 14 from the image data output from the DSP 63. This image cutout information 51 is an overlapping area between the displayable pixel area 155 and the imaging area 160 and corresponds to the overlapping area when the imaging area center CK matches the display area center CH. This is information for specifying an image cutout region TR for cutting out image data.

図3に示したような理想状態では、画素エリア中心CGの位置と結像エリア中心CKの位置とが一致しているので、表示エリア170の全てが表示可能画素エリア155内に位置する。   In the ideal state as shown in FIG. 3, the position of the pixel area center CG and the position of the imaging area center CK coincide with each other, so that the entire display area 170 is located within the displayable pixel area 155.

一方、図4に示すように、現実状態では、固体撮像素子45や観察光学系44の取り付け精度が低いため、画素エリア中心CGと結像エリア中心CKとにずれが生じする。図中の符号「D」は、画素エリア中心CGと結像エリア中心CKとの垂直方向のずれ量である垂直方向ずれ量を示し、図中の符号「D」は、画素エリア中心CGと結像エリア中心CKとの水平方向のずれ量である水平方向ずれ量を示す。 On the other hand, as shown in FIG. 4, since the mounting accuracy of the solid-state imaging device 45 and the observation optical system 44 is low in the actual state, a shift occurs between the pixel area center CG and the imaging area center CK. A symbol “D V ” in the drawing indicates a vertical shift amount that is a vertical shift amount between the pixel area center CG and the imaging area center CK, and a symbol “D H ” in the drawing indicates a pixel area center CG. The horizontal shift amount, which is the horizontal shift amount between the imaging area center CK and the horizontal axis, is shown.

電子内視鏡11の固体撮像素子45や観察光学系44の小型化に伴い、結像エリア160に対する有効画素エリア150の余裕、及び表示エリア170に対する結像エリア160の余裕をそれぞれ確保することができない。このため、現実状態では、結像エリア中心CKと、表示エリア中心CHとを一致させたとしても、結像エリア160内の表示エリア170と重複する領域の一部(図中のハッチングで表示されている部分)が表示可能画素エリア155外に位置する。その結果、表示エリア170に対応する光学像の一部が表示可能画素エリア155外に結像される。   As the solid-state imaging device 45 and the observation optical system 44 of the electronic endoscope 11 are downsized, it is possible to secure a margin for the effective pixel area 150 with respect to the imaging area 160 and a margin for the imaging area 160 with respect to the display area 170. Can not. For this reason, in the actual state, even if the imaging area center CK and the display area center CH are matched, a part of the area overlapping the display area 170 in the imaging area 160 (displayed by hatching in the figure). Is located outside the displayable pixel area 155. As a result, a part of the optical image corresponding to the display area 170 is formed outside the displayable pixel area 155.

図5は、現実状態における画像切り出し領域TR、及び画像切り出し情報51を説明するための説明図である。図5に示すように、画像切り出し領域TRは、DSP63から入力される画像データ71に基づく画像内で、結像エリア中心CKを基準として表示エリア170と同じアスペクト比を有する最大の領域である。なお、本実施形態の表示エリア170は円形状であるので、ここでいう「同じアスペクト比を有する領域」とは例えば正方形状の領域である。   FIG. 5 is an explanatory diagram for explaining the image cutout region TR and the image cutout information 51 in the real state. As shown in FIG. 5, the image cutout region TR is a maximum region having the same aspect ratio as the display area 170 with respect to the imaging area center CK in the image based on the image data 71 input from the DSP 63. Since the display area 170 of this embodiment is circular, the “area having the same aspect ratio” here is, for example, a square area.

ここで、画像切り出し領域TRの中心に対応する位置、すなわち画像データ71に基づく画像内での結像エリア中心CK(観察光学系44の光軸)に対応する位置は、例えば、電子内視鏡11で同心円状のパターンなどの各種テストチャートの撮像を行い、この撮像により得られた画像データを解析することで求められる。また、表示エリア170の形状及び大きさは既知である。従って、結像エリア中心CKの位置と、表示エリア170の形状及び大きさとに基づき、画像切り出し領域TRを決定することができる。この画像切り出し領域TRの位置及び大きさ等を示す情報が、画像切り出し情報51として電子内視鏡11の製造時に予め求められ、内視鏡記憶部49に記憶されている。これにより、画像切り出し情報51に基づき、画像データ71から画像切り出し領域TRに対応する表示用画像データ73を切り出すことができる。   Here, the position corresponding to the center of the image cutout region TR, that is, the position corresponding to the imaging area center CK (the optical axis of the observation optical system 44) in the image based on the image data 71 is, for example, an electronic endoscope. 11, various test charts such as concentric patterns are imaged, and image data obtained by the imaging is analyzed. Further, the shape and size of the display area 170 are known. Therefore, the image cutout region TR can be determined based on the position of the imaging area center CK and the shape and size of the display area 170. Information indicating the position and size of the image cutout region TR is obtained in advance as image cutout information 51 when the electronic endoscope 11 is manufactured, and is stored in the endoscope storage unit 49. Accordingly, the display image data 73 corresponding to the image cutout region TR can be cut out from the image data 71 based on the image cutout information 51.

また、本実施形態の画像切り出し情報51は、図4に示したように、固体撮像素子45等の取り付け精度が低く、結像エリア中心CKと表示エリア中心CHとを一致させた際に表示エリア170の一部が表示可能画素エリア155外に位置する場合の画像切り出し領域TRを示す情報である。すなわち、画像切り出し情報51は、下記の式(1)、式(2)の少なくともいずれかが満たされる場合の画像切り出し領域TRを示す情報である。従って、表示用画像データ73の垂直方向及び水平方向の画素数(画像サイズ)は、表示エリア170の垂直方向及び水平方向の画素数2L,2Lよりも小さくなる。 Further, as shown in FIG. 4, the image cutout information 51 of the present embodiment has a low mounting accuracy of the solid-state imaging device 45 and the like, and the display area when the imaging area center CK and the display area center CH are matched. This is information indicating the image cutout region TR when a part of 170 is located outside the displayable pixel area 155. That is, the image cutout information 51 is information indicating the image cutout region TR when at least one of the following formulas (1) and (2) is satisfied. Accordingly, the vertical and horizontal pixel numbers (image size) of the display image data 73 are smaller than the vertical and horizontal pixel numbers 2L V and 2L H of the display area 170.

Figure 0006310598
Figure 0006310598

Figure 0006310598
Figure 0006310598

[倍率情報]
図6は、倍率情報53を説明するための説明図である。図6に示すように、倍率情報53は、表示用画像データ73を表示エリア170の画像サイズに拡大するための倍率mを示す情報である。倍率mは、下記の式(3)及び式(4)で示される倍率mのうち、倍率の高い方が選択される。また、倍率mは、前述の画像切り出し情報51と同様に、電子内視鏡11の製造時に予め求められ、倍率情報53として内視鏡記憶部49に記憶されている。これにより、倍率情報53に基づき、表示用画像データ73を表示エリア170の画像サイズに拡大してなる表示用画像データ73Aが得られる。
[Magnification information]
FIG. 6 is an explanatory diagram for explaining the magnification information 53. As shown in FIG. 6, the magnification information 53 is information indicating the magnification m for enlarging the display image data 73 to the image size of the display area 170. As the magnification m, the higher magnification is selected from the magnifications m expressed by the following equations (3) and (4). Similarly to the image cutout information 51 described above, the magnification m is obtained in advance when the electronic endoscope 11 is manufactured, and is stored as the magnification information 53 in the endoscope storage unit 49. Thereby, display image data 73A obtained by enlarging the display image data 73 to the image size of the display area 170 based on the magnification information 53 is obtained.

Figure 0006310598
Figure 0006310598

Figure 0006310598
Figure 0006310598

なお、上記式(1)及び式(2)のいずれも満たされない場合、または倍率mが許容倍率である2倍よりも高くなる場合(m>2となる場合)には、倍率mがm=1に設定されて画像拡大は行われない。上記式(1)及び式(2)のいずれも満たされない場合には、結像エリア中心CKと表示エリア中心CHとを一致させた状態において表示エリア170の全てが表示可能画素エリア155内に位置するので(図3参照)、表示用画像データ73の拡大を行う必要がないためである。   If neither of the above formulas (1) and (2) is satisfied, or if the magnification m is higher than 2 times the allowable magnification (when m> 2), the magnification m is m = 2. It is set to 1 and image enlargement is not performed. When neither of the above formulas (1) and (2) is satisfied, the entire display area 170 is located in the displayable pixel area 155 in a state where the imaging area center CK and the display area center CH are matched. This is because it is not necessary to enlarge the display image data 73 (see FIG. 3).

また、倍率mが許容倍率「2倍」よりも高くなる場合(m>2)とは、固体撮像素子45や観察光学系44の取り付け精度が著しく低くなり、画素エリア中心CGと結像エリア中心CKとのずれ量が大きくなる場合である。この場合には、表示用画像データ73の画像サイズが小さくなるので、表示用画像データ73を表示エリア170の画像サイズに拡大するためには倍率mを高くする必要があるが、一般的に表示用画像データ73の拡大倍率が2倍を超えると画像品質が悪くなる。このため、倍率mがm≦2となる場合、すなわち、許容倍率以下となる場合に画像拡大を行う。なお、許容倍率は、「2倍」に限定されるものではなく、表示エリア170の画像サイズ等に応じて適宜決定される。   Further, when the magnification m is higher than the allowable magnification “2 ×” (m> 2), the mounting accuracy of the solid-state imaging device 45 and the observation optical system 44 is remarkably lowered, and the pixel area center CG and the imaging area center are reduced. This is a case where the amount of deviation from CK becomes large. In this case, since the image size of the display image data 73 is reduced, in order to enlarge the display image data 73 to the image size of the display area 170, it is necessary to increase the magnification m. When the enlargement magnification of the image data 73 for use exceeds 2 times, the image quality deteriorates. Therefore, image magnification is performed when the magnification m is m ≦ 2, that is, when the magnification is less than the allowable magnification. Note that the allowable magnification is not limited to “2 ×”, and is appropriately determined according to the image size of the display area 170 and the like.

[画像処理部の構成]
図7は、画像処理部65の機能ブロック図である。図7に示すように、画像処理部65は、フレームメモリ80、画像切り出し部81、画像拡大部82、及びマスク処理部83を有している。
[Configuration of image processing unit]
FIG. 7 is a functional block diagram of the image processing unit 65. As illustrated in FIG. 7, the image processing unit 65 includes a frame memory 80, an image cutout unit 81, an image enlargement unit 82, and a mask processing unit 83.

フレームメモリ80は、DSP63から入力される1フレーム分ごとの画像データ71を一時的に記憶するメモリであり、複数フレーム分の画像データ71を同時に記憶する。なお、DSP63から入力される新たな画像データ71は、フレームメモリ80に記憶されている最も古い画像データ71に上書きされる。   The frame memory 80 is a memory that temporarily stores image data 71 for each frame input from the DSP 63, and simultaneously stores image data 71 for a plurality of frames. The new image data 71 input from the DSP 63 is overwritten on the oldest image data 71 stored in the frame memory 80.

画像切り出し部81は、フレームメモリ80から新たに記録された画像データ71を読み出して、図5に示したように、プロセッサ記憶部64から取得した画像切り出し情報51に基づき、画像データ71から表示用画像データ73を切り出す。画像切り出し部81は、切り出した表示用画像データ73を画像拡大部82に出力する。   The image cutout unit 81 reads out the newly recorded image data 71 from the frame memory 80, and based on the image cutout information 51 acquired from the processor storage unit 64 as shown in FIG. The image data 73 is cut out. The image cutout unit 81 outputs the cut display image data 73 to the image enlargement unit 82.

画像拡大部82は、図6に示したように、プロセッサ記憶部64から取得した倍率情報53に基づき、画像切り出し部81から入力された表示用画像データ73を倍率mで電子拡大して表示用画像データ73Aを生成する。画像拡大部82は、生成した表示用画像データ73Aをマスク処理部83に出力する。   As shown in FIG. 6, the image enlargement unit 82 electronically enlarges the display image data 73 input from the image cutout unit 81 at a magnification m based on the magnification information 53 acquired from the processor storage unit 64. Image data 73A is generated. The image enlargement unit 82 outputs the generated display image data 73A to the mask processing unit 83.

図8は、マスク処理部83によるマスク処理を説明するための説明図である。図8に示すように、マスク処理部83は、マスク画像データ86に基づき、表示用画像データ73Aを表示エリア170と同形状にマスキングするマスク処理を行い、表示用画像データ73Bを生成する。マスク画像データ86は、表示用画像データ73Aと同一サイズの矩形画像である。マスク画像データ86は、表示エリア170のみを露呈する露呈部86aを有している。   FIG. 8 is an explanatory diagram for explaining the mask processing by the mask processing unit 83. As illustrated in FIG. 8, the mask processing unit 83 performs mask processing for masking the display image data 73 </ b> A in the same shape as the display area 170 based on the mask image data 86, and generates display image data 73 </ b> B. The mask image data 86 is a rectangular image having the same size as the display image data 73A. The mask image data 86 has an exposure part 86 a that exposes only the display area 170.

マスク処理は、マスク処理部83内で表示用画像データ73Aを1画素ずつ流しながら、マスク画像データ86に基づき、表示エリア170内に対応する画素はそのまま出力し、表示エリア170外に対応する画素は破棄して代わりにマスク画素を出力する方法で行われる。マスク画素は、マスク画像の色に対応するビデオ信号である。マスク処理部83は、マスク処理が施された表示用画像データ73Bを、表示ドライバ66に出力する。これにより、表示ドライバ66によって表示用画像データ73Bに基づく観察部位の観察像がモニタ14に表示される。   In the mask process, while the display image data 73A is flowed pixel by pixel in the mask processing unit 83, the pixels corresponding to the display area 170 are output as they are based on the mask image data 86, and the pixels corresponding to the outside of the display area 170 are output. Is performed by discarding and outputting mask pixels instead. The mask pixel is a video signal corresponding to the color of the mask image. The mask processing unit 83 outputs the display image data 73B subjected to the mask process to the display driver 66. As a result, an observation image of the observation region based on the display image data 73B is displayed on the monitor 14 by the display driver 66.

[内視鏡装置の画像調整方法]
次に、図9から図11を用いて上記構成の内視鏡装置10の画像調整方法について説明を行う。図9は、電子内視鏡11の製造工程の一部であり、本発明の画像調整方法に係る画像処理で使用する画像切り出し情報51及び倍率情報53の記憶工程の流れを示すフローチャートである。図10は、本発明の画像調整方法に係る画像処理を含む観察像の表示処理の流れを示すフローチャートである。図11は、本発明の画像調整方法に係る画像処理を説明するための説明図である。
[Image adjustment method of endoscope apparatus]
Next, an image adjustment method of the endoscope apparatus 10 having the above configuration will be described with reference to FIGS. 9 to 11. FIG. 9 is a flowchart showing a part of the manufacturing process of the electronic endoscope 11 and the flow of the storage process of the image cutout information 51 and the magnification information 53 used in the image processing according to the image adjustment method of the present invention. FIG. 10 is a flowchart showing a flow of display processing of an observation image including image processing according to the image adjustment method of the present invention. FIG. 11 is an explanatory diagram for explaining image processing according to the image adjustment method of the present invention.

<像切り出し情報及び倍率情報の記憶工程>
図9に示すように、電子内視鏡11の観察光学系44及び固体撮像素子45を含む撮像モジュールの組み立てが完了した後(電子内視鏡11の組み立て完了後でも可)、撮像モジュールでテストチャートの撮像を行う(ステップS1)。テストチャートの撮像により得られた画像データを解析することで、画像データ71に基づく画像内での結像エリア中心CKに対応する位置、垂直方向ずれ量D及び水平方向ずれ量Dが求められる(ステップS2)。
<Storage process of image cutout information and magnification information>
As shown in FIG. 9, after the assembly of the imaging module including the observation optical system 44 and the solid-state imaging device 45 of the electronic endoscope 11 is completed (or after the assembly of the electronic endoscope 11 is completed), the test is performed with the imaging module. The chart is imaged (step S1). By analyzing the image data obtained by imaging the test chart, the position corresponding to the imaging area center CK in the image based on the image data 71, the vertical shift amount DV and the horizontal shift amount DH are obtained. (Step S2).

次いで、結像エリア中心CKに対応する位置と、既知の表示エリア170の形状及び大きさとに基づき画像切り出し領域TRを決定し、この画像切り出し領域TRを示す画像切り出し情報51を内視鏡記憶部49に記憶させる(ステップS3)。   Next, an image cutout region TR is determined based on the position corresponding to the imaging area center CK and the known shape and size of the display area 170, and image cutout information 51 indicating the image cutout region TR is stored in the endoscope storage unit. 49 (step S3).

また、垂直方向ずれ量D及び水平方向ずれ量Dが上記式(1)、式(2)の少なくともいずれかを満たすか否かを確認し(ステップS4)、いずれも満たさない場合には倍率mをm=1に決定する(ステップS4でNO、ステップS5)。 Further, it is confirmed whether or not the vertical deviation amount DV and the horizontal deviation amount DH satisfy at least one of the above formulas (1) and (2) (step S4). The magnification m is determined as m = 1 (NO in step S4, step S5).

一方、垂直方向ずれ量D及び水平方向ずれ量Dが上記式(1)、式(2)の少なくともいずれかを満たす場合には、上記式(3)及び式(4)に基づきそれぞれ倍率mを求める(ステップS4でYES、ステップS6)。そして、求めた倍率mのうちで倍率の高い方がm≦2となる否かを確認し(ステップS7)、m≦2を満たす場合には倍率の高い方を倍率mとして決定する(ステップS7でYES、ステップS8)。逆にm>2となる場合には、倍率mをm=1に決定する(ステップS7でNO、ステップS5)。 On the other hand, when the vertical direction deviation amount DV and the horizontal direction deviation amount DH satisfy at least one of the above formulas (1) and (2), the magnifications based on the above formulas (3) and (4), respectively. m is obtained (YES in step S4, step S6). Then, it is confirmed whether the higher magnification among the obtained magnifications m satisfies m ≦ 2 (step S7). If m ≦ 2 is satisfied, the higher magnification is determined as the magnification m (step S7). YES, step S8). Conversely, if m> 2, the magnification m is determined to be m = 1 (NO in step S7, step S5).

次いで、決定した倍率mを倍率情報53として内視鏡記憶部49に記憶させる(ステップS8)。以上で本発明の記憶ステップの一態様に相当する画像切り出し情報51及び倍率情報53の記憶工程が完了する。   Next, the determined magnification m is stored in the endoscope storage unit 49 as magnification information 53 (step S8). The storage process of the image cutout information 51 and the magnification information 53 corresponding to one aspect of the storage step of the present invention is thus completed.

<観察像の表示処理>
図10に示すように、最初に内視鏡装置10の起動が開始される。具体的には電子内視鏡11のコネクタ部25a,25bを光源装置12、プロセッサ装置13にそれぞれ接続して、光源装置12及びプロセッサ装置13の電源をONする。これにより、光源装置12及びプロセッサ装置13がそれぞれ起動すると共に、光源装置12等からの給電により電子内視鏡11が起動する。
<Display processing of observation image>
As shown in FIG. 10, the activation of the endoscope apparatus 10 is first started. Specifically, the connector portions 25a and 25b of the electronic endoscope 11 are connected to the light source device 12 and the processor device 13, respectively, and the power sources of the light source device 12 and the processor device 13 are turned on. As a result, the light source device 12 and the processor device 13 are activated, and the electronic endoscope 11 is activated by power supply from the light source device 12 or the like.

電子内視鏡11、光源装置12、及びプロセッサ装置13の起動の際に、内視鏡CPU47は、内視鏡記憶部49に記憶されている画像切り出し情報51及び倍率情報53を、プロセッサCPU61に送信する。これにより、プロセッサCPU61は、画像切り出し情報51及び倍率情報53を取得することができる。プロセッサCPU61は、取得した画像切り出し情報51及び倍率情報53をプロセッサ記憶部64に記憶させる。   When the electronic endoscope 11, the light source device 12, and the processor device 13 are activated, the endoscope CPU 47 sends the image cutout information 51 and the magnification information 53 stored in the endoscope storage unit 49 to the processor CPU 61. Send. Thereby, the processor CPU 61 can acquire the image cutout information 51 and the magnification information 53. The processor CPU 61 stores the acquired image cutout information 51 and magnification information 53 in the processor storage unit 64.

次いで、画像切り出し部81がプロセッサ記憶部64から画像切り出し情報51を取得すると共に(ステップS11)、画像拡大部82がプロセッサ記憶部64から倍率情報53を取得する(ステップS12)。   Next, the image cutout unit 81 acquires the image cutout information 51 from the processor storage unit 64 (step S11), and the image enlargement unit 82 acquires the magnification information 53 from the processor storage unit 64 (step S12).

また、光源CPU31、内視鏡CPU47、及びプロセッサCPU61との間でその他の必要な情報の遣り取りが行われて、内視鏡装置10の起動が完了する。   Further, other necessary information is exchanged among the light source CPU 31, the endoscope CPU 47, and the processor CPU 61, and the activation of the endoscope apparatus 10 is completed.

内視鏡装置10の起動完了後、電子内視鏡11の挿入部16が患者体内に挿入されて、観察部位の撮像が行われる(ステップS13)。光源装置12から供給される照明光がライトガイド40を通って照明窓42から観察部位に向けて出射される。観察部位にて反射又は散乱された照明光は、観察窓43を通して観察光学系44により光学像として固体撮像素子45の撮像面に結像される。固体撮像素子45は、撮像面に結像された光学像を撮像信号に変換してプロセッサ装置13のDSP63へ出力する。   After the start-up of the endoscope apparatus 10 is completed, the insertion part 16 of the electronic endoscope 11 is inserted into the patient's body, and the observation site is imaged (step S13). The illumination light supplied from the light source device 12 is emitted from the illumination window 42 toward the observation site through the light guide 40. The illumination light reflected or scattered at the observation site is imaged on the imaging surface of the solid-state imaging device 45 as an optical image by the observation optical system 44 through the observation window 43. The solid-state imaging device 45 converts the optical image formed on the imaging surface into an imaging signal and outputs the imaging signal to the DSP 63 of the processor device 13.

DSP63は、電子内視鏡11から入力された1フレーム分の画像信号に対し、色補間、色分離、色バランス調整、ガンマ補正、画像強調処理等の各種信号処理を行い、1フレーム分の画像データ71を生成する(ステップS14)。この画像データ71は、DSP63から画像処理部65に出力されて、画像処理部65のフレームメモリ80に一時的に記憶される。   The DSP 63 performs various signal processing such as color interpolation, color separation, color balance adjustment, gamma correction, and image enhancement processing on the image signal for one frame input from the electronic endoscope 11, and the image for one frame. Data 71 is generated (step S14). The image data 71 is output from the DSP 63 to the image processing unit 65 and temporarily stored in the frame memory 80 of the image processing unit 65.

次いで、フレームメモリ80に記憶された画像データ71に対して、画像処理部65の各部により本発明の画像処理ステップの一形態に相当する画像処理が開始される(ステップS15)。具体的には、画像データ71に対して、画像切り出し処理(ステップS16)、画像拡大処理(ステップS17)、マスク処理(ステップS18)が順番に施される。   Next, image processing corresponding to one form of the image processing step of the present invention is started by each unit of the image processing unit 65 on the image data 71 stored in the frame memory 80 (step S15). Specifically, an image cutout process (step S16), an image enlargement process (step S17), and a mask process (step S18) are sequentially performed on the image data 71.

図11(A),(B)に示すように、画像切り出し部81は、フレームメモリ80から画像データ71を読み出して、先に取得した画像切り出し情報51に基づき、画像データ71から画像切り出し領域TRに対応する表示用画像データ73を切り出す画像切り出し処理を行う。この際に、結像エリア中心CKを基準として画像データ71から表示用画像データ73を切り出すことにより、結像エリア中心CKと表示エリア中心CHとを一致させることができる。これにより、偏角のない観察像が得られる。表示用画像データ73は、画像切り出し部81から画像拡大部82に出力される。   As shown in FIGS. 11A and 11B, the image cutout unit 81 reads the image data 71 from the frame memory 80, and based on the previously obtained image cutout information 51, the image cutout region TR from the image data 71 is obtained. An image cutout process for cutting out the display image data 73 corresponding to is performed. At this time, the image formation area center CK and the display area center CH can be matched by cutting out the display image data 73 from the image data 71 using the image formation area center CK as a reference. Thereby, an observation image without a declination is obtained. The display image data 73 is output from the image cutout unit 81 to the image enlargement unit 82.

図11(C)に示すように、画像拡大部82は、先に取得した倍率情報53に基づき、画像切り出し部81から入力された表示用画像データ73を倍率mで電子拡大する画像拡大処理を行う。これにより、表示用画像データ73を表示エリア170の画像サイズに拡大してなる表示用画像データ73Aが得られる。この表示用画像データ73Aは、画像拡大部82からマスク処理部83に出力される。   As shown in FIG. 11C, the image enlarging unit 82 performs an image enlarging process for electronically enlarging the display image data 73 input from the image clipping unit 81 at a magnification m based on the previously acquired magnification information 53. Do. Thereby, display image data 73A obtained by enlarging the display image data 73 to the image size of the display area 170 is obtained. The display image data 73A is output from the image enlargement unit 82 to the mask processing unit 83.

図11(D)に示すように、マスク処理部83は、表示用画像データ73Aに対してマスク処理を施して表示用画像データ73Bを生成する。マスク処理が施された表示用画像データ73Bは、マスク処理部83から表示ドライバ66に出力される。   As illustrated in FIG. 11D, the mask processing unit 83 performs mask processing on the display image data 73A to generate display image data 73B. The display image data 73B subjected to the mask processing is output from the mask processing unit 83 to the display driver 66.

図10に戻って、表示ドライバ66は、マスク処理部83から入力される表示用画像データ73Bに基づき、モニタ14に観察部位の観察像を表示させる(ステップS19)。以下、観察部位の撮像が終了するまで、前述のステップS13からステップS19までの処理が繰り返し実行される(ステップS20)。   Returning to FIG. 10, the display driver 66 displays an observation image of the observation region on the monitor 14 based on the display image data 73 </ b> B input from the mask processing unit 83 (step S <b> 19). Thereafter, the above-described processing from step S13 to step S19 is repeatedly executed until imaging of the observation site is completed (step S20).

[本発明の効果]
本発明の内視鏡装置10では、表示可能画素エリア155と結像エリア160との重複領域であって、かつ結像エリア中心CKと表示エリア中心CHとを一致させた際の重複領域に対応する画像切り出し領域TRに基づき、画像データ71から表示用画像データ73を切り出し、この表示用画像データ73を表示エリア170の画像サイズに拡大してモニタ14に表示させる。これにより、固体撮像素子45や観察光学系44の取り付け精度が低いため結像エリア160内の表示エリア170に対応する部分の一部が表示可能画素エリア155外に位置していても、ケラレのない良好な観察像が得られる。
[Effect of the present invention]
In the endoscope apparatus 10 of the present invention, it corresponds to an overlapping area between the displayable pixel area 155 and the imaging area 160 and corresponds to an overlapping area when the imaging area center CK and the display area center CH are matched. Based on the image cutout area TR to be displayed, the display image data 73 is cut out from the image data 71, and the display image data 73 is enlarged to the image size of the display area 170 and displayed on the monitor 14. Accordingly, since the mounting accuracy of the solid-state imaging device 45 and the observation optical system 44 is low, even if a part of the portion corresponding to the display area 170 in the imaging area 160 is located outside the displayable pixel area 155, vignetting A good observed image is obtained.

また、本発明の内視鏡装置10では、画像切り出し情報51及び倍率情報53を電子内視鏡11の内視鏡記憶部49に予め記憶させておくことにより、画像切り出し情報51及び倍率情報53に従って画像切り出し処理及び画像拡大処理を行うだけで、表示用画像データを表示エリア170の画像サイズに簡単に調整することができる。また、電子内視鏡11ごとの固体撮像素子45等の取り付け精度に対応した画像切り出し処理や画像拡大処理を、プロセッサ装置13の画像処理部65が実行することができる。   In the endoscope apparatus 10 of the present invention, the image cutout information 51 and the magnification information 53 are stored in advance in the endoscope storage unit 49 of the electronic endoscope 11. Accordingly, the display image data can be easily adjusted to the image size of the display area 170 simply by performing the image cutout process and the image enlargement process. In addition, the image processing unit 65 of the processor device 13 can execute image cutout processing and image enlargement processing corresponding to the mounting accuracy of the solid-state imaging device 45 and the like for each electronic endoscope 11.

また、本発明の内視鏡装置10では、画像切り出し領域TRが表示エリア170と同じアスペクト比を有しているので、表示用画像データの拡大を行ったとしても見た目上ではモニタ14に表示される観察像の画角が僅かに狭くなるだけあり、違和感のない観察像が得られる。   Further, in the endoscope apparatus 10 of the present invention, the image cutout region TR has the same aspect ratio as that of the display area 170. Therefore, even if the image data for display is enlarged, it is visually displayed on the monitor 14. The angle of view of the observed image is slightly narrowed, and an observation image without a sense of incongruity is obtained.

また、本発明の内視鏡装置10では、上記式(1)及び式(2)の少なくともいずれかが満たされる場合に、画像切り出し処理や画像拡大処理を行う。これにより、上記式(1)及び式(2)のいずれも満たされない場合、すなわち、結像エリア中心CKと表示エリア中心CHとを一致させた状態において表示エリア170の全てが表示可能画素エリア155内に位置するような画像切り出し処理や画像拡大処理を行う必要がない場合までこれらの処理が実行されることが防止される。   Moreover, in the endoscope apparatus 10 of the present invention, when at least one of the above formulas (1) and (2) is satisfied, an image cutout process and an image enlargement process are performed. Thereby, when neither of the above formulas (1) and (2) is satisfied, that is, in a state where the imaging area center CK and the display area center CH are matched, the entire display area 170 can be displayed. These processes are prevented from being executed until there is no need to perform the image cut-out process and the image enlargement process that are located inside.

また、本発明の内視鏡装置10では、上記式(3)及び式(4)で求めた倍率mのうちの高い方の倍率mがm≦2となる場合に画像拡大処理を行う。これにより、m>2となる場合、すなわち、画素エリア中心CGと結像エリア中心CKとのずれ量が大きくなり表示用画像データ73の画像サイズが小さくなる場合に、表示用画像データ73を表示エリア170の画像サイズに拡大することが防止される。これにより、画像品質の悪い観察像の表示を行うことが防止される。   Further, in the endoscope apparatus 10 of the present invention, image enlargement processing is performed when the higher magnification m among the magnifications m determined by the above formulas (3) and (4) satisfies m ≦ 2. As a result, when m> 2, that is, when the amount of deviation between the pixel area center CG and the imaging area center CK is large and the image size of the display image data 73 is small, the display image data 73 is displayed. Expansion to the image size of area 170 is prevented. Thereby, it is possible to prevent an observation image with poor image quality from being displayed.

[内視鏡装置の他実施例1]
次に、図12及び図13を用いて本発明の内視鏡装置の他実施例1について説明を行う。図12は、他実施例の内視鏡装置における有効画素エリア150(表示可能画素エリア155)と結像エリア160と表示エリア170nとの位置関係を説明するための説明図である。図13は、他実施例1の内視鏡装置で実行される画像処理を説明するための説明図である。
[Other Embodiment 1 of Endoscopic Apparatus]
Next, another embodiment 1 of the endoscope apparatus of the present invention will be described with reference to FIGS. FIG. 12 is an explanatory diagram for explaining the positional relationship among the effective pixel area 150 (displayable pixel area 155), the imaging area 160, and the display area 170n in the endoscope apparatus according to another embodiment. FIG. 13 is an explanatory diagram for explaining image processing executed by the endoscope apparatus according to the first embodiment.

上記実施形態の内視鏡装置10では、表示エリア170が円形状に形成されているが、図12に示す他実施例の内視鏡装置のように、表示エリア170nが略矩形状に形成されていてもよい。なお、他実施例の内視鏡装置は、表示エリア170nの形状が異なる点を除けば、上記実施形態の内視鏡装置10と基本的には同じ構成であるので、上記実施形態と機能・構成上同一のものについては、同一符号を付してその説明は省略する。   In the endoscope apparatus 10 of the above embodiment, the display area 170 is formed in a circular shape, but the display area 170n is formed in a substantially rectangular shape as in the endoscope apparatus of another example shown in FIG. It may be. In addition, the endoscope apparatus of another Example is fundamentally the same structure as the endoscope apparatus 10 of the said embodiment except the point from which the shape of the display area 170n differs, Therefore The same components are denoted by the same reference numerals, and the description thereof is omitted.

図13(A)に示すように、表示エリア170nが略矩形状である場合に、画像切り出し領域TRnは、前述の画像データ71に基づく画像内で、結像エリア中心CKを基準として表示エリア170nと同じアスペクト比を有する最大の矩形領域となる。そして、この画像切り出し領域TRnを示す画像切り出し情報51が内視鏡記憶部49に記憶される。また、倍率mは、上記実施形態と同様に求められ、倍率情報53として内視鏡記憶部49に記憶される。   As shown in FIG. 13A, when the display area 170n has a substantially rectangular shape, the image cutout region TRn is displayed within the image based on the image data 71 described above with reference to the imaging area center CK. Is the largest rectangular area having the same aspect ratio. Then, image cutout information 51 indicating the image cutout region TRn is stored in the endoscope storage unit 49. Further, the magnification m is obtained in the same manner as in the above embodiment, and is stored in the endoscope storage unit 49 as magnification information 53.

以下、上記実施形態と同様にして、図13(B)に示すように、画像切り出し部81が、画像切り出し情報51に基づき、画像データ71から画像切り出し領域TRnに対応する表示用画像データ73nを切り出す画像切り出し処理を行う。そして、図13(C)に示すように、画像拡大部82は、倍率情報53に基づき、表示用画像データ73nを倍率mで拡大する画像拡大処理を行って表示用画像データ73Anを生成する。   Thereafter, in the same manner as in the above embodiment, as shown in FIG. 13B, the image cutout unit 81 generates display image data 73n corresponding to the image cutout region TRn from the image data 71 based on the image cutout information 51. An image cutout process is performed. Then, as shown in FIG. 13C, the image enlargement unit 82 performs image enlargement processing for enlarging the display image data 73n at the magnification m based on the magnification information 53, and generates display image data 73An.

次いで、図13(D)に示すように、マスク処理部83が表示用画像データ73Anに対してマスク処理を施して表示用画像データ73Bnを生成して、表示ドライバ66に出力する。これにより、表示ドライバ66によって表示用画像データ73Bnに基づく観察部位の観察像がモニタ14に表示される。表示エリア170nの形状が異なる点を除けば、上記実施形態の内視鏡装置10と基本的には同じ構成であるので、上記実施形態で説明した効果と同様の効果が得られる。   Next, as shown in FIG. 13D, the mask processing unit 83 performs mask processing on the display image data 73An to generate display image data 73Bn, and outputs the display image data 73Bn to the display driver 66. As a result, an observation image of the observation region based on the display image data 73Bn is displayed on the monitor 14 by the display driver 66. Except for the point that the shape of the display area 170n is different, the configuration is basically the same as that of the endoscope apparatus 10 of the above-described embodiment, so that the same effect as that described in the above-described embodiment can be obtained.

[内視鏡装置の他実施例2]
次に、図14及び図15を用いて本発明の内視鏡装置の他実施例2について説明を行う。図14は、他実施例2の内視鏡装置における有効画素エリア150(表示可能画素エリア155)と結像エリア160と表示エリア170pとの位置関係を説明するための説明図である。図15は、他実施例2の内視鏡装置で実行される画像処理を説明するための説明図である。
[Other Embodiment 2 of Endoscopic Apparatus]
Next, another embodiment 2 of the endoscope apparatus of the present invention will be described with reference to FIGS. 14 and 15. FIG. 14 is an explanatory diagram for explaining the positional relationship among the effective pixel area 150 (displayable pixel area 155), the imaging area 160, and the display area 170p in the endoscope apparatus according to the second embodiment. FIG. 15 is an explanatory diagram for describing image processing executed by the endoscope apparatus according to the second embodiment.

上記実施形態の内視鏡装置10では、表示エリア170が円形状に形成されているが、図14に示す他実施例2の内視鏡装置のように、表示エリア170pが略円形状に形成されていてもよい。なお、他実施例2の内視鏡装置についても、表示エリア170pの形状が異なる点を除けば、上記実施形態の内視鏡装置10と基本的には同じ構成であるので、上記実施形態と機能・構成上同一のものについては、同一符号を付してその説明は省略する。   In the endoscope apparatus 10 of the above-described embodiment, the display area 170 is formed in a circular shape, but the display area 170p is formed in a substantially circular shape as in the endoscope apparatus of the second embodiment shown in FIG. May be. Note that the endoscope apparatus of the second embodiment is basically the same in configuration as the endoscope apparatus 10 of the above embodiment except that the display area 170p has a different shape. Components that are the same in function and configuration are denoted by the same reference numerals and description thereof is omitted.

図15(A)に示すように、表示エリア170pが略円形状である場合に、画像切り出し領域TRpは、前述の画像データ71に基づく画像内で、結像エリア中心CKを基準として表示エリア170pと同じアスペクト比を有する最大の矩形領域となる。そして、この画像切り出し領域TRpを示す画像切り出し情報51が内視鏡記憶部49に記憶される。また、倍率mは、上記実施形態と同様に求められ、倍率情報53として内視鏡記憶部49に記憶される。   As shown in FIG. 15A, when the display area 170p has a substantially circular shape, the image cutout region TRp is displayed in the image based on the image data 71 described above with reference to the imaging area center CK. Is the largest rectangular area having the same aspect ratio. Then, image cutout information 51 indicating the image cutout region TRp is stored in the endoscope storage unit 49. Further, the magnification m is obtained in the same manner as in the above embodiment, and is stored in the endoscope storage unit 49 as magnification information 53.

以下、上記実施形態と同様にして、図15(B)に示すように、画像切り出し部81が、画像切り出し情報51に基づき、画像データ71から画像切り出し領域TRpに対応する表示用画像データ73pを切り出す画像切り出し処理を行う。そして、図15(C)に示すように、画像拡大部82は、倍率情報53に基づき、表示用画像データ73pを倍率mで拡大する画像拡大処理を行って表示用画像データ73Apを生成する。   Thereafter, in the same manner as in the above embodiment, as shown in FIG. 15B, the image cutout unit 81 generates display image data 73p corresponding to the image cutout region TRp from the image data 71 based on the image cutout information 51. An image cutout process is performed. Then, as shown in FIG. 15C, the image enlargement unit 82 performs image enlargement processing for enlarging the display image data 73p at the magnification m based on the magnification information 53, and generates display image data 73Ap.

次いで、図15(D)に示すように、マスク処理部83が表示用画像データ73Apに対してマスク処理を施して表示用画像データ73Bpを生成して、表示ドライバ66に出力する。これにより、表示ドライバ66によって表示用画像データ73Bpに基づく観察部位の観察像がモニタ14に表示される。表示エリア170pの形状が異なる点を除けば、上記実施形態の内視鏡装置10と基本的には同じ構成であるので、上記実施形態で説明した効果と同様の効果が得られる。   Next, as shown in FIG. 15D, the mask processing unit 83 performs mask processing on the display image data 73Ap to generate display image data 73Bp, and outputs the display image data 73Bp to the display driver 66. As a result, an observation image of the observation region based on the display image data 73Bp is displayed on the monitor 14 by the display driver 66. Except for the point that the shape of the display area 170p is different, the configuration is basically the same as that of the endoscope apparatus 10 of the above-described embodiment, so that the same effect as that described in the above-described embodiment can be obtained.

なお、有効画素エリア、表示可能画素エリア、結像エリア、及び表示エリアの形状及び大きさは、上記各実施形態で表されている形状及び大きさに限定されるものではなく、適宜変更してもよい。   The shapes and sizes of the effective pixel area, the displayable pixel area, the imaging area, and the display area are not limited to the shapes and sizes shown in the above embodiments, and may be changed as appropriate. Also good.

[内視鏡装置の他実施例3]
次に、図16を用いて本発明の内視鏡装置の他実施例3について説明を行う。図16は、他実施例3の内視鏡装置のプロセッサ装置13Sの要部の電気的構成を示すブロック図である。上記実施形態の内視鏡装置10では表示エリア170のパターンが1種類であるが、他実施例3の内視鏡装置では、複数のパターンの表示エリア中から1つの表示エリアを選択可能、すなわち、表示エリアを切替可能にしている。
[Other Embodiment 3 of Endoscopic Apparatus]
Next, another embodiment 3 of the endoscope apparatus of the present invention will be described with reference to FIG. FIG. 16 is a block diagram illustrating an electrical configuration of a main part of the processor device 13S of the endoscope apparatus according to the third embodiment. In the endoscope apparatus 10 of the above embodiment, the display area 170 has one type of pattern. However, in the endoscope apparatus of the other example 3, one display area can be selected from the display areas of a plurality of patterns. The display area can be switched.

図16に示すように、プロセッサ装置13Sは、プロセッサ記憶部64S、画像処理部65S、及び選択部200を備える点を除けば、上記実施形態のプロセッサ装置13と基本的には同じ構成であるので、上記実施形態と機能・構成上同一のものについては、同一符号を付してその説明は省略する。   As illustrated in FIG. 16, the processor device 13S has basically the same configuration as the processor device 13 of the above embodiment except that a processor storage unit 64S, an image processing unit 65S, and a selection unit 200 are provided. The same functions and configurations as those of the above embodiment are denoted by the same reference numerals, and the description thereof is omitted.

プロセッサ記憶部64Sには、複数パターンの表示エリアと、画像切り出し情報51及び倍率情報53及びマスク画像データ86とが対応付けて記憶されている。換言すると、プロセッサ記憶部64Sには、複数パターンの表示エリアにそれぞれに対応した画像切り出し情報51及び倍率情報53及びマスク画像データ86が記憶されている。なお、これらの情報をプロセッサ記憶部64Sに記憶させる代わりに内視鏡記憶部49に記憶させておき、内視鏡記憶部49からこれらの情報を取得してもよい。   The processor storage unit 64S stores a plurality of patterns of display areas, image cutout information 51, magnification information 53, and mask image data 86 in association with each other. In other words, the image storage information 51, the magnification information 53, and the mask image data 86 corresponding to the display areas of a plurality of patterns are stored in the processor storage unit 64S. Note that these pieces of information may be stored in the endoscope storage unit 49 instead of being stored in the processor storage unit 64S, and the information may be acquired from the endoscope storage unit 49.

選択部200は、例えば、プロセッサ装置13Sの操作パネルに設けられており、ユーザが表示エリアの選択または切り替えを行う際に操作される。ユーザが選択部200にて表示エリアの選択または切り替え操作を行うと、選択等された表示エリアを示す表示エリア情報がプロセッサCPU61から画像処理部65Sに入力される。   The selection unit 200 is provided on the operation panel of the processor device 13S, for example, and is operated when the user selects or switches the display area. When the user performs a selection or switching operation of the display area using the selection unit 200, display area information indicating the selected display area is input from the processor CPU 61 to the image processing unit 65S.

画像処理部65Sは、フレームメモリ80、画像切り出し部81S、画像拡大部82S、及びマスク処理部83Sを有している。   The image processing unit 65S includes a frame memory 80, an image cutout unit 81S, an image enlargement unit 82S, and a mask processing unit 83S.

画像切り出し部81Sは、プロセッサCPU61から入力された表示エリア情報に基づき、選択部200にて選択等された表示エリアに対応する画像切り出し情報51をプロセッサ記憶部64Sから読み出す。そして、画像切り出し部81Sは、プロセッサ記憶部64Sから取得した画像切り出し情報51に基づき、画像データ71から表示用画像データを切り出し、この表示用画像データを画像拡大部82Sへ出力する。   Based on the display area information input from the processor CPU 61, the image cutout unit 81S reads the image cutout information 51 corresponding to the display area selected by the selection unit 200 from the processor storage unit 64S. The image cutout unit 81S cuts out display image data from the image data 71 based on the image cutout information 51 acquired from the processor storage unit 64S, and outputs the display image data to the image enlargement unit 82S.

画像拡大部82Sは、プロセッサCPU61から入力された表示エリア情報に基づき、選択部200にて選択等された表示エリアに対応する倍率情報53をプロセッサ記憶部64Sから読み出す。そして、画像拡大部82Sは、プロセッサ記憶部64Sから取得した倍率情報53に基づき、画像切り出し部81Sから入力された表示用画像データを電子拡大して、この表示用画像データをマスク処理部83Sへ出力する。   Based on the display area information input from the processor CPU 61, the image enlargement unit 82S reads the magnification information 53 corresponding to the display area selected by the selection unit 200 from the processor storage unit 64S. Then, the image enlargement unit 82S electronically enlarges the display image data input from the image cutout unit 81S based on the magnification information 53 acquired from the processor storage unit 64S, and sends the display image data to the mask processing unit 83S. Output.

マスク処理部83Sは、プロセッサCPU61から入力された表示エリア情報に基づき、選択部200にて選択等された表示エリアに対応するマスク画像データ86をプロセッサ記憶部64Sから読み出す。そして、マスク処理部83Sは、プロセッサ記憶部64Sから取得したマスク画像データ86に基づき、画像拡大部82Sから入力された表示用画像データに対してマスク処理を施し、マスク処理済みの表示用画像データを表示ドライバ66に出力する。これにより、表示用画像データに基づく観察部位の観察像がモニタ14に表示される。   Based on the display area information input from the processor CPU 61, the mask processing unit 83S reads mask image data 86 corresponding to the display area selected by the selection unit 200 from the processor storage unit 64S. Then, the mask processing unit 83S performs mask processing on the display image data input from the image enlargement unit 82S based on the mask image data 86 acquired from the processor storage unit 64S, and displays the display image data that has been subjected to mask processing. Is output to the display driver 66. As a result, an observation image of the observation region based on the display image data is displayed on the monitor 14.

このように、複数パターンの表示エリアにそれぞれに対応した画像切り出し情報51及び倍率情報53等を予め記憶しておくことで、表示エリアの選択や切り替えを行った場合でもケラレのない良好な観察像が得られる。その結果、上記実施形態で説明した効果と同様の効果が得られる。   As described above, by storing the image cutout information 51 and the magnification information 53 corresponding to the display areas of a plurality of patterns in advance, even when the display area is selected or switched, a good observation image without vignetting is obtained. Is obtained. As a result, the same effects as those described in the above embodiment can be obtained.

[カプセルシステムへの適用例]
本発明の内視鏡装置を構成する電子内視鏡としては、軟性内視鏡、硬性内視鏡、工業用内視鏡、カプセルシステム(カプセル型内視鏡ともいう)などが挙げられる。以下、カプセルシステムを例に挙げ、図面を参照しつつ、詳細に説明する。
[Example of application to capsule system]
Examples of the electronic endoscope constituting the endoscope apparatus of the present invention include a flexible endoscope, a rigid endoscope, an industrial endoscope, a capsule system (also referred to as a capsule endoscope), and the like. Hereinafter, a capsule system will be described as an example and will be described in detail with reference to the drawings.

図17で示すように、カプセルシステム501は、照明システム512と、光学系514及び画像センサ516を備えるカメラとを含む。画像センサ516でキャプチャされた画像は、画像プロセッサ518によって処理される。画像プロセッサ518は、デジタル信号処理部(DSP)又は中央処理装置(CPU)で実行されるソフトウェアにて、又はハードウェアにて、或いはソフトウェア及びハードウェアの両者の組み合わせにて実装されるようにすることができる。処理された画像は、画像圧縮サブシステム519(実施形態によっては、画像プロセッサ518のDSPで実行されるソフトウェアに実装されることもある)によって圧縮される。圧縮されたデータは、アーカイブメモリシステム520に保存される。カプセルシステム501は、バッテリ電源521及び出力ポート526を含む。カプセルシステム501は、蠕動によって消化管(GI管)500の中を進むことができる。   As shown in FIG. 17, the capsule system 501 includes an illumination system 512 and a camera including an optical system 514 and an image sensor 516. The image captured by the image sensor 516 is processed by the image processor 518. The image processor 518 is implemented by software executed by a digital signal processor (DSP) or a central processing unit (CPU), by hardware, or by a combination of both software and hardware. be able to. The processed image is compressed by an image compression subsystem 519 (in some embodiments, implemented in software executed by the DSP of the image processor 518). The compressed data is stored in the archive memory system 520. The capsule system 501 includes a battery power source 521 and an output port 526. The capsule system 501 can advance through the digestive tract (GI tract) 500 by peristalsis.

照明システム512は、LEDが実装されるようにすることもできる。図17では、LEDはカメラの開口に近接して配置されているが、他の配置も可能である。光源が、例えば、開口の後ろに備えられることもある。レーザダイオードのような他の光源が使用されることもある。別の方法として、白色光源又は2つ以上の狭い波長帯域の光源を組み合わせたものが用いられることもある。長い波長の光を放射するため、LEDの光によって励起されるリン光性材料とともに、白色LEDを使用することも可能である。白色LEDには、青色LED又は紫LEDが含まれることがある。光を通過させるためのカプセルハウジングの所定の部分は、生物学的に適合したガラス又はポリマから作られる。   The illumination system 512 can also be configured with LEDs. In FIG. 17, the LEDs are arranged close to the camera opening, but other arrangements are possible. A light source may be provided, for example, behind the opening. Other light sources such as laser diodes may be used. Alternatively, a white light source or a combination of two or more narrow wavelength band light sources may be used. It is also possible to use a white LED with a phosphorescent material that is excited by the light of the LED to emit long wavelength light. The white LED may include a blue LED or a purple LED. The predetermined portion of the capsule housing for allowing light to pass is made from a biologically compatible glass or polymer.

光学系514は、本発明の観察光学系の一形態に相当するものであり、画像センサ516にGI管500等の内腔の壁の画像が読み取られるようにするものであり、複数の屈折レンズ要素、回折レンズ要素、又は反射レンズ要素を含むものであって良い。   The optical system 514 corresponds to an embodiment of the observation optical system of the present invention, and allows the image sensor 516 to read an image of the wall of the lumen of the GI tube 500 or the like, and includes a plurality of refractive lenses. It may include an element, a diffractive lens element, or a reflective lens element.

画像センサ516は、受光した光強度を対応する電気信号に変換するものであり、電荷結合素子(CCD)又は相補型金属酸化膜半導体(CMOS)型デバイスによって提供されるようにすることができる。画像センサ516は、単色に反応するものであって良く、或いは(例えば、RGB又はCYM表現を用いて)カラー画像をキャプチャすることができるカラーフィルタアレイを含むこともある。この画像センサ516は、本発明の固体撮像素子の一形態に相当するものである。   The image sensor 516 converts the received light intensity into a corresponding electrical signal and can be provided by a charge coupled device (CCD) or complementary metal oxide semiconductor (CMOS) type device. The image sensor 516 may be monochromatic, or may include a color filter array that can capture a color image (eg, using RGB or CYM representations). This image sensor 516 corresponds to an embodiment of the solid-state imaging device of the present invention.

画像センサ516からのアナログ信号は、デジタル形式で処理することができるようにデジタル形式に変換されることが好ましい。そのような変換は、センサ内(今回の実施形態の場合)、又はカプセルハウジング510の別の部分に備えられるアナログ−デジタル(A/D)コンバータを用いて実施される。A/Dユニットは、画像センサ516とシステムの他の部分との間に備えられるようにすることもできる。照明システム512のLEDは、画像センサ516の動作と同期化される。カプセルシステム501の制御モジュール(図示せず)には、機能の1つとして、画像のキャプチャ動作中にLEDを制御するというものがある。   The analog signal from the image sensor 516 is preferably converted to digital form so that it can be processed in digital form. Such a conversion is performed using an analog-to-digital (A / D) converter provided in the sensor (in this embodiment) or in another part of the capsule housing 510. An A / D unit can also be provided between the image sensor 516 and other parts of the system. The LEDs of the illumination system 512 are synchronized with the operation of the image sensor 516. One of the functions of the control module (not shown) of the capsule system 501 is to control the LED during an image capture operation.

内視鏡記憶部527は、本発明の記憶部の一形態に相当するものであり、上記実施形態の内視鏡記憶部49と同様に、光学系514及び画像センサ516の取り付け精度に対応した画像切り出し情報51及び倍率情報53を記憶している。内視鏡記憶部527に記憶されている画像切り出し情報51及び倍率情報53は、出力ポート526を介してプロセッサ装置に送信される。   The endoscope storage unit 527 corresponds to one form of the storage unit of the present invention, and corresponds to the mounting accuracy of the optical system 514 and the image sensor 516, similarly to the endoscope storage unit 49 of the above embodiment. Image cutout information 51 and magnification information 53 are stored. The image cutout information 51 and the magnification information 53 stored in the endoscope storage unit 527 are transmitted to the processor device via the output port 526.

図18は、本発明の一実施形態に係る飲み込み式カプセルシステム502を示す。カプセルシステム502は、アーカイブメモリシステム520及び出力ポート526を必要としていないという点を除いて、図17のカプセルシステム501と実質的に同様な構成にすることができる。カプセルシステム502は、ワイヤレス送信に使用される通信プロトコルエンコーダ1320及び送信器1326も含む。カプセルシステム501及びカプセルシステム502の要素のうち、実質的に同一の要素は同じ参照符号が付与されている。したがって、それらの構造及び機能はここでは再び説明しない。制御モジュール522は、カプセルシステム502の全体を統括制御する。通信プロトコルエンコーダ1320は、DSP又はCPUで実行されるソフトウェアにて、ハードウェアにて、又はソフトウェア及びハードウェアの組み合わせにて実装される。送信器1326は、キャプチャされたデジタル画像を送信するためのアンテナシステムを含む。   FIG. 18 illustrates a swallowable capsule system 502 according to one embodiment of the present invention. The capsule system 502 can be configured substantially similar to the capsule system 501 of FIG. 17 except that the archive memory system 520 and the output port 526 are not required. The capsule system 502 also includes a communication protocol encoder 1320 and a transmitter 1326 used for wireless transmission. Of the elements of the capsule system 501 and the capsule system 502, substantially the same elements are given the same reference numerals. Therefore, their structure and function will not be described again here. The control module 522 performs overall control of the entire capsule system 502. The communication protocol encoder 1320 is implemented by software executed by a DSP or CPU, hardware, or a combination of software and hardware. The transmitter 1326 includes an antenna system for transmitting the captured digital image.

制御モジュール522のROM(図示せず)の一部は、内視鏡記憶部528として機能する。内視鏡記憶部528は、本発明の記憶部の一形態に相当するものであり、上記実施形態の内視鏡記憶部49と同様に、光学系514及び画像センサ516の取り付け精度に対応した画像切り出し情報51及び倍率情報53を記憶している。内視鏡記憶部528に記憶されている画像切り出し情報51及び倍率情報53は、送信器1326を介してプロセッサ装置に送信される。   A part of the ROM (not shown) of the control module 522 functions as the endoscope storage unit 528. The endoscope storage unit 528 corresponds to one form of the storage unit of the present invention, and corresponds to the mounting accuracy of the optical system 514 and the image sensor 516, similarly to the endoscope storage unit 49 of the above embodiment. Image cutout information 51 and magnification information 53 are stored. The image cutout information 51 and the magnification information 53 stored in the endoscope storage unit 528 are transmitted to the processor device via the transmitter 1326.

上記カプセルシステム501及びカプセルシステム502に対応するプロセッサ装置は、カプセルシステムに対応しているという点を除けば、上記実施形態のプロセッサ装置と基本的に同じ構成であり、画像切り出し情報51に基づく画像切り出し処理、及び倍率情報53に基づく画像拡大処理などを行う。これにより、上記実施形態で説明した効果と同様の効果が得られる。   The processor device corresponding to the capsule system 501 and the capsule system 502 has basically the same configuration as the processor device of the above embodiment except that the processor device corresponds to the capsule system. Cutout processing, image enlargement processing based on the magnification information 53, and the like are performed. Thereby, the effect similar to the effect demonstrated by the said embodiment is acquired.

[その他]
上記実施形態では、本発明の情報取得部に相当するプロセッサCPU61が電子内視鏡11から画像切り出し情報51及び倍率情報53を取得しているが、プロセッサ装置13の図示しない操作部にて入力された画像切り出し情報51及び倍率情報53を取得、あるいは通信インタフェースやメモリカードなどから画像切り出し情報51及び倍率情報53を取得してもよい。
[Others]
In the above embodiment, the processor CPU 61 corresponding to the information acquisition unit of the present invention acquires the image cutout information 51 and the magnification information 53 from the electronic endoscope 11, but is input by an operation unit (not shown) of the processor device 13. Alternatively, the image cutout information 51 and the magnification information 53 may be acquired, or the image cutout information 51 and the magnification information 53 may be acquired from a communication interface or a memory card.

また、複数種類の電子内視鏡11に対応する複数種類の画像切り出し情報51及び倍率情報53をプロセッサ記憶部64に予め記憶させておき、電子内視鏡11からプロセッサ装置13に入力される電子内視鏡11の識別情報等に基づき、電子内視鏡11の種類に対応した画像切り出し情報51及び倍率情報53を選択させるようにしてもよい。   In addition, a plurality of types of image cutout information 51 and magnification information 53 corresponding to a plurality of types of electronic endoscope 11 are stored in advance in the processor storage unit 64, and electronic data input from the electronic endoscope 11 to the processor device 13 is stored. Based on the identification information of the endoscope 11 or the like, the image cutout information 51 and the magnification information 53 corresponding to the type of the electronic endoscope 11 may be selected.

上記実施形態では、光源装置12とプロセッサ装置13とが別体に設けられているが、両者が一体に設けられていてもよい。   In the above embodiment, the light source device 12 and the processor device 13 are provided separately, but both may be provided integrally.

本発明は上述した実施形態に限定されず、本発明の精神を逸脱しない範囲で種々の変形が可能であることは言うまでもない。   It goes without saying that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

10…内視鏡装置,11…電子内視鏡,13…プロセッサ装置,14…モニタ,44…観察光学系,45…固体撮像素子,47…内視鏡CPU,49…内視鏡記憶部,51…画像切り出し情報,53…倍率情報,61…プロセッサCPU,64…プロセッサ記憶部,65…画像処理部,73…表示用画像データ,73A,73B…表示用画像データ,81…画像切り出し部,82…画像拡大部,83…マスク処理部,150…有効画素エリア,155…表示可能画素エリア,160…結像エリア,170…表示エリア   DESCRIPTION OF SYMBOLS 10 ... Endoscope apparatus, 11 ... Electronic endoscope, 13 ... Processor apparatus, 14 ... Monitor, 44 ... Observation optical system, 45 ... Solid-state image sensor, 47 ... Endoscope CPU, 49 ... Endoscope memory | storage part, 51 ... Image cutout information, 53 ... Magnification information, 61 ... Processor CPU, 64 ... Processor storage unit, 65 ... Image processing unit, 73 ... Display image data, 73A, 73B ... Display image data, 81 ... Image cutout unit, 82 ... Image enlargement unit, 83 ... Mask processing unit, 150 ... Effective pixel area, 155 ... Displayable pixel area, 160 ... Imaging area, 170 ... Display area

Claims (11)

観察光学系と、
前記観察光学系に対して相対的に位置決め固定され、当該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、
前記固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、
前記記憶部に記憶されている前記画像切り出し情報に基づき、前記画像から前記表示用画像を切り出す画像処理部と、を備え、
前記記憶部は、前記画像切り出し情報として、前記固体撮像素子の表示可能画素エリアと、前記観察光学系により前記固体撮像素子に結像される前記光学像の結像エリアとの重複領域であって、且つ前記結像エリアの中心と前記表示エリアの中心とを一致させた際の前記重複領域に対応する前記表示用画像を切り出すための画像切り出し領域を特定する情報を記憶し、
前記画像処理部は、前記切り出した前記表示用画像を当該表示エリアの画像サイズに拡大する内視鏡装置。
An observation optical system;
A solid-state imaging device that is positioned and fixed relative to the observation optical system and forms an optical image by the observation optical system, and in which a plurality of photoelectric conversion elements that photoelectrically convert the optical image are arranged An image sensor;
A storage unit for storing image cutout information for specifying an image cutout region for cutting out a display image corresponding to a display area displayed on a monitor from an image generated based on an image pickup signal of the solid-state image pickup device;
An image processing unit that cuts out the display image from the image based on the image cutout information stored in the storage unit,
The storage unit is an overlapping region between the displayable pixel area of the solid-state imaging device and the imaging area of the optical image formed on the solid-state imaging device by the observation optical system as the image cut-out information. Storing information for specifying an image cut-out area for cutting out the display image corresponding to the overlap area when the center of the imaging area and the center of the display area are matched.
The endoscope apparatus that enlarges the cut-out display image to an image size of the display area.
前記記憶部は、前記表示用画像を前記表示エリアの画像サイズに拡大するための倍率を示す倍率情報をさらに記憶し、
前記画像処理部は、前記記憶部に記憶されている前記倍率情報に従って、前記表示用画像の拡大を行う請求項1記載の内視鏡装置。
The storage unit further stores magnification information indicating a magnification for enlarging the display image to an image size of the display area,
The endoscope apparatus according to claim 1, wherein the image processing unit enlarges the display image according to the magnification information stored in the storage unit.
前記記憶部には、複数の前記表示エリアのそれぞれに対応した前記画像切り出し情報及び前記倍率情報が記憶されており、
複数の前記表示エリアの中から前記モニタに表示する前記表示エリアを選択する選択部を備え、
前記画像処理部は、前記選択部にて選択された前記表示エリアに対応する前記画像切り出し情報及び前記倍率情報を前記記憶部から取得して、当該画像切り出し情報に基づき前記画像から前記表示用画像を切り出し、かつ当該倍率情報に従って前記表示用画像の拡大を行う請求項2記載の内視鏡装置。
In the storage unit, the image cutout information and the magnification information corresponding to each of the plurality of display areas are stored,
A selection unit for selecting the display area to be displayed on the monitor from a plurality of the display areas;
The image processing unit acquires the image cutout information and the magnification information corresponding to the display area selected by the selection unit from the storage unit, and based on the image cutout information, the image for display is obtained from the image. The endoscope apparatus according to claim 2, wherein the display image is enlarged in accordance with the magnification information.
前記記憶部に記憶される前記画像切り出し情報は、前記表示エリアと同じアスペクト比を有する前記画像切り出し領域を示す情報である請求項1から3のいずれか1項に記載の内視鏡装置。   The endoscope apparatus according to any one of claims 1 to 3, wherein the image cutout information stored in the storage unit is information indicating the image cutout area having the same aspect ratio as the display area. 前記表示可能画素エリアの垂直方向及び水平方向の画素数を2V、2Hとし、前記表示エリアの垂直方向及び水平方向の画素数を2L、2Lとし、前記表示可能画素エリアの中心と前記結像エリアの中心との垂直方向及び水平方向のずれ量を画素数で表したものをD、Dとした場合に、
前記画像切り出し情報が下記の式(1)及び式(2)の少なくともいずれかが満たされる前記画像切り出し領域を示す情報である場合に、前記画像処理部による前記表示用画像の拡大を行う請求項1から4のいずれか1項に記載の内視鏡装置。
V−L≦D・・・(1)
H−L≦D・・・(2)
Vertical and horizontal 2V number of pixels of the displayable pixel area, and 2H, the number of pixels in the vertical direction and the horizontal direction of the display area and 2L V, 2L H, the binding and the center of the displayable pixel area When D V and DH represent the amount of deviation in the vertical and horizontal directions from the center of the image area in terms of the number of pixels,
The display image is enlarged by the image processing unit when the image cutout information is information indicating the image cutout region that satisfies at least one of the following formulas (1) and (2). The endoscope apparatus according to any one of 1 to 4.
V−L V ≦ D V (1)
H−L H ≦ D H (2)
前記画像処理部は、前記表示用画像の拡大を行う倍率をmとした場合に、下記の式(3)及び式(4)でそれぞれ示される倍率mのうち、倍率の高い方で前記表示用画像の拡大を行う請求項5記載の内視鏡装置。
m=L/(V−D)・・・(3)
m=L/(H−D)・・・(4)
The image processing unit is configured to display the image with the higher magnification among the magnifications m respectively represented by the following formulas (3) and (4), where m is a magnification for enlarging the display image. The endoscope apparatus according to claim 5, wherein the image is enlarged.
m = L V / (V−D V ) (3)
m = L H / (H−D H ) (4)
前記倍率の高い方が許容倍率以下である場合に、前記画像処理部による前記表示用画像の拡大を行う請求項6記載の内視鏡装置。   The endoscope apparatus according to claim 6, wherein the display image is enlarged by the image processing unit when the higher magnification is equal to or less than an allowable magnification. 前記表示用画像には、前記表示エリアと同形状にマスキングするマスク処理が前記画像処理部により施されている請求項1から7のいずれか1項に記載の内視鏡装置。   The endoscope apparatus according to any one of claims 1 to 7, wherein a mask process for masking the display image in the same shape as the display area is performed by the image processing unit. 観察光学系に対して相対的に位置決め固定され、当該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を生成して前記モニタに出力する画像処理装置において、
前記画像から前記表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部より、前記画像切り出し情報を取得する情報取得部と、
前記情報取得部が取得した前記画像切り出し情報に基づき、前記画像から前記表示用画像を切り出す画像処理部と、を備え、
前記情報取得部は、前記画像切り出し情報として、前記固体撮像素子の表示可能画素エリアと、前記観察光学系により前記固体撮像素子に結像される前記光学像の結像エリアとの重複領域であって、且つ前記結像エリアの中心と前記表示エリアの中心とを一致させた際の前記重複領域に対応する前記表示用画像を切り出すための画像切り出し領域を特定する情報を前記記憶部から取得し、
前記画像処理部は、前記切り出した前記表示用画像を当該表示エリアの画像サイズに拡大する画像処理装置。
A solid-state imaging device that is positioned and fixed relative to an observation optical system and forms an optical image by the observation optical system, and in which a plurality of photoelectric conversion elements that photoelectrically convert the optical image are arranged In an image processing apparatus that generates a display image corresponding to a display area displayed on a monitor from an image generated based on an imaging signal of an element and outputs the display image to the monitor.
An information acquisition unit for acquiring the image cutout information from a storage unit for storing image cutout information for specifying an image cutout region for cutting out the display image from the image;
An image processing unit that cuts out the display image from the image based on the image cut-out information acquired by the information acquisition unit;
The information acquisition unit is an overlapping region between the displayable pixel area of the solid-state imaging device and the imaging area of the optical image formed on the solid-state imaging device by the observation optical system as the image cut-out information. Information for specifying an image cut-out area for cutting out the display image corresponding to the overlap area when the center of the imaging area and the center of the display area coincide with each other is acquired from the storage unit. ,
The image processing unit is an image processing device that enlarges the cut-out display image to an image size of the display area.
観察光学系と、前記観察光学系に対して相対的に位置決め固定され、当該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、前記固体撮像素子の撮像信号に基づき生成される画像から、モニタに表示する表示エリアに対応する表示用画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、前記記憶部に記憶されている前記画像切り出し情報に基づき、前記画像から前記表示用画像を切り出す画像処理部と、を備える内視鏡装置の作動方法において、
前記記憶部が、前記画像切り出し情報として、前記固体撮像素子の表示可能画素エリアと、前記観察光学系により前記固体撮像素子に結像される前記光学像の結像エリアとの重複領域であって、且つ前記結像エリアの中心と前記表示エリアの中心とを一致させた際の前記重複領域に対応する前記表示用画像を切り出すための画像切り出し領域を特定する情報を記憶し、
前記画像処理部が、前記切り出した前記表示用画像を当該表示エリアの画像サイズに拡大する内視鏡装置の作動方法。
An observation optical system and a solid-state imaging element that is positioned and fixed relative to the observation optical system and forms an optical image by the observation optical system, and a plurality of photoelectric conversion elements that photoelectrically convert the optical image And image cutout information for specifying an image cutout area for cutting out a display image corresponding to a display area displayed on a monitor from an image generated based on an image pickup signal of the solid state image pickup device and the solid state image pickup device. In an operating method of an endoscope apparatus comprising: a storage unit that stores data; and an image processing unit that extracts the display image from the image based on the image cutout information stored in the storage unit.
The storage unit is an overlapping area between a displayable pixel area of the solid-state imaging device and an imaging area of the optical image formed on the solid-state imaging device by the observation optical system as the image cut-out information. Storing information for specifying an image cut-out area for cutting out the display image corresponding to the overlap area when the center of the imaging area and the center of the display area are matched.
The operation method of the endoscope apparatus in which the image processing unit enlarges the cut-out display image to an image size of the display area.
前記記憶部は、前記表示用画像を前記表示エリアの画像サイズに拡大するための倍率を示す倍率情報をさらに記憶し、
前記画像処理部は、前記記憶部に記憶されている前記倍率情報に従って、前記表示用画像の拡大を行う請求項10記載の内視鏡装置の作動方法。
The storage unit further stores magnification information indicating a magnification for enlarging the display image to an image size of the display area,
The operation method of the endoscope apparatus according to claim 10, wherein the image processing unit enlarges the display image according to the magnification information stored in the storage unit.
JP2017089968A 2017-04-28 2017-04-28 Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus Active JP6310598B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017089968A JP6310598B2 (en) 2017-04-28 2017-04-28 Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017089968A JP6310598B2 (en) 2017-04-28 2017-04-28 Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014089114A Division JP6140100B2 (en) 2014-04-23 2014-04-23 Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus

Publications (2)

Publication Number Publication Date
JP2017170157A JP2017170157A (en) 2017-09-28
JP6310598B2 true JP6310598B2 (en) 2018-04-11

Family

ID=59969911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017089968A Active JP6310598B2 (en) 2017-04-28 2017-04-28 Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus

Country Status (1)

Country Link
JP (1) JP6310598B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7159577B2 (en) 2018-03-20 2022-10-25 ソニーグループ株式会社 Endoscope system, control method, information processing device, and program
JP2020167512A (en) * 2019-03-29 2020-10-08 ソニー株式会社 Medical image transmission system, medical image processing device and medical image transmission method
JP2022020501A (en) * 2020-07-20 2022-02-01 ソニーグループ株式会社 Medical arm control system, medical arm control method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002253497A (en) * 2001-03-05 2002-09-10 Fuji Photo Optical Co Ltd Electronic endoscope
JP4309605B2 (en) * 2001-05-25 2009-08-05 株式会社東芝 Image pickup apparatus having auto-centering function
JP2003265411A (en) * 2002-03-20 2003-09-24 Pentax Corp Electronic endoscope apparatus, electronic endoscope and image signal processor
JP5959331B2 (en) * 2012-06-15 2016-08-02 オリンパス株式会社 Endoscope device

Also Published As

Publication number Publication date
JP2017170157A (en) 2017-09-28

Similar Documents

Publication Publication Date Title
JP6140100B2 (en) Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus
JP6104493B1 (en) Imaging system
EP3085300A1 (en) Endoscope device
EP1723897B1 (en) Endoscope system, endoscope device, and image processing device
US20190246875A1 (en) Endoscope system and endoscope
WO2005102147A1 (en) Endoscope and endoscope system
EP3586716B1 (en) Endoscope device
JP6310598B2 (en) Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus
US11571111B2 (en) Endoscope scope, endoscope processor, and endoscope adaptor
US10129463B2 (en) Image processing apparatus for electronic endoscope, electronic endoscope system, and image processing method for electronic endoscope
US9113045B2 (en) Electronic endoscopic apparatus and control method thereof
WO2020178962A1 (en) Endoscope system and image processing device
JP6392486B1 (en) Endoscope system
JP6352673B2 (en) Endoscope apparatus and operation method of endoscope apparatus
JP7454417B2 (en) Medical control device and medical observation system
JP7235540B2 (en) Medical image processing device and medical observation system
JP2013074929A (en) Oral cavity interior observation device and oral cavity interior observation system
JP2021145823A (en) Medical control device and medical observation system
US11979670B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program for blending plurality of image signals based on a peaking signal
JP7235532B2 (en) MEDICAL IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
US20210127946A1 (en) Light source device, control method of light source, and endoscope system
US20220286607A1 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP2007160123A (en) Endoscope and endoscope system
JP2018202006A (en) Imaging system, imaging method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180316

R150 Certificate of patent or registration of utility model

Ref document number: 6310598

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250