JP2023090229A - Moving image storage device, gas monitoring system, control method for moving image storage device, and program - Google Patents

Moving image storage device, gas monitoring system, control method for moving image storage device, and program Download PDF

Info

Publication number
JP2023090229A
JP2023090229A JP2021205093A JP2021205093A JP2023090229A JP 2023090229 A JP2023090229 A JP 2023090229A JP 2021205093 A JP2021205093 A JP 2021205093A JP 2021205093 A JP2021205093 A JP 2021205093A JP 2023090229 A JP2023090229 A JP 2023090229A
Authority
JP
Japan
Prior art keywords
image data
unit
storage device
moving image
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.)
Pending
Application number
JP2021205093A
Other languages
Japanese (ja)
Inventor
裕史 橋本
Yasushi Hashimoto
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2021205093A priority Critical patent/JP2023090229A/en
Publication of JP2023090229A publication Critical patent/JP2023090229A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

To provide a moving image storage device that can save video data in the event of an abnormality at low cost, a gas monitoring system, a control method for moving the image storage device, and a program.SOLUTION: A moving image storage device includes a storage processing unit that stores moving image data in a reproducible state as a moving image on the basis of image data, and a determination unit that determines, on the basis of a predetermined priority, the type of image data for which the storage processing is performed during a stop time from when an abnormality occurs until when the storage processing unit becomes unable to perform the storage processing due to the abnormality from among a plurality of types of image data when a specified abnormality occurs, and causes the storage processing unit to perform the storage processing on the determined type of image data.SELECTED DRAWING: Figure 6

Description

本開示は、例えばガス監視等の用途に供する動画保存装置、ガス監視システム、動画保存装置の制御方法、及びプログラムに関する。 The present disclosure relates to a moving image storage device, a gas monitoring system, a control method for a moving image storage device, and a program, which are used for applications such as gas monitoring.

複数の画像データを生成し、時系列で並べて動画データを生成することが一般的に行われている。複数の画像データに基づいて再生可能な動画データを生成するために、時系列で並べられた複数の画像データを時系列に沿って正しく再生するための情報を加え、1つの動画データとして保存するための保存処理が必要となることがある。 Generally, a plurality of pieces of image data are generated and arranged in chronological order to generate moving image data. In order to generate reproducible video data based on multiple image data, add information for correctly reproducing multiple image data arranged in chronological order and save it as one video data. Preservation processing may be required for

例えば電源異常の発生等によって、動画データの保存処理が正しく行われなかった場合、例えストレージに複数フレームの画像データが残っていたとしても、それらの画像データを動画として再生することができない事態が生じうる。このような事態を回避する技術として、特許文献1および2に開示される技術が知られている。 For example, if the video data is not saved correctly due to a power failure, etc., even if multiple frames of image data remain in the storage, it may not be possible to play back the image data as a video. can occur. Techniques disclosed in Patent Documents 1 and 2 are known as techniques for avoiding such a situation.

特許文献1には、電源供給が急に遮断される場合を想定し、撮影した動画像と静止画像とを繰り返し瞬時に保存する技術が開示されている。また、特許文献2には、ストレージ内に一時動画データを定期的かつ一時的に保存しておき、異常が検出された場合に一時動画データをストレージの保存エリアにコピーして恒久的に保存する技術が開示されている。 Japanese Patent Application Laid-Open No. 2002-200000 discloses a technique for instantaneously saving a captured moving image and a still image in anticipation of a sudden interruption in power supply. Further, in Patent Document 2, temporary moving image data is periodically and temporarily stored in a storage, and when an abnormality is detected, the temporary moving image data is copied to a storage area of the storage and permanently stored. Techniques are disclosed.

特開2007-259248号公報JP 2007-259248 A 特開2005-151071号公報Japanese Patent Application Laid-Open No. 2005-151071

特許文献1に開示された技術では、比較的短い動画データが複数生成されるので、動画データ毎の保存処理を実行するために必要なリソースが多く必要となる。また、静止画データと動画データとが同じデータストリーム上に交互に保存されるため、動画データを切り出して再生するためには複雑な処理が必要となる。さらに、特許文献1に開示された技術では、長時間の動画データを生成することは困難である。 In the technique disclosed in Patent Document 1, a plurality of pieces of relatively short moving image data are generated, so a large amount of resources are required to execute the saving process for each piece of moving image data. In addition, since still image data and moving image data are alternately stored in the same data stream, complex processing is required to extract and reproduce moving image data. Furthermore, with the technique disclosed in Patent Document 1, it is difficult to generate long-time moving image data.

特許文献2に開示された技術では、一時動画データを定期的に保存するための一時保存エリアが必要となるため、ストレージの容量を圧迫してしまい、大容量のストレージを用意する必要が生じコストが多く掛かってしまう。 The technology disclosed in Patent Document 2 requires a temporary storage area for periodically storing temporary moving image data, which puts pressure on the storage capacity, resulting in the need to prepare a large-capacity storage, which is costly. It takes a lot.

本開示は、異常が生じた場合の動画データの保存処理を、低コストで実現できる動画保存装置、ガス監視システム、動画保存装置の制御方法、及びプログラムを提供することを目的とする。 An object of the present disclosure is to provide a video storage device, a gas monitoring system, a control method for the video storage device, and a program that can save video data in the event of an abnormality at low cost.

本開示の動画保存装置は、画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行う保存処理部と、所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記保存処理部が前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定し、決定された種類の画像データに対して前記保存処理部に前記保存処理を行わせる決定部と、を備える。 The moving image storage device of the present disclosure includes a storage processing unit that performs storage processing for storing moving image data in a reproducible state as a moving image based on the image data, and a plurality of types of image data when a predetermined abnormality occurs. Among them, the type of image data to be stored during the stop time from when the abnormality occurs until when the storage processing unit becomes unable to perform the storage process due to the abnormality is determined based on a predetermined priority. and a determination unit that determines the image data of the determined type, and causes the storage processing unit to perform the storage processing on the determined type of image data.

本開示のガス監視システムは、ガス監視対象領域の赤外画像および可視画像を生成する撮像装置と、上記の動画保存装置と、を備え、前記動画保存装置は、前記赤外画像及び前記可視画像に基づいてガス監視用の前記複数種類の動画データを生成する画像処理部をさらに備える。 A gas monitoring system of the present disclosure includes an imaging device that generates an infrared image and a visible image of a gas monitoring target area, and the moving image storage device, wherein the moving image storage device stores the infrared image and the visible image. and an image processing unit that generates the plurality of types of moving image data for gas monitoring based on.

本開示の動画保存装置の制御方法は、画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行う動画保存装置の制御方法であって、制御部が、所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記動画保存装置が前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定し、決定された種類の画像データに対して前記保存処理を行わせる制御を行う。 A control method for a moving image storage device according to the present disclosure is a control method for a moving image storage device that performs storage processing for storing moving image data in a reproducible state as a moving image based on image data, wherein occurs, among a plurality of types of image data, storage processing is performed during a stop time from the occurrence of the abnormality until the moving image storage device becomes unable to perform the storage processing due to the abnormality. The type of image data is determined based on a predetermined order of priority, and control is performed to cause the determined type of image data to undergo the storage process.

本開示のプログラムは、画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行うコンピューターが実行するプログラムであって、前記コンピューターに、所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記コンピューターが前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定させ、決定された種類の画像データに対して前記保存処理を行わせる。 The program of the present disclosure is a program that is executed by a computer that performs storage processing for storing video data in a reproducible state as a video based on image data, and when a predetermined abnormality occurs in the computer, Among the plurality of types of image data, the type of image data for which the storage process is performed during the stop time from when the abnormality occurs until the computer becomes unable to perform the storage process due to the abnormality is selected as a predetermined type. It is determined based on the order of priority, and the storage processing is performed on the determined type of image data.

本発明によれば、異常が生じた場合の動画データの保存処理を、低コストで実現できる。 According to the present invention, it is possible to save moving image data in the event of an abnormality at low cost.

ガス監視システムのブロック図Block diagram of gas monitoring system 表示時間情報の一例をリスト形式で示した図A diagram showing an example of display time information in a list format 表示回数情報の一例をリスト形式で示した図A diagram showing an example of display count information in a list format 動画保存装置の通常動作時の動作を説明するためのフローチャートFlowchart for explaining the operation during normal operation of the video storage device 決定部による、優先順位決定処理について説明するためのフローチャートFlowchart for explaining priority order determination processing by a determination unit 動画保存装置において電源異常が発生した場合の動作について説明するためのフローチャートFlowchart for explaining the operation when a power failure occurs in the video storage device

以下、本開示の実施の形態について、図面を参照して説明する。ただし、発明の範囲は図示した例に限定されない。なお、以下の説明において、同一の機能および構成を有するものについては、同一の符号を付し、その説明を省略する。 Embodiments of the present disclosure will be described below with reference to the drawings. However, the scope of the invention is not limited to the illustrated example. In addition, in the following description, the same reference numerals are given to the components having the same function and configuration, and the description thereof will be omitted.

図1は、ガス監視システム1のブロック図である。ガス監視システム1は、例えば、ガス生産施設の監視対象(プラント等)を含む監視領域を撮像し、撮像した画像に対してガス漏れを監視するための画像処理を行ってガス監視用の動画を生成し、生成した動画の保存および再生を行う。ガス監視システム1が監視できるガス(以下、対象ガス)の種類としては、例えばメタン、エタン、プロパン、ブタン等の炭化水素系のガスが挙げられる。 FIG. 1 is a block diagram of a gas monitoring system 1. As shown in FIG. The gas monitoring system 1 captures an image of a monitoring area including, for example, a monitoring target (plant, etc.) of a gas production facility, performs image processing for monitoring gas leaks on the captured image, and generates a moving image for gas monitoring. Generate, save and play generated videos. Examples of types of gases that can be monitored by the gas monitoring system 1 (hereinafter referred to as target gases) include hydrocarbon gases such as methane, ethane, propane, and butane.

図1に示すように、ガス監視システム1は、撮像装置2と、動画保存装置3と、を備える。撮像装置2と動画保存装置3とは、ケーブル4を介して接続されている。なお、撮像装置2は、動画保存装置3と無線通信を介して接続されてもよい。また、撮像装置2は、動画保存装置3とインターネット等のネットワークを介して接続されてもよい。 As shown in FIG. 1 , the gas monitoring system 1 includes an imaging device 2 and a video storage device 3 . The imaging device 2 and the moving image storage device 3 are connected via a cable 4 . Note that the imaging device 2 may be connected to the moving image storage device 3 via wireless communication. Also, the imaging device 2 may be connected to the moving image storage device 3 via a network such as the Internet.

[撮像装置]
撮像装置2は、例えば、携帯可能なカメラ装置である。撮像装置2は、所定位置に固定されたカメラ装置であってもよい。撮像装置2の動作は、例えば、後述の動画保存装置3の制御部31により制御されてもよいし、撮像装置2が有するプロセッサ等により制御されてもよい。
[Imaging device]
The imaging device 2 is, for example, a portable camera device. The imaging device 2 may be a camera device fixed at a predetermined position. The operation of the imaging device 2 may be controlled by, for example, a control unit 31 of the moving image storage device 3 described later, or may be controlled by a processor or the like included in the imaging device 2 .

撮像装置2は、例えば、動画保存装置3の操作入力部33を介して、ガス監視システム1の使用者から撮像開始の指示が入力された場合に、撮像を開始する。 The imaging device 2 starts imaging, for example, when an instruction to start imaging is input from the user of the gas monitoring system 1 via the operation input unit 33 of the moving image storage device 3 .

撮像装置2は、赤外線撮像部21および可視光撮像部22を有する。 The imaging device 2 has an infrared imaging section 21 and a visible light imaging section 22 .

<赤外線撮像部>
赤外線撮像部21は、赤外線フィルターおよび赤外線センサーを有し、被写体となる監視領域から入射した赤外線を赤外線センサーに結像させて赤外画像データを生成する。赤外線撮像部21により生成される赤外画像データは、監視領域の温度分布を示している。
<Infrared imaging unit>
The infrared imaging unit 21 has an infrared filter and an infrared sensor, and generates infrared image data by causing the infrared sensor to form an image of infrared rays incident from a monitoring area, which is a subject. The infrared image data generated by the infrared imaging section 21 indicates the temperature distribution of the monitored area.

赤外線フィルターは、所定波長帯に含まれる赤外線のみを通過させる。赤外線フィルターの通過波長帯は、被検出ガスの吸収波長帯域に合わせて設定されればよい。例えば、対象ガスがメタンである場合、通過波長帯は3.2~3.4μmの中波長域に設定される。 The infrared filter allows only infrared rays within a predetermined wavelength band to pass through. The pass wavelength band of the infrared filter may be set according to the absorption wavelength band of the gas to be detected. For example, if the target gas is methane, the pass wavelength band is set to the middle wavelength range of 3.2 to 3.4 μm.

赤外線センサーは、赤外線を受光して赤外画像データを生成する。赤外線撮像部21は、可視光撮像部22と同期した状態で、監視領域を撮像してフレーム毎に赤外画像データを生成し、複数フレームの赤外画像データを、動画保存装置3に順次出力する。 The infrared sensor receives infrared rays and generates infrared image data. The infrared imaging unit 21 captures an image of the monitoring area in synchronization with the visible light imaging unit 22 to generate infrared image data for each frame, and sequentially outputs the infrared image data of a plurality of frames to the moving image storage device 3. do.

<可視光撮像部>
可視光撮像部22は、赤外線カットフィルターおよび可視光センサーを有し、被写体となる監視領域から入射した可視光線を、可視光センサーに結像させて可視画像データを生成する。
<Visible light imaging unit>
The visible light imaging unit 22 has an infrared cut filter and a visible light sensor, and forms an image of visible light incident from a monitoring area, which is a subject, on the visible light sensor to generate visible image data.

可視光センサーは、例えば、CMOS(Complementary Metal Oxide Semiconductor)イメージセンサーであって、可視光をそれぞれ受光して可視画像データを生成する。 The visible light sensor is, for example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor, which receives visible light and generates visible image data.

このような可視光撮像部22は、赤外線撮像部21と同期した状態で、監視領域を撮像してフレーム毎に可視画像データを生成し、複数フレームの可視画像データを、動画保存装置3に順次出力する。 Such a visible light imaging unit 22 captures an image of the monitoring area in synchronization with the infrared imaging unit 21 to generate visible image data for each frame, and sequentially transfers the visible image data of a plurality of frames to the moving image storage device 3. Output.

[動画保存装置]
動画保存装置3は、撮像装置2から入力された赤外画像データおよび可視画像データを用いて、監視領域に発生した(漏れた)ガスを可視化し、ガス監視用の複数種類のガス監視用動画を生成し、保存する。また、動画保存装置3は、生成したガス監視用動画、または保存したガス監視用動画を再生することもできる。
[Video storage device]
Using the infrared image data and the visible image data input from the imaging device 2, the video storage device 3 visualizes the gas generated (leaked) in the monitoring area, and stores a plurality of types of gas monitoring videos for gas monitoring. is generated and saved. In addition, the moving image storage device 3 can also reproduce the generated gas monitoring moving image or the stored gas monitoring moving image.

動画保存装置3は、例えば、タブレット端末、スマートフォン、ラップトップ型端末、またはウェアラブル端末等の携帯端末、または据え置き型のPC(Personal Computer)である。 The video storage device 3 is, for example, a mobile terminal such as a tablet terminal, a smart phone, a laptop terminal, or a wearable terminal, or a stationary PC (Personal Computer).

動画保存装置3は、制御部31と、制御部31によって制御される各機能ブロックとしての表示部32、操作入力部33、記憶部34、および処理部35と、を有する。 The moving image storage device 3 has a control unit 31 , and a display unit 32 , an operation input unit 33 , a storage unit 34 , and a processing unit 35 as functional blocks controlled by the control unit 31 .

<制御部>
制御部31は、演算装置としてのCPU311(Central Processing Unit)、RAM312(Random Access Memory)、および主記憶装置としてのROM313(Read Only Memory)等を有し、動画保存装置3の各機能ブロックの動作を制御する。ROM313には、基本プログラムや基本的な設定データが記憶される。CPU311は、ROM313または記憶部34から処理内容に応じたプログラムを読み出してRAM312に展開し、展開したプログラムを実行することにより、ガス監視システム1の各機能ブロックの動作を集中制御する。また、制御部31は、撮像装置2の動作制御を行ってもよい。このように、制御部31は、撮像装置2、表示部32、操作入力部33、および記憶部34を、それぞれの機能に応じて制御することによって、ガス監視システム1の全体制御を行う。
<Control section>
The control unit 31 has a CPU 311 (Central Processing Unit) as an arithmetic device, a RAM 312 (Random Access Memory), a ROM 313 (Read Only Memory) as a main storage device, and the like, and controls the operation of each functional block of the video storage device 3. to control. The ROM 313 stores basic programs and basic setting data. The CPU 311 centrally controls the operation of each functional block of the gas monitoring system 1 by reading out a program corresponding to the processing content from the ROM 313 or the storage unit 34, loading it into the RAM 312, and executing the loaded program. Also, the control unit 31 may control the operation of the imaging device 2 . In this manner, the control unit 31 performs overall control of the gas monitoring system 1 by controlling the imaging device 2, the display unit 32, the operation input unit 33, and the storage unit 34 according to their respective functions.

本実施の形態では、機能ブロックを構成する各ハードウェアと制御部31とが協働することにより、各機能ブロックの機能が実現される。なお、動画保存装置3の各機能ブロックの少なくとも一部または全部は、制御部31がプログラムを実行することにより、ソフトウェア的に実現されてもよい。 In the present embodiment, the function of each functional block is realized by cooperation between each piece of hardware constituting the functional block and the control unit 31 . Note that at least some or all of the functional blocks of the moving image storage device 3 may be implemented in software by the control unit 31 executing a program.

<表示部>
表示部32は、例えば、液晶または有機EL(Electro-Luminescence)等を用いたディスプレイである。表示部32は、例えば、タッチパネル付きのフラットパネルディスプレイであって、操作入力部33を兼ねていてもよい。
<Display part>
The display unit 32 is, for example, a display using liquid crystal or organic EL (Electro-Luminescence). The display unit 32 may be, for example, a flat panel display with a touch panel and may also serve as the operation input unit 33 .

表示部32は、処理部35からの表示信号に基づいて各種画像を表示する。具体的には、表示部32には、使用者が視認により監視領域におけるガスを監視するための監視画面等が表示される。 The display unit 32 displays various images based on display signals from the processing unit 35 . Specifically, the display unit 32 displays a monitoring screen or the like for the user to visually monitor the gas in the monitoring area.

<操作入力部>
操作入力部33は、上述したようにタッチパネル等の入力部である。また、操作入力部33は、マウス、キーボード、トラックボール、スイッチ、マイク等、タッチパネル以外の入力デバイスであってもよい。
<Operation input part>
The operation input unit 33 is an input unit such as a touch panel as described above. Also, the operation input unit 33 may be an input device other than a touch panel, such as a mouse, keyboard, trackball, switch, or microphone.

操作入力部33は、撮像装置2に監視領域の撮像を開始させる操作、撮像された画像に基づき生成されたガス監視画像を表示させる操作、または過去に録画されたガス監視動画を再生する操作等を受け付ける。 The operation input unit 33 performs an operation for causing the imaging device 2 to start imaging the monitoring area, an operation for displaying a gas monitoring image generated based on the captured image, an operation for reproducing a gas monitoring video recorded in the past, and the like. accept.

<記憶部>
記憶部34は、例えば、不揮発性の半導体メモリ(いわゆるフラッシュメモリ)、HDD(Hard Disk Drive)、SSD(Solid State Drive)等の記憶装置である。記憶部34は、CD(Compact Disc)、DVD(Digital Versatile Disc)等の光ディスク、MO(Magneto-Optical disk)等の光磁気ディスクを駆動して情報を読み書きするディスクドライブであってもよい。また、例えば、記憶部34は、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード等のメモリカードであってもよい。
<Memory unit>
The storage unit 34 is, for example, a storage device such as a nonvolatile semiconductor memory (so-called flash memory), HDD (Hard Disk Drive), SSD (Solid State Drive). The storage unit 34 may be a disk drive that drives an optical disk such as a CD (Compact Disc) or a DVD (Digital Versatile Disc), or a magneto-optical disk such as an MO (Magneto-Optical disk) to read and write information. Further, for example, the storage unit 34 may be a memory card such as a USB (Universal Serial Bus) memory or an SD (Secure Digital) card.

記憶部34は、いわゆるバッファメモリに相当する一時メモリと、メインメモリに相当する主メモリと、を備える。一時メモリは主メモリより少ない記憶容量を有していてもよい。動画保存装置3の他の機能ブロックから記憶部34に伝送されてきたあるデータは、主メモリに記憶される前に、一時メモリに記憶される。そして、所定のタイミングにおいて、一時メモリに記憶されたデータが主メモリに書き込まれる。これにより、データが記憶部34に記憶される。なお、所定のタイミングとは、一時メモリに記憶されたデータ量が所定の閾値容量を超えた場合、または、後述の保存処理が実行される場合である。 The storage unit 34 includes a temporary memory corresponding to a so-called buffer memory and a main memory corresponding to a main memory. Temporary memory may have less storage capacity than main memory. Certain data transmitted from other functional blocks of the motion picture storage device 3 to the storage unit 34 is stored in the temporary memory before being stored in the main memory. Then, at a predetermined timing, the data stored in the temporary memory is written into the main memory. Thereby, the data is stored in the storage unit 34 . Note that the predetermined timing is when the amount of data stored in the temporary memory exceeds a predetermined threshold capacity, or when a storage process, which will be described later, is executed.

このように記憶部34が一時メモリと主メモリとを有することにより、動画保存装置3の他の機能ブロックから記憶部34に伝送される伝送速度と、記憶部34への書き込み速度とに速度差がある場合に、その速度差を吸収することができる。なお、記憶部34への書き込み速度が伝送速度に対して十分に速い場合には、記憶部34は一時メモリを持たず、主メモリのみ有していてもよい。この場合、他の機能ブロックから伝送されてきたデータは、主メモリに直接書き込まれる。 Since the storage unit 34 has a temporary memory and a main memory in this way, there is no difference between the transmission speed of transmission from other functional blocks of the moving image storage device 3 to the storage unit 34 and the writing speed to the storage unit 34. can absorb the speed difference when there is Note that if the writing speed to the storage unit 34 is sufficiently fast relative to the transmission speed, the storage unit 34 may have only the main memory without the temporary memory. In this case, data transmitted from other functional blocks are written directly to the main memory.

<処理部>
処理部35は、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、またはPLD(Programmable Logic Device)等の、複数の専用ハードウェア(電子回路)で構成される。それぞれのハードウェアは、例えば処理部35が有する複数の機能のそれぞれに対応する。また、1つのハードウェアが複数の機能を実現してもよい。
<Processing unit>
The processing unit 35 is composed of a plurality of dedicated hardware (electronic circuits) such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device). Each piece of hardware corresponds to, for example, each of a plurality of functions possessed by the processing unit 35 . Also, one piece of hardware may implement a plurality of functions.

処理部35は、画像処理部351、保存処理部352、決定部353、再生部354、電源管理部355を有する。処理部35の各機能は、制御部31の制御によって実現される。 The processing unit 35 has an image processing unit 351 , a storage processing unit 352 , a determining unit 353 , a reproducing unit 354 and a power management unit 355 . Each function of the processing unit 35 is realized under the control of the control unit 31 .

<画像処理部>
画像処理部351は、赤外線撮像部21から、監視領域における、時系列に沿った複数フレームの赤外画像データを受け取る。また、画像処理部351は、可視光撮像部22から、監視領域における、時系列に沿った複数の可視画像データを受け取る。
<Image processing part>
The image processing unit 351 receives, from the infrared imaging unit 21, multiple frames of infrared image data in time series in the monitoring area. The image processing unit 351 also receives a plurality of time-series visible image data in the monitoring area from the visible light imaging unit 22 .

画像処理部351は、フレーム毎に、赤外画像データおよび可視画像データに対して所定の画像処理を行い、複数種類のガス監視用画像データを生成する。複数種類のガス監視用画像データの例としては、以下の9種類が挙げられる。
(1)赤外画像データ
(2)可視画像データ
(3)赤外ガス雲画像データ
(4)温度画像データ
(5)可視ガス雲画像データ
(6)ガス強調画像データ
(7)ガス強調画像+可視画像データ
(8)コントラスト強調画像データ
(9)コントラスト強調画像+可視画像データ
The image processing unit 351 performs predetermined image processing on the infrared image data and the visible image data for each frame to generate multiple types of image data for gas monitoring. Examples of multiple types of image data for gas monitoring include the following nine types.
(1) Infrared image data (2) Visible image data (3) Infrared gas cloud image data (4) Temperature image data (5) Visible gas cloud image data (6) Gas-enhanced image data (7) Gas-enhanced image + Visible image data (8) Contrast-enhanced image data (9) Contrast-enhanced image + visible image data

赤外画像データは、赤外線撮像部21から取得した画像データである。可視画像データは、可視光撮像部22から取得した画像データである。 The infrared image data is image data acquired from the infrared imaging section 21 . The visible image data is image data obtained from the visible light imaging section 22 .

赤外ガス雲画像データは、赤外画像データを構成する画素のうち、漏れたガスに相当する画素(以下、ガス相当画素)に対して特定の色(赤色等)を付けた画像データである。漏れたガスによる監視領域においてガス漏れが発生すると、赤外画像データの当該箇所には温度変化が生じる。監視領域において温度変化が生じると、監視領域の赤外画像データには輝度の変化が生じる。このため、画像処理部351は、複数フレームの赤外画像データにおける輝度の変化を検出し、輝度が変化する画素が検出された場合に、当該画素をガス相当画素であるとして、当該画素に色を付けることにより赤外ガス雲画像データを生成する。 Infrared gas cloud image data is image data in which pixels corresponding to leaked gas (hereafter referred to as gas-corresponding pixels) among the pixels constituting the infrared image data are given a specific color (red, etc.). . If a gas leak occurs in the monitoring area due to the leaked gas, a temperature change will occur at that location in the infrared image data. When the temperature changes in the monitoring area, the infrared image data of the monitoring area changes in luminance. For this reason, the image processing unit 351 detects changes in brightness in the infrared image data of a plurality of frames, and if a pixel whose brightness changes is detected, regards the pixel as a gas-equivalent pixel, and assigns a color to the pixel. to generate infrared gas cloud image data.

温度画像データは、監視領域の赤外画像データに基づいて、予め用意したカラーパレット(色温度)を用いてRGBで表現した画像データである。 The temperature image data is image data expressed in RGB using a color palette (color temperature) prepared in advance based on the infrared image data of the monitored area.

可視ガス雲画像データは、あるタイミングで生成された可視画像データに、同じタイミングで生成された赤外画像データに基づく赤外ガス雲画像データを重ねた画像データである。 The visible gas cloud image data is image data obtained by superimposing infrared gas cloud image data based on infrared image data generated at the same timing on visible image data generated at a certain timing.

ガス強調画像データは、赤外ガス雲画像データから、背景温度に起因する周波数成分、および撮像時に発生したノイズに起因する周波数成分を除去し、ガス相当画素のみを強調した画像データである。画像処理部351は、例えば、赤外ガス雲画像データから、背景温度に起因する低周波成分とノイズに起因する高周波成分とをフィルタリングにより除去することで、ガス強調画像データを生成する。 Gas-enhanced image data is image data obtained by removing frequency components caused by background temperature and frequency components caused by noise generated during imaging from infrared gas cloud image data and emphasizing only gas-equivalent pixels. The image processing unit 351 generates gas-enhanced image data by, for example, filtering out low-frequency components caused by the background temperature and high-frequency components caused by noise from the infrared gas cloud image data.

ガス強調画像+可視画像データは、あるタイミングで生成された可視画像データに、同じタイミングで生成された赤外画像データに基づくガス強調画像データを重ねた画像データである。 The gas-enhanced image+visible image data is image data obtained by superimposing gas-enhanced image data based on infrared image data generated at the same timing on visible image data generated at a certain timing.

コントラスト強調画像データは、互いに異なるフレームの画像データ同士の差分を取り、コントラスト強調処理を行った画像データである。 The contrast-enhanced image data is image data obtained by taking a difference between image data of different frames and performing contrast enhancement processing.

コントラスト強調画像+可視画像データは、あるタイミングで生成された可視画像データに、同じタイミングで生成された赤外画像データに基づくコントラスト強調画像データを重ねた画像データである。 The contrast-enhanced image+visible image data is image data obtained by superimposing contrast-enhanced image data based on infrared image data generated at the same timing on visible image data generated at a certain timing.

画像処理部351は、以上のように生成した各種画像データを、フレーム毎に保存処理部352に出力する。なお、本実施の形態では、画像処理部351は、上述した9種類の画像データを生成するとしたが、本開示ではこれら9種類に限らず、より多い、またはより少ない種類の画像データを生成してもよい。 The image processing unit 351 outputs various image data generated as described above to the storage processing unit 352 for each frame. In the present embodiment, the image processing unit 351 generates nine types of image data as described above, but the present disclosure is not limited to these nine types, and may generate more or fewer types of image data. may

<保存処理部>
保存処理部352は、所定の契機に応じて、後述した画像処理部351から入力された複数種類の画像データのそれぞれに対して保存処理を行う。保存処理部352が保存処理を行う契機は、例えば、使用者が操作入力部33を介して、ガス監視用の動画データの生成を終了する操作を行った場合、または、動画保存装置3に電源異常等の所定の異常が生じた場合、である。
<Save processing unit>
The storage processing unit 352 performs storage processing on each of a plurality of types of image data input from the image processing unit 351, which will be described later, in accordance with a predetermined trigger. Triggered by the storage processing unit 352 to perform the storage processing, for example, the user performs an operation to end the generation of the video data for gas monitoring via the operation input unit 33, or the power supply to the video storage device 3 is turned on. This is when a predetermined anomaly such as an anomaly occurs.

本実施の形態において、保存処理とは、一時メモリに一時的に記憶された複数フレームの画像データを主メモリに書き込むとともに、複数フレームの画像データに関連情報を付加して1つの動画データとしてクローズする処理である。 In the present embodiment, the storage process means writing multiple frames of image data temporarily stored in a temporary memory to the main memory, adding related information to the multiple frames of image data, and closing the data as one moving image data. It is a process to

一般的に、画像処理部351から入力されるフレーム毎の画像データを時系列に沿って並べるだけでは、それらの画像データを動画として再生することはできない。複数の画像データが動画として正しく再生されるためには、どのフレームの画像データから動画が始まり、どのフレームで終わるかを示す情報(以下、動画関連情報と記載する)等が加えられる必要がある。 In general, simply arranging the image data for each frame input from the image processing unit 351 in chronological order cannot reproduce the image data as a moving image. In order for multiple pieces of image data to be reproduced correctly as a moving image, it is necessary to add information (hereinafter referred to as moving image-related information) indicating at which frame the moving image data starts and ends at which frame. .

上述したように、画像処理部351が画像処理したフレーム毎の画像データは、所定のタイミングが来るまで一時メモリに一時的に記憶される。保存処理部352は、保存処理の実行時、まず、一時メモリに記憶されているフレーム毎の画像データを、主メモリに書き込む。そして、保存処理部352は、主メモリに書き込まれた複数フレームの画像データに動画関連情報を付加し、1つの動画データとしてクローズする処理を行う。これにより、再生可能な動画データが生成される。そして、保存処理部352は、生成した動画データを記憶部34の主メモリに書き込む。これにより、保存処理が完了する。 As described above, the image data for each frame image-processed by the image processing unit 351 is temporarily stored in the temporary memory until a predetermined timing comes. When executing the saving process, the save processing unit 352 first writes the image data for each frame stored in the temporary memory to the main memory. Then, the storage processing unit 352 adds moving image-related information to the multiple frames of image data written in the main memory, and closes them as one piece of moving image data. Thereby, reproducible moving image data is generated. The save processing unit 352 then writes the generated moving image data into the main memory of the storage unit 34 . This completes the saving process.

なお、保存処理は、画像データの種類毎に実行される。 Note that the saving process is executed for each type of image data.

<決定部>
決定部353は、動画保存装置3に電源異常等の所定の異常が生じた場合に、動画保存装置3の各機能ブロックが動作を停止するまでの時間(以下、停止時間)に基づいて、複数種類の動画データのうち、停止時間の間に保存すべき種類を決定する。
<decision part>
The determining unit 353 determines a plurality of functions based on the time until each functional block of the moving image storage device 3 stops operating when a predetermined abnormality such as a power failure occurs in the moving image storage device 3 (hereinafter referred to as a stop time). Among the types of video data, the type to be saved during the stop time is determined.

具体例を上げて説明する。電源異常とは、例えば動画保存装置3の電源が蓄電池である場合、電池残量が所定閾値より残り少なくなった状態を指す。または、電源異常とは、蓄電池の温度が異常に上昇してしまった状態を指す。 A specific example is given and explained. For example, when the power source of the video storage device 3 is a storage battery, the power failure refers to a state in which the remaining battery level is less than a predetermined threshold. Alternatively, the power failure refers to a state in which the temperature of the storage battery has increased abnormally.

このような電源異常が生じた場合、後述の電源管理部355は、動画保存装置3の各部に対して、動作を停止し、動画保存装置3全体をシャットダウンさせる動作停止信号を送信する。なお、電源管理部355が異常の発生に応じて動作停止信号を送信してから、実際に各機能ブロックが動作を終了するまで、わずかなタイムラグ(停止時間)がある。停止時間は、例えば数ミリ秒から数秒程度である。停止時間は、例えば動画保存装置3の設計時または製造時に実験等によって実測値を計測され、停止時間情報として記憶部34にあらかじめ記憶されている。電源異常の種類によって停止時間が異なる場合には、停止時間情報は、電源異常の種類と関連付けて生成される。そして、停止時間情報は、電源異常が生じた場合に、電源管理部355により、動作停止信号とともに決定部353に送信される。 When such a power failure occurs, the power management unit 355 , which will be described later, stops the operation of each unit of the moving image storage device 3 and transmits an operation stop signal for shutting down the entire moving image storage device 3 . Note that there is a slight time lag (stop time) from when the power management unit 355 transmits an operation stop signal in response to the occurrence of an abnormality until each functional block actually ends its operation. The stop time is, for example, several milliseconds to several seconds. The stop time is actually measured by an experiment or the like when the moving image storage device 3 is designed or manufactured, for example, and is stored in advance in the storage unit 34 as stop time information. If the stop time differs depending on the type of power failure, the stop time information is generated in association with the type of power failure. The stop time information is transmitted to the determination unit 353 together with the operation stop signal by the power management unit 355 when a power failure occurs.

上述したように、動画保存装置3では、画像処理部351が複数種類の画像データを生成し、保存処理部352が、複数種類の画像データのそれぞれに対して、所定の契機に基づき保存処理を行う。保存処理部352が、1種類の画像データに対して保存処理を開始してから完了するまでには、わずかな保存処理時間が必要である。保存処理時間を示す保存処理時間情報は、記憶部34にあらかじめ記憶されている。 As described above, in the moving image storage device 3, the image processing unit 351 generates multiple types of image data, and the storage processing unit 352 stores each of the multiple types of image data based on a predetermined trigger. conduct. A short storage processing time is required for the storage processing unit 352 to complete the storage processing for one type of image data after starting the storage processing. Storage processing time information indicating the storage processing time is pre-stored in the storage unit 34 .

保存処理時間は、例えば以下のようにして特定される。上述したように、画像処理部351により画像処理が行われた画像データは、一時メモリに一時的に記憶される。保存処理では、一時メモリに記憶された画像データを主メモリに書き込む時間が必要となるため、保存処理時間Tは、以下の式(1)で算出できる。
=D/S+aT (1)
The save processing time is specified, for example, as follows. As described above, the image data that has undergone image processing by the image processing unit 351 is temporarily stored in the temporary memory. Since the saving process requires time to write the image data stored in the temporary memory to the main memory, the saving process time Tw can be calculated by the following equation (1).
T w =D/S w +aT a (1)

式(1)において、Dはその時点において一時メモリに記憶されている画像データの総データ量、Sは主メモリへの書き込み速度、Tは保存処理部352が主メモリに書き込まれた複数の画像データに動画関連情報を付加し、1つの動画データとしてクローズする処理に要する時間である。SおよびTは例えば固定値であり、例えば動画保存装置3の設計時または製造時に実験等によって実測値を計測され、記憶部34にあらかじめ記憶されていればよい。係数aは、保存処理の対象となる画像データの種類の数である。すなわち、本実施の形態ではa=9である。 In equation (1), D is the total amount of image data stored in the temporary memory at that point in time, Sw is the writing speed to the main memory, and Ta is the number of images written by the storage processing unit 352 to the main memory. This is the time required for processing to add moving image related information to the image data and close it as one piece of moving image data. Sw and Ta are fixed values, for example, and may be measured by experiments or the like when the moving image storage device 3 is designed or manufactured, and may be stored in the storage unit 34 in advance. The coefficient a is the number of types of image data to be saved. That is, a=9 in this embodiment.

所定の契機が使用者による操作入力部33への操作である場合、停止時間を考慮しなくてよいため、保存処理部352は、すべての種類の画像データに対して保存処理を問題なく完了させることができる。しかしながら、保存処理の契機が電源異常である場合、停止時間の間にすべての種類の画像データに対する保存処理が完了できるとは限らない。 If the predetermined trigger is the operation of the operation input unit 33 by the user, the storage processing unit 352 completes the storage processing for all types of image data without any problem because the stop time does not need to be considered. be able to. However, when the saving process is triggered by a power failure, it is not always possible to complete the saving process for all types of image data during the stop time.

このような事情から、決定部353は、電源異常が生じた場合には、複数種類の画像データのうち、どの種類の画像データに対して優先的に保存処理を行うかを、予め決定された優先順位に基づいて決定する。 For this reason, the determining unit 353 determines in advance which type of image data among the plurality of types of image data should be preferentially saved when a power failure occurs. Make decisions based on priorities.

優先順位は、決定部353が後述する優先順位決定処理を行うことによりあらかじめ決定される。決定部353は、優先順位決定処理において決定した優先順位を示す優先順位情報を生成して記憶部34に記憶させる。 The priority order is determined in advance by the determination unit 353 performing a priority order determination process, which will be described later. The determination unit 353 generates priority information indicating the priority determined in the priority determination process, and causes the storage unit 34 to store the priority information.

または、優先順位は、例えば使用者により予め決定され、操作入力部33を介して入力された優先順位を示す優先順位情報が、記憶部34に記憶されてもよい。 Alternatively, the priority may be determined in advance by the user, for example, and priority information indicating the priority input via the operation input unit 33 may be stored in the storage unit 34 .

<再生部>
再生部354は、画像処理部351が生成した複数種類の画像データのうちのいずれかに基づいて、表示部32にフレーム毎に表示させる。または、再生部354は、記憶部34の主メモリに保存されている過去の動画データを再生し、表示部32に表示させる。再生部354が表示部32に表示させる画像データ(動画データ)の種類は、例えば操作入力部33を介した使用者の操作によって決定される。
<Playback part>
The reproduction unit 354 causes the display unit 32 to display each frame based on one of the plurality of types of image data generated by the image processing unit 351 . Alternatively, the reproducing unit 354 reproduces past moving image data stored in the main memory of the storage unit 34 and causes the display unit 32 to display the data. The type of image data (moving image data) displayed on the display unit 32 by the playback unit 354 is determined by the user's operation via the operation input unit 33, for example.

再生部354が表示部32に表示させる画像データ(動画データ)の種類は、1種類であってもよいし、複数種類であってもよい。例えば、メインとなる1種類の画像データ(動画データ)を大きく表示させ、他の数種類の画像データ(動画データ)を小さく表示させるようにしてもよい。 The type of image data (moving image data) displayed on the display unit 32 by the reproduction unit 354 may be one type or a plurality of types. For example, one type of main image data (moving image data) may be displayed in a large size, and several other types of image data (moving image data) may be displayed in a small size.

再生部354は、表示部32に表示させた画像データ(動画データ)の種類、および当該画像データ(動画データ)の表示時間(再生時間)を、互いに関連付けて表示時間情報として記憶部34に記憶させる。図2は、表示時間情報の一例をリスト形式で示した図である。図2には、画像データ(動画データ)の種類と、種類毎の録画時間、および種類毎の表示時間との関係が示されている。 The reproduction unit 354 stores the type of image data (moving image data) displayed on the display unit 32 and the display time (reproduction time) of the image data (moving image data) in the storage unit 34 as display time information in association with each other. Let FIG. 2 is a diagram showing an example of display time information in a list format. FIG. 2 shows the relationship between the type of image data (moving image data), the recording time for each type, and the display time for each type.

または、再生部354は、表示部32に表示させた画像データ(動画データ)の種類、および当該画像データ(動画データ)の表示回数(再生回数)を、互いに関連付けて情報として記憶部34に記憶させる。図3は、表示回数情報の一例をリスト形式で示した図である。図3には、画像データ(動画データ)の種類と、種類毎の録画回数、および種類毎の表示回数との関係が示されている。 Alternatively, the reproducing unit 354 stores the type of image data (moving image data) displayed on the display unit 32 and the number of times the image data (moving image data) is displayed (the number of times of reproduction) in the storage unit 34 as information in association with each other. Let FIG. 3 is a diagram showing an example of display count information in a list format. FIG. 3 shows the relationship between the type of image data (moving image data), the number of times of recording for each type, and the number of times of displaying for each type.

再生部354は、表示時間情報と表示回数情報のうち、いずれか一方のみを生成してもよいし、両方を生成してもよい。表示時間情報および表示回数情報の少なくとも一方に基づいて、決定部353は、後述する優先順位決定処理を行う。 The reproducing unit 354 may generate either one of the display time information and the display count information, or may generate both of them. Based on at least one of the display time information and the display count information, the determination unit 353 performs priority order determination processing, which will be described later.

<電源管理部>
電源管理部355は、動画保存装置3の電源の管理を行う。本実施の形態では、上述したように、動画保存装置3の電源は蓄電池である。電源管理部355は、当該蓄電池の残量および動作温度等を管理している。電源管理部355は、蓄電池における電源異常が発生した場合、動画保存装置3の各部に対して動作を停止させる動作停止信号を送信し、動画保存装置3全体をシャットダウンさせる。上述したように、動作停止信号には、停止時間情報が付与されている。電源異常とは、上述したように、電池残量が所定閾値量より少なくなった状態、または、蓄電池の温度が所定閾値温度より上昇してしまった状態を指す。
<Power management part>
The power management unit 355 manages the power of the moving image storage device 3 . In this embodiment, as described above, the power source of the moving image storage device 3 is the storage battery. The power management unit 355 manages the remaining amount of the storage battery, the operating temperature, and the like. When a power failure occurs in the storage battery, the power management unit 355 transmits an operation stop signal to each unit of the moving image storage device 3 to stop the operation, thereby shutting down the entire moving image storage device 3 . As described above, the stop time information is attached to the operation stop signal. As described above, the power failure refers to a state in which the remaining battery level is less than a predetermined threshold value, or a state in which the temperature of the storage battery has risen above a predetermined threshold temperature.

[動作例]
次に、動画保存装置3の動作例について説明する。
[Example of operation]
Next, an operation example of the moving image storage device 3 will be described.

<通常動作時>
図4は、動画保存装置3の通常動作時の動作を説明するためのフローチャートである。なお、本実施の形態において、通常動作とは、電源異常が発生しない場合の動作を意味する。
<During normal operation>
FIG. 4 is a flowchart for explaining the operation of the moving image storage device 3 during normal operation. In this embodiment, normal operation means operation when no power failure occurs.

ステップS1において、操作入力部33は、使用者による、ガス監視領域の録画開始操作を受け付ける。 In step S1, the operation input unit 33 receives an operation for starting recording of the gas monitoring area by the user.

ステップS2において、画像処理部351は、撮像装置2から、フレーム毎の可視画像データおよび赤外画像データを取得する。 In step S<b>2 , the image processing unit 351 acquires visible image data and infrared image data for each frame from the imaging device 2 .

ステップS3において、画像処理部351は、可視画像データおよび赤外画像データに対して画像処理を行い、複数種類の画像データを生成する。 In step S3, the image processing unit 351 performs image processing on the visible image data and the infrared image data to generate multiple types of image data.

ステップS4において、記憶部34は、フレーム毎の画像データを種類毎に、一時メモリに記憶する。 In step S4, the storage unit 34 stores the image data for each frame in the temporary memory for each type.

ステップS5において、再生部354は、操作入力部33に対する使用者の操作に応じて、録画中の画像データのうち、使用者が選択した種類の画像データを表示部32に表示させる。または、再生部354は、使用者が記憶部34に保存されている過去の動画データの再生を選択した場合には、使用者が選択した種類の動画データを表示部32において再生させる。 In step S<b>5 , the playback unit 354 causes the display unit 32 to display the type of image data selected by the user from among the image data being recorded, in accordance with the user's operation on the operation input unit 33 . Alternatively, when the user selects reproduction of past moving image data stored in the storage unit 34 , the reproducing unit 354 causes the display unit 32 to reproduce the type of moving image data selected by the user.

ステップS6において、再生部354は、表示部32に表示させた画像データ(動画データ)の表示時間(再生時間)を示す表示時間情報、および表示回数(再生回数)を示す表示回数情報の少なくとも一方を生成し、記憶部34に記憶させる。 In step S6, the reproduction unit 354 displays at least one of display time information indicating the display time (playback time) of the image data (moving image data) displayed on the display unit 32 and display count information indicating the display count (playback count). is generated and stored in the storage unit 34 .

ステップS7において、操作入力部33は、録画を終了する使用者の操作があったか否かを判断する。録画を終了する操作があったと判断した場合(ステップS7:Y)、処理はステップS8に進み、そうでない場合(ステップS7:N)、処理はステップS2に戻る。 In step S7, the operation input unit 33 determines whether or not the user has performed an operation to end recording. If it is determined that there has been an operation to end recording (step S7: Y), the process proceeds to step S8; otherwise (step S7: N), the process returns to step S2.

ステップS8において、保存処理部352は、記憶部34の一時メモリに蓄積されている種類毎の画像データのそれぞれに対し、保存処理を実行する。これにより、記憶部34において、全種類の動画データが記憶部34の主メモリに保存される。 In step S<b>8 , the storage processing unit 352 executes storage processing for each type of image data accumulated in the temporary memory of the storage unit 34 . As a result, all types of moving image data are stored in the main memory of the storage unit 34 .

<優先順位決定処理>
図5は、決定部353による、優先順位決定処理について説明するためのフローチャートである。優先順位決定処理は、電源異常が発生した場合に、停止時間の間に保存処理を行うべき複数種類の画像データの優先順位を、あらかじめ(電源異常が実際に発生する前に)決定する処理である。
<Priority determination process>
FIG. 5 is a flowchart for explaining priority order determination processing by the determination unit 353 . The priority order determination process is a process for determining in advance (before the power failure actually occurs) the priority of multiple types of image data to be saved during the stop time when a power failure occurs. be.

本実施の形態では、優先順位決定処理が行われるタイミングは、特に限定されない。優先順位決定処理は、例えば1日1回等、定期的に行われてもよい。また、優先順位決定処理は、使用者が動画保存装置3においてガス監視用の動画データの作成が完了し、動画保存装置3の電源を切る際に、使用者が電源を切る操作を行ってから動画保存装置3全体がシャットダウンするまでの間等に行われてもよい。 In this embodiment, the timing at which the priority determination process is performed is not particularly limited. The priority order determination process may be performed periodically, such as once a day. In addition, the priority order determination process is performed after the user turns off the power of the moving image storage device 3 after the creation of the moving image data for gas monitoring in the moving image storage device 3 is completed. It may be performed until the entire video storage device 3 is shut down.

ステップS11において、決定部353は、記憶部34から、表示時間情報および表示回数情報の少なくとも一方を取得する。 In step S<b>11 , the determination unit 353 acquires at least one of display time information and display count information from the storage unit 34 .

ステップS12において、決定部353は、表示時間情報および表示回数情報の少なくとも一方に基づいて、優先順位を決定する。決定部353は、例えば、表示時間(再生時間)が長い順に優先順位を決定する。または、決定部353は、表示回数(再生回数)が多い順に優先順位を決定する。決定部353は、表示時間情報および表示回数情報の両方を用いて、優先順位を決定してもよい。 In step S12, the determining unit 353 determines priority based on at least one of the display time information and the display count information. The decision unit 353 decides the order of priority, for example, in descending order of display time (playback time). Alternatively, the determination unit 353 determines the priority in descending order of the number of times of display (the number of times of reproduction). The determining unit 353 may determine the order of priority using both the display time information and the display count information.

ステップS13において、決定部353は、ステップS12で決定した優先順位を示す優先順位情報を生成し、記憶部34に記憶させる。 In step S<b>13 , the determination unit 353 generates priority information indicating the priority determined in step S<b>12 and stores the information in the storage unit 34 .

<電源異常発生時の動作>
図6は、動画保存装置3において電源異常が発生した場合の動作について説明するためのフローチャートである。
<Operation when power failure occurs>
FIG. 6 is a flow chart for explaining the operation when a power failure occurs in the moving image storage device 3 .

ステップS21において、電源管理部355は、電源異常が発生したことを検知する。 In step S21, the power management unit 355 detects that a power failure has occurred.

ステップS22において、電源管理部355は、動画保存装置3の各部に対して、動作を停止して動画保存装置3全体をシャットダウンさせる動作停止信号および停止時間情報を送信する。なお、停止時間情報は、動画保存装置3の各部に対して送信されるのではなく、決定部353のみに対して送信されてもよい。 In step S<b>22 , the power management unit 355 transmits an operation stop signal and stop time information to each unit of the moving image storage device 3 to stop the operation and shut down the entire moving image storage device 3 . Note that the stop time information may be transmitted only to the determination unit 353 instead of being transmitted to each unit of the moving image storage device 3 .

ステップS23において、決定部353は、動作停止信号の受信を契機として、複数種類の画像データのうち保存処理を行うべき種類を、停止時間情報、保存処理時間情報、および優先順位情報に基づいて決定する。 In step S23, upon receipt of the operation stop signal, the determination unit 353 determines the type of image data to be stored among the plurality of types of image data based on the stop time information, the storage processing time information, and the priority information. do.

具体的には、決定部353は、停止時間を保存処理時間で除することにより、保存処理が可能な画像データの種類の数を算出し、優先順位が高い方から、算出した数に対応する種類の画像データに対して保存処理を行うと決定する。画像データの種類によって保存処理時間が異なる場合には、決定部353は、優先順位が高い順に保存処理時間を加算していき、保存処理時間の合計が停止時間を越える直前までの種類の画像データに対して保存処理を行うと決定する。 Specifically, the determining unit 353 calculates the number of types of image data that can be saved by dividing the stop time by the save processing time, and the It is determined that the type of image data is to be saved. If the storage processing time differs depending on the type of image data, the determination unit 353 adds the storage processing time in order of priority, and the image data of the type until the total storage processing time exceeds the stop time. It decides to perform the saving process for .

ステップS24において、保存処理部352は、ステップS23で決定部353が決定した種類の画像データに対して保存処理を行い、記憶部34に動画データとして保存させる。 In step S24, the storage processing unit 352 performs storage processing on the image data of the type determined by the determination unit 353 in step S23, and causes the storage unit 34 to store the image data as moving image data.

ステップS25において、動画保存装置3の各部は、動作停止信号に応じて動作を停止し、動画保存装置3全体がシャットダウンする。 In step S25, each unit of the moving image storage device 3 stops operating in response to the operation stop signal, and the entire moving image storage device 3 is shut down.

このように、電源異常が発生した場合には、停止時間情報、保存処理時間情報、および優先順位情報に基づいて、優先順位が高い種類の画像データに対して保存処理を行わせることができる。これにより、優先順位が高い種類の画像データに関しては、電源異常が回復したあと、問題なく再生を行うことができる。 In this way, when a power failure occurs, it is possible to cause image data of a higher priority type to be saved based on the stop time information, save processing time information, and priority order information. As a result, image data of a type with a high priority can be reproduced without any problem after the power failure is recovered.

<作用、効果等>
以上説明したように、本開示の動画保存装置3は、画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行う保存処理部352と、所定の異常が発生した場合に、複数種類の画像データのうち、異常が発生してから当該異常により保存処理部352が保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定し、決定された種類の画像データに対して保存処理部352に保存処理を行わせる決定部353と、を備える。
<Action, effect, etc.>
As described above, the moving image storage device 3 of the present disclosure includes the storage processing unit 352 that performs storage processing for storing moving image data in a reproducible state as a moving image based on the image data, and the 2, among the plurality of types of image data, the type of image data for which the storage processing is performed during the stop time from when an abnormality occurs until the storage processing unit 352 becomes unable to perform the storage processing due to the abnormality, and a determination unit 353 that determines based on a predetermined priority and causes the storage processing unit 352 to perform storage processing on the determined type of image data.

このような構成により、複数種類の画像データのうち、例えば使用者が見る時間が長い画像データ等、優先順位が高い種類の画像データに対して優先的に保存処理を行い、動画データとして保存することができる。これにより、優先順位が高い種類の画像データが、動画保存装置3に生じた不慮の異常によって失われてしまう事態を回避できる。このため、優先順位が高い種類の画像データに関しては、撮影したにもかかわらず動画を閲覧できない事態を回避できる。また、優先順位が高い種類の画像データに関しては、通常動作と同様の保存処理を行うことができるので、長時間の録画が行われた場合には長時間の動画データを問題なく保存することができる。 With such a configuration, among a plurality of types of image data, a type of image data having a high priority, such as image data that a user spends a long time viewing, is preferentially stored and stored as moving image data. be able to. As a result, it is possible to avoid a situation in which image data of a type with a high priority is lost due to an unexpected abnormality occurring in the moving image storage device 3 . Therefore, it is possible to avoid a situation in which a moving image cannot be browsed even though it has been shot for image data of a type with a high priority. In addition, image data with a high priority can be saved in the same manner as in normal operation, so when long-time recording is performed, long-time video data can be saved without problems. can.

また、本開示の動画保存装置3によれば、バックアップ用の動画データを記憶部34に保存する方法を採用していない。本開示の動画保存装置3では、複数種類の画像データに基づいて複数種類の動画データを記憶部34に保存する必要があるため、バックアップ用の動画データをも記憶部34に保存する方法を採用した場合、複数種類の動画データのそれぞれについてバックアップ用の記憶領域が必要となり、記憶部34に非常に大きな記憶容量を用意する必要がある。本開示では、バックアップ用の動画データを記憶部34に保存する方法を採用していないため、バックアップ用の動画データを保存するために記憶部34に余分な記憶領域を用意する必要がない。このため、動画保存装置3の製造コストを抑えることができる。なお、動画保存装置3の外部に動画データのバックアップ用の記憶装置を設け、動画保存装置3により録画された動画データをバックアップ用の記憶装置にバックアップしてもよいことは、言うまでもない。 Further, according to the moving image storage device 3 of the present disclosure, a method of storing backup moving image data in the storage unit 34 is not adopted. In the moving image storage device 3 of the present disclosure, it is necessary to store multiple types of moving image data in the storage unit 34 based on multiple types of image data. In this case, a storage area for backup is required for each of the plurality of types of moving image data, and it is necessary to prepare a very large storage capacity in the storage section 34 . Since the present disclosure does not employ a method of storing backup moving image data in the storage unit 34, there is no need to prepare an extra storage area in the storage unit 34 for storing backup moving image data. Therefore, the manufacturing cost of the moving image storage device 3 can be suppressed. Needless to say, a storage device for backing up moving image data may be provided outside the moving image storage device 3, and the moving image data recorded by the moving image storage device 3 may be backed up in the backup storage device.

なお、本開示の動画保存装置3において、優先順位は、使用者が録画中に閲覧している画像データの種類毎の表示時間または表示回数に基づいて決定される。これにより、使用者がよく閲覧する種類の画像データに対して保存処理を行うことができるので、使用者にとって使い勝手がよくなる。 In addition, in the moving image storage device 3 of the present disclosure, the priority order is determined based on the display time or display count for each type of image data that the user is viewing during recording. As a result, it is possible to save the image data of the type that the user often browses, which improves usability for the user.

<変形例>
上述した実施の形態では、動画保存装置3は、撮像装置2が撮像したガス監視用の画像データに基づき、ガス監視用の動画データを保存する例について説明した。しかしながら、本開示に係る動画保存装置は、ガス監視用の動画データに限らず、他の用途の動画データを保存する装置にも適用が可能である。本開示に係る動画保存装置は、特に複数種類の動画データを同時に保存する場合に特に有用である。
<Modification>
In the above-described embodiment, an example has been described in which the moving image storage device 3 stores moving image data for gas monitoring based on image data for gas monitoring captured by the imaging device 2 . However, the moving image storage device according to the present disclosure is applicable not only to moving image data for gas monitoring, but also to a device that stores moving image data for other purposes. The moving image storage device according to the present disclosure is particularly useful when simultaneously storing multiple types of moving image data.

上述した実施の形態では、動画保存装置3に生じる異常として、電源異常を例示したが、本開示はこれに限定されない。例えば電源異常以外にも、動画保存装置3が動作を停止しなければならない異常が生じた場合に、停止時間情報とともに動作停止信号が動画保存装置3の各部に送信され、優先順位が高い種類の画像データの中から、停止時間の間に保存可能なものを保存するようにしてもよい。 In the above-described embodiment, a power failure was exemplified as an abnormality occurring in the moving image storage device 3, but the present disclosure is not limited to this. For example, when an abnormality other than a power failure occurs that requires the motion picture storage device 3 to stop its operation, an operation stop signal is sent to each part of the motion picture storage device 3 together with stop time information, and a type with a high priority is sent. Image data that can be saved during the stop time may be saved.

本発明は、複数種類の動画データを保存する動画保存装置に好適である。 INDUSTRIAL APPLICABILITY The present invention is suitable for moving image storage devices that store multiple types of moving image data.

1 ガス監視システム
2 撮像装置
21 赤外線撮像部
22 可視光撮像部
3 動画保存装置
31 制御部
32 表示部
33 操作入力部
34 記憶部
35 処理部
351 画像処理部
352 保存処理部
353 決定部
354 再生部
355 電源管理部
4 ケーブル
1 gas monitoring system 2 imaging device 21 infrared imaging unit 22 visible light imaging unit 3 moving image storage device 31 control unit 32 display unit 33 operation input unit 34 storage unit 35 processing unit 351 image processing unit 352 storage processing unit 353 determination unit 354 reproduction unit 355 power management section 4 cable

Claims (7)

画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行う保存処理部と、
所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記保存処理部が前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定し、決定された種類の画像データに対して前記保存処理部に前記保存処理を行わせる決定部と、
を備える、動画保存装置。
a storage processing unit that performs storage processing for storing video data in a reproducible state as a video based on image data;
When a predetermined abnormality occurs, among a plurality of types of image data, saving processing is performed during a stop time from when the abnormality occurs to when the saving processing unit becomes unable to perform the saving processing due to the abnormality. a determination unit that determines the type of image data to be subjected to the storage processing based on a predetermined priority, and causes the storage processing unit to perform the storage processing on the determined type of image data;
A video storage device.
使用者の操作入力を受け付ける操作入力部をさらに備え、
前記決定部は、前記操作入力部に対する前記使用者の操作入力に基づいて、前記優先順位を決定する、
請求項1に記載の動画保存装置。
further comprising an operation input unit for receiving operation input from the user,
The determination unit determines the priority based on the user's operation input to the operation input unit.
The moving picture storage device according to claim 1.
前記複数種類の画像データ、または、保存されている前記複数種類の動画データのうち、前記操作入力部を介して前記使用者が指定した種類の画像データまたは動画データを再生する再生部、をさらに備え、
前記決定部は、前記再生部により再生された前記画像データまたは動画データの種類毎に再生時間または再生回数の少なくとも一方を計測し、計測結果に基づいて前記優先順位を決定する、
請求項2に記載の動画保存装置。
a playback unit for playing back the type of image data or video data specified by the user through the operation input unit from among the plurality of types of image data or the plurality of types of stored video data; prepared,
The determination unit measures at least one of a playback time and a number of playback times for each type of the image data or video data played back by the playback unit, and determines the priority based on the measurement result.
The moving picture storage device according to claim 2.
前記決定部は、前記保存処理の開始からを完了までに要する時間である保存処理時間を取得し、前記保存処理時間および前記停止時間に基づいて前記複数種類の画像データのうち前記停止時間の間に保存できる画像データの数を算出し、算出した数および前記優先順位に基づいて、前記停止時間の間に保存処理を行わせる画像データの種類を決定する、
請求項1から3のいずれか一項に記載の動画保存装置。
The determination unit obtains a storage processing time, which is a time required from the start of the storage processing to the completion thereof, and obtains a storage processing time between the plurality of types of image data based on the storage processing time and the stop time. calculating the number of image data that can be stored in the storage device, and determining the type of image data to be stored during the stop time based on the calculated number and the priority order;
The moving picture storage device according to any one of claims 1 to 3.
ガス監視対象領域の赤外画像および可視画像を生成する撮像装置と、
請求項1から4のいずれか1項に記載の動画保存装置と、
を備え、
前記動画保存装置は、前記赤外画像及び前記可視画像に基づいてガス監視用の前記複数種類の動画データを生成する画像処理部をさらに備える、
ガス監視システム。
an imaging device that produces infrared and visible images of a gas monitored area;
A moving image storage device according to any one of claims 1 to 4;
with
The moving image storage device further includes an image processing unit that generates the plurality of types of moving image data for gas monitoring based on the infrared image and the visible image.
Gas monitoring system.
画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行う動画保存装置の制御方法であって、
制御部が、
所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記動画保存装置が前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定し、
決定された種類の画像データに対して前記保存処理を行わせる
制御を行う、動画保存装置の制御方法。
A control method for a video storage device that performs storage processing for storing video data in a reproducible state as a video based on image data, comprising:
The control unit
When a predetermined abnormality occurs, among a plurality of types of image data, the saving process is performed during a stop time from when the abnormality occurs until when the moving image saving device becomes unable to perform the saving process due to the abnormality. determining the type of image data to be processed based on a predetermined priority;
A control method for a moving image storage device, comprising: controlling to perform the storage processing on image data of a determined type.
画像データに基づいて、動画として再生可能な状態で動画データを保存する保存処理を行うコンピューターが実行するプログラムであって、
前記コンピューターに、
所定の異常が発生した場合に、複数種類の画像データのうち、前記異常が発生してから当該異常により前記コンピューターが前記保存処理を行うことができなくなるまでの停止時間の間に保存処理を行わせる画像データの種類を、所定の優先順位に基づいて決定させ、
決定された種類の画像データに対して前記保存処理を行わせる、
プログラム。
A program executed by a computer that performs storage processing for storing video data in a reproducible state as a video based on image data,
on said computer;
When a predetermined abnormality occurs, among a plurality of types of image data, the saving process is performed during the stop time from when the abnormality occurs until the computer becomes unable to perform the saving process due to the abnormality. determining the type of image data to be processed based on a predetermined priority;
causing the storage process to be performed on the determined type of image data;
program.
JP2021205093A 2021-12-17 2021-12-17 Moving image storage device, gas monitoring system, control method for moving image storage device, and program Pending JP2023090229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021205093A JP2023090229A (en) 2021-12-17 2021-12-17 Moving image storage device, gas monitoring system, control method for moving image storage device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021205093A JP2023090229A (en) 2021-12-17 2021-12-17 Moving image storage device, gas monitoring system, control method for moving image storage device, and program

Publications (1)

Publication Number Publication Date
JP2023090229A true JP2023090229A (en) 2023-06-29

Family

ID=86937199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021205093A Pending JP2023090229A (en) 2021-12-17 2021-12-17 Moving image storage device, gas monitoring system, control method for moving image storage device, and program

Country Status (1)

Country Link
JP (1) JP2023090229A (en)

Similar Documents

Publication Publication Date Title
CN107087121A (en) A kind of Autoconducting method and device based on motion detection
US20160269674A1 (en) Dynamic Video Capture Rate Control
JP5194703B2 (en) Data processing apparatus and shared memory access method
JP6137980B2 (en) Recording apparatus and control method thereof
CN114117305A (en) Process control method, device, terminal and computer readable storage medium
US10771681B2 (en) Imaging pickup apparatus of which display start timing and display quality are selectable, method of controlling the same
JP2023090229A (en) Moving image storage device, gas monitoring system, control method for moving image storage device, and program
WO2010122620A1 (en) Image reproduction apparatus and image reproduction method
JP6012460B2 (en) Video recording apparatus and surveillance camera system
JP2021027579A (en) Image determination device and image determination system
JP2010147970A (en) Data recording apparatus, data recording method and recording medium
US10165223B2 (en) Pre-selectable video file playback system and method, and computer program product
US9432650B2 (en) Image display apparatus, image capturing apparatus, and method of controlling image display apparatus
JP2008098916A (en) Moving image display device and moving image display method
US11689800B2 (en) Image capturing apparatus and method of controlling the same, and storage medium
KR101484783B1 (en) Digital video recorder and hard disc management method
JP2015220502A5 (en)
JP2010166273A (en) Data recorder
JP2010054939A (en) Information processor and image signal processing method
JP2024126233A (en) Display abnormality detection system and display abnormality detection method
JP2012070217A (en) Data processing device, data processing method and program
KR101485992B1 (en) Method and apparatus for implementing PIP
JP5106452B2 (en) Monitoring and recording system
JP2024107779A (en) VIDEO MANAGEMENT DEVICE, VIDEO MANAGEMENT METHOD, AND VIDEO MANAGEMENT PROGRAM
KR101362594B1 (en) Method for searching object of picture using reference feature points

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240625