JP6352673B2 - Endoscope apparatus and operation method of endoscope apparatus - Google Patents

Endoscope apparatus and operation method of endoscope apparatus Download PDF

Info

Publication number
JP6352673B2
JP6352673B2 JP2014089115A JP2014089115A JP6352673B2 JP 6352673 B2 JP6352673 B2 JP 6352673B2 JP 2014089115 A JP2014089115 A JP 2014089115A JP 2014089115 A JP2014089115 A JP 2014089115A JP 6352673 B2 JP6352673 B2 JP 6352673B2
Authority
JP
Japan
Prior art keywords
image
cutout
area
display area
information
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
JP2014089115A
Other languages
Japanese (ja)
Other versions
JP2015205127A (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 JP2014089115A priority Critical patent/JP6352673B2/en
Publication of JP2015205127A publication Critical patent/JP2015205127A/en
Application granted granted Critical
Publication of JP6352673B2 publication Critical patent/JP6352673B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は内視鏡装置及び内視鏡装置の操作方法に係り、特に所望の視野角をもった高品位の内視鏡画像を取得する技術に関する。 The present invention relates to an endoscope apparatus and an operation method of the endoscope apparatus, and more particularly to a technique for acquiring a high-quality endoscope image having a desired viewing angle.

従来から、医療分野において内視鏡を利用した医療診断が行われている。例えば電子スコープと呼ばれる電子内視鏡には、患者の体内に挿入される挿入部が設けられている。この挿入部の先端部位である挿入部先端部の内部空間には、観察光学系、及び観察光学系により結像される光学像を撮像する固体撮像素子などが設けられている。   Conventionally, medical diagnosis using an endoscope has been performed in the medical field. For example, an electronic endoscope called an electronic 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.

管腔形状を観察する内視鏡の場合、管腔内にひだや突起物があると、それらに隠れた箇所は内視鏡先端を湾曲させても観察が困難である。そこで、内視鏡の観察光学系の視野を広角にすることで、観察範囲を広げるようにしているが、広角の観察光学系は、歪曲収差が発生しやすく、視野周辺での画像がつぶれて見えるという問題がある。   In the case of an endoscope for observing the shape of a lumen, if there are folds or projections in the lumen, it is difficult to observe the portion hidden by them even if the tip of the endoscope is curved. Therefore, the field of view of the endoscope's observation optical system is widened to widen the observation range, but the wide-angle observation optical system is prone to distortion and the image around the field of view is crushed. There is a problem of being visible.

これに対し、特許文献1に記載の内視鏡用画像装置は、撮像素子に結像された光学像の位置を移動及び変換する際に、放射方向と同心方向とで画像の電子拡大倍率を独立して操作し、これにより中心部よりも周辺部の見えがよくなるように歪曲を補正している。   On the other hand, the endoscope image device described in Patent Document 1 sets the electronic magnification of the image in the radial direction and the concentric direction when moving and converting the position of the optical image formed on the imaging element. By operating independently, the distortion is corrected so that the peripheral portion can be seen better than the central portion.

一方、固体撮像素子は、挿入部先端部内の固体撮像素子枠に取り付け固定されたり、または、シールド枠の中に封止樹脂で固定されたりするので、固体撮像素子の取り付け位置精度は低くなる場合がある。また、挿入部先端部内での観察光学系の取り付け位置精度についても固体撮像素子と同様に低くなる場合がある。   On the other hand, since the solid-state image sensor is attached and fixed to the solid-state image sensor frame in the distal end of the insertion section or is fixed with a sealing resin in the shield frame, the mounting position accuracy of the solid-state image sensor is low There is. 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.

特許第5198138号公報Japanese Patent No. 5198138

ところで、観察光学系を広視野角化すると、観察光学系の僅かな光軸の倒れ等により、撮影画面の上下端又は左右端の視野角の差が大きく生じる。この場合、特許文献1に記載の発明のように、歪曲補正をしても視野角の差を補正することができず、画面周辺が最適な見えにはならない。尚、管腔形状を観察する内視鏡では、画面周辺の見えが重要である。   By the way, when the viewing optical system is widened, a difference in viewing angle between the upper and lower ends or the left and right ends of the photographing screen is greatly caused by a slight tilt of the optical axis of the observation optical system. In this case, as in the invention described in Patent Document 1, even if distortion correction is performed, the difference in viewing angle cannot be corrected, and the periphery of the screen cannot be viewed optimally. Note that the appearance around the screen is important in an endoscope that observes the shape of the lumen.

本発明はこのような事情に鑑みてなされたもので、広角の観察光学系と固体撮像素子との取り付け精度が低い場合や観察光学系の光学特性のばらつきによらず、表示画像の視野角範囲を、希望する視野角範囲にすることができる内視鏡装置及び内視鏡装置の操作方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and the viewing angle range of the display image is not affected when the mounting accuracy between the wide-angle observation optical system and the solid-state imaging device is low or the optical characteristics of the observation optical system are not uniform. It is an object of the present invention to provide an endoscope apparatus and an operation method of the endoscope apparatus that can make a desired viewing angle range.

上記目的を達成するために本発明の一の態様に係る内視鏡装置は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、を備え、記憶部は、表示エリアに対応する画像の上下端の視野の角度差、及び左右端の視野の角度差が、それぞれ許容角度以内になる画像切り出し情報を記憶する。   To achieve the above object, an endoscope apparatus according to one aspect of the present invention is positioned and fixed relative to an observation optical system and an observation optical system, and an optical image is formed by the observation optical system. A solid-state imaging device that corresponds to a display area that is displayed on a monitor from a solid-state imaging device in which a plurality of photoelectric conversion elements that photoelectrically convert an optical image are arrayed and an image that corresponds to a displayable pixel area of the solid-state imaging device A storage unit that stores image cutout information for specifying an image cutout region for cutting out an image, and the storage unit includes an angular difference between the upper and lower visual fields corresponding to the display area, and an angle of the left and right visual fields. Image cutout information in which the difference is within an allowable angle is stored.

本発明の一の態様によれば、記憶部に記憶された画像切り出し情報に基づいて固体撮像素子の表示可能画素エリアに対応する画像から、表示エリアに対応する画像を切り出すことにより、表示エリアに対応する画像の上下端の視野の角度差、及び左右端の視野の角度差を、それぞれ許容角度以内にすることができる。これにより、観察光学系の僅かな光軸の倒れ等の観察光学系と固体撮像素子との相対的な取り付け位置の誤差や、観察光学系の光学特性のばらつき等により、固体撮像素子の表示可能画素エリアに対応する画像の上下端の視野の角度差又は左右端の視野の角度差が大きくなっていても、表示エリアに対応する画像を希望する視野角範囲に収めることができる。したがって、同じ像高の画像の視野角を合わせることができ、あるいは極端に視野角が大きくなり、歪曲収差が大きい部分の画像が表示されないようにすることができる。   According to one aspect of the present invention, the image corresponding to the display area is cut out from the image corresponding to the displayable pixel area of the solid-state imaging device based on the image cut-out information stored in the storage unit. The angle difference between the visual fields at the upper and lower ends of the corresponding image and the angular difference between the visual fields at the left and right ends can be set within allowable angles. This makes it possible to display solid-state image sensors due to errors in the relative mounting position between the observation optical system and the solid-state image sensor, such as slight tilting of the optical axis of the observation optical system, and variations in the optical characteristics of the observation optical system. Even if the angle difference between the visual fields at the upper and lower ends of the image corresponding to the pixel area or the angular difference between the visual fields at the left and right ends is large, the image corresponding to the display area can be within the desired viewing angle range. Therefore, the viewing angles of the images having the same image height can be matched, or the viewing angle can be extremely increased, so that an image of a portion having a large distortion can be prevented from being displayed.

本発明の他の態様に係る内視鏡装置において、記憶部に記憶される画像切り出し情報は、表示エリアと同じアスペクト比を有する切り出し領域であって、表示可能画素エリアに対応する画像から切り出し領域により切り出される画像の上下端の視野の角度差、及び左右端の視野の角度差が、許容角度以内になる画像のうち、表示エリアの画像サイズに最も近い切り出し領域を示す情報であることが好ましい。   In the endoscope apparatus according to another aspect of the present invention, the image cutout information stored in the storage unit is a cutout region having the same aspect ratio as the display area, and is cut out from an image corresponding to the displayable pixel area. It is preferable that the information indicating the cut-out area closest to the image size of the display area among the images in which the angle difference between the upper and lower visual fields and the angle difference between the left and right visual fields is within an allowable angle. .

即ち、画像切り出し情報は、表示エリアと同じアスペクト比を有する切り出し領域であり、かつ切り出し領域により切り出される画像の上下端の視野の角度差、及び左右端の視野の角度差が、許容角度以内になる切り出し領域を示す情報である。更に、画像切り出し情報は、表示エリアの画像サイズと同じサイズの切り出し領域を示す情報であることが好ましいが、上記の視野の角度差の条件を満足させるために、表示エリアの画像サイズと同じサイズの切り出し領域を確保できない場合には、その中で最も大きな画像サイズ(即ち、表示エリアの画像サイズに最も近い切り出し領域)とすることが好ましい。固体撮像素子の表示可能画素エリアの画素を有効に活用するためである。   In other words, the image cutout information is a cutout area having the same aspect ratio as the display area, and the angle difference between the upper and lower visual fields of the image cut out by the cutout area and the angle difference between the left and right visual fields are within an allowable angle. It is the information which shows the cutout area which becomes. Furthermore, the image cutout information is preferably information indicating a cutout area having the same size as the image size of the display area. However, in order to satisfy the above-described angle difference condition of the visual field, the same size as the image size of the display area. If it is not possible to secure the cutout area, it is preferable to set the largest image size (that is, the cutout area closest to the image size of the display area). This is because the pixels in the displayable pixel area of the solid-state imaging device are effectively used.

本発明の更に他の態様に係る内視鏡装置において、記憶部は、表示エリアの画像サイズの垂直方向及び水平方向の画像サイズを2L,2Lとし、画像の切り出し領域の中心から画像サイズLの上端及び下端の視野の角度をθ,θとし、画像の切り出し領域の中心から画像サイズLの左端及び右端の視野の角度をθ,θとし、上下端の視野の角度差|θ−θ|、及び左右端の視野の角度差|θ−θ|の許容角度を、それぞれΔθ、Δθとすると、次式、
|θ−θ|≦Δθ
|θ−θ|≦Δθ …(1)
を満足する画像の切り出し領域を、画像切り出し情報として記憶することが好ましい。
In the endoscope apparatus according to still another aspect of the present invention, the storage unit sets the image size in the vertical direction and the horizontal direction of the image size of the display area to 2L V and 2L H, and sets the image size from the center of the image cut-out area. the top and the angle of the field of view of the lower end of the L V and theta U, and theta D, the center left and right angles of the field of view of the image size L H from the cutout region of an image and theta L, and theta R, the upper and lower ends of the field When the allowable angles of the angle difference | θ U −θ D | and the angle difference between the left and right visual fields | θ L −θ R | are Δθ V and Δθ H , respectively,
| Θ U −θ D | ≦ Δθ V
| Θ L −θ R | ≦ Δθ H (1)
It is preferable to store a cutout region of an image satisfying the above as image cutout information.

これにより、画像の切り出し領域(表示エリアに対応する2L×2Lの領域)の上下端の視野の角度差及び左右端の視野の角度差を許容角度以内にすることができる。 Thereby, the angular difference between the field of view of the angular difference and the left and right ends of the upper and lower ends of the field of view of the image of the cut-out region (region of 2L V × 2L H corresponding to the display area) may be within the acceptance angle.

本発明の更に他の態様に係る内視鏡装置において、記憶部は、(1)式を満足する画像の切り出し領域が存在しないときは、画像の切り出し領域の中心からの画像サイズL及びLを、表示エリアと同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより(1)式を満足するときの、画像の切り出し領域を画像切り出し情報として記憶することが好ましい。 In the endoscope apparatus according to still another aspect of the present invention, the storage unit stores the image sizes L V and L from the center of the image cutout area when there is no image cutout area satisfying the expression (1). It is preferable that H is reduced at the same aspect ratio as that of the display area, and an image cut-out area when the expression (1) is satisfied by the reduced image sizes A V and A H is stored as image cut-out information.

即ち、(1)式を満足するように画像の切り出し領域を、固体撮像素子の表示可能画素エリア内で移動させる場合に、画像の切り出し領域は、ケラレが発生するため、表示可能画素エリアを越えて移動させることができない。この場合には、画像の切り出し領域の画像サイズL及びLを、表示エリアと同じアスペクト比で縮小し、これにより(1)式を満足させるようにしている。 That is, when the image clipping region is moved within the displayable pixel area of the solid-state imaging device so as to satisfy the expression (1), the image clipping region exceeds the displayable pixel area because vignetting occurs. Cannot be moved. In this case, the image sizes L V and L H of the image cut-out area are reduced with the same aspect ratio as that of the display area, thereby satisfying the expression (1).

本発明の更に他の態様に係る内視鏡装置は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、を備え、記憶部は、表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる画像切り出し情報を記憶する。   An endoscope apparatus according to still another aspect 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. An image for cutting out an image corresponding to a display area to be displayed on a monitor from a solid-state image sensor in which a plurality of photoelectric conversion elements for photoelectrically converting an optical image are arranged and an image corresponding to a displayable pixel area of the solid-state image sensor A storage unit that stores image cutout information for specifying a cutout region, and the storage unit is an image in which the angles of the visual fields at the upper end, the lower end, the left end, and the right end of the image corresponding to the display area are each within an allowable angle. The cutout information is stored.

本発明の更に他の態様によれば、記憶部に記憶された画像切り出し情報に基づいて固体撮像素子の表示可能画素エリアに対応する画像から、表示エリアに対応する画像を切り出すことにより、表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度を、それぞれ許容角度以内にすることができる。これにより、観察光学系の僅かな光軸の倒れ等の観察光学系と固体撮像素子との相対的な取り付け位置の誤差や、観察光学系の光学特性のばらつき等により、固体撮像素子の表示可能画素エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が大きくなっていても、表示エリアに対応する画像を希望する視野角範囲に収めることができる。したがって、同じ像高の画像の視野角を合わせることができ、あるいは極端に視野角が大きくなり、歪曲収差が大きい部分の画像が表示されないようにすることができる。   According to still another aspect of the present invention, the image corresponding to the display area is cut out from the image corresponding to the displayable pixel area of the solid-state imaging device based on the image cut-out information stored in the storage unit. The angle of the visual field at the upper end, the lower end, the left end, and the right end of the image corresponding to can be set within an allowable angle. This makes it possible to display solid-state image sensors due to errors in the relative mounting position between the observation optical system and the solid-state image sensor, such as slight tilting of the optical axis of the observation optical system, and variations in the optical characteristics of the observation optical system. Even if the viewing angles at the upper end, lower end, left end, and right end of the image corresponding to the pixel area are large, the image corresponding to the display area can be within a desired viewing angle range. Therefore, the viewing angles of the images having the same image height can be matched, or the viewing angle can be extremely increased, so that an image of a portion having a large distortion can be prevented from being displayed.

本発明の更に他の態様に係る内視鏡装置において、記憶部に記憶される画像切り出し情報は、表示エリアと同じアスペクト比を有する切り出し領域であって、表示可能画素エリアに対応する画像から切り出し領域により切り出される画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる画像のうち、表示エリアの画像サイズに最も近い切り出し領域を示す情報であることが好ましい。   In the endoscope apparatus according to still another aspect of the present invention, the image cutout information stored in the storage unit is a cutout area having the same aspect ratio as the display area, and is cut out from an image corresponding to the displayable pixel area. It is preferable that the information indicates the cut-out area closest to the image size of the display area among the images in which the angles of the visual fields at the upper end, the lower end, the left end, and the right end of the image cut out by the area are within the allowable angle.

即ち、画像切り出し情報は、表示エリアと同じアスペクト比を有する切り出し領域であり、かつ切り出し領域により切り出される画像の上端、下端、左端、及び右端の視野の角度が、許容角度以内になる切り出し領域を示す情報である。更に、画像切り出し情報は、表示エリアの画像サイズと同じサイズの切り出し領域を示す情報であることが好ましいが、上記の視野の角度差の条件を満足させるために、表示エリアの画像サイズと同じサイズの切り出し領域を確保できない場合には、その中で最も大きな画像サイズ(即ち、表示エリアの画像サイズに最も近い切り出し領域)とすることが好ましい。固体撮像素子の表示可能画素エリアの画素を有効に活用するためである。   That is, the image cutout information is a cutout area having the same aspect ratio as that of the display area, and a cutout area in which the upper, lower, left, and right field of view of the image cut out by the cutout area is within an allowable angle. It is information to show. Furthermore, the image cutout information is preferably information indicating a cutout area having the same size as the image size of the display area. However, in order to satisfy the above-described angle difference condition of the visual field, the same size as the image size of the display area. If it is not possible to secure the cutout area, it is preferable to set the largest image size (that is, the cutout area closest to the image size of the display area). This is because the pixels in the displayable pixel area of the solid-state imaging device are effectively used.

本発明の更に他の態様に係る内視鏡装置において、記憶部は、表示エリアの画像サイズの垂直方向及び水平方向の画像サイズを2L,2Lとし、画像の切り出し領域の中心から画像サイズLの上端及び下端の視野の角度をθ,θとし、画像の切り出し領域の中心から画像サイズLの左端及び右端の視野の角度をθ,θとし、角度θ,θ,θ,θの許容角度の範囲を、それぞれΘ±ΔU,Θ±ΔD,Θ±ΔL,Θ±ΔRとすると、次式、
|Θ−θ|≦ΔU
|Θ−θ|≦ΔD
|Θ−θ|≦ΔL
|Θ−θ|≦ΔR …(2)
を満足する画像の切り出し領域を、画像切り出し情報として記憶することが好ましい。
In the endoscope apparatus according to still another aspect of the present invention, the storage unit sets the image size in the vertical direction and the horizontal direction of the image size of the display area to 2L V and 2L H, and sets the image size from the center of the image cut-out area. the top and the angle of the field of view of the lower end of the L V and theta U, and theta D, the center left and right angles of the field of view of the image size L H from the cutout region of an image and θ L, θ R, the angle theta U, theta When the allowable angle ranges of D 1 , θ L , and θ R are Θ U ± ΔU, Θ D ± ΔD, Θ L ± ΔL, and Θ R ± ΔR, respectively,
| Θ U −θ U | ≦ ΔU
| Θ D −θ D | ≦ ΔD
| Θ L −θ L | ≦ ΔL
| Θ R −θ R | ≦ ΔR (2)
It is preferable to store a cutout region of an image satisfying the above as image cutout information.

これにより、画像の切り出し領域(表示エリアに対応する2L×2Lの領域)の上端、下端、左端、及び右端の視野の角度(θ,θ,θ,θ)を、それぞれ許容角度以内にすることができる。 Thus, the upper end of the image of the cut-out region (region of 2L V × 2L H that corresponds to the display area), the lower end, left end, and right end of the field of view angle (θ U, θ D, θ L, θ R) of each It can be within an allowable angle.

本発明の更に他の態様に係る内視鏡装置において、記憶部は、(2)式を満足する画像の切り出し領域が存在しないときは、画像の切り出し領域の中心からの画像サイズL及びLを、表示エリアと同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより(2)式を満足するときの、画像の切り出し領域を画像切り出し情報として記憶することが好ましい。 In the endoscope apparatus according to still another aspect of the present invention, the storage unit stores the image sizes L V and L from the center of the image cutout area when there is no image cutout area satisfying the expression (2). It is preferable that H is reduced at the same aspect ratio as that of the display area, and an image cut-out area when the expression (2) is satisfied by the reduced image sizes A V and A H is stored as image cut-out information.

即ち、(2)式を満足するように画像の切り出し領域を、固体撮像素子の表示可能画素エリア内で移動させる場合に、画像の切り出し領域は、ケラレが発生するため、表示可能画素エリアを越えて移動させることができない。この場合には、画像の切り出し領域の画像サイズL及びLを、表示エリアと同じアスペクト比で縮小し、これにより(2)式を満足させるようにしている。 That is, when the image cutout area is moved within the displayable pixel area of the solid-state imaging device so as to satisfy the expression (2), the image cutout area exceeds the displayable pixel area because vignetting occurs. Cannot be moved. In this case, the image sizes L V and L H of the image cut-out area are reduced with the same aspect ratio as that of the display area, thereby satisfying the expression (2).

本発明の更に他の態様に係る内視鏡装置において、記憶部は、画像サイズL又はLと、縮小後の画像サイズA又はAとにより算出される電子拡大率であって、画像サイズLを画像サイズAで除算した電子拡大率、又は画像サイズLを画像サイズAで除算した電子拡大率を記憶することが好ましい。この電子拡大率で切り出した画像を電子的に拡大することにより、表示エリアに対応する画像サイズを得ることができる。 In the endoscope apparatus according to still another aspect of the present invention, the storage unit is an electronic enlargement ratio calculated by the image size L V or L H and the reduced image size AV or A H , electronic magnification by dividing the image size L V in image size a V, or preferably stores electronic magnification obtained by dividing the image size L H in image size a H. The image size corresponding to the display area can be obtained by electronically enlarging the image cut out at the electronic enlargement ratio.

本発明の更に他の態様に係る内視鏡装置において、記憶部により記憶される電子拡大率は、2以下であることが好ましい。電子拡大率が大きくなると、解像度(画質)が低下するため、電子拡大率が2倍を越えないように制限する。尚、観察光学系と固体撮像素子との相対的な取り付け位置の誤差が大きく、電子拡大率が2倍を越える場合には、不良品とすることができる。   In the endoscope apparatus according to still another aspect of the present invention, it is preferable that the electronic magnification rate stored by the storage unit is 2 or less. Since the resolution (image quality) decreases when the electronic enlargement ratio increases, the electronic enlargement ratio is limited so as not to exceed twice. In addition, when the error of the relative attachment position of an observation optical system and a solid-state image sensor is large, and an electronic magnification rate exceeds 2 times, it can be considered as a defect product.

本発明の更に他の態様に係る内視鏡装置において、記憶部は、画像の切り出し領域の画像サイズが、表示エリアの画像サイズよりも小さいとき、画像の切り出し領域の画像サイズを表示エリアの画像サイズに拡大する電子拡大率を更に記憶することが好ましい。これにより、画像の切り出し領域の画像サイズの大きさに基づいて電子拡大率を計算する必要がなく、かつ記憶された電子拡大率に応じて切り出し領域の画像を電子的に拡大することにより、表示エリアの画像サイズを一定にすることができる。   In the endoscope apparatus according to still another aspect of the present invention, when the image size of the image cutout area is smaller than the image size of the display area, the storage unit sets the image size of the image cutout area to the image of the display area. It is preferable to further memorize the electron enlargement ratio that expands to the size. This eliminates the need to calculate the electronic enlargement ratio based on the size of the image size of the cutout area of the image, and displays the image by electronically enlarging the image of the cutout area according to the stored electronic enlargement ratio. The image size of the area can be made constant.

本発明の更に他の態様に係る内視鏡装置において、記憶部に記憶される画像切り出し情報は、表示可能画素エリアから切り出す画像の対角の2つの座標情報、又は表示可能画素エリアから切り出す画像の中心又は4隅の1つの画像情報と画像サイズの情報である。   In the endoscope apparatus according to still another aspect of the present invention, the image cut-out information stored in the storage unit is two pieces of coordinate information of an image cut out from the displayable pixel area, or an image cut out from the displayable pixel area. Is one piece of image information and image size information at the center or four corners.

上記の画像切り出し情報により、表示可能画素エリアから切り出す画像を特定することができる。   The image cut out from the displayable pixel area can be specified by the image cut-out information.

本発明の更に他の態様に係る内視鏡装置において、固体撮像素子から固体撮像素子の有効画素エリアに対応する画像を入力する画像入力部と、画像入力部が入力した有効画素エリアに対応する画像から、記憶部に記憶された画像切り出し情報に基づいて、表示エリアに対応する画像を切り出す切り出し部と、切り出し部により切り出した画像の画像サイズが、表示エリアの画像サイズよりも小さいとき、切り出し画像の画像サイズを表示エリアの画像サイズに拡大する電子拡大処理部と、を備える。   In an endoscope apparatus according to still another aspect of the present invention, an image input unit that inputs an image corresponding to an effective pixel area of a solid-state image sensor from a solid-state image sensor, and an effective pixel area input by the image input unit A cutout unit that cuts out an image corresponding to the display area from the image based on the image cutout information stored in the storage unit, and a cutout when the image size of the image cut out by the cutout unit is smaller than the image size of the display area An electronic enlargement processing unit that enlarges the image size of the image to the image size of the display area.

本発明の更に他の態様によれば、画像入力部が入力した有効画素エリアに対応する画像から、記憶部に記憶された画像切り出し情報に基づいて、表示エリアに対応する画像を切り出し、切り出した画像の画像サイズが、表示エリアの画像サイズよりも小さいときは、切り出し画像の画像サイズを表示エリアの画像サイズに電子的に拡大するようにしている。これにより、表示画像の画像サイズを確保しつつ、表示画像の視野角範囲を希望する視野角範囲にすることができる。   According to still another aspect of the present invention, an image corresponding to the display area is cut out from an image corresponding to the effective pixel area input by the image input unit based on the image cut-out information stored in the storage unit. When the image size of the image is smaller than the image size of the display area, the image size of the clipped image is electronically enlarged to the image size of the display area. Thereby, the viewing angle range of the display image can be set to a desired viewing angle range while ensuring the image size of the display image.

本発明の更に他の態様に係る内視鏡装置において、切り出し部により切り出した画像を、表示エリアと同形状にマスク処理するマスク処理部を更に備えることが好ましい。これにより、表示エリアの画像が矩形形状以外の場合(例えば、四隅がカットされた画像や、円形の画像の場合)に、切り出した画像をマスク処理することにより、表示エリアの画像の形状に合わせることができる。   In the endoscope apparatus according to still another aspect of the present invention, it is preferable that the endoscope apparatus further includes a mask processing unit that masks the image cut out by the cutout unit in the same shape as the display area. As a result, when the image in the display area is other than a rectangular shape (for example, in the case of an image with four corners cut or a circular image), the cut-out image is masked to match the shape of the image in the display area. be able to.

本発明の更に他の態様に係る発明は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子とを有する撮像部と、固体撮像素子から固体撮像素子の有効画素エリアに対応する画像を入力する画像処理部と、を有する内視鏡装置の操作方法であって、撮像部が、視野の角度を示す指標を有するチャートを撮像するステップと、固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を決定するステップと、決定した画像切り出し情報を、記憶部に記憶させるステップと、を含み、画像切り出し情報を決定するステップは、チャートを撮像するステップにより取得した画像に基づいて、表示エリアに対応する画像の上下端の視野の角度差、及び左右端の視野の角度差が、それぞれ許容角度以内になる画像切り出し情報を決定する。 Furthermore the invention according to another aspect of the present invention, an observation optical system, are relatively positioned and fixed with respect to the observation optical system, a solid-state imaging device of which optical image is formed by the observation optical system, an optical image An imaging unit including an imaging unit having a solid-state imaging device in which a plurality of photoelectric conversion elements for photoelectric conversion are arranged , and an image processing unit that inputs an image corresponding to an effective pixel area of the solid-state imaging device from the solid-state imaging device a method of operating a mirror device, the imaging unit includes the steps of imaging the chart with an index indicating the angle of view field, the image corresponding to the displayable pixel area of the solid-state imaging device, a display area to be displayed on the monitor A step of determining image cutout information for specifying an image cutout area for cutting out a corresponding image, and storing the determined image cutout information in a storage unit. The step of determining the information is based on the image acquired in the step of imaging the chart, and the angle difference between the upper and lower visual fields and the angular difference between the left and right visual fields corresponding to the display area are within an allowable angle. The image cutout information to be determined is determined.

本発明の更に他の態様に係る発明は、観察光学系と、観察光学系に対して相対的に位置決め固定され、観察光学系により光学像が結像される固体撮像素子であって、光学像を光電変換する複数の光電変換素子が配列された固体撮像素子とを有する撮像部と、固体撮像素子から固体撮像素子の有効画素エリアに対応する画像を入力する画像処理部と、を有する内視鏡装置の操作方法であって、撮像部が、視野の角度を示す指標を有するチャートを撮像するステップと、固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を決定するステップと、決定した画像切り出し情報を、記憶部に記憶させるステップと、を含み、画像切り出し情報を決定するステップは、チャートを撮像するステップにより取得した画像に基づいて、表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる画像切り出し情報を決定する。 Furthermore the invention according to another aspect of the present invention, an observation optical system, are relatively positioned and fixed with respect to the observation optical system, a solid-state imaging device of which optical image is formed by the observation optical system, an optical image An imaging unit including an imaging unit having a solid-state imaging device in which a plurality of photoelectric conversion elements for photoelectric conversion are arranged , and an image processing unit that inputs an image corresponding to an effective pixel area of the solid-state imaging device from the solid-state imaging device a method of operating a mirror device, the imaging unit includes the steps of imaging the chart with an index indicating the angle of view field, the image corresponding to the displayable pixel area of the solid-state imaging device, a display area to be displayed on the monitor A step of determining image cutout information for specifying an image cutout area for cutting out a corresponding image, and storing the determined image cutout information in a storage unit. The step of determining the information is based on the image acquired by the step of imaging the chart, and the image cutout information is such that the angles of the visual field at the upper end, the lower end, the left end, and the right end of the image corresponding to the display area are within the allowable angle. To decide.

本発明の更に他の態様に係る内視鏡装置の操作方法において、撮像部が、観察対象を撮像するステップと、固体撮像素子から固体撮像素子の有効画素エリアに対応する画像を、画像処理部が入力するステップと、画像処理部の画像切り出し部が、入力した有効画素エリアに対応する画像から、記憶部に記憶された画像切り出し情報に基づいて、表示エリアに対応する画像を切り出すステップと、を含んでいる。これにより、固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出す際に、切り出される表示画像の視野角範囲を、希望する視野角範囲にすることができる。 In yet an operation method of the endoscope apparatus according to another aspect of the present invention, the imaging unit includes the steps of imaging the observation target, an image corresponding from the solid-state image sensor in the effective pixel area of the solid-state imaging device, image processing A step of inputting by the image processing unit, and a step of cutting out the image corresponding to the display area from the image corresponding to the input effective pixel area by the image clipping unit of the image processing unit based on the image clipping information stored in the storage unit. , Including. As a result, when the image corresponding to the display area displayed on the monitor is cut out from the image corresponding to the displayable pixel area of the solid-state imaging device, the viewing angle range of the display image to be cut out is set to the desired viewing angle range. Can do.

本発明の更に他の態様に係る内視鏡装置の操作方法において、画像を切り出すステップにより切り出した画像の画像サイズが、表示エリアの画像サイズよりも小さいとき、画像処理部の電子拡大処理部が、切り出し画像の画像サイズを表示エリアの画像サイズに電子的に拡大するステップを更に含むことが好ましい。これにより、表示エリアの画像サイズと同じサイズの表示画像を取得することができる。 In the operation method of the endoscope apparatus according to still another aspect of the present invention, when the image size of the image cut out by the step of cutting out the image is smaller than the image size of the display area, the electronic enlargement processing unit of the image processing unit preferably further comprising the step of electronically magnify the image size of the clipped image to the image size of the display area. Thereby, a display image having the same size as the image size of the display area can be acquired.

本発明によれば、観察光学系と固体撮像素子との取り付け精度が低い場合や観察光学系の光学特性のばらつきによらず、表示画像の上下端の視野の角度差、又は左右端の視野の角度差、あるいは表示画像の上下左右の視野の角度を、許容角度以内に収めることができ、表示画像の視野角範囲を希望する視野角範囲にすることができ、また、ケラレのない希望する画像サイズの画像を得ることができる。   According to the present invention, when the mounting accuracy between the observation optical system and the solid-state imaging device is low or the optical characteristics of the observation optical system are not varied, the angle difference between the upper and lower visual fields of the display image, or the right and left visual fields. The angle difference or the angle of the visual field on the top, bottom, left, and right of the display image can be kept within the allowable angle, the display angle range of the display image can be set to the desired viewing angle range, and the desired image without vignetting A size image can be obtained.

本発明に係る内視鏡装置の斜視図である。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 a figure for demonstrating the positional relationship with the effective pixel area of a solid-state image sensor, the displayable pixel area, the image formation area where an optical image is imaged with an observation optical system, and the display area displayed on a monitor. 表示可能画素エリアの中心と結像エリアの中心とがずれている状態において、結像エリアの中心を基準に表示エリアに対応する画像を切り出す場合を示す図である。It is a figure which shows the case where the image corresponding to a display area is cut out on the basis of the center of an imaging area in the state where the center of the displayable pixel area and the center of an imaging area have shifted | deviated. 画像切り出し領域、及び画像切り出し情報を説明するための説明図である。It is explanatory drawing for demonstrating an image cut-out area | region and image cut-out information. 電子拡大率を説明するための説明図である。It is explanatory drawing for demonstrating an electronic expansion rate. 図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 shows the flow of the display process of the observation image containing the image process which concerns on the operating method of the endoscope apparatus which concerns on this invention. 本発明に係る内視鏡装置の操作方法に係る画像処理を説明するための図である。It is a figure for demonstrating the image processing which concerns on the operating method of the endoscope apparatus which concerns on this invention. 本発明に係る内視鏡装置の操作方法に係る画像処理で使用する画像切り出し情報及び電子拡大率の記憶工程の流れを示すフローチャートである。It is a flowchart which shows the flow of the memory | storage process of the image cut-out information used by the image processing which concerns on the operating method of the endoscope apparatus which concerns on this invention, and an electronic magnification. テストチャートの一例を示す図である。It is a figure which shows an example of a test chart. 本発明に係る内視鏡装置の操作方法に係る画像処理を説明するための図であり、他の実施形態の表示エリアの場合に関する図である。It is a figure for demonstrating the image processing which concerns on the operating method of the endoscope apparatus which concerns on this invention, and is a figure regarding the case of the display area of other embodiment. 本発明の内視鏡装置に用いられるカプセルシステムの概略図である。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.

以下、添付図面に従って本発明に係る内視鏡装置及び内視鏡装置の操作方法の好ましい実施の形態について説明する。 Hereinafter, preferred embodiments of an endoscope apparatus and an operation method of the 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 target in a patient. Yes.

光源装置12は、観察対象を照明する照明光を電子内視鏡11へ供給する。プロセッサ装置13は、本発明の画像処理装置の一形態に相当するものであり、電子内視鏡11により得られた画像信号に基づいてモニタ14に表示する表示用画像の画像データ(以下、表示用画像データという)を生成してモニタ14に出力する。モニタ14は、プロセッサ装置13から入力される画像データに基づき観察対象の観察像を表示する。   The light source device 12 supplies illumination light for illuminating the observation target 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 display data) of a display image displayed on the monitor 14 based on the image signal obtained by the electronic endoscope 11. Image data) and output to the monitor 14. The monitor 14 displays an observation image to be observed 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 that is the distal end portion of the insertion portion 16 incorporates an observation optical system, a solid-state imaging device, and the like that are used for illumination of an observation target 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 image signal obtained by the electronic endoscope 11 via the connector portion 25b is converted into the processor device 13. Is input.

[内視鏡装置の電気的構成]
図2は、内視鏡装置10の電気的構成を示すブロック図である。図2に示すように、光源装置12は、光源中央処理装置(光源CPU)31、光源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 central processing unit (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 a light emitting diode (LED) or a laser diode (LD) or a xenon lamp is used, and emission of illumination light is controlled by a light source driver 33. 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と、ROM(Read Only Memory)48と、内視鏡記憶部49とを有している。   The electronic endoscope 11 is roughly divided into a light guide 40, an illumination window 42, an observation window 43, an observation optical system 44 and a solid-state image sensor 45 which are one form of an imaging unit, an endoscope CPU 47, and a ROM. (Read Only Memory) 48 and an endoscope storage unit 49 are provided.

ライトガイド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 object through the illumination window 42. The illumination light reflected / scattered by the observation object 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 that has entered through the observation window 43, that is, an optical image of the observation target, on the imaging surface of the solid-state imaging device 45.

固体撮像素子45は、CMOS(complementary metal oxide semiconductor)型又はCCD(charge coupled device)型の撮像素子であり、観察光学系44よりも奥側の位置で観察光学系44に相対的に位置決め固定されている。固体撮像素子45の撮像面には、光学像を光電変換する複数の光電変換素子(フォトダイオード)により構成される複数の画素が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. On the imaging surface of the solid-state imaging device 45, a plurality of pixels configured by a plurality of photoelectric conversion elements (photodiodes) that photoelectrically convert an optical image are two-dimensionally arranged. The solid-state imaging device 45 converts an optical image formed by the observation optical system 44 into an electrical image 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, the 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 an electronic enlargement ratio 53 described later in detail as information transmitted to the processor device 13 are stored in advance 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. Further, 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 electronic magnification 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.

固体撮像素子45から出力される画像信号を入力する画像入力部の一形態として機能するDSP63は、プロセッサCPU61の制御の下、電子内視鏡11から入力された1フレーム分の画像信号に対し、色補間、色分離、色バランス調整、ガンマ補正、画像強調処理等の各種信号処理を行い、1フレーム分の画像データを生成する。尚、DSP63は、プロセッサCPU61から入力された識別情報に基づき、電子内視鏡11の種類(機種)に応じた各種の信号処理を行う。そして、DSP63は、生成した1フレーム分ごとの画像データを逐次に画像処理部65に出力する。   A DSP 63 that functions as one form of an image input unit that inputs an image signal output from the solid-state imaging device 45, with respect to an image signal for one frame input from the electronic endoscope 11 under the control of the processor CPU 61. Various signal processing such as color interpolation, color separation, color balance adjustment, gamma correction, and image enhancement processing is performed to generate image data for one frame. 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 electronic enlargement ratio 53 input from the processor CPU 61.

画像処理部65は、図7に示すように表示エリアに対応する画像を画像切り出し部81、切り出した画像を電子的に拡大する電子拡大処理部(電子拡大処理部)82と、画像の一部をマスクで覆うマスク処理部83とを含み、プロセッサCPU61の制御の下、プロセッサ記憶部64から取得した画像切り出し情報51及び電子拡大率53に基づき、DSP63から入力される画像データに対して画像切り出し処理、電子拡大処理、及びマスク処理を施すことで、表示用画像データを生成する。そして、画像処理部65は、表示用画像データを表示ドライバ66に出力する。   As shown in FIG. 7, the image processing unit 65 includes an image cutout unit 81 for an image corresponding to the display area, an electronic enlargement processing unit (electronic enlargement processing unit) 82 for electronically enlarging the cutout image, and a part of the image. A mask processing unit 83 for covering the image data with a mask, and under the control of the processor CPU 61, based on the image cropping information 51 and the electronic enlargement ratio 53 acquired from the processor storage unit 64, the image cropping is performed on the image data input from the DSP 63. Display image data is generated by performing processing, electronic enlargement processing, and mask processing. 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 to be observed on the monitor 14 based on the display image data input from the image processing unit 65.

[画像切り出し情報]
図3は、固体撮像素子45の有効画素エリア150、表示可能画素エリア155、観察光学系により光学像が結像される結像エリア(イメージサークル)160、モニタ14に表示される表示エリア(表示画素エリア)170との位置関係を説明するための説明図である。
[Image clipping information]
3 shows an effective pixel area 150, a displayable pixel area 155, an image formation area (image circle) 160 on which an optical image is formed by the observation optical system, and a display area (display) displayed on the monitor 14. It is explanatory drawing for demonstrating the positional relationship with (pixel area) 170.

尚、図3は、観察光学系44の光軸と、固体撮像素子45の表示可能画素エリア155の中心とが一致し、かつ光軸方向が表示可能画素エリア155の面に対して垂直になる(光軸の倒れがない)ように、観察光学系44と固体撮像素子45とが相対的に高精度に位置決めされている状態(理想的な位置決め状態)に関して示している。また、観察光学系44は、少なくとも観察光学系の中心(光軸)に対して点対称の歪曲収差をもつ光学系とする。   In FIG. 3, the optical axis of the observation optical system 44 and the center of the displayable pixel area 155 of the solid-state image sensor 45 coincide, and the optical axis direction is perpendicular to the surface of the displayable pixel area 155. This shows a state (ideal positioning state) in which the observation optical system 44 and the solid-state imaging device 45 are positioned with relatively high accuracy so that the optical axis is not tilted. In addition, the observation optical system 44 is an optical system having distortion aberration that is point-symmetric with respect to at least the center (optical axis) of the observation optical system.

図3において、有効画素エリア150は、固体撮像素子45の撮像面上において画素の信号が実際に撮像した信号として用いられる画素エリアであり、本実施形態では矩形状の画素エリアである。   In FIG. 3, an effective pixel area 150 is a pixel area where a pixel signal is used as a signal actually captured 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の中心と、表示可能画素エリア155の中心CGとを一致させている。尚、有効画素エリア150の中心と表示可能画素エリア155の中心CGとがずれていてもよい。   The effective pixel area 150 includes a displayable pixel area 155 that is an area that can be 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 center of the effective pixel area 150 is matched with the center CG of the displayable pixel area 155 in order to prevent the drawing from becoming complicated. Note that the center of the effective pixel area 150 and the center CG of the displayable pixel area 155 may be shifted.

結像エリア160は、観察光学系44により固体撮像素子45の撮像面に結像される光学像のエリアであり、本実施形態では円形状のエリアである。また、複数の円は、複数の視野角(例えば、90°、150°、170°等)の範囲を示している。図3に示す例では、観察光学系44は、点対称の歪曲収差をもっており、結像エリア160及び複数の視野角を示す円は、それぞれ光軸を中心に真円になっている。   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. The plurality of circles indicate ranges of a plurality of viewing angles (for example, 90 °, 150 °, 170 °, etc.). In the example shown in FIG. 3, the observation optical system 44 has point-symmetric distortion, and the imaging area 160 and the circles indicating a plurality of viewing angles are respectively true circles around the optical axis.

表示エリア170は、モニタ14に表示される、後述するマスク処理が施された画像の観察対象表示エリアである。本実施形態の表示エリア170は、四隅がカットされた八角形状のエリアであり、その垂直方向及び水平方向の最大画素数は、「2L」、「2L」である。また、表示エリア170の縦横比(アスペクト比(L:L))は、例えば、4:3である。 The display area 170 is an observation target 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 an octagonal area with four corners cut, and the maximum number of pixels in the vertical and horizontal directions is “2L V ” and “2L H ”. The aspect ratio (aspect ratio (L H : L V )) of the display area 170 is, for example, 4: 3.

また、図3に示す理想的な例では、表示エリア170の中心CH(図3に示す例では、結像エリア160の中心CK)から画像サイズLの上端及び下端の視野の角度をθ,θとし、画像の切り出し領域の中心から画像サイズLの左端及び右端の視野の角度をθ,θとすると、θ=θであり、かつθ=θとなる。 Further, in the ideal case shown in FIG. 3, (in the example shown in FIG. 3, the center CK of the imaging area 160) center CH of the display area 170 the upper end and the angle of the field of view of the lower end of the image size L V from theta U , theta is D, the center left and right angles of the field of view of the image size L H from the cutout region of an image theta L, when the theta R, is θ U = θ D, and the θ L = θ R.

次に、観察光学系44と固体撮像素子45との位置決め精度が低く(光軸の倒れも含む)、また、観察光学系44の歪曲収差が点対称でない場合について説明する。   Next, the case where the positioning accuracy of the observation optical system 44 and the solid-state image sensor 45 is low (including tilting of the optical axis) and the distortion aberration of the observation optical system 44 is not point-symmetric will be described.

図4は、表示可能画素エリア155の中心と結像エリア160の中心CKとがずれている状態において、結像エリア160の中心を基準に表示エリア170に対応する画像を切り出す場合に関して示している。   FIG. 4 shows a case where an image corresponding to the display area 170 is cut out based on the center of the imaging area 160 in a state where the center of the displayable pixel area 155 and the center CK of the imaging area 160 are shifted. .

図4に示す例では、結像エリア160の中心CKが、表示エリア170の中心になるように、表示可能画素エリア155から画像を切り出している。   In the example illustrated in FIG. 4, an image is cut out from the displayable pixel area 155 so that the center CK of the imaging area 160 is the center of the display area 170.

結像エリア160の中心を基準に表示エリア170に対応する画像を切り出す場合、観察光学系44と固体撮像素子45との位置ずれ(即ち、結像エリア160の中心CKと、表示可能画素エリア155の中心CGとのずれ)と、観察光学系44の歪曲収差の非点対称とが相俟って、表示エリア170の左端の視野の角度θと、右端の視野の角度θとが大きく異なる場合がある。例えば、表示エリア170の左端の視野の角度θが、170°よりも小さくなる(例えば、160°程度になる)のに対し、右端の視野の角度θは170°よりも大きくなり(例えば、175°程度になり)、表示エリア170に対応する画像の左端の視野の角度θと、右端の視野の角度θとの角度差が大きくなり、表示エリア170の左端周辺の画像と、右端周辺の画像との画質の差(歪曲収差)が大きくなる。 When an image corresponding to the display area 170 is cut out with the center of the imaging area 160 as a reference, the positional deviation between the observation optical system 44 and the solid-state imaging device 45 (that is, the center CK of the imaging area 160 and the displayable pixel area 155). And the astigmatism of the distortion aberration of the observation optical system 44, the left end visual field angle θ L and the right end visual field angle θ R are large. May be different. For example, the viewing angle θ L at the left end of the display area 170 is smaller than 170 ° (for example, about 160 °), whereas the viewing angle θ R at the right end is larger than 170 ° (for example, 175 °), the angle difference between the left-end visual field angle θ L of the image corresponding to the display area 170 and the right-end visual field angle θ R becomes large, and the image around the left edge of the display area 170, The difference in image quality (distortion aberration) from the image around the right end increases.

<第1実施形態>
本発明の第1実施形態は、表示可能画素エリア155に対応する画像から切り出す画像(表示エリア170に対応する画像)の上下端の視野の角度差、及び左右端の視野の角度差が、許容角度以内になるように、表示可能画素エリア155から画像を切り出す。
<First Embodiment>
In the first embodiment of the present invention, the angle difference between the visual fields at the upper and lower ends and the angular difference between the visual fields at the left and right ends of the image cut out from the image corresponding to the displayable pixel area 155 (the image corresponding to the display area 170) are acceptable. An image is cut out from the displayable pixel area 155 so as to be within an angle.

また、表示可能画素エリア155から所望の画像サイズ(2L×2L)を切り出すことができない場合には、画像サイズを縮小して切り出す。 If a desired image size (2L V × 2L H ) cannot be cut out from the displayable pixel area 155, the image size is reduced and cut out.

図5に示すように、表示可能画素エリア155から、表示エリア170に対応する2L×2Lの画像を切り出す。2L×2Lの切り出し領域の決定は、画像の切り出し領域の中心(表示エリア170の中心)CHから画像サイズLの上端及び下端の視野の角度をθ,θとし、画像の切り出し領域の中心(表示エリア170の中心CH)から画像サイズLの左端及び右端の視野の角度をθ,θとし、上下端の視野の角度差|θ−θ|、及び左右端の視野の角度差|θ−θ|の許容角度を、それぞれΔθ、Δθとすると、次式、
[数1]
|θ−θ|≦Δθ
|θ−θ|≦Δθ …(1)
を満足するように決定する。
As shown in FIG. 5, the displayable pixel area 155, it cuts out the image of 2L V × 2L H corresponding to the display area 170. Determining the cutout region of 2L V × 2L H is the angle of the upper and lower ends of the central vision (the center of the display area 170) images from CH size L V of the cutout region of an image and theta U, theta D, clipping of the image The angle of the visual field at the left end and the right end of the image size L H from the center of the area (center CH of the display area 170) is θ L and θ R, and the angle difference | θ U −θ D | If the permissible angles of the visual field angle difference | θ L −θ R | are Δθ V and Δθ H , respectively,
[Equation 1]
| Θ U −θ D | ≦ Δθ V
| Θ L −θ R | ≦ Δθ H (1)
To be satisfied.

尚、上下端の視野の角度差|θ−θ|、及び左右端の視野の角度差|θ−θ|は、ゼロであることが好ましいが、ゼロにできない場合(表示可能画素エリア155の範囲を越えて切り出し範囲を設定することができないため、ゼロにできない場合)には、許容角度Δθ、Δθ以内に収めるようにする。許容角度Δθ、Δθは、例えば、10°以内の適宜の値として設定することができる。 The angle difference | θ U −θ D | between the upper and lower ends and the angle difference | θ L −θ R | between the left and right ends are preferably zero, but cannot be zero (displayable pixels). If the cutout range cannot be set beyond the range of the area 155 and cannot be set to zero, the cutout range is set within the allowable angles Δθ V and Δθ H. The allowable angles Δθ V and Δθ H can be set as appropriate values within 10 °, for example.

これにより、画像の切り出し領域(表示エリアに対応する2L×2Lの領域)の上下端の視野の角度差及び左右端の視野の角度差を、それぞれ許容角度以内にすることができる。 Thereby, the angular difference between the field of view of the angular difference and the left and right ends of the upper and lower ends of the field of view of the image of the cut-out region (region of 2L V × 2L H that corresponds to the display area) may be within respective allowable angle.

また、上記(1)式を満足する画像の切り出し領域が存在しないときは、画像の切り出し領域の中心からの画像サイズL及びLを、表示エリア170と同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより、上記(1)式を満足するときの画像の切り出し領域を決定する。ここで、縮小後の画像サイズA、Aは、上記(1)式を満足する範囲内で、最も大きい画像サイズ(最も表示エリア170の画像サイズに近い画像サイズ)であることが好ましい。固体撮像素子45の表示可能画素エリア155の画素を有効に活用するためである。 Further, when there is no image cutout area that satisfies the above expression (1), the image sizes L V and L H from the center of the image cutout area are reduced at the same aspect ratio as that of the display area 170, and after the reduction The image cutout area when the above equation (1) is satisfied is determined by the image sizes A V and A H of the image. Here, the reduced image sizes A V and A H are preferably the largest image size (the image size closest to the image size of the display area 170) within the range satisfying the above expression (1). This is because the pixels in the displayable pixel area 155 of the solid-state image sensor 45 are effectively used.

図5において、点線で示した領域170Aは、縮小後の画像の切り出し領域を示している。   In FIG. 5, a region 170A indicated by a dotted line indicates a cut-out region of the image after reduction.

内視鏡記憶部49には、上記のように決定された画像切り出し領域を特定する画像切り出し情報51を記憶させる。この画像切り出し情報51は、表示可能画素エリア155の座標情報であって、切り出す画像の対角の2つの座標情報((x1,)、(x2,))、又は表示可能画素エリア155から切り出す画像の中心又は4隅の1つの画像情報と画像サイズの情報とすることができる。 The endoscope storage unit 49 stores image cutout information 51 that identifies the image cutout area determined as described above. The image clipping information 51 is a coordinate information of the displayable pixel area 155, the two coordinate information diagonal cut image ((x 1, y 1) , (x 2, y 2)), or can be displayed One piece of image information at the center or four corners of the image cut out from the pixel area 155 and image size information can be used.

画像処理部65の画像切り出し部81(図7)は、内視鏡記憶部49に記憶された画像切り出し情報51に基づいて、画像切り出し領域に対応する表示用画像データ73を切り出す。   The image cutout unit 81 (FIG. 7) of the image processing unit 65 cuts out the display image data 73 corresponding to the image cutout region based on the image cutout information 51 stored in the endoscope storage unit 49.

また、図6に示すように、内視鏡記憶部49には、画像の切り出し領域を縮小させた場合には、その縮小した領域の画像を、元のサイズ(表示エリア170に対応する画像サイズ)に電子的に拡大するための電子拡大率53を記憶させることが好ましい。尚、電子拡大率53は、画像の切り出し領域の中心からの画像サイズL又はLと、表示エリア170と同じアスペクト比で縮小した縮小後の画像サイズA、Aとに基づいて、画像サイズLを画像サイズAで除算した値、又は画像サイズLを画像サイズAで除算した値を、電子拡大率として求めることができる。また、画像の切り出し領域を縮小させた場合の縮小率に基づいて、その縮小率の逆数から電子拡大率53を求めることができる。 Further, as shown in FIG. 6, in the endoscope storage unit 49, when the cutout area of the image is reduced, the image of the reduced area is displayed in the original size (image size corresponding to the display area 170). ) Is preferably stored with an electronic enlargement ratio 53 for electronic enlargement. The electronic enlargement ratio 53 is based on the image size L V or L H from the center of the image cut-out area and the reduced image sizes A V and A H reduced at the same aspect ratio as the display area 170. image size L V value obtained by dividing the image size a V, or the image size L H value obtained by dividing the image size a H, can be obtained as electronic magnification. Further, based on the reduction ratio when the cutout area of the image is reduced, the electronic enlargement ratio 53 can be obtained from the reciprocal of the reduction ratio.

画像処理部65の電子拡大処理部82(図7)は、内視鏡記憶部49に記憶された電子拡大率53に基づいて、画像切り出された画像データ73を電子的に拡大し、表示エリア170に対応する表示用画像データ73Aを生成する。   The electronic enlargement processing unit 82 (FIG. 7) of the image processing unit 65 electronically enlarges the image data 73 cut out based on the electronic enlargement rate 53 stored in the endoscope storage unit 49, and displays the display area. Display image data 73A corresponding to 170 is generated.

更に、電子拡大率53は、2倍以下であることが好ましい。即ち、電子拡大率53が大きくなると、解像度(画質)が低下するため、電子拡大率53が2倍を越えないように制限することが好ましい。尚、観察光学系44と固体撮像素子45との相対的な取り付け位置の誤差が大きく、電子拡大率が2倍を越える場合には、不良品とすることができる。   Furthermore, it is preferable that the electron magnification 53 is not more than twice. In other words, since the resolution (image quality) decreases as the electronic magnification 53 increases, it is preferable to limit the electronic magnification 53 so that it does not exceed twice. In addition, when the error of the relative attachment position of the observation optical system 44 and the solid-state image sensor 45 is large, and an electronic magnification rate exceeds 2 times, it can be considered as inferior goods.

<第2実施形態>
本発明の第2実施形態は、表示可能画素エリア155に対応する画像から切り出す画像(表示エリア170に対応する画像)の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になるように、表示可能画素エリア155から画像を切り出す。即ち、第1実施形態は、切り出す画像の上下端の視野の角度差、及び左右端の視野の角度差が、それぞれ許容角度以内になるように、表示可能画素エリア155から画像を切り出すが、第2実施形態は、切り出す画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になるように、表示可能画素エリア155から画像を切り出す点で相違する。
Second Embodiment
In the second embodiment of the present invention, the angles of the top, bottom, left, and right fields of view of an image cut out from an image corresponding to the displayable pixel area 155 (an image corresponding to the display area 170) are within allowable angles. Thus, an image is cut out from the displayable pixel area 155. That is, in the first embodiment, the image is cut out from the displayable pixel area 155 so that the angle difference between the upper and lower visual fields and the angle difference between the left and right visual fields are within allowable angles. The second embodiment is different in that the image is cut out from the displayable pixel area 155 so that the angles of the visual fields at the upper end, the lower end, the left end, and the right end of the cut out image are within allowable angles.

また、表示可能画素エリア155から所望の画像サイズ(2L×2L)を切り出すことができない場合には、画像サイズを縮小して切り出す点は、第1実施形態と同様である。 Further, when a desired image size (2L V × 2L H ) cannot be cut out from the displayable pixel area 155, the point that the image size is reduced and cut out is the same as in the first embodiment.

図5に示すように、表示可能画素エリア155から、表示エリア170に対応する2L×2Lの画像を切り出す。2L×2Lの切り出し領域の決定は、画像の切り出し領域の中心(表示エリア170の中心)CHから画像サイズLの上端及び下端の視野の角度をθ,θとし、画像の切り出し領域の中心(表示エリアの中心CH)から画像サイズLの左端及び右端の視野の角度をθ,θとし、角度θ,θ,θ,θの許容角度の範囲を、それぞれΘ±ΔU,Θ±ΔD,Θ±ΔL,Θ±ΔRとすると、次式、
[数2]
|Θ−θ|≦ΔU
|Θ−θ|≦ΔD
|Θ−θ|≦ΔL
|Θ−θ|≦ΔR …(2)
を満足するように決定する。
As shown in FIG. 5, the displayable pixel area 155, it cuts out the image of 2L V × 2L H corresponding to the display area 170. Determining the cutout region of 2L V × 2L H is the angle of the upper and lower ends of the central vision (the center of the display area 170) images from CH size L V of the cutout region of an image and theta U, theta D, clipping of the image The angles of the visual field at the left end and the right end of the image size L H from the center of the area (display area center CH) are θ L and θ R, and the allowable angle ranges of the angles θ U , θ D , θ L , and θ R are Assuming that Θ U ± ΔU, Θ D ± ΔD, Θ L ± ΔL, and Θ R ± ΔR, respectively,
[Equation 2]
| Θ U −θ U | ≦ ΔU
| Θ D −θ D | ≦ ΔD
| Θ L −θ L | ≦ ΔL
| Θ R −θ R | ≦ ΔR (2)
To be satisfied.

尚、上記角度差|Θ−θ|、|Θ−θ|、|Θ−θ|、及び|Θ−θ|、は、ゼロであることが好ましいが、ゼロにできない場合(表示可能画素エリア155の範囲を越えて切り出し範囲を設定することができないため、ゼロにできない場合)には、角度差が、それぞれΔU,ΔD,ΔL,ΔR以内に収めるようにする。ΔU,ΔD,ΔL,ΔRは、第1実施形態の許容角度Δθ、Δθの2分の1程度、例えば、5°以内の適宜の値として設定することができる。 Incidentally, the angle difference | Θ U -θ U |, | Θ D -θ D |, | Θ L -θ L |, and | Θ R R |, is preferably a zero, zero When it is not possible (when the clipping range cannot be set beyond the range of the displayable pixel area 155 and cannot be set to zero), the angle difference is set within ΔU, ΔD, ΔL, and ΔR, respectively. ΔU, ΔD, ΔL, and ΔR can be set as appropriate values within about half of the allowable angles Δθ V and Δθ H of the first embodiment, for example, within 5 °.

これにより、画像の切り出し領域(表示エリアに対応する2L×2Lの領域)の上端、下端、左端、及び右端の視野の角度(θ,θ,θ,θ)を、それぞれ許容角度以内にすることができる。 Thus, the upper end of the image of the cut-out region (region of 2L V × 2L H that corresponds to the display area), the lower end, left end, and right end of the field of view angle (θ U, θ D, θ L, θ R) of each It can be within an allowable angle.

また、上記(2)式を満足する画像の切り出し領域が存在しないときは、画像の切り出し領域の画像サイズ2L及び2Lを、表示エリア170と同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより、上記(2)式を満足するときの画像の切り出し領域を決定する。ここで、縮小後の画像サイズA、Aは、上記(2)式を満足する範囲内で、最も大きい画像サイズ(最も表示エリア170の画像サイズに近い画像サイズ)であることが好ましい。固体撮像素子45の表示可能画素エリア150の画素を有効に活用するためである。 Further, the (2) when the cut-out region of the image does not exist to satisfy the equation, the image size 2L V and 2L H of the cut-out region of the image, reduced in the same aspect ratio as the display area 170, the image size after reduction Based on A V and A H , an image cut-out region when the above expression (2) is satisfied is determined. Here, the reduced image sizes A V and A H are preferably the largest image size (the image size closest to the image size of the display area 170) within the range satisfying the expression (2). This is because the pixels in the displayable pixel area 150 of the solid-state image sensor 45 are effectively used.

そして、第1実施形態と同様に、内視鏡記憶部49に画像切り出し情報51、電子拡大率53を記憶させる。   Then, similarly to the first embodiment, the image storage information 51 and the electronic magnification rate 53 are stored in the endoscope storage unit 49.

そして、図7に示す画像処理部65の画像切り出し部81は、内視鏡記憶部49に記憶された画像切り出し情報51に基づいて、画像切り出し領域に対応する表示用画像データ73を切り出し(図5)、画像処理部65の電子拡大処理部82は、内視鏡記憶部49に記憶された電子拡大率53に基づいて、画像切り出された画像データ73を電子的に拡大し、表示エリア170に対応する表示用画像データ73Aを生成する(図6)。   Then, the image cutout unit 81 of the image processing unit 65 shown in FIG. 7 cuts out the display image data 73 corresponding to the image cutout region based on the image cutout information 51 stored in the endoscope storage unit 49 (FIG. 7). 5) The electronic enlargement processing unit 82 of the image processing unit 65 electronically enlarges the image data 73 cut out based on the electronic enlargement ratio 53 stored in the endoscope storage unit 49, and displays the display area 170. The display image data 73A corresponding to is generated (FIG. 6).

[画像処理部の構成]
図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 electronic enlargement processing unit 82, and a mask processing unit 83.

フレームメモリ80は、DSP63から入力される1フレーム分ごとの画像データ71(表示可能画素エリア155の画像データ)を一時的に記憶するメモリであり、複数フレーム分の画像データ71を同時に記憶する。尚、DSP63から入力される新たな画像データ71は、フレームメモリ80に記憶されている最も古い画像データ71に上書きされる。   The frame memory 80 is a memory that temporarily stores image data 71 (image data of the displayable pixel area 155) 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(又は内視鏡記憶部49)から取得した画像切り出し情報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 as shown in FIG. 5, the image cutout information 51 acquired from the processor storage unit 64 (or the endoscope storage unit 49). Based on the above, the display image data 73 is cut out from the image data 71. The image cutout unit 81 outputs the cutout display image data 73 to the electronic enlargement processing unit 82.

電子拡大処理部82は、図6に示したように、プロセッサ記憶部64から取得した電子拡大率53に基づき、画像切り出し部81から入力された表示用画像データ73を電子拡大率53で電子的に拡大して表示用画像データ73Aを生成する。尚、電子拡大処理は、電子拡大率53に応じて、表示用画像データ73を補間して画素数を増加させ、表示エリア170に対応する画像サイズにする処理である。電子拡大処理部82は、生成した表示用画像データ73Aをマスク処理部83に出力する。   As shown in FIG. 6, the electronic enlargement processing unit 82 electronically displays the display image data 73 input from the image cutout unit 81 based on the electronic enlargement rate 53 acquired from the processor storage unit 64. And display image data 73A is generated. Note that the electronic enlargement process is a process of interpolating the display image data 73 in accordance with the electronic enlargement ratio 53 to increase the number of pixels to obtain an image size corresponding to the display area 170. The electronic enlargement processing unit 82 outputs the generated display image data 73A to the mask processing unit 83.

尚、画像切り出し部81から入力する表示用画像データ73が、表示エリア170に対応する画像サイズを有する場合には、電子拡大率53の値は1であり、この場合には、電子拡大処理部82は、電子拡大処理を行わずに、入力する表示用画像データ73をそのまま出力する。   When the display image data 73 input from the image cutout unit 81 has an image size corresponding to the display area 170, the value of the electronic enlargement ratio 53 is 1. In this case, the electronic enlargement processing unit 82 outputs the input display image data 73 as it is without performing the electronic enlargement process.

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

マスク処理は、マスク処理部83内で表示用画像データ73Aを1画素ずつ流しながら、マスク画像データ86に基づき、表示エリア170内に対応する画素(非マスク部86aに対応する画素)はそのまま出力し、表示エリア170外に対応する画素(マスク部86bに対応する画素)は破棄して代わりにマスク画素を出力する方法で行われる。マスク画素は、例えば、低輝度(黒)画素に対応するデータである。マスク処理部83は、マスク処理が施された表示用画像データ73Bを、表示ドライバ66に出力する。これにより、表示ドライバ66によって表示用画像データ73Bに基づく観察対象の観察像がモニタ14に表示される。   In the mask process, the display image data 73A is flowed pixel by pixel in the mask processing unit 83, and pixels corresponding to the display area 170 (pixels corresponding to the non-mask part 86a) are output as they are based on the mask image data 86. Then, the pixel corresponding to the outside of the display area 170 (the pixel corresponding to the mask portion 86b) is discarded and the mask pixel is output instead. The mask pixel is data corresponding to, for example, a low luminance (black) pixel. The mask processing unit 83 outputs the display image data 73B subjected to the mask process to the display driver 66. Thereby, the observation image of the observation target based on the display image data 73 </ b> B is displayed on the monitor 14 by the display driver 66.

[内視鏡装置の操作方法]
次に、図9から図12を用いて上記構成の内視鏡装置10の操作方法について説明する。
[ Operation method of endoscope apparatus]
Next, an operation method of the endoscope apparatus 10 having the above configuration will be described with reference to FIGS. 9 to 12.

<観察像の表示処理>
図9は、本発明に係る内視鏡装置の操作方法に係る画像処理を含む観察像の表示処理の流れを示すフローチャートであり、図10は本発明に係る内視鏡装置の操作方法に係る画像処理を説明するための説明図である。
<Display processing of observation image>
Figure 9 is a flowchart showing a flow of display processing of the observation image including an image processing according to the operation method of the endoscope apparatus according to the present invention, FIG. 10 according to the operation method of the endoscope apparatus according to the present invention It is explanatory drawing for demonstrating image processing.

図10に示すように、最初に内視鏡装置10の起動が開始される。具体的には電子内視鏡11のコネクタ部25a,25bを光源装置12、プロセッサ装置13にそれぞれ接続して、光源装置12及びプロセッサ装置13の電源をONする。これにより、光源装置12及びプロセッサ装置13がそれぞれ起動すると共に、光源装置12等からの給電により電子内視鏡11が起動する。   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 starting up the electronic endoscope 11, the light source device 12, and the processor device 13, the endoscope CPU 47 converts the image cutout information 51 and the electronic magnification 53 stored in the endoscope storage unit 49 into the processor CPU 61. Send to. Thereby, the processor CPU 61 can acquire the image cutout information 51 and the electronic enlargement ratio 53. The processor CPU 61 stores the acquired image cutout information 51 and the electronic enlargement ratio 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 electronic enlargement processing unit 82 acquires the electronic enlargement rate 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 unit 16 of the electronic endoscope 11 is inserted into the patient's body and imaging of the observation target is performed (step S13). Illumination light supplied from the light source device 12 passes through the light guide 40 and is emitted from the illumination window 42 toward the observation target. The illumination light reflected or scattered by the observation object 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 image signal and outputs the image 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.

図10(A),(B)に示すように、画像切り出し部81は、フレームメモリ80から画像データ71を読み出して、先に取得した画像切り出し情報51に基づき、画像データ71から画像切り出し領域に対応する表示用画像データ73を切り出す画像切り出し処理を行う。この際に、表示用画像データ73(表示エリアに対応する画像)の上下端の視野の角度差及び左右端の視野の角度差が許容角度以内になるように、又は表示用画像データ73の上端、下端、左端、及び右端の視野の角度がそれぞれ許容角度以内になるように、画像データ71から表示用画像データ73が切り出される。切り出された表示用画像データ73は、画像切り出し部81から電子拡大処理部82に出力される。   As shown in FIGS. 10A and 10B, 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 data 71 is transferred to the image cutout area. Image cutout processing for cutting out the corresponding display image data 73 is performed. At this time, the visual angle difference between the upper and lower visual fields and the angular difference between the visual fields at the left and right edges of the display image data 73 (image corresponding to the display area) are within an allowable angle, or The display image data 73 is cut out from the image data 71 so that the visual field angles at the lower end, the left end, and the right end are within allowable angles. The clipped display image data 73 is output from the image clipping unit 81 to the electronic enlargement processing unit 82.

図10(C)に示すように、電子拡大処理部82は、先に取得した電子拡大率53に基づき、画像切り出し部81から入力された表示用画像データ73を電子拡大率53で電子拡大する画像拡大処理を行う。これにより、表示用画像データ73を表示エリア170の画像サイズに拡大してなる表示用画像データ73Aが得られる。   As shown in FIG. 10C, the electronic enlargement processing unit 82 electronically enlarges the display image data 73 input from the image cutout unit 81 at the electronic enlargement rate 53 based on the previously acquired electronic enlargement rate 53. Perform image enlargement processing. Thereby, display image data 73A obtained by enlarging the display image data 73 to the image size of the display area 170 is obtained.

この表示用画像データ73Aは、電子拡大処理部82からマスク処理部83に出力される。尚、電子拡大率53の値が1倍の場合(電子拡大処理を行わない場合)には、画像切り出し部81から入力された表示用画像データ73がそのままマスク処理部83に出力される。   The display image data 73A is output from the electronic enlargement processing unit 82 to the mask processing unit 83. When the value of the electronic enlargement ratio 53 is 1 (when the electronic enlargement process is not performed), the display image data 73 input from the image cutout unit 81 is output to the mask processing unit 83 as it is.

図10(D)に示すように、マスク処理部83は、表示用画像データ73Aに対してマスク処理を施して表示用画像データ73Bを生成する。マスク処理が施された表示用画像データ73Bは、マスク処理部83から表示ドライバ66に出力される。   As illustrated in FIG. 10D, 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.

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

<画像切り出し情報及び電子拡大率の記憶工程>
図11は、電子内視鏡11の製造工程の一部であり、本発明に係る内視鏡装置の操作方法に係る画像処理で使用する画像切り出し情報51及び電子拡大率53の記憶工程の流れを示すフローチャートである。図12は、テストチャート100の一例を示す図である。
<Image cutout information and electronic magnification rate storage process>
FIG. 11 is 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 electronic magnification 53 used in the image processing according to the operation method of the endoscope apparatus according to the present invention. It is a flowchart which shows. FIG. 12 is a diagram illustrating an example of the test chart 100.

図11に示すように、電子内視鏡11の観察光学系44及び固体撮像素子45を含む撮像モジュールの組み立てが完了した後(電子内視鏡11の組み立て完了後でも可)、撮像モジュールで、テストチャート100の撮像を行う(ステップS30)。   As shown in FIG. 11, 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 (even after the assembly of the electronic endoscope 11 is completed), the imaging module The test chart 100 is imaged (step S30).

図12に示すように、テストチャート100は、視野の角度を示す指標として、例えば、多数の視野角を示す円(同心円)が描かれたものである。   As shown in FIG. 12, the test chart 100 is one in which, for example, a circle (concentric circle) indicating a number of viewing angles is drawn as an index indicating a viewing angle.

テストチャート100の撮像時には、テストチャート100と撮像モジュールとの距離が正確に調整され、かつテストチャート100の中心と、観察光学系44の光軸とが一致するように調整する。観察光学系44の光軸は、テストチャート100を撮像した画像を解析し、例えば、歪みの点対称点を光軸として求めることができる。尚、テストチャート100の中心と、観察光学系44の光軸とを一致させる方法は、これに限らない。   At the time of imaging the test chart 100, the distance between the test chart 100 and the imaging module is adjusted accurately, and the center of the test chart 100 and the optical axis of the observation optical system 44 are adjusted to coincide. The optical axis of the observation optical system 44 can be obtained by analyzing an image obtained by imaging the test chart 100 and using, for example, a point symmetry point of distortion as the optical axis. The method for matching the center of the test chart 100 with the optical axis of the observation optical system 44 is not limited to this.

続いて、固体撮像素子45の有効画素エリア150から所要の画像を切り出すための画像切り出し情報の設定を行う(ステップS32)。ここでの画像切り出し情報は、例えば、画像切り出し領域の中心座標C(x0,)と、切り出す画像の画像サイズ(2L,2L)とすることができる。尚、中心座標C(x0,)及び画像サイズ(2L,2L)は、予め設定した値にすることができ、中心座標C(x,y)は、有効画素エリア150の中心(表示可能画素エリア155の中心CG)に設定することができる。 Subsequently, image cutout information for cutting out a required image from the effective pixel area 150 of the solid-state image sensor 45 is set (step S32). Image cropping information here, for example, the center coordinates of the image cut-out area C (x 0, y 0) , the image size of the cut out image (2L H, 2L V) can be. The center coordinates C (x 0, y 0 ) and the image size (2L H , 2L V ) can be set to preset values, and the center coordinates C (x 0 , y 0 ) (The center CG of the displayable pixel area 155).

続いて、現在設定されている画像切り出し情報により切り出される画像の上端、下端、左端、右端の視野の角度(θ,θ,θ,θ)を測定する(ステップS34)。これらの角度(θ,θ,θ,θ)は、テストチャート100の画像から読み取ることができる。 Subsequently, the visual field angles (θ U , θ D , θ L , θ R ) of the upper end, the lower end, the left end, and the right end of the image cut out based on the currently set image cut-out information are measured (step S34). These angles (θ U , θ D , θ L , θ R ) can be read from the image of the test chart 100.

次に、ステップS34で測定した角度(θ,θ,θ,θ)に基づいて、上下端の視野の角度差|θ−θ|、及び左右端の視野の角度差|θ−θ|を求め、これらの角度差|θ−θ|、角度差|θ−θ|が、それぞれ許容角度Δθ、Δθ内に入っているか否かを判別する(ステップS36)。 Next, based on the angles (θ U , θ D , θ L , θ R ) measured in step S34, the angle difference | θ U −θ D | of the upper and lower end visual fields and the angle difference of the left and right visual fields | θ L −θ R | is obtained, and it is determined whether or not these angle differences | θ U −θ D | and angle difference | θ L −θ R | are within allowable angles Δθ V and Δθ H , respectively. (Step S36).

角度差|θU−θD|、角度差|θL−θR|の少なくとも一方が、許容角度ΔθV、ΔθH内に入ってない場合(「No」の場合)には、画像切り出し領域の中心座標C(x0,)を修正することができるか否か(即ち、表示可能画素エリア155内で、画像切り出し領域を移動させることができる否か)を判別する(ステップS38)。尚、画像切り出し領域の中心座標C(x0,)は、表示可能画素エリア155の画像サイズと、切り出す画像の画像サイズ(2L,2L)との差分(余裕分)だけ移動させることができる。 When at least one of the angle difference | θU−θD | and the angle difference | θL−θR | is not within the allowable angles ΔθV and ΔθH (in the case of “No”), the center coordinates C (x 0, y 0 ) can be corrected (that is, whether or not the image clipping region can be moved within the displayable pixel area 155) (step S38). Note that the center coordinates C (x 0, y 0 ) of the image cut-out area are moved by the difference (allowance) between the image size of the displayable pixel area 155 and the image size (2L V , 2L H ) of the cut-out image. be able to.

画像切り出し領域の中心座標C(x0,)の修正が可能な場合(「Yes」の場合)には、角度差|θ−θ|、角度差|θ−θ|が小さくなる方向に修正し(ステップS40)、ステップS34に遷移させる。そして、ステップS34で、画像切り出し領域の修正後の角度(θ,θ,θ,θ)を再び測定し、ステップS34からステップS40の処理を繰り返す。 When the center coordinates C (x 0, y 0 ) of the image cutout region can be corrected (when “Yes”), the angle difference | θ U −θ D | and the angle difference | θ L −θ R | Correction is made in a decreasing direction (step S40), and the process proceeds to step S34. In step S34, the corrected angles (θ U , θ D , θ L , θ R ) of the image cutout region are measured again, and the processing from step S34 to step S40 is repeated.

一方、ステップS38において、画像切り出し領域の中心座標C(x,y)の修正が不能な場合(「No」の場合)には、切り出す画像の画像サイズ(2L,2L)を、所定の縮小率α(例えば、0.9)で縮小する(ステップS42)。即ち、現在の画像サイズ(2L,2L)に縮小率αを乗算し、乗算結果を新たな画像サイズとする。 On the other hand, in step S38, when the correction of the center coordinates C (x 0 , y 0 ) of the image cut-out area is impossible (in the case of “No”), the image size (2L V , 2L H ) of the cut-out image is Reduction is performed at a predetermined reduction rate α (for example, 0.9) (step S42). That is, the current image size (2L V , 2L H ) is multiplied by the reduction ratio α, and the multiplication result is set as a new image size.

画像サイズの縮小後、ステップS34に遷移させ、再びステップS34からステップS40の処理を行う。尚、切り出す画像の画像サイズを縮小することにより、画像切り出し領域の中心座標C(x0,)を修正できる範囲が拡大される。 After the image size is reduced, the process proceeds to step S34, and the processes from step S34 to step S40 are performed again. Note that, by reducing the image size of the image to be cut out, the range in which the center coordinates C (x 0, y 0 ) of the image cut-out region can be corrected is expanded.

そして、ステップS36において、角度差|θ−θ|、角度差|θ−θ|が、それぞれ許容角度Δθ、Δθ内に入っている場合(「Yes」の場合)には、現在設定されている画像切り出し情報及び電子拡大率(縮小率の逆数)を、内視鏡記憶部49に記憶させ(ステップS44)、終了する。 In step S36, when the angle difference | θ U −θ D | and the angle difference | θ L −θ R | are within the allowable angles Δθ V and Δθ H (when “Yes”), respectively. The currently set image cutout information and the electronic enlargement ratio (reciprocal of the reduction ratio) are stored in the endoscope storage unit 49 (step S44), and the process ends.

上記の画像切り出し領域を示す画像切り出し情報の決定は、自動的に行うようにしてもよいし、オペレータが、適宜切り出し情報を決定してもよい。後者の場合、画像切り出し領域の位置、及び切り出す画像の画像サイズを、テストチャートが撮像された画像上に重畳して表示させるユーザインターフェースを設けることが好ましい。   The determination of the image cutout information indicating the image cutout area may be automatically performed, or the operator may appropriately determine the cutout information. In the latter case, it is preferable to provide a user interface that displays the position of the image cutout region and the image size of the cutout image superimposed on the image on which the test chart is captured.

また、図11に示した画像切り出し情報及び電子拡大率を内視鏡記憶部49に記憶させる処理は、本発明の第1実施形態に対応しているが、第2実施形態の場合も同様に行うことができる。   Further, the process of storing the image cutout information and the electronic enlargement ratio shown in FIG. 11 in the endoscope storage unit 49 corresponds to the first embodiment of the present invention, but similarly in the case of the second embodiment. It can be carried out.

[表示エリアの他の実施形態]
図13は本発明に係る内視鏡装置の操作方法に係る画像処理を説明するための説明図であり、他の実施形態の表示エリアの場合に関して示している。
[Other embodiments of display area]
FIG. 13 is an explanatory diagram for explaining image processing according to the operation method of the endoscope apparatus according to the present invention, and shows a case of a display area according to another embodiment.

図13に示す実施形態の表示エリアは、円形である。   The display area of the embodiment shown in FIG. 13 is circular.

図13(A),(B)に示すように、画像切り出し部81は、フレームメモリ80から画像データ71(有効画素エリア150の画像データ)を読み出して、内視鏡記憶部49から取得した画像切り出し情報51に基づき、画像データ71から画像切り出し領域に対応する表示用画像データ73を切り出す処理を行う。   As shown in FIGS. 13A and 13B, the image cutout unit 81 reads the image data 71 (image data of the effective pixel area 150) from the frame memory 80 and acquires the image from the endoscope storage unit 49. Based on the cutout information 51, a process of cutting out the display image data 73 corresponding to the image cutout area from the image data 71 is performed.

この場合、内視鏡記憶部49に記憶された画像切り出し情報51は、円形の表示エリアに外接する正方形の切り出し領域を示す画像切り出し情報であり、正方形の切り出し領域に対応する表示用画像データ73の上下端の視野の角度差及び左右端の視野の角度差が許容角度以内になるように、又は表示用画像データ73の上端、下端、左端、及び右端の視野の角度がそれぞれ許容角度以内になるように、切り出し領域が設定されている。   In this case, the image cutout information 51 stored in the endoscope storage unit 49 is image cutout information indicating a square cutout area that circumscribes a circular display area, and display image data 73 corresponding to the square cutout area. The angle difference between the visual field at the upper and lower ends and the angle difference between the visual fields at the left and right ends are within the allowable angle, or the visual field angles at the upper, lower, left, and right ends of the display image data 73 are within the allowable angle. The cutout area is set so as to be.

正方形の切り出し領域を示す画像切り出し情報に基づいて切り出された表示用画像データ73は、画像切り出し部81から電子拡大処理部82に出力される。   Display image data 73 cut out based on image cutout information indicating a square cutout area is output from the image cutout unit 81 to the electronic enlargement processing unit 82.

図13(C)に示すように、電子拡大処理部82は、内視鏡記憶部49から取得した電子拡大率53に基づき、画像切り出し部81から入力された表示用画像データ73を電子拡大率53で電子拡大する画像拡大処理を行う。これにより、表示用画像データ73を表示エリア170の画像サイズに拡大してなる表示用画像データ73Aが得られる。   As shown in FIG. 13C, the electronic enlargement processing unit 82 converts the display image data 73 input from the image clipping unit 81 based on the electronic enlargement rate 53 acquired from the endoscope storage unit 49 to an electronic enlargement rate. In 53, image enlargement processing for electronic enlargement is performed. Thereby, display image data 73A obtained by enlarging the display image data 73 to the image size of the display area 170 is obtained.

この表示用画像データ73Aは、電子拡大処理部82からマスク処理部83に出力される。尚、電子拡大率が1倍の場合(電子拡大処理を行わない場合)には、画像切り出し部81から入力された表示用画像データ73がそのままマスク処理部83に出力される。   The display image data 73A is output from the electronic enlargement processing unit 82 to the mask processing unit 83. When the electronic enlargement ratio is 1 (when the electronic enlargement process is not performed), the display image data 73 input from the image cutout unit 81 is output to the mask processing unit 83 as it is.

図13(D)に示すように、マスク処理部83は、表示用画像データ73Aに対してマスク処理を施して表示用画像データ73Bを生成する。マスク処理が施された表示用画像データ73Bは、マスク処理部83から表示ドライバ66に出力される。   As shown in FIG. 13D, 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.

尚、有効画素エリア、表示可能画素エリア、結像エリア、及び表示エリアの形状及び大きさは、上記各実施形態で表されている形状及び大きさに限定されるものではなく、適宜変更してもよい。また、表示エリアが矩形の場合には、マスク処理は省略することができる。   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. Further, when the display area is rectangular, the mask process can be omitted.

[カプセルシステムへの適用例]
本発明の内視鏡装置を構成する電子内視鏡としては、軟性内視鏡、硬性内視鏡、工業用内視鏡、カプセルシステム(カプセル型内視鏡ともいう)などが挙げられる。以下、カプセルシステムを例に挙げ、図面を参照しつつ、詳細に説明する。
[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.

図14で示すように、カプセルシステム501は、照明システム512と、光学系514及び画像センサ516を備えるカメラとを含む。画像センサ516でキャプチャされた画像は、画像プロセッサ518によって処理される。画像プロセッサ518は、デジタル信号処理部(DSP)又は中央処理装置(CPU)で実行されるソフトウェアにて、又はハードウェアにて、或いはソフトウェア及びハードウェアの両者の組み合わせにて実装されるようにすることができる。処理された画像は、画像圧縮サブシステム519(実施形態によっては、画像プロセッサ518のDSPで実行されるソフトウェアに実装されることもある)によって圧縮される。圧縮されたデータは、アーカイブメモリシステム520に保存される。カプセルシステム501は、バッテリ電源521及び出力ポート526を含む。カプセルシステム501は、蠕動によって消化管(GI管)500の中を進むことができる。   As shown in FIG. 14, the capsule system 501 includes an illumination system 512 and a camera that includes 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が実装されるようにすることもできる。図14では、LEDはカメラの開口に近接して配置されているが、他の配置も可能である。光源が、例えば、開口の後ろに備えられることもある。レーザダイオードのような他の光源が使用されることもある。別の方法として、白色光源又は2つ以上の狭い波長帯域の光源を組み合わせたものが用いられることもある。長い波長の光を放射するため、LEDの光によって励起されるリン光性材料とともに、白色LEDを使用することも可能である。白色LEDには、青色LED又は紫LEDが含まれることがある。光を通過させるためのカプセルハウジングの所定の部分は、生物学的に適合したガラス又はポリマから作られる。   The illumination system 512 can also be configured with LEDs. In FIG. 14, 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. The image cutout information 51 and the electronic magnification 53 are stored. The image cutout information 51 and the electronic magnification 53 stored in the endoscope storage unit 527 are transmitted to the processor device via the output port 526.

図15は、本発明の一実施形態に係る飲み込み式カプセルシステム502を示す。カプセルシステム502は、アーカイブメモリシステム520及び出力ポート526を必要としていないという点を除いて、図14のカプセルシステム501と実質的に同様な構成にすることができる。カプセルシステム502は、ワイヤレス送信に使用される通信プロトコルエンコーダ1320及び送信器1326も含む。カプセルシステム501及びカプセルシステム502の要素のうち、実質的に同一の要素は同じ参照符号が付与されている。したがって、それらの構造及び機能はここでは再び説明しない。制御モジュール522は、カプセルシステム502の全体を統括制御する。通信プロトコルエンコーダ1320は、DSP又はCPUで実行されるソフトウェアにて、ハードウェアにて、又はソフトウェア及びハードウェアの組み合わせにて実装される。送信器1326は、キャプチャされたデジタル画像を送信するためのアンテナシステムを含む。   FIG. 15 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. 14 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. The image cutout information 51 and the electronic magnification 53 are stored. The image cutout information 51 and the electronic magnification 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 electronic enlargement ratio 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 electronic magnification 53 from the electronic endoscope 11. The obtained image cutout information 51 and the electronic enlargement ratio 53 may be acquired, or the image cutout information 51 and the electronic enlargement ratio 53 may be obtained 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 an electronic enlargement ratio 53 corresponding to a plurality of types of electronic endoscope 11 are stored in advance in the processor storage unit 64 and are input from the electronic endoscope 11 to the processor device 13. Based on the identification information of the electronic endoscope 11 or the like, the image cutout information 51 and the electronic magnification 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.

また、電子拡大率は、画像切り出し情報51により特定される画像サイズと、表示エリアの画像サイズとに基づいて算出することができるため、電子拡大率は必ずしも記憶されていなくてもよい。   Further, since the electronic enlargement ratio can be calculated based on the image size specified by the image cutout information 51 and the image size of the display area, the electronic enlargement ratio does not necessarily have to be stored.

本発明は上述した実施形態に限定されず、本発明の精神を逸脱しない範囲で種々の変形が可能であることは言うまでもない。   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 ... Electronic magnification, 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 ... Electronic enlargement processing unit, 83 ... Mask processing unit, 150 ... Effective pixel area, 155 ... Displayable pixel area, 160 ... Image forming area, 170 ... Display area

Claims (15)

観察光学系と、
前記観察光学系に対して相対的に位置決め固定され、該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、
前記固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、を備え、
前記記憶部は、前記表示エリアに対応する画像の上下端の視野の角度差、及び左右端の視野の角度差が、それぞれ許容角度以内になる前記画像切り出し情報を記憶する内視鏡装置。
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 an image corresponding to a display area displayed on a monitor from an image corresponding to a displayable pixel area of the solid-state imaging element;
The said storage part is an endoscope apparatus which memorize | stores the said image cut-out information in which the angle difference of the visual field of the upper and lower ends of the image corresponding to the said display area, and the angle difference of the visual field of a right-and-left end are each within an allowable angle.
前記記憶部に記憶される前記画像切り出し情報は、前記表示エリアと同じアスペクト比を有する切り出し領域であって、前記表示可能画素エリアに対応する画像から前記切り出し領域により切り出される画像の上下端の視野の角度差、及び左右端の視野の角度差が、許容角度以内になる画像のうち、前記表示エリアの画像サイズに最も近い切り出し領域を示す情報である請求項1に記載の内視鏡装置。   The image cutout information stored in the storage unit is a cutout area having the same aspect ratio as the display area, and upper and lower visual fields of an image cut out by the cutout area from an image corresponding to the displayable pixel area. The endoscope apparatus according to claim 1, which is information indicating a cutout region closest to the image size of the display area among images in which the difference in angle and the difference in angle between the left and right visual fields are within an allowable angle. 前記記憶部は、
前記表示エリアの画像サイズの垂直方向及び水平方向の画像サイズを2L,2Lとし、前記画像の切り出し領域の中心から画像サイズLの上端及び下端の視野の角度をθ,θとし、前記画像の切り出し領域の中心から画像サイズLの左端及び右端の視野の角度をθ,θとし、前記上下端の視野の角度差|θ−θ|、及び前記左右端の視野の角度差|θ−θ|の許容角度を、それぞれΔθ、Δθとすると、次式、
|θ−θ|≦Δθ
|θ−θ|≦Δθ …(1)
を満足する前記画像の切り出し領域を、前記画像切り出し情報として記憶する請求項1又は2に記載の内視鏡装置。
The storage unit
Image size of vertical and horizontal image size of 2L V of the display area, and 2L H, the angle of the field of view of the upper and lower ends of the image size L V and theta U, theta D from the center of the cutout region of the image , Θ L and θ R are the visual angles of the left end and the right end of the image size L H from the center of the cutout region of the image, and the angle difference | θ U −θ D | When the allowable angles of the visual field angle difference | θ L −θ R | are Δθ V and Δθ H , respectively,
| Θ U −θ D | ≦ Δθ V
| Θ L −θ R | ≦ Δθ H (1)
The endoscope apparatus according to claim 1, wherein a cutout region of the image that satisfies the above is stored as the image cutout information.
前記記憶部は、前記(1)式を満足する前記画像の切り出し領域が存在しないときは、前記画像の切り出し領域の中心からの前記画像サイズL及びLを、前記表示エリアと同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより前記(1)式を満足するときの、前記画像の切り出し領域を前記画像切り出し情報として記憶する請求項3に記載の内視鏡装置。 The storage unit sets the image sizes L V and L H from the center of the cutout area of the image to the same aspect ratio as the display area when there is no cutout area of the image that satisfies the expression (1). The endoscope apparatus according to claim 3, wherein the image cut-out area is stored as the image cut-out information when the image size is reduced by the image size A V and A H and the expression (1) is satisfied. 観察光学系と、
前記観察光学系に対して相対的に位置決め固定され、該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、
前記固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、を備え、
前記記憶部は、前記表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる前記画像切り出し情報を記憶し、
前記記憶部に記憶される画像切り出し情報は、前記表示エリアと同じアスペクト比を有する切り出し領域であって、前記表示可能画素エリアに対応する画像から前記切り出し領域により切り出される画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる画像のうち、前記表示エリアの画像サイズに最も近い切り出し領域を示す情報である内視鏡装置。
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 an image corresponding to a display area displayed on a monitor from an image corresponding to a displayable pixel area of the solid-state imaging element;
The storage unit stores the image cut-out information in which the angles of the visual field at the upper end, the lower end, the left end, and the right end of the image corresponding to the display area are each within an allowable angle,
The image cutout information stored in the storage unit is a cutout area having the same aspect ratio as the display area, and an upper end, a lower end, and a left end of an image cut out from the image corresponding to the displayable pixel area by the cutout area. An endoscope apparatus that is information indicating a cutout area closest to the image size of the display area among images in which the angle of the visual field at the right end is within an allowable angle.
観察光学系と、
前記観察光学系に対して相対的に位置決め固定され、該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子と、
前記固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を記憶する記憶部と、を備え、
前記記憶部は、前記表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる前記画像切り出し情報を記憶するものであって、前記表示エリアの画像サイズの垂直方向及び水平方向の画像サイズを2L,2Lとし、前記画像の切り出し領域の中心から画像サイズLの上端及び下端の視野の角度をθ,θとし、前記画像の切り出し領域の中心から画像サイズLの左端及び右端の視野の角度をθ,θとし、前記角度θ,θ,θ,θの許容角度の範囲を、それぞれΘ±ΔU,Θ±ΔD,Θ±ΔL,Θ±ΔRとすると、次式、
|Θ−θ|≦ΔU
|Θ−θ|≦ΔD
|Θ−θ|≦ΔL
|Θ−θ|≦ΔR …(2)
を満足する前記画像の切り出し領域を、前記画像切り出し情報として記憶する内視鏡装置。
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 an image corresponding to a display area displayed on a monitor from an image corresponding to a displayable pixel area of the solid-state imaging element;
The storage unit stores the image cutout information in which the angles of the visual field at the upper end, the lower end, the left end, and the right end of the image corresponding to the display area are each within an allowable angle, and the image of the display area the size of the vertical and horizontal image size and 2L V, 2L H, the upper end and the angle of the field of view of the lower end of the image size L V and theta U, theta D from the center of the cutout region of the image, clipping of the image The viewing angles of the left end and the right end of the image size L H from the center of the region are θ L and θ R, and the allowable angle ranges of the angles θ U , θ D , θ L , and θ R are respectively θ U ± ΔU, If Θ D ± ΔD, Θ L ± ΔL, Θ R ± ΔR,
| Θ U −θ U | ≦ ΔU
| Θ D −θ D | ≦ ΔD
| Θ L −θ L | ≦ ΔL
| Θ R −θ R | ≦ ΔR (2)
The endoscope apparatus which memorize | stores the cutout area | region of the said image which satisfy | fills as said image cutout information.
前記記憶部は、前記(2)式を満足する前記画像の切り出し領域が存在しないときは、前記画像の切り出し領域の中心からの前記画像サイズL及びLを、前記表示エリアと同じアスペクト比で縮小し、縮小後の画像サイズA、Aにより前記(2)式を満足するときの、前記画像の切り出し領域を前記画像切り出し情報として記憶する請求項6に記載の内視鏡装置。 When there is no cutout area of the image that satisfies the expression (2), the storage unit sets the image sizes L V and L H from the center of the cutout area of the image to the same aspect ratio as the display area. The endoscope apparatus according to claim 6, wherein the image cut-out area is stored as the image cut-out information when the image size is reduced by the image size A V and A H and the expression (2) is satisfied. 前記記憶部は、前記画像サイズL又はLと、前記縮小後の画像サイズA又はAとにより算出される電子拡大率であって、前記画像サイズLを前記画像サイズAで除算した前記電子拡大率、又は前記画像サイズLを前記画像サイズAで除算した前記電子拡大率を記憶する請求項4又は7に記載の内視鏡装置。 The storage unit is an electronic enlargement ratio calculated by the image size L V or L H and the reduced image size AV or A H, and the image size L V is the image size AV . dividing the said electronic enlargement ratio, or endoscope apparatus according to the image size L H to claim 4 or 7 to store the electronic magnification obtained by dividing by the image size a H. 前記記憶部により記憶される前記電子拡大率は、2以下である請求項8に記載の内視鏡装置。   The endoscope apparatus according to claim 8, wherein the electronic magnification rate stored by the storage unit is 2 or less. 前記記憶部は、前記画像の切り出し領域の画像サイズが、前記表示エリアの画像サイズよりも小さいとき、前記画像の切り出し領域の画像サイズを前記表示エリアの画像サイズに拡大する電子拡大率を更に記憶する請求項1から9のいずれか1項に記載の内視鏡装置。   The storage unit further stores an electronic enlargement ratio for enlarging the image size of the image cutout area to the image size of the display area when the image size of the image cutout area is smaller than the image size of the display area. The endoscope apparatus according to any one of claims 1 to 9. 前記記憶部に記憶される画像切り出し情報は、前記表示可能画素エリアから切り出す画像の対角の2つの座標情報、又は前記表示可能画素エリアから切り出す画像の中心又は4隅の1つの画像情報と画像サイズの情報である請求項1から10のいずれか1項に記載の内視鏡装置。   The image cut-out information stored in the storage unit is two pieces of coordinate information on the diagonal of the image cut out from the displayable pixel area, or one piece of image information and image at the center or four corners of the image cut out from the displayable pixel area. The endoscope apparatus according to any one of claims 1 to 10, which is size information. 前記固体撮像素子から該固体撮像素子の有効画素エリアに対応する画像を入力する画像入力部と、
前記画像入力部が入力した有効画素エリアに対応する画像から、前記記憶部に記憶された画像切り出し情報に基づいて、前記表示エリアに対応する画像を切り出す切り出し部と、
前記切り出し部により切り出した画像の画像サイズが、前記表示エリアの画像サイズよりも小さいとき、前記切り出し画像の画像サイズを前記表示エリアの画像サイズに拡大する電子拡大処理部と、
を備えた請求項1から11のいずれか1項に記載の内視鏡装置。
An image input unit for inputting an image corresponding to an effective pixel area of the solid-state image sensor from the solid-state image sensor;
A cutout unit that cuts out an image corresponding to the display area based on image cutout information stored in the storage unit from an image corresponding to the effective pixel area input by the image input unit;
An electronic enlargement processing unit for enlarging the image size of the cutout image to the image size of the display area when the image size of the image cut out by the cutout unit is smaller than the image size of the display area;
The endoscope apparatus according to claim 1, further comprising:
前記切り出し部により切り出した画像を、前記表示エリアと同形状にマスク処理するマスク処理部を更に備えた請求項12に記載の内視鏡装置。   The endoscope apparatus according to claim 12, further comprising a mask processing unit that masks an image cut out by the cutout unit in the same shape as 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 Is an operation method of an endoscope apparatus including: an imaging unit including a solid-state imaging device in which an image is arranged; and an image processing unit that inputs an image corresponding to an effective pixel area of the solid-state imaging device from the solid-state imaging device. And
The imaging unit imaging a chart having an index indicating a viewing angle;
Determining image cutout information for specifying an image cutout area for cutting out an image corresponding to a display area to be displayed on a monitor from an image corresponding to a displayable pixel area of the solid-state imaging device;
Storing the determined image cutout information in a storage unit,
The step of determining the image cut-out information is based on the image acquired by the step of imaging the chart, and the angle difference between the visual fields at the upper and lower ends of the image corresponding to the display area, and the angle difference between the visual fields at the left and right ends, An operation method of an endoscope apparatus for determining the image cut-out information that is within an allowable angle.
観察光学系と、前記観察光学系に対して相対的に位置決め固定され、該観察光学系により光学像が結像される固体撮像素子であって、前記光学像を光電変換する複数の光電変換素子が配列された固体撮像素子とを有する撮像部と、前記固体撮像素子から該固体撮像素子の有効画素エリアに対応する画像を入力する画像処理部と、を有する内視鏡装置の操作方法であって、
前記撮像部が、視野の角度を示す指標を有するチャートを撮像するステップと、
前記固体撮像素子の表示可能画素エリアに対応する画像から、モニタに表示する表示エリアに対応する画像を切り出すための画像切り出し領域を特定する画像切り出し情報を決定するステップと、
前記決定した画像切り出し情報を、記憶部に記憶させるステップと、を含み、
前記画像切り出し情報を決定するステップは、前記チャートを撮像するステップにより取得した画像に基づいて、前記表示エリアに対応する画像の上端、下端、左端、及び右端の視野の角度が、それぞれ許容角度以内になる前記画像切り出し情報を決定する内視鏡装置の操作方法。
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 Is an operation method of an endoscope apparatus including: an imaging unit including a solid-state imaging device in which an image is arranged; and an image processing unit that inputs an image corresponding to an effective pixel area of the solid-state imaging device from the solid-state imaging device. And
The imaging unit imaging a chart having an index indicating a viewing angle;
Determining image cutout information for specifying an image cutout area for cutting out an image corresponding to a display area to be displayed on a monitor from an image corresponding to a displayable pixel area of the solid-state imaging device;
Storing the determined image cutout information in a storage unit,
In the step of determining the image cutout information, based on the image acquired in the step of capturing the chart, the angles of the visual field at the upper end, the lower end, the left end, and the right end of the image corresponding to the display area are each within an allowable angle. The operation method of the endoscope apparatus for determining the image cutout information.
JP2014089115A 2014-04-23 2014-04-23 Endoscope apparatus and operation method of endoscope apparatus Active JP6352673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014089115A JP6352673B2 (en) 2014-04-23 2014-04-23 Endoscope apparatus and operation method of endoscope apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014089115A JP6352673B2 (en) 2014-04-23 2014-04-23 Endoscope apparatus and operation method of endoscope apparatus

Publications (2)

Publication Number Publication Date
JP2015205127A JP2015205127A (en) 2015-11-19
JP6352673B2 true JP6352673B2 (en) 2018-07-04

Family

ID=54602502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014089115A Active JP6352673B2 (en) 2014-04-23 2014-04-23 Endoscope apparatus and operation method of endoscope apparatus

Country Status (1)

Country Link
JP (1) JP6352673B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016080351A1 (en) * 2014-11-21 2016-05-26 オリンパス株式会社 Imaging device, image processing device, and operation method for imaging device
WO2019003556A1 (en) * 2017-06-30 2019-01-03 オリンパス株式会社 Image processing device, image processing system, and image processing method
WO2023145448A1 (en) * 2022-01-27 2023-08-03 ソニーグループ株式会社 Endoscope system, control method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02236433A (en) * 1989-03-10 1990-09-19 Fuji Photo Film Co Ltd Method and device for measuring distortion of lens
JPH04127113A (en) * 1990-09-19 1992-04-28 Toshiba Corp Endoscope device
JP2003265411A (en) * 2002-03-20 2003-09-24 Pentax Corp Electronic endoscope apparatus, electronic endoscope and image signal processor
JP5198138B2 (en) * 2008-05-12 2013-05-15 オリンパスメディカルシステムズ株式会社 Endoscopic imaging device
JP5162374B2 (en) * 2008-08-21 2013-03-13 富士フイルム株式会社 Endoscopic image deviation amount measuring apparatus and method, electronic endoscope and endoscope image processing apparatus
JP5959331B2 (en) * 2012-06-15 2016-08-02 オリンパス株式会社 Endoscope device

Also Published As

Publication number Publication date
JP2015205127A (en) 2015-11-19

Similar Documents

Publication Publication Date Title
JP6140100B2 (en) Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus
WO2013047215A1 (en) Image processing device for use with endoscope, endoscope, and image processing method
JP6964592B2 (en) Measurement support device, endoscope system, endoscope system processor, and measurement support method
JP6104493B1 (en) Imaging system
US10362930B2 (en) Endoscope apparatus
US20190246875A1 (en) Endoscope system and endoscope
US20170251915A1 (en) Endoscope apparatus
JP2019033917A (en) Endoscope system
US20210314470A1 (en) Imaging System for Identifying a Boundary Between Active and Inactive Portions of a Digital Image
JPWO2016104368A1 (en) Endoscope system and endoscope video processor
JP6352673B2 (en) Endoscope apparatus and operation method of endoscope apparatus
JP6310598B2 (en) Endoscope apparatus, image processing apparatus, and operation method of endoscope apparatus
US9113045B2 (en) Electronic endoscopic apparatus and control method thereof
JP2022136184A (en) Control device, endoscope system, and control device operation method
JP7016681B2 (en) Endoscope system
JP6308673B2 (en) Image processing apparatus for electronic endoscope and electronic endoscope system
JP5953443B2 (en) Endoscope system
JP7179837B2 (en) Endoscope device, endoscope image display method, and operation method of endoscope device
US20170055816A1 (en) Endoscope device
JP6503522B1 (en) Image processing apparatus, image processing system and image processing method
WO2022044898A1 (en) Medical imaging system, medical imaging device, and operation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180518

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180607

R150 Certificate of patent or registration of utility model

Ref document number: 6352673

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