JP2010008836A - Electronic endoscope apparatus and focus adjustment method thereof - Google Patents

Electronic endoscope apparatus and focus adjustment method thereof Download PDF

Info

Publication number
JP2010008836A
JP2010008836A JP2008169907A JP2008169907A JP2010008836A JP 2010008836 A JP2010008836 A JP 2010008836A JP 2008169907 A JP2008169907 A JP 2008169907A JP 2008169907 A JP2008169907 A JP 2008169907A JP 2010008836 A JP2010008836 A JP 2010008836A
Authority
JP
Japan
Prior art keywords
evaluation value
magnification
lens
image
focusing
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.)
Abandoned
Application number
JP2008169907A
Other languages
Japanese (ja)
Inventor
Eko Purwanto
プルワント エコ
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujinon Corp
Original Assignee
Fujinon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujinon Corp filed Critical Fujinon Corp
Priority to JP2008169907A priority Critical patent/JP2010008836A/en
Publication of JP2010008836A publication Critical patent/JP2010008836A/en
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten the time required for focusing when varying the optical magnification of an objective optical system. <P>SOLUTION: Just after varying the magnification of the objective optical system, an AF control part specifies an evaluation value searching range in accordance with the combination of the varied magnification, the brightness of the photographed image, the shape of the portion of an object to be observed, photographed just before varying the magnification. The focus lens is moved within a range capable of obtaining an AF evaluation value within the evaluation value searching range, then, the focus lens is set at the lens position obtaining the maximum AF evaluation value. The evaluation value searching range is decided as an AF evaluation value range probably to attain a focused state in accordance with each of combinations of magnification, brightness and shape. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、対物光学系の焦点距離を変更する機能とオートフォーカス機能を備えた電子内視鏡装置及びそのピント調節方法に関するものである。   The present invention relates to an electronic endoscope apparatus having a function of changing the focal length of an objective optical system and an autofocus function, and a focus adjustment method thereof.

近年、医療の分野では電子内視鏡装置を用いた検査が広く用いられている。電子内視鏡装置は、対物光学系やイメージセンサ等を先端部に組み込んだ内視鏡本体部の他、プロセッサ装置、光源装置,モニタ等からなる。検査時には、光源装置からの照明光の下で対物光学系を介して生体内の被観察部位の光学像をイメージセンサ上に結像して撮影し、得られる撮影信号をプロセッサ装置で各種画像処理した後にモニタに表示する。   In recent years, examination using an electronic endoscope apparatus has been widely used in the medical field. The electronic endoscope apparatus includes a processor device, a light source device, a monitor, and the like in addition to an endoscope main body portion in which an objective optical system, an image sensor, and the like are incorporated in a distal end portion. At the time of inspection, an optical image of the observed region in the living body is imaged on the image sensor through the objective optical system under the illumination light from the light source device, and the obtained photographic signal is subjected to various image processing by the processor device. Display on the monitor.

上記のような電子内視鏡装置では、変倍レンズを含む光学的変倍機構を対物光学系に組み込み、その変倍レンズの光軸方向の移動で対物光学系の焦点距離の増減を行い、光学的倍率を変更して被観察部位を観察できるようにしたものも知られている。また、特許文献1のように、光学的変倍機構とともに、自動的にピント合わせを行うオートフォーカス機構を組み込んだ電子内視鏡装置も知られている。   In the electronic endoscope apparatus as described above, an optical zoom mechanism including a zoom lens is incorporated in the objective optical system, and the focal length of the objective optical system is increased or decreased by moving the zoom lens in the optical axis direction. There is also known one in which an optical magnification is changed so that an observation site can be observed. Further, as in Patent Document 1, an electronic endoscope apparatus is also known that incorporates an autofocus mechanism that automatically performs focusing together with an optical zoom mechanism.

特許文献1の電子内視鏡装置では、変倍ごとにピント調節が必要となるバリフォーカルタイプの光学的変倍機構と、変倍レンズとは別個独立して移動させることができるピント合わせ用の合焦レンズを含む合焦機構とを対物光学系に組み込んである。ピント調節時には、撮影画像のコントラストが最大になる合焦レンズのレンズ位置を検出し、そのレンズ位置に合焦レンズを移動させるコントラスト検出方式が採用されている。   In the electronic endoscope apparatus of Patent Document 1, a varifocal type optical zoom mechanism that requires focus adjustment for each zooming and a zooming lens that can be moved independently of the zooming lens. A focusing mechanism including a focusing lens is incorporated in the objective optical system. At the time of focus adjustment, a contrast detection method is adopted in which the lens position of the focusing lens that maximizes the contrast of the captured image is detected, and the focusing lens is moved to that lens position.

上記のようなコントラスト検出方式では、合焦レンズをステップ移動させながら撮影を行い、合焦レンズの各レンズ位置のそれぞれについて撮影画像中のコントラストの大きさを示す評価値を順次に算出するサーチ処理を行い、AF評価値が最大となるレンズ位置を検出する。サーチ処理では、例えば合焦レンズを、その可動域の一端にセットし、この近一端から他端にまで合焦レンズを移動させる全域サーチが行われる。また、コントラスト検出方式の1つとして、AF評価値が増加から減少に転じるピークを検出し、そのピークとなるレンズ位置に合焦レンズをセットする、いわゆる山登り方式も知られている。   In the contrast detection method as described above, a search process is performed in which shooting is performed while stepping the focusing lens, and evaluation values indicating the magnitude of contrast in the captured image are sequentially calculated for each lens position of the focusing lens. And the lens position where the AF evaluation value is maximized is detected. In the search process, for example, a focusing lens is set at one end of the movable range, and a whole area search is performed in which the focusing lens is moved from the near end to the other end. As one of contrast detection methods, a so-called hill-climbing method is also known in which a peak at which the AF evaluation value changes from increasing to decreasing is detected, and a focusing lens is set at the lens position where the AF evaluation value becomes the peak.

特開2006−106520号公報JP 2006-106520 A

ところで、上記のようなサーチ処理は、合焦レンズをステップ移動させるごとにイメージセンサによる撮影を行う必要があるため、かなりの時間を要するという問題がある。このため、上記のような光学的変倍機構によって光学的倍率が変更されると、サーチ処理が行われるため比較的に長い時間、ピントが合致した画像を観察することができなくなり、電子内視鏡装置での検査効率を低下させるという問題があった。   By the way, the search process as described above has a problem that it takes a considerable time since it is necessary to perform image capturing by the image sensor every time the focusing lens is moved stepwise. For this reason, when the optical magnification is changed by the optical scaling mechanism as described above, the search process is performed, so that an image in focus cannot be observed for a relatively long time. There was a problem that the inspection efficiency in the mirror device was lowered.

また、山登り方式では、合焦レンズの移動ステップが少なくなってサーチ処理に要する時間を短縮する効果を期待できるが、光学的倍率が高い場合や、被観察部位自体のコントラストが低い場合には、検出されるAF評価値の変化が細かく変化し、あるいは変化があまりないため、明確なピークを検出できずピントを調節することが困難になることもある。   In the hill-climbing method, the effect of shortening the time required for the search process by reducing the focusing lens movement step can be expected, but when the optical magnification is high or the contrast of the observed site itself is low, Since the detected AF evaluation value changes finely or does not change much, a clear peak cannot be detected, and it may be difficult to adjust the focus.

本発明は、上記課題を鑑みてなされたものであり、光学的変倍機構による倍率変更時の合焦に要する時間を短縮し、迅速にピント合わせを行うことができる電子内視鏡装置及びそのピント調節方法を提供することを目的とする。   The present invention has been made in view of the above problems, and an electronic endoscope apparatus capable of reducing the time required for focusing when changing the magnification by an optical zoom mechanism and performing quick focusing, and its An object is to provide a focus adjustment method.

上記目的を達成するために、請求後1記載の電子内視鏡装置のピント調節方法では、変倍レンズの移動による倍率変更が行われたときに、撮影された画像の明るさと、倍率変更直前に撮影された画像から認識された被観察部位の画像の特徴と、倍率変更後の対物光学系の倍率との組み合わせに対応して、倍率変更後に予想される評価値の範囲としてサーチ範囲を特定するとともに、倍率変更前のレンズ位置に対応した撮影距離に倍率変更後のピントを合致させるレンズ位置に合焦レンズを移動してから、評価値が特定したサーチ範囲内を維持するレンズ位置の範囲で合焦レンズを移動させ、この移動で得られる各評価値を評価して得られる被観察部位にピントを合致させるためのレンズ位置に合焦レンズを移動させるものである。   In order to achieve the above object, according to the focus adjustment method of the electronic endoscope apparatus according to claim 1, when the magnification change is performed by the movement of the zoom lens, the brightness of the photographed image and immediately before the magnification change are performed. The search range is specified as the range of evaluation values expected after the magnification change, corresponding to the combination of the characteristics of the image of the observed site recognized from the image taken at the same time and the magnification of the objective optical system after the magnification change. In addition, after moving the focusing lens to the lens position that matches the focus after the magnification change to the shooting distance corresponding to the lens position before the magnification change, the range of the lens position that maintains the search range specified by the evaluation value Then, the focusing lens is moved, and the focusing lens is moved to a lens position for focusing on the observed site obtained by evaluating each evaluation value obtained by this movement.

請求項2記載の電子内視鏡装置のピント調節方法では、特定したサーチ範囲内となる範囲で合焦レンズを移動させたときに、最大の評価値となるレンズ位置に合焦レンズを移動するものである。   The focus adjustment method of the electronic endoscope apparatus according to claim 2, wherein when the focusing lens is moved within a specified search range, the focusing lens is moved to a lens position having a maximum evaluation value. Is.

請求項3記載の電子内視鏡装置では、体内に挿入される挿入部の先端に設けられ、合焦する撮影距離を合焦レンズの移動によって調節する合焦機構と、光学像を変倍する光学的変倍機構とが組み込まれた対物光学系と、対物光学系を通して被観察部位の撮影を行い、撮影した被観察部位の画像を撮影信号に光電変換して出力するイメージセンサと、
撮影信号に基づいて、撮影画像のコントラストの大きさを示す評価値を検出するコントラスト検出手段と、撮影信号に基づいて、撮影画像の明るさを検出する明るさ検出手段と、撮影信号に基づいて、撮影された被観察部位の画像の特徴を認識する認識手段と、撮影画像の明るさと、対物光学系の倍率変更直前の被観察部位の画像の特徴と、倍率変更後の対物光学系の倍率との組み合わせに対応して、倍率変更後に予想される評価値の範囲として予め規定したサーチ範囲を、撮影画像の明るさと、倍率変更前の被観察部位の画像の特徴と、倍率変更後の倍率との複数の組み合わせにそれぞれ対応付けて記憶した記憶手段と、光学的変倍機構による対物光学系の倍率変更が行われたときに、明るさ検出手段によって検出された撮影画像の明るさと、倍率変更直前に認識手段によって認識された被観察部位の画像の特徴と、倍率変更後の対物光学系の倍率との組み合わせに対応したサーチ範囲を記憶手段に記憶されている複数のサーチ範囲から特定するとともに、倍率変更前のレンズ位置に対応した撮影距離に倍率変更後のピントを合致させるレンズ位置に合焦レンズを移動してから、コントラスト検出手段で検出される評価値が特定したサーチ範囲内を維持するレンズ位置の範囲で合焦レンズを移動させ、この移動で得られる各評価値を評価して、被観察部位にピントを合致させるためのレンズ位置を決定し、決定されたレンズ位置に合焦レンズを移動させるフォーカス制御手段とを備えたものである。
The electronic endoscope apparatus according to claim 3 is provided at a distal end of an insertion portion to be inserted into the body, and adjusts a focusing distance by moving a focusing lens, and zooms an optical image. An objective optical system incorporating an optical scaling mechanism, an image sensor that performs imaging of the observed site through the objective optical system, photoelectrically converts the captured image of the observed site into an imaging signal, and
Contrast detection means for detecting an evaluation value indicating the magnitude of contrast of the photographed image based on the photographing signal, brightness detection means for detecting the brightness of the photographed image based on the photographing signal, and based on the photographing signal , Recognition means for recognizing the characteristics of the image of the observed site, the brightness of the captured image, the characteristics of the image of the observed site immediately before the magnification change of the objective optical system, and the magnification of the objective optical system after the magnification change The search range specified in advance as the range of evaluation values expected after the magnification change, the brightness of the captured image, the characteristics of the image of the observed site before the magnification change, and the magnification after the magnification change Brightness of the captured image detected by the brightness detection means when the magnification of the objective optical system is changed by the optical scaling mechanism From the plurality of search ranges stored in the storage unit, a search range corresponding to the combination of the image feature of the observed site recognized by the recognition unit immediately before the magnification change and the magnification of the objective optical system after the magnification change is stored. A search range in which the evaluation value detected by the contrast detection means is specified after the focusing lens is moved to the lens position that matches the focus after the magnification change to the shooting distance corresponding to the lens position before the magnification change. The focusing lens is moved within the range of the lens position that maintains the inside, the evaluation values obtained by this movement are evaluated, the lens position for focusing on the observed site is determined, and the determined lens position And a focus control means for moving the focusing lens.

請求項4記載の電子内視鏡装置では、フォーカス制御手段を、特定したサーチ範囲内となる範囲で合焦レンズを移動させたときに最大の評価値となるレンズ位置を、ピントを合致させるためのレンズ位置として決定するようにしたものである。   In the electronic endoscope apparatus according to claim 4, the focus control unit is configured to focus the lens position that is the maximum evaluation value when the focusing lens is moved within the specified search range. This is determined as the lens position.

本発明によれば、光学的変倍機構による倍率変更が行われたときに、倍率変更直前の被観察部位の特徴と、撮影画像の明るさと、倍率変更後の対物光学系の倍率との組み合わせに対応して予想される評価値の範囲をサーチ範囲と特定し、評価値がそのサーチ範囲となるレンズ位置の範囲で合焦レンズを移動させ、各評価値からピントを合致させるためのレンズ位置を決めているため、合焦レンズの移動によるコントラストの変化が小さい場合や、AF評価値の変化が細かく変化する場合であっても短時間でピントを合わせることができる。   According to the present invention, when the magnification change is performed by the optical magnification change mechanism, the combination of the characteristics of the observed region immediately before the magnification change, the brightness of the captured image, and the magnification of the objective optical system after the magnification change The range of the expected evaluation value corresponding to the search range is specified as the search range, the focusing lens is moved within the range of the lens position where the evaluation value is the search range, and the lens position for matching the focus from each evaluation value Therefore, even when the contrast change due to the movement of the focusing lens is small or the AF evaluation value changes finely, the focus can be achieved in a short time.

図1において、電子内視鏡装置2は、内視鏡本体部10,プロセッサ装置11,光源装置12,モニタ14等から構成してある。内視鏡本体部10は、体腔内に挿入される挿入部15と、この挿入部15の基端に設けた操作部16と、操作部16から伸びてプロセッサ装置11及び光源装置12に内視鏡本体部10を接続するユニバーサルコード17とを備えている。   In FIG. 1, the electronic endoscope apparatus 2 includes an endoscope main body 10, a processor device 11, a light source device 12, a monitor 14, and the like. The endoscope body 10 includes an insertion portion 15 to be inserted into a body cavity, an operation portion 16 provided at the proximal end of the insertion portion 15, and extends from the operation portion 16 to the processor device 11 and the light source device 12. And a universal cord 17 for connecting the mirror body 10.

挿入部15は、先端から順番に先端部20、湾曲部21、及び可撓管部22からなる。先端部20には、体腔内撮影用の撮影ユニット23等を内蔵してある。湾曲部21は、操作部16に設けたアングルノブ24の操作に連動して、挿入部15内に通されたワイヤが押し引きされることにより、上下左右方向に湾曲する。これにより、先端部20を体腔内の所望の方向に向けることができる。   The insertion portion 15 includes a distal end portion 20, a bending portion 21, and a flexible tube portion 22 in order from the distal end. The distal end portion 20 incorporates an imaging unit 23 for in-vivo imaging. The bending portion 21 is bent in the vertical and horizontal directions when the wire passed through the insertion portion 15 is pushed and pulled in conjunction with the operation of the angle knob 24 provided in the operation portion 16. Thereby, the front-end | tip part 20 can be orient | assigned to the desired direction in a body cavity.

可撓管部22は、操作部16と湾曲部21との間を長尺状に繋ぐ部分であり、可撓性を有している。可撓管部22の内部には、上記アングルノブ24に連動したワイヤの他、撮影ユニット23とプロセッサ装置11とを電気的に接続するケーブルや、撮影ユニット23の光学的倍率(焦点距離)を変更するための駆動力を伝達する線状伝達部材、光源装置12からの照明光を先端部20に導くためのライトガイド、鉗子チューブ、送気・送水チューブ等を通してある。   The flexible tube portion 22 is a portion that connects the operation portion 16 and the bending portion 21 in a long shape, and has flexibility. In the flexible tube portion 22, in addition to the wire linked to the angle knob 24, a cable for electrically connecting the photographing unit 23 and the processor device 11, and the optical magnification (focal length) of the photographing unit 23 are set. A linear transmission member for transmitting a driving force for changing, a light guide for guiding illumination light from the light source device 12 to the distal end portion 20, a forceps tube, an air / water supply tube, and the like are provided.

操作部16には、アングルノブ24の他、撮影ユニット23の光学的倍率を変更する際に操作される変倍操作部25を設けてある。この変倍操作部25は、光学的倍率を高くするアップボタン25aと、倍率を低くするダウンボタン25bとから構成してある。アップボタン25aまたはとダウンボタン25bの押圧する変倍操作ごとに、撮影ユニット23の光学的倍率が1ステップずつ変化する。   In addition to the angle knob 24, the operation unit 16 is provided with a scaling operation unit 25 that is operated when changing the optical magnification of the photographing unit 23. The zoom operation unit 25 includes an up button 25a for increasing the optical magnification and a down button 25b for decreasing the magnification. The optical magnification of the photographing unit 23 changes by one step for each magnification operation pressed by the up button 25a or the down button 25b.

プロセッサ装置11は、内視鏡本体部10と光源装置12と電気的に接続され、電子内視鏡装置2の動作を統括的に制御する。このプロセッサ装置11は、ユニバーサルコード17内に通されたケーブルを介して内視鏡本体部10と接続されることにより、撮影ユニット23の駆動を制御するともに、撮影ユニット23からの撮影信号が入力され、この入力された撮影信号に各種画像処理を施して撮影画像の画像データを生成する。プロセッサ装置11で生成された画像データに基づいて、プロセッサ装置11に接続されたモニタ14に撮影画像である被観察部位の画像が表示される。また、プロセッサ装置11は、撮影画像のコントラストに基づいて撮影ユニット23のピント制御を行う。   The processor device 11 is electrically connected to the endoscope main body 10 and the light source device 12, and comprehensively controls the operation of the electronic endoscope device 2. The processor device 11 is connected to the endoscope main body 10 via a cable passed through the universal cord 17 to control driving of the photographing unit 23 and input a photographing signal from the photographing unit 23. Then, various image processing is performed on the input photographing signal to generate image data of the photographed image. Based on the image data generated by the processor device 11, an image of the site to be observed as a captured image is displayed on the monitor 14 connected to the processor device 11. In addition, the processor device 11 performs focus control of the photographing unit 23 based on the contrast of the photographed image.

図2に示すように、先端部20の前面20aには、観察窓31,照明窓32,鉗子出口33、及び送気・送水用ノズル34を設けてある。観察窓31には、撮影ユニット23を構成する光学系の一部が露呈されており、この観察窓31を通して撮影ユニット23による撮影を行う。   As shown in FIG. 2, an observation window 31, an illumination window 32, a forceps outlet 33, and an air / water supply nozzle 34 are provided on the front surface 20 a of the distal end portion 20. A part of the optical system constituting the photographing unit 23 is exposed in the observation window 31, and photographing by the photographing unit 23 is performed through the observation window 31.

照明窓32は、観察窓31を挟むように2個配され、光源装置12からの照明光を体腔内に照射する。鉗子出口33は、操作部16に設けた鉗子挿入口35(図1参照)と鉗子チューブを介して繋がっている。注射針や高周波メスなどが先端に配された各種処置具が鉗子挿入口35から挿入され、その先端が鉗子出口33から露呈される。送気・送水用ノズル34は、操作部16に設けられた送気・送水ボタン(図示省略)の操作によって洗浄水や空気を被観察部位に向けて噴射する。   Two illumination windows 32 are arranged so as to sandwich the observation window 31, and irradiate the illumination light from the light source device 12 into the body cavity. The forceps outlet 33 is connected to a forceps insertion port 35 (see FIG. 1) provided in the operation unit 16 via a forceps tube. Various treatment tools having an injection needle, a high-frequency knife or the like arranged at the tip are inserted from the forceps insertion port 35, and the tip is exposed from the forceps outlet 33. The air supply / water supply nozzle 34 ejects cleaning water or air toward the site to be observed by operating an air supply / water supply button (not shown) provided in the operation unit 16.

図3に示すように、撮影ユニット23には、対物光学系40を組み込んである。この対物光学系40は、物体側から順番に、第1固定レンズ41,変倍用の第1変倍レンズ42と第2変倍レンズ43,第2固定レンズ44、ピント調節用の合焦レンズ45,絞り46を配してあり、バリフォーカル系の撮影レンズとなっている。   As shown in FIG. 3, an objective optical system 40 is incorporated in the photographing unit 23. The objective optical system 40 includes, in order from the object side, a first fixed lens 41, a first variable lens 42 for zooming, a second variable lens 43, a second fixed lens 44, and a focusing lens for adjusting focus. 45 and an aperture 46 are provided, which is a varifocal photographic lens.

絞り46の後方には、対物光学系40の光軸PLを90度折り曲げるプリズム47を配してあり、折り曲げられた光軸PL上にイメージセンサ48を配してある。プリズム47とイメージセンサ48との間には、イメージセンサ48の受光面を保護するカバーガラス49を配してある。   A prism 47 that bends the optical axis PL of the objective optical system 40 by 90 degrees is disposed behind the stop 46, and an image sensor 48 is disposed on the folded optical axis PL. A cover glass 49 that protects the light receiving surface of the image sensor 48 is disposed between the prism 47 and the image sensor 48.

第1固定レンズ41は、固定されたレンズホルダ51に保持してあり、物体側の面を観察窓31から外部に露呈する。第1変倍レンズ42及び第2変倍レンズ43は、レンズホルダ52,53に保持され、それぞれ光軸PLに沿った方向に移動自在としてある。第2固定レンズ44は、第1固定レンズ41と同様に固定されたレンズホルダ54に保持してある。さらに、合焦レンズ45は、レンズホルダ55に保持されて光軸PLに沿った方向に移動自在としてある。   The first fixed lens 41 is held by a fixed lens holder 51 and exposes the object side surface from the observation window 31 to the outside. The first variable magnification lens 42 and the second variable magnification lens 43 are held by lens holders 52 and 53, and are movable in directions along the optical axis PL. The second fixed lens 44 is held by a lens holder 54 that is fixed in the same manner as the first fixed lens 41. Further, the focusing lens 45 is held by the lens holder 55 and is movable in the direction along the optical axis PL.

各変倍レンズ42,43は、カム軸57等とともに対物光学系40の変倍機構58を構成する。レンズホルダ52,53には、カムピン52a,53aを一体に設けてあり、これらカムピン52a,53aを円柱状のカム軸57の外周に形成したカム溝57a,57bに係合してある。カム軸57は、回動自在に組み付けてあり、その端部には多重コイルバネ等からなる線状伝達部材59の一端を連結してある。線状伝達部材59は、その他端を操作部16内部に設けた変倍モータ61(図4参照)に取り付けてある。   The variable power lenses 42 and 43 constitute a variable power mechanism 58 of the objective optical system 40 together with the cam shaft 57 and the like. Cam pins 52 a and 53 a are integrally provided on the lens holders 52 and 53, and these cam pins 52 a and 53 a are engaged with cam grooves 57 a and 57 b formed on the outer periphery of a cylindrical cam shaft 57. The cam shaft 57 is rotatably assembled, and one end of a linear transmission member 59 made of a multiple coil spring or the like is connected to the end of the cam shaft 57. The other end of the linear transmission member 59 is attached to a variable power motor 61 (see FIG. 4) provided inside the operation unit 16.

上記のように変倍機構58を構成することにより、変倍モータ61の回転が線状伝達部材59を介してカム軸57に伝達されてカム軸57が回転する。このカム軸57の回転により、各変倍レンズ42,43が光軸PLに沿って前後にそれぞれ移動する。これにより、対物光学系40の焦点距離を変更し、光学的倍率の変更を行う。   By configuring the zoom mechanism 58 as described above, the rotation of the zoom motor 61 is transmitted to the cam shaft 57 via the linear transmission member 59 and the cam shaft 57 rotates. By the rotation of the cam shaft 57, the variable power lenses 42 and 43 move back and forth along the optical axis PL. Thereby, the focal length of the objective optical system 40 is changed, and the optical magnification is changed.

合焦レンズ45は、その移動によってピント調節を行う合焦機構62を構成している。合焦レンズ45を保持するレンズホルダ55には、円筒形状の移動体63を一体に設けてある。移動体63は、その内側に通された駆動軸64に摩擦係合しており、駆動軸64は、その一端に小型の圧電アクチュエータ65を取り付けてある。   The focusing lens 45 constitutes a focusing mechanism 62 that adjusts the focus by moving the focusing lens 45. The lens holder 55 that holds the focusing lens 45 is integrally provided with a cylindrical moving body 63. The moving body 63 is frictionally engaged with a drive shaft 64 passed through the inside thereof, and the drive shaft 64 has a small piezoelectric actuator 65 attached to one end thereof.

圧電アクチュエータ65は、プロセッサ装置11からの駆動パルスが与えられることにより伸縮して駆動軸64を前後に動かす。この駆動軸64の前後方向の運動により、合焦レンズ45は、移動体63がストッパ66aに当接した前端位置と、ストッパ66bに当接した後端位置との間で移動する。この合焦レンズ45の移動により、被観察部位に対物光学系40のピントが合致するように調節される。合焦レンズ45の移動方向,移動量は、圧電アクチュエータ65に与える駆動パルスのパターン,駆動パルス数によって制御される。   The piezoelectric actuator 65 expands and contracts when the drive pulse from the processor device 11 is applied to move the drive shaft 64 back and forth. By the movement of the drive shaft 64 in the front-rear direction, the focusing lens 45 moves between a front end position where the moving body 63 contacts the stopper 66a and a rear end position where the moving body 63 contacts the stopper 66b. By the movement of the focusing lens 45, adjustment is made so that the focus of the objective optical system 40 is matched with the observation site. The moving direction and moving amount of the focusing lens 45 are controlled by the drive pulse pattern and the number of drive pulses applied to the piezoelectric actuator 65.

なお、対物光学系40の変倍機構58,合焦機構62の構成は、上記の構成に限られるものでは、種々の構成を採用することができる。   In addition, the structure of the zooming mechanism 58 and the focusing mechanism 62 of the objective optical system 40 is not limited to the above structure, and various structures can be employed.

電気的な構成を示す図4において、プロセッサ装置11の主制御部70は、プロセッサ装置11の各部とともに、電気的に接続された内視鏡本体部10,光源装置12の各部を統括的に制御する。内視鏡本体部10には、上述のイメージセンサ48の他、センサドライバ71,アナログ信号処理部72,モータドライバ73,フォーカスドライバ74等を設けてある。   In FIG. 4 showing the electrical configuration, the main control unit 70 of the processor device 11 controls the respective parts of the endoscope body 10 and the light source device 12 that are electrically connected together with each part of the processor device 11. To do. The endoscope body 10 is provided with a sensor driver 71, an analog signal processor 72, a motor driver 73, a focus driver 74 and the like in addition to the image sensor 48 described above.

イメージセンサ48としては、例えばCCD型のものを用いている。センサドライバ71は、イメージセンサ48を駆動するための各種駆動信号を発生するタイミングジェネレータ等から構成してある。イメージセンサ48は、センサドライバ71からの駆動信号によって、例えば1秒間に60フレームの撮影を行うように駆動され、対物光学系40、及びプリズム47を介して受光面に形成される光学像を光電変換した撮影信号を出力する。   As the image sensor 48, for example, a CCD type is used. The sensor driver 71 includes a timing generator that generates various drive signals for driving the image sensor 48. The image sensor 48 is driven by a drive signal from the sensor driver 71 to capture 60 frames per second, for example, and photoelectrically converts an optical image formed on the light receiving surface via the objective optical system 40 and the prism 47. The converted shooting signal is output.

アナログ信号処理部72は、撮影信号に含まれるリセットノイズの除去を行う相関二重サンプリング(CDS)回路や増幅を行うアンプ、撮影信号をデジタル変換するA/D変換器などからなる。イメージセンサ48からの撮影信号は、アナログ信号処理部72で処理されてプロセッサ装置11に送られる。   The analog signal processing unit 72 includes a correlated double sampling (CDS) circuit that removes reset noise included in the photographic signal, an amplifier that performs amplification, an A / D converter that digitally converts the photographic signal, and the like. An imaging signal from the image sensor 48 is processed by the analog signal processing unit 72 and sent to the processor device 11.

モータドライバ73は、プロッサ装置11の変倍制御部76の制御の下で変倍モータ61を駆動し、変倍機構58による対物光学系40の倍率変更を行う。変倍制御部76は、変倍操作部25から変倍操作に応じた変倍操作信号が入力されるごとに、モータドライバ73を介して変倍モータ61を駆動する。これにより、対物光学系40の倍率は、1倍、2倍,・・・5倍のいずれかとされる。フォーカスドライバ74は、プロセッサ装置11のAF制御部77の制御下で圧電アクチュエータ65を駆動し、合焦レンズ45を移動させる。   The motor driver 73 drives the magnification motor 61 under the control of the magnification control unit 76 of the processor 11 and changes the magnification of the objective optical system 40 by the magnification mechanism 58. The scaling control unit 76 drives the scaling motor 61 via the motor driver 73 every time a scaling operation signal corresponding to the scaling operation is input from the scaling operation unit 25. Thereby, the magnification of the objective optical system 40 is set to any one of 1 ×, 2 ×,. The focus driver 74 drives the piezoelectric actuator 65 under the control of the AF control unit 77 of the processor device 11 and moves the focusing lens 45.

光源装置12は、光源78,光源ドライバ79、集光レンズ81から構成される。光源78は、照明光を出力する例えばキセノンランプやハロゲンランプからなり、光源ドライバ79によって駆動される。集光レンズ81は、光源78からの光を集光してライトガイド82の一端に入射させる。ライトガイド82は、光源78からの照明光を先端部20にまで導き、その照明光を照明レンズ83,照明窓32を介して被観察部位に向けて照射する。   The light source device 12 includes a light source 78, a light source driver 79, and a condenser lens 81. The light source 78 includes, for example, a xenon lamp or a halogen lamp that outputs illumination light, and is driven by a light source driver 79. The condensing lens 81 condenses the light from the light source 78 and makes it incident on one end of the light guide 82. The light guide 82 guides the illumination light from the light source 78 to the distal end portion 20 and irradiates the illumination light toward the observation site via the illumination lens 83 and the illumination window 32.

アナログ信号処理部72からプロセッサ装置11に入力された撮影信号は、画像処理部84に送られる。画像処理部84は、入力された撮影信号に対し、色補間、ゲイン補正、ホワイトバランス調整、ガンマ補正、画像強調処理等を行う。信号変換部85は、画像処理部84で処理された撮影信号をアナログ変換し、接続されたモニタ14に出力する。これにより、イメージセンサ48で撮影された被観察部位の画像をモニタ14に表示する。   The photographing signal input from the analog signal processing unit 72 to the processor device 11 is sent to the image processing unit 84. The image processing unit 84 performs color interpolation, gain correction, white balance adjustment, gamma correction, image enhancement processing, and the like on the input shooting signal. The signal conversion unit 85 analog-converts the photographic signal processed by the image processing unit 84 and outputs it to the connected monitor 14. As a result, an image of the observed region imaged by the image sensor 48 is displayed on the monitor 14.

アナログ信号処理部72からの撮影信号は、明るさ検出部86,評価値検出部87,特徴認識部88にも送られる。明るさ検出部86は、撮影信号から撮影画像の明るさ(被写体輝度)を検出し、AF制御部77に送る。   The photographing signal from the analog signal processing unit 72 is also sent to the brightness detection unit 86, the evaluation value detection unit 87, and the feature recognition unit 88. The brightness detection unit 86 detects the brightness of the captured image (subject brightness) from the captured signal and sends it to the AF control unit 77.

また、評価値検出部87は、撮影信号に基づいて、撮影画像のコントラストの大きさを示すAF評価値を1フレームごとに生成し、AF制御部77に送る。このAF評価値は、従来のコントラスト検出方式でピント調節をする場合と同じ手法で求められ、撮影画像の高周波成分を積算したものとして求める。なお、この例ではAF評価値を求める対象範囲であるAFエリアを撮影画像の全範囲としているが、全範囲よりも小さいAFエリアを設定してもよい。   The evaluation value detection unit 87 generates an AF evaluation value indicating the magnitude of contrast of the captured image for each frame based on the captured signal, and sends the AF evaluation value to the AF control unit 77. This AF evaluation value is obtained by the same method as that used when focus adjustment is performed by a conventional contrast detection method, and is obtained as an accumulation of high-frequency components of a captured image. In this example, the AF area, which is the target range for obtaining the AF evaluation value, is set as the entire range of the captured image. However, an AF area smaller than the entire range may be set.

特徴認識部88は、撮影信号に基づいて、撮影されている被観察部位の画像の特徴を認識するものである。この例では、特徴認識部88は、被観察部位の画像の特徴として、撮影されている被観察部位の形状の認識を行い、後述する評価値テーブルに設定してある複数の形状のうちで最も近い形状のものを識別する。   The feature recognizing unit 88 recognizes the feature of the image of the observed region being imaged based on the imaging signal. In this example, the feature recognizing unit 88 recognizes the shape of the imaged site to be observed as a feature of the image of the site to be observed, and is the most among a plurality of shapes set in the evaluation value table described later. Identify near-shaped objects.

この特徴認識部88は、数フレーム分の形状を保持しておくバッファメモリを有しており、形状を識別するごとにバッファメモリの最も古い形状を更新することにより、数フレーム分の最新の形状を保持する。変倍操作部25で変倍操作が行われると、特徴認識部88は、その操作時点でバッファメモリに記憶されている倍率変更直前の最新の形状をAF制御部77に送る。これにより、AF制御部77は、倍率変更直前のピントのあっている状態の撮影画像から認識された形状を取得する。   This feature recognition unit 88 has a buffer memory that holds the shape for several frames, and updates the oldest shape of the buffer memory each time a shape is identified, thereby obtaining the latest shape for several frames. Hold. When a scaling operation is performed by the scaling operation unit 25, the feature recognition unit 88 sends the latest shape immediately before the magnification change stored in the buffer memory to the AF control unit 77 at the time of the operation. Thereby, the AF control unit 77 acquires the shape recognized from the captured image in focus just before the magnification change.

AF制御部77は、評価値検出部87からのAF評価値を参照しながら、フォーカスドライバ74を介して圧電アクチュエ−タ65を駆動することにより、撮影中の被観察部位にピントが合致するように合焦レンズ45のレンズ位置を制御する。また、AF制御部77は、ストッパ66aまたはストッパ66bに合焦レンズ45が当接している状態を基準にして、圧電アクチュエ−タ65に供給する駆動パルスのパルス数、パターンに基づき合焦レンズ45のレンズ位置を検知する。   The AF control unit 77 drives the piezoelectric actuator 65 via the focus driver 74 while referring to the AF evaluation value from the evaluation value detection unit 87, so that the focus is matched to the site to be observed. The lens position of the focusing lens 45 is controlled. Further, the AF control unit 77 is based on the number and pattern of drive pulses supplied to the piezoelectric actuator 65 with reference to the state where the focusing lens 45 is in contact with the stopper 66a or the stopper 66b. The lens position is detected.

通常時では、AF制御部77は、例えば全域サーチ処理によって被観察部位にピントが合致するように合焦レンズ45のレンズ位置を調節し、その後にAF評価値が小さな変化量であるが一定量以上変化したときには微小サーチ処理によって合焦レンズ45のレンズ位置を微調節して、ピントが維持されるように制御する。   In a normal time, the AF control unit 77 adjusts the lens position of the focusing lens 45 so that the observation site is in focus by, for example, the entire area search process, and then the AF evaluation value is a small change amount but a constant amount. When the change has occurred, the lens position of the focusing lens 45 is finely adjusted by a fine search process so that the focus is maintained.

全域サーチ処理では、合焦レンズ45をその可動域の全域で移動させながらAF評価値をそれぞれ取得し、AF評価値が最大となるレンズ位置に合焦レンズ45をセットする。また、微小サーチ処理では、処理開始時のレンズ位置を基準にして合焦レンズ45を所定の微小域で前後に移動させてAF評価値のピークを検出し、AF評価値がそのピークとなるように合焦レンズ45のレンズ位置を調節する。なお、微小サーチ処理でAF評価値のピークを検出できないときは、全域サーチ処理を行う。   In the entire area search process, the AF evaluation value is acquired while moving the focusing lens 45 in the entire movable range, and the focusing lens 45 is set at the lens position where the AF evaluation value is maximized. In the minute search process, the focusing lens 45 is moved back and forth in a predetermined minute region based on the lens position at the start of the process to detect the peak of the AF evaluation value so that the AF evaluation value becomes the peak. The lens position of the focusing lens 45 is adjusted. Note that when the AF evaluation value peak cannot be detected by the fine search process, the entire area search process is performed.

対物光学系40の倍率変更直後では、AF制御部77は、短時間でピントを合致させるために、限定サーチ処理を行って被観察部位に短時間でピントが合致するように合焦レンズ45のレンズ位置を制御する。限定サーチ処理では、AF制御部77は、AF評価値が後述する評価値サーチ範囲内となる限定された区間で合焦レンズ45を移動させながら、AF評価値を取得してAF評価値の最大値を検出し、その最大値となるレンズ位置に合焦レンズ45をセットする。   Immediately after the magnification of the objective optical system 40 is changed, the AF control unit 77 performs a limited search process so that the focused lens 45 can be brought into focus in a short time so as to match the focus on the observation site in order to match the focus in a short time. Control the lens position. In the limited search process, the AF control unit 77 acquires the AF evaluation value while moving the focusing lens 45 in a limited section in which the AF evaluation value is within an evaluation value search range described later, and obtains the maximum AF evaluation value. The value is detected, and the focusing lens 45 is set at the lens position where the maximum value is detected.

評価値サーチ範囲は、AF評価値の範囲として規定してある。評価値サーチ範囲は、撮影画像の明るさと、倍率変更後の対物光学系40の倍率と、倍率変更直前に撮影された被観察部位の形状との組み合わせに応じて決められており、これら倍率,明るさ,形状に応じた評価値サーチ範囲を、テーブルメモリ89に記憶した評価値テーブルから特定する。
なお、この例では、評価値サーチ範囲を特定する際に、撮影画像の明るさとして倍率変更後のものを用いているが、倍率変更前のものであってもよい。
The evaluation value search range is defined as a range of AF evaluation values. The evaluation value search range is determined according to the combination of the brightness of the photographed image, the magnification of the objective optical system 40 after the magnification change, and the shape of the observation site photographed immediately before the magnification change. An evaluation value search range corresponding to the brightness and shape is specified from the evaluation value table stored in the table memory 89.
In this example, when the evaluation value search range is specified, the brightness of the captured image is the one after the magnification change, but may be the one before the magnification change.

AF制御部77は、評価値サーチ範囲を決定する際の対物光学系40の倍率を、変倍制御部76から、撮影画像の明るさを明るさ検出部86から取得し、被観察部位の形状を特徴認識部88から取得する。   The AF control unit 77 acquires the magnification of the objective optical system 40 when determining the evaluation value search range from the magnification control unit 76, and the brightness of the captured image from the brightness detection unit 86, and the shape of the observed region Is acquired from the feature recognition unit 88.

テーブルメモリ89には、上記のように評価値テーブルを記憶してある。この評価値テーブルは、図5に示すように、対物光学系40の倍率、撮影画像の明るさ、被観察部位の形状の各組み合わせに評価値サーチ範囲がそれぞれ対応付けてある。   The table memory 89 stores the evaluation value table as described above. In this evaluation value table, as shown in FIG. 5, an evaluation value search range is associated with each combination of the magnification of the objective optical system 40, the brightness of the captured image, and the shape of the site to be observed.

対物光学系40の倍率としては、1倍,2倍,・・・5倍があり、撮影画像の明るさとしては、例えば「7(IRE)」,「40(IRE)」,「60(IRE)」等がある。また、形状としては、撮影される種々の被観察部位の形状をパターン化したものであり、例えばポリープ等の観察される形状をパターン化した円形の形状A,四角形の形状B,三角形の形状C等を設定してある。   The magnification of the objective optical system 40 is 1 ×, 2 ×,... 5 ×, and the brightness of the photographed image is, for example, “7 (IRE)”, “40 (IRE)”, “60 (IRE). ) ”Etc. Further, the shapes are obtained by patterning the shapes of various observed sites to be photographed. For example, a circular shape A, a square shape B, and a triangular shape C obtained by patterning the observed shape such as a polyp. Etc. are set.

特定の形状として認識される被観察部位を撮影しているときに、光学的倍率を変更してピントを合致させたときのAF評価値は、かなり高い確率で、その特定の形状と変更後の光学系の倍率と画像の明るさとの組み合わせに応じた比較的に狭い特定の範囲内の値となる。そこで、任意の形状,倍率,明るさの組み合わせに対応して、倍率変更後に予想されるAF評価値の特定の範囲を、その組み合わせに対応する評価値サーチ範囲として、種々の組み合わせについて求めて、それら組み合わせに対応付けて評価値テーブルに記憶してある。   When photographing the site to be observed that is recognized as a specific shape, the AF evaluation value when the optical magnification is changed and the focus is matched is fairly high, and the specific shape and the post-change The value is within a relatively narrow specific range corresponding to the combination of the magnification of the optical system and the brightness of the image. Accordingly, in response to a combination of arbitrary shape, magnification, and brightness, a specific range of AF evaluation values expected after the magnification change is obtained as an evaluation value search range corresponding to the combination for various combinations, They are stored in the evaluation value table in association with these combinations.

次に上記の構成の作用について説明する。電子内視鏡装置2で体腔内を観察する際には、まず内視鏡本体部10を、プロセッサ装置11,及光源装置12に接続する。次いで、各部の電源をオンにして、挿入部15を体腔内に挿入する。電源のオンにより、光源装置12からの照明光が照明窓32照射される。そして、この照明光の照明下で、観察窓31から露呈された対物光学系40を介してイメージセンサ48による撮影が所定のフレームレートで行われる。この撮影で得られる撮影信号がプロセッサ装置11に送られ、プロセッサ装置11に接続されたモニタ14に体腔内の被観察部位の撮影画像が表示される。   Next, the operation of the above configuration will be described. When observing the inside of a body cavity with the electronic endoscope device 2, first, the endoscope body 10 is connected to the processor device 11 and the light source device 12. Next, the power of each part is turned on, and the insertion part 15 is inserted into the body cavity. The illumination window 32 is irradiated with illumination light from the light source device 12 when the power is turned on. Then, under the illumination light, the image sensor 48 performs photographing at a predetermined frame rate through the objective optical system 40 exposed from the observation window 31. An imaging signal obtained by this imaging is sent to the processor device 11, and a captured image of the site to be observed in the body cavity is displayed on the monitor 14 connected to the processor device 11.

イメージセンサ48による撮影が行われている間では、1フレーム分の撮影信号が入力されるごとに、評価値検出部87によってAF評価値が求められ、これがAF制御部77に送られる。そして、対物光学系40の倍率が一定にされている場合には、AF制御部77の制御の下、全域サーチ処理と微小サーチ処理とを用いた対物光学系40のピント調節が行われる。   While photographing by the image sensor 48 is being performed, every time a photographing signal for one frame is input, an AF evaluation value is obtained by the evaluation value detection unit 87, and this is sent to the AF control unit 77. When the magnification of the objective optical system 40 is constant, the focus adjustment of the objective optical system 40 using the entire area search process and the fine search process is performed under the control of the AF control unit 77.

例えば先端部20を適当な方向の被観察部位に向ける等して、撮影距離が大きく変化したために微小サーチ処理によってAF評価値のピークが検出できなくなると、全域サーチ処理が行われる。この全域サーチ処理では、まず合焦レンズ45が、その可動域の一端、例えば前端位置に移動される。この後、イメージセンサ48による撮影を行ってから、後端位置に向けて合焦レンズ45をステップ移動させて再び撮影を行う。   For example, when the distal end portion 20 is pointed to an observation site in an appropriate direction and the imaging distance has changed greatly and the peak of the AF evaluation value cannot be detected by the fine search processing, the entire area search processing is performed. In the entire area search process, first, the focusing lens 45 is moved to one end of the movable range, for example, the front end position. Thereafter, after the image sensor 48 performs photographing, the focusing lens 45 is moved stepwise toward the rear end position, and photographing is performed again.

上記のようにして、後端位置に向けて合焦レンズ45を移動させながら、移動ごとに撮影を行い、各撮影で得られる撮影信号から評価値検出部87によってAF評価値が順次に検出される。後端位置でのAF評価値が求められた後、AF制御部77により、各AF評価値のうちで最大となるAF評価値が判定され、その最大のAF評価値に対応するレンズ位置が圧電アクチュエータ65に供給した駆動パルス数等から特定される。そして、AF制御部77の制御により、圧電アクチュエータ65が駆動されて特定されたレンズ位置に合焦レンズ45が移動される。これにより、先端部20が向けられた先の被観察部位に対物光学系40のピントが合致した状態とされる。   As described above, while the focusing lens 45 is moved toward the rear end position, shooting is performed for each movement, and the AF evaluation value is sequentially detected by the evaluation value detection unit 87 from the shooting signal obtained by each shooting. The After the AF evaluation value at the rear end position is obtained, the AF control unit 77 determines the AF evaluation value that is the maximum among the AF evaluation values, and the lens position corresponding to the maximum AF evaluation value is determined as piezoelectric. It is specified from the number of drive pulses supplied to the actuator 65. Then, under the control of the AF control unit 77, the piezoelectric actuator 65 is driven and the focusing lens 45 is moved to the specified lens position. As a result, the focus of the objective optical system 40 is brought into agreement with the previously observed site to which the tip 20 is directed.

上記のように全域サーチ処理でピントが合致した状態とされた後、先端部20の移動や被観察部部位の動きによって撮影距離が変化するとピントのずれが生じるが、それはAF評価値の変化としてAF制御部77に検知される。そして、そのAF評価値の変化量が一定量以上となると、AF制御部77によって微小サーチ処理が行われる。   As described above, after the entire area search process is brought into focus, if the shooting distance changes due to the movement of the tip 20 or the movement of the part to be observed, a focus shift occurs, which is a change in the AF evaluation value. It is detected by the AF control unit 77. Then, when the amount of change in the AF evaluation value exceeds a certain amount, the AF control unit 77 performs a fine search process.

微小サーチ処理が開始されると、まず現在の合焦レンズ45のレンズ位置を中心にした微小な範囲で合焦レンズ45が前後に移動され、各レンズ位置でのAF評価値が取得される。そして、各AF評価値から合焦レンズ45が移動した範囲でのAF評価値のピークを検出し、そのピークとなるレンズ位置に合焦レンズ45を移動させてピントを合致させる。AF評価値のピークが検出できないときには、撮影距離の変化が大きかったものとして前述の全域サーチ処理を行ってピントを合致させる。   When the minute search process is started, first, the focusing lens 45 is moved back and forth within a minute range centered on the lens position of the current focusing lens 45, and an AF evaluation value at each lens position is acquired. Then, a peak of the AF evaluation value in a range in which the focusing lens 45 is moved is detected from each AF evaluation value, and the focusing lens 45 is moved to the lens position where the peak is reached, and the focus is matched. When the peak of the AF evaluation value cannot be detected, the above-described whole area search process is performed and the focus is matched, assuming that the change in the shooting distance is large.

以上のようにして、被観察部位にピントが合致するように制御されている下で、その被観察部位の観察を行うが、先端部20の位置を変えずに被観察部位を拡大して観察する場合には、変倍操作部25のアップボタン25aを操作する。また、同様に広い範囲を観察する場合には、変倍操作部25のダウンボタン25bを操作する。   As described above, the observation site is observed under the control to be in focus with the observation site, but the observation site is magnified and observed without changing the position of the tip 20. In order to do this, the up button 25a of the scaling operation unit 25 is operated. Similarly, when observing a wide range, the down button 25b of the scaling operation unit 25 is operated.

変倍操作部25が操作されると、変倍制御部76の制御下で変倍モータ61が駆動されてカム軸57が回転される。このカム軸57も回転によって第1変倍レンズ42及び第2変倍レンズ43がそれぞれ前後方向に移動し、対物光学系40の倍率が変化する。変倍操作部25の1回の操作ごとにカム軸57が一定量の回転されるように制御を行うため、1回の操作ごとに倍率が1段階ずつ増減される。これにより、例えば対物光学系40の倍率が1倍であるときに、アップボタン25aを1回押圧すると第1,第2変倍レンズ42,43が移動して、対物光学系40の倍率が2倍となる。   When the magnification changing section 25 is operated, the magnification changing motor 61 is driven under the control of the magnification changing control section 76 to rotate the cam shaft 57. As the cam shaft 57 rotates, the first variable magnification lens 42 and the second variable magnification lens 43 move in the front-rear direction, and the magnification of the objective optical system 40 changes. Since the control is performed so that the camshaft 57 is rotated by a certain amount for each operation of the magnification operation unit 25, the magnification is increased or decreased by one step for each operation. Accordingly, for example, when the magnification of the objective optical system 40 is 1, when the up button 25a is pressed once, the first and second variable magnification lenses 42 and 43 move, and the magnification of the objective optical system 40 is 2. Doubled.

このように倍率が変更されるとピントのずれが生じる。このピントのずれの原因は、第1,第2変倍レンズ42,43の移動による対物光学系40の焦点位置の移動の他、撮影範囲の変化による撮影距離の分布の変化もある。後者の例としては、例えば撮影範囲のほとんどが撮影距離の長い部分に占められ、中央に相対的に撮影距離の短い小さな突起があるようなときに、撮影距離の長い部分にほぼピントが合致されるように調節されているが、高倍率に変倍されて撮影範囲の大半が小さな突起となったときには、対物光学系40の焦点位置が移動しなくても小さな突起にピントがあっていない状態となるような場合が挙げられる。   When the magnification is changed in this way, focus shift occurs. The cause of the focus shift includes not only the movement of the focal position of the objective optical system 40 due to the movement of the first and second variable magnification lenses 42 and 43 but also the change in the distribution of the photographing distance due to the change of the photographing range. As an example of the latter, for example, most of the shooting range is occupied by a long shooting distance, and when there is a small protrusion with a relatively short shooting distance at the center, the focus is almost matched with the long shooting distance. However, when the magnification is changed to a high magnification and most of the photographing range is a small protrusion, the small protrusion is not in focus even if the focal position of the objective optical system 40 does not move. There are cases where

AF制御部77は、変倍制御部76から対物光学系40の倍率が変更されたことの通知を受けると、図6に示す限定サーチ処理を開始する。まず、特徴認識部88によって倍率変更直前の撮影画像から識別された被観察部位の形状をAF制御部77が取得する。続いて、明るさ検出部86で検出された倍率変更後の被観察部位の明るさが取得され、さらには変倍制御部76から変倍後の倍率が取得される。   When the AF control unit 77 receives notification from the magnification control unit 76 that the magnification of the objective optical system 40 has been changed, the AF control unit 77 starts the limited search process shown in FIG. First, the AF control unit 77 acquires the shape of the site to be observed identified from the captured image immediately before the magnification change by the feature recognition unit 88. Subsequently, the brightness of the observed region after the magnification change detected by the brightness detection unit 86 is acquired, and further, the magnification after the magnification change is acquired from the magnification control unit 76.

上記のように倍率変更直前の形状と、倍率変更後の明るさ及び倍率とを取得すると、AF制御部77は、テーブルメモリ89にアクセスし、取得した形状,明るさ,及び倍率の組み合わせに対応する評価値サーチ範囲を評価値テーブルから特定して取得する。   When the shape immediately before the magnification change and the brightness and magnification after the magnification change are acquired as described above, the AF control unit 77 accesses the table memory 89 and corresponds to the combination of the acquired shape, brightness, and magnification. The evaluation value search range to be specified is obtained from the evaluation value table.

また、一方では、プレ移動処理を行い、倍率変更前のレンズ位置に対応した撮影距離に倍率変更後のピントを合致させるレンズ位置に合焦レンズ45を移動する。倍率変更前に対応する倍率変更後のレンズ位置は、それまでに圧電アクチュエ−タ65に供給した駆動パルスのパルス数、パターン等に基づいて取得され、その合焦レンズ45のレンズ位置でピントが合致していた撮影距離からが倍率変更後にピントが合致する合焦レンズ45のレンズ位置が特定される。そして、その特定したレンズ位置となるように圧電アクチュエ−タ65に駆動パルスが供給される。   On the other hand, a pre-movement process is performed, and the focusing lens 45 is moved to a lens position that matches the focus after the magnification change to the photographing distance corresponding to the lens position before the magnification change. The lens position after the magnification change corresponding to the magnification change is acquired based on the number of pulses, the pattern, and the like of the driving pulse supplied to the piezoelectric actuator 65 so far, and the lens position of the focusing lens 45 is in focus. The lens position of the focusing lens 45 that is in focus after the magnification change is determined from the matching shooting distance. Then, a drive pulse is supplied to the piezoelectric actuator 65 so that the specified lens position is obtained.

なお、倍率変更前後の各倍率と、倍率変更前の撮影距離とがわかれば、その撮影距離にピントを合致させる倍率変更後の合焦レンズ45のレンズ位置から求めることができる。また、倍率変更前の各倍率下の各レンズ位置に対応する倍率変更後の倍率下のレンズ位置を関連付けたデータテーブルを予め用意しておいて、それを参照して、プレ移動処理を行ってもよい。   If the respective magnifications before and after the magnification change and the photographing distance before the magnification change are known, it can be obtained from the lens position of the focusing lens 45 after the magnification change that matches the photographing distance. In addition, a data table that associates the lens position under the magnification after the magnification change corresponding to the lens position under each magnification before the magnification change is prepared in advance, and a pre-movement process is performed with reference to the data table. Also good.

上記のようにしてプレ移動処理を行った後には、プレ移動処理後のAF評価値であるプレAF評価値を取得し、このプレAF評価値が取得した評価値サーチ範囲内であることを確認してから、移動方向の判定処理を行う。この移動方向の判定処理は、合焦レンズ45をいずれの方向に移動すると少ない移動量で評価値サーチ範囲の下限値となるレンズ位置に移動することができるかを判定する。   After performing the pre-movement process as described above, a pre-AF evaluation value that is an AF evaluation value after the pre-movement process is acquired, and it is confirmed that the pre-AF evaluation value is within the acquired evaluation value search range. Then, the moving direction determination process is performed. In this moving direction determination process, it is determined in which direction the focusing lens 45 can be moved to a lens position that is the lower limit value of the evaluation value search range with a small amount of movement.

例えばプレ移動処理後のレンズ位置を中心にして合焦レンズ45が適当なステップ幅で前後に移動され、そのときの合焦レンズ45の移動方向とAF評価値の増減の関係が調べられる。そして、AF評価値が減少する方向が合焦レンズ45を移動すべき方向とされる。例えば合焦レンズ45を後端位置に向けて移動させたときにAF評価値が減少するのであれば、その後端位置に向けて移動させる方向を合焦レンズ45の移動すべき方向とする。なお、このような処理によらず、任意の一方向を合焦レンズ45の移動すべき方向としてもよい。   For example, the focusing lens 45 is moved back and forth with an appropriate step width around the lens position after the pre-movement process, and the relationship between the moving direction of the focusing lens 45 and the increase or decrease of the AF evaluation value at that time is examined. The direction in which the AF evaluation value decreases is the direction in which the focusing lens 45 should be moved. For example, if the AF evaluation value decreases when the focusing lens 45 is moved toward the rear end position, the direction in which the focusing lens 45 is moved is the direction in which the focusing lens 45 is to be moved. In addition, it is good also considering the arbitrary one direction as the direction which should move the focusing lens 45 irrespective of such a process.

移動方向の判定後、評価値サーチ範囲の下限値となるレンズ位置に合焦レンズ45をセットする。このため、AF評価値を取得しながら、圧電アクチュエータ65を駆動して、先に判定した移動すべき方向に合焦レンズ45が移動される。そして、取得されたAF評価値が評価値サーチ範囲の下限値となった時点で合焦レンズ45の移動を停止してセットする。なお、評価値サーチ範囲の下限値となるレンズ位置に合焦レンズ45を厳密にセットする必要はない。例えば、下限値に近いAF評価値となるレンズ位置でもよく、AF評価値が下限値以下となった時点のレンズ位置でもよい。   After determining the moving direction, the focusing lens 45 is set at the lens position that is the lower limit value of the evaluation value search range. Therefore, while acquiring the AF evaluation value, the piezoelectric actuator 65 is driven, and the focusing lens 45 is moved in the previously determined direction to be moved. Then, when the acquired AF evaluation value becomes the lower limit value of the evaluation value search range, the movement of the focusing lens 45 is stopped and set. Note that it is not necessary to strictly set the focusing lens 45 at the lens position that is the lower limit value of the evaluation value search range. For example, the lens position may be an AF evaluation value close to the lower limit value, or the lens position when the AF evaluation value is equal to or lower than the lower limit value.

上記のように、AF評価値が評価値サーチ範囲の下限値となるように合焦レンズ45をセットした後、AF制御部77によって、評価値サーチ範囲の最大値を検出するための処理が開始される。まず、移動方向の判定処理で下限値にまで移動したときと反対の方向に、合焦レンズ45を1ステップずつ移動させながらAF評価値を順次に取得する。   As described above, after setting the focusing lens 45 so that the AF evaluation value becomes the lower limit value of the evaluation value search range, the AF control unit 77 starts processing for detecting the maximum value of the evaluation value search range. Is done. First, AF evaluation values are sequentially acquired while moving the focusing lens 45 one step at a time in the direction opposite to that when moving to the lower limit value in the moving direction determination process.

そして、合焦レンズ45の移動によって、取得されるAF評価値が評価値サーチ範囲の下限値以下となると、そのレンズ位置で合焦レンズ45の移動が停止される。これにより、特定した評価サーチ範囲内をAF評価値が維持するレンズ位置の範囲で合焦レンズ45を移動させたときのAF評価値を順次に取得できる。   When the acquired AF evaluation value becomes equal to or lower than the lower limit value of the evaluation value search range due to the movement of the focusing lens 45, the movement of the focusing lens 45 is stopped at that lens position. Thereby, AF evaluation values when the focusing lens 45 is moved within a range of lens positions where the AF evaluation values are maintained within the specified evaluation search range can be sequentially acquired.

評価値サーチ範囲の各レンズ位置についてのAF評価値が取得されると、AF制御部77によって、それらのうちで最大となるAF評価値が判定され、そのAF評価値に対応するレンズ位置が特定される。そして、AF制御部77によって、そのレンズ位置に合焦レンズ45が移動される。   When the AF evaluation value for each lens position in the evaluation value search range is acquired, the AF control unit 77 determines the largest AF evaluation value among them, and specifies the lens position corresponding to the AF evaluation value. Is done. Then, the AF control unit 77 moves the focusing lens 45 to the lens position.

ところで、プレ移動処理後に取得されたプレAF評価値が評価値サーチ範囲外である場合には、合焦レンズ45をいずれの方向に移動するとAF評価値を評価値サーチ範囲内とですることがきるかを判定する移動方向の判定処理が行われる。この移動方向の判定処理では、やはり現在のレンズ位置を中心にして合焦レンズ45を適当なステップ幅で前後に移動させ、そのときの合焦レンズ45の移動方向とAF評価値の増減の関係を調べる。   By the way, when the pre-AF evaluation value acquired after the pre-movement process is outside the evaluation value search range, the AF evaluation value can be set within the evaluation value search range by moving the focusing lens 45 in any direction. A moving direction determination process is performed to determine whether or not it is possible. In this determination process of the moving direction, the focusing lens 45 is also moved back and forth with an appropriate step width around the current lens position, and the relationship between the moving direction of the focusing lens 45 and the increase or decrease of the AF evaluation value at that time Check out.

プレAF評価値が評価値サーチ範囲外である場合で、プレAF評価値が評価値サーチ範囲の値よりも小さい値になっているときには、AF評価値が増加する方向を合焦レンズ45の移動すべき方向とする。そして、AF評価値を取得しながら、その移動すべき方向に合焦レンズ45を移動させる。そして、AF評価値が評価値サーチ範囲の下限値となるレンズ位置に合焦レンズ45をセットする。なお、この場合にも厳密に合焦レンズをセットする必要はなく、例えばAF評価値が評価値サーチ範囲内となった時点のレンズ位置であってもよい。   When the pre-AF evaluation value is out of the evaluation value search range and the pre-AF evaluation value is smaller than the value in the evaluation value search range, the focusing lens 45 is moved in the direction in which the AF evaluation value increases. The direction should be. Then, while acquiring the AF evaluation value, the focusing lens 45 is moved in the direction to be moved. Then, the focusing lens 45 is set at a lens position where the AF evaluation value is the lower limit value of the evaluation value search range. In this case as well, it is not necessary to set the focusing lens strictly. For example, the lens position at the time when the AF evaluation value falls within the evaluation value search range may be used.

AF評価値が評価値サーチ範囲の下限値となるレンズ位置に合焦レンズ45をセットした後には、プレAF評価値が評価値サーチ範囲内にある場合と、同様にして、AF制御部77によって、評価値サーチ範囲の最大値を検出するための処理を行う。この場合には、評価値サーチ範囲の下限値にまで移動したときと同じ方向に合焦レンズ45を移動させればよい。   After the focusing lens 45 is set at the lens position where the AF evaluation value is the lower limit value of the evaluation value search range, the AF control unit 77 performs the same operation as when the pre-AF evaluation value is within the evaluation value search range. Then, a process for detecting the maximum value of the evaluation value search range is performed. In this case, the focusing lens 45 may be moved in the same direction as when moving to the lower limit value of the evaluation value search range.

なお、プレAF評価値が評価値サーチ範囲よりも大きな値になっている場合や、評価値サーチ範囲でAF評価値の最大値を検出するために合焦レンズ45を移動させたときに、評価値サーチ範囲の上限より大きなAF評価値が検出された場合には、評価値サーチ範囲の値よりも大きなAF評価値をとり得ることが確実となる。そこで、このような場合には、例えば全域サーチ処理や、プレAF評価値よりAF評価値を増大させる方向にサーチ範囲を限定する等して、合焦レンズ45を移動させながらAF評価値を評価し対物光学系40のピントが被観察部位に合致するように制御すればよい。   The evaluation is performed when the pre-AF evaluation value is larger than the evaluation value search range or when the focusing lens 45 is moved to detect the maximum AF evaluation value in the evaluation value search range. When an AF evaluation value larger than the upper limit of the value search range is detected, it is certain that an AF evaluation value larger than the value of the evaluation value search range can be taken. Therefore, in such a case, the AF evaluation value is evaluated while moving the focusing lens 45, for example, by restricting the search range to a direction in which the AF evaluation value is increased from the pre-AF evaluation value, for example. Then, it may be controlled so that the focus of the objective optical system 40 matches the site to be observed.

また、プレAF評価値が評価値サーチ範囲外であるときに、判定した移動方向に移動しても評価値サーチ範囲内とならない場合には、例えば合焦レンズが前端位置または後端位置に達した時点で、その移動方向を反転して評価値サーチ範囲に向けて合焦レンズを移動するように制御してもよい。   Further, when the pre-AF evaluation value is outside the evaluation value search range, if the pre-AF evaluation value does not fall within the evaluation value search range even if it moves in the determined movement direction, for example, the focusing lens reaches the front end position or the rear end position. At that time, the moving direction may be reversed and the focusing lens may be controlled to move toward the evaluation value search range.

図7に一例を示すように、倍率変更後におけるレンズ位置に対するAF評価値をAF評価値曲線Caで表し、倍率変更前のレンズ位置に対するAF評価値をAF評価値曲線Cbで表すものとする。倍率変更前では、最大のAF評価値に対応するレンズ位置P0に合焦レンズ45がセットされている。また、倍率を変更すると対物光学系40の焦点位置の移動や、撮影範囲が小さくなる等の理由でピントがずれた状態となり、合焦レンズ45はレンズ位置P0で変わらないが、AF評価値は、AF評価値曲線Caにおける最大値とはならないものとなっている。   As shown in FIG. 7, the AF evaluation value for the lens position after the magnification change is represented by an AF evaluation value curve Ca, and the AF evaluation value for the lens position before the magnification change is represented by an AF evaluation value curve Cb. Before the magnification change, the focusing lens 45 is set at the lens position P0 corresponding to the maximum AF evaluation value. Further, when the magnification is changed, the focus position of the objective optical system 40 is moved or the photographing range becomes small, and the focus lens 45 is not changed at the lens position P0. However, the AF evaluation value is The maximum value in the AF evaluation value curve Ca is not reached.

プレ移動処理によって、レンズ位置P0でピントが合致していた撮影距離からに倍率変更後のピントが合致するレンズ位置P1が特定され、そのレンズ位置P1に合焦レンズ45が移動される。このようにプレ移動処理を行うと、AF評価値(プレAF評価値)が、倍率変更前に撮影されている被観察部位の形状と倍率変更後の光学系の倍率と画像の明るさとの組み合わせに応じて特定された評価値サーチ範囲内となるものの、必ずしもピントが合致した状態とはならない。これは、撮影範囲が小さくなって、撮影距離の分布が変わる等の理由による。   By the pre-movement process, the lens position P1 that matches the focus after the magnification change is specified from the photographing distance that is in focus at the lens position P0, and the focusing lens 45 is moved to the lens position P1. When the pre-moving process is performed in this way, the AF evaluation value (pre-AF evaluation value) is a combination of the shape of the observed region imaged before the magnification change, the magnification of the optical system after the magnification change, and the brightness of the image. Although it falls within the evaluation value search range specified according to the above, it is not always in a state of being in focus. This is because the shooting range becomes smaller and the distribution of shooting distances changes.

合焦レンズ45は、レンズ位置P1を中心とするΔPの範囲で前後に移動される。そして、このときに得られる各AF評価値に基づいて、AF評価値を評価値サーチ範囲の下限値とするための合焦レンズ45の移動方向がAF評価値曲線CaにおいてAF評価値を減少させる方向として判定される。   The focusing lens 45 is moved back and forth within a range of ΔP with the lens position P1 as the center. Based on each AF evaluation value obtained at this time, the moving direction of the focusing lens 45 for setting the AF evaluation value as the lower limit value of the evaluation value search range decreases the AF evaluation value in the AF evaluation value curve Ca. It is determined as a direction.

合焦レンズ45は、AF評価値を参照しながら移動されることによってレンズ位置P2にまで移動される。続いてAF評価値を取得しながら、逆向きに合焦レンズ45が1ステップずつ移動され、AF評価値が評価値サーチ範囲の下限値以下となるレンズ位置で合焦レンズ45の移動が停止される。この図示の例では、レンズ位置P3まで合焦レンズ45が移動する。そして、このようにして合焦レンズ45が移動してAF評価値が評価値サーチ範囲となっている間に得られる最大値のレンズ位置P4に、合焦レンズ45が移動されることにより、被観察部位にピントが合致させられる。   The focusing lens 45 is moved to the lens position P2 by being moved while referring to the AF evaluation value. Subsequently, while acquiring the AF evaluation value, the focusing lens 45 is moved backward by one step at a time, and the movement of the focusing lens 45 is stopped at a lens position where the AF evaluation value is equal to or lower than the lower limit value of the evaluation value search range. The In the illustrated example, the focusing lens 45 moves to the lens position P3. Then, the focusing lens 45 is moved to the maximum lens position P4 obtained while the focusing lens 45 is moved and the AF evaluation value is in the evaluation value search range in this way. The focus is matched to the observation site.

以上のようにして、対物光学系40の変倍後のピント合わせが行われ、被観察部位にピントが合致するようにされる。このときに、倍率変更前に撮影されている被観察部位の形状と、倍率変更後の光学系の倍率及び画像の明るさとの組み合わせに応じた狭い評価値サーチ範囲内でAF評価値の最大値を検出することによってピントが合致するレンズ位置を特定しているから、短時間で被観察部位にピントを合致させることができる。   As described above, the objective optical system 40 is focused after zooming so that the focus is matched to the site to be observed. At this time, the maximum value of the AF evaluation value within a narrow evaluation value search range according to the combination of the shape of the observed region imaged before the magnification change, the magnification of the optical system after the magnification change, and the brightness of the image Since the position of the lens that matches the focus is specified by detecting, the focus can be matched to the site to be observed in a short time.

上記実施形態では、評価値サーチ範囲における最大のAF評価値となるレンズ位置に合焦レンズを移動してセットするようにしたが、AF評価値が増加から減少に転じるAF評価値のピークを検出し、そのピークのレンズ位置に合焦レンズをセットする、いわゆる山登り方式を採用してもよい。この場合、例えば最初に検出したピークのレンズ位置に合焦レンズをセットする。なお、このようにしても、たとえピークのAF評価値が最大値でなくても、評価値サーチ範囲が狭いことから実用的なピントのずれ量に抑えることができる。   In the above embodiment, the focusing lens is moved and set to the lens position where the maximum AF evaluation value in the evaluation value search range is detected, but the peak of the AF evaluation value at which the AF evaluation value turns from increasing to decreasing is detected. However, a so-called hill-climbing method in which a focusing lens is set at the peak lens position may be employed. In this case, for example, the focusing lens is set at the first detected peak lens position. Even in this case, even if the AF evaluation value of the peak is not the maximum value, the evaluation value search range is narrow, so that it can be suppressed to a practical focus shift amount.

また、上記では、光学的倍率を変更したときに焦点位置が変化するバリフォーカルタイプの対物光学系を例にして説明したが、本発明は、これに限らず、光学的倍率を変更したときに焦点位置が変化しないように構成されたズームタイプの対物光学系であってもよい。   In the above description, the varifocal type objective optical system whose focal position changes when the optical magnification is changed has been described as an example. However, the present invention is not limited to this, and the optical magnification is changed. It may be a zoom type objective optical system configured such that the focal position does not change.

さらに、上記実施形態では、撮影画像から認識すべき被観察部位の画像の特徴として、被観察部位の形状を認識し、その形状を評価値サーチ範囲に関連付けているが、認識すべき被観察部位の画像の特徴としては、形状に限るものではなく、ひだ状や格子状などのような模様,色や明るさやそれらの分布、分布の割合等とすることができる。また、形状倍率、明るさとのいずれか2つを組み合わせて評価値サーチ範囲を特定するようにしてもよい。   Furthermore, in the above-described embodiment, the shape of the observed region is recognized as a feature of the image of the observed region to be recognized from the captured image, and the shape is associated with the evaluation value search range. The characteristics of the image are not limited to the shape, but may be a pattern such as a pleat or a lattice, color and brightness, their distribution, distribution ratio, and the like. Alternatively, the evaluation value search range may be specified by combining any two of shape magnification and brightness.

電子内視鏡装置の構成を示す説明図である。It is explanatory drawing which shows the structure of an electronic endoscope apparatus. 内視鏡本体部の先端面を示す説明図である。It is explanatory drawing which shows the front end surface of an endoscope main-body part. 対物光学系の構成を示す断面図である。It is sectional drawing which shows the structure of an objective optical system. 電子内視鏡装置の電気的な構成を示すブロック図である。It is a block diagram which shows the electric constitution of an electronic endoscope apparatus. 形状,倍率,明るさの組み合わせに評価値サーチ範囲を対応づけた評価値テーブルの例を示す説明図である。It is explanatory drawing which shows the example of the evaluation value table which matched the evaluation value search range with the combination of a shape, a magnification, and brightness. 光学的な倍率の変更時に行う限定サーチ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the limited search process performed when the optical magnification is changed. 光学的な倍率の変更時の合焦レンズの移動とAF評価値の関係を示すグラフである。It is a graph which shows the relationship between the movement of the focusing lens at the time of change of optical magnification, and AF evaluation value.

符号の説明Explanation of symbols

2 電子内視鏡装置
10 電子内視鏡
11 プロセッサ装置
40 対物光学系
42,43 変倍レンズ
45 合焦レンズ
48 イメージセンサ
77 AF制御部
86 明るさ検出部
87 評価値検出部
88 特徴認識部
89 テーブルメモリ
2 Electronic Endoscope 10 Electronic Endoscope 11 Processor Unit 40 Objective Optical System 42, 43 Variable Lens 45 Focusing Lens 48 Image Sensor 77 AF Control Unit 86 Brightness Detection Unit 87 Evaluation Value Detection Unit 88 Feature Recognition Unit 89 Table memory

Claims (4)

光学像を変倍する変倍レンズとピントを調節する合焦レンズとを有する対物光学系と、この対物光学系を通して被観察部位の撮影を行って撮影信号を出力するイメージセンサとが体内に挿入される挿入部の先端に設けられ、コントラストの大きさを示す評価値に基づいてピント調節を行う電子内視鏡装置のピント調節方法において、
前記変倍レンズの移動による倍率変更が行われたときに、撮影された画像の明るさと、倍率変更直前に撮影された画像から認識された被観察部位の画像の特徴と、倍率変更後の前記対物光学系の倍率との組み合わせに対応して、倍率変更後に予想される評価値の範囲としてサーチ範囲を特定するとともに、倍率変更前のレンズ位置に対応した撮影距離に倍率変更後のピントを合致させるレンズ位置に合焦レンズを移動してから、評価値が特定したサーチ範囲内を維持するレンズ位置の範囲で前記合焦レンズを移動させ、この移動で得られる各評価値を評価して得られる被観察部位にピントを合致させるためのレンズ位置に合焦レンズを移動させることを特徴とする電子内視鏡装置のピント調節方法。
An objective optical system having a variable power lens that changes an optical image and a focusing lens that adjusts the focus, and an image sensor that takes an image of an observation site and outputs an imaging signal through the objective optical system are inserted into the body. In the focus adjustment method of the electronic endoscope apparatus that is provided at the distal end of the insertion portion and performs focus adjustment based on the evaluation value indicating the magnitude of contrast,
When the magnification is changed by moving the zoom lens, the brightness of the photographed image, the characteristics of the image of the observed region recognized from the image photographed immediately before the magnification change, and the magnification after the magnification change Corresponding to the combination with the magnification of the objective optical system, the search range is specified as the range of evaluation values expected after the magnification change, and the focus after the magnification change is matched to the shooting distance corresponding to the lens position before the magnification change After moving the focusing lens to the lens position to be moved, the focusing lens is moved within the range of the lens position that maintains the search range specified by the evaluation value, and each evaluation value obtained by this movement is evaluated. A focus adjustment method for an electronic endoscope apparatus, wherein the focusing lens is moved to a lens position for focusing on a portion to be observed.
特定したサーチ範囲内となる範囲で前記合焦レンズを移動させたときに、最大の評価値となるレンズ位置に合焦レンズを移動することを特徴とする請求項1記載の電子内視鏡装置のピント調節方法。   2. The electronic endoscope apparatus according to claim 1, wherein when the focusing lens is moved within a range within the specified search range, the focusing lens is moved to a lens position having a maximum evaluation value. Focus adjustment method. 体内に挿入される挿入部の先端に設けられ、合焦する撮影距離を合焦レンズの移動によって調節する合焦機構と、光学像を変倍する光学的変倍機構とが組み込まれた対物光学系と、
前記対物光学系を通して被観察部位の撮影を行い、撮影した被観察部位の画像を撮影信号に光電変換して出力するイメージセンサと、
撮影信号に基づいて、撮影画像のコントラストの大きさを示す評価値を検出するコントラスト検出手段と、
撮影信号に基づいて、撮影画像の明るさを検出する明るさ検出手段と、
撮影信号に基づいて、撮影された被観察部位の画像の特徴を認識する認識手段と、
撮影画像の明るさと、前記対物光学系の倍率変更直前の被観察部位の画像の特徴と、倍率変更後の前記対物光学系の倍率との組み合わせに対応して、倍率変更後に予想される評価値の範囲として予め規定したサーチ範囲を、撮影画像の明るさと、前記倍率変更前の被観察部位の画像の特徴と、倍率変更後の倍率との複数の組み合わせにそれぞれ対応付けて記憶した記憶手段と、
前記光学的変倍機構による前記対物光学系の倍率変更が行われたときに、前記明るさ検出手段によって検出された撮影画像の明るさと、倍率変更直前に前記認識手段によって認識された被観察部位の画像の特徴と、倍率変更後の前記対物光学系の倍率との組み合わせに対応したサーチ範囲を前記記憶手段に記憶されている複数のサーチ範囲から特定するとともに、倍率変更前のレンズ位置に対応した撮影距離に倍率変更後のピントを合致させるレンズ位置に合焦レンズを移動してから、前記コントラスト検出手段で検出される評価値が特定したサーチ範囲内を維持するレンズ位置の範囲で前記合焦レンズを移動させ、この移動で得られる各評価値を評価して、被観察部位にピントを合致させるためのレンズ位置を決定し、決定されたレンズ位置に合焦レンズを移動させるフォーカス制御手段とを備えたこと特徴とする電子内視鏡装置。
Objective optics that incorporates a focusing mechanism that adjusts the focusing distance by moving the focusing lens and an optical scaling mechanism that scales the optical image. The system,
An image sensor that performs imaging of the observed site through the objective optical system, photoelectrically converts the captured image of the observed site into an imaging signal, and
Contrast detection means for detecting an evaluation value indicating the magnitude of contrast of the captured image based on the captured signal;
Brightness detection means for detecting the brightness of the shot image based on the shooting signal;
Recognition means for recognizing the characteristics of the image of the imaged site to be observed based on the imaging signal;
Evaluation value expected after the magnification change corresponding to the combination of the brightness of the captured image, the characteristics of the image of the observed region immediately before the magnification change of the objective optical system, and the magnification of the objective optical system after the magnification change Storage means for storing a search range preliminarily defined as a range of the image in association with a plurality of combinations of the brightness of the photographed image, the characteristics of the image of the observed region before the magnification change, and the magnification after the magnification change, and ,
When the magnification of the objective optical system is changed by the optical scaling mechanism, the brightness of the captured image detected by the brightness detection unit and the site to be observed recognized by the recognition unit immediately before the magnification change The search range corresponding to the combination of the image characteristics and the magnification of the objective optical system after the magnification change is specified from the plurality of search ranges stored in the storage means, and the lens position before the magnification change is supported The focus lens is moved to the lens position that matches the focus after the magnification change to the shooting distance, and then the focus is maintained within the range of the lens position that maintains the evaluation value detected by the contrast detection means within the specified search range. The focal lens is moved, each evaluation value obtained by this movement is evaluated, the lens position for focusing on the observation site is determined, and the determined lens position is determined. Electronic endoscope apparatus according to claim further comprising a focus control means for moving the focusing lens to.
前記フォーカス制御手段は、特定したサーチ範囲内となる範囲で前記合焦レンズを移動させたときに最大の評価値となるレンズ位置を、ピントを合致させるためのレンズ位置として決定することを特徴とする請求項3記載の電子内視鏡装置。   The focus control means determines a lens position that has a maximum evaluation value when the focusing lens is moved within a specified search range as a lens position for focusing. The electronic endoscope apparatus according to claim 3.
JP2008169907A 2008-06-30 2008-06-30 Electronic endoscope apparatus and focus adjustment method thereof Abandoned JP2010008836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008169907A JP2010008836A (en) 2008-06-30 2008-06-30 Electronic endoscope apparatus and focus adjustment method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008169907A JP2010008836A (en) 2008-06-30 2008-06-30 Electronic endoscope apparatus and focus adjustment method thereof

Publications (1)

Publication Number Publication Date
JP2010008836A true JP2010008836A (en) 2010-01-14

Family

ID=41589397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008169907A Abandoned JP2010008836A (en) 2008-06-30 2008-06-30 Electronic endoscope apparatus and focus adjustment method thereof

Country Status (1)

Country Link
JP (1) JP2010008836A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090005281U (en) * 2007-11-28 2009-06-02 웬-쿵 숭 Light-emitting diode package structure
CN114859544A (en) * 2022-03-29 2022-08-05 青岛大学附属医院 Endoscope focusing control method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04242208A (en) * 1991-01-16 1992-08-28 Canon Inc Optical instrument provided with lens position controller
JPH11215425A (en) * 1998-01-26 1999-08-06 Nachi Fujikoshi Corp Automatic focusing mehtod and system thereof
JP2005331724A (en) * 2004-05-20 2005-12-02 Victor Co Of Japan Ltd Image inputting apparatus
JP2006018246A (en) * 2004-06-03 2006-01-19 Canon Inc Imaging apparatus and imaging method
JP2006106520A (en) * 2004-10-08 2006-04-20 Fujinon Corp Endoscope
JP2007328212A (en) * 2006-06-09 2007-12-20 Sony Corp Imaging apparatus, imaging apparatus control method and computer program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04242208A (en) * 1991-01-16 1992-08-28 Canon Inc Optical instrument provided with lens position controller
JPH11215425A (en) * 1998-01-26 1999-08-06 Nachi Fujikoshi Corp Automatic focusing mehtod and system thereof
JP2005331724A (en) * 2004-05-20 2005-12-02 Victor Co Of Japan Ltd Image inputting apparatus
JP2006018246A (en) * 2004-06-03 2006-01-19 Canon Inc Imaging apparatus and imaging method
JP2006106520A (en) * 2004-10-08 2006-04-20 Fujinon Corp Endoscope
JP2007328212A (en) * 2006-06-09 2007-12-20 Sony Corp Imaging apparatus, imaging apparatus control method and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090005281U (en) * 2007-11-28 2009-06-02 웬-쿵 숭 Light-emitting diode package structure
CN114859544A (en) * 2022-03-29 2022-08-05 青岛大学附属医院 Endoscope focusing control method and system

Similar Documents

Publication Publication Date Title
US8602979B2 (en) Electronic endoscope having front-view and side-view image capturing
JP4482418B2 (en) Endoscope device
EP2749923B1 (en) Focus control device, endoscope device, and focus control method
JP2005526265A (en) Automatic focusing endoscope system
JP5022580B2 (en) Endoscope device
WO2016185952A1 (en) Control device and medical image pickup system
US9516999B2 (en) Endoscope apparatus and focus control method for endoscope apparatus
JP2012125293A (en) Control device, endoscope apparatus and focus control method
JP5547118B2 (en) Image acquisition device and method of operating image acquisition device
CN111867439A (en) System with endoscope and image sensor and method for processing medical images
JP2005284136A (en) Observation device and focusing method for observation device
JP6140362B2 (en) Endoscope device
JPH08106060A (en) Endoscope device
JP5063480B2 (en) Imaging system with autofocus mechanism and adjustment method thereof
JP2009066222A (en) Endoscope
JP2010008836A (en) Electronic endoscope apparatus and focus adjustment method thereof
JP2007328213A (en) Imaging apparatus, imaging apparatus control method, and computer program
JP4336166B2 (en) Electronic endoscope device with autofocus function
JP2002258166A (en) Endoscopic apparatus
US20210258456A1 (en) Interchangeable lens, imaging apparatus, and rotation detection apparatus
JP2014083396A (en) Fundus imaging device and control method, program
JP2011147043A (en) Oral camera, and illumination control method thereof
JPH10118007A (en) Endoscope
JP2011104068A (en) Intra-oral camera
JP2004065316A (en) Endoscope instrument

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20100619

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111221

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20120206