JP2014014429A - Image processor, image file storage method, image file storage program, and electronic endoscope system - Google Patents

Image processor, image file storage method, image file storage program, and electronic endoscope system Download PDF

Info

Publication number
JP2014014429A
JP2014014429A JP2012152540A JP2012152540A JP2014014429A JP 2014014429 A JP2014014429 A JP 2014014429A JP 2012152540 A JP2012152540 A JP 2012152540A JP 2012152540 A JP2012152540 A JP 2012152540A JP 2014014429 A JP2014014429 A JP 2014014429A
Authority
JP
Japan
Prior art keywords
image file
external storage
stored
internal memory
storage device
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.)
Pending
Application number
JP2012152540A
Other languages
Japanese (ja)
Inventor
Yosuke Tashiro
陽資 田代
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.)
Hoya Corp
Original Assignee
Hoya 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 Hoya Corp filed Critical Hoya Corp
Priority to JP2012152540A priority Critical patent/JP2014014429A/en
Publication of JP2014014429A publication Critical patent/JP2014014429A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)

Abstract

PROBLEM TO BE SOLVED: To store a real time image even when a write error in an external storage device occurs.SOLUTION: An image processor comprises an internal memory, image file generation means for processing a signal from an imaging device to generate an image file, first storage propriety determination means for determining the propriety of storing the image file in a prescribed external storage device, and first storage processing execution means for storing the image file by transferring the image file to the external storage device in the case of determining that the image file can be stored in the external storage device, and storing the image file in the internal memory in the case of determining that the image file cannot be stored in the external storage device. The image file stored in the internal memory is stored even after the power of the image processor is disconnected, and the image can be erased or transferred to the external storage device when the power is supplied again.

Description

本発明は、撮像装置からの信号を処理して画像ファイルを生成する画像処理装置及び電子内視鏡システムに関連し、詳しくは、外部記憶装置への書き込みエラー発生時にもリアルタイムな画像を保存することができる画像処理装置、画像ファイル保存方法、画像ファイル保存プログラム、及び電子内視鏡システムに関する。   The present invention relates to an image processing apparatus and an electronic endoscope system that process a signal from an imaging apparatus to generate an image file, and more specifically, save a real-time image even when a write error occurs in an external storage device. The present invention relates to an image processing apparatus, an image file storage method, an image file storage program, and an electronic endoscope system.

電子内視鏡システムは、例えば特許文献1に記載されているように、フリーズ操作時に撮影された画像をファイル化して外部ストレージに転送して保存する。術者は、外部ストレージに保存された画像ファイルにアクセスして、病変部の診断や解析、電子カルテの作成等を行う。外部ストレージには、PC(Personal Computer)、ネットワークを通じてプロセッサに接続されたファイルサーバ、USB(Universal Serial Bus)メモリ等のリムーバブルメディア等がある。   As described in Patent Document 1, for example, the electronic endoscope system converts an image captured during a freeze operation into a file, transfers it to an external storage, and stores it. The surgeon accesses the image file stored in the external storage, and diagnoses and analyzes the lesion, creates an electronic medical record, and the like. The external storage includes a PC (Personal Computer), a file server connected to a processor through a network, a removable medium such as a USB (Universal Serial Bus) memory, and the like.

特開2009−213630号公報JP 2009-213630 A

この種の電子内視鏡システムにおいて外部ストレージの接続エラーや記憶容量不足による書き込みエラーが発生した場合、それ以降、エラー原因が解消されない限り、体腔内のリアルタイムな画像を保存することができない。この場合、電子内視鏡システムによる体腔内の観察の中断を余儀なくされるなど、不都合が大きかった。   In this type of electronic endoscope system, when an external storage connection error or a writing error due to insufficient storage capacity occurs, a real-time image inside the body cavity cannot be saved unless the cause of the error is resolved. In this case, inconveniences such as the necessity of interrupting observation inside the body cavity by the electronic endoscope system were large.

上記の課題を解決する本発明の一形態に係る画像処理装置は、内部メモリと、撮像装置からの信号を処理して画像ファイルを生成する画像ファイル生成手段と、所定の外部記憶装置に対する画像ファイルの保存の可否を判定する第一の保存可否判定手段と、画像ファイルを外部記憶装置に保存できると判定された場合は該画像ファイルを該外部記憶装置に転送して保存し、該画像ファイルを該外部記憶装置に保存できないと判定された場合は該画像ファイルを内部メモリに保存する第一の保存処理実行手段とを有することを特徴とした装置である。   An image processing apparatus according to an aspect of the present invention that solves the above problems includes an internal memory, an image file generation unit that processes a signal from an imaging apparatus to generate an image file, and an image file for a predetermined external storage device A first storage permission determination unit that determines whether the image file can be stored; and when it is determined that the image file can be stored in the external storage device, the image file is transferred to the external storage device and stored; When it is determined that the image file cannot be stored in the external storage device, the device includes a first storage processing execution unit that stores the image file in an internal memory.

本発明に係る画像処理装置によれば、外部記憶装置への書き込みエラー発生時にもリアルタイムな画像を保存することができる。そのため、例えば、重要な資料である内視鏡画像の喪失が避けられると共に、電子内視鏡システムによる体腔内の観察の中断等の不都合も有効に避けられる。   According to the image processing apparatus of the present invention, a real-time image can be stored even when a write error to the external storage device occurs. For this reason, for example, loss of an endoscopic image, which is an important material, can be avoided, and inconveniences such as interruption of observation in a body cavity by an electronic endoscope system can be effectively avoided.

第一の保存処理実行手段は、画像ファイルの外部記憶装置への保存ができない原因を示す付帯情報を該画像ファイルに付帯させたうえで、該画像ファイルを内部メモリに保存する構成としてもよい。   The first storage processing execution means may be configured to store the image file in the internal memory after adding the additional information indicating the reason why the image file cannot be stored in the external storage device to the image file.

本発明に係る画像処理装置は、内部メモリに保存された画像ファイルを外部記憶装置に転送して保存できるか否かを判定する第二の保存可否判定手段と、第二の保存可否判定手段の判定結果に従って内部メモリ内の画像ファイルの外部記憶装置への転送及び保存を行う第二の保存処理実行手段とを有する構成としてもよい。   An image processing apparatus according to the present invention includes: a second storage permission determination unit that determines whether an image file stored in an internal memory can be transferred to an external storage device and stored; and a second storage permission determination unit A second storage processing execution unit that transfers and stores the image file in the internal memory to the external storage device according to the determination result may be used.

付帯情報には、例えば画像ファイルの転送が予定されていた外部記憶装置の識別情報が含まれている。この場合、第二の保存処理実行手段は、第二の保存可否判定手段の判定結果に従い、内部メモリ内の画像ファイルを識別情報によって特定される外部記憶装置に転送して保存する。   The accompanying information includes, for example, identification information of the external storage device to which the image file is scheduled to be transferred. In this case, the second storage processing execution unit transfers the image file in the internal memory to the external storage device specified by the identification information and stores it according to the determination result of the second storage permission determination unit.

第二の保存処理実行手段は、術者の操作によって指定された画像ファイルを内部メモリから外部記憶装置に転送して保存する構成としてもよい。   The second storage processing execution means may be configured to transfer and store the image file designated by the operator's operation from the internal memory to the external storage device.

本発明に係る画像処理装置は、第一の保存処理実行手段による画像ファイルの内部メモリへの保存の許否を術者に確認する確認手段を有した構成としてもよい。この場合、第一の保存処理実行手段は、内部メモリへの保存を許可する操作が行われた場合に画像ファイルを内部メモリに保存する。   The image processing apparatus according to the present invention may include a confirmation unit that confirms to the surgeon whether or not the first storage processing execution unit allows the image file to be stored in the internal memory. In this case, the first storage processing execution unit stores the image file in the internal memory when an operation for permitting the storage in the internal memory is performed.

第一の保存処理実行手段は、外部記憶装置への接続が検出できない場合、又は該外部記憶装置の記憶残容量が所定の記憶容量に満たない場合に、画像ファイルを該外部記憶装置に保存できないと判定する構成としてもよい。ここで、所定の記憶容量は、例えば転送予定の画像ファイルを外部記憶装置に保存するために必要な記憶容量である。   The first storage processing execution unit cannot store the image file in the external storage device when the connection to the external storage device cannot be detected or the remaining storage capacity of the external storage device is less than the predetermined storage capacity. It is good also as a structure to determine. Here, the predetermined storage capacity is, for example, a storage capacity necessary for storing an image file to be transferred in an external storage device.

外部記憶装置は、例えばリムーバブルメディア、情報処理端末、又はファイルサーバである。   The external storage device is, for example, a removable medium, an information processing terminal, or a file server.

また、上記の課題を解決する本発明の一形態に係る電子内視鏡システムは、被写体を撮影して信号を生成する電子スコープと、電子スコープが生成した信号を処理して画像ファイルを生成する上記画像処理装置とを有することを特徴としたシステムである。   In addition, an electronic endoscope system according to an embodiment of the present invention that solves the above-described problems generates an image file by processing an electronic scope that captures a subject and generates a signal, and a signal generated by the electronic scope A system having the image processing apparatus.

画像ファイル生成手段は、例えば電子スコープの操作に従って被写体の静止画ファイル又は動画ファイルを生成する。   For example, the image file generation unit generates a still image file or a moving image file of the subject in accordance with the operation of the electronic scope.

また、上記の課題を解決する本発明の一形態に係る画像ファイル保存方法は、画像処理装置により実行される方法であり、撮像装置からの信号を処理して画像ファイルを生成する画像ファイル生成ステップと、所定の外部記憶装置に対する画像ファイルの保存の可否を判定する第一の保存可否判定ステップと、画像ファイルを外部記憶装置に保存できると判定された場合は画像ファイルを外部記憶装置に転送して保存し、画像ファイルを外部記憶装置に保存できないと判定された場合は画像ファイルを画像処理装置が備える内部メモリに保存する第一の保存処理実行ステップとを含む。   An image file storage method according to an aspect of the present invention that solves the above problem is a method executed by an image processing apparatus, and an image file generation step of generating an image file by processing a signal from an imaging apparatus And a first storage determination step for determining whether or not the image file can be stored in a predetermined external storage device, and if it is determined that the image file can be stored in the external storage device, the image file is transferred to the external storage device. And a first storage processing execution step of storing the image file in an internal memory included in the image processing device when it is determined that the image file cannot be stored in the external storage device.

また、上記の課題を解決する本発明の一形態に係る画像ファイル保存プログラムは、上記画像ファイル保存方法をコンピュータに実行させるためのプログラムである。   An image file storage program according to an aspect of the present invention that solves the above problem is a program for causing a computer to execute the image file storage method.

本発明によれば、外部記憶装置への書き込みエラー発生時にもリアルタイムな画像を保存することができる画像処理装置、画像ファイル保存方法、画像ファイル保存プログラム、及び電子内視鏡システムが提供される。そのため、例えば、重要な資料である内視鏡画像の喪失が避けられると共に、電子内視鏡システムによる体腔内の観察の中断等の不都合も有効に避けられる。   According to the present invention, there are provided an image processing apparatus, an image file storage method, an image file storage program, and an electronic endoscope system that can store a real-time image even when a write error occurs in an external storage device. For this reason, for example, loss of an endoscopic image, which is an important material, can be avoided, and inconveniences such as interruption of observation in a body cavity by an electronic endoscope system can be effectively avoided.

本発明の実施形態に係る電子内視鏡システムの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic endoscope system which concerns on embodiment of this invention. 本発明の実施形態に係る電子スコープに設けられたフリーズボタン又は録画ボタンを押したときに実行される画像ファイル保存処理Aのフローチャートを示す図である。It is a figure which shows the flowchart of the image file preservation | save process A performed when the freeze button or recording button provided in the electronic scope which concerns on embodiment of this invention is pressed. 本発明の実施形態に係るプロセッサが有する内部メモリに圧縮静止画ファイル又は圧縮動画ファイルが保存されているときに実行される画像ファイル保存処理Bのフローチャートを示す図である。It is a figure which shows the flowchart of the image file preservation | save process B performed when the compression still image file or the compression moving image file is preserve | saved at the internal memory which the processor which concerns on embodiment of this invention has. 本発明の実施形態に係るプロセッサにおいて内部メモリへの転送を指定するための表示画面である。4 is a display screen for designating transfer to an internal memory in a processor according to an embodiment of the present invention. 本発明の実施形態に係るプロセッサにおいて電源を投入した際に表示される内部データの処理選択画面である。It is a processing selection screen of internal data displayed when power is turned on in the processor according to the embodiment of the present invention. 本発明の実施形態に係るプロセッサにおいて内部メモリに保存されたデータの消去を実行するための表示画面である。4 is a display screen for executing erasure of data stored in an internal memory in a processor according to an embodiment of the present invention. 本発明の実施形態に係るプロセッサにおいて(a)内部メモリに保存されたデータの転送先を選択するための表示画面であり、(b)転送先のUSBメモリの種類を選択するための表示画面である。In the processor which concerns on embodiment of this invention, (a) It is a display screen for selecting the transfer destination of the data preserve | saved at internal memory, (b) It is a display screen for selecting the kind of USB memory of a transfer destination. is there.

以下、図面を参照して、本発明の実施形態に係る電子内視鏡システムについて説明する。   Hereinafter, an electronic endoscope system according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態の電子内視鏡システム1の構成を示すブロック図である。図1に示されるように、電子内視鏡システム1は、医療用の撮像システムであり、電子スコープ100、プロセッサ200、モニタ300を有している。電子スコープ100の基端は、プロセッサ200と接続されている。プロセッサ200は、電子スコープ100が出力する撮像信号を処理して画像を生成する画像処理装置と、自然光の届かない体腔内を電子スコープ100を介して照明する光源装置とを一体に備えた装置である。別の実施形態では、画像処理装置と光源装置とを別体で構成してもよい。   FIG. 1 is a block diagram illustrating a configuration of an electronic endoscope system 1 according to the present embodiment. As shown in FIG. 1, the electronic endoscope system 1 is a medical imaging system, and includes an electronic scope 100, a processor 200, and a monitor 300. The proximal end of the electronic scope 100 is connected to the processor 200. The processor 200 is an apparatus that integrally includes an image processing device that processes an imaging signal output from the electronic scope 100 to generate an image, and a light source device that illuminates a body cavity that does not reach natural light via the electronic scope 100. is there. In another embodiment, the image processing device and the light source device may be configured separately.

図1に示されるように、プロセッサ200は、システムコントローラ202、タイミングコントローラ204を有している。システムコントローラ202は、電子内視鏡システム1を構成する各要素を制御する。タイミングコントローラ204は、信号の処理タイミングを調整するクロックパルスを電子内視鏡システム1内の各回路に出力する。   As illustrated in FIG. 1, the processor 200 includes a system controller 202 and a timing controller 204. The system controller 202 controls each element constituting the electronic endoscope system 1. The timing controller 204 outputs a clock pulse for adjusting the signal processing timing to each circuit in the electronic endoscope system 1.

ランプ208は、ランプ電源イグナイタ206による始動後、白色光を放射する。ランプ208には、キセノンランプ、ハロゲンランプ、水銀ランプ、メタルハライドランプ等の高輝度ランプが適している。ランプ208から放射された照明光は、集光レンズ210によって集光されると共に絞り212を介して適正な光量に制限されて、LCB(Light Carrying Bundle)102の入射端に入射する。   The lamp 208 emits white light after being started by the lamp power igniter 206. As the lamp 208, a high-intensity lamp such as a xenon lamp, a halogen lamp, a mercury lamp, or a metal halide lamp is suitable. The illumination light radiated from the lamp 208 is collected by the condenser lens 210 and is limited to an appropriate amount of light through the stop 212 and enters an incident end of an LCB (Light Carrying Bundle) 102.

絞り212には、図示省略されたアームやギヤ等の伝達機構を介してモータ214が機械的に連結している。モータ214は例えばDCモータであり、ドライバ216のドライブ制御下で駆動する。絞り212は、モニタ300に表示される映像を適正な明るさにするため、モータ214によって動作して開度が変化して、ランプ208から放射された照明光の光量を開度に応じて制限する。適正とされる映像の明るさの基準は、術者によるフロントパネル218の輝度調節操作に応じて設定変更される。なお、ドライバ216を制御して輝度調整を行う調光回路は周知の回路であり、本明細書においては省略することとする。   A motor 214 is mechanically connected to the diaphragm 212 via a transmission mechanism such as an arm or a gear (not shown). The motor 214 is a DC motor, for example, and is driven under the drive control of the driver 216. The diaphragm 212 is operated by the motor 214 to change the opening degree so that the image displayed on the monitor 300 has an appropriate brightness, and the amount of illumination light emitted from the lamp 208 is limited according to the opening degree. To do. The appropriate reference for the brightness of the image is changed according to the brightness adjustment operation of the front panel 218 by the operator. Note that the dimming circuit that controls the brightness by controlling the driver 216 is a well-known circuit and is omitted in this specification.

フロントパネル218の構成には種々の形態が想定される。フロントパネル218の具体的構成例には、プロセッサ200のフロント面に実装された機能毎のハードウェアキーや、タッチパネル式GUI(Graphical User Interface)、ハードウェアキーとGUIとの組合せ等が想定される。   Various forms of the configuration of the front panel 218 are assumed. As a specific configuration example of the front panel 218, a hardware key for each function mounted on the front surface of the processor 200, a touch panel GUI (Graphical User Interface), a combination of a hardware key and a GUI, and the like are assumed. .

LCB102の入射端に入射した照明光は、LCB102内を全反射を繰り返すことによって伝播する。LCB102内を伝播した照明光は、電子スコープ100の先端に配されたLCB102の射出端から射出する。LCB102の射出端から射出した照明光は、配光レンズ104を介して被写体を照明する。被写体からの反射光は、対物レンズ106を介して固体撮像素子108の受光面上の各画素で光学像を結ぶ。   The illumination light incident on the incident end of the LCB 102 propagates by repeating total reflection in the LCB 102. The illumination light that has propagated through the LCB 102 is emitted from the exit end of the LCB 102 disposed at the tip of the electronic scope 100. The illumination light emitted from the exit end of the LCB 102 illuminates the subject via the light distribution lens 104. The reflected light from the subject forms an optical image at each pixel on the light receiving surface of the solid-state image sensor 108 via the objective lens 106.

固体撮像素子108は、例えばベイヤ型画素配置を有する単板式カラーCCD(Charge Coupled Device)イメージセンサであり、受光面上の各画素で結像した光学像を光量に応じた電荷として蓄積して、R、G、Bの各色に応じた撮像信号に変換する。変換された撮像信号は、プリアンプ110による信号増幅後、ドライバ信号処理回路112を介して信号処理回路220に入力する。別の実施形態では、固体撮像素子108は、CMOS(Complementary Metal Oxide Semiconductor)イメージセンサであってもよい。   The solid-state imaging device 108 is, for example, a single-plate color CCD (Charge Coupled Device) image sensor having a Bayer-type pixel arrangement, accumulates an optical image formed by each pixel on the light receiving surface as a charge corresponding to the amount of light, It converts into the image pick-up signal according to each color of R, G, B. The converted image signal is amplified by the preamplifier 110 and then input to the signal processing circuit 220 via the driver signal processing circuit 112. In another embodiment, the solid-state image sensor 108 may be a complementary metal oxide semiconductor (CMOS) image sensor.

タイミングコントローラ204は、システムコントローラ202によるタイミング制御に従って、ドライバ信号処理回路112にクロックパルスを供給する。ドライバ信号処理回路112は、タイミングコントローラ204から供給されるクロックパルスに従って、固体撮像素子108をプロセッサ200側で処理される映像のフレームレートに同期したタイミングで駆動制御する。   The timing controller 204 supplies clock pulses to the driver signal processing circuit 112 in accordance with timing control by the system controller 202. The driver signal processing circuit 112 drives and controls the solid-state imaging device 108 at a timing synchronized with the frame rate of the video processed on the processor 200 side, according to the clock pulse supplied from the timing controller 204.

信号処理回路220に入力した撮像信号は、クランプ、ニー、γ補正、補間処理、AGC(Auto Gain Control)、AD変換等の処理後、各色信号別にフレーム単位でR、G、Bの各色対応のフレームメモリ(不図示)にバッファリングされる。バッファリングされた各色信号は、タイミングコントローラ204によって制御されたタイミングでフレームメモリから掃き出されて、NTSC(National Television System Committee)やPAL(Phase Alternating Line)等の所定の規格に準拠した映像信号に変換される。変換された映像信号がモニタ300に順次入力することにより、被写体の画像がモニタ300の表示画面上に表示される。   The image pickup signal input to the signal processing circuit 220 is subjected to processing such as clamping, knee, γ correction, interpolation processing, AGC (Auto Gain Control), AD conversion, and the like, and corresponds to each color of R, G, B for each color signal for each frame. Buffered in a frame memory (not shown). Each buffered color signal is swept from the frame memory at a timing controlled by the timing controller 204, and converted into a video signal conforming to a predetermined standard such as NTSC (National Television System Committee) or PAL (Phase Alternating Line). Converted. By sequentially inputting the converted video signals to the monitor 300, an image of the subject is displayed on the display screen of the monitor 300.

(図2の画像ファイル保存処理A)
電子スコープ100の手元操作部(不図示)にはフリーズボタン114及び録画ボタン116が設けられている。なお、図1中、図面を簡明化するため、フリーズボタン114又は録画ボタン116と他のブロックとの結線は省略している。図2は、フリーズボタン114又は録画ボタン116を押したときに実行される画像ファイル保存処理Aのフローチャートを示す。説明の便宜上、本明細書中の説明並びに図面において、処理ステップは「S」と省略して記す。
(Image file saving process A in FIG. 2)
A freeze button 114 and a recording button 116 are provided on the hand control unit (not shown) of the electronic scope 100. In FIG. 1, in order to simplify the drawing, the connection between the freeze button 114 or the recording button 116 and other blocks is omitted. FIG. 2 shows a flowchart of the image file saving process A executed when the freeze button 114 or the recording button 116 is pressed. For convenience of explanation, the processing step is abbreviated as “S” in the description and drawings in this specification.

<図2のS1(ファイル化処理)>
フリーズボタン114が押されると、圧縮回路222は、フリーズボタン114が押された直後に生成されるフレーム画像をフレームメモリから取り込み、所定のデジタル符号化方式で圧縮する。これにより、圧縮静止画データが生成される。圧縮方式には、例えばJPEG(Joint Photographic Experts Group)の汎用的な形式等が挙げられる。静止画データは、BMP(Bitmap)等の非圧縮のフォーマットで生成されてもよい。
<S1 in FIG. 2 (file processing)>
When the freeze button 114 is pressed, the compression circuit 222 takes in a frame image generated immediately after the freeze button 114 is pressed from the frame memory, and compresses it by a predetermined digital encoding method. Thereby, compressed still image data is generated. Examples of the compression method include a general format of JPEG (Joint Photographic Experts Group). Still image data may be generated in an uncompressed format such as BMP (Bitmap).

録画ボタン116は、電子スコープ100の手元操作部の限られたボタン配置スペースを効率的に利用するため、一つのボタンで録画の開始と終了の操作を受け付けるように構成されている。動画圧縮を行っていないときの録画ボタン116の操作は、録画の開始操作であり、動画圧縮中の録画ボタン116の操作は、録画の終了操作である。そのため、録画ボタン116が押された場合は、圧縮回路222による撮影動画の圧縮が開始される。圧縮回路222は、録画ボタン116が押された直後から録画ボタン116がもう一度押されるまでの間に生成されるフレーム画像をフレームメモリから順次取り込み、所定のデジタル符号化方式で圧縮する。これにより、圧縮動画データが生成される。圧縮方式には、例えばMPEG−4(Moving Picture Experts Group phase 4)、H.264等の汎用的な形式等が挙げられる。   The recording button 116 is configured to accept the start and end operations of recording with one button in order to efficiently use the limited button arrangement space of the hand operation unit of the electronic scope 100. The operation of the recording button 116 when the moving image compression is not performed is a recording start operation, and the operation of the recording button 116 during the moving image compression is a recording end operation. Therefore, when the recording button 116 is pressed, compression of the captured moving image by the compression circuit 222 is started. The compression circuit 222 sequentially fetches frame images generated immediately after the recording button 116 is pressed and before the recording button 116 is pressed again from the frame memory, and compresses the frame images using a predetermined digital encoding method. Thereby, compressed moving image data is generated. Examples of the compression method include MPEG-4 (Moving Picture Experts Group phase 4), H.264, and the like. General-purpose formats such as H.264 are listed.

圧縮回路222は、圧縮処理後、電子内視鏡システム1以外の情報処理端末(例えばPC600)で圧縮静止画データ又は圧縮動画データを再生可能とするため、圧縮静止画データ又は圧縮動画データに所定のファイルシステム(例えばFAT(File Allocation Tables)32)に適合した拡張子を付けてファイル化する。これにより、圧縮静止画ファル又は圧縮動画ファイルが生成される。なお、圧縮静止画データ又は圧縮動画データは転送先が確定した時点で転送先のファイルシステムに適合したファイル形式に変換されてもよい。   The compression circuit 222 performs predetermined processing on the compressed still image data or the compressed moving image data so that the compressed still image data or the compressed moving image data can be reproduced by an information processing terminal (for example, the PC 600) other than the electronic endoscope system 1 after the compression processing. The file system is attached with an extension suitable for the file system (for example, FAT (File Allocation Tables) 32). Thereby, a compressed still image file or a compressed moving image file is generated. Note that the compressed still image data or the compressed moving image data may be converted into a file format suitable for the file system of the transfer destination when the transfer destination is determined.

<図2のS2〜S4(転送先のステータスの判定処理及びファイル転送・保存処理)>
システムコントローラ202は、圧縮静止画ファイル又は圧縮動画ファイルの転送先のステータスを監視している。転送先は外部ストレージであり、例えばUSBメモリ400やメモリカード500等のリムーバブルメディア、PC600等の情報処理端末、ファイルサーバ700等がある。USBメモリ400はUSBポート226に、メモリカード500はカードスロット228に、PC600やファイルサーバ700はLAN(Local Area Network)端子230又はSCSI(Small Computer System Interface)端子232に、それぞれ接続される。PC600やファイルサーバ700は、USBケーブルを介してUSBポート226に接続されてもよい。
<S2 to S4 in FIG. 2 (Destination Status Judgment Processing and File Transfer / Save Processing)>
The system controller 202 monitors the status of the transfer destination of the compressed still image file or the compressed moving image file. The transfer destination is an external storage, such as a removable medium such as a USB memory 400 or a memory card 500, an information processing terminal such as a PC 600, a file server 700, or the like. The USB memory 400 is connected to a USB port 226, the memory card 500 is connected to a card slot 228, and the PC 600 and the file server 700 are connected to a LAN (Local Area Network) terminal 230 or a SCSI (Small Computer System Interface) terminal 232, respectively. The PC 600 and the file server 700 may be connected to the USB port 226 via a USB cable.

監視対象のステータスは、例えば、外部ストレージとプロセッサ200との接続状態や、圧縮静止画ファイル又は圧縮動画ファイルを記憶可能な外部ストレージの残容量等である。ステータスの監視は、転送先として指定された外部ストレージ(説明の便宜上、「指定外部ストレージ」と記す。)又はプロセッサ200に接続されている全ての外部ストレージに対して行われる。転送先の指定は、例えば術者によるフロントパネル218の操作を通じて行われる。また、プロセッサ200に接続された全ての外部ストレージを転送先として自動的に指定する構成としてもよい。外部ストレージがプロセッサ200に複数接続されている場合における圧縮静止画ファイル又は圧縮動画ファイルの転送先の優先順位等も、フロントパネル218の操作を通じて指定することができる。この優先順位付けは、自動で行われてもよい。   The status to be monitored is, for example, the connection state between the external storage and the processor 200, the remaining capacity of the external storage capable of storing the compressed still image file or the compressed moving image file, and the like. Status monitoring is performed for an external storage designated as a transfer destination (for convenience of explanation, described as “designated external storage”) or for all external storages connected to the processor 200. The designation of the transfer destination is performed, for example, through an operation of the front panel 218 by the operator. Further, all external storages connected to the processor 200 may be automatically specified as transfer destinations. The priority order of the transfer destination of the compressed still image file or the compressed moving image file when a plurality of external storages are connected to the processor 200 can also be designated through the operation of the front panel 218. This prioritization may be performed automatically.

図2のS2の処理では、システムコントローラ202は、指定外部ストレージがプロセッサ200に接続されているか否かを判定する。図2のS3の処理では、システムコントローラ202は、転送を予定する圧縮静止画ファイル又は圧縮動画ファイルのファイルサイズと指定外部ストレージの残容量とを比較して、指定外部ストレージに対する転送ファイルの保存の可否を判定する。図2のS4の処理では、システムコントローラ202は、圧縮静止画ファイル又は圧縮動画ファイルを指定外部ストレージに転送して保存する。なお、S3において指定外部ストレージに対する転送が可能であると判定された場合であっても、強制的に内部メモリへ保存することが可能である。これは、図4に示される内部メモリ切替画面219において、内部メモリへの転送スイッチをONにすることによって実現される。   In the process of S <b> 2 of FIG. 2, the system controller 202 determines whether the designated external storage is connected to the processor 200. In the process of S3 in FIG. 2, the system controller 202 compares the file size of the compressed still image file or compressed moving image file to be transferred with the remaining capacity of the designated external storage, and stores the transfer file in the designated external storage. Judgment is made. In the process of S4 of FIG. 2, the system controller 202 transfers the compressed still image file or the compressed moving image file to the designated external storage and stores it. Even if it is determined in S3 that the transfer to the designated external storage is possible, it can be forcibly saved in the internal memory. This is realized by turning on the transfer switch to the internal memory on the internal memory switching screen 219 shown in FIG.

[指定外部ストレージがUSBメモリ400の場合]
図2のS2の処理において、USBメモリ400がUSBポート226に接続されてプラグアンドプレイが正常に動作している場合(S2:YES)、処理はS3に進む。図2のS2の処理において、USBメモリ400がUSBポート226に未接続又はプラグアンドプレイが正常に動作していない場合(S2:NO)、処理はS5に進む。
[When the specified external storage is USB memory 400]
In the process of S2 of FIG. 2, when the USB memory 400 is connected to the USB port 226 and plug and play is operating normally (S2: YES), the process proceeds to S3. In the process of S2 of FIG. 2, when the USB memory 400 is not connected to the USB port 226 or plug and play is not operating normally (S2: NO), the process proceeds to S5.

図2のS3の処理において、USBメモリ400内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量に満たない場合(S3:YES)、処理はS5に進む。図2のS3の処理において、USBメモリ400内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合(S3:NO)、圧縮静止画ファイル又は圧縮動画ファイルがUSBメモリ400に転送され保存される(S4)。これにより、本フローチャートの処理が終了する。   In the process of S3 of FIG. 2, when the remaining capacity that can be stored in the USB memory 400 is less than the storage capacity necessary for storing the compressed still image file or the compressed moving image file to be transferred (S3: YES), the process is S5. Proceed to In the process of S3 in FIG. 2, when the remaining capacity that can be stored in the USB memory 400 is larger than the storage capacity necessary for storing the compressed still image file or the compressed moving image file to be transferred (S3: NO), the compressed still image file Alternatively, the compressed moving image file is transferred and stored in the USB memory 400 (S4). Thereby, the process of this flowchart is complete | finished.

[指定外部ストレージがメモリカード500の場合]
図2のS2の処理において、メモリカード500がカードスロット228に接続されてシステムコントローラ202により認識されている場合(S2:YES)、処理はS3に進む。図2のS2の処理において、メモリカード500がカードスロット228に未接続又は接続が認識されていない場合(S2:NO)、処理はS5に進む。
[When the specified external storage is the memory card 500]
In the process of S2 in FIG. 2, when the memory card 500 is connected to the card slot 228 and recognized by the system controller 202 (S2: YES), the process proceeds to S3. In the process of S2 of FIG. 2, when the memory card 500 is not connected to the card slot 228 or connection is not recognized (S2: NO), the process proceeds to S5.

図2のS3の処理において、メモリカード500内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量に満たない場合(S3:YES)、処理はS5に進む。図2のS3の処理において、メモリカード500内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合(S3:NO)、圧縮静止画ファイル又は圧縮動画ファイルがメモリカード500に転送され保存される(S4)。これにより、本フローチャートの処理が終了する。   In the process of S3 of FIG. 2, when the remaining capacity that can be stored in the memory card 500 is less than the storage capacity required for storing the compressed still image file or the compressed moving image file to be transferred (S3: YES), the process is S5. Proceed to In the process of S3 in FIG. 2, when the remaining capacity that can be stored in the memory card 500 is larger than the storage capacity necessary for storing the compressed still image file or the compressed moving image file to be transferred (S3: NO), the compressed still image file Alternatively, the compressed moving image file is transferred to the memory card 500 and stored (S4). Thereby, the process of this flowchart is complete | finished.

[指定外部ストレージがPC600の場合]
図2のS2の処理において、PC600が起動しておりSCSI端子232又はハブ等を介してLAN端子230に接続されている場合(S2:YES)、処理はS3に進む。図2のS2の処理において、PC600がLAN端子230又はSCSI端子232の何れにも未接続、又はネットワークエラーによってPC600が検出できない場合、又はPC600が起動していない場合(S2:NO)、処理はS5に進む。
[When the specified external storage is PC600]
In the process of S2 of FIG. 2, when the PC 600 is activated and connected to the LAN terminal 230 via the SCSI terminal 232 or a hub (S2: YES), the process proceeds to S3. In the process of S2 in FIG. 2, if the PC 600 is not connected to either the LAN terminal 230 or the SCSI terminal 232, or the PC 600 cannot be detected due to a network error, or the PC 600 is not activated (S2: NO), the process is as follows. Proceed to S5.

図2のS3の処理において、PC600(例えばHDD(Hard Disk Drive))内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量に満たない場合(S3:YES)、処理はS5に進む。図2のS3の処理において、PC600内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合(S3:NO)、圧縮静止画ファイル又は圧縮動画ファイルがPC600に転送され保存される(S4)。これにより、本フローチャートの処理が終了する。   2, when the remaining capacity that can be stored in the PC 600 (for example, HDD (Hard Disk Drive)) is less than the storage capacity required to store the compressed still image file or the compressed moving image file to be transferred (S3). : YES), the process proceeds to S5. In the process of S3 in FIG. 2, when the remaining capacity that can be stored in the PC 600 is greater than the storage capacity required for storing the compressed still image file or compressed moving image file to be transferred (S3: NO), the compressed still image file or the compressed The moving image file is transferred to the PC 600 and saved (S4). Thereby, the process of this flowchart is complete | finished.

[指定外部ストレージがファイルサーバ700の場合]
図2のS2の処理において、ファイルサーバ700が起動しておりSCSI端子232又はハブ等を介してLAN端子230に接続されている場合(S2:YES)、処理はS3に進む。図2のS2の処理において、ファイルサーバ700がLAN端子230又はSCSI端子232の何れにも未接続、又はネットワークエラーによってファイルサーバ700が検出できない場合、又はファイルサーバ700が起動していない場合(S2:NO)、処理はS5に進む。
[When the designated external storage is the file server 700]
In the process of S2 of FIG. 2, if the file server 700 is activated and connected to the LAN terminal 230 via the SCSI terminal 232 or a hub (S2: YES), the process proceeds to S3. 2, when the file server 700 is not connected to either the LAN terminal 230 or the SCSI terminal 232, or the file server 700 cannot be detected due to a network error, or the file server 700 is not activated (S2). : NO), the process proceeds to S5.

図2のS3の処理において、ファイルサーバ700内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量に満たない場合(S3:YES)、処理はS5に進む。図2のS3の処理において、ファイルサーバ700内の記憶可能な残容量が転送予定の圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合(S3:NO)、圧縮静止画ファイル又は圧縮動画ファイルがファイルサーバ700に転送され保存される(S4)。これにより、本フローチャートの処理が終了する。ファイルサーバ700に保存された圧縮静止画ファイル又は圧縮動画ファイルには、PC600をはじめとする病院内に構築されたLAN内の各情報処理端末からアクセスすることができる。   In the process of S3 in FIG. 2, when the remaining capacity that can be stored in the file server 700 is less than the storage capacity required to store the compressed still image file or the compressed moving image file to be transferred (S3: YES), the process is S5. Proceed to In the process of S3 in FIG. 2, when the remaining capacity that can be stored in the file server 700 is greater than the storage capacity required for storing the compressed still image file or compressed moving image file to be transferred (S3: NO), the compressed still image file Alternatively, the compressed moving image file is transferred to the file server 700 and stored (S4). Thereby, the process of this flowchart is complete | finished. The compressed still image file or the compressed moving image file stored in the file server 700 can be accessed from each information processing terminal in the LAN built in the hospital such as the PC 600.

<図2のS5(全ての転送先のステータス判定の確認処理)>
システムコントローラ202は、ステータス判定処理(図2のS2、S3)を全ての指定外部ストレージに対して実行したか否かを判定する。未実行の指定外部ストレージが残っている場合は(S5:NO)、その指定外部ストレージに対してステータス判定処理(図2のS2、S3)を行う。指定外部ストレージが複数ある場合、各指定外部ストレージに対するステータス判定処理(図2のS2、S3)をフロントパネル218の操作等で指定された優先順位に従って実行する。ステータス判定処理(図2のS2、S3)が全ての指定外部ストレージに対して実行されると(S5:YES)、処理はS6に進む。
<S5 in FIG. 2 (Confirmation processing for status determination of all transfer destinations)>
The system controller 202 determines whether or not the status determination processing (S2 and S3 in FIG. 2) has been executed for all the designated external storages. If the unexecuted designated external storage remains (S5: NO), status determination processing (S2, S3 in FIG. 2) is performed on the designated external storage. When there are a plurality of designated external storages, the status determination process (S2, S3 in FIG. 2) for each designated external storage is executed according to the priority order designated by the operation of the front panel 218 or the like. When the status determination process (S2, S3 in FIG. 2) is executed for all the designated external storages (S5: YES), the process proceeds to S6.

<図2のS6(内部メモリへのファイル保存処理)>
システムコントローラ202は、指定外部ストレージへの転送が予定されていた圧縮静止画ファイル又は圧縮動画ファイルを所定のメタ情報を付けたうえで、プロセッサ200が有する内部メモリ224に保存する。これにより、本フローチャートの処理が終了する。内部メモリ224を予備的に持つことにより、指定外部ストレージへの書き込みエラー発生時にもリアルタイムな画像を保存することができる。そのため、重要な資料である内視鏡画像の喪失が避けられると共に、電子内視鏡システム1による体腔内の観察の中断等の不都合も有効に避けられる。
<S6 in FIG. 2 (File Save Processing to Internal Memory)>
The system controller 202 saves the compressed still image file or the compressed moving image file scheduled to be transferred to the designated external storage in the internal memory 224 of the processor 200 after adding predetermined meta information. Thereby, the process of this flowchart is complete | finished. By preliminarily having the internal memory 224, a real-time image can be saved even when a write error occurs in the designated external storage. Therefore, the loss of the endoscope image, which is an important material, can be avoided, and inconveniences such as interruption of observation in the body cavity by the electronic endoscope system 1 can be effectively avoided.

また、内部メモリ224に保存されたデータは、内視鏡システムの電源を切った後も保持される。そして、再度電源を入れたときモニタ600には、図5に示す操作画面が表示され、内部メモリ224に保存されたデータは消去又は外部記憶装置に転送可能となる。これらの作業を行わない場合、中止ボタン620が押下されることにより操作画面は閉じられる。また、消去ボタン602が押下されると、図6に示す確認画面が表示される。消去作業を継続する場合、続行ボタン604が押下されることで内部メモリ224に保存されたデータは消去される。消去作業を中断する場合、取消ボタン606が押下されることでデータの消去作業は中止される。   Further, the data stored in the internal memory 224 is retained even after the endoscope system is turned off. When the power is turned on again, the operation screen shown in FIG. 5 is displayed on the monitor 600, and the data stored in the internal memory 224 can be erased or transferred to an external storage device. When these operations are not performed, the operation screen is closed when the cancel button 620 is pressed. When the delete button 602 is pressed, a confirmation screen shown in FIG. 6 is displayed. When continuing the erasing operation, the data stored in the internal memory 224 is erased by pressing the continue button 604. When the erasing operation is interrupted, the data erasing operation is stopped by pressing the cancel button 606.

一方、図5に示される転送ボタン608が押下されると、図7(a)に示す操作画面が表示される。オペレータは、転送先をUSBメモリ又はネットワークのいずれかを選択できる。USBへの転送を実施するためのUSBボタン610が押下されると、図7(b)に示す転送選択画面が表示される。転送選択画面には、複数のUSBの中から転送先のUSBを選択するためのUSB選択ボタン612が表示される。USB選択ボタン612には、その全体容量と現在の空き容量とが表示される。USB選択ボタン612が押下され、出力ボタン614が押下されると、内部メモリ224に保存されたデータは、選択されたUSBへ転送される。また、更新ボタン616が押下されることにより、USBメモリの空き容量の表示が更新される。ネットワークの接続先へ転送する場合、ネットワークボタン618が押下されると、内部メモリ224に保存されたデータはネットワークを介して転送される。   On the other hand, when the transfer button 608 shown in FIG. 5 is pressed, an operation screen shown in FIG. 7A is displayed. The operator can select either the USB memory or the network as the transfer destination. When the USB button 610 for executing the transfer to the USB is pressed, a transfer selection screen shown in FIG. 7B is displayed. On the transfer selection screen, a USB selection button 612 for selecting a transfer destination USB from a plurality of USBs is displayed. The USB selection button 612 displays the total capacity and the current free capacity. When the USB selection button 612 is pressed and the output button 614 is pressed, the data stored in the internal memory 224 is transferred to the selected USB. In addition, when the update button 616 is pressed, the display of the free space of the USB memory is updated. When transferring to a network connection destination, when the network button 618 is pressed, the data stored in the internal memory 224 is transferred via the network.

メタ情報には、例えば、圧縮静止画ファイル又は圧縮動画ファイルの転送が予定されていた指定外部ストレージの識別情報やステータスが含まれる。識別情報は、指定外部ストレージへのアクセスに必要な情報であり、例えばMAC(Media Access Control)アドレスやローカルIP(Internet Protocol)アドレス、デバイスID等である。ステータスは、指定外部ストレージへの圧縮静止画ファイル又は圧縮動画ファイルの転送・保存ができなかった原因を示す情報である。ステータスには、例えば検出エラーやネットワークエラー等の接続エラー、残容量不足等がある。また、情報管理の都合上、キーボード(不図示)操作等を通じてプロセッサ200に予め入力されている患者ID等の患者情報をメタ情報に加えてもよい。   The meta information includes, for example, identification information and status of the designated external storage for which the transfer of the compressed still image file or the compressed moving image file is scheduled. The identification information is information necessary for accessing the designated external storage, and is, for example, a MAC (Media Access Control) address, a local IP (Internet Protocol) address, a device ID, or the like. The status is information indicating the cause of the failure to transfer / save the compressed still image file or the compressed moving image file to the designated external storage. The status includes, for example, a connection error such as a detection error and a network error, and a remaining capacity shortage. In addition, for information management, patient information such as a patient ID previously input to the processor 200 through a keyboard (not shown) operation or the like may be added to the meta information.

なお、システムコントローラ202は、圧縮静止画ファイル又は圧縮動画ファイルの内部メモリ224への保存の許否をモニタ300又はフロントパネル218(所定のメッセージ表示など)を通じて術者に事前に確認し、許可の操作が行われた場合のみ保存処理(図2のS6)を実行してもよい。圧縮静止画ファイル又は圧縮動画ファイルを内部メモリ224に保存した場合は、モニタ300又はフロントパネル218に所定のメッセージ表示を行って術者に通知してもよい。   The system controller 202 confirms whether or not the compressed still image file or the compressed moving image file can be stored in the internal memory 224 in advance through the monitor 300 or the front panel 218 (such as a predetermined message display), and performs a permission operation. The storage process (S6 in FIG. 2) may be executed only when the above is performed. When the compressed still image file or the compressed moving image file is stored in the internal memory 224, a predetermined message may be displayed on the monitor 300 or the front panel 218 to notify the operator.

(図3の画像ファイル保存処理B)
術者は、病変部の精査や解析、電子カルテの作成等の作業をPC600等の情報処理端末を用いて行う。そのため、圧縮静止画ファイル又は圧縮動画ファイルの所在は、USBメモリ400やメモリカード500、PC600のHDD、ファイルサーバ700等が望ましい。プロセッサ200は、原則として手技中以外は電源が投入されておらず、手技後の内部メモリ224へのアクセスが難しい又は不便であるからである。そのため、内部メモリ224に保存された圧縮静止画ファイル又は圧縮動画ファイルは、図3のフローチャートに示される画像ファイル保存処理Bの実行により、指定外部ストレージに転送され保存される。画像ファイル保存処理Bは、圧縮静止画ファイル又は圧縮動画ファイルが内部メモリ224に保存されているときに常時実行され、又は術者によるフロントパネル218等を通じた指示操作が行われたときに実行される。
(Image file saving process B in FIG. 3)
The surgeon performs operations such as examination and analysis of a lesioned part and creation of an electronic medical record using an information processing terminal such as the PC 600. Therefore, the location of the compressed still image file or the compressed moving image file is preferably the USB memory 400, the memory card 500, the HDD of the PC 600, the file server 700, or the like. This is because, in principle, the processor 200 is not turned on except during the procedure, and it is difficult or inconvenient to access the internal memory 224 after the procedure. Therefore, the compressed still image file or the compressed moving image file stored in the internal memory 224 is transferred and stored in the designated external storage by executing the image file storing process B shown in the flowchart of FIG. The image file saving process B is always executed when the compressed still image file or the compressed moving image file is saved in the internal memory 224, or is executed when an instruction operation through the front panel 218 or the like is performed by the operator. The

<図3のS11(指定外部ストレージに対する接続確認処理)>
システムコントローラ202は、内部メモリ224に保存されている圧縮静止画ファイル又は圧縮動画ファイルのメタ情報に含まれる指定外部ストレージに対する接続の可否を判定する。例えばネットワークエラーの解消等によって指定外部ストレージに対する接続が可能となった場合(S11:YES)、処理はS12に進む。別の外部ストレージが新たに接続された場合も、処理はS12に進む。指定外部ストレージに依然として接続できない場合(S11:NO)、処理は進まない。
<S11 in FIG. 3 (Connection Confirmation Process for Specified External Storage)>
The system controller 202 determines whether or not connection to the designated external storage included in the meta information of the compressed still image file or the compressed moving image file stored in the internal memory 224 is possible. For example, when the connection to the designated external storage becomes possible due to the elimination of a network error or the like (S11: YES), the process proceeds to S12. Even when another external storage is newly connected, the process proceeds to S12. If it is still impossible to connect to the designated external storage (S11: NO), the process does not proceed.

<図3のS12(指定外部ストレージの残容量確認処理)>
システムコントローラ202は、内部メモリ224に保存されている圧縮静止画ファイル又は圧縮動画ファイルのメタ情報に含まれる指定外部ストレージの残容量を検出して当該ファイルの保存の可否を判定する。指定外部ストレージの残容量が圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合(S12:YES)、処理はS13に進む。新たに接続された外部ストレージの残容量が圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量以上の場合も、処理はS13に進む。指定外部ストレージの残容量が圧縮静止画ファイル又は圧縮動画ファイルの保存に必要な記憶容量に依然として満たない場合(S12:NO)、処理は進まない。
<S12 in FIG. 3 (Remaining Capacity Check Processing of Specified External Storage)>
The system controller 202 detects the remaining capacity of the designated external storage included in the meta information of the compressed still image file or the compressed moving image file stored in the internal memory 224 and determines whether the file can be stored. When the remaining capacity of the designated external storage is greater than or equal to the storage capacity necessary for storing the compressed still image file or the compressed moving image file (S12: YES), the process proceeds to S13. If the remaining capacity of the newly connected external storage is greater than or equal to the storage capacity necessary for storing the compressed still image file or the compressed moving image file, the process proceeds to S13. If the remaining capacity of the designated external storage is still less than the storage capacity necessary for storing the compressed still image file or the compressed moving image file (S12: NO), the process does not proceed.

なお、上記例では、指定外部ストレージに対して接続確認(図3のS11)及び残容量確認(図3のS12)の各処理を実行しているが、メタ情報のステータスに対応する確認処理のみを実行するようにしてもよい。例えばメタ情報のステータスが接続エラーの指定外部ストレージに対しては、接続確認(図3のS11)を実行して残容量確認(図3のS12)を省略し、例えばメタ情報のステータスが残容量不足の指定外部ストレージに対しては、接続確認(図3のS11)を省略して残容量確認(図3のS12)を実行してもよい。   In the above example, the connection confirmation (S11 in FIG. 3) and the remaining capacity confirmation (S12 in FIG. 3) are executed for the designated external storage, but only the confirmation process corresponding to the status of the meta information. May be executed. For example, for the specified external storage whose meta information status is a connection error, the connection confirmation (S11 in FIG. 3) is executed and the remaining capacity confirmation (S12 in FIG. 3) is omitted. For example, the meta information status is the remaining capacity. For the shortage designated external storage, the connection confirmation (S11 in FIG. 3) may be omitted and the remaining capacity confirmation (S12 in FIG. 3) may be executed.

<図3のS13(外部ストレージへのファイル転送・保存処理)>
システムコントローラ202は、内部メモリ224に保存されている圧縮静止画ファイル又は圧縮動画ファイルを接続エラー又は残容量不足が解消された指定外部ストレージ、若しくは新たに接続された外部ストレージに転送して保存する。これにより、本フローチャートの処理が終了する。すなわち、圧縮静止画ファイル又は圧縮動画ファイルは、病変部の精査や解析、電子カルテの作成等の作業の都合上便利な場所に自動的に転送され保存される。
<S13 in FIG. 3 (File Transfer / Save Processing to External Storage)>
The system controller 202 transfers the compressed still image file or the compressed moving image file stored in the internal memory 224 to the designated external storage in which the connection error or the shortage of the remaining capacity is solved, or the newly connected external storage and stores it. . Thereby, the process of this flowchart is complete | finished. That is, the compressed still image file or the compressed moving image file is automatically transferred and stored in a convenient location for work such as examination and analysis of a lesioned part and creation of an electronic medical record.

図3の画像ファイル保存処理Bは、内部メモリ224に保存されている全ての圧縮静止画ファイル又は圧縮動画ファイルに対して実行してもよく、特定の圧縮静止画ファイル又は圧縮動画ファイルに対してのみ実行してもよい。術者は、例えばフロントパネル218等の操作を通じて、メタ情報の内容(指定外部ストレージ、ステータスの種類、患者ID等)やファイル形式等によって内部メモリ224内の圧縮静止画ファイル又は圧縮動画ファイルを検索したりソートしたりすることができる。術者は、検索された圧縮静止画ファイル又は圧縮動画ファイルのみを対象に画像ファイル保存処理Bの実行を指示したり、ソート結果から圧縮静止画ファイル又は圧縮動画ファイルを任意に選択して画像ファイル保存処理Bの実行を指示したりすることができる。   3 may be executed for all compressed still image files or compressed moving image files stored in the internal memory 224, or for a specific compressed still image file or compressed moving image file. May only be executed. The surgeon searches for a compressed still image file or a compressed moving image file in the internal memory 224 based on the contents of meta information (designated external storage, status type, patient ID, etc.), file format, etc., through the operation of the front panel 218, for example. Can be sorted and sorted. The operator instructs execution of the image file saving process B only for the searched compressed still image file or compressed moving image file, or arbitrarily selects the compressed still image file or compressed moving image file from the sort result, The execution of the storage process B can be instructed.

以上が本発明の実施形態の説明である。本発明は、上記の構成に限定されるものではなく、本発明の技術的思想の範囲において様々な変形が可能である。例えばフリーズボタン114又は録画ボタン116と同一の機能を有する操作手段は、電子スコープ100の手元操作部だけでなくフロントパネル218に設けられてもよい。   The above is the description of the embodiment of the present invention. The present invention is not limited to the above-described configuration, and various modifications can be made within the scope of the technical idea of the present invention. For example, an operation unit having the same function as the freeze button 114 or the recording button 116 may be provided on the front panel 218 as well as the hand operation unit of the electronic scope 100.

プロセッサ200は、内部メモリ224に保存されている圧縮静止画ファイル又は圧縮動画ファイルをモニタ300で再生するため、所定の伸張処理を行って信号処理回路220に出力する伸張回路を有した構成としてもよい。   The processor 200 may include a decompression circuit that performs a predetermined decompression process and outputs the compressed still image file or the compressed video file stored in the internal memory 224 to the signal processing circuit 220 in order to reproduce the compressed still image file or the compressed moving image file on the monitor 300. Good.

本実施形態では、システムコントローラ202が圧縮静止画ファイル又は圧縮動画ファイルの内部メモリ224への保存、又は内部メモリ224から外部ストレージへの転送・保存を自動実行しているが、別の実施形態では手動で実行するようにしてもよい。例えば、術者は、圧縮静止画ファイル又は圧縮動画ファイルの外部ストレージへの転送エラーが生じた場合、フロントパネル218等を操作して圧縮静止画ファイル又は圧縮動画ファイルの保存先として内部メモリ224を指定する。これにより、圧縮静止画ファイル又は圧縮動画ファイルが内部メモリ224に保存される。また、術者は、例えば別の外部ストレージをプロセッサ200に新たに接続したとき、フロントパネル218等を操作して、内部メモリ224内の圧縮静止画ファイル又は圧縮動画ファイルの保存先として当該外部ストレージを指定する。これにより、内部メモリ224内の圧縮静止画ファイル又は圧縮動画ファイルが別の外部ストレージに転送され保存される。   In this embodiment, the system controller 202 automatically executes the storage of the compressed still image file or the compressed moving image file in the internal memory 224, or the transfer and storage from the internal memory 224 to the external storage. However, in another embodiment, It may be executed manually. For example, when an error occurs in transferring the compressed still image file or the compressed moving image file to the external storage, the surgeon operates the front panel 218 or the like to set the internal memory 224 as the storage destination of the compressed still image file or the compressed moving image file. specify. As a result, the compressed still image file or the compressed moving image file is stored in the internal memory 224. In addition, for example, when another external storage is newly connected to the processor 200, the surgeon operates the front panel 218 or the like to store the external storage as a storage destination of the compressed still image file or the compressed moving image file in the internal memory 224. Is specified. Thereby, the compressed still image file or the compressed moving image file in the internal memory 224 is transferred and stored in another external storage.

1 電子内視鏡システム
100 電子スコープ
114 フリーズボタン
116 録画ボタン
200 プロセッサ
220 信号処理回路
222 圧縮回路
224 内部メモリ
226 USBポート
228 カードスロット
230 LAN端子
232 SCSI端子
DESCRIPTION OF SYMBOLS 1 Electronic endoscope system 100 Electronic scope 114 Freeze button 116 Recording button 200 Processor 220 Signal processing circuit 222 Compression circuit 224 Internal memory 226 USB port 228 Card slot 230 LAN terminal 232 SCSI terminal

Claims (6)

内視鏡検査に用いられる内視鏡プロセッサであって、該プロセッサは、
撮像装置からの信号を処理して画像ファイルを生成する画像ファイル生成手段と、
該画像ファイルを一時的に保存するための内部メモリと、
外部記憶装置に対する前記画像ファイルの保存の可否を判定する第一の保存可否判定手段と、
前記画像ファイルを前記外部記憶装置に保存できると判定された場合は該画像ファイルを該外部記憶装置に転送して保存し、該画像ファイルを該外部記憶装置に保存できないと判定された場合は該画像ファイルを前記内部メモリに保存する第一の保存処理実行手段とを備え、
前記内部メモリは、前記プロセッサ本体の電源を切った後も該画像ファイルを保持する保持機能を有することを特徴とする内視鏡プロセッサ。
An endoscopic processor used for endoscopy, the processor comprising:
Image file generation means for generating an image file by processing a signal from the imaging device;
An internal memory for temporarily storing the image file;
First storage permission determination means for determining whether the image file can be stored in an external storage device;
When it is determined that the image file can be stored in the external storage device, the image file is transferred to the external storage device and stored. When it is determined that the image file cannot be stored in the external storage device, the image file is stored. First storage processing execution means for storing an image file in the internal memory,
The endoscope processor according to claim 1, wherein the internal memory has a holding function for holding the image file even after the processor body is turned off.
前記保持機能によって保持された画像ファイルは、前記メモリから消去する消去手段をさらに備えることを特徴とする請求項1に記載の内視鏡プロセッサ。   The endoscope processor according to claim 1, further comprising an erasing unit that erases the image file held by the holding function from the memory. 前記内部メモリに保存された画像ファイルを前記外部記憶装置に転送して保存できるか否かを判定する第二の保存可否判定手段と、
前記第二の保存可否判定手段の判定結果に従って前記内部メモリ内の画像ファイルの前記外部記憶装置への転送及び保存を行う第二の保存処理実行手段とを備えることを特徴とする請求項1に記載の内視鏡プロセッサ。
Second saveability determination means for determining whether or not the image file stored in the internal memory can be transferred to the external storage device and stored;
2. A second storage processing execution unit that transfers and stores an image file in the internal memory to the external storage device according to a determination result of the second storage permission determination unit. The described endoscope processor.
前記第二の保存処理実行手段は、術者の操作によって指定された画像ファイルを前記内部メモリから前記外部記憶装置に転送して保存することを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the second storage processing execution unit transfers and stores an image file designated by an operation of an operator from the internal memory to the external storage device. 前記第一の保存処理実行手段による前記画像ファイルの前記内部メモリへの保存の許否を術者に確認する確認手段を有し、
前記第一の保存処理実行手段は、前記内部メモリへの保存を許可する操作が行われた場合に前記画像ファイルを該内部メモリに保存することを特徴とする請求項1から請求項4の何れか1項に記載の内視鏡プロセッサ。
Confirmation means for confirming to the surgeon whether or not the image file is stored in the internal memory by the first storage processing execution means;
The first storage processing execution unit stores the image file in the internal memory when an operation for permitting the storage in the internal memory is performed. The endoscope processor according to claim 1.
前記第一の保存処理実行手段は、前記外部記憶装置への接続が検出できない場合、又は該外部記憶装置の記憶残容量が所定の記憶容量に満たない場合に、前記画像ファイルを該外部記憶装置に保存できないと判定することを特徴とする請求項1から請求項5の何れか1項に記載の内視鏡プロセッサ。   The first storage processing execution means stores the image file in the external storage device when connection to the external storage device cannot be detected, or when the remaining storage capacity of the external storage device is less than a predetermined storage capacity. The endoscope processor according to any one of claims 1 to 5, wherein it is determined that the data cannot be stored in the endoscope processor.
JP2012152540A 2012-07-06 2012-07-06 Image processor, image file storage method, image file storage program, and electronic endoscope system Pending JP2014014429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012152540A JP2014014429A (en) 2012-07-06 2012-07-06 Image processor, image file storage method, image file storage program, and electronic endoscope system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012152540A JP2014014429A (en) 2012-07-06 2012-07-06 Image processor, image file storage method, image file storage program, and electronic endoscope system

Publications (1)

Publication Number Publication Date
JP2014014429A true JP2014014429A (en) 2014-01-30

Family

ID=50109707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012152540A Pending JP2014014429A (en) 2012-07-06 2012-07-06 Image processor, image file storage method, image file storage program, and electronic endoscope system

Country Status (1)

Country Link
JP (1) JP2014014429A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04207488A (en) * 1990-11-30 1992-07-29 Kyocera Corp Electronic still camera with spare memory
JPH0591452A (en) * 1990-09-03 1993-04-09 Fuji Photo Film Co Ltd Electronic still camera and reproducing device therefor
JPH09284695A (en) * 1996-04-12 1997-10-31 Ricoh Co Ltd Digital still video camera
JPH10336572A (en) * 1997-05-28 1998-12-18 Sanyo Electric Co Ltd Digital still camera
JPH1147086A (en) * 1997-07-31 1999-02-23 Olympus Optical Co Ltd Endoscope imaging device
US20030122927A1 (en) * 1997-07-23 2003-07-03 Olympus Optical Co., Ltd. Endoscopic imaging system making it possible to detachably attach expansion unit having external expansion facility and add expansion facility for improving capability of system
JP2004088328A (en) * 2002-08-26 2004-03-18 Casio Comput Co Ltd Data processor, data recording method and data reproducing method therein
US6816190B1 (en) * 1999-06-22 2004-11-09 Olympus Optical Co., Ltd. Electronic camera having a plurality of storage media
JP2005230295A (en) * 2004-02-20 2005-09-02 Pentax Corp Endoscope system
JP2007260364A (en) * 2006-03-30 2007-10-11 Pentax Corp Electronic endoscope system and method of saving image in electronic endoscope system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0591452A (en) * 1990-09-03 1993-04-09 Fuji Photo Film Co Ltd Electronic still camera and reproducing device therefor
JPH04207488A (en) * 1990-11-30 1992-07-29 Kyocera Corp Electronic still camera with spare memory
JPH09284695A (en) * 1996-04-12 1997-10-31 Ricoh Co Ltd Digital still video camera
JPH10336572A (en) * 1997-05-28 1998-12-18 Sanyo Electric Co Ltd Digital still camera
US20030122927A1 (en) * 1997-07-23 2003-07-03 Olympus Optical Co., Ltd. Endoscopic imaging system making it possible to detachably attach expansion unit having external expansion facility and add expansion facility for improving capability of system
JPH1147086A (en) * 1997-07-31 1999-02-23 Olympus Optical Co Ltd Endoscope imaging device
US6816190B1 (en) * 1999-06-22 2004-11-09 Olympus Optical Co., Ltd. Electronic camera having a plurality of storage media
JP2004088328A (en) * 2002-08-26 2004-03-18 Casio Comput Co Ltd Data processor, data recording method and data reproducing method therein
JP2005230295A (en) * 2004-02-20 2005-09-02 Pentax Corp Endoscope system
JP2007260364A (en) * 2006-03-30 2007-10-11 Pentax Corp Electronic endoscope system and method of saving image in electronic endoscope system

Similar Documents

Publication Publication Date Title
US20120200683A1 (en) System for recording and reproducing images
JP2940827B2 (en) Medical image filing equipment
US7420586B2 (en) Electronic endoscope apparatus which stores image data on recording medium
US7819530B2 (en) Auxiliary device equipped with projector for use with an electronic device, and electronic camera system incorporating the auxiliary device
US8817114B2 (en) Image capture apparatus
WO2006085415A1 (en) Endoscope device
KR20120008059A (en) Imaging system
JP2012254182A (en) Image processing device, image file storing method, image file storing program, and electronic endoscope system
JP2008086666A (en) Endoscopic system
JP5164310B2 (en) Endoscope device
JP2006255108A (en) Endoscope apparatus
JP2011160340A (en) Image processing apparatus, control method thereof, and program
JP2005044004A (en) Medical image recording device
JP2014014429A (en) Image processor, image file storage method, image file storage program, and electronic endoscope system
JP2012049870A (en) Image processing device, imaging device and image processing program
JP5430272B2 (en) Medical image management system and image management server
JP2004024340A (en) Endoscope equipment
JP2006340150A (en) Image list updating method in digital camera system
JP2001157200A (en) Endoscope system
JP2012161541A (en) Medical image processing device and electronic endoscope system
JP4488281B2 (en) Electronic endoscope device
JP2004336105A (en) Picture photographing device, picture recording device and picture recording method
JP2017006260A (en) Endoscope apparatus
US12035878B2 (en) Endoscope system for assiging multiple functions to a switch, control method of endoscope system and storage medium
US20210076903A1 (en) Endoscope system, control method of endoscope system and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160419

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161018