JP6418734B2 - Endoscope device - Google Patents

Endoscope device Download PDF

Info

Publication number
JP6418734B2
JP6418734B2 JP2013227391A JP2013227391A JP6418734B2 JP 6418734 B2 JP6418734 B2 JP 6418734B2 JP 2013227391 A JP2013227391 A JP 2013227391A JP 2013227391 A JP2013227391 A JP 2013227391A JP 6418734 B2 JP6418734 B2 JP 6418734B2
Authority
JP
Japan
Prior art keywords
moving image
storage device
image data
processor
internal storage
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
JP2013227391A
Other languages
Japanese (ja)
Other versions
JP2015085029A (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.)
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 JP2013227391A priority Critical patent/JP6418734B2/en
Publication of JP2015085029A publication Critical patent/JP2015085029A/en
Application granted granted Critical
Publication of JP6418734B2 publication Critical patent/JP6418734B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、器官などの観察対象を撮像する内視鏡装置に関し、特に、動画像の記録処理に関する。   The present invention relates to an endoscope apparatus that images an observation target such as an organ, and particularly relates to a moving image recording process.

電子内視鏡装置では、ビデオスコープ先端部にイメージセンサを設けており、ビデオスコープによる撮像によって、動画像がモニタに表示される。動画像を記録する場合、所定のフォーマット形式(MPEGなど)に従って動画像を圧縮処理を施し、圧縮画像データを外部記憶装置(メモリカードなど)に記録することができる。   In the electronic endoscope apparatus, an image sensor is provided at the distal end portion of the video scope, and a moving image is displayed on the monitor by imaging with the video scope. When recording a moving image, the moving image can be compressed according to a predetermined format (such as MPEG), and the compressed image data can be recorded in an external storage device (such as a memory card).

動画像の記録中に不意な電源喪失があり、記録処理が正常に終了しない場合、記録ファイルが正常にクローズせず、すべての撮影画像データを失う恐れがある。これを防ぐため、所定の条件を満たすごとに圧縮した動画像データを区切りながら、自動ファイル化する。そして、ファイル化した圧縮動画像データを、メモリカードなど外部記憶装置へ逐次保存する(特許文献1参照)。   If there is an unexpected power loss during recording of a moving image and the recording process does not end normally, the recording file may not be closed normally, and all captured image data may be lost. In order to prevent this, an automatic file is created while separating compressed moving image data every time a predetermined condition is satisfied. Then, the compressed moving image data filed is sequentially stored in an external storage device such as a memory card (see Patent Document 1).

特開2012−161541号公報JP 2012-161541 A

動画像データを順次区切って記録する場合、オペレータが記録終了のため電源OFF操作する、あるいは断線などの不意な電源喪失が生じた場合、電源OFF直前に生成された圧縮画像データファイルの転送が終了せず、外部記憶装置に記録されない。そのため、電源OFFになるまで撮影した動画像すべてを再現することができない。   When recording moving image data in sequence, if the operator turns off the power to finish recording, or if an unexpected power loss such as disconnection occurs, transfer of the compressed image data file generated immediately before the power is turned off is completed. Without being recorded in the external storage device. For this reason, it is not possible to reproduce all moving images shot until the power is turned off.

したがって、記録処理途中で電源OFF状態になる場合等においても、外部記憶装置への動画像データ記録を完結できることが求められる。   Therefore, it is required that the moving image data recording to the external storage device can be completed even when the power is turned off during the recording process.

本発明の内視鏡装置は、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部に設けられた(内蔵された)記憶装置に順次一時保存する動画像記録処理部と、区切って順次保存される動画像データ(ここでは、セグメント動画像データという)を、プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送するデータ転送部とを備える。ここで、プロセッサ外部記憶装置には、USBメモリなど内視鏡プロセッサに着脱自在なメモリ、あるいは、コンピュータシステムなどケーブルを通じて動画像データを転送可能な記憶装置を含まれる。   An endoscope apparatus according to the present invention includes a moving image recording processing unit that sequentially and temporarily stores moving image data obtained by imaging by a scope in a storage device provided (built in) inside the processor while being separated according to a predetermined condition; A data transfer unit that sequentially transfers moving image data (herein referred to as segment moving image data) that is divided and sequentially stored from the processor internal storage device to the processor external storage device; Here, the processor external storage device includes a memory that can be attached to and detached from the endoscope processor such as a USB memory, or a storage device that can transfer moving image data through a cable such as a computer system.

動画像データの記録処理に関しては、例えば、圧縮動画像データを生成することが可能である。また、各区分のセグメント動画像データについては、生成する度に順次ファイル化することが可能である。所定条件としては、例えば、一時保存するデータ容量に達する度に動画像データを区切ることが可能である。また、記録時間などを設定して動画像データを区切るようにすることも可能である。   Regarding the moving image data recording process, for example, compressed moving image data can be generated. The segment moving image data of each section can be sequentially filed each time it is generated. As the predetermined condition, for example, the moving image data can be divided every time the data capacity to be temporarily stored is reached. It is also possible to set the recording time or the like to divide the moving image data.

本発明では、データ転送部が、動画像の記録終了後、新たに動画像記録可能な動作環境になると、未転送のセグメント動画像データを、プロセッサ外部記憶装置へ自動的に転送(ここでは、追転送という)する。ここで、「動画像の記録終了」には、オペレータの意図しない強制的な記録終了、あるいは、誤った記録終了操作による強制的記録終了などが含まれる。例えば、内視鏡装置の電源ON状態からOFF状態への移行、オペレータによる早まった記録終了の入力操作などがある。   In the present invention, the data transfer unit automatically transfers the untransferred segment moving image data to the processor external storage device when an operation environment in which moving image recording is newly possible after the moving image recording is completed (here, This is called follow-up transfer). Here, “moving image recording end” includes a forced recording end unintended by the operator or a forced recording end due to an erroneous recording end operation. For example, there is a transition from the power ON state to the OFF state of the endoscope apparatus, and an input operation for premature recording end by the operator.

一方、「プロセッサ外部記憶装置へ動画像を転送可能な動作環境」としては、電源ON状態への復帰、新たな動画像記録のための入力操作などが含まれており、外部記憶装置への動画像データの転送が可能な状態を示す。   On the other hand, “an operating environment in which moving images can be transferred to a processor external storage device” includes a return to a power-on state, an input operation for recording a new moving image, and the like. It shows a state in which image data can be transferred.

生成されて一時保存されたものの外部記憶装置へ転送されなかったセグメント動画像データは、インターバルを置いたとしても、最終的に外部記憶装置へ転送されることになり、動画像記録処理によって得られた動画像データすべてを、記録することが可能となる。   The segment moving image data that has been generated and temporarily stored but not transferred to the external storage device is finally transferred to the external storage device even if the interval is set, and is obtained by the moving image recording process. All the moving image data can be recorded.

動画像記録処理部は、プロセッサ内部記憶装置に保存したセグメント動画像データの数と、プロセッサ外部記憶装置に転送されたセグメント動画像データの数とに基づき、未転送のセグメント動画像データを検出することが可能である。   The moving image recording processing unit detects untransferred segment moving image data based on the number of segment moving image data stored in the processor internal storage device and the number of segment moving image data transferred to the processor external storage device. It is possible.

例えば、動画像記録処理部は、セグメント動画像データの保存、転送に関する管理データを、プロセッサ内部記憶装置およびプロセッサ外部記憶装置に保存する。これに基づき、未転送のセグメント動画像データの確認がされる。ファイル管理用ジョブIDなどの転送管理ファイルを作成することにより、外部記憶装置内でのファイル確認が容易となる。   For example, the moving image recording processing unit stores management data related to storage and transfer of segment moving image data in the processor internal storage device and the processor external storage device. Based on this, untransferred segment moving image data is confirmed. By creating a transfer management file such as a file management job ID, file confirmation in the external storage device is facilitated.

突然記録終了状態になった場合、所定条件に到達しないために生成、一時保存されていない動画像データについても、外部記憶装置へ転送するのが望ましい。したがって、動画像記録処理部は、動画像記録の終了時、所定条件に関係なく、セグメント動画像データとして残りの動画像データをプロセッサ内部記憶装置に保存すればよい。   When the recording is suddenly terminated, it is desirable to transfer the moving image data that has not been generated or temporarily stored because the predetermined condition is not reached, to the external storage device. Therefore, the moving image recording processing unit may store the remaining moving image data as segment moving image data in the processor internal storage device at the end of moving image recording regardless of the predetermined condition.

本発明の内視鏡装置の動作方法は、動画像記録処理手段が、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する工程と、データ転送手段が、保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送する工程を含む内視鏡装置の動作方法であって、前記データ転送手段が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、未転送のセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送する工程を含むことを特徴とする。   The operation method of the endoscope apparatus according to the present invention includes a step in which the moving image recording processing means sequentially and temporarily saves moving image data obtained by imaging by a scope in a processor internal storage device while delimiting according to a predetermined condition, and a data transfer means Is a method of operating an endoscope apparatus including a step of sequentially transferring the stored segment moving image data of each section from the processor internal storage device to the processor external storage device, wherein the data transfer means includes the moving image When the operation environment is newly transferable to the processor external storage device after the recording is completed, it includes a step of additionally transferring the untransferred segment video image data to the processor external storage device. To do.

本発明のプログラムは、内視鏡装置を、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する動画像記録処理手段と、保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送するデータ転送手段として機能させ、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、未転送のセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送するように、前記データ転送手段として機能させることを特徴とするプログラム。   The program of the present invention includes a moving image recording processing means for sequentially and temporarily storing moving image data obtained by imaging by an endoscope in a processor internal storage device while dividing the moving image data according to a predetermined condition, Operation that allows segment moving image data to function as data transfer means for sequentially transferring the segment moving image data from the processor internal storage device to the processor external storage device, so that the moving image data can be newly transferred to the processor external storage device after the moving image recording is completed. A program which functions as the data transfer means so that untransferred segment moving image data is additionally transferred to the processor external storage device when the environment is reached.

このように本発明によれば、不意な電源喪失が生じた場合等においても、スコープによる撮像によって得られる動画像データを外部記憶装置へ確実に記録することができる。   As described above, according to the present invention, even when an unexpected power loss occurs, moving image data obtained by imaging with a scope can be reliably recorded in the external storage device.

本実施形態である電子内視鏡装置のブロック図である。It is a block diagram of the electronic endoscope apparatus which is this embodiment. システムコントロール回路によって実行されるメインの動画像記録処理のフローチャートである。It is a flowchart of the main moving image recording process performed by the system control circuit. サブコントローラによって実行される動画像データ転送処理のフローチャートである。It is a flowchart of the moving image data transfer process executed by the sub-controller. システムコントロール回路によって実行される電源ON時の未転送動画像データ転送処理のフローチャートである。It is a flowchart of the untransferred moving image data transfer process at the time of power ON executed by the system control circuit. 外部メモリ、内部メモリに保存されるイメージファイル、管理用ファイルのデータ内容を示した図である。It is the figure which showed the data content of the image file preserve | saved at an external memory and an internal memory, and a management file.

以下では、図面を参照して本実施形態である電子内視鏡装置について説明する。   Hereinafter, the electronic endoscope apparatus according to the present embodiment will be described with reference to the drawings.

図1は、本実施形態である電子内視鏡装置のブロック図である。   FIG. 1 is a block diagram of an electronic endoscope apparatus according to this embodiment.

電子内視鏡装置は、その挿入部分が体内へ挿入されるビデオスコープ10と、プロセッサ20とを備え、ビデオスコープ10はプロセッサ20に着脱自在に接続される。プロセッサ20には、モニタ70が接続されている。   The electronic endoscope apparatus includes a video scope 10 whose insertion portion is inserted into the body, and a processor 20, and the video scope 10 is detachably connected to the processor 20. A monitor 70 is connected to the processor 20.

プロセッサ20は、白色光を放射するランプ24を備え、ランプ24から放射された光は、ビデオスコープ10内に設けられたライトガイド(図示せず)に入射する。ライトガイドに入射した光は、配光レンズ(図示せず)を介してビデオスコープ10の先端部から射出し、被写体(観察部位)に照射される。   The processor 20 includes a lamp 24 that emits white light, and light emitted from the lamp 24 is incident on a light guide (not shown) provided in the video scope 10. The light that has entered the light guide exits from the distal end of the video scope 10 via a light distribution lens (not shown), and irradiates the subject (observation site).

被写体で反射した光は、スコープ先端部に設けられた対物レンズ(図示せず)によって結像し、被写体像がイメージセンサ12の受光面に形成される。ここでは、イメージセンサ12として、CCD、CMOSなどが適用可能である。イメージセンサ12の受光面上には、Cy、Ye、G、Mg、あるいはR、G、Bから成る色フィルタ要素をモザイク状に配列させた色フィルタ(図示せず)が配設されている。   The light reflected by the subject is imaged by an objective lens (not shown) provided at the distal end of the scope, and a subject image is formed on the light receiving surface of the image sensor 12. Here, a CCD, a CMOS, or the like is applicable as the image sensor 12. On the light receiving surface of the image sensor 12, a color filter (not shown) in which color filter elements made of Cy, Ye, G, Mg, or R, G, B are arranged in a mosaic pattern is disposed.

イメージセンサ12では、1フィールド/フレーム分の画像信号が所定の時間間隔で読み出される。例えば、NTSC方式の場合、1フィールド分の画素信号が1/60秒間隔で読み出され、PAL方式の場合、1/50秒間隔で読み出される。読み出されたアナログの画素信号は、信号処理回路14へ送られる。   In the image sensor 12, image signals for one field / frame are read out at a predetermined time interval. For example, in the NTSC system, pixel signals for one field are read at 1/60 second intervals, and in the PAL system, they are read at 1/50 second intervals. The read analog pixel signal is sent to the signal processing circuit 14.

信号処理回路14では、アナログ画素信号に対し、デジタル化処理、ホワイトバランス処理(ゲイン処理)、ガンマ補正処理、そして色変換処理などの信号処理が施される。これにより、原色(R、G、B)のカラー画像信号が生成され、プロセッサ20へ順次送られる。   The signal processing circuit 14 performs signal processing such as digitization processing, white balance processing (gain processing), gamma correction processing, and color conversion processing on the analog pixel signal. As a result, color image signals of primary colors (R, G, B) are generated and sequentially sent to the processor 20.

プロセッサ20では、システムコントロール回路30を経由して画像処理回路26に送られた画像信号に対し、所定の信号処理が施される。その結果、1フレーム/フィールド分のカラー画像信号がモニタ70に順次出力され、カラー観察画像が動画像としてモニタ70に表示される。   In the processor 20, predetermined signal processing is performed on the image signal sent to the image processing circuit 26 via the system control circuit 30. As a result, a color image signal for one frame / field is sequentially output to the monitor 70, and a color observation image is displayed on the monitor 70 as a moving image.

CPU、RAM、ROM等を含むシステムコントロール回路30は、絞り機構22、ランプ24などへ制御信号を出力し、プロセッサ20全体の動作を制御する。動作制御に関するプログラムは、あらかじめROMに記憶されている。絞り機構22は、ライトガイドの入射端と集光レンズとの間に配置されており、開閉動作によって照明光量を増減させる。   A system control circuit 30 including a CPU, a RAM, a ROM, and the like outputs a control signal to the diaphragm mechanism 22, the lamp 24, and the like, and controls the operation of the entire processor 20. A program relating to operation control is stored in advance in the ROM. The diaphragm mechanism 22 is disposed between the incident end of the light guide and the condenser lens, and increases or decreases the amount of illumination light by opening and closing operations.

CPU、ROMなどを含むサブコントローラ40は、システムコントロール回路30との間で相互通信し、外部メモリ(外部記憶装置)60への画像データ転送を制御する。この制御に関するプログラムは、あらかじめROMに格納されている。また、サブコントローラ40は、タッチパネル65に対する入力操作を検知する。外部メモリ60は、プロセッサ20に接続、あるいは、着脱自在な記憶装置であり、例えばUSBメモリなどが適用可能である。   A sub-controller 40 including a CPU, a ROM and the like communicates with the system control circuit 30 to control image data transfer to an external memory (external storage device) 60. A program related to this control is stored in the ROM in advance. Further, the sub-controller 40 detects an input operation on the touch panel 65. The external memory 60 is a storage device that can be connected to or detached from the processor 20. For example, a USB memory can be applied.

医師などのオペレータは、内視鏡作業中、タッチパネル65に対し入力操作することにより、動画像を外部メモリ60へ記録することが可能である。システムコントロール回路30は、動画像を記録するための入力操作情報をサブコントローラ40から受けると、ビデオスコープ10から送られてくる画像信号を、動画像ファイル生成回路28へ送る。   An operator such as a doctor can record a moving image in the external memory 60 by performing an input operation on the touch panel 65 during endoscopic work. When the system control circuit 30 receives input operation information for recording a moving image from the sub-controller 40, the system control circuit 30 sends an image signal sent from the video scope 10 to the moving image file generation circuit 28.

動画像ファイル生成回路28では、動画像データが圧縮処理される。このとき、所定のデータ容量ごとに圧縮動画像データ(以下、セグメント圧縮動画像データという)が順次生成され、ファイル化される。動画像の圧縮処理は、例えばMPEGなどの規格に従って実行される。   The moving image file generation circuit 28 compresses moving image data. At this time, compressed moving image data (hereinafter referred to as segmented compressed moving image data) is sequentially generated and filed for each predetermined data capacity. The moving image compression processing is executed in accordance with a standard such as MPEG.

順次生成されるセグメント圧縮動画像データのファイルは、サブコントローラ40を経由して内部メモリ50へ一時的に保存される。内部メモリ50は、ここでは不揮発性メモリなどが適用可能である。一時保存されたセグメント圧縮動画像データのファイルは、保存が完了する度に、サブコントローラ40によって外部メモリ60へ順次転送される。   The sequentially generated segment compressed moving image data file is temporarily stored in the internal memory 50 via the sub-controller 40. As the internal memory 50, a nonvolatile memory or the like is applicable here. The temporarily saved segment compressed video data file is sequentially transferred to the external memory 60 by the sub-controller 40 every time the saving is completed.

システムコントロール回路30およびサブコントローラ40は、動画像データの記録処理を制御し、セグメント圧縮動画像データのファイル管理を実行する。後述するように、電源OFF状態への切り替えなどによって動画像記録処理が終了する場合、未転送のセグメント圧縮動画像データを内部メモリ50へ記憶する。そして、電源ON操作など、再度外部メモリ60への動画像データ転送が可能な状態になった場合、未転送のセグメント圧縮動画像データを外部メモリ60へ自動追転送する。   The system control circuit 30 and the sub-controller 40 control moving image data recording processing and execute file management of segment compressed moving image data. As will be described later, when the moving image recording process is terminated by switching to the power OFF state, untransferred segment compressed moving image data is stored in the internal memory 50. When the moving image data can be transferred to the external memory 60 again, such as when the power is turned on, the uncompressed segment compressed moving image data is automatically transferred to the external memory 60.

以下では、図2〜図5を用いて、動画像データの記録処理および未転送圧縮動画像データの転送処理について説明する。   Hereinafter, the moving image data recording process and the untransferred compressed moving image data transfer process will be described with reference to FIGS.

図2は、システムコントロール回路30によって実行されるメインの動画像記録処理のフローチャートである。図3は、サブコントローラ40によって実行される動画像データ転送処理のフローチャートである。図4は、システムコントロール回路30によって実行される電源ON時の未転送動画像データ転送処理のフローチャートである。そして、図5は、外部メモリ、内部メモリに保存されるイメージファイル、管理ファイルのデータ内容を示した図である。   FIG. 2 is a flowchart of the main moving image recording process executed by the system control circuit 30. FIG. 3 is a flowchart of moving image data transfer processing executed by the sub-controller 40. FIG. 4 is a flowchart of untransferred moving image data transfer processing executed by the system control circuit 30 when the power is turned on. FIG. 5 is a diagram showing data contents of an external memory, an image file stored in the internal memory, and a management file.

内視鏡作業中、オペレータによって動画像データ記録の入力操作がなされると(S101)、動画像データ転送に関するジョブIDが生成され、内部メモリ50、外部メモリ60にあらかじめ作成された管理用ファイルM1、M2(図5参照)に記録される(S102)。ジョブID生成後、記録動作が開始される(S103)。   When an operation for recording moving image data is performed by the operator during the endoscopic operation (S101), a job ID relating to moving image data transfer is generated, and the management file M1 created in advance in the internal memory 50 and the external memory 60 is generated. , M2 (see FIG. 5) (S102). After generating the job ID, the recording operation is started (S103).

ジョブIDは、動画像記録時の固有ファイル名と対応付けられており、記録日時、プロセッサシリアルNo、セグメント圧縮動画像データファイルの保存ファイル数、転送済みファイル数などが、項目として含まれている。   The job ID is associated with a unique file name at the time of moving image recording, and includes items such as recording date and time, processor serial number, the number of saved segment compressed moving image data files, the number of transferred files, and the like. .

圧縮処理によって生成された圧縮動画像データは、所定の上限となるデータ容量を超えると、セグメント圧縮動画像データとしてファイル化される。そして、内部メモリ50に一時的に保存される(S104、S105)。圧縮動画像データを区切りながら順次内部メモリ50へ保存するのに伴い、内部メモリ50の管理用ファイルM1内における一時生成ファイル数は、「1」だけインクリメントされる(S105、S106)。動画像の記録処理が続く間、ステップS104〜S106が繰り返される。これに従い、生成ファイル数も増加していく。   The compressed moving image data generated by the compression process is filed as segment compressed moving image data when the data capacity exceeds a predetermined upper limit. Then, it is temporarily stored in the internal memory 50 (S104, S105). As the compressed moving image data is sequentially stored in the internal memory 50 while being divided, the number of temporarily generated files in the management file M1 in the internal memory 50 is incremented by “1” (S105, S106). While the moving image recording process continues, steps S104 to S106 are repeated. In accordance with this, the number of generated files also increases.

一方、サブコントローラ40によるセグメント圧縮動画像データファイルの転送処理では、内部メモリ50に保存されているセグメント圧縮動画像データが、外部メモリ60へ転送される(図3のステップS201、S202)。そして、管理用ファイルM1、M2では、転送済みファイル数が「1」だけインクリメントされる(S203)。   On the other hand, in the segment compressed moving image data file transfer process by the sub-controller 40, the segment compressed moving image data stored in the internal memory 50 is transferred to the external memory 60 (steps S201 and S202 in FIG. 3). In the management files M1 and M2, the number of transferred files is incremented by “1” (S203).

ところで、動画像記録処理中、突然に電源喪失状態になることがある。例えば、電源ケーブルが外れることによる電源切断、誤操作による電源OFF状態への切り替えなどがある。また、セグメント動画像データの転送が完全に終了していないのに、オペレータが動画像記録終了の入力操作を取り急いで行うこともあり得る。   By the way, the power supply may be suddenly lost during the moving image recording process. For example, there are power-off when the power cable is disconnected, switching to a power-off state due to an erroneous operation, and the like. In addition, although the transfer of the segment moving image data is not completely completed, the operator may urgently perform an input operation for moving image recording end.

このような動画像記録終了状態になったと判断されると(S107)、データ容量上限に到達せず、いまだ内部メモリ50に保存されていない残りの圧縮動画像データがファイル化され、内部メモリ50に保存される(S108)。そして、生成ファイル数が1だけインクリメントされる(S109)。図5には、内部メモリ50におけるセグメント圧縮動画像データファイルA1〜A4が記載されている。   If it is determined that such a moving image recording end state has been reached (S107), the remaining compressed moving image data that has not reached the upper limit of the data capacity and has not yet been saved in the internal memory 50 is filed, and the internal memory 50 (S108). Then, the number of generated files is incremented by 1 (S109). FIG. 5 shows segment compressed moving image data files A1 to A4 in the internal memory 50.

電源OFF状態による動画像記録終了となった場合、記録処理転送が終了していないセグメント圧縮動画像データ、および最後にファイル化されたセグメント圧縮動画像データが内部メモリ50に記憶された状態となる。そして、図4に示すように、電源ON状態となると、未転送のセグメント圧縮動画像データの転送処理(追転送)を動作開始に伴って実行する。   When the moving image recording ends due to the power-off state, the segment compressed moving image data for which the recording process transfer has not been completed and the segment compressed moving image data filed last are stored in the internal memory 50. . Then, as shown in FIG. 4, when the power is turned on, transfer processing (follow-up) of untransferred segment compressed moving image data is executed at the start of the operation.

具体的には、電源が再びON状態になると、システムコントロール回路30は、外部メモリ60の接続を検知し、管理用ファイルM1、M2を検出する(S301、S302)。そして、内部メモリ50と外部メモリ60双方に同一のジョブIDが存在することが確認される、すなわち、先の動画像記録処理時に用いられた外部メモリ60がプロセッサ20に装着されていると判断すると(S303)、ステップS304に進む。   Specifically, when the power is turned on again, the system control circuit 30 detects the connection of the external memory 60 and detects the management files M1 and M2 (S301, S302). Then, when it is confirmed that the same job ID exists in both the internal memory 50 and the external memory 60, that is, when it is determined that the external memory 60 used in the previous moving image recording process is attached to the processor 20. (S303), the process proceeds to step S304.

ステップS304では、管理用ファイルM1、M2内において、未転送のセグメント圧縮動画像データがあることを示す内容がジョブIDに記入されているか否かを判断する。この未転送情報は、保存ファイル数、転送済みファイル数の相違に基づいてジョブIDにリストされている。図5では、外部メモリ60において、セグメント圧縮動画像データファイルA1〜A3のみ記録されていることが図示されている。   In step S304, it is determined whether or not a content indicating that there is untransferred segment compressed moving image data is written in the job ID in the management files M1 and M2. This untransferred information is listed in the job ID based on the difference between the number of saved files and the number of transferred files. FIG. 5 shows that only the segment compressed moving image data files A1 to A3 are recorded in the external memory 60.

上述した転送未完了状態で電源OFF状態に陥ったあとに電源ON状態になると、外部メモリ60へ転送完了しなかったセグメント圧縮動画像データが内部メモリ50に存在する場合があるため、保存ファイル数と転送済みファイル数は同一とならない。   Since the segment compressed moving image data that has not been transferred to the external memory 60 may exist in the internal memory 50 when the power is turned on after the power is turned off in the transfer incomplete state described above, the number of saved files And the number of transferred files are not the same.

転送済みファイル数が保存ファイル数と相違する場合、動画像ファイル名が存在することを確認した後、未転送のセグメント圧縮動画像データが外部メモリ60へ追転送される(S305、S306)。このとき、最後に転送されたセグメント圧縮動画像データの後ろのアドレスに合わせて記録される。追転送が終了すると、管理ファイルM1、M2において、未転送情報のリストが削除される(S307)。   If the number of transferred files is different from the number of saved files, after confirming that a moving image file name exists, untransferred segment compressed moving image data is additionally transferred to the external memory 60 (S305, S306). At this time, it is recorded in accordance with the address after the last segment compressed moving image data transferred. When the additional transfer ends, the list of untransferred information is deleted from the management files M1 and M2 (S307).

このように本実施形態によれば、動画像記録処理が実行されると、圧縮動画像データを所定のデータ容量ごとに区切りながら、セグメント圧縮動画像データとして一時的に内部メモリ50に順次ファイル化して一時保存し、順次保存されたセグメント圧縮動画像データを、順次外部メモリ60へ転送する。そして、電源喪失などによって記録処理が終了するとき、残りのセグメント圧縮動画像データがファイル化、記録される。再度、電源ON状態になると、未転送のセグメント圧縮動画像データを、外部メモリ60へ追転送し、記録する。   As described above, according to the present embodiment, when the moving image recording process is executed, the compressed moving image data is temporarily filed in the internal memory 50 as segment compressed moving image data while being divided into predetermined data volumes. The segment compressed moving image data stored temporarily and sequentially stored are sequentially transferred to the external memory 60. When the recording process ends due to power loss or the like, the remaining segment compressed moving image data is filed and recorded. When the power is turned on again, the untransferred segment compressed moving image data is additionally transferred to the external memory 60 and recorded.

動画像記録処理が終了した後、大きなインターバルがあったとしても、未転送の動画像データを以前使用していた外部メモリへ追転送することが可能となり、撮像した動画像データすべてを記録することができる。また、ジョブIDを生成し、転送済みファイル数と生成、保存ファイル数をカウントすることにより、外部メモリへの未転送圧縮動画像データを容易に検知することができる。   Even if there is a large interval after the moving image recording process is completed, it is possible to transfer the untransferred moving image data to the previously used external memory and record all the captured moving image data. Can do. Further, by generating the job ID and counting the number of transferred files and the number of generated and saved files, it is possible to easily detect the compressed moving image data that has not been transferred to the external memory.

そして、動画像記録終了時、圧縮されたけれどもセグメントデータとして条件(データ容量)に達していない残りの圧縮動画像データをセグメント圧縮画像データとしてファイル化、保存するため、全く無駄なく動画像データを記録することができる。   When the moving image recording ends, the remaining compressed moving image data that has been compressed but does not reach the condition (data capacity) as segment data is filed and saved as segment compressed image data. Can be recorded.

管理ファイルに対しては、ジョブID以外の管理データを添付、作成するようにしてもよい。また、動画像データの記録方式は任意であり、圧縮しなくてもよい。データ容量に従って動画像データを区切る構成以外の構成、例えば、記録時間を定めて動画像データを区切るようにするなど、他の条件に基づいた動画像の区切りをすることも可能である。   Management data other than the job ID may be attached to the management file and created. Moreover, the recording method of moving image data is arbitrary and may not be compressed. It is also possible to divide moving images based on other conditions, such as a configuration other than a configuration that divides moving image data according to the data capacity, for example, a recording time is set to divide moving image data.

未転送のセグメント動画像圧縮データは、記録終了時、内部メモリ以外のメモリに記憶させてもよく、そのメモリから外部メモリへの追転送を行ってもよい。また、コンピュータをプロセッサに接続し、コンピュータのメモリへ動画像データを記録するようにしてもよい。また、新たな動画像記録を再開する入力操作が行われたときに追転送する構成にすることも可能である。   Untransferred segment moving image compressed data may be stored in a memory other than the internal memory at the end of recording, or may be additionally transferred from the memory to an external memory. Further, a computer may be connected to the processor and the moving image data may be recorded in the memory of the computer. It is also possible to adopt a configuration in which additional transfer is performed when an input operation for resuming new moving image recording is performed.

10 ビデオスコープ
20 プロセッサ
30 システムコントロール回路
40 サブコントローラ
50 内部メモリ
60 外部メモリ
10 Videoscope 20 Processor 30 System control circuit 40 Sub-controller 50 Internal memory 60 External memory

Claims (8)

動画像記録の入力操作が行われると、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する動画像記録処理部と、
保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送するデータ転送部とを備え、
前記動画像記録処理部が、動画像の記録終了になると、前記プロセッサ外部記憶装置へ転送されていないセグメント動画像データを前記プロセッサ内部記憶装置に記憶し、
前記データ転送部が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、前記プロセッサ内部記憶装置に記憶されたセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送し、
前記動画像記録処理部が、動画像記録の終了時に前記プロセッサ内部記憶装置に保存されていない動画像データを、所定条件に関係なく、セグメント動画像データとして前記プロセッサ内部記憶装置に記憶することを特徴とする内視鏡装置。
When an input operation of moving image recording is performed, a moving image recording processing unit that sequentially saves moving image data obtained by imaging with a scope in a processor internal storage device while being separated according to a predetermined condition;
A data transfer unit that sequentially transfers the stored segment moving image data of each section from the processor internal storage device to the processor external storage device;
When the moving image recording processing unit finishes recording moving images, the segment moving image data that has not been transferred to the processor external storage device is stored in the processor internal storage device,
After the recording of the moving image is completed, the data transfer unit newly moves the moving image data to the processor external storage device, and the segment moving image data stored in the processor internal storage device is transferred to the processor. Additional transfer to external storage device ,
The moving image recording processing unit stores moving image data not stored in the processor internal storage device at the end of moving image recording as segment moving image data in the processor internal storage device regardless of a predetermined condition. Endoscopic device characterized.
スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する動画像記録処理部と、
保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送するデータ転送部とを備え、
前記動画像記録処理部が、動画像記録の終了時に前記プロセッサ内部記憶装置に保存されていない動画像データを、所定条件に関係なく、セグメント動画像データとして前記プロセッサ内部記憶装置に保存し、
前記データ転送部が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、未転送のセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送することを特徴とする内視鏡装置。
A moving image recording processing unit that sequentially saves moving image data obtained by imaging by a scope in a processor internal storage device while dividing the moving image data according to a predetermined condition;
A data transfer unit that sequentially transfers the stored segment moving image data of each section from the processor internal storage device to the processor external storage device;
The moving image recording processing unit stores moving image data not stored in the processor internal storage device at the end of moving image recording as segment moving image data in the processor internal storage device regardless of a predetermined condition;
When the data transfer unit is in an operating environment in which moving image data can be newly transferred to the processor external storage device after moving image recording is completed, the untransferred segment moving image data is additionally transferred to the processor external storage device. the endoscope device you characterized by.
前記動画像記録処理部が、前記プロセッサ内部記憶装置に保存したセグメント動画像データの数と、前記プロセッサ外部記憶装置に転送されたセグメント動画像データの数とに基づき、未転送のセグメント動画像データを検出することを特徴とする請求項1または2に記載の内視鏡装置。 Based on the number of segment moving image data stored in the processor internal storage device and the number of segment moving image data transferred to the processor external storage device by the moving image recording processing unit, untransferred segment moving image data The endoscope apparatus according to claim 1 , wherein the endoscope apparatus is detected. 前記動画像記録処理部が、セグメント動画像データの未転送に関する管理データを、前記プロセッサ内部記憶装置および前記プロセッサ外部記憶装置に保存することを特徴とする請求項に記載の内視鏡装置。 The endoscope apparatus according to claim 3 , wherein the moving image recording processing unit stores management data regarding untransferred segment moving image data in the processor internal storage device and the processor external storage device. 前記動画像記録処理部が、動画像データを圧縮してセグメント動画像データを生成することを特徴とする請求項1乃至4のいずれかに記載の内視鏡装置。   The endoscope apparatus according to any one of claims 1 to 4, wherein the moving image recording processing unit generates segment moving image data by compressing moving image data. 動画像記録の入力操作が行われると、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する動画像記録処理部と、
保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送するデータ転送部とを備え、
前記動画像記録処理部が、動画像の記録終了になると、前記プロセッサ外部記憶装置へ転送されていないセグメント動画像データを前記プロセッサ内部記憶装置に記憶し、
前記データ転送部が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、前記プロセッサ内部記憶装置に記憶されたセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送し、
前記動画像記録処理部が、セグメント動画像データを順次ファイル化して前記プロセッサ内部記憶装置に保存し、
前記動画像記録処理部が、動画像記録の終了時に前記プロセッサ内部記憶装置に保存されていない動画像データを、所定条件に関係なくファイル化し、セグメント動画像データとして前記プロセッサ内部記憶装置に記憶することを特徴とする内視鏡装置。
When an input operation of moving image recording is performed, a moving image recording processing unit that sequentially saves moving image data obtained by imaging with a scope in a processor internal storage device while being separated according to a predetermined condition;
A data transfer unit that sequentially transfers the stored segment moving image data of each section from the processor internal storage device to the processor external storage device;
When the moving image recording processing unit finishes recording moving images, the segment moving image data that has not been transferred to the processor external storage device is stored in the processor internal storage device,
After the recording of the moving image is completed, the data transfer unit newly moves the moving image data to the processor external storage device, and the segment moving image data stored in the processor internal storage device is transferred to the processor. Additional transfer to external storage device ,
The moving image recording processing unit sequentially stores the segment moving image data as a file and stores it in the processor internal storage device,
The moving image recording processing section, a moving image data that is not stored in the processor internal storage device at the end of the moving image recording, into a file regardless predetermined condition is stored as a segment moving image data to said processor internal storage device the endoscope device you wherein a.
動画像記録処理手段が、動画像記録の入力操作が行われると、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存する工程と、
データ転送手段が、保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送する工程を含む内視鏡装置の動作方法であって、
動画像記録処理部が、動画像の記録終了になると、前記プロセッサ外部記憶装置へ転送されていないセグメント動画像データを前記プロセッサ内部記憶装置に記憶し、
前記データ転送手段が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、前記プロセッサ内部記憶装置に記憶されたセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送する工程を含み、
前記動画像記録処理部が、動画像記録の終了時に前記プロセッサ内部記憶装置に保存されていない動画像データを、所定条件に関係なく、セグメント動画像データとして前記プロセッサ内部記憶装置に記憶する工程を含むことを特徴とする内視鏡装置の動作方法。
When the moving image recording processing means performs an input operation of moving image recording, the step of sequentially and temporarily storing the moving image data obtained by imaging by the scope in the processor internal storage device while delimiting according to a predetermined condition;
An operation method of an endoscope apparatus including a step of sequentially transferring stored segment moving image data of each section from the processor internal storage device to a processor external storage device.
When the moving image recording processing unit finishes moving image recording, the segment moving image data that has not been transferred to the processor external storage device is stored in the processor internal storage device,
When the data transfer means is in an operating environment in which moving image data can be newly transferred to the processor external storage device after moving image recording is completed, the segment moving image data stored in the processor internal storage device is transferred to the processor. Including the step of additional transfer to an external storage device ,
A step in which the moving image recording processing unit stores moving image data not stored in the processor internal storage device at the end of moving image recording as segment moving image data in the processor internal storage device regardless of a predetermined condition ; An operation method of an endoscope apparatus comprising:
動画像記録処理手段が、スコープによる撮像によって得られる動画像データを、所定条件に従って区切りながらプロセッサ内部記憶装置に順次一時保存し、
データ転送部が、保存された各区分のセグメント動画像データを、前記プロセッサ内部記憶装置からプロセッサ外部記憶装置へ順次転送し、
前記動画像記録処理部が、動画像記録の終了時に前記プロセッサ内部記憶装置に保存されていない動画像データを、所定条件に関係なく、セグメント動画像データとして前記プロセッサ内部記憶装置に保存し、
前記データ転送部が、動画像の記録終了後、新たに前記プロセッサ外部記憶装置へ動画像データを転送可能な動作環境になると、未転送のセグメント動画像データを、前記プロセッサ外部記憶装置へ追転送することを特徴とする内視鏡装置の動作方法
The moving image recording processing means sequentially saves the moving image data obtained by the imaging by the scope sequentially in the processor internal storage device while delimiting according to a predetermined condition,
The data transfer unit sequentially transfers the stored segment moving image data of each section from the processor internal storage device to the processor external storage device,
The moving image recording processing unit stores moving image data not stored in the processor internal storage device at the end of moving image recording as segment moving image data in the processor internal storage device regardless of a predetermined condition;
When the data transfer unit is in an operating environment in which moving image data can be newly transferred to the processor external storage device after moving image recording is completed, the untransferred segment moving image data is additionally transferred to the processor external storage device. An operation method of an endoscope apparatus characterized by:
JP2013227391A 2013-10-31 2013-10-31 Endoscope device Active JP6418734B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013227391A JP6418734B2 (en) 2013-10-31 2013-10-31 Endoscope device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013227391A JP6418734B2 (en) 2013-10-31 2013-10-31 Endoscope device

Publications (2)

Publication Number Publication Date
JP2015085029A JP2015085029A (en) 2015-05-07
JP6418734B2 true JP6418734B2 (en) 2018-11-07

Family

ID=53048485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013227391A Active JP6418734B2 (en) 2013-10-31 2013-10-31 Endoscope device

Country Status (1)

Country Link
JP (1) JP6418734B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004260701A (en) * 2003-02-27 2004-09-16 Hitachi Ltd Video recording and reproducing apparatus
JP2012061048A (en) * 2010-09-14 2012-03-29 Hoya Corp Data storage device
JP2012161541A (en) * 2011-02-09 2012-08-30 Hoya Corp Medical image processing device and electronic endoscope system
JP2012254182A (en) * 2011-06-09 2012-12-27 Hoya Corp Image processing device, image file storing method, image file storing program, and electronic endoscope system

Also Published As

Publication number Publication date
JP2015085029A (en) 2015-05-07

Similar Documents

Publication Publication Date Title
US20090303316A1 (en) Endoscope apparatus
US20090290016A1 (en) Endoscope system
US20050212915A1 (en) Digital camera
JP6418734B2 (en) Endoscope device
JP5072292B2 (en) Imaging apparatus and control method thereof
JP2012049870A (en) Image processing device, imaging device and image processing program
JP2012254182A (en) Image processing device, image file storing method, image file storing program, and electronic endoscope system
JP5539078B2 (en) Display control apparatus, method, program, and recording medium
JP4724511B2 (en) Imaging apparatus, recording control method thereof, and program
JP4858304B2 (en) Image processing apparatus, imaging apparatus, and program
US9955135B2 (en) Image processing apparatus, image processing method, and program wherein a RAW image to be subjected to special processing is preferentially subjected to development
JP2008067298A (en) Photography apparatus and program
JP2006334247A (en) Endoscope apparatus, information processing method for endoscope apparatus, and program
JP5794657B2 (en) Imaging control apparatus and imaging control method
JP2012161541A (en) Medical image processing device and electronic endoscope system
JP5439263B2 (en) Electronic endoscope and system
JP5495670B2 (en) Imaging device, control method thereof, and program
JP2010028451A (en) Digital camera and program for controlling the same
US11265464B2 (en) Imaging apparatus with image-capturing data and management information thereof saved as an incomplete file
JP2000333119A5 (en) INFORMATION PROCESSING APPARATUS AND CONTROL METHOD THEREOF, IMAGING APPARATUS AND CONTROL METHOD THEREOF, AND COMPUTER-READABLE RECORDING MEDIUM
JP2006309668A (en) Image pickup apparatus, information processor, and display
JP2008236692A (en) Imaging apparatus and picked-up image data processing method therefor
WO2022158106A1 (en) Image processing device, image processing method, and imaging device
JP5359299B2 (en) Imaging device
JP2017224976A (en) Imaging apparatus, imaging apparatus control method, and imaging apparatus control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160815

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180409

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180925

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181009

R150 Certificate of patent or registration of utility model

Ref document number: 6418734

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250