JP5927369B2 - Endoscopic video system and video processor - Google Patents

Endoscopic video system and video processor Download PDF

Info

Publication number
JP5927369B2
JP5927369B2 JP2016506927A JP2016506927A JP5927369B2 JP 5927369 B2 JP5927369 B2 JP 5927369B2 JP 2016506927 A JP2016506927 A JP 2016506927A JP 2016506927 A JP2016506927 A JP 2016506927A JP 5927369 B2 JP5927369 B2 JP 5927369B2
Authority
JP
Japan
Prior art keywords
focus
switching
image
video data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016506927A
Other languages
Japanese (ja)
Other versions
JPWO2015182519A1 (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
Application granted granted Critical
Publication of JP5927369B2 publication Critical patent/JP5927369B2/en
Publication of JPWO2015182519A1 publication Critical patent/JPWO2015182519A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/04Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor combined with photographic or television appliances
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B23/00Telescopes, e.g. binoculars; Periscopes; Instruments for viewing the inside of hollow bodies; Viewfinders; Optical aiming or sighting devices
    • G02B23/24Instruments or systems for viewing the inside of hollow bodies, e.g. fibrescopes
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Optics & Photonics (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Biomedical Technology (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • General Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Astronomy & Astrophysics (AREA)
  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)

Description

本発明は、焦点を切り替える機能を有するスコープにおいて取得した内視鏡映像データをビデオプロセッサにて画像処理し、画像処理を施した内視鏡映像データを外部に出力する内視鏡ビデオシステム及びこれにおいて使用するビデオプロセッサに関する。   The present invention relates to an endoscopic video system that performs image processing on endoscopic video data acquired in a scope having a function of switching a focus by a video processor, and outputs the endoscopic video data subjected to the image processing to the outside, and the same The present invention relates to a video processor used in.

従来より、撮像部を内蔵するスコープを体腔内に挿入し、撮像部から出力された画像を画像処理プロセッサにて画像処理し、画像処理後の撮像画像を表示・記録画像として出力する内視鏡ビデオシステムが広く知られている(例えば、特許文献1)。   Conventionally, an endoscope in which a scope incorporating an imaging unit is inserted into a body cavity, an image output from the imaging unit is subjected to image processing by an image processor, and a captured image after image processing is output as a display / recorded image Video systems are widely known (for example, Patent Document 1).

近年の内視鏡ビデオシステムによれば、撮像素子の高画素化が進むにつれて、1画素当たりのセルサイズが小さくなってきている。この結果、被写界深度の範囲が狭くなり、単焦点の構成では、合焦が難しくなってきている。このため、2焦点(近焦点(NEAR)/遠焦点(FAR))の切り替え機能を有するスコープも用いられるようになってきている。   According to recent endoscopic video systems, the cell size per pixel has become smaller as the number of pixels of the image sensor has increased. As a result, the range of the depth of field is narrowed, and focusing is difficult with a single focal point configuration. For this reason, a scope having a function of switching between two focal points (near focus (NEAR) / far focus (FAR)) has come to be used.

2焦点を切り替え可能なスコープにおいて取得した画像の合焦度合いを判定する技術に関しては、撮像した複数の画像のそれぞれについて合焦評価値を求め、これに基づき選択した画像をフリーズ画像として設定することについて開示されている(例えば、特許文献2)。   Regarding the technique for determining the degree of focus of an image acquired in a scope that can switch between two focal points, obtaining a focus evaluation value for each of a plurality of captured images, and setting the image selected based on this as a freeze image (For example, Patent Document 2).

また、画像に対して合焦位置(ピント位置)の情報を付加することにより、ユーザであるドクターに対して撮像部をどちらの方向に動かせばピントを合わせることができるかを知らせる技術についても開示されている(例えば、特許文献3)。   Also disclosed is a technique for notifying which direction the focusing unit (focus position) is attached to an image and informing which direction the focusing unit can be focused to the doctor who is the user. (For example, Patent Document 3).

特開2013−128723号公報JP 2013-128723 A 特開2013−230319号公報JP 2013-230319 A 特開2012−39255号公報JP 2012-39255 A

現在、2焦点切り替え機能を有するスコープを用いて観察を行う際には、2つの焦点のうち、いずれの方が合っているかをドクター等のユーザが主観で判断している。しかし、ユーザの判断が適切である、すなわち、ユーザが選択した映像の方が焦点が合っているとは限らない。   Currently, when observing using a scope having a bifocal switching function, a user such as a doctor subjectively determines which of the two focal points is suitable. However, the user's judgment is appropriate, that is, the video selected by the user is not always in focus.

本発明は、観察に適した画像を客観的に判断し、判断した結果をユーザに提示することにより、ユーザが最適な焦点で観察することを可能とする技術を提供することを目的とする。   An object of this invention is to provide the technique which enables a user to observe with an optimal focus by objectively determining the image suitable for observation and presenting the determined result to the user.

本発明の一態様に係る内視鏡ビデオシステムによれば、焦点を切り替え可能なスコープと、前記スコープにより得られた内視鏡映像データを画像処理して出力するビデオプロセッサと、前記ビデオプロセッサから出力される内視鏡映像データを表示する観察モニタとからなる内視鏡ビデオシステムであって、前記スコープは、ユーザによる焦点切り替え操作に応じて焦点を切り替える2焦点切り替え部を有し、前記ビデオプロセッサは、前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、焦点切り替え前に得られた焦点評価値と、切り替え後に得られた焦点評価値とを比較し、比較結果に基づいて、どちらの焦点が合っているかを判定する判定部と、前記判定部の判定結果に基づき、前記内視鏡映像データを前記観察モニタに出力する出力部と、を有し、前記2焦点切り替え部は、前記判定部により切り替え前の焦点が合っていると判定された場合は、前記ビデオプロセッサからの指示にしたがって、切り替え前の焦点の状態に戻すことを特徴とする。   According to the endoscope video system according to one aspect of the present invention, a scope capable of switching a focus, a video processor that outputs and outputs endoscopic video data obtained by the scope, and the video processor An endoscopic video system comprising an observation monitor for displaying endoscopic video data to be output, wherein the scope includes a bifocal switching unit that switches a focus according to a focus switching operation by a user, and the video The processor compares the focus evaluation value obtained before the focus switching with the calculation unit that calculates the focus evaluation value based on the endoscope video data, and the focus evaluation value obtained after the switching, and the comparison result A determination unit that determines which one is in focus, and the endoscope video data to the observation monitor based on the determination result of the determination unit The bifocal switching unit, when it is determined by the determination unit that the focus before switching is in focus, the focus of the focus before switching is determined according to an instruction from the video processor. It is characterized by returning to the state.

本発明の他の態様に係る内視鏡ビデオシステムによれば、焦点を切り替え可能なスコープと、前記スコープにより得られた内視鏡映像データを画像処理して出力するビデオプロセッサと、前記ビデオプロセッサから出力される内視鏡映像データを表示する観察モニタとからなる内視鏡ビデオシステムであって、前記スコープは、ユーザのスコープ操作信号によりフリーズ機能が開始すると、フリーズ機能の開始に応答して焦点を切り替える2焦点切り替え部を有し、前記ビデオプロセッサは、前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、焦点切り替え前から切り替え後までに得られた画像の焦点評価値を比較し、比較結果に基づいて、いずれの焦点が最も合っているかを判定する判定部と、前記判定部により最も焦点が合っていると判定された最適焦点画像のデータを出力する選択部と、前記選択部から入力されたデータに基づき、前記最適焦点画像を静止画像として前記観察モニタに出力し、所定期間にわたり当該静止画像の出力状態を維持する出力部と、を有することを特徴とする。   According to the endoscope video system according to another aspect of the present invention, a scope whose focus can be switched, a video processor that performs image processing and outputs endoscope video data obtained by the scope, and the video processor An endoscope video system comprising an observation monitor for displaying endoscope video data output from the scope, wherein the scope responds to the start of the freeze function when the freeze function is started by a user's scope operation signal. The video processor includes a calculation unit that calculates a focus evaluation value based on the endoscope video data, and a focus evaluation of an image obtained before and after the focus switching A determination unit that compares values and determines which focus is best based on the comparison result, and the determination unit sets the most focus. A selection unit that outputs data of an optimally focused image determined to be, and an output of the optimally focused image as a still image to the observation monitor based on the data input from the selection unit; And an output unit that maintains the output state of the image.

本発明の一態様に係るビデオプロセッサによれば、焦点を切り替え可能なスコープにより得られた内視鏡映像データを画像処理し、観察モニタに画像処理した内視鏡映像データを出力するビデオプロセッサであって、前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、前記スコープにおいてユーザによる焦点切り替え操作に応じて焦点を切り替える前に得られた焦点評価値と、切り替え後に得られた焦点評価値とを比較し、比較結果に基づいて、どちらの焦点が合っているかを判定する判定部と、前記判定部の判定結果に基づき、前記内視鏡映像データを前記観察モニタに出力する出力部と、を有し、前記判定部により切り替え前の焦点が合っていると判定された場合は、前記スコープに対し、切り替え前の焦点の状態に戻すよう指示することを特徴とする。   According to the video processor of one aspect of the present invention, the video processor that performs endoscopic video data obtained by a scope whose focus can be switched is subjected to image processing, and the endoscopic video data subjected to the image processing is output to an observation monitor. A calculation unit that calculates a focus evaluation value based on the endoscope video data, a focus evaluation value obtained before switching a focus in accordance with a focus switching operation by a user in the scope, and a value obtained after switching. A determination unit that compares the focus evaluation values with each other and determines which one is in focus based on the comparison result, and outputs the endoscope video data to the observation monitor based on the determination result of the determination unit And when the determination unit determines that the focus before switching is in focus, the scope is returned to the focus state before switching. Characterized in that it instructs cormorants.

本発明の他の態様に係るビデオプロセッサによれば、焦点を切り替え可能なスコープにより得られた内視鏡映像データを画像処理し、観察モニタに画像処理した内視鏡映像データを出力するビデオプロセッサであって、前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、前記スコープにおいてユーザのスコープ操作信号によるフリーズ機能の開始に応答して焦点切り替え前から切り替え後までに得られた画像の焦点評価値を比較し、比較結果に基づいて、いずれの焦点が最も合っているかを判定する判定部と、前記判定部により最も焦点が合っていると判定された最適焦点画像のデータを出力する選択部と、前記選択部から入力されたデータに基づき、前記最適焦点画像を静止画像として前記観察モニタに出力し、所定期間にわたり当該静止画像の出力状態を維持する出力部と、を有することを特徴とする。   According to the video processor of another aspect of the present invention, a video processor that performs endoscopic video data obtained by a scope whose focus can be switched and performs endoscopic video data on the observation monitor. And a calculation unit that calculates a focus evaluation value based on the endoscope video data, and is obtained from before the focus switching to after the switching in response to the start of the freeze function by the user's scope operation signal in the scope. A determination unit that compares the focus evaluation values of the images and determines which one is in focus based on the comparison result, and data of the optimum focus image that is determined to be the most in focus by the determination unit And outputting the optimum focus image as a still image to the observation monitor based on the data input from the selection unit And having or output unit to maintain the output state of the still image.

本発明によれば、内視鏡システムにおいて、観察に適した画像を客観的に判断し、判断した結果をユーザに提示することにより、ユーザは、最適な焦点で観察することが可能となる。   According to the present invention, in an endoscope system, an image suitable for observation is objectively determined, and the determined result is presented to the user, so that the user can observe with an optimum focus.

実施の形態に係る内視鏡ビデオシステムの構成図である。It is a lineblock diagram of an endoscope video system concerning an embodiment. 実施の形態に係るビデオプロセッサによる全体動作の制御処理を示したフローチャートである。It is the flowchart which showed the control processing of the whole operation | movement by the video processor which concerns on embodiment. 最適焦点選択制御処理の詳細を示したフローチャートである。It is the flowchart which showed the detail of the optimal focus selection control process. 焦点切り替え制御において出力される合成画像を例示する図である。It is a figure which illustrates the synthesized image output in focus switching control. フリーズ制御における各信号のタイムチャート図である。It is a time chart figure of each signal in freeze control. レリーズ制御における各信号のタイムチャート図である。It is a time chart figure of each signal in release control.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。
図1は、本発明の実施の形態に係る内視鏡ビデオシステムの構成図である。図1に示す内視鏡ビデオシステム100は、スコープ2、ビデオプロセッサ1及び観察モニタ3を有する。内視鏡ビデオシステム100は、スコープ2により得られた内視鏡映像データをビデオプロセッサ1にて画像処理し、観察モニタ3には、ビデオプロセッサ1から出力される内視鏡映像データを表示する。図1においては、映像データの流れを太線で、各種制御信号の流れを細線で示している。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a configuration diagram of an endoscopic video system according to an embodiment of the present invention. An endoscopic video system 100 shown in FIG. 1 includes a scope 2, a video processor 1, and an observation monitor 3. The endoscope video system 100 performs image processing on the endoscope video data obtained by the scope 2 by the video processor 1, and displays the endoscope video data output from the video processor 1 on the observation monitor 3. . In FIG. 1, the flow of video data is indicated by thick lines, and the flow of various control signals is indicated by thin lines.

本実施形態においては、スコープ2は、近焦点(NEAR)及び遠焦点(FAR)の2焦点切り替え機能を備える。ビデオプロセッサ1は、スコープ2の焦点が切り替わる際には、スコープ2から取得した切り替え前後を含む複数の画像間で評価値を比較して、いずれの焦点が合っているかの判定を行う。   In the present embodiment, the scope 2 has a bifocal switching function of near focus (NEAR) and far focus (FAR). When the focus of the scope 2 is switched, the video processor 1 compares the evaluation values between a plurality of images including before and after switching acquired from the scope 2 and determines which one is in focus.

スコープ2は、ユーザであるドクターの手元にて操作可能な操作部が設けられている。ドクターは、操作部を介して、各種の内視鏡ビデオシステム100の操作を行う。本実施形態に係わる操作としては、スコープ2の焦点の切り替え操作、フリーズ(ライブ動画である内視鏡映像を一時停止させ、観察モニタ3に静止画像を表示すること)操作及びレリーズ(静止画像を外部メモリ4に記録すること)操作が挙げられる。ユーザがスコープ2の操作部を介して焦点の切り替え操作、フリーズ操作及びレリーズ操作を行うと、そのタイミングで、焦点切替スイッチ信号、フリーズスイッチ信号及びレリーズスイッチ信号がオンに切り替わる。ビデオプロセッサ1においては、スコープ2から入力されるこれらのスイッチ信号のオン/オフ状態を判定して、それぞれ対応する制御を行う。   The scope 2 is provided with an operation unit that can be operated by a doctor who is a user. The doctor operates various endoscopic video systems 100 via the operation unit. The operations according to the present embodiment include a focus switching operation of the scope 2, a freeze (pause the endoscope video that is a live video, and display a still image on the observation monitor 3), and a release (a still image is displayed). Recording in the external memory 4). When the user performs a focus switching operation, a freeze operation, and a release operation via the operation unit of the scope 2, the focus switch signal, the freeze switch signal, and the release switch signal are turned on at that timing. In the video processor 1, the on / off state of these switch signals input from the scope 2 is determined, and the corresponding control is performed.

ビデオプロセッサ1は、オートフォーカス部11、記憶部12、選択部13、映像出力部14、CPU15及びブザー16を有する。図1においては、本実施形態に係るビデオプロセッサ1の動作に係わる構成のみを記載している。   The video processor 1 includes an autofocus unit 11, a storage unit 12, a selection unit 13, a video output unit 14, a CPU 15, and a buzzer 16. FIG. 1 shows only the configuration related to the operation of the video processor 1 according to the present embodiment.

オートフォーカス部11は、スコープ2から入力された内視鏡画像のピント合わせを行う。オートフォーカス部11は、ピント合わせをする際に、スコープ2から入力される各フレーム画像に対して、焦点評価値を算出している。オートフォーカス部11は、例えば、コントラスト値の高い画像ほど焦点評価値が高くなるように各フレーム画像につき値を算出する。記憶部12は、必要に応じて、図1においては不図示の画像処理部において画像処理された内視鏡画像とオートフォーカス部11において算出した焦点評価値とを対応付けて記憶する。   The autofocus unit 11 focuses the endoscopic image input from the scope 2. The autofocus unit 11 calculates a focus evaluation value for each frame image input from the scope 2 when focusing. For example, the autofocus unit 11 calculates a value for each frame image so that the focus evaluation value increases as the contrast value of the image increases. The storage unit 12 stores an endoscopic image image-processed by an image processing unit (not shown in FIG. 1) and a focus evaluation value calculated by the autofocus unit 11 in association with each other as necessary.

選択部13は、スコープ2が焦点の切り替えを行った際には、切り替えの前後の画像、あるいは焦点の切り替え開始から切り替え完了までの間に取得される画像の中から上記の焦点評価値の高い画像を記憶部12から取得する。選択部13は、記憶部12から取得した画像を映像出力部14に出力する。映像出力部14は、選択部13から入力された内視鏡画像を観察モニタ3に出力する。なお、映像出力部14は、通常(スコープ2において焦点の切り替えが行われていないとき)は、内視鏡映像(ライブ動画)のデータを観察モニタ3に出力している。   When the scope 2 switches the focus, the selection unit 13 has a high focus evaluation value from the images before and after the switching or the images acquired from the start of the focus switching to the completion of the switching. An image is acquired from the storage unit 12. The selection unit 13 outputs the image acquired from the storage unit 12 to the video output unit 14. The video output unit 14 outputs the endoscopic image input from the selection unit 13 to the observation monitor 3. Note that the video output unit 14 normally outputs data of an endoscopic video (live moving image) to the observation monitor 3 (when the focus is not switched in the scope 2).

CPU15は、フリーズ機能51、焦点切替機能52、焦点評価値比較機能53及び最適焦点画像記録機能54を有し、ビデオプロセッサ1の各部の制御を行うほか、例えば、スコープ2からの各種操作指示の受け付けや、スコープ2の動作の制御を行う。   The CPU 15 has a freeze function 51, a focus switching function 52, a focus evaluation value comparison function 53, and an optimum focus image recording function 54, and controls each part of the video processor 1, for example, various operation instructions from the scope 2. Acceptance and control of scope 2 operation.

CPU15が有する機能のうち、フリーズ機能51は、ユーザによるフリーズスイッチ操作によりスコープ2からフリーズスイッチ信号を受け付けた場合に、観察モニタ3に表示させる内視鏡映像を一時停止させて、観察モニタ3には静止画像を表示させる。   Among the functions of the CPU 15, the freeze function 51 temporarily stops the endoscope video to be displayed on the observation monitor 3 when the freeze switch signal is received from the scope 2 by the freeze switch operation by the user, and the observation monitor 3 Displays a still image.

焦点切替機能52は、スコープ2から焦点切替スイッチ信号やフリーズスイッチ信号を受信すると、あるいは、スコープ2からのレリーズスイッチ信号に基づきフリーズ機能51から指示をされると、スコープ2に対して焦点切替信号を送信し、焦点の切り替えを実行させる。   When the focus switching function 52 receives a focus switching switch signal or a freeze switch signal from the scope 2 or receives an instruction from the freeze function 51 based on the release switch signal from the scope 2, the focus switching signal is sent to the scope 2. To switch the focus.

焦点評価値比較機能53は、オートフォーカス部11にて算出した各フレーム画像の焦点評価値のうち、スコープ2において焦点の切り替えを行う前後や、切り替えの開始から終了までの間の画像についての焦点評価値を、画像と対応付けて記憶部12に記憶させておく。焦点評価値比較機能53は、記憶部12から必要な焦点評価値(群)を取得して、値の比較を行い、比較結果に基づき、記憶部12に最適焦点画像選択信号を送信する。そして、記憶部12に記憶されている画像の中から最も焦点評価値の高い画像を読み出す。読み出した最適焦点画像のデータは、選択部13またはCPU15に渡される。選択部13またはCPU15のいずれに最適焦点画像のデータを渡すかについては、スコープ2から受信したスイッチ信号による。上記のとおり、スイッチ信号が焦点切替信号やフリーズスイッチ信号である場合は、最適焦点画像のデータを選択部13に渡す。スイッチ信号がレリーズスイッチ信号である場合は、実施例では、最適焦点画像のデータは、CPU15(の最適焦点画像記録機能54)に渡すとともに、選択部13にも渡し、観察モニタ3に最適焦点画像を表示させている。   The focus evaluation value comparison function 53 is a focus evaluation value for the image before and after the focus switching in the scope 2 and from the start to the end of the switching among the focus evaluation values of the respective frame images calculated by the autofocus unit 11. The evaluation value is stored in the storage unit 12 in association with the image. The focus evaluation value comparison function 53 acquires a necessary focus evaluation value (group) from the storage unit 12, compares the values, and transmits an optimum focus image selection signal to the storage unit 12 based on the comparison result. Then, the image with the highest focus evaluation value is read from the images stored in the storage unit 12. The read data of the optimum focus image is transferred to the selection unit 13 or the CPU 15. The selection of the optimum focus image data to the selection unit 13 or the CPU 15 depends on the switch signal received from the scope 2. As described above, when the switch signal is a focus switching signal or a freeze switch signal, the data of the optimum focus image is passed to the selection unit 13. When the switch signal is a release switch signal, in the embodiment, the optimum focus image data is passed to the CPU 15 (optimum focus image recording function 54) and also to the selection unit 13, and the optimum focus image is sent to the observation monitor 3. Is displayed.

最適焦点画像記録機能54は、焦点評価値比較機能53により最も焦点が合っていると判定された画像を、記憶部12から受け取り、外部メモリ4に記録する。
ブザー16は、例えばCPU15の焦点評価値比較機能53による比較結果に基づき焦点切替機能52が作用することとなった場合、すなわち、ビデオプロセッサ1の判断によりスコープ2の焦点を切り替えることとなった場合に、音によりユーザにその旨等を報知する。ブザー16により、例えば、2焦点のそれぞれに対して異なる音を設定しておき、いずれの方が焦点が合っているかを報知することができる。あるいは、ブザー16により、切り替え前の方が焦点が合っている旨を報知することもできる。なお、ユーザへの報知は、ブザー16以外の手段によってもよく、例えば、観察モニタ3にメッセージを表示する等によってもよい。
The optimum focus image recording function 54 receives from the storage unit 12 an image determined to be most focused by the focus evaluation value comparison function 53 and records it in the external memory 4.
The buzzer 16 is, for example, when the focus switching function 52 is activated based on the comparison result by the focus evaluation value comparison function 53 of the CPU 15, that is, when the focus of the scope 2 is switched based on the judgment of the video processor 1. In addition, the sound is notified to the user. By using the buzzer 16, for example, different sounds can be set for each of the two focal points to notify which one is in focus. Alternatively, the buzzer 16 can notify that the pre-switching is in focus. Note that the user may be notified by means other than the buzzer 16, for example, by displaying a message on the observation monitor 3.

このように、本実施形態に係る内視鏡ビデオシステム100によれば、ドクター等のユーザが手元の操作部を介して内視鏡画像に係わる各種の操作を行った場合には、ビデオプロセッサ1は、スコープ2の焦点の切り替えを行わせて、最適焦点画像を判定する。具体的には、ユーザがスコープ2の焦点を切り替える操作を行った場合のほか、観察モニタ3に表示中の内視鏡映像を一時停止させるためにフリーズ操作を行った場合、内視鏡画像を外部メモリ4に記録するためにレリーズ操作を行った場合にも、最適焦点画像の判定を行う。   As described above, according to the endoscopic video system 100 according to the present embodiment, when a user such as a doctor performs various operations related to the endoscopic image via the operation unit at hand, the video processor 1 Causes the focus of the scope 2 to be switched to determine the optimum focus image. Specifically, in addition to the case where the user performs an operation of switching the focus of the scope 2, the endoscope image is displayed when the freeze operation is performed in order to temporarily stop the endoscope image being displayed on the observation monitor 3. Even when a release operation is performed for recording in the external memory 4, the optimum focus image is determined.

以下においては、まず、ビデオプロセッサ1において、スコープ2のユーザからそれぞれ所定の操作がなされた場合に、最適焦点に対応する画像の観察モニタ3や外部メモリ4等の外部装置への出力に関してどのような制御を行うかについて、図2を参照して説明することとする。   In the following, first, in the video processor 1, when a predetermined operation is performed by each user of the scope 2, how the image corresponding to the optimum focus is output to an external device such as the observation monitor 3 or the external memory 4 will be described. Whether to perform the control will be described with reference to FIG.

図2は、本実施形態に係るビデオプロセッサ1による全体動作の制御処理を示したフローチャートである。ビデオプロセッサ1のCPU15は、内視鏡検査等によって内視鏡ビデオシステム100の使用が開始されると、図2に示す一連の処理を開始する。図2においては、本実施形態に係わる動作のみを示している。   FIG. 2 is a flowchart showing the overall operation control process by the video processor 1 according to the present embodiment. When the use of the endoscopic video system 100 is started by endoscopic examination or the like, the CPU 15 of the video processor 1 starts a series of processes shown in FIG. FIG. 2 shows only the operation according to the present embodiment.

まず、ステップS101で、CPU15は、スコープ2からの焦点切替スイッチ信号がオフからオンに立ち上がるタイミングを検知したか否かを判定する。CPU15が、焦点切替スイッチ信号がオンに立ち上がったタイミングを検知すると(ステップS101でYesの場合)、ステップS102に進み、焦点切替スイッチ信号がオフのままである場合(ステップS101でNoの場合)は、ステップS103に進む。   First, in step S101, the CPU 15 determines whether or not the timing at which the focus changeover switch signal from the scope 2 rises from off to on is detected. When the CPU 15 detects the timing at which the focus changeover switch signal is turned on (Yes in step S101), the process proceeds to step S102, and the focus changeover switch signal remains off (in the case of No in step S101). The process proceeds to step S103.

ステップS102では、CPU15は、最適焦点選択制御処理を実行する。最適焦点選択制御処理とは、焦点を近焦点(NEAR)から遠焦点(FAR)へ、あるいはその逆へと切り替える際に、その間に取得される内視鏡画像の中から焦点が最も合っている画像を選択するために、内視鏡ビデオシステム100の各部を制御する処理をいう。ステップS102においては、ユーザから焦点切り替えの操作がなされた場合であるので、ここでは、焦点を切り替える前後の画像のうち、いずれの焦点が合っているかを判定し、対応する画像を選択するための制御を行う。ステップS102において最適焦点選択制御処理を終えると、CPU15は、図2の処理を終了する。   In step S102, the CPU 15 executes an optimum focus selection control process. The optimal focus selection control process is the best in focus among endoscopic images acquired during switching from near focus (NEAR) to far focus (FAR) or vice versa. This refers to processing for controlling each part of the endoscope video system 100 in order to select an image. In step S102, since the focus switching operation is performed by the user, it is determined here which of the images before and after switching the focus is determined and the corresponding image is selected. Take control. When the optimum focus selection control process is finished in step S102, the CPU 15 finishes the process of FIG.

ステップS103では、CPU15は、スコープ2からのフリーズスイッチ信号がオフからオンに立ち上がるタイミングを検知したか否かを判定する。CPU15が、フリーズスイッチ信号がオンに立ち上がったタイミングを検知すると(ステップS103でYesの場合)は、ステップS104に進む。フリーズスイッチ信号がオフのままである場合(ステップS103でNoの場合)は、ステップS108に進む。   In step S103, the CPU 15 determines whether or not the timing at which the freeze switch signal from the scope 2 rises from off to on is detected. When the CPU 15 detects the timing when the freeze switch signal rises to ON (in the case of Yes in step S103), the process proceeds to step S104. If the freeze switch signal remains off (No in step S103), the process proceeds to step S108.

ステップS104では、CPU15は、更に、フリーズ信号がオン/オフのいずれの状態であるかを判定する。すなわち、フリーズスイッチ信号がオフからオンに切り替わると、ビデオプロセッサ1のCPU15は、フリーズ機能51をオンからオフへ、あるいはオフからオンへと切り替える。既にフリーズ機能51がオンであるときに、フリーズスイッチ信号がオンに切り替わった場合は、フリーズ機能51をオフへと切り替える。他方、フリーズ機能51がオフであるときに、フリーズスイッチ信号がオンに切り替わった場合は、フリーズ機能51をオンへと切り替える。ステップS104の判定に用いるフリーズ信号は、図1のフリーズ機能51のオン/オフを表す信号である。ステップS104の判定において、フリーズ信号がオンである場合(ステップS104でYesの場合)は、ステップS107へ進む。フリーズ信号がオフである場合(ステップS104でNoの場合)は、ステップS105に進む。   In step S104, the CPU 15 further determines whether the freeze signal is on or off. That is, when the freeze switch signal is switched from OFF to ON, the CPU 15 of the video processor 1 switches the freeze function 51 from ON to OFF or from OFF to ON. If the freeze switch 51 is already turned on when the freeze function 51 is already on, the freeze function 51 is switched off. On the other hand, if the freeze switch signal is switched on when the freeze function 51 is off, the freeze function 51 is switched on. The freeze signal used for the determination in step S104 is a signal representing on / off of the freeze function 51 of FIG. If it is determined in step S104 that the freeze signal is on (Yes in step S104), the process proceeds to step S107. If the freeze signal is OFF (No in step S104), the process proceeds to step S105.

ステップS105では、CPU15(のフリーズ機能51)は、選択部13に向けて送出するフリーズ信号を、オフからオンへと切り替える。そして、ステップS106で、CPU15は、上記の最適焦点選択制御処理を実行し、処理を終了する。一方、ステップS107に進んだ場合は、ステップS107で、CPU15(のフリーズ機能51)は、フリーズ信号をオフにし、内視鏡映像の一時停止を解除すると、処理を終了する。   In step S105, the CPU 15 (the freeze function 51 thereof) switches the freeze signal to be sent to the selection unit 13 from off to on. In step S106, the CPU 15 executes the optimum focus selection control process and ends the process. On the other hand, if the process proceeds to step S107, the CPU 15 (freeze function 51) turns off the freeze signal and cancels the pause of the endoscope video in step S107, and the process ends.

ステップS106における最適焦点選択制御処理は、ユーザから観察モニタ3に表示中の内視鏡映像を一時停止させる旨の操作がなされた場合の制御処理である。本実施形態においては、一時停止の指示を受けると、スコープ2の焦点を切り替え、この間に取得される画像の中から最も焦点の合っている画像を判定し、対応する画像を観察モニタ3に表示するための制御を行う。ステップS106において最適焦点選択制御処理を終えると、CPU15は、図2の処理を終了する。   The optimum focus selection control process in step S106 is a control process performed when the user performs an operation for temporarily stopping the endoscope image being displayed on the observation monitor 3. In the present embodiment, upon receiving a pause instruction, the focus of the scope 2 is switched, the most focused image is determined from images acquired during this time, and the corresponding image is displayed on the observation monitor 3. To control. When the optimum focus selection control process is finished in step S106, the CPU 15 finishes the process of FIG.

ステップS103の判定の際、フリーズスイッチ信号はオフのままであるとして、ステップS108に進んだ場合には、ステップS108にて、CPU15は、更に、レリーズスイッチ信号がオフからオンに立ち上がるタイミングを検知したか否かを判定する。レリーズスイッチ信号がオフのままである場合(ステップS108でNoの場合)は、CPU15は、特に処理を行わず、図2の処理を終了する。   At the time of determination in step S103, assuming that the freeze switch signal remains off, when the process proceeds to step S108, in step S108, the CPU 15 further detects the timing at which the release switch signal rises from off to on. It is determined whether or not. If the release switch signal remains off (No in step S108), the CPU 15 does not perform any particular processing and ends the processing in FIG.

ステップS108において、CPU15が、レリーズスイッチ信号がオンに立ち上がるタイミングを検知すると(ステップS108でYesの場合)、ステップS109で、CPU15(のフリーズ機能51)は、選択部13に向けて送出するフリーズ信号を、オンに切り替える。そして、ステップS110で、CPU15は、ステップS102やステップS106と同様に、最適焦点選択制御処理を実行する。   In step S108, when the CPU 15 detects the timing when the release switch signal rises to ON (in the case of Yes in step S108), the CPU 15 (the freeze function 51) sends the freeze signal to the selection unit 13 in step S109. Switch on. In step S110, the CPU 15 executes an optimum focus selection control process in the same manner as in step S102 and step S106.

ステップS110における最適焦点選択制御処理は、ユーザから静止画像を外部メモリ4に記録する旨の操作がなされた場合の制御処理である。そこで、ここでは、焦点を切り替えて、この間に取得した画像の中から最も焦点の合っている画像を判定し、対応する画像を取得して、記録する画像を観察モニタ3に表示するための制御を行う。ステップS110において最適焦点選択制御処理を終えると、ステップS111に進む。   The optimum focus selection control process in step S110 is a control process when an operation for recording a still image in the external memory 4 is performed by the user. Therefore, here, the focus is switched, the most in-focus image is determined from the images acquired during this period, the corresponding image is acquired, and the image to be recorded is displayed on the observation monitor 3. I do. When the optimum focus selection control process is finished in step S110, the process proceeds to step S111.

ステップS111で、CPU15(の最適焦点画像記録機能54)は、ステップS110の処理で得られた最適焦点記録画像のデータを外部メモリ4に向けて出力する。そして、ステップS112で、CPU15(の最適焦点画像記録機能54)は、外部メモリ4における画像データの書き込みを制御する画像記録信号をオンにし、その後、ステップS113で、オフに戻す。ステップS114で、CPU15(のフリーズ機能51)は、フリーズ信号をオフに切り替え、図2の処理を終了する。   In step S <b> 111, the CPU 15 (the optimum focus image recording function 54) outputs the optimum focus recording image data obtained in the process of step S <b> 110 toward the external memory 4. In step S112, the CPU 15 (the optimum focus image recording function 54) turns on an image recording signal for controlling writing of image data in the external memory 4, and then turns it off in step S113. In step S114, the CPU 15 (freeze function 51 thereof) switches the freeze signal to OFF, and ends the process of FIG.

このように、ユーザが内視鏡画像に係わる各種操作を行った場合には、これに応じて、焦点の切り替えを行って最適焦点画像を選択し、選択した結果に基づき観察モニタ3や外部メモリ4に出力を行う。上記のとおり、最適焦点画像は、最適焦点選択制御処理によって判定する。次に、図3を参照して、図2のステップS102、ステップS106及びステップS110の「最適焦点選択制御処理」の詳細について説明することとする。   As described above, when the user performs various operations related to the endoscopic image, the focus is switched in accordance with the operation, and the optimum focus image is selected. Based on the selected result, the observation monitor 3 and the external memory are selected. 4 to output. As described above, the optimum focus image is determined by the optimum focus selection control process. Next, details of the “optimal focus selection control process” in steps S102, S106, and S110 in FIG. 2 will be described with reference to FIG.

図3は、最適焦点選択制御処理の詳細を示したフローチャートである。
まず、ステップS1で、CPU15は、スコープ2から1フレーム分の画像のデータの取り込みが完了した旨を表す内視鏡画像取込完了信号(図1においては不図示)がオフからオンに立ち上がるタイミングを検知したか否かを判定する。内視鏡画像取込完了信号がオフのままである場合は、1フレーム分の画像データの取り込みが完了するまで待機する(ステップS1でNoの場合)。内視鏡画像取込完了信号がオンに立ち上がるタイミングを検知すると(ステップS1でYesの場合)、ステップS2に進む。
FIG. 3 is a flowchart showing details of the optimum focus selection control process.
First, in step S1, the CPU 15 is a timing at which an endoscopic image capturing completion signal (not shown in FIG. 1) indicating that capturing of one frame of image data from the scope 2 is completed rises from OFF to ON. Whether or not is detected is determined. If the endoscope image capture completion signal remains off, the process waits until image data for one frame has been captured (No in step S1). When the timing when the endoscope image capture completion signal rises to ON is detected (Yes in step S1), the process proceeds to step S2.

ステップS2で、CPU15(の焦点切替機能52)により、スコープ2において焦点を切り替えさせるため、焦点切替信号をオンに切り替える。そして、ステップS3で、CPU15は、スコープ2から送信される焦点切替完了信号がオフからオンに立ち上がるタイミングを待ち受ける(ステップS3でNoの場合)。スコープ2において、焦点の切り替え動作が完了し、焦点切替完了信号がオンに立ち上がるタイミングをCPU15にて検知すると(ステップS3でYesの場合)、ステップS4に進む。ステップS4で、CPU15は、スコープ2の焦点を切り替える動作が完了したとして、焦点切替信号をオフに切り替え、ステップS5に進む。   In step S2, the focus switching signal is switched on in order to switch the focus in the scope 2 by the CPU 15 (the focus switching function 52). In step S3, the CPU 15 waits for a timing at which the focus switching completion signal transmitted from the scope 2 rises from off to on (in the case of No in step S3). When the focus switching operation is completed in the scope 2 and the timing at which the focus switching completion signal rises to ON is detected by the CPU 15 (Yes in step S3), the process proceeds to step S4. In step S4, assuming that the operation of switching the focus of the scope 2 is completed, the CPU 15 switches off the focus switching signal and proceeds to step S5.

ステップS5では、CPU15は、ステップS1と同様の判定を行う。ここでは、先のステップS4において焦点切替信号がオンからオフに切り替わったタイミングにおいてスコープ2から取り込み中であった画像のデータについて、取り込みが完了したか否かを判定している。ビデオプロセッサ1は、ステップS5で内視鏡画像取込完了信号がオンに立ち上がったタイミングを検知するまでの間に、nフレーム分の画像データをスコープ2から取り込み、記憶部12に記憶している。また、図1のオートフォーカス部11においては、nフレーム分の画像のそれぞれにつき焦点評価値を算出し、算出した焦点評価値を各画像と対応付けて記憶部12に記憶しているものとする。ステップS5で内視鏡画像取込完了信号がオンに立ち上がったタイミングを検知すると、ステップS6に進む。   In step S5, the CPU 15 performs the same determination as in step S1. Here, it is determined whether or not the capturing of the image data being captured from the scope 2 is completed at the timing when the focus switching signal is switched from on to off in the previous step S4. The video processor 1 captures n frames of image data from the scope 2 and stores it in the storage unit 12 until it detects the timing at which the endoscope image capture completion signal is turned on in step S5. . In addition, in the autofocus unit 11 in FIG. 1, a focus evaluation value is calculated for each of n frames of images, and the calculated focus evaluation value is stored in the storage unit 12 in association with each image. . When the timing at which the endoscope image capture completion signal rises to ON is detected in step S5, the process proceeds to step S6.

ステップS6で、CPU15(の焦点評価値比較機能53)は、記憶部12からnフレームの画像についての過去の焦点評価値群(1〜n)を取得する。ここで、記憶部12から取得する焦点評価値群を「過去の」焦点評価値群としている理由は、図3のステップS6の処理を実行している段階においても、スコープ2からビデオプロセッサ1にフレーム画像が順次入力され、オートフォーカス部11は、各フレーム画像について焦点評価値を算出しているためである。焦点切替信号がオン状態に切り替わってからオフ状態になるまでの間に取得した画像についての焦点評価値であることを表すため、ステップS6で取得する焦点評価値(群)については、「過去の」焦点評価値(群)としている。   In step S <b> 6, the CPU 15 (the focus evaluation value comparison function 53) acquires a past focus evaluation value group (1 to n) for the image of n frames from the storage unit 12. Here, the reason why the focus evaluation value group acquired from the storage unit 12 is the “past” focus evaluation value group is that the scope 2 sends the video processor 1 to the video processor 1 even during the process of step S6 in FIG. This is because frame images are sequentially input, and the autofocus unit 11 calculates a focus evaluation value for each frame image. The focus evaluation value (group) acquired in step S6 is expressed as “past evaluation value” in step S6 in order to indicate that it is a focus evaluation value for an image acquired during the period from when the focus switching signal is switched to the on state. “Focus evaluation value (group).

ステップS7で、CPU15(の焦点評価値比較機能53)は、ステップS6で取得したn個の焦点評価値を参照して、最適な焦点評価値を選択する。そして、ステップS8で、CPU15(の焦点評価値比較機能53)は、記憶部12に記憶するnフレーム分の画像の中からステップS7で選択した最適焦点評価値に対応する画像を選択する最適焦点画像選択信号を、記憶部12に送信する。   In step S7, the CPU 15 (the focus evaluation value comparison function 53) refers to the n focus evaluation values acquired in step S6, and selects an optimum focus evaluation value. In step S8, the CPU 15 (the focus evaluation value comparison function 53) selects the image corresponding to the optimum focus evaluation value selected in step S7 from the n frames of images stored in the storage unit 12. An image selection signal is transmitted to the storage unit 12.

ステップS9では、CPU15(の焦点評価値比較機能53)は、焦点評価値群(1〜n)を比較した結果をユーザに報知するための画像(焦点評価値比較結果画像)を作成し、映像出力部14に出力する。また、ステップS10で、CPU15(の焦点評価値比較機能53)は、ブザー16に対して制御信号を出力し、ステップS11に進む。ブザー16は、CPU15から受信した制御信号に基づき、所定の音によりユーザに焦点評価値を比較した結果と報知する。   In step S9, the CPU 15 (the focus evaluation value comparison function 53) creates an image (focus evaluation value comparison result image) for notifying the user of the result of comparing the focus evaluation value groups (1 to n), and the video. Output to the output unit 14. In step S10, the CPU 15 (the focus evaluation value comparison function 53) outputs a control signal to the buzzer 16, and proceeds to step S11. Based on the control signal received from the CPU 15, the buzzer 16 notifies the user of the result of comparing the focus evaluation values with a predetermined sound.

ステップS11で、CPU15は、上記の最適焦点選択制御処理において誤検出がなされていないかを確認するための処理を実行する。具体的には、焦点切り替え後の(n番目のフレームの)画像のデータと切り替え前の(1番目のフレームの)画像のデータとでピクセル間差分をとる。そして、2つの画像のピクセル間差分の値の積算値を所定の設定値と比較することにより、誤検出がなされていないかを確認する。当該積算値が所定の設定値よりも大きい場合には、焦点の切り替えの前後で動きがあり、焦点評価値にこの動きによる影響があったとして、無効な焦点評価値、すなわち、「誤検出あり」と判定する。積算値が所定の設定値以下である場合には、焦点の切り替えの前後で焦点評価値に影響を与える動きはなかった(あるいは所定の範囲内の動きであった)として、有効な焦点評価値、すなわち、「誤検出なし」と判定する。   In step S <b> 11, the CPU 15 executes a process for confirming whether a false detection has been made in the above-described optimum focus selection control process. Specifically, an inter-pixel difference is obtained between the image data after the focus switching (in the nth frame) and the image data before the switching (in the first frame). Then, by comparing the integrated value of the inter-pixel difference values of the two images with a predetermined set value, it is confirmed whether or not erroneous detection has been performed. When the integrated value is larger than the predetermined set value, there is a movement before and after the focus switching, and the focus evaluation value is influenced by this movement. Is determined. When the integrated value is less than or equal to the predetermined set value, there is no movement that affects the focus evaluation value before or after focus switching (or movement within a predetermined range), and an effective focus evaluation value That is, it is determined that “no false detection”.

ステップS12では、CPU15は、ステップS11において確認をした結果、誤検出なしと判定した場合は、ステップS13へと処理を移行させる。誤検出ありと判定した場合は、ステップS14へと処理を移行させる。   In step S12, if the CPU 15 determines that there is no false detection as a result of the confirmation in step S11, the process proceeds to step S13. If it is determined that there is a false detection, the process proceeds to step S14.

ステップS13では、CPU15は、ステップS6で記憶部12から取得した過去の焦点評価値群(1〜n)の中から、焦点切り替え前の焦点評価値(1)と切り替え後の焦点評価値(n)とで、その大きさを比較する。値の大きいほうが、より合焦位置に近いということができる。切り替え前の焦点評価値(1)の方が大きい場合(ステップS13でYesの場合)は、ステップS14に進む。切り替え前の焦点評価値(1)が切り替え後の焦点評価値(n)以下である場合(ステップS13でNoの場合)は、特に処理を行わず、最適焦点選択制御処理を終了する。   In step S13, the CPU 15 selects the focus evaluation value (1) before focus switching and the focus evaluation value (n after switching) from the past focus evaluation value group (1 to n) acquired from the storage unit 12 in step S6. ) And compare the size. It can be said that a larger value is closer to the in-focus position. When the focus evaluation value (1) before switching is larger (Yes in step S13), the process proceeds to step S14. When the focus evaluation value (1) before switching is equal to or less than the focus evaluation value (n) after switching (No in step S13), no process is performed and the optimum focus selection control process is terminated.

ステップS14以降では、より焦点評価値の高い方へと焦点を再度切り替える処理を実行する。まず、ステップS14で、CPU15(の焦点切替機能52)は、焦点切替信号をオンに切り替え、ステップS15でスコープ2からの焦点切替完了信号がオンに立ち上がるタイミングを待ち受ける。焦点切替完了信号がオンに切り替わると、ステップS16で焦点切替信号をオフにし、処理を終了する。   In step S14 and subsequent steps, processing for switching the focus again to a higher focus evaluation value is executed. First, in step S14, the CPU 15 (the focus switching function 52) switches on the focus switching signal, and waits for the timing at which the focus switching completion signal from the scope 2 rises on in step S15. When the focus switching completion signal is switched on, the focus switching signal is turned off in step S16, and the process is terminated.

上記のとおり、本実施形態に係る内視鏡ビデオシステム100では、ユーザからの指示に応じて焦点の切り替え制御、フリーズ制御及びレリーズ制御を行う際に、図3の最適焦点選択制御処理で最適な焦点と判断された画像を使用する。以下においては、焦点の切り替え制御、フリーズ制御及びレリーズ制御それぞれの具体的な内容について、図面を参照して説明する。
(焦点の切り替え制御)
As described above, in the endoscopic video system 100 according to the present embodiment, the optimum focus selection control process in FIG. 3 is optimal when performing focus switching control, freeze control, and release control in accordance with an instruction from the user. Use the image determined to be in focus. Hereinafter, specific contents of the focus switching control, the freeze control, and the release control will be described with reference to the drawings.
(Focus switching control)

まず、スコープ2の焦点の切り替え制御を行う際の最適焦点画像の利用方法について説明する。上記のとおり、ユーザにより焦点の切り替えが指示されると、ビデオプロセッサ1のCPU15は、図3の最適焦点選択制御処理を実行する。   First, a method of using an optimally focused image when performing focus switching control of the scope 2 will be described. As described above, when focus switching is instructed by the user, the CPU 15 of the video processor 1 executes the optimum focus selection control process of FIG.

このうち、図3のステップS9における焦点評価値の比較結果画像を作成する処理においては、映像出力部14の画像合成部41が、例えば、2つの焦点のうちのいずれの焦点がより合っているかをユーザに報知するメッセージを、内視鏡映像に合成する。この場合の合成画像例を、図4に示す。   Among these, in the process of creating the comparison result image of the focus evaluation values in step S9 in FIG. 3, for example, which of the two focal points is more in focus by the image composition unit 41 of the video output unit 14. Is combined with an endoscopic image. An example of the composite image in this case is shown in FIG.

図4に示すように、観察モニタ3の画面上には、内視鏡映像31と、近焦点(NEAR)または遠焦点(FAR)のうちいずれの方がより焦点が合っているかを示すメッセージ32とが合成された画像30が表示される。ユーザは、観察モニタ3に表示されるメッセージ32を参照して、焦点を元に戻すか、切り替え後の焦点で観察を続けるかを判断することができる。   As shown in FIG. 4, on the screen of the observation monitor 3, a message 32 indicating which one of the endoscopic image 31 and the near focus (NEAR) or far focus (FAR) is more in focus. An image 30 in which and are combined is displayed. The user can refer to the message 32 displayed on the observation monitor 3 to determine whether to return the focus to the original or to continue observation with the focus after switching.

あるいは、図3のステップS13乃至ステップS16の処理により、焦点を切り替える前の方がより焦点が合っているという場合には、ビデオプロセッサ1が、焦点を元に戻す制御を行ってもよい。この場合、図3の最適焦点選択制御処理は、ステップS12で誤検出がないと判定した場合には、特に処理を行わず、図3の処理を終了させる。このような制御とすることで、ユーザにとっては、再度焦点を切り替える操作等を特に行わなくとも、より焦点の合っている画像を用いて観察を継続することが可能となる。   Alternatively, when the process before Step S13 to Step S16 in FIG. 3 indicates that the focus is more focused before switching the focus, the video processor 1 may perform control to restore the focus. In this case, the optimum focus selection control process of FIG. 3 ends the process of FIG. 3 without performing any particular process when it is determined in step S12 that there is no erroneous detection. By adopting such control, it becomes possible for the user to continue observation using a more focused image without particularly performing an operation of switching the focus again.

図3のステップS13乃至ステップS16処理を実行するか否かについては、ユーザが設定可能な構成としてもよい。ビデオプロセッサ1の判断により必要に応じて焦点を戻す(ステップS13乃至ステップS16の処理を実行する構成とする)場合には、ステップS9で作成する合成画像41には、焦点を戻したか否かのメッセージを含める構成とすることが望ましい。ビデオプロセッサ1の判断によっては焦点を元に戻さない(ステップS13乃至ステップS16の処理は行わない構成とする)場合には、ステップS9で作成する合成画像41には、上記のとおり、2焦点のうちいずれの方が合っているかを報知するメッセージを含める構成とすることが望ましい。
(フリーズ制御)
Whether or not to execute Steps S13 to S16 in FIG. 3 may be configured to be settable by the user. When the focus is returned as necessary according to the judgment of the video processor 1 (the configuration is such that the processing in steps S13 to S16 is executed), whether or not the focus has been returned to the composite image 41 created in step S9. It is desirable to include a message. If the focus is not restored according to the determination of the video processor 1 (the processing in steps S13 to S16 is not performed), the composite image 41 created in step S9 has a bifocal as described above. It is desirable to include a message for informing which of them is suitable.
(Freeze control)

次に、観察モニタ3に表示中の内視鏡映像について一時停止させる旨の操作がなされた場合の最適焦点画像の利用方法について説明する。
図5は、フリーズ制御における各信号のタイムチャート図である。図5においては、フリーズ制御において内視鏡ビデオシステム100内の各部が出力する信号のタイムチャートに加えて、各タイミングにおいてスコープ2から入力される画像を最上段に記載している。記憶部12に記憶する画像及び観察モニタ3に出力される画像については、下の2段に記載している。
Next, a method for using the optimum focus image when an operation for temporarily stopping the endoscopic image being displayed on the observation monitor 3 will be described.
FIG. 5 is a time chart of each signal in the freeze control. In FIG. 5, in addition to a time chart of signals output from the respective units in the endoscope video system 100 in the freeze control, images input from the scope 2 at each timing are shown in the uppermost stage. The images stored in the storage unit 12 and the images output to the observation monitor 3 are described in the lower two stages.

図5を参照して、フリーズ制御の際にスコープ2及びビデオプロセッサ1の各部がどのような動作をし、観察モニタ3へはどのようにして最適焦点画像を表示するかを説明することとする。   With reference to FIG. 5, the operation of each part of the scope 2 and the video processor 1 during the freeze control and how to display the optimum focus image on the observation monitor 3 will be described. .

まず、スコープ2からスコープの操作信号であるフリーズスイッチ信号がオフからオンに立ち上がったタイミングをビデオプロセッサ1にて検知すると、CPU15のフリーズ機能51は、これに基づき、選択部13に送出するフリーズ信号をオフからオンに切り替える。これは、図2のステップS103でYesの場合(且つフリーズ信号がそれまでオフ状態であった場合)に相当する。フリーズ信号がオフからオンに切り替わると、CPU15の焦点切替機能52により、焦点切替信号をオフからオンへと切り替える。観察モニタ3には、フリーズ信号がオンに切り替わったタイミングの、すなわち、焦点切り替え前の「画像2」(を含む合成)画像の表示が継続されることとなる。   First, when the video processor 1 detects the timing at which the freeze switch signal, which is a scope operation signal from the scope 2, rises from off to on, the freeze function 51 of the CPU 15 sends the freeze signal to the selection unit 13 based on this. Switch from off to on. This corresponds to the case of Yes in step S103 in FIG. 2 (and the case where the freeze signal has been in an off state until then). When the freeze signal is switched from off to on, the focus switching function 52 of the CPU 15 switches the focus switching signal from off to on. The observation monitor 3 continues to display the “image 2” (including composite) image at the timing when the freeze signal is switched on, that is, before the focus is switched.

焦点の切り替え(図5においては遠焦点(FAR)から近焦点(NEAR)への切り替え)が完了すると、焦点切替機能52は、焦点切替信号をオンからオフへと切り替える。これは、図3のステップS2及びステップS4の処理に相当する。焦点切替信号がオンに切り替わったことを受けて、スコープ2では、焦点の切り替えを開始し、切り替えが完了すると、そのタイミングで焦点切替完了信号をオンに切り替える。ビデオプロセッサ1のCPU15(の焦点切替機能52)では、焦点切替完了信号がオンに立ち上がったタイミングを検知すると、焦点切替信号を再びオフへと切り替える。   When the focus switching (switching from the far focus (FAR) to the near focus (NEAR) in FIG. 5) is completed, the focus switching function 52 switches the focus switching signal from on to off. This corresponds to the processing in step S2 and step S4 in FIG. In response to the focus switching signal being switched on, the scope 2 starts switching the focus, and when the switching is completed, the focus switching completion signal is switched on at that timing. When the CPU 15 (the focus switching function 52) of the video processor 1 detects the timing when the focus switching completion signal rises to ON, the focus switching signal is switched OFF again.

この間に内視鏡装置側(スコープ2)から入力される画像のうち、フリーズ信号がオンに切り替わってからオフに切り替わるまでの画像、「画像2」から「画像6」までについて、オートフォーカス部11で順次焦点評価値を算出する。焦点評価値を算出すると、これと画像とを対応付けて記憶部12に記憶する。   Among the images inputted from the endoscope apparatus side (scope 2) during this period, the autofocus unit 11 for the images from “freeze signal” to “on” and “image 2” to “image 6”. The focus evaluation value is calculated in sequence. When the focus evaluation value is calculated, this is associated with the image and stored in the storage unit 12.

なお、記憶部12に記憶する画像2乃至画像6に関しては、画像2については切り替え前の焦点(遠焦点(FAR))の画像であり、画像6は切り替え後の焦点(近焦点(NEAR))の画像であり、画像3乃至5はその中間の画像である。   Regarding the images 2 to 6 stored in the storage unit 12, the image 2 is an image with a focus before switching (far focus (FAR)), and the image 6 has a focus after switching (near focus (NEAR)). The images 3 to 5 are intermediate images.

CPU15の焦点評価値比較機能53は、記憶部12から取得した画像2乃至画像6の焦点評価値を比較した結果、最適な焦点の画像は「画像6」と判定すると、選択部13を介して、映像出力部14に画像6を出力する。映像出力部14では、選択部13から入力される画像が「画像2」から「画像6」に切り替わると、これ以降は、画像6を含む合成画像を生成し、これを出力する。その後は、例えば所定の期間の経過後、あるいはユーザのフリーズ解除の操作により、通常の内視鏡映像(ライブ動画)の出力に戻す。   When the focus evaluation value comparison function 53 of the CPU 15 compares the focus evaluation values of the images 2 to 6 acquired from the storage unit 12 and determines that the optimally focused image is “image 6”, the selection unit 13 passes through the selection unit 13. The image 6 is output to the video output unit 14. When the image input from the selection unit 13 is switched from “image 2” to “image 6”, the video output unit 14 generates a composite image including the image 6 and outputs it. Thereafter, for example, after the elapse of a predetermined period or by the user's operation for releasing the freeze, the output is returned to the normal endoscopic video (live video).

フリーズ制御において、観察モニタ3に最も焦点の合っている静止画像を表示させる方法については、上記に限定されるものではない。例えば、CPU15の焦点評価値比較機能53により最適焦点画像の判定がなされ、画像6が映像出力部14を介して観察モニタ3に入力されるまでは、ライブ動画を表示させておく等でもよい。   In the freeze control, the method of displaying the still image most focused on the observation monitor 3 is not limited to the above. For example, a live moving image may be displayed until the optimum focus image is determined by the focus evaluation value comparison function 53 of the CPU 15 and the image 6 is input to the observation monitor 3 via the video output unit 14.

上記の例では、切り替え後の方が焦点が合っている場合を示しているが、切り替え前の方が焦点が合っている場合も起こり得る。このような場合には、ビデオプロセッサ1の判断により、焦点を元に戻す構成としてもよい。   In the above example, the case where the post-switching is in focus is shown, but the case where the pre-switching is in focus may also occur. In such a case, the focus may be returned to the original by the determination of the video processor 1.

図5を例にとると、「画像2」が最適焦点画像であると判断した場合には、CPU15の焦点切替機能52により、再び焦点切替信号をオンに切り替えて、スコープ2に焦点の切り替えを指示する構成としてもよい。この場合、焦点切替信号を再度オンに切り替えるタイミングは、CPU15にて最適焦点画像を判定した後、すなわち、図5では、スコープ2から「画像7」のデータが入力される期間から焦点の切り替えを開始するタイミングである。この場合、スコープ2では、例えば遠焦点(FAR)から近焦点(NEAR)への切り替えに要した焦点切替遷移期間Tと同じ期間をかけて、近焦点(NEAR)から遠焦点(FAR)へと切り替えが実施される。この場合の焦点の状態を図5においては破線で示している。スコープ2からの焦点切替完了信号がオンに切り替わったタイミングで焦点切替信号をオンからオフに切り替える点については、先と同様である。   Taking FIG. 5 as an example, when it is determined that “image 2” is the optimum focus image, the focus switching function 52 of the CPU 15 switches the focus switching signal on again to switch the focus to the scope 2. It may be configured to instruct. In this case, the focus switching signal is turned on again after the optimum focus image is determined by the CPU 15, that is, in FIG. 5, the focus is switched from the period when the data of “image 7” is input from the scope 2. It is time to start. In this case, in the scope 2, for example, from the near focus (NEAR) to the far focus (FAR) over the same period as the focus switching transition period T required for switching from the far focus (FAR) to the near focus (NEAR). Switching is performed. The focus state in this case is indicated by a broken line in FIG. The point that the focus switching signal is switched from on to off at the timing when the focus switching completion signal from the scope 2 is switched on is the same as described above.

更には、焦点切り替えの途中で取得した画像の焦点が最も合っていると判定される事態も想定される。図5の例では、焦点評価値を比較した結果、画像3乃至5のいずれかが最適焦点画像と判断されることも起こり得る。このような場合には、例えば、観察モニタ3には最適焦点画像と判断した画像を表示させつつ、焦点については、切り替えの前後でいずれの焦点に近いかを判定し、焦点を元に戻すか否かを判定する構成とすることができる。例えば、画像3が最適焦点画像と判定した場合には、切り替え前の焦点に戻し、画像5が最適焦点画像と判定した場合には、焦点を近焦点(NEAR)に切り替えた状態を維持する構成としてもよい。画像4が最適焦点画像と判定した場合には、切り替え後の状態を維持するか否かを任意のタイミング(観察開始前、あるいは最適焦点の判定後)でユーザが設定可能な構成としてもよい。   Furthermore, it is assumed that the image acquired during the focus switching is determined to be in the best focus. In the example of FIG. 5, as a result of comparing the focus evaluation values, any of the images 3 to 5 may be determined as the optimum focus image. In such a case, for example, while the image determined to be the optimum focus image is displayed on the observation monitor 3, it is determined whether the focus is close to the focus before and after the switching, and the focus is returned to the original. It can be configured to determine whether or not. For example, when the image 3 is determined as the optimum focus image, the focus is returned to the focus before switching, and when the image 5 is determined as the optimum focus image, the state in which the focus is switched to the near focus (NEAR) is maintained. It is good. When it is determined that the image 4 is the optimum focus image, it may be configured such that the user can set whether or not to maintain the state after switching at any timing (before the start of observation or after the determination of the optimum focus).

このように、最適焦点画像を得るために焦点を切り替えた結果、より合っている方に焦点を切り替える構成とするのか、あるいは、ユーザは「フリーズ」を指示したのであるから、一律に焦点を切り替え前の状態に戻す構成とするのかについては、ユーザが設定可能な構成としてもよい。
(レリーズ制御)
In this way, as a result of switching the focus to obtain an optimally focused image, the focus is switched to the more suitable one, or the user has instructed “freeze”, so the focus is switched uniformly. As to whether to return to the previous state, a configuration that can be set by the user may be used.
(Release control)

最後に、観察モニタ3に内視鏡映像を表示させている間に静止画像を記録する旨の操作がなされた場合の最適焦点画像の利用方法について説明する。
図6は、レリーズ制御における各信号のタイムチャート図である。図6においては、図5と同様に、内視鏡ビデオシステム100内の各部が出力する信号のタイムチャートに加え、各タイミングにおいてスコープ2から入力される画像を最上段に記載している。記憶部12に記憶する画像及び観察モニタ3に出力される画像については、下の2段に記載している。
Finally, a method for using the optimum focus image when an operation for recording a still image is performed while displaying an endoscopic image on the observation monitor 3 will be described.
FIG. 6 is a time chart of each signal in the release control. In FIG. 6, similarly to FIG. 5, in addition to the time chart of the signals output from the respective units in the endoscopic video system 100, the image input from the scope 2 at each timing is shown in the uppermost stage. The images stored in the storage unit 12 and the images output to the observation monitor 3 are described in the lower two stages.

図6を参照して、レリーズ制御の際にスコープ2及びビデオプロセッサ1の各部がどのような動作をし、外部メモリ4等へはどのように最適焦点画像を出力するかを説明することとする。   With reference to FIG. 6, the operation of each part of the scope 2 and the video processor 1 during the release control and how to output the optimum focus image to the external memory 4 and the like will be described. .

まず、スコープ2からスコープの操作信号であるレリーズスイッチ信号がオフからオンに立ち上がったタイミングをビデオプロセッサ1にて検知すると、CPU15のフリーズ機能51は、これに基づき、選択部13に送出するフリーズ信号をオフからオンに切り替える。実施例では、外部メモリ4に記録する静止画像を観察モニタ3にも表示させる構成としているため、このタイミングでフリーズ信号をオンに切り替えている。観察モニタ3には、フリーズ信号がオンに切り替わったタイミングの、すなわち、焦点切り替え前の「画像2」(を含む合成)画像の表示が継続されることとなる。   First, when the video processor 1 detects the timing at which the release switch signal, which is a scope operation signal from the scope 2, rises from OFF to ON, the freeze function 51 of the CPU 15 sends a freeze signal to the selection unit 13 based on this. Switch from off to on. In the embodiment, since the still image recorded in the external memory 4 is also displayed on the observation monitor 3, the freeze signal is switched on at this timing. The observation monitor 3 continues to display the “image 2” (including composite) image at the timing when the freeze signal is switched on, that is, before the focus is switched.

フリーズ信号がオフからオンに切り替わると、CPU15の焦点切替機能52により、焦点切替信号をオフからオンへと切り替える。以降の焦点の切り替えにかかわる動作については、上記のフリーズ制御の場合と同様である。すなわち、焦点切替信号がオンに切り替わったことに伴う焦点の状態の遷移(FARからNEARへの遷移)、及び焦点切替完了信号がオンになったタイミングで焦点切替信号をオフに切り替えるまでの動きについては、図5のフリーズ制御の場合と同様である。   When the freeze signal is switched from off to on, the focus switching function 52 of the CPU 15 switches the focus switching signal from off to on. The subsequent operations related to focus switching are the same as in the case of the freeze control described above. That is, regarding the transition of the focus state (the transition from FAR to NEAR) associated with the switching of the focus switching signal, and the movement until the focus switching signal is switched off at the timing when the focus switching completion signal is turned on. Is the same as in the case of the freeze control of FIG.

この間に内視鏡装置側(スコープ2)から入力される画像のうち、フリーズ信号がオンに切り替わってからオフに切り替わるまでの画像、「画像2」から「画像5」までについて、オートフォーカス部11で順次焦点評価値を算出する。焦点評価値を算出すると、これと画像とを対応付けて記憶部12に記憶する。このうち、画像2は切り替え前の遠焦点(FAR)の画像、画像5は近焦点(NEAR)の画像、画像3及び4はその中間の画像である。   Among the images input from the endoscope apparatus side (scope 2) during this period, the auto focus unit 11 performs the images from “image 2” to “image 5” from when the freeze signal is switched on to when the freeze signal is switched off. The focus evaluation value is calculated in sequence. When the focus evaluation value is calculated, this is associated with the image and stored in the storage unit 12. Of these, image 2 is a far-focus (FAR) image before switching, image 5 is a near-focus (NEAR) image, and images 3 and 4 are intermediate images.

CPU15の焦点評価値比較機能53は、記憶部12から取得した画像2乃至画像5の焦点評価値を比較した結果、最適な焦点の画像は「画像5」と判定すると、最適焦点画像記録機能54は、画像5のデータを外部メモリ4に向けて出力する。そして、CPU15の焦点評価値比較機能53は、画像記録信号を外部メモリ4に送信して、画像5のデータの書き込みを行わせる。これとともに、図6に示す例では、選択部13を介して、映像出力部14には画像5を出力する。映像出力部14では、選択部13から入力される画像が「画像5」に切り替わると、これ以降は、画像5を含む合成画像を生成し、これを出力する。その後は、例えば所定の期間の経過後、あるいは外部メモリ4への記録が完了したことをもって、通常の内視鏡映像(ライブ動画)の出力に戻す。   When the focus evaluation value comparison function 53 of the CPU 15 compares the focus evaluation values of the images 2 to 5 acquired from the storage unit 12 and determines that the image with the optimum focus is “image 5”, the optimum focus image recording function 54. Outputs the image 5 data to the external memory 4. Then, the focus evaluation value comparison function 53 of the CPU 15 transmits the image recording signal to the external memory 4 to write the data of the image 5. In addition, in the example illustrated in FIG. 6, the image 5 is output to the video output unit 14 via the selection unit 13. When the image input from the selection unit 13 is switched to “image 5”, the video output unit 14 generates a composite image including the image 5 and outputs it. Thereafter, for example, after the elapse of a predetermined period or when the recording in the external memory 4 is completed, the output is returned to a normal endoscopic video (live video).

レリーズ制御の場合においても、フリーズ制御の場合と同様に、最適焦点画像を求めた後に、ビデオプロセッサ1の判断により、より焦点の合っている方に切り替えを行う(あるいは切り替え後の状態を維持する)構成としてもよい。あるいは、ユーザは「レリーズ」を指示したのであるから、一律に焦点を元に戻す構成としてもよい。いずれの構成にするかをユーザが設定可能な構成としてもよい。最適焦点画像を求めた後、焦点を元に戻す場合の制御や、切り替え途中の画像が最適焦点画像である場合の外部メモリ4や観察モニタ3へのデータの出力方法等については、上記フリーズ制御の場合と同様である。   In the case of the release control as well, in the same way as in the case of the freeze control, after obtaining the optimally focused image, the video processor 1 performs switching to the more focused one (or maintains the state after switching). ) Configuration is also possible. Alternatively, since the user has instructed “release”, the focus may be uniformly restored. It is good also as a structure which a user can set which structure is made. The control for returning the focus after obtaining the optimum focus image, and the method for outputting data to the external memory 4 and the observation monitor 3 when the image in the middle of switching is the optimum focus image, etc. are described above. It is the same as the case of.

以上説明したように、本実施形態に係る内視鏡システム100によれば、2焦点切り替え機能を有するスコープ2において、焦点を切り替えた場合には、ビデオプロセッサ1のオートフォーカス部11にて算出する焦点評価値により、切り替えの前後でいずれの焦点が合っているかを判定する。これに基づき観察モニタ3に画像を出力しつつ、切り替え前の方が焦点が合っていると判定した場合には、焦点を切り替え前の状態に戻す。このように、観察に適した画像をビデオプロセッサ1にて客観的に判断し、判断した結果をユーザに提示することで、ユーザが最適な焦点で観察することが可能となる。   As described above, according to the endoscope system 100 according to the present embodiment, when the focus is switched in the scope 2 having the bifocal switching function, the calculation is performed by the autofocus unit 11 of the video processor 1. Based on the focus evaluation value, it is determined which one is in focus before and after switching. Based on this, when it is determined that the image before the switching is in focus while outputting an image to the observation monitor 3, the focus is returned to the state before the switching. As described above, the video processor 1 objectively determines an image suitable for observation, and presents the determined result to the user, so that the user can observe with an optimum focus.

また、フリーズやレリーズの操作があった場合にも、ビデオプロセッサ1は、スコープ2の焦点の切り替えを行わせ、オートフォーカス部11にて算出する焦点評価値により、切り替え開始から切り替え完了までの間に取得される画像の中から最も焦点の合っている最適焦点画像を判定する。そして、最適焦点画像を観察モニタ3に出力する。このように、最も焦点の合っている画像、すなわち観察に適した画像をビデオプロセッサ1にて客観的に判断し、判断した結果をユーザに提示することで、ユーザが最適な焦点で観察することが可能となる。   In addition, when the freeze or release operation is performed, the video processor 1 switches the focus of the scope 2, and from the start of switching to the completion of switching based on the focus evaluation value calculated by the autofocus unit 11. The optimally focused image that is most in focus is determined from among the images acquired at the same time. Then, the optimum focus image is output to the observation monitor 3. In this way, the most focused image, that is, an image suitable for observation is objectively determined by the video processor 1, and the determined result is presented to the user so that the user can observe with the optimum focus. Is possible.

本発明は、上述した実施形態そのままに限定されるものではく、実施段階でのその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素を適宜組み合わせても良い。更に、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。このような、発明の趣旨を逸脱しない範囲内において種々の変形や応用が可能であることはもちろんである。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, all the constituent elements shown in the embodiments may be appropriately combined. Furthermore, constituent elements over different embodiments may be appropriately combined. It goes without saying that various modifications and applications are possible without departing from the spirit of the invention.

Claims (2)

焦点を切り替え可能なスコープと、前記スコープにより得られた内視鏡映像データを画像処理して出力するビデオプロセッサと、前記ビデオプロセッサから出力される内視鏡映像データを表示する観察モニタとからなる内視鏡ビデオシステムであって、
前記スコープは、
ユーザによる焦点切り替え操作に応じて焦点を切り替える2焦点切り替え部を有し、
前記ビデオプロセッサは、
前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、
焦点切り替え前に得られた焦点評価値と、切り替え後に得られた焦点評価値とを比較し、比較結果に基づいて、どちらの焦点が合っているかを判定する判定部と、
前記判定部の判定結果に基づき、前記内視鏡映像データを前記観察モニタに出力する出力部と、
前記判定部により焦点が合っていると判定された内視鏡映像データを前記出力部に出力する選択部と、
を有し、
前記2焦点切り替え部は、前記判定部により切り替え前の焦点が合っていると判定された場合は、前記ビデオプロセッサからの指示にしたがって、切り替え前の焦点の状態に戻し、
前記出力部は、前記判定部による判定結果を前記内視鏡映像データと合成した合成映像データを生成する合成部を含み、前記判定部により切り替え後の焦点が合っていると判定された場合は、前記選択部から入力された切り替え後の内視鏡映像データを出力し、切り替え前の焦点が合っていると判定された場合は、前記合成部において、前記判定部からの通知に基づき、焦点の切り替えを行わない旨の情報を前記切り替え前の内視鏡映像データと合成した合成映像データを生成する、
ことを特徴とする内視鏡ビデオシステム。
A scope capable of switching a focus, a video processor for processing and outputting endoscopic video data obtained by the scope, and an observation monitor for displaying endoscopic video data output from the video processor An endoscopic video system,
The scope is
A two-focus switching unit that switches a focus according to a focus switching operation by a user;
The video processor is
A calculation unit that calculates a focus evaluation value based on the endoscope video data;
A determination unit that compares the focus evaluation value obtained before the focus switching with the focus evaluation value obtained after the switching, and determines which one is in focus based on the comparison result;
Based on the determination result of the determination unit, an output unit that outputs the endoscope video data to the observation monitor;
A selection unit that outputs the endoscope video data determined to be in focus by the determination unit to the output unit;
Have
The bifocal switching unit, when the focus of the pre-switching by the determination unit determines matching, in accordance with an instruction from the video processor, to return to the state of focus before switching,
The output unit includes a synthesis unit that generates synthesized video data obtained by synthesizing the determination result of the determination unit with the endoscopic video data, and when the determination unit determines that the focus after switching is in focus , When the endoscope video data after switching input from the selection unit is output and it is determined that the focus before switching is in focus, the synthesizing unit determines the focus based on the notification from the determination unit. Generating combined video data by combining information indicating that switching is not performed with the endoscope video data before switching,
An endoscopic video system characterized by that.
焦点を切り替え可能なスコープにより得られた内視鏡映像データを画像処理し、観察モニタに画像処理した内視鏡映像データを出力するビデオプロセッサであって、
前記内視鏡映像データに基づいて焦点評価値を算出する算出部と、
前記スコープにおいてユーザによる焦点切り替え操作に応じて焦点を切り替える前に得られた焦点評価値と、切り替え後に得られた焦点評価値とを比較し、比較結果に基づいて、どちらの焦点が合っているかを判定する判定部と、
前記判定部の判定結果に基づき、前記内視鏡映像データを前記観察モニタに出力する出力部と、
前記判定部により焦点が合っていると判定された内視鏡映像データを前記出力部に出力する選択部と、
を有し、
前記判定部により切り替え前の焦点が合っていると判定された場合は、前記スコープに対し、切り替え前の焦点の状態に戻すよう指示し、
前記出力部は、前記判定部による判定結果を前記内視鏡映像データと合成した合成映像データを生成する合成部を含み、前記判定部により切り替え後の焦点が合っていると判定された場合は、前記選択部から入力された切り替え後の内視鏡映像データを出力し、切り替え前の焦点が合っていると判定された場合は、前記合成部において、前記判定部からの通知に基づき、焦点の切り替えを行わない旨の情報を前記切り替え前の内視鏡映像データと合成した合成映像データを生成することを特徴とするビデオプロセッサ。
A video processor that performs endoscopic video data obtained by a scope capable of switching a focus and outputs endoscopic video data subjected to image processing to an observation monitor,
A calculation unit that calculates a focus evaluation value based on the endoscope video data;
The focus evaluation value obtained before switching the focus in accordance with the focus switching operation by the user in the scope is compared with the focus evaluation value obtained after the switching, and which is in focus based on the comparison result. A determination unit for determining
Based on the determination result of the determination unit, an output unit that outputs the endoscope video data to the observation monitor;
A selection unit that outputs the endoscope video data determined to be in focus by the determination unit to the output unit;
Have
If it is determined by the determination unit that the focus before switching is in focus, the scope is instructed to return to the focus before switching ,
The output unit includes a synthesis unit that generates synthesized video data obtained by synthesizing the determination result of the determination unit with the endoscopic video data, and when the determination unit determines that the focus after switching is in focus , When the endoscope video data after switching input from the selection unit is output and it is determined that the focus before switching is in focus, the synthesizing unit determines the focus based on the notification from the determination unit. A video processor for generating combined video data by combining information indicating that switching is not performed with the endoscope video data before switching .
JP2016506927A 2014-05-27 2015-05-22 Endoscopic video system and video processor Active JP5927369B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2014108955 2014-05-27
JP2014108955 2014-05-27
PCT/JP2015/064770 WO2015182519A1 (en) 2014-05-27 2015-05-22 Endoscope video system and video processor

Publications (2)

Publication Number Publication Date
JP5927369B2 true JP5927369B2 (en) 2016-06-01
JPWO2015182519A1 JPWO2015182519A1 (en) 2017-04-20

Family

ID=54698851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016506927A Active JP5927369B2 (en) 2014-05-27 2015-05-22 Endoscopic video system and video processor

Country Status (2)

Country Link
JP (1) JP5927369B2 (en)
WO (1) WO2015182519A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116981388A (en) * 2021-03-03 2023-10-31 富士胶片株式会社 Endoscope system and working method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425836A (en) * 1988-06-16 1989-01-27 Olympus Optical Co Endoscopic apparatus
JPH08107877A (en) * 1994-10-12 1996-04-30 Olympus Optical Co Ltd Endoscope camera
JPH10179506A (en) * 1996-12-20 1998-07-07 Olympus Optical Co Ltd Endoscope device
JP2001037703A (en) * 1996-09-30 2001-02-13 Olympus Optical Co Ltd Endoscope device
JP2006288432A (en) * 2005-04-05 2006-10-26 Olympus Medical Systems Corp Electronic endoscope
JP2013080108A (en) * 2011-10-04 2013-05-02 Olympus Corp Focus control device, endoscope apparatus, and focus control method
JP2013230319A (en) * 2012-05-02 2013-11-14 Olympus Corp Endoscope instrument and method for controlling endoscope instrument

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425836A (en) * 1988-06-16 1989-01-27 Olympus Optical Co Endoscopic apparatus
JPH08107877A (en) * 1994-10-12 1996-04-30 Olympus Optical Co Ltd Endoscope camera
JP2001037703A (en) * 1996-09-30 2001-02-13 Olympus Optical Co Ltd Endoscope device
JPH10179506A (en) * 1996-12-20 1998-07-07 Olympus Optical Co Ltd Endoscope device
JP2006288432A (en) * 2005-04-05 2006-10-26 Olympus Medical Systems Corp Electronic endoscope
JP2013080108A (en) * 2011-10-04 2013-05-02 Olympus Corp Focus control device, endoscope apparatus, and focus control method
JP2013230319A (en) * 2012-05-02 2013-11-14 Olympus Corp Endoscope instrument and method for controlling endoscope instrument

Also Published As

Publication number Publication date
WO2015182519A1 (en) 2015-12-03
JPWO2015182519A1 (en) 2017-04-20

Similar Documents

Publication Publication Date Title
US9781351B2 (en) Zooming control device and method for controlling zooming control device
JP5661367B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP2011027902A5 (en) Image pickup apparatus and control method of image pickup apparatus
JP2008072513A5 (en)
JP2008099246A (en) Imaging device and subject detection method
US10477101B2 (en) Focus detection apparatus, control method and storage medium
JP2018037959A5 (en)
JP2011166641A (en) Image pickup apparatus
JP6600362B2 (en) Endoscope apparatus and method for operating endoscope apparatus
JP2012226184A5 (en) Imaging apparatus and control method thereof
JP2017227725A5 (en)
JP5638890B2 (en) Imaging apparatus, imaging method, and program
JP5927369B2 (en) Endoscopic video system and video processor
JP2008310072A5 (en)
JP6516426B2 (en) Image pickup apparatus, image processing method and program
JP5328528B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5409201B2 (en) Focus detection apparatus and focus detection method
JP5109867B2 (en) Digital camera
JP2006030972A5 (en)
US10542866B2 (en) Medical imaging device
JP6489876B2 (en) Imaging apparatus and control method thereof
JP2011097130A (en) Imaging device
WO2023157567A1 (en) Capillary imaging system, server device for capillary imaging system, and capillary imaging program
US11670112B2 (en) Image processing apparatus, image processing method, and image capture apparatus
US11050923B2 (en) Imaging apparatus and control method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20160331

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160425

R151 Written notification of patent or utility model registration

Ref document number: 5927369

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250