JP5036282B2 - IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE - Google Patents

IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE Download PDF

Info

Publication number
JP5036282B2
JP5036282B2 JP2006306400A JP2006306400A JP5036282B2 JP 5036282 B2 JP5036282 B2 JP 5036282B2 JP 2006306400 A JP2006306400 A JP 2006306400A JP 2006306400 A JP2006306400 A JP 2006306400A JP 5036282 B2 JP5036282 B2 JP 5036282B2
Authority
JP
Japan
Prior art keywords
image
focus
objective lens
image sensor
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006306400A
Other languages
Japanese (ja)
Other versions
JP2008122661A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2006306400A priority Critical patent/JP5036282B2/en
Publication of JP2008122661A publication Critical patent/JP2008122661A/en
Application granted granted Critical
Publication of JP5036282B2 publication Critical patent/JP5036282B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Automatic Focus Adjustment (AREA)
  • Endoscopes (AREA)
  • Studio Devices (AREA)

Description

本発明は、被検体を観察するための撮像装置、及び、該撮像装置のフォーカス調整方法、並びに、該撮像装置を備えた内視鏡装置に関する。   The present invention relates to an imaging apparatus for observing a subject, a focus adjustment method for the imaging apparatus, and an endoscope apparatus including the imaging apparatus.

内視鏡装置の挿入部には、撮像装置が組み込まれていて、この撮像装置によって、挿入部の先端側において前方あるいは側方に位置する被検体を観察することが可能である。このような撮像装置にはオートフォーカス機能が備えられていて、この機能によって、被検体との距離が変化しても被検体を好適に観察することが可能となる。撮像装置のオートフォーカス機能を付与する具体的構成としては、例えば、撮像素子と、該撮像素子を対物レンズの光軸方向に移動させる可動部材と、該撮像素子を対物レンズの光軸方向に10kHz程度の周波数で振動させるピエゾ素子と、撮像素子から出力される映像信号の内、ピエゾ素子の周波数と同じ周波数成分を抽出する抽出手段とを備えた撮像装置が提案されている(例えば、特許文献1参照)。この撮像装置によれば、撮像素子がフォーカス位置に位置している場合には、抽出手段によって上記周波数成分の映像信号が検出されなくなる。このため、抽出手段によって上記映像信号が検出された場合には、検出されなくなるような位置に可動部材によって撮像素子を移動させることで、撮像素子をフォーカス位置に配置して、常にフォーカスの合った画像を出力することができるとされている。
特許第2732462号公報
An imaging device is incorporated in the insertion portion of the endoscope device, and it is possible to observe a subject positioned forward or sideward on the distal end side of the insertion portion by this imaging device. Such an imaging apparatus is provided with an autofocus function, which makes it possible to appropriately observe the subject even if the distance to the subject changes. As a specific configuration for providing the autofocus function of the imaging apparatus, for example, an imaging element, a movable member that moves the imaging element in the optical axis direction of the objective lens, and the imaging element in the optical axis direction of the objective lens are 10 kHz. 2. Description of the Related Art An imaging apparatus including a piezoelectric element that vibrates at a certain frequency and an extraction unit that extracts a frequency component that is the same as the frequency of the piezoelectric element in a video signal output from the imaging element has been proposed (for example, Patent Documents) 1). According to this imaging apparatus, when the imaging element is located at the focus position, the video signal having the frequency component is not detected by the extraction unit. For this reason, when the video signal is detected by the extraction means, the image pickup device is moved to a position where it can no longer be detected by moving the image pickup device with the movable member, so that the image pickup device is placed at the focus position and is always in focus. An image can be output.
Japanese Patent No. 2732462

しかしながら、特許文献1の撮像装置によれば、撮像素子はピエゾ素子によって常に10kHz程度の周波数で対物レンズの光軸方向に振動し、すなわち、撮像素子と対物レンズとの相対的な位置関係は、常に上記周波数と、所定の振幅とで変動していることとなる。このため、撮像素子に結像する光学像のフォーカスは、撮像素子の振動に応じて変化し、結果として、撮像素子によって連続して画像を取得することで得られる映像の解像度は低下してしまう問題があった。また、抽出手段によって検出された結果に基づいて、ピエゾ素子の振動と同じ周波数成分の映像信号が検出されないように、常に撮像素子の位置を移動、すなわちフォーカシングしているため、画像が常に変化し、結果として、観察者にとって見にくい画像となってしまっていた。この対策として、撮像装置に備えられたオートフォーカス機能をスイッチによってON/OFF切り替え可能にすることも考えられるが、オートフォーカス機能の有無を手動で切り替えることは、本来の目的を逸し、余計な操作が増えて、観察作業が煩雑なものとなってしまう。   However, according to the imaging device of Patent Document 1, the imaging element always vibrates in the optical axis direction of the objective lens at a frequency of about 10 kHz by the piezo element, that is, the relative positional relationship between the imaging element and the objective lens is: It always fluctuates with the above frequency and a predetermined amplitude. For this reason, the focus of the optical image formed on the image sensor changes according to the vibration of the image sensor, and as a result, the resolution of the video obtained by continuously acquiring images by the image sensor decreases. There was a problem. In addition, based on the result detected by the extraction means, the position of the image sensor is constantly moved, that is, focused so that a video signal having the same frequency component as the vibration of the piezo element is not detected. As a result, the image was difficult to see for the observer. As a countermeasure, it is conceivable that the autofocus function provided in the image pickup apparatus can be switched on / off by a switch. However, manually switching the presence / absence of the autofocus function defeats the original purpose and is an unnecessary operation. Increases and the observation work becomes complicated.

この発明は、上述した事情に鑑みてなされたものであって、通常は、フォーカスを略一定の状態として画像を出力する一方、被検体を観察する場合には、出力される画像のフォーカスが最適となるように調整して、高解像度の画像で被検体を観察することが可能な撮像装置、及び、撮像装置のフォーカス調整方法、並びに、撮像装置を備えた内視鏡装置を提供するものである。   The present invention has been made in view of the above-described circumstances. Normally, an image is output with a substantially constant focus. On the other hand, when observing a subject, the output image is optimally focused. An imaging apparatus capable of observing a subject with a high-resolution image, a focus adjustment method for the imaging apparatus, and an endoscope apparatus including the imaging apparatus are provided. is there.

上記課題を解決するために、この発明は以下の手段を提案している。
本発明の撮像装置は、対物レンズと、該対物レンズの光軸と同軸上に配設され、該対物レンズで集光された入射光を受光して画像を繰り返し取得する撮像素子と、該撮像素子を、前記対物レンズの前記光軸上で移動させる撮像素子移動手段と、前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較して、該画像が前後で変化していない場合には、前記撮像素子移動手段によって前記撮像素子の位置をフォーカス位置となるように調整させる制御ユニットと、前記撮像素子で取得される前記画像内の一部の範囲としてフォーカスエリアを予め設定し、前記画像内で前記フォーカスエリアの中心位置を調整可能な操作部と、を備え、前記制御ユニットは、前記画像のコントラスト値を検出するコントラスト値検出手段と、該コントラスト値検出手段で検出される前記画像の前記コントラスト値が最大となる位置に、前記撮像素子移動手段によって前記撮像素子の位置を調整させ、前記フォーカスエリア内での前記コントラスト値に基づいて前記撮像素子の位置を調整する制御部と、を備え、前記制御ユニットの前記制御部は、前記操作部によって前記フォーカスエリアが指定された場合、前記コントラスト値が最大となった時の前記撮像素子の位置及び前記画像上における前記フォーカスエリアの前記中心位置を計測して、計測された前記撮像素子の位置及び前記画面上における前記フォーカスエリアの前記中心位置に基づいて、該フォーカスエリアの前記中心位置として指定された実際の三次元座標を算出可能であり、前記制御ユニットは、今回取得された前記画像と前回取得された前記画像とを比較して、各画像における輝度信号により今回取得された前記画像の前回取得された前記画像からの変化の有無を判定し、該画像が前後で変化していない場合には、さらに、前回取得された前記画像と前々回取得された前記画像とを比較して、各画像における輝度信号により前回取得された前記画像の前々回取得された前記画像からの変化の有無を判定し、前々回の該画像との比較では該画像が変化している場合に、前記撮像素子移動手段によって前記撮像素子の位置を前記フォーカス位置となるように調整させることを特徴としている。
In order to solve the above problems, the present invention proposes the following means.
An imaging apparatus according to the present invention includes an objective lens, an imaging element that is arranged coaxially with the optical axis of the objective lens, receives incident light collected by the objective lens, and repeatedly acquires images, and the imaging device The image sensor moving means for moving the element on the optical axis of the objective lens is compared with the image acquired this time with the image sensor and the image acquired last time. If not, a control unit that adjusts the position of the image sensor to the focus position by the image sensor moving means, and a focus area as a partial range in the image acquired by the image sensor in advance. set, and an adjustable operating section the position of the center of the focus area within the image, wherein the control unit includes a contrast value detecting means for detecting a contrast value of the image, the The position of the imaging element is adjusted by the imaging element moving means to a position where the contrast value of the image detected by the contrast value detecting means is maximized, and the imaging is performed based on the contrast value in the focus area. A control unit that adjusts the position of the element, and the control unit of the control unit has a position of the imaging element when the contrast value is maximized when the focus area is designated by the operation unit. And measuring the center position of the focus area on the image and designating it as the center position of the focus area based on the measured position of the image sensor and the center position of the focus area on the screen The calculated actual three-dimensional coordinates can be calculated, and the control unit The image is compared with the previously acquired image, and the presence or absence of a change from the previously acquired image of the image acquired this time is determined by the luminance signal in each image. If not, the image acquired last time is compared with the image acquired last time, and the presence or absence of a change from the image acquired last time according to the luminance signal in each image from the image acquired last time And when the image has changed in comparison with the previous image, the image pickup device moving means adjusts the position of the image pickup device to be the focus position . .

また、本発明は、対物レンズと、該対物レンズの光軸と同軸上で進退可能に配設され、該対物レンズで集光された入射光を受光して画像を繰り返し取得する撮像素子とを備える撮像装置のフォーカス調整方法であって、前記撮像素子で取得される前記画像の内の一部の範囲として予めフォーカスエリアを設定し、前記フォーカスエリアの中心位置を前記画像内で調整し、前記撮像素子で取得される前記画像の、前記フォーカスエリア内でのコントラスト値を検出し、前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較し、各画像における輝度信号により今回取得された前記画像の前回取得された前記画像からの変化の有無を判定し、該画像が前後で変化していない場合に、前記撮像素子を前記対物レンズの前記光軸上で移動させて、前記撮像素子の位置をフォーカス位置となるように調整し、前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較して、該画像が前後で変化していない場合には、さらに、前回取得された前記画像と前々回取得された前記画像とを比較して、各画像における輝度信号により前回取得された前記画像の前々回取得された前記画像からの変化の有無を判定し、前々回の該画像との比較では該画像が変化している場合に、前記フォーカスエリア内での前記コントラスト値に基づいて前記コントラスト値が最大となる位置を計測して、計測された前記撮像素子の位置及び前記画面上における前記フォーカスエリアの前記中心位置に基づいて、該フォーカスエリアの前記中心位置として指定された実際の三次元座標を算出し、前記撮像素子の位置を前記フォーカス位置となるように調整することにより、前記撮像素子の位置を調整することを特徴としている。 The present invention also includes an objective lens, and an imaging device that is arranged so as to be movable back and forth on the same axis as the optical axis of the objective lens, and that receives incident light collected by the objective lens and repeatedly acquires images. A focus adjustment method of an imaging apparatus comprising: a focus area is set in advance as a partial range of the image acquired by the imaging device; a center position of the focus area is adjusted in the image; A contrast value in the focus area of the image acquired by the image sensor is detected, the image acquired this time by the image sensor and the image acquired last time are compared, and a luminance signal in each image is used. determine the presence or absence of a change from the image obtained in the previous time this time the acquired image, if the image is not changed before and after, on the optical axis of the image pickup element and said objective lens So moved, adjusted to focus position a position of the imaging element, wherein by comparing the currently obtained the image and the image obtained in the previous time by the image pickup device, the image is not changed before and after If not, the image acquired last time is compared with the image acquired last time, and the presence or absence of a change from the image acquired last time according to the luminance signal in each image from the image acquired last time When the image has changed in comparison with the previous image, the position where the contrast value is maximized is measured based on the contrast value in the focus area. Actual three-dimensional coordinates designated as the center position of the focus area based on the position of the image sensor and the center position of the focus area on the screen Calculated, by adjusting the position of the imaging element so that the focus position, and wherein adjusting the position of the imaging element.

この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、制御ユニットによって、撮像素子移動手段を駆動させることで、撮像素子の位置を対物レンズの光軸上で移動させて、取得される画像のフォーカスを調整することができる。ここで、制御ユニットは、撮像素子の位置を調整するか否かについて、繰り返し取得される画像が、今回と前回とで変化しているか否かによって判断している。すなわち、観察したい被検体を探すため、あるいは、観察したい被検体との距離を調整するためなどで、被検体に対して対物レンズの相対的位置が変化している場合には、繰り返し取得される画像は前後で変化していて、制御ユニットは、この画像の変化に基づいて撮像素子の位置の調整を行わない。このため、観察者は、フォーカスが最適な状態とはなっていないものの、安定した状態で連続して映し出される画像をもとに、好適に観察したい被検体を探し、あるいは、対物レンズと被検体との距離を調整することができる。   According to the image pickup apparatus and the focus adjustment method of the image pickup apparatus according to the present invention, the position of the image pickup element is moved on the optical axis of the objective lens by driving the image pickup element moving unit by the control unit. The focus of the image can be adjusted. Here, the control unit determines whether or not to adjust the position of the image sensor based on whether or not the repeatedly acquired image has changed between the current time and the previous time. That is, when the relative position of the objective lens is changed with respect to the subject, for example, to search for the subject to be observed or to adjust the distance from the subject to be observed, the information is repeatedly acquired. The image changes before and after, and the control unit does not adjust the position of the image sensor based on the change in the image. For this reason, the observer searches for a subject to be suitably observed based on images continuously projected in a stable state although the focus is not in an optimal state, or the objective lens and the subject. And the distance can be adjusted.

一方、観察したい被検体が確認できた場合には、観察者は対物レンズを静止させることとなり、被検体に対する対物レンズの相対的位置は一定となる。この場合、繰り返し取得される画像は前後で変化せず、制御ユニットは、この画像の変化が無いことに基づいて撮像素子の位置をフォーカス位置となるように調整して、フォーカスが最適な状態となるようにすることができる。そして、被検体に対する対物レンズの相対的位置が変化しない限り、撮像素子の位置が変動してしまうことが無いので、観察者は、高解像度の画像で、好適に被検体を観察することができる。   On the other hand, when the subject to be observed can be confirmed, the observer stops the objective lens, and the relative position of the objective lens with respect to the subject is constant. In this case, the repeatedly acquired image does not change before and after, and the control unit adjusts the position of the image sensor to the focus position based on the fact that there is no change in the image, so that the focus is in the optimum state. Can be. Since the position of the image sensor does not fluctuate unless the relative position of the objective lens with respect to the subject changes, the observer can preferably observe the subject with a high-resolution image. .

さらに、この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、制御ユニットのコントラスト値検出手段によって、撮像素子で取得される画像のコントラスト値を検出することができる。ここで、被検体に対する対物レンズの相対的位置を一定とした場合、取得される画像のコントラスト値は、フォーカスが最適な状態となったときに最大となる。すなわち、制御ユニットの制御部によって撮像素子の位置をコントラスト値が最大となるように調整することで、撮像素子はフォーカス位置となり、フォーカスを最適な状態として画像を取得して、被検体を観察することができる。  Furthermore, according to the imaging apparatus and the focus adjustment method of the imaging apparatus according to the present invention, the contrast value detection unit of the control unit can detect the contrast value of the image acquired by the imaging element. Here, when the relative position of the objective lens with respect to the subject is constant, the contrast value of the acquired image becomes maximum when the focus is in an optimum state. That is, by adjusting the position of the image sensor so that the contrast value is maximized by the control unit of the control unit, the image sensor becomes the focus position, and an image is acquired with the focus in an optimum state to observe the subject. be able to.
さらに、この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、フォーカスが最適な状態であるか否かについて、取得される画像の内で、限られた範囲であるフォーカスエリア内のコントラスト値で評価することができる。このため、画像内で、特にフォーカスエリア内に映し出される被検体にフォーカスを合わせることができ、フォーカスエリア内の被検体を好適に観察することができる。  Furthermore, according to the imaging apparatus and the focus adjustment method of the imaging apparatus according to the present invention, the contrast in the focus area that is a limited range in the acquired image as to whether or not the focus is in an optimum state. Can be evaluated by value. For this reason, it is possible to focus on the subject displayed in the focus area in the image, and it is possible to preferably observe the subject in the focus area.

さらに、この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、操作部によってフォーカスエリアの中心位置を、画像として表示される被検体の内の特に観察したい位置に調整することができる。このため、特に指定したフォーカスエリア内の被検体を好適に観察することができる。  Furthermore, according to the imaging apparatus and the focus adjustment method of the imaging apparatus according to the present invention, the center position of the focus area can be adjusted to the position that is particularly desired to be observed in the subject displayed as an image by the operation unit. For this reason, it is possible to preferably observe the subject in the designated focus area.
さらに、この発明に係る撮像装置によれば、制御ユニットの制御部は、撮像素子の位置と、画像上におけるフォーカスエリアの中心位置を計測することができる。ここで、フォーカスエリア内においてフォーカスが合った状態である場合、撮像素子の位置及び画像上におけるフォーカスエリアの中心位置と、フォーカスエリアの中心位置として指定された実際の三次元座標とは、相関関係にある。このため、計測された撮像素子の位置、及び、画像上におけるフォーカスエリアの中心位置から、フォーカスエリアの中心位置の三次元座標を算出することができ、すなわち、フォーカスエリアの中心位置に映し出されている被検体上の特定部分の位置を測定することができる。  Furthermore, according to the imaging apparatus according to the present invention, the control unit of the control unit can measure the position of the imaging element and the center position of the focus area on the image. Here, when the focus is in the focus area, the position of the image sensor and the center position of the focus area on the image and the actual three-dimensional coordinates specified as the center position of the focus area are correlated. It is in. For this reason, the three-dimensional coordinates of the center position of the focus area can be calculated from the measured position of the image sensor and the center position of the focus area on the image, that is, the image is displayed at the center position of the focus area. The position of a specific part on the subject can be measured.

この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、制御ユニットは、繰り返し取得される画像が今回と前回とで変化していない場合はさらに、前回と前々回に取得された画像についても比較を行う。そして、前回の画像が前々回の画像と比較して変化している場合に撮像素子の位置の調整を行う。すなわち、被検体に対する対物レンズの相対的位置が変化していて、直前に相対的に静止した場合には、フォーカスが最適な状態となるように調整する一方、相対的に静止した状態が続いている場合には、不必要に撮像素子の位置を変化させてしまうことがなく、観察者は、より安定した画像によって被検体を観察することができる。   According to the imaging apparatus and the focus adjustment method of the imaging apparatus according to the present invention, the control unit can also perform the processing for the images acquired in the previous time and the previous time, when the repeatedly acquired images have not changed between the current time and the previous time. Make a comparison. Then, the position of the image sensor is adjusted when the previous image changes compared to the previous image. That is, when the relative position of the objective lens with respect to the subject has changed and is relatively stationary immediately before, the focus is adjusted to be in an optimum state, while the relatively stationary state continues. In this case, the position of the image sensor is not unnecessarily changed, and the observer can observe the subject with a more stable image.

また、上記の撮像装置において、前記制御ユニットは、前記画像の輝度を検出する輝度検出手段と、該輝度検出手段で検出される前記画像の前記輝度に相関性を有するかどうかに基づいて前記画像の変化の有無を判断して、前記撮像素子移動手段によって前記撮像素子の位置を調整する制御部とを備えることがより好ましいとされている。   In the imaging apparatus, the control unit may detect the image based on luminance detection means for detecting the luminance of the image and whether the luminance of the image detected by the luminance detection means is correlated. It is more preferable to include a control unit that determines the presence or absence of the change and adjusts the position of the image sensor by the image sensor moving means.

また、上記の撮像装置のフォーカス調整において、前記撮像素子で繰り返し取得される各前記画像の輝度を検出し、前記画像の前記輝度に相関性を有するかどうかに基づいて前記画像の変化の有無を判断して、前記撮像素子の位置を調整することがより好ましいとされている。   Further, in the focus adjustment of the imaging apparatus, the brightness of each image repeatedly acquired by the imaging device is detected, and whether or not the image has changed is determined based on whether or not the brightness of the image has a correlation. It is preferable to judge and adjust the position of the image sensor.

この発明に係る撮像装置及び撮像装置のフォーカス調整方法によれば、制御ユニットの輝度検出手段によって、撮像素子で取得される画像の輝度を検出することができる。ここで、被検体に対する対物レンズの相対的位置が変化すれば、取得される画像が変化することで、検出される輝度にも変化が生じる。このため、制御ユニットの制御部は、この輝度の相関性の有無に基づいて画像の変化の有無を定量的に判断して、撮像素子の位置の調整を開始することができる。   According to the imaging apparatus and the focus adjustment method of the imaging apparatus according to the present invention, the luminance of the image acquired by the imaging element can be detected by the luminance detection unit of the control unit. Here, if the relative position of the objective lens with respect to the subject changes, the detected image changes, and the detected luminance also changes. Therefore, the control unit of the control unit can quantitatively determine the presence / absence of an image change based on the presence / absence of the luminance correlation, and can start the adjustment of the position of the image sensor.

さらに、上記の撮像装置において、前記制御ユニットの前記制御部は、前記撮像素子の位置の前記対物レンズの主点からの離間距離L、及び、前記フォーカスエリアの前記中心位置の該画像の中心位置を原点とした前記画像上における二次元座標Mx、Myを計測して、前記対物レンズの前記主点を原点とする指定された前記フォーカスエリアの前記中心位置の前記三次元座標X、Y、Zを、<数1>、<数2>、及び、<数3>に示す計算式(但し、符号fは前記対物レンズの焦点距離)から算出可能であることがより好ましいとされている。   Furthermore, in the above-described imaging device, the control unit of the control unit is configured such that the distance L from the principal point of the objective lens at the position of the imaging element and the center position of the image at the center position of the focus area The two-dimensional coordinates Mx, My on the image with the origin as the origin are measured, and the three-dimensional coordinates X, Y, Z at the center position of the designated focus area with the principal point of the objective lens as the origin Is more preferably calculated from the formulas shown in <Equation 1>, <Equation 2>, and <Equation 3> (where the symbol f is the focal length of the objective lens).

Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282

この発明に係る撮像装置によれば、上記の<数1>、<数2>、及び、<数3>によって、フォーカスエリアの中心位置に映し出されている被検体上の特定部分の位置を測定することができる。   According to the imaging apparatus according to the present invention, the position of a specific portion on the subject displayed at the center position of the focus area is measured by the above <Equation 1>, <Equation 2>, and <Equation 3>. can do.

また、上記の撮像装置において、前記操作部は、前記撮像素子で取得される前記画像内で、前記フォーカスエリアの前記中心位置を複数指定可能であり、前記制御ユニットの前記制御部は、算出された各前記フォーカスエリアの前記中心位置の前記三次元座標に基づいて、各該フォーカスエリアの前記中心位置の間の実際の点間距離を算出可能であることがより好ましいとされている。   In the imaging apparatus, the operation unit can specify a plurality of the center positions of the focus area in the image acquired by the imaging device, and the control unit of the control unit is calculated. Further, it is more preferable that an actual point-to-point distance between the center positions of the focus areas can be calculated based on the three-dimensional coordinates of the center positions of the focus areas.

この発明に係る撮像装置によれば、操作部によって複数のフォーカスエリアの中心位置を指定可能であることで、指定された複数のフォーカスエリアの各々について中心位置の実際の三次元座標を算出することができる。このため、画像に映し出される被検体で、フォーカスエリアの中心位置として任意に指定された複数点間の実距離を測定することができる。   According to the imaging apparatus of the present invention, the center position of the plurality of focus areas can be designated by the operation unit, and the actual three-dimensional coordinates of the center position are calculated for each of the designated plurality of focus areas. Can do. Therefore, the actual distance between a plurality of points arbitrarily designated as the center position of the focus area can be measured on the subject displayed in the image.

また、上記の撮像装置において、前記撮像素子移動手段は、前記対物レンズの前記光軸と同軸上で進退可能に設けられ、先端に前記撮像素子が配設された軸体と、該軸体の基端側外周に配設された筒体とを備え、前記軸体と前記筒体とのいずれか一方が前記対物レンズの前記光軸と略平行な磁界を形成する永久磁石であるとともに、前記軸体と前記筒体との他方が前記対物レンズの前記光軸と略平行な磁界を形成可能な電磁石であることがより好ましいとされている。   In the above imaging apparatus, the imaging element moving means is provided so as to be able to advance and retreat on the same axis as the optical axis of the objective lens, and a shaft body in which the imaging element is disposed at a tip, and the shaft body A cylindrical body disposed on the outer periphery of the proximal end, and either one of the shaft body and the cylindrical body is a permanent magnet that forms a magnetic field substantially parallel to the optical axis of the objective lens, and More preferably, the other of the shaft body and the cylindrical body is an electromagnet capable of forming a magnetic field substantially parallel to the optical axis of the objective lens.

この発明に係る撮像装置によれば、軸体と筒体との一方を永久磁石とし、他方を電磁石として、電磁石に交流電圧を印加した場合には、電磁石には、絶対値の等しい電圧が正負交互に対称に印加されるため、軸体の基端が筒体の内部において中間位置に位置するようにして軸体は静止する。また、交流電圧に、正の値の直流電圧を重畳的に印加した場合には、電磁石には、正負で絶対値の異なる電圧が交互に非対称に印加されるため、永久磁石の磁界の向きと直流電圧の大きさに応じて、軸体の基端は、筒体の中間位置よりも一方に偏った位置に移動する。また、交流電圧に、負の値の直流電圧を重畳的に印加した場合には、軸体の基端は、逆に、筒体の中間位置よりも他方に偏った位置に移動する。すなわち、撮像素子移動手段の電磁石に、交流電圧とともに重畳的に印加される直流電圧の大きさを変化させることで、軸体の先端の配設された撮像素子の位置を、対物レンズの光軸上で調整することができる。   According to the imaging device of the present invention, when an AC voltage is applied to the electromagnet with one of the shaft body and the cylindrical body as a permanent magnet and the other as an electromagnet, a voltage having an equal absolute value is applied to the electromagnet. Since they are alternately applied symmetrically, the shaft body is stationary so that the base end of the shaft body is located at an intermediate position inside the cylinder. In addition, when a positive DC voltage is applied to the AC voltage in a superimposed manner, positive and negative voltages with different absolute values are alternately applied to the electromagnet in an asymmetrical manner. In accordance with the magnitude of the DC voltage, the base end of the shaft body moves to a position biased to one side rather than the intermediate position of the cylinder body. In addition, when a negative DC voltage is applied to the AC voltage in a superimposed manner, the base end of the shaft body moves to a position that is biased to the other side of the intermediate position of the cylinder. That is, by changing the magnitude of the DC voltage applied to the electromagnet of the image sensor moving means in a superimposed manner together with the AC voltage, the position of the image sensor disposed at the tip of the shaft body is changed to the optical axis of the objective lens. Can be adjusted above.

さらに、上記の撮像装置において、前記制御ユニットは、前記電磁石に、交流電圧と、大きさを可変とする直流電圧とを重畳的に印加可能な電圧印加手段を備えることがより好ましいとされている。   Furthermore, in the above-described imaging device, it is more preferable that the control unit includes a voltage applying unit capable of applying an alternating voltage and a direct-current voltage whose magnitude is variable to the electromagnet in a superimposed manner. .

この発明に係る撮像装置によれば、制御ユニットの電圧印加手段によって撮像素子移動手段の電磁石に交流電圧とともに重畳的に印加される直流電圧の大きさを変化させることで、撮像素子移動手段の軸体の先端の配設された撮像素子の位置を、対物レンズの光軸上で調整することができる。   According to the imaging apparatus of the present invention, the voltage application means of the control unit changes the magnitude of the DC voltage applied in a superimposed manner together with the AC voltage to the electromagnet of the imaging element moving means, thereby changing the axis of the imaging element moving means. The position of the image sensor provided at the tip of the body can be adjusted on the optical axis of the objective lens.

また、本発明の内視鏡装置は、上記の撮像装置と、先端側に該撮像装置の前記対物レンズが設けられ、被検体に挿入可能な挿入部とを備えることを特徴としている。
この発明に係る内視鏡装置によれば、挿入部を被検体の内部に挿入させていく場合には、撮像装置の制御ユニットによって、フォーカスは最適な状態とはならないものの安定した状態とすることができる。このため、取得される画像によって被検体を好適に確認しながら、観察する位置まで挿入部を挿入させていくことができる。一方、挿入部の挿入を静止して被検体の観察を行う場合には、撮像装置の制御ユニットが撮像素子の位置を調整して、フォーカスを最適な状態にすることができ、取得される高解像度の画像によって、好適に被検体を観察することができる。
In addition, an endoscope apparatus according to the present invention includes the above-described imaging device, and an insertion portion in which the objective lens of the imaging device is provided on a distal end side and can be inserted into a subject.
According to the endoscope apparatus according to the present invention, when the insertion portion is inserted into the subject, the focus is not optimized but is stabilized by the control unit of the imaging apparatus. Can do. For this reason, it is possible to insert the insertion portion to the observation position while suitably confirming the subject by the acquired image. On the other hand, when observing the subject with the insertion portion inserted stationary, the control unit of the imaging apparatus can adjust the position of the imaging device to achieve the optimum focus, and the acquired high The subject can be preferably observed by the resolution image.

本発明の撮像装置によれば、撮像素子移動手段と制御ユニットとを備えることで、通常は、フォーカスを略一定の状態として画像を出力する一方、被検体を観察する場合には、出力される画像のフォーカスが最適な状態となるように自動的に調整して、高解像度の画像で被検体を観察することができる。
また、本発明の撮像装置のフォーカス調整方法によれば、通常は、フォーカスを略一定の状態として画像を映し出し、被検体を観察する時に、画像のフォーカスが最適な状態となるように調整して、高解像度の画像で被検体を観察することができる。
また、本発明の内視鏡装置によれば、上記の撮像装置を備えることで、被検体の内部に挿入し、好適に被検体の観察を行うことができる。
According to the image pickup apparatus of the present invention, the image pickup device moving means and the control unit are provided, so that the image is normally output with the focus being in a substantially constant state, while being output when the subject is observed. The subject can be observed with a high-resolution image by automatically adjusting the focus of the image to an optimum state.
In addition, according to the focus adjustment method of the imaging apparatus of the present invention, the image is usually projected with the focus substantially constant, and the image is adjusted so that the focus of the image is optimal when the subject is observed. The object can be observed with a high-resolution image.
In addition, according to the endoscope apparatus of the present invention, by including the above-described imaging apparatus, it can be inserted into the subject and the subject can be preferably observed.

以下、本発明の実施形態における内視鏡装置について、図面を参照して説明する。図1〜図5は、本発明の実施形態としての内視鏡装置1を示したものである。図1に示すように、内視鏡装置1は、被検体を観察するために狭窄部などに挿入される挿入部2と、挿入部2の基端に設けられた操作部3と、挿入部2の先端側に位置する被検体を撮影する撮像装置10とを備える。挿入部2は、先端側から基端側へ順に、硬質の先端部4と、湾曲自在な湾曲部5と、可撓性を有する可撓管部6とを備える。可撓管部6は、狭窄部などに挿入した際に、その形状に応じて湾曲することが可能であり、これにより観察しようとする被検体まで容易に挿入することを可能としている。また、操作部3、可撓管部6、及び、湾曲部5の内部には、図示しない湾曲機構が内蔵されており、操作部3に設けられたツマミ3aの操作によって、湾曲部5を自在に湾曲させることが可能である。   Hereinafter, an endoscope apparatus according to an embodiment of the present invention will be described with reference to the drawings. 1 to 5 show an endoscope apparatus 1 as an embodiment of the present invention. As shown in FIG. 1, an endoscope apparatus 1 includes an insertion part 2 that is inserted into a stenosis part or the like for observing a subject, an operation part 3 provided at the proximal end of the insertion part 2, and an insertion part. 2 and an imaging device 10 that images a subject located on the distal end side. The insertion portion 2 includes a hard distal end portion 4, a bendable bending portion 5, and a flexible flexible tube portion 6 in order from the distal end side to the proximal end side. When the flexible tube portion 6 is inserted into a narrowed portion or the like, the flexible tube portion 6 can be bent in accordance with the shape thereof, thereby enabling easy insertion of a subject to be observed. In addition, a bending mechanism (not shown) is built in the operation unit 3, the flexible tube unit 6, and the bending unit 5, and the bending unit 5 can be freely operated by operating the knob 3 a provided in the operation unit 3. Can be curved.

図2から図4に示すように、撮像装置10は、挿入部2の先端部4の先端面に設けられた対物レンズ11及び照明手段であるLED12と、先端部4の内部において対物レンズ11の光軸L11と同軸上に配設された撮像素子13と、撮像素子13で取得した画像を出力するモニタ14と、制御ユニット15とを備える。制御ユニット15は、各種制御を行うものであり、図1に示すように、ケーブル15aによって操作部3と接続されている。なお、制御ユニット15の詳細については、後述する。また、撮像素子13は、例えばCCDであり、LED12によって被検体を照明し、反射して対物レンズ11で集光された入射光を受光面13aで受光して、映像信号となる光電変換出力POを制御ユニット15に出力可能なものである。   As shown in FIGS. 2 to 4, the imaging apparatus 10 includes an objective lens 11 provided on the distal end surface of the distal end portion 4 of the insertion portion 2, an LED 12 that is an illumination unit, and an objective lens 11 inside the distal end portion 4. An image sensor 13 disposed coaxially with the optical axis L11, a monitor 14 for outputting an image acquired by the image sensor 13, and a control unit 15 are provided. The control unit 15 performs various controls and is connected to the operation unit 3 by a cable 15a as shown in FIG. Details of the control unit 15 will be described later. The imaging device 13 is a CCD, for example, and illuminates the subject with the LED 12, receives the incident light reflected and collected by the objective lens 11 at the light receiving surface 13a, and outputs a photoelectric conversion output PO that becomes a video signal. Can be output to the control unit 15.

また、撮像装置10は、撮像素子13を対物レンズ11の光軸L11上で移動させる撮像素子移動手段16を備えている。撮像素子移動手段16は、より詳しくは、図4及び図5に示すように、先端部4の内部において、光軸L11と同軸上に配設された軸体17と、軸体17の基端17a側外周を覆う筒体18とを備えている。軸体17の先端17bには、固定板19が固定されていて、その先端面19aに撮像素子13が固定されている。先端部4の内周面において固定板19と対応する位置には、光軸L11と略平行にガイド20が延設されていて、固定板19を進退可能に固定している。このため、軸体17及び撮像素子13は、ガイド20によって、光軸L11上で進退することが可能である。また、軸体17の外周面には、コイル21が巻き回されていて、電流を供給することで、光軸L11方向に磁界を発生させる電磁石となることが可能である。一方、筒体18は、光軸L11方向に磁界を発生させることが可能な永久磁石であり、例えば、先端18aをN極、基端18bをS極として、先端部4の内周面に固定されている。そして、後述する制御ユニット15の電磁石駆動回路27によってコイル21に所定の電圧を印加することで、電磁石となる軸体17の磁界と永久磁石である筒体18の磁界との相互作用によって、軸体17を光軸L11に沿った所定位置に移動させることが可能であり、これにより撮像素子13の光軸L11上での位置を調整可能である。次に、制御ユニット15について説明する。   Further, the imaging apparatus 10 includes an imaging element moving unit 16 that moves the imaging element 13 on the optical axis L11 of the objective lens 11. More specifically, as shown in FIGS. 4 and 5, the imaging element moving unit 16 includes a shaft body 17 disposed coaxially with the optical axis L <b> 11 inside the distal end portion 4, and a proximal end of the shaft body 17. And a cylindrical body 18 covering the outer periphery of the 17a side. A fixing plate 19 is fixed to the tip 17b of the shaft body 17, and the image sensor 13 is fixed to the tip surface 19a. A guide 20 extends substantially parallel to the optical axis L11 at a position corresponding to the fixed plate 19 on the inner peripheral surface of the distal end portion 4, and fixes the fixed plate 19 so as to be able to advance and retreat. For this reason, the shaft body 17 and the image sensor 13 can be advanced and retracted on the optical axis L11 by the guide 20. In addition, the coil 21 is wound around the outer peripheral surface of the shaft body 17, and by supplying a current, an electromagnet that generates a magnetic field in the direction of the optical axis L11 can be obtained. On the other hand, the cylindrical body 18 is a permanent magnet capable of generating a magnetic field in the direction of the optical axis L11. For example, the cylindrical body 18 is fixed to the inner peripheral surface of the distal end portion 4 with the distal end 18a as the N pole and the proximal end 18b as the S pole. Has been. Then, by applying a predetermined voltage to the coil 21 by an electromagnet drive circuit 27 of the control unit 15 to be described later, a shaft is generated by the interaction between the magnetic field of the shaft body 17 serving as an electromagnet and the magnetic field of the cylinder body 18 serving as a permanent magnet. The body 17 can be moved to a predetermined position along the optical axis L11, whereby the position of the image sensor 13 on the optical axis L11 can be adjusted. Next, the control unit 15 will be described.

図2に示すように、制御ユニット15は、制御部であるCPU22と、電源回路23と、撮像素子駆動回路24と、映像信号処理回路25と、コントラスト値検出手段26と、電圧印加手段である電磁石駆動回路27と、ROM28と、RAM29とを備える。以下に各構成の詳細について説明する。電源回路23は、LED12に給電してLED12を発光させることが可能であるとともに、制御ユニット15の他の各構成部分にも電力を供給し、駆動させるものである。撮像素子駆動回路24は、撮像素子13が駆動するのに必要とする駆動信号DSを出力し、撮像素子13を駆動させることが可能である。また、撮像素子駆動回路24は、駆動信号DSを出力するのと同時に、ピクセルクロック信号CK、水平同期信号HD、垂直同期信号VDを出力し、それぞれをCPU22及び映像信号処理回路25に送信することが可能であるとともに、ピクセルクロック信号CKについては、後述する二つのAD変換器30、33にも送信することが可能である。   As shown in FIG. 2, the control unit 15 is a CPU 22 that is a control unit, a power supply circuit 23, an image sensor driving circuit 24, a video signal processing circuit 25, a contrast value detection unit 26, and a voltage application unit. An electromagnet driving circuit 27, a ROM 28, and a RAM 29 are provided. Details of each component will be described below. The power supply circuit 23 can supply power to the LED 12 to cause the LED 12 to emit light, and also supplies power to other components of the control unit 15 to drive it. The image sensor driving circuit 24 can output a drive signal DS necessary for driving the image sensor 13 to drive the image sensor 13. The image sensor driving circuit 24 outputs the pixel clock signal CK, the horizontal synchronizing signal HD, and the vertical synchronizing signal VD simultaneously with outputting the driving signal DS, and transmits them to the CPU 22 and the video signal processing circuit 25, respectively. The pixel clock signal CK can also be transmitted to two AD converters 30 and 33 described later.

また、映像信号処理回路25は、撮像素子13と接続されていて、撮像素子13から入力される画素ごとの信号である光電変換出力POを、一般的なNTSC信号等のビデオ信号VSとして出力することが可能である。出力されたビデオ信号VSは、後述するフォーカスエリアオーバーレイ回路38を経由してモニタ14に入力され、観察者は、モニタ14に連続して表示される画像によって、被検体を観察することができる。また、映像信号処理回路25は、輝度検出手段として、撮像素子13から入力された光電変換出力POに基づいて、ビデオ信号VSの内の輝度部分のみに相当する輝度信号BSを出力することが可能である。出力された輝度信号BSは、AD変換器30に入力されてAD変換され、CPU22に入力されるとともに、コントラスト値検出手段26にも入力されている。   The video signal processing circuit 25 is connected to the image sensor 13 and outputs a photoelectric conversion output PO that is a signal for each pixel input from the image sensor 13 as a video signal VS such as a general NTSC signal. It is possible. The output video signal VS is input to the monitor 14 via a focus area overlay circuit 38, which will be described later, and the observer can observe the subject using images continuously displayed on the monitor 14. Further, the video signal processing circuit 25 can output a luminance signal BS corresponding to only the luminance portion of the video signal VS based on the photoelectric conversion output PO input from the image sensor 13 as luminance detection means. It is. The output luminance signal BS is input to the AD converter 30, is AD converted, is input to the CPU 22, and is also input to the contrast value detection means 26.

コントラスト値検出手段26は、ハイパスフィルター(HPF)31と、検波回路32とを備えている。ハイパスフィルター31は、映像信号処理回路25と接続されていて、出力された輝度信号BSの内の高周波成分を通過させるもので、例えば、1MHz以上の周波数成分のみを通過させる。また、検波回路32は、ハイパスフィルター31から出力された輝度信号BSの高周波成分の波形について、プラス側の包絡線を示す出力信号であるコントラスト信号CSを出力することができる。図6は、フォーカスが合った状態において、映像信号処理回路25から出力された1H期間(画面の水平線1本に相当する期間)における輝度信号BSの例を示している。図6に示すように、フォーカスが合っている状態での輝度信号BSは、急峻な変化を示す。また、図7は、図6に示す輝度信号BSをハイパスフィルター31で処理した出力を示している。さらに、図8は、図7に示すハイパスフィルター31の出力を検波回路32で処理したコントラスト信号CSを示している。   The contrast value detection means 26 includes a high pass filter (HPF) 31 and a detection circuit 32. The high-pass filter 31 is connected to the video signal processing circuit 25 and passes a high-frequency component in the output luminance signal BS. For example, only the frequency component of 1 MHz or higher is passed. In addition, the detection circuit 32 can output a contrast signal CS that is an output signal indicating a positive envelope for the waveform of the high-frequency component of the luminance signal BS output from the high-pass filter 31. FIG. 6 shows an example of the luminance signal BS in the 1H period (a period corresponding to one horizontal line on the screen) output from the video signal processing circuit 25 in a focused state. As shown in FIG. 6, the luminance signal BS in a focused state shows a sharp change. FIG. 7 shows an output obtained by processing the luminance signal BS shown in FIG. Further, FIG. 8 shows a contrast signal CS obtained by processing the output of the high pass filter 31 shown in FIG.

一方、図9はフォーカスが合っていない状態における輝度信号BSの例を、図10は図9と対応するハイパスフィルター31の出力を、図11は図10と対応するコントラスト信号CSを示している。図9に示すように、フォーカスが合っていない状態では画像がぼやけているため、輝度信号はゆるやかな変化を示す。ここで、フォーカスが合った状態においては取得される画像のコントラストは高くなり、すなわち、図8に示すように、検波回路32から出力されるコントラスト信号CSの振幅は大きくなる。一方、フォーカスが合ってない状態においては取得される画像のコントラストは小さくなり、すなわち、図11に示すように図8と比較してコントラスト信号CSの振幅は相対的に小さくなる。このようなコントラスト信号CSはAD変換器33でAD変換されてCPU22に入力され、CPU22では、このAD変換されたコントラスト信号CSについて、1フィールド毎に、モニタ14に出力される画像内に設定されたフォーカスエリアFA内で加算して平均したものをコントラスト値として算出することができ、コントラスト値に基づいてフォーカスエリアFA内のコントラストの高低、すなわち、フォーカスが最適な状態であるかどうかについて評価することができる。   On the other hand, FIG. 9 shows an example of the luminance signal BS in an out-of-focus state, FIG. 10 shows the output of the high-pass filter 31 corresponding to FIG. 9, and FIG. 11 shows the contrast signal CS corresponding to FIG. As shown in FIG. 9, since the image is blurred in the out-of-focus state, the luminance signal shows a gradual change. Here, in the focused state, the contrast of the acquired image is high, that is, as shown in FIG. 8, the amplitude of the contrast signal CS output from the detection circuit 32 is large. On the other hand, in a state where the focus is not achieved, the contrast of the acquired image is small, that is, as shown in FIG. 11, the amplitude of the contrast signal CS is relatively small compared to FIG. Such a contrast signal CS is AD-converted by the AD converter 33 and input to the CPU 22. The CPU 22 sets the AD-converted contrast signal CS in the image output to the monitor 14 for each field. It is possible to calculate an average obtained by adding the values in the focus area FA as a contrast value, and evaluate whether the contrast in the focus area FA is high, that is, whether the focus is in an optimum state based on the contrast value. be able to.

また、CPU22には、バス34を介して操作インターフェース35が接続されていて、操作インターフェース35には操作部であるジョイスティック36が接続されている。そして、図12に示すように、ジョイスティック36の操作によって、モニタ14に出力される画像P内において、フォーカスエリアFAの中心位置FA1を自在に調整することができる。ジョイスティック36による操作は、フォーカスエリアFAの中心位置FA1の位置情報としてCPU22に入力されるとともに、操作インターフェース35に接続されたフォーカスエリアオーバーレイ回路38に入力され、ビデオ信号VSによる画像Pとともにモニタ14で表示される。このため、観察者は、ジョイスティック36によって、モニタ14を確認しながら画像上のフォーカスエリアFAの位置を調整することができる。   An operation interface 35 is connected to the CPU 22 via a bus 34, and a joystick 36 that is an operation unit is connected to the operation interface 35. As shown in FIG. 12, the center position FA1 of the focus area FA can be freely adjusted in the image P output to the monitor 14 by operating the joystick 36. The operation with the joystick 36 is input to the CPU 22 as position information of the center position FA1 of the focus area FA, and is also input to the focus area overlay circuit 38 connected to the operation interface 35, on the monitor 14 together with the image P by the video signal VS. Is displayed. For this reason, the observer can adjust the position of the focus area FA on the image while checking the monitor 14 with the joystick 36.

また、CPU22には、バス34を介してROM28及びRAM29が接続されている。ROM28には、後述するオートフォーカス、並びに、被検体の位置及び距離測定を行うためのプログラムが書き込まれている。また、RAM29には、バッファ領域、輝度信号データ、コントラスト値データが定義されていて、CPU22から輝度信号、及び、コントラスト値が入力されて随時書き込みが行われている。また、CPU22は、輝度信号及びコントラスト値に基づいて、画像の変化の有無を判断し、その判断結果に基づいて電磁石駆動回路27を駆動させて、撮像素子13の位置の調整を行う。なお、CPU22による判断及び制御方法の詳細については後述する。   In addition, a ROM 28 and a RAM 29 are connected to the CPU 22 via a bus 34. The ROM 28 is written with a program for performing autofocus, which will be described later, and measuring the position and distance of the subject. The RAM 29 defines a buffer area, luminance signal data, and contrast value data. The luminance signal and contrast value are input from the CPU 22 and are written as needed. Further, the CPU 22 determines the presence / absence of an image change based on the luminance signal and the contrast value, and drives the electromagnet drive circuit 27 based on the determination result to adjust the position of the image sensor 13. Details of the determination and control method by the CPU 22 will be described later.

電圧印加手段である電磁石駆動回路27は、撮像素子移動手段16のコイル21に、交流電圧と、大きさを可変とする直流電圧とを重畳的に印加可能なものである。CPU22が上記判断結果に基づいて出力するデジタル信号は、DA変換器37によってDA変換され、電磁石駆動回路27は、このDA変換された信号に基づいて設定された大きさの直流電圧を、所定の周波数及び振幅である交流電圧に重畳させてコイル21に印加する。なお、交流電圧としては、例えば、100kHz程度の周波数のものが印加されている。そして、直流電圧を0Vとした場合、電磁石駆動回路27によって印加される電圧は交流電圧のみとなり、図13に示すように、コイル21に流れる電流は正負対称な正弦波電流となる。このため、コイル21に電流が流れることによって発生する磁界は、大きさを等しくして、その向きを交互に逆転するものとなり、永久磁石である筒体18による磁界との相互作用により、軸体17には、交流電流と同期して光軸L11に沿って向きを交互に逆転させた力が作用することになる。このため、図4に示すように、軸体17は、基端17aが筒体18の中間位置となる位置で、交互に逆転して作用する力が釣り合って静止した状態となる。   The electromagnet drive circuit 27 which is a voltage application means can apply an alternating voltage and a direct current voltage whose magnitude is variable to the coil 21 of the image sensor moving means 16 in a superimposed manner. The digital signal output by the CPU 22 based on the determination result is DA-converted by the DA converter 37, and the electromagnet driving circuit 27 applies a DC voltage having a magnitude set based on the DA-converted signal to a predetermined value. The voltage is applied to the coil 21 while being superimposed on an AC voltage having an amplitude and amplitude. For example, an alternating voltage having a frequency of about 100 kHz is applied. When the DC voltage is set to 0 V, the voltage applied by the electromagnet driving circuit 27 is only an AC voltage, and the current flowing through the coil 21 is a sine wave current that is symmetrical with respect to the positive and negative as shown in FIG. For this reason, the magnetic field generated by the current flowing through the coil 21 has the same magnitude and reverses the direction alternately. The shaft body is caused by the interaction with the magnetic field by the cylindrical body 18 which is a permanent magnet. The force having the direction alternately reversed along the optical axis L11 is applied to 17 in synchronization with the alternating current. For this reason, as shown in FIG. 4, the shaft body 17 is in a stationary state in which the forces acting alternately in reverse are balanced at a position where the base end 17 a is an intermediate position of the cylindrical body 18.

一方、例えば、直流電圧を正の値で所定の大きさとした場合、電磁石駆動回路27によって印加される電圧は交流電圧に直流電圧が重畳されたものとなる。すなわち、図14に示すように、コイル21に流れる電流は、交流電流を、直流電圧と対応する電流値であるバイアス値+Aだけシフトしたものとなり、正の電流は、負の電流に比べて、電流の絶対値が大きくなり、また、流れている時間が長くなる。このため、図15に示すように、コイル21に正の電流を流した場合における軸体17の基端17aの極性をN極とすれば、筒体18の中間位置に位置する軸体17の基端17aには、筒体18の先端18a側へ向く力よりも基端18b側へ向く力の方が大きく作用し、これにより軸体17は、基端17aが筒体18の中間位置よりも基端18b側に近づいた位置で釣り合って静止した状態となる。また、図16に示すようにバイアス値を−Aとした場合、逆に、軸体17には、筒体18の先端18a側へ向く力が大きく作用し、これにより図17に示すように、軸体17は、基端17aが筒体18の中間位置よりも先端18a側に近づいた位置で釣り合って静止した状態となる。なお、各々の状態において、軸体17に作用する力の向きは交流電流の周期に応じて交互に逆転するが、交流電流の周期は例えば100kHzの高周波であることから、力の向きの変化によって軸体17がガイド20に沿って機械的に振動してしまうことは無く、このため、撮像素子13を所定の位置で静止した状態に保つことができる。   On the other hand, for example, when the DC voltage has a positive value and a predetermined magnitude, the voltage applied by the electromagnet drive circuit 27 is obtained by superimposing the DC voltage on the AC voltage. That is, as shown in FIG. 14, the current flowing through the coil 21 is obtained by shifting the alternating current by a bias value + A that is a current value corresponding to the direct current voltage, and the positive current is compared with the negative current, The absolute value of the current increases, and the flowing time increases. For this reason, as shown in FIG. 15, if the polarity of the base end 17 a of the shaft body 17 when a positive current is passed through the coil 21 is an N pole, the shaft body 17 positioned at the intermediate position of the cylinder body 18 A force directed toward the base end 18 b is more exerted on the base end 17 a than a force directed toward the distal end 18 a of the cylindrical body 18, so that the shaft body 17 has a base end 17 a that is located at an intermediate position of the cylindrical body 18. Also, the balance is brought into a stationary state at a position approaching the base end 18b. Further, when the bias value is set to −A as shown in FIG. 16, conversely, a large force is exerted on the shaft body 17 toward the tip end 18 a side of the cylindrical body 18, and as a result, as shown in FIG. 17, The shaft body 17 is balanced and stationary at a position where the base end 17a is closer to the distal end 18a side than the intermediate position of the cylindrical body 18. In each state, the direction of the force acting on the shaft body 17 is alternately reversed according to the period of the alternating current. However, since the period of the alternating current is, for example, a high frequency of 100 kHz, The shaft body 17 is not mechanically vibrated along the guide 20, so that the image sensor 13 can be kept stationary at a predetermined position.

図18は、軸体17の基端17aの位置とバイアス値との関係を示している。なお、図18において、バイアス値A1〜A5、及び、撮像素子の位置B1〜B5は、後述するフォーカス調整例における各バイアス値及び対応する各撮像素子の位置を示している。図18に示すように、バイアス値を変化させることで、その符号及び大きさにより、軸体17の基端17aの位置、すなわち撮像素子13の位置を制御することが可能である。一方、バイアス値の絶対値を一定以上大きくすると、交流電流の振幅、筒体18が配設された光軸L11方向の範囲によって、撮像素子13の位置は変化しなくなる。   FIG. 18 shows the relationship between the position of the base end 17a of the shaft body 17 and the bias value. In FIG. 18, bias values A1 to A5 and image sensor positions B1 to B5 indicate bias values and corresponding image sensor positions in a focus adjustment example described later. As shown in FIG. 18, by changing the bias value, the position of the base end 17 a of the shaft body 17, that is, the position of the image sensor 13 can be controlled by the sign and size. On the other hand, when the absolute value of the bias value is increased beyond a certain level, the position of the image sensor 13 does not change depending on the amplitude of the alternating current and the range in the direction of the optical axis L11 where the cylindrical body 18 is disposed.

ここで、図19に示すように、本実施形態のように内視鏡装置1に使用される撮像装置10の対物レンズ11としては、対物レンズ11の主点11aから焦点11bまでの距離(以下、焦点距離f)が2mm程度のものが選択される。また、対物レンズ11の焦点距離fと、対物レンズ11の主点11aから撮像素子13の受光面13aまでの離間距離Lと、対物レンズ11の主点11aから被検体Sまでの光軸L11方向の距離Zとの間には、以下の<数4>に示す関係がある。   Here, as shown in FIG. 19, as the objective lens 11 of the imaging apparatus 10 used in the endoscope apparatus 1 as in the present embodiment, the distance from the principal point 11 a of the objective lens 11 to the focal point 11 b (hereinafter referred to as the objective lens 11). And a focal length f) of about 2 mm is selected. Further, the focal length f of the objective lens 11, the separation distance L from the principal point 11a of the objective lens 11 to the light receiving surface 13a of the image sensor 13, and the direction of the optical axis L11 from the principal point 11a of the objective lens 11 to the subject S There is a relationship shown in the following <Equation 4> between the distance Z and the distance Z.

Figure 0005036282
Figure 0005036282

内視鏡装置1は、挿入部2を空洞内などの狭窄部に挿入してその内部に位置する被検体Sを観察するものであるため、対物レンズ11の主点11aから観察対象となる被検体Sまでの距離Zとしては、5mmから500mm程度である。例えば、焦点距離f=2mmとして、被検体Sまでの距離Z=5mmならば、撮像素子13の離間距離は、L=3.333mmである。また、被検体Sまでの距離Z=500mmならば、撮像素子13の離間距離は、L=2.008mmである。すなわち、被検体Sに対して、撮像素子13の位置をフォーカスを合わせた状態であるフォーカス位置にするには、<数4>から、対物レンズ11の主点11aを基準としてL=2〜4mm程度とすれば良く、2mm程度の可動範囲で調整可能であれば良い。このため、筒体18の長さを、軸体17が2mm程度の範囲で可動可能な長さに設定すれば、バイアス値を指定して撮像素子13の位置をフォーカスの合った状態に調整することが可能である。   Since the endoscope apparatus 1 inserts the insertion portion 2 into a narrowed portion such as a cavity and observes the subject S located inside the stenosis portion, the endoscope device 1 is subject to observation from the principal point 11a of the objective lens 11. The distance Z to the specimen S is about 5 mm to 500 mm. For example, when the focal distance f = 2 mm and the distance Z to the subject S = 5 mm, the separation distance of the image sensor 13 is L = 3.333 mm. Further, if the distance Z to the subject S is 500 mm, the separation distance of the image sensor 13 is L = 2.008 mm. That is, in order to set the position of the imaging device 13 to the focus position in a focused state with respect to the subject S, L = 2 to 4 mm based on the principal point 11a of the objective lens 11 from <Equation 4>. What is necessary is just to be able to adjust in the movable range of about 2 mm. Therefore, if the length of the cylindrical body 18 is set to a length that allows the shaft body 17 to move within a range of about 2 mm, the bias value is designated and the position of the image sensor 13 is adjusted to be in focus. It is possible.

次に、CPU22による制御の詳細、並びに、撮像装置10及び内視鏡装置1の作用について説明する。図20及び図21は、CPU22による制御フローを示している。まず、図20に示すように、内視鏡装置1において、撮像装置10の電源をONにして(ステップS1)、挿入部2を先端から被検体に向かって挿入していく。この際、挿入部2の先端の対物レンズ11に入射する光によって、撮像素子13は受像し、光電変換出力POが映像信号処理回路25に入力されていく。そして、映像信号処理回路25から出力されるビデオ信号VSによって、モニタ14に画像が表示される。また、モニタ14に画像が表示されると同時に、そのビデオ信号VSと対応する輝度信号BSと、コントラスト信号CSとがCPU22に入力される(ステップS2)。この際、ピクセルクロック信号CK、水平同期信号HD、及び、垂直同期信号VDがCPU22にも入力されているので、CPU22に入力される輝度信号BS及びコントラスト信号CSは、繰り返し取得されるいずれの画像におけるどの位置の情報なのかが対応付けられている。そして、入力された画像1フィールド分の輝度信号BSと、入力されたコントラスト信号CSから算出されたコントラスト値とは、RAM29のバッファ領域に書き込まれていく(ステップS3)。   Next, details of control by the CPU 22 and operations of the imaging apparatus 10 and the endoscope apparatus 1 will be described. 20 and 21 show a control flow by the CPU 22. First, as shown in FIG. 20, in the endoscope apparatus 1, the imaging apparatus 10 is turned on (step S <b> 1), and the insertion unit 2 is inserted from the distal end toward the subject. At this time, the image sensor 13 receives an image by light incident on the objective lens 11 at the distal end of the insertion portion 2, and the photoelectric conversion output PO is input to the video signal processing circuit 25. Then, an image is displayed on the monitor 14 by the video signal VS output from the video signal processing circuit 25. At the same time as the image is displayed on the monitor 14, the luminance signal BS corresponding to the video signal VS and the contrast signal CS are input to the CPU 22 (step S2). At this time, since the pixel clock signal CK, the horizontal synchronization signal HD, and the vertical synchronization signal VD are also input to the CPU 22, the luminance signal BS and the contrast signal CS input to the CPU 22 are any images that are repeatedly acquired. It is associated with which position information in. Then, the input luminance signal BS for one field of the image and the contrast value calculated from the input contrast signal CS are written in the buffer area of the RAM 29 (step S3).

次に、CPU22は、前回のフィールドで取得した輝度信号BSをRAM29から抽出し、今回のフィールドで取得した輝度信号BSとの相関値を算出し(ステップS4)、算出された相関値によって今回のフィールドの輝度信号BSと前回のフィールドの輝度信号BSとに相関性があるかどうか判断する(ステップS5)。挿入部2を被検体に向かって挿入している間は、撮像素子13によって受像される画像は絶えず変化しているので、CPU22は、ステップS5において相関性が無いという判断を繰り返し行う。このため、画像が変化している限り、オートフォーカス動作を開始しない。すなわち、フォーカスが最適な状態となっていないまでも略一定の状態であることから、画像が変化してしまうことがなく、観察者は、モニタ14に表示される画像を好適に確認しながら、対物レンズ11が被検体に近い位置となるまで挿入部2を挿入していくことができる。   Next, the CPU 22 extracts the luminance signal BS acquired in the previous field from the RAM 29, calculates a correlation value with the luminance signal BS acquired in the current field (step S4), and calculates the current value based on the calculated correlation value. It is determined whether or not there is a correlation between the luminance signal BS of the field and the luminance signal BS of the previous field (step S5). While the insertion unit 2 is being inserted toward the subject, the image received by the image sensor 13 is constantly changing, so the CPU 22 repeatedly determines that there is no correlation in step S5. For this reason, as long as the image changes, the autofocus operation is not started. That is, since the focus is substantially constant even if it is not in an optimal state, the image does not change, and the observer preferably checks the image displayed on the monitor 14 while The insertion section 2 can be inserted until the objective lens 11 is close to the subject.

次に、例えば、モニタ14に表示される画像に被検体が確認された場合には、観察者が挿入部2の挿入を停止させることで、撮像素子13で受像される画像に変化が無くなる。このため、図20に示すステップS5において、CPU22は、ステップS4で算出された相関値に基づいて、今回のフィールドで取得された画像の輝度信号BSと、前回のフィールドで取得された画像の輝度信号BSとの間に相関性があると判断する。次に、CPU22は、さらに、RAM29から前々回のフィールドで取得した輝度信号BSを抽出して、前回のフィールドの輝度信号BSとの相関値を算出する(ステップS6)。そして、CPU22は、算出された相関値によって前回のフィールドの輝度信号BSと前々回のフィールドの輝度信号BSとに相関性があるかどうか判断する(ステップS7)。そして、相関性がないと判断した場合、例えば、直前に挿入部2の挿入が停止されて画像の変化が見られなくなった場合には、オートフォーカス動作が開始される(ステップS8)。このため、挿入部2の先端が停止した位置で、フォーカスが調整され、被検体を高解像度の画像で観察することができる。一方、相関性があると判断した場合、例えば、挿入部2の挿入が継続的に停止していて画像の変化が無い場合には、オートフォーカス動作は開始されずにステップS2からの動作を繰り返し行う。このため、挿入部2の挿入を停止させてモニタ14に表示されている画像によって被検体を観察している際に、不必要にオートフォーカス動作が開始されることで、画像の解像度が低下して観察しにくくなってしまうことを防ぐことができる。   Next, for example, when the subject is confirmed in the image displayed on the monitor 14, the observer stops the insertion of the insertion unit 2, so that the image received by the image sensor 13 is not changed. Therefore, in step S5 shown in FIG. 20, based on the correlation value calculated in step S4, the CPU 22 determines the luminance signal BS of the image acquired in the current field and the luminance of the image acquired in the previous field. It is determined that there is a correlation with the signal BS. Next, the CPU 22 further extracts the luminance signal BS acquired in the previous field from the RAM 29 and calculates a correlation value with the luminance signal BS of the previous field (step S6). Then, the CPU 22 determines whether or not there is a correlation between the luminance signal BS of the previous field and the luminance signal BS of the previous field based on the calculated correlation value (step S7). When it is determined that there is no correlation, for example, when the insertion of the insertion unit 2 is stopped immediately before the change in the image is not seen, the autofocus operation is started (step S8). For this reason, the focus is adjusted at the position where the distal end of the insertion portion 2 is stopped, and the subject can be observed with a high-resolution image. On the other hand, when it is determined that there is a correlation, for example, when the insertion of the insertion unit 2 is continuously stopped and there is no image change, the operation from step S2 is repeated without starting the autofocus operation. Do. For this reason, when the subject is observed with the image displayed on the monitor 14 after the insertion of the insertion unit 2 is stopped, the auto-focus operation is started unnecessarily, thereby reducing the resolution of the image. Can be prevented from becoming difficult to observe.

次に、オートフォーカス動作の詳細について説明する。すなわち、図20のステップS8においてCPU22がオートフォーカス動作を開始すると判断した場合、図21に示すように、CPU22は、バイアス値の増減量として、RAM29から、予め設定し記憶されている増減量−ΔA1を読み込む(ステップS9)。なお、この段階において、CPU22から出力されている信号に基づいて電磁石駆動回路27が撮像素子移動手段16のコイル21に流している電流値であるバイアス値がA1、バイアス値A1の時の撮像素子13の位置がB1、その時にCPU22に入力されるコントラスト信号CSによって算出されたフォーカスエリアFAにおけるコントラスト値が34であったとする。次に、CPU22は、現在のバイアス値A1に、ステップS9で読み込んだ増減量−ΔA1を加算し、その結果であるバイアス値A2となるように電磁石駆動回路27に信号を入力し、電磁石駆動回路27は、バイアス値A2でコイル21に電流を流す(ステップS10)。このため、図18に示すように、撮像素子13の位置は、バイアス値A2と対応した位置B2に移動する。撮像素子13による撮像は継続して行われ、CPU22には、撮像素子13が位置B2の移動した後のコントラスト信号CSが入力される(ステップS11)。そして、CPU22は、フォーカスエリア内のコントラスト値を算出し(ステップS12)、RAM29に書き込みを行う(ステップS13)。ここで、バイアス値A2(撮像素子13の位置B2)とした時のコントラスト値が25だったとする。   Next, details of the autofocus operation will be described. That is, when the CPU 22 determines in step S8 in FIG. 20 that the autofocus operation is started, as shown in FIG. 21, the CPU 22 sets the increase / decrease amount preset and stored from the RAM 29 as the increase / decrease amount of the bias value− ΔA1 is read (step S9). At this stage, the image pickup device when the bias value, which is the current value flowing through the coil 21 of the image pickup device moving means 16 by the electromagnet drive circuit 27 based on the signal output from the CPU 22, is A1 and the bias value A1. Assume that the position 13 is B1, and the contrast value in the focus area FA calculated by the contrast signal CS input to the CPU 22 at that time is 34. Next, the CPU 22 adds the increase / decrease amount −ΔA1 read in step S9 to the current bias value A1, and inputs a signal to the electromagnet driving circuit 27 so that the resulting bias value A2 is obtained. 27, a current is passed through the coil 21 with the bias value A2 (step S10). For this reason, as shown in FIG. 18, the position of the image sensor 13 moves to a position B2 corresponding to the bias value A2. Imaging by the image sensor 13 is continuously performed, and the contrast signal CS after the image sensor 13 has moved to the position B2 is input to the CPU 22 (step S11). Then, the CPU 22 calculates a contrast value in the focus area (step S12) and writes it in the RAM 29 (step S13). Here, it is assumed that the contrast value is 25 when the bias value is A2 (position B2 of the image sensor 13).

次に、CPU22は、今回算出されたコントラスト値が前回算出されたコントラスト値よりも大きいかどうか判断する(ステップS14)。今回算出されたコントラスト値が25である一方、前回算出されたコントラスト値が34であるため、コントラスト値が小さくなったとして、現在設定されている増減量−ΔA1を、符号を反転させるとともに絶対値の大きさを半分とした増減量+ΔA2に設定し(ステップ15)、再びステップS10からの動作を行う。そして、増減量+ΔA2を加算したバイアス値A3におけるコントラスト値が40であったとする。この結果からステップS14において、CPU22は、コントラスト値が大きくなったとして、次に、今回のコントラスト値と前回のコントラスト値との差分を算出する。そして、この差分が予め設定された境界値以下となっているか判断し、境界値以下となるまでステップ10からの動作を繰り返し行う。本実施形態において、例えば、境界値を2とする。   Next, the CPU 22 determines whether or not the contrast value calculated this time is larger than the contrast value calculated last time (step S14). Since the contrast value calculated this time is 25 and the contrast value calculated last time is 34, the contrast value is decreased, and the currently set increase / decrease amount −ΔA1 is inverted and the absolute value is reversed. The amount of increase / decrease is set to + A2 (step 15), and the operation from step S10 is performed again. Assume that the contrast value at the bias value A3 obtained by adding the increase / decrease amount + ΔA2 is 40. From this result, in step S14, the CPU 22 calculates the difference between the current contrast value and the previous contrast value, assuming that the contrast value has increased. Then, it is determined whether this difference is equal to or less than a preset boundary value, and the operations from step 10 are repeated until the difference is equal to or less than the boundary value. In this embodiment, for example, the boundary value is 2.

図18、図22及び図23は、オートフォーカス動作の結果の一例を示している。すなわち、上記のように、撮像素子13の位置がB1(バイアス値A1)の時のコントラスト値が34、撮像素子13の位置がB2(バイアス値A2)の時のコントラスト値が25、さらに、ステップ15を行って撮像素子13の位置B3(バイアス値A3)とした時のコントラスト値が40となっている。そして、コントラスト値の今回と前回との差分が、|40−25|=15で、境界値より大きいことから、同様の増減量Δ+A2を加算して、バイアス値をA4とする。このため、撮像素子13は、バイアス値A4と対応する位置をB4となり、その結果コントラスト値が34で再度前回のコントラスト値よりも小さい値を示すこととなる。   18, 22 and 23 show an example of the result of the autofocus operation. That is, as described above, the contrast value is 34 when the position of the image sensor 13 is B1 (bias value A1), the contrast value is 25 when the position of the image sensor 13 is B2 (bias value A2), and the steps The contrast value is 40 when 15 is performed to obtain the position B3 (bias value A3) of the image sensor 13. Since the difference between the current and previous contrast values is | 40−25 | = 15, which is larger than the boundary value, the same increase / decrease amount Δ + A2 is added to set the bias value to A4. For this reason, the image sensor 13 has a position corresponding to the bias value A4 as B4, and as a result, the contrast value is 34 and again shows a value smaller than the previous contrast value.

このため、再度ステップS15において、符号を反転するとともに絶対値の大きさを半分とした増減量に再設定し、これを加算したバイアス値A5となる。そして、撮像素子13はバイアス値A5と対応する位置B5に移動し、コントラスト値は41となる。前回のコントラスト値との差分は、|41−34|=7で、境界値である2よりまだ大きい。よってステップS16での判定はNOである。画像の1フィールドは60分の1秒のような短い時間であるから、ここまでの動作ではまだ1秒の時間は経過しておらず、ステップS18での判定はNOとなり、ステップS10に戻って同様の増減量Δ+A2を加算し、バイアス値A6とする。このため、撮像素子13はバイアス値A6に対応する位置B6となり、コントラスト値は40となる。コントラスト値との差分は、|40−41|=1となり、境界値である2以下を示す。このように、繰り返し撮像素子13の位置を変えてコントラスト値の比較を行うことで、計測されるコントラスト値が理論上の最大値と略等しくなり、すなわち、撮像素子13の位置を、フォーカスが最適な状態となるフォーカス位置に設定することができる。そして、今回のコントラスト値と前回のコントラスト値との差分が境界値以下であった場合には、ステップS16の判断に基づいて、フォーカスが最適の状態となったとして、オートフォーカス動作が完了となる(ステップS17)。   For this reason, in step S15 again, the sign is inverted and the absolute value is reset to an increase / decrease amount halved, and the bias value A5 is added. Then, the image sensor 13 moves to a position B5 corresponding to the bias value A5, and the contrast value is 41. The difference from the previous contrast value is | 41−34 | = 7, which is still larger than 2 which is the boundary value. Therefore, the determination in step S16 is NO. Since one field of the image is as short as 1 / 60th of a second, the time up to this point has not yet elapsed in one second, so the determination in step S18 is NO, and the process returns to step S10. A similar increase / decrease amount Δ + A2 is added to obtain a bias value A6. For this reason, the image sensor 13 is at a position B6 corresponding to the bias value A6, and the contrast value is 40. The difference from the contrast value is | 40−41 | = 1, indicating a boundary value of 2 or less. Thus, by repeatedly changing the position of the image sensor 13 and comparing the contrast values, the measured contrast value becomes substantially equal to the theoretical maximum value, that is, the position of the image sensor 13 is optimally focused. It is possible to set the focus position so as to achieve a correct state. If the difference between the current contrast value and the previous contrast value is less than or equal to the boundary value, the autofocus operation is completed assuming that the focus is in an optimum state based on the determination in step S16. (Step S17).

ここで、上記においては、バイアス値を変更する動作を5回行ったが、通常の場合、このような動作を数回から10回ほど繰り返すことでフォーカスを調整することができる。なお、上記において、コントラスト値を算出するのに1フィールド、撮像素子13を移動させるのに1フィールド、計2フィールドで1回の調整が行われたとし、また、モニタ14に映し出される画像は1秒間に60フィールドであったとする。この場合、1秒間に、最大30回の調整を行うことができ、確実に1秒以内にフォーカスを最適な状態にすることができる。   Here, in the above description, the operation for changing the bias value is performed five times. In a normal case, the focus can be adjusted by repeating such an operation several times to ten times. In the above description, it is assumed that one adjustment is performed in two fields, that is, one field for calculating the contrast value, one field for moving the image pickup device 13, and one image displayed on the monitor 14 is 1. Assume that there are 60 fields per second. In this case, a maximum of 30 adjustments can be performed per second, and the focus can be surely brought into an optimum state within one second.

また、本実施形態では、図21に示すステップS16において、今回のコントラスト値が境界値より大きいと判断した場合には、CPU22は、ステップS10に移行する前にオートフォーカス動作を開始してから1秒以上経過していないかの判断を行う(ステップS18)。そして、1秒以内である場合には、ステップS10に移行して、フォーカスの調整を再度行う。一方、1秒以上経過してしまった場合には、ステップS17に移行して強制的にオートフォーカス動作を完了させる。このため、オートフォーカス動作開始後に挿入部2を移動させて、被検体と対物レンズ11の距離が変化してしまった場合に、際限無くオートフォーカス動作が繰り返されてしまうことを防ぐことができる。   In the present embodiment, if it is determined in step S16 shown in FIG. 21 that the current contrast value is larger than the boundary value, the CPU 22 starts the autofocus operation before proceeding to step S10. It is determined whether more than one second has elapsed (step S18). If it is within one second, the process proceeds to step S10 and the focus is adjusted again. On the other hand, if one second or more has elapsed, the process proceeds to step S17 to forcibly complete the autofocus operation. For this reason, it is possible to prevent the autofocus operation from being repeated indefinitely when the insertion portion 2 is moved after the autofocus operation is started and the distance between the subject and the objective lens 11 is changed.

次に、制御ユニット15のCPU22によって画像として表示される被検体の三次元座標の測定方法、及び、点間距離の測定方法について説明する。ROM28には、<数4>に示す関係に基づいて、以下の<数5>、<数6>、及び、<数7>に示す算出式に従って計算するプログラムが記憶されている。そして、CPU22は、これらの数式によって、対物レンズ11の主点11aを原点として被検体の所定位置の実際の3次元座標(X、Y、Z)を算出することが可能である。ここで、符号fは、対物レンズ11の焦点距離、符号Lは、上記のオートフォーカス動作によってフォーカスが最適な状態となった時の対物レンズ11の主点11aから撮像素子13の受像面13aまでの離間距離を示している(図19参照)。また、図24に示すように、モニタ14に表示される画像P上において直交する2軸x軸及びy軸が定義されていて、符号Mx、Myは、画像Pの中心P1を原点として、指定されたフォーカスエリアFAの中心位置FA1の二次元座標を示している。また、符号Zは、対物レンズ11の主点11aを原点とする光軸L11方向の座標、符号X、Yは、それぞれ、対物レンズ11の主点11aを原点とし、画像P上のx軸及びy軸と対応する方向の座標を示している。   Next, a method for measuring the three-dimensional coordinates of the subject displayed as an image by the CPU 22 of the control unit 15 and a method for measuring the distance between points will be described. The ROM 28 stores a program for calculating according to the following formulas <Equation 5>, <Equation 6>, and <Equation 7> based on the relationship shown in <Equation 4>. Then, the CPU 22 can calculate the actual three-dimensional coordinates (X, Y, Z) of the predetermined position of the subject with the principal point 11a of the objective lens 11 as the origin, using these mathematical expressions. Here, symbol f is the focal length of the objective lens 11, and symbol L is from the principal point 11a of the objective lens 11 to the image receiving surface 13a of the image sensor 13 when the focus is in an optimum state by the autofocus operation. (See FIG. 19). Also, as shown in FIG. 24, two axes x-axis and y-axis orthogonal to each other are defined on the image P displayed on the monitor 14, and the symbols Mx and My are designated with the center P1 of the image P as the origin. The two-dimensional coordinates of the center position FA1 of the focused area FA are shown. Reference sign Z is the coordinate in the direction of the optical axis L11 with the principal point 11a of the objective lens 11 as the origin, and reference signs X and Y are the principal point 11a of the objective lens 11 as the origin and the x axis on the image P and The coordinates in the direction corresponding to the y-axis are shown.

Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282
Figure 0005036282

すなわち、観察者が、ジョイスティック36を操作して、モニタ14に表示される画像P上において、被検体Sの一点であるS1を、フォーカスエリアFAの中心位置FA1として指定したとすると、CPU22は、図21に示すオートフォーカス動作を開始して、フォーカスを最適な状態とする。そして、CPU22は、この時の撮像素子13の位置において、対物レンズ11の主点11aから撮像素子13の受像面13aまでの離間距離Lを測定する。離間距離Lは、前記オートフォーカス動作の完了時における撮像素子13の位置B6を用い、本内視鏡の構造に基づく固定寸法を加減することにより得ることができる。さらに、画像P上において、二次元座標Mx、Myを算出する。そして、CPU22は、ROM28に記憶された<数5>、<数6>、及び、<数7>に、焦点距離f、離間距離L、及び、二次元座標Mx、Myを入力することで、被検体Sの点S1の対物レンズ11の主点11aを原点とした三次元座標(X、Y、Z)を算出することができる。観察者が、さらに次の一点S2を指定した場合、点S2についても三次元座標(X、Y、Z)を算出し、さらには、これらの三次元座標(X、Y、Z)の算出結果により、二点S1、S2の点間距離を算出することができる。同様にして、図25に示すように、複数点を指定、例えば、点S3、S4、S5、S6の計4点を連続して指定した場合には、各々について三次元座標(X、Y、Z)を算出し、これにより、点S3から点S4、S5を経由して点S6までの経路の延長を測定することも可能である。   That is, if the observer operates the joystick 36 and designates S1, which is one point of the subject S, on the image P displayed on the monitor 14, as the center position FA1 of the focus area FA, the CPU 22 The autofocus operation shown in FIG. 21 is started to bring the focus into an optimum state. Then, the CPU 22 measures the separation distance L from the principal point 11a of the objective lens 11 to the image receiving surface 13a of the image sensor 13 at the position of the image sensor 13 at this time. The separation distance L can be obtained by using the position B6 of the image sensor 13 at the completion of the autofocus operation and adjusting the fixed dimension based on the structure of the endoscope. Furthermore, on the image P, two-dimensional coordinates Mx and My are calculated. Then, the CPU 22 inputs the focal length f, the separation distance L, and the two-dimensional coordinates Mx and My into <Equation 5>, <Equation 6>, and <Equation 7> stored in the ROM 28. The three-dimensional coordinates (X, Y, Z) with the principal point 11a of the objective lens 11 at the point S1 of the subject S as the origin can be calculated. When the observer further specifies the next one point S2, the three-dimensional coordinates (X, Y, Z) are also calculated for the point S2, and further, the calculation results of these three-dimensional coordinates (X, Y, Z) are calculated. Thus, the distance between the two points S1 and S2 can be calculated. Similarly, as shown in FIG. 25, when a plurality of points are designated, for example, when a total of four points S3, S4, S5, and S6 are designated successively, three-dimensional coordinates (X, Y, It is also possible to calculate Z) and measure the extension of the path from point S3 to point S6 via points S4 and S5.

以上のように、本実施形態の撮像装置10及び撮像装置10を備えた内視鏡装置1によれば、撮像素子13で取得される画像の輝度信号に基づいて、定量的に画像の変化を判断し、画像の変化が無い場合にのみ、オートフォーカス動作を開始させることができる。このため、挿入部2を移動させる場合など、被検体と対物レンズ11との距離が変化している場合は、フォーカスが最適な状態ではないものの、安定した状態で、好適に、被検体を探し、あるいは、対物レンズ11と被検体との距離を調整することができる。そして、画像の変化が無い時にはフォーカスを最適な状態に調整することができるので、所望の被検体を高解像度の画像で好適に観察することができる。また、本実施形態では、フォーカスエリアFAの中心位置FA1をジョイスティック36で自在に調整することで、画像内における所望の位置においてフォーカスが最適な状態となるように調整できるので、被検体をより好適に観察することができる。   As described above, according to the imaging device 10 of the present embodiment and the endoscope device 1 including the imaging device 10, the image change is quantitatively performed based on the luminance signal of the image acquired by the imaging device 13. It is possible to start the autofocus operation only when there is no change in the image. For this reason, when the distance between the subject and the objective lens 11 is changed, such as when the insertion unit 2 is moved, the focus is not optimal, but the subject is preferably searched in a stable state. Alternatively, the distance between the objective lens 11 and the subject can be adjusted. Since the focus can be adjusted to an optimal state when there is no change in the image, a desired subject can be suitably observed with a high-resolution image. In the present embodiment, the center position FA1 of the focus area FA can be freely adjusted with the joystick 36, so that the focus can be adjusted to an optimum state at a desired position in the image. Can be observed.

また、上記のオートフォーカス動作と、ジョイスティック36によるフォーカスエリアFAの中心位置FA1の指定によって、被検体Sの実際の三次元座標、及び、点間距離を測定することができる。このため、被検体を高解像度の画像で詳細に観察できるだけでなく、定量的な評価を行うこともできる。   Further, the actual three-dimensional coordinates and the point-to-point distance of the subject S can be measured by the above autofocus operation and the designation of the center position FA1 of the focus area FA by the joystick 36. Therefore, not only can the subject be observed in detail with a high-resolution image, but also quantitative evaluation can be performed.

なお、撮像素子移動手段16において、軸体17を電磁石とし、筒体18を永久磁石としているが、これに限るものでは無く、軸体17を永久磁石とし、筒体18を電磁石とする構成としても良い。また、撮像素子移動手段16は、電磁石と永久磁石との磁界の相互作用によるものとしたが、これに限るものでは無い。例えば、撮像素子移動手段として、撮像素子を固定した圧電素子を備えるものとしても良い。この場合、圧電素子に印加する電圧を制御することで、圧電素子が変位可能な範囲において、撮像素子を移動させることが可能である。   In the imaging device moving means 16, the shaft body 17 is an electromagnet and the cylinder 18 is a permanent magnet. However, the present invention is not limited to this, and the shaft body 17 is a permanent magnet and the cylinder 18 is an electromagnet. Also good. Moreover, although the image pick-up element moving means 16 was based on the interaction of the magnetic field of an electromagnet and a permanent magnet, it is not restricted to this. For example, the imaging element moving means may include a piezoelectric element to which the imaging element is fixed. In this case, by controlling the voltage applied to the piezoelectric element, the imaging element can be moved within a range in which the piezoelectric element can be displaced.

また、本実施形態においては、内視鏡装置1は、挿入部2の先端面に対物レンズ11が設けられた、いわゆる直視型であるが、これに限るものでは無く、挿入部2の側面に対物レンズ11が設けられた側視型としても良い。さらに、撮像装置10は、内視鏡装置1の一構成として説明したが、これに限るものでは無く、他の装置に組み込んで使用することも可能であり、また、単体として使用するものとしても良い。   In the present embodiment, the endoscope apparatus 1 is a so-called direct view type in which the objective lens 11 is provided on the distal end surface of the insertion portion 2, but is not limited to this, and the endoscope device 1 is provided on the side surface of the insertion portion 2. A side view type in which the objective lens 11 is provided may be used. Furthermore, although the imaging apparatus 10 has been described as one configuration of the endoscope apparatus 1, the imaging apparatus 10 is not limited to this, and can be used by being incorporated in another apparatus, or may be used as a single unit. good.

以上、本発明の実施形態について図面を参照して詳述したが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the concrete structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

本発明の実施形態の内視鏡装置を示す全体構成図である。1 is an overall configuration diagram showing an endoscope apparatus according to an embodiment of the present invention. 本発明の実施形態の内視鏡装置の撮像装置を示すブロック図である。It is a block diagram which shows the imaging device of the endoscope apparatus of embodiment of this invention. 本発明の実施形態の内視鏡装置の挿入部先端の正面図である。It is a front view of the insertion part front-end | tip of the endoscope apparatus of embodiment of this invention. 本発明の実施形態の内視鏡装置の挿入部先端の断面図である。It is sectional drawing of the insertion part front-end | tip of the endoscope apparatus of embodiment of this invention. 本発明の実施形態の撮像装置において、撮像素子移動手段の詳細を示す斜視図である。It is a perspective view which shows the detail of an image pick-up element moving means in the imaging device of embodiment of this invention. 本発明の実施形態の撮像装置において、映像信号処理回路から出力された輝度信号の一例を示すグラフである。5 is a graph illustrating an example of a luminance signal output from a video signal processing circuit in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、ハイパスフィルターから出力された信号の一例を示すグラフである。6 is a graph illustrating an example of a signal output from a high-pass filter in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、検波回路から出力されたコントラスト信号の一例を示すグラフである。5 is a graph illustrating an example of a contrast signal output from a detection circuit in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、映像信号処理回路から出力された輝度信号の他の例を示すグラフである。6 is a graph illustrating another example of a luminance signal output from a video signal processing circuit in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、ハイパスフィルターから出力された信号の他の例を示すグラフである。6 is a graph illustrating another example of a signal output from a high-pass filter in the imaging device according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、検波回路から出力されたコントラスト信号の他の例を示すグラフである。6 is a graph illustrating another example of a contrast signal output from a detection circuit in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、モニタに表示される画像の一例を示す説明図である。It is explanatory drawing which shows an example of the image displayed on a monitor in the imaging device of embodiment of this invention. 本発明の実施形態の撮像装置において、電磁石駆動回路から出力される電流波形の第一例を示すグラフである。4 is a graph illustrating a first example of a current waveform output from an electromagnet drive circuit in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、電磁石駆動回路から出力される電流波形の第二例を示すグラフである。6 is a graph showing a second example of a current waveform output from an electromagnet drive circuit in the imaging apparatus according to the embodiment of the present invention. 電磁石駆動回路から出力される電流波形を第二例とした場合において、撮像素子移動手段の動作を示す説明図である。It is explanatory drawing which shows operation | movement of an image pick-up element moving means in the case where the current waveform output from an electromagnet drive circuit is made into the 2nd example. 本発明の実施形態の撮像装置において、電磁石駆動回路から出力される電流波形の第三例を示すグラフである。It is a graph which shows the 3rd example of the current waveform output from an electromagnet drive circuit in the imaging device of embodiment of this invention. 電磁石駆動回路から出力される電流波形を第三例とした場合において、撮像素子移動手段の動作を示す説明図である。It is explanatory drawing which shows operation | movement of an image pick-up element moving means in the case where the current waveform output from an electromagnet drive circuit is made into the 3rd example. 本発明の実施形態の撮像装置の撮像素子移動手段において、バイアス値と撮像素子の位置との関係を示すグラフである。6 is a graph showing the relationship between the bias value and the position of the image sensor in the image sensor moving means of the image pickup apparatus according to the embodiment of the present invention. 対物レンズと、撮像素子と、被検体との関係を示す説明図である。It is explanatory drawing which shows the relationship between an objective lens, an image pick-up element, and a test subject. 本発明の実施形態の撮像装置において、オートフォーカス動作を行う際のフロー図である。It is a flowchart at the time of performing an autofocus operation | movement in the imaging device of embodiment of this invention. 本発明の実施形態の撮像装置において、オートフォーカス動作を行う際のフロー図である。It is a flowchart at the time of performing an autofocus operation | movement in the imaging device of embodiment of this invention. 本発明の実施形態の撮像装置において、オートフォーカス動作を行う際の撮像素子の位置と、検出されるコントラスト値との関係を示すグラフである。6 is a graph showing the relationship between the position of the image sensor and the detected contrast value when performing an autofocus operation in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、オートフォーカス動作を行う際のバイアス値と、撮像素子の位置と、検出されるコントラスト値との関係を示す表である。6 is a table showing a relationship among a bias value when performing an autofocus operation, a position of an image sensor, and a detected contrast value in the imaging apparatus according to the embodiment of the present invention. 本発明の実施形態の撮像装置において、被検体の三次元座標及び点間距離を測定する際の説明図である。It is explanatory drawing at the time of measuring the three-dimensional coordinate of a subject, and the distance between points in the imaging device of embodiment of this invention. 本発明の実施形態の撮像装置において、被検体の三次元座標及び点間距離を測定する際の説明図である。It is explanatory drawing at the time of measuring the three-dimensional coordinate of a subject, and the distance between points in the imaging device of embodiment of this invention.

符号の説明Explanation of symbols

1 内視鏡装置
2 挿入部
10 撮像装置
11 対物レンズ
11a 主点
13 撮像素子
15 制御ユニット
16 撮像素子移動手段
17 軸体
17a 基端
18 筒体
22 CPU(制御部)
25 映像信号処理回路(輝度検出手段)
26 コントラスト値検出手段
27 電磁石駆動回路(電圧印加手段)
36 ジョイスティック(操作部)
f 対物レンズの焦点距離
FA フォーカスエリア
FA1 中心位置
L 離間距離
L11 光軸
Mx、My 画面上の二次元座標
P 画像
P1 中心
X、Y、Z 三次元座標
DESCRIPTION OF SYMBOLS 1 Endoscope apparatus 2 Insertion part 10 Imaging device 11 Objective lens 11a Main point 13 Imaging element 15 Control unit 16 Imaging element moving means 17 Shaft body 17a Base end 18 Cylindrical body 22 CPU (control part)
25 Video signal processing circuit (luminance detection means)
26 Contrast value detection means 27 Electromagnet drive circuit (voltage application means)
36 Joystick (operation unit)
f Focal length of objective lens FA Focus area FA1 Center position L Separation distance L11 Optical axis Mx, My Two-dimensional coordinates on screen P Image P1 Center X, Y, Z Three-dimensional coordinates

Claims (9)

対物レンズと、
該対物レンズの光軸と同軸上に配設され、該対物レンズで集光された入射光を受光して画像を繰り返し取得する撮像素子と、
該撮像素子を、前記対物レンズの前記光軸上で移動させる撮像素子移動手段と、
前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較して、該画像が前後で変化していない場合には、前記撮像素子移動手段によって前記撮像素子の位置をフォーカス位置となるように調整させる制御ユニットと
前記撮像素子で取得される前記画像内の一部の範囲としてフォーカスエリアを予め設定し、前記画像内で前記フォーカスエリアの中心位置を調整可能な操作部と、
を備え
前記制御ユニットは、
前記画像のコントラスト値を検出するコントラスト値検出手段と、
該コントラスト値検出手段で検出される前記画像の前記コントラスト値が最大となる位置に、前記撮像素子移動手段によって前記撮像素子の位置を調整させ、前記フォーカスエリア内での前記コントラスト値に基づいて前記撮像素子の位置を調整する制御部と、
を備え、
前記制御ユニットの前記制御部は、前記操作部によって前記フォーカスエリアが指定された場合、前記コントラスト値が最大となった時の前記撮像素子の位置及び前記画像上における前記フォーカスエリアの前記中心位置を計測して、計測された前記撮像素子の位置及び前記画面上における前記フォーカスエリアの前記中心位置に基づいて、該フォーカスエリアの前記中心位置として指定された実際の三次元座標を算出可能であり、
前記制御ユニットは、今回取得された前記画像と前回取得された前記画像とを比較して、各画像における輝度信号により今回取得された前記画像の前回取得された前記画像からの変化の有無を判定し、該画像が前後で変化していない場合には、さらに、前回取得された前記画像と前々回取得された前記画像とを比較して、各画像における輝度信号により前回取得された前記画像の前々回取得された前記画像からの変化の有無を判定し、前々回の該画像との比較では該画像が変化している場合に、前記撮像素子移動手段によって前記撮像素子の位置を前記フォーカス位置となるように調整させる
ことを特徴とする撮像装置。
An objective lens;
An image sensor that is disposed coaxially with the optical axis of the objective lens, receives incident light collected by the objective lens, and repeatedly acquires images;
An image sensor moving means for moving the image sensor on the optical axis of the objective lens;
When the image acquired this time with the image sensor is compared with the image acquired last time and the image has not changed before and after, the position of the image sensor is changed to the focus position by the image sensor moving means. a control unit for adjusting so that,
A focus area is preset as a partial range in the image acquired by the image sensor, and an operation unit capable of adjusting a center position of the focus area in the image;
Equipped with a,
The control unit is
Contrast value detecting means for detecting a contrast value of the image;
The position of the image sensor is adjusted by the image sensor moving means to a position where the contrast value of the image detected by the contrast value detecting means is maximized, and based on the contrast value in the focus area A control unit for adjusting the position of the image sensor;
With
When the focus area is designated by the operation unit, the control unit of the control unit determines the position of the imaging element when the contrast value is maximized and the center position of the focus area on the image. Based on the measured position of the image sensor and the center position of the focus area on the screen, the actual three-dimensional coordinates designated as the center position of the focus area can be calculated.
The control unit compares the image acquired this time with the image acquired last time, and determines whether there is a change from the image acquired last time of the image acquired this time based on a luminance signal in each image If the image has not changed before and after, the image acquired last time is compared with the image acquired last time, and the image acquired last time by the luminance signal in each image is compared. The presence / absence of a change from the acquired image is determined, and when the image has changed in comparison with the previous image, the position of the image pickup device is set to the focus position by the image pickup device moving means. To adjust
An imaging apparatus characterized by that .
請求項1に記載の撮像装置において、
前記制御ユニットは、前記画像の輝度を検出する輝度検出手段と、
該輝度検出手段で検出される前記画像の前記輝度に相関性を有するかどうかに基づいて前記画像の変化の有無を判断して、前記撮像素子移動手段によって前記撮像素子の位置を調整する制御部とを備えることを特徴とする撮像装置。
The imaging device according to claim 1 ,
The control unit includes luminance detection means for detecting the luminance of the image;
A control unit that determines whether or not the image has changed based on whether or not the luminance of the image detected by the luminance detection unit has a correlation, and adjusts the position of the imaging element by the imaging element moving unit An imaging apparatus comprising:
請求項1または請求項2に記載の撮像装置において、
前記制御ユニットの前記制御部は、前記撮像素子の位置の前記対物レンズの主点からの離間距離L、及び、前記フォーカスエリアの前記中心位置の該画像の中心位置を原点とした前記画像上における二次元座標Mx、Myを計測して、前記対物レンズの前記主点を原点とする指定された前記フォーカスエリアの前記中心位置の前記三次元座標X、Y、Zを、<数1>、<数2>、及び、<数3>に示す計算式(但し、符号fは前記対物レンズの焦点距離)から算出可能であることを特徴とする撮像装置。
Figure 0005036282
Figure 0005036282
Figure 0005036282
In the imaging device according to claim 1 or 2,
The control unit of the control unit is arranged on the image with the distance L from the principal point of the objective lens at the position of the imaging element and the center position of the image at the center position of the focus area as the origin. Two-dimensional coordinates Mx, My are measured, and the three-dimensional coordinates X, Y, Z of the center position of the designated focus area with the principal point of the objective lens as the origin are expressed as <Equation 1>, < An image pickup apparatus that can be calculated from the calculation formulas (2) and (3), where the symbol f is the focal length of the objective lens.
Figure 0005036282
Figure 0005036282
Figure 0005036282
請求項1から請求項3のいずれか一項に記載の撮像装置において、
前記操作部は、前記撮像素子で取得される前記画像内で、前記フォーカスエリアの前記中心位置を複数指定可能であり、
前記制御ユニットの前記制御部は、算出された各前記フォーカスエリアの前記中心位置の前記三次元座標に基づいて、各該フォーカスエリアの前記中心位置の間の実際の点間距離を算出可能であることを特徴とする撮像装置。
In the imaging device according to any one of claims 1 to 3,
The operation unit can specify a plurality of the center positions of the focus area in the image acquired by the imaging device,
The control unit of the control unit can calculate an actual point-to-point distance between the center positions of the focus areas based on the calculated three-dimensional coordinates of the center positions of the focus areas. An imaging apparatus characterized by that.
請求項1から請求項のいずれかに記載の撮像装置において、
前記撮像素子移動手段は、前記対物レンズの前記光軸と同軸上で進退可能に設けられ、先端に前記撮像素子が配設された軸体と、該軸体の基端側外周に配設された筒体とを備え、前記軸体と前記筒体とのいずれか一方が前記対物レンズの前記光軸と略平行な磁界を形成する永久磁石であるとともに、前記軸体と前記筒体との他方が前記対物レンズの前記光軸と略平行な磁界を形成可能な電磁石であることを特徴とする撮像装置。
In the imaging device according to any one of claims 1 to 4 ,
The image pickup device moving means is provided so as to be able to advance and retreat on the same axis as the optical axis of the objective lens, and is provided on a shaft body in which the image pickup device is disposed at a distal end, and on a base end side outer periphery of the shaft body. A cylindrical body, and either one of the shaft body and the cylindrical body is a permanent magnet that forms a magnetic field substantially parallel to the optical axis of the objective lens, and the shaft body and the cylindrical body The other is an electromagnet capable of forming a magnetic field substantially parallel to the optical axis of the objective lens.
請求項に記載の撮像装置において、
前記制御ユニットは、前記電磁石に、交流電圧と、大きさを可変とする直流電圧とを重畳的に印加可能な電圧印加手段を備えることを特徴とする撮像装置。
The imaging apparatus according to claim 5 ,
The image pickup apparatus, wherein the control unit includes a voltage applying unit capable of superimposing an AC voltage and a DC voltage having a variable magnitude on the electromagnet.
請求項1から請求項のいずれかに記載の撮像装置と、
先端側に該撮像装置の前記対物レンズが設けられ、被検体に挿入可能な挿入部とを備えることを特徴とする内視鏡装置。
The imaging device according to any one of claims 1 to 6 ,
An endoscope apparatus comprising: the objective lens of the imaging apparatus on a distal end side; and an insertion portion that can be inserted into a subject.
対物レンズと、該対物レンズの光軸と同軸上で進退可能に配設され、該対物レンズで集光された入射光を受光して画像を繰り返し取得する撮像素子とを備える撮像装置のフォーカス調整方法であって、
前記撮像素子で取得される前記画像の内の一部の範囲として予めフォーカスエリアを設定し、
前記フォーカスエリアの中心位置を前記画像内で調整し、
前記撮像素子で取得される前記画像の、前記フォーカスエリア内でのコントラスト値を検出し、
前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較し、各画像における輝度信号により今回取得された前記画像の前回取得された前記画像からの変化の有無を判定し、該画像が前後で変化していない場合に、前記撮像素子を前記対物レンズの前記光軸上で移動させて、前記撮像素子の位置をフォーカス位置となるように調整し、
前記撮像素子で今回取得された前記画像と前回取得された前記画像とを比較して、該画像が前後で変化していない場合には、さらに、前回取得された前記画像と前々回取得された前記画像とを比較して、各画像における輝度信号により前回取得された前記画像の前々回取得された前記画像からの変化の有無を判定し、前々回の該画像との比較では該画像が変化している場合に、前記フォーカスエリア内での前記コントラスト値に基づいて前記コントラスト値が最大となる位置を計測して、計測された前記撮像素子の位置及び前記画面上における前記フォーカスエリアの前記中心位置に基づいて、該フォーカスエリアの前記中心位置として指定された実際の三次元座標を算出し、前記撮像素子の位置を前記フォーカス位置となるように調整することにより、前記撮像素子の位置を調整する
ことを特徴とする撮像装置のフォーカス調整方法。
Focus adjustment of an image pickup apparatus including an objective lens and an image pickup element that is arranged so as to be movable back and forth on the same axis as the optical axis of the objective lens and that receives incident light collected by the objective lens and repeatedly acquires an image A method,
A focus area is set in advance as a partial range of the image acquired by the image sensor,
Adjust the center position of the focus area in the image,
Detecting a contrast value in the focus area of the image acquired by the imaging device;
Compare the image acquired this time with the image sensor and the image acquired last time, determine the presence or absence of a change from the previously acquired image of the image acquired this time by the luminance signal in each image, When the image does not change back and forth, the image sensor is moved on the optical axis of the objective lens, and the position of the image sensor is adjusted to be a focus position ,
When the image acquired this time with the imaging device is compared with the image acquired last time, and the image has not changed before and after, the image acquired last time and the image acquired before Compared with the image, the presence or absence of a change from the previously acquired image is determined based on the luminance signal in each image, and the image has changed in comparison with the previous image. In this case, the position where the contrast value is maximized is measured based on the contrast value in the focus area, and based on the measured position of the imaging element and the center position of the focus area on the screen. The actual three-dimensional coordinates designated as the center position of the focus area are calculated, and the position of the image sensor is adjusted to be the focus position. And a focus adjusting method of an imaging apparatus according to claim <br/> adjusting the position of the imaging element.
請求項8に記載の撮像装置のフォーカス調整方法であって、
前記撮像素子で繰り返し取得される各前記画像の輝度を検出し、前記画像の前記輝度に相関性を有するかどうかに基づいて前記画像の変化の有無を判断して、前記撮像素子の位置を調整することを特徴とする撮像装置のフォーカス調整方法。
The focus adjustment method for an imaging apparatus according to claim 8,
The brightness of each image repeatedly acquired by the image sensor is detected, and the position of the image sensor is adjusted by determining whether or not the image has changed based on whether the brightness of the image has a correlation. A focus adjustment method for an image pickup apparatus.
JP2006306400A 2006-11-13 2006-11-13 IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE Expired - Fee Related JP5036282B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006306400A JP5036282B2 (en) 2006-11-13 2006-11-13 IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006306400A JP5036282B2 (en) 2006-11-13 2006-11-13 IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE

Publications (2)

Publication Number Publication Date
JP2008122661A JP2008122661A (en) 2008-05-29
JP5036282B2 true JP5036282B2 (en) 2012-09-26

Family

ID=39507471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006306400A Expired - Fee Related JP5036282B2 (en) 2006-11-13 2006-11-13 IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE

Country Status (1)

Country Link
JP (1) JP5036282B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5998014B2 (en) * 2012-11-07 2016-09-28 富士フイルム株式会社 Imaging apparatus and endoscope apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2732462B2 (en) * 1987-09-30 1998-03-30 オリンパス光学工業株式会社 Video end scope device with auto focus
JPH0879596A (en) * 1994-09-05 1996-03-22 Sanyo Electric Co Ltd Automatic focusing device
JPH0875999A (en) * 1994-09-07 1996-03-22 Nikon Corp Automatic focus adjustment device
JP3957147B2 (en) * 2002-01-16 2007-08-15 富士フイルム株式会社 Focusing device
JP4148198B2 (en) * 2004-07-30 2008-09-10 フジノン株式会社 Auto focus system

Also Published As

Publication number Publication date
JP2008122661A (en) 2008-05-29

Similar Documents

Publication Publication Date Title
CN103874951B (en) Focusing control apparatus, endoscopic system and focusing control method
US9485405B2 (en) Focus control device, endoscope device, and focus control method
JP6323184B2 (en) Image processing apparatus, image processing method, and program
JP5467011B2 (en) Microscope system
JP5973708B2 (en) Imaging apparatus and endoscope apparatus
US10682040B2 (en) Endoscope apparatus and focus control method for endoscope apparatus
CN105579880B (en) The method of work of endoscope-use camera system, endoscope-use camera system
JP6758287B2 (en) Control device and medical imaging system
CN105378534A (en) Camera device, working method of camera device
JP7441897B2 (en) Control device, endoscope system and method of operating the control device
WO2017221507A1 (en) Endoscope system
JP5881910B2 (en) Endoscope device
EP2896981B1 (en) Focal point adjustment device and focal point adjustment method
JP5036282B2 (en) IMAGING DEVICE, FOCUS ADJUSTMENT METHOD FOR IMAGING DEVICE, AND ENDOSCOPE DEVICE
JP2001046331A (en) Endoscope device
JP5792401B2 (en) Autofocus device
JP5537320B2 (en) Microscope system
JP2008298860A (en) Living body observation device
JP6223170B2 (en) Imaging device, control method thereof, and control program
JPH10210327A (en) Camera device
JP2005341134A (en) Image processing device
JP2016049352A (en) Endoscope system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120326

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20120327

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120703

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5036282

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees