JP2011095979A - Screen recording device - Google Patents

Screen recording device Download PDF

Info

Publication number
JP2011095979A
JP2011095979A JP2009248924A JP2009248924A JP2011095979A JP 2011095979 A JP2011095979 A JP 2011095979A JP 2009248924 A JP2009248924 A JP 2009248924A JP 2009248924 A JP2009248924 A JP 2009248924A JP 2011095979 A JP2011095979 A JP 2011095979A
Authority
JP
Japan
Prior art keywords
image data
recording
screen
image
condition
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.)
Granted
Application number
JP2009248924A
Other languages
Japanese (ja)
Other versions
JP5460239B2 (en
Inventor
Hironobu Abe
博信 阿倍
Takehisa Kawaura
健央 川浦
Seiji Okumura
誠司 奥村
Shingo Mine
慎吾 峯
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009248924A priority Critical patent/JP5460239B2/en
Publication of JP2011095979A publication Critical patent/JP2011095979A/en
Application granted granted Critical
Publication of JP5460239B2 publication Critical patent/JP5460239B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • User Interface Of Digital Computer (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically record image data from a point of time when the setting of image data are matched with recording start conditions until a point of time when it is matched with recording end conditions, without altering the software of an application. <P>SOLUTION: This screen recording device is provided with: a recording condition setting part 3 for accepting the setting of image data matched with recording start conditions, and for accepting the setting of the image data matched with recording end conditions; and a screen image analyzing part 4 for comparing image data whose setting has been accepted by the recording condition setting part 3 with image data acquired by a screen image input part 2, and for detecting a recording start timing and a recording end timing by referring to the result of comparison. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータの記録を自動的に開始して、そのイメージデータの記録を自動的に終了するスクリーン記録装置に関するものである。   The present invention relates to a screen recording apparatus that automatically starts recording image data indicating an image on a screen that changes in accordance with execution of an application, and automatically ends the recording of the image data.

予め、コンピュータ上のデータ(例えば、表示データ、入力履歴、ユーザ名、端末名など)を取り込む際の取り込み条件を設定し、入力等の状況が取り込み条件に合致すると、コンピュータ上のデータを取り込む技術が、例えば、以下の特許文献1,2に開示されている。
即ち、この技術は、ペンやキーボードによるユーザ入力情報を解析して、ユーザ入力情報がデータの取り込み条件に合致しているか否かを判定し、データの取り込み条件に合致していれば、コンピュータ上のデータを取り込むものであるが、アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータの記録開始タイミングや、イメージデータの記録終了タイミングを検出するものではない。
A technology for setting in advance conditions for capturing data on a computer (for example, display data, input history, user name, terminal name, etc.), and capturing the data on the computer when the input condition matches the capturing conditions However, it is disclosed in the following Patent Documents 1 and 2, for example.
In other words, this technique analyzes user input information using a pen or a keyboard, determines whether or not the user input information matches the data capture condition, and if it matches the data capture condition, However, it does not detect the recording start timing of the image data indicating the image on the screen that changes with the execution of the application or the recording end timing of the image data.

したがって、イメージデータを記録するスクリーン記録装置に対して、ユーザ入力情報がデータの取り込み条件に合致しているか否かを判定する技術を適用しても、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータの記録を自動的に行うスクリーン記録装置を構成することはできない。   Therefore, even if a technique for determining whether the user input information matches the data capture condition is applied to the screen recording apparatus that records the image data, the recording ends from the time when the recording start condition is met. A screen recording apparatus that automatically records image data cannot be configured until a time point that meets the conditions.

特開平11−136606号公報(段落番号[0039]から[0040])JP-A-11-136606 (paragraph numbers [0039] to [0040]) 特開2003−76405号公報(段落番号[0015]から[0016])JP 2003-76405 A (paragraph numbers [0015] to [0016])

従来のスクリーン記録装置は以上のように構成されているので、ユーザ入力情報がデータの取り込み条件に合致しているか否かを判定することができても、アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータの記録開始タイミングや、イメージデータの記録終了タイミングを検出することができない。このため、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータの記録を自動的に行うことができないなどの課題があった。
なお、スクリーン上に所定の画像が表示されたときに、その画像を示すイメージデータの記録を開始するように、アプリケーションのソフトウェアを改変すれば、イメージデータの記録を自動的に行うことができるようになるが、ソフトウェアの改変が必要であるため、適用可能なアプリケーションが限定されるとともに、多くの労力を要する課題があった。
Since the conventional screen recording apparatus is configured as described above, even if it can be determined whether or not the user input information matches the data capturing condition, the screen recording apparatus changes as the application is executed. It is impossible to detect the recording start timing of image data indicating the image of the image and the recording end timing of image data. For this reason, there has been a problem that image data cannot be automatically recorded from the time when the recording start condition is met to the time when the recording end condition is met.
When a predetermined image is displayed on the screen, the image data can be automatically recorded by modifying the application software so that the image data indicating the image is started. However, since it is necessary to modify the software, applicable applications are limited, and there is a problem that requires a lot of labor.

この発明は上記のような課題を解決するためになされたもので、アプリケーションのソフトウェアを改変することなく、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータを自動的に記録することができるスクリーン記録装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and without changing the application software, image data is automatically acquired from the time when the recording start condition is met to the time when the recording end condition is met. It is an object of the present invention to obtain a screen recording apparatus capable of recording data.

この発明に係るスクリーン記録装置は、イメージデータ取得手段により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける条件設定手段と、条件設定手段により設定が受け付けられた画像データとイメージデータ取得手段により取得されたイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出するタイミング検出手段とを設け、イメージデータ記録手段が、タイミング検出手段により記録開始タイミングが検出された時点から、イメージデータ取得手段により取得されたイメージデータの記録を開始し、タイミング検出手段により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了するようにしたものである。   The screen recording apparatus according to the present invention receives a setting of image data that matches the recording start condition as a recording start condition when starting recording of the image data acquired by the image data acquisition means, and As a recording end condition at the time of ending recording, a condition setting unit that accepts the setting of image data that matches the recording end condition, the image data that has been accepted by the condition setting unit, and the image acquired by the image data obtaining unit A timing detection means for comparing the data and referring to the comparison result to detect a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data; Recording start timing by timing detection means The recording of the image data acquired by the image data acquisition means is started from the detected time point, and the recording of the image data is ended when the recording end timing is detected by the timing detection means. .

この発明によれば、イメージデータ取得手段により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける条件設定手段と、条件設定手段により設定が受け付けられた画像データとイメージデータ取得手段により取得されたイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出するタイミング検出手段とを設け、イメージデータ記録手段が、タイミング検出手段により記録開始タイミングが検出された時点から、イメージデータ取得手段により取得されたイメージデータの記録を開始し、タイミング検出手段により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了するように構成したので、アプリケーションのソフトウェアを改変することなく、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータを自動的に記録することができる効果がある。   According to this invention, as the recording start condition when starting the recording of the image data acquired by the image data acquisition means, the setting of the image data that matches the recording start condition is accepted and the recording of the image data is ended. The condition setting means for receiving the setting of image data that matches the recording end condition, and the image data received by the condition setting means and the image data acquired by the image data acquisition means And a timing detection means for detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data with reference to the comparison result, and the image data recording means detects the timing. Whether the recording start timing is detected by the means Since the recording of the image data acquired by the image data acquisition means is started and the recording of the image data is ended when the recording end timing is detected by the timing detection means, the application software is modified. Thus, there is an effect that the image data can be automatically recorded from the time when the recording start condition is met to the time when the recording end condition is met.

この発明の実施の形態1によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるスクリーン記録装置の処理内容(記録準備フェーズ、記録開始フェーズ)を示すフローチャートである。It is a flowchart which shows the processing content (a recording preparation phase, a recording start phase) of the screen recording apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるスクリーン記録装置の処理内容(記録終了フェーズ、画像再生フェーズ)を示すフローチャートである。It is a flowchart which shows the processing content (a recording end phase, an image reproduction phase) of the screen recording apparatus by Embodiment 1 of this invention. 記録開始条件に合致するイメージファイル(記録開始条件に合致する画像データのデータファイル)及び記録終了条件に合致するイメージファイル(記録終了条件に合致する画像データのデータファイル)の一例を示す説明図である。FIG. 5 is an explanatory diagram illustrating an example of an image file that matches a recording start condition (an image data data file that matches a recording start condition) and an image file that matches a recording end condition (an image data data file that matches a recording end condition); is there. 記録開始条件に合致するイメージファイル及び記録終了条件に合致するイメージファイルが読み込まれた内部バッファの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the internal buffer from which the image file which matches recording start conditions, and the image file which matches recording end conditions were read. ピクセル毎に8ビットのR,G,Bデータを有し、スクリーン全体でWidth(1024ピクセル)×Height(768ピクセル)のイメージデータを示す説明図である。It is explanatory drawing which has 8-bit R, G, B data for every pixel, and shows the image data of Width (1024 pixels) x Height (768 pixels) in the whole screen. イメージデータの圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)を示す説明図である。It is explanatory drawing which shows the compression system and compression parameter (resolution, frame rate, compression rate) of image data. この発明の実施の形態2によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるスクリーン記録装置の処理内容(記録準備フェーズ、記録開始フェーズ)を示すフローチャートである。It is a flowchart which shows the processing content (a recording preparation phase, a recording start phase) of the screen recording apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるスクリーン記録装置の処理内容(記録終了フェーズ、画像再生フェーズ)を示すフローチャートである。It is a flowchart which shows the processing content (a recording end phase, an image reproduction phase) of the screen recording apparatus by Embodiment 2 of this invention. この発明の実施の形態3によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 3 of this invention. 記録条件設定部による色指定方式の一例を示す説明図である。It is explanatory drawing which shows an example of the color designation system by a recording condition setting part. この発明の実施の形態4によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 4 of this invention. 記録条件設定部による領域指定方式の一例を示す説明図である。It is explanatory drawing which shows an example of the area | region designation | designated system by a recording condition setting part. この発明の実施の形態5によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 5 of this invention. 記録開始条件に合致するイメージファイル列(記録開始条件に合致する画像データのデータファイル列)及び記録終了条件に合致するイメージファイル列(記録終了条件に合致する画像データのデータファイル列)の一例を示す説明図である。An example of an image file sequence that matches the recording start condition (image data data file sequence that matches the recording start condition) and an image file sequence that matches the recording end condition (image data data file sequence that matches the recording end condition) It is explanatory drawing shown. 記録開始条件に合致するイメージファイル列及び記録終了条件に合致するイメージファイル列が読み込まれた内部バッファの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the internal buffer in which the image file sequence which matches recording start conditions, and the image file sequence which matches recording end conditions were read. この発明の実施の形態6によるスクリーン記録装置を示す構成図である。It is a block diagram which shows the screen recording apparatus by Embodiment 6 of this invention. CPUの負荷に対応する圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)の一例を示す説明図である。It is explanatory drawing which shows an example of the compression system and compression parameter (resolution, frame rate, compression rate) corresponding to the load of CPU.

実施の形態1.
図1はこの発明の実施の形態1によるスクリーン記録装置を示す構成図である。
図1において、アプリケーション1はスクリーン記録装置のCPU(図示せず)により実行されるソフトウェアであって、例えば、ある機器や設備などの運転状況を知らせる運転監視画面や、ある機器や設備などの異常を知らせる異常表示画面などをスクリーン記録装置のスクリーン(ディスプレイ)に表示するソフトウェアである。
スクリーンイメージ入力部2はスクリーンキャプチャ機能を備えており、アプリケーション1の実行に伴って変化するスクリーン上の画像(例えば、運転監視画面や異常表示画面)を示すイメージデータをフレームバッファ経由で取得する処理を実施する。なお、スクリーンイメージ入力部2はイメージデータ取得手段を構成している。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a screen recording apparatus according to Embodiment 1 of the present invention.
In FIG. 1, an application 1 is software executed by a CPU (not shown) of a screen recording device. For example, an operation monitoring screen for notifying an operation status of a certain device or facility, or an abnormality of a certain device or facility, for example. Software that displays an abnormal display screen or the like on the screen (display) of the screen recording device.
The screen image input unit 2 has a screen capture function, and obtains, via a frame buffer, image data indicating an image on the screen (for example, an operation monitoring screen or an abnormal display screen) that changes as the application 1 is executed. To implement. The screen image input unit 2 constitutes image data acquisition means.

記録条件設定部3は例えばキーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。なお、記録条件設定部3は条件設定手段を構成している。   The recording condition setting unit 3 includes a man-machine interface such as a keyboard and a mouse, for example, and recording when starting recording of the image data acquired by the screen image input unit 2 under the operation of the man-machine interface by the user. A process for accepting image data settings that match the recording start conditions as start conditions and accepting image data settings that match the recording end conditions as recording end conditions when ending the recording of the image data To do. The recording condition setting unit 3 constitutes condition setting means.

スクリーンイメージ解析部4は記録条件設定部3により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部4は記録条件設定部3により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部4はタイミング検出手段を構成している。
The screen image analysis unit 4 analyzes the image data set by the recording condition setting unit 3 and the image data acquired by the screen image input unit 2, and compares the image data with the image data. With reference to the comparison result, a process of detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data is performed.
That is, the screen image analysis unit 4 compares the image data that matches the recording start condition received by the recording condition setting unit 3 and the image data that matches the recording end condition and the image data acquired by the screen image input unit 2. Is calculated as the recording start timing, and the difference between the image data and the image data that matches the recording end condition is determined to be a predetermined value. The process which detects the timing which becomes below this threshold value as a recording end timing is implemented.
The screen image analysis unit 4 constitutes timing detection means.

スクリーンイメージ記録処理部5はスクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部5はイメージデータを記録する際、所定の圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)でイメージデータを圧縮して、圧縮後のイメージデータをイメージデータ格納部6に記録する。
イメージデータ格納部6は圧縮後のイメージデータを保存する例えばハードディスクなどの記録媒体である。
なお、スクリーンイメージ記録処理部5及びイメージデータ格納部6からイメージデータ記録手段が構成されている。
The screen image recording processing unit 5 starts recording the image data acquired by the screen image input unit 2 from the time when the recording start timing is detected by the screen image analysis unit 4, and the recording end timing is set by the screen image analysis unit 4. When detected, the recording of the image data is terminated.
However, when recording the image data, the screen image recording processing unit 5 compresses the image data with a predetermined compression method and compression parameters (resolution, frame rate, compression rate), and the compressed image data is stored in the image data storage unit. Record in 6.
The image data storage unit 6 is a recording medium such as a hard disk for storing the compressed image data.
The screen image recording processing unit 5 and the image data storage unit 6 constitute image data recording means.

画像再生部7はスクリーンイメージ記録処理部5により圧縮されて、イメージデータ格納部6に保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する処理を実施する。なお、画像再生部7は画像再生手段を構成している。   The image reproduction unit 7 reads the image data compressed by the screen image recording processing unit 5 and stored in the image data storage unit 6, performs an expansion process on the image data, and then displays an image according to the image data. Perform playback on the screen. The image reproducing unit 7 constitutes an image reproducing unit.

図1では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 1, each of the screen image input unit 2, the recording condition setting unit 3, the screen image analysis unit 4, the screen image recording processing unit 5 and the image reproduction unit 7 which are components of the screen recording apparatus is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 3, the screen image analysis unit 4, the screen image recording processing unit 5 and the image reproduction unit 7 is stored in the memory of the computer, and the CPU of the computer is stored in the memory. The program may be executed.

次に動作について説明する。
この実施の形態1では、スクリーン記録装置の動作を以下の4つフェーズに分けて説明する。
(1)フェーズ1:イメージデータの記録準備
(2)フェーズ2:イメージデータの記録開始
(3)フェーズ3:イメージデータの記録終了
(4)フェーズ4:画像再生
図2はこの発明の実施の形態1によるスクリーン記録装置の処理内容(フェーズ1、フェーズ2)を示すフローチャートである。
また、図3はこの発明の実施の形態1によるスクリーン記録装置の処理内容(フェーズ3、フェーズ4)を示すフローチャートである。
Next, the operation will be described.
In the first embodiment, the operation of the screen recording apparatus will be described in the following four phases.
(1) Phase 1: Image data recording preparation (2) Phase 2: Image data recording start (3) Phase 3: Image data recording end (4) Phase 4: Image reproduction FIG. 2 shows an embodiment of the present invention. 2 is a flowchart showing the processing contents (phase 1 and phase 2) of the screen recording apparatus according to 1;
FIG. 3 is a flowchart showing the processing contents (phase 3 and phase 4) of the screen recording apparatus according to the first embodiment of the present invention.

(1)フェーズ1
まず、ユーザが記録条件設定部3のマンマシンインタフェースを操作することで、イメージデータの記録を開始する際の記録開始条件と、イメージデータの記録を終了する際の記録終了条件を設定する(図2のステップST1)。
即ち、ユーザが記録条件設定部3のマンマシンインタフェースを操作することで、アプリケーション1の実行をスクリーン記録装置のCPUに依頼する。
これにより、CPUがアプリケーション1を実行することで、スクリーン上の画像が、例えば、機器や設備などの状況に応じて変化するので(例えば、機器や設備などに異常が発生していなければ、スクリーン上に運転監視画面が表示され、機器や設備などに異常が発生すると、スクリーン上に異常表示画面が表示される)、ユーザが、記録条件設定部3のマンマシンインタフェースを操作することで、記録開始条件に合致するスクリーン上の画像と、記録終了条件に合致するスクリーン上の画像を指定する。
(1) Phase 1
First, the user operates the man-machine interface of the recording condition setting unit 3 to set a recording start condition for starting image data recording and a recording end condition for ending image data recording (see FIG. Step ST1 of 2).
That is, the user requests the CPU of the screen recording apparatus to execute the application 1 by operating the man-machine interface of the recording condition setting unit 3.
As a result, the CPU executes the application 1 so that the image on the screen changes depending on the status of the device or equipment (for example, if no abnormality occurs in the device or equipment, the screen The operation monitoring screen is displayed on the screen, and when an abnormality occurs in equipment or equipment, the abnormality display screen is displayed on the screen.) When the user operates the man-machine interface of the recording condition setting unit 3, recording is performed. An image on the screen that matches the start condition and an image on the screen that matches the recording end condition are specified.

例えば、ユーザが、機器や設備などに異常が発生したときに、イメージデータの記録を開始することを希望する場合、アプリケーション1の実行に伴ってスクリーン上に表示された異常表示画面を指定する。
このように、スクリーン上に表示された異常表示画面を指定すると、記録条件設定部3の指示の下、スクリーンイメージ入力部2がスクリーンキャプチャ機能によって、その異常表示画面を示すイメージデータをフレームバッファ経由で取得するので、記録条件設定部3が記録開始条件に合致する画像データとして、スクリーンイメージ入力部2により取得されたイメージデータ(異常表示画面を示す画像データ)を設定する。
For example, when the user desires to start recording of image data when an abnormality occurs in a device or facility, an abnormality display screen displayed on the screen as the application 1 is executed is designated.
When the abnormal display screen displayed on the screen is designated in this way, the screen image input unit 2 uses the screen capture function to send image data indicating the abnormal display screen via the frame buffer under the instruction of the recording condition setting unit 3. Therefore, the recording condition setting unit 3 sets the image data (image data indicating an abnormal display screen) acquired by the screen image input unit 2 as the image data that matches the recording start condition.

また、ユーザが、機器や設備などの異常が解消されたときに、イメージデータの記録を終了することを希望する場合、アプリケーション1の実行に伴ってスクリーン上に表示された運転監視画面を指定する。
このように、スクリーン上に表示された運転監視画面を指定すると、記録条件設定部3の指示の下、スクリーンイメージ入力部2がスクリーンキャプチャ機能によって、その運転監視画面を示すイメージデータをフレームバッファ経由で取得するので、記録条件設定部3が記録終了条件に合致する画像データとして、スクリーンイメージ入力部2により取得されたイメージデータ(運転監視画面を示す画像データ)を設定する。
Further, when the user desires to end the recording of the image data when the abnormality of the device or facility is resolved, the operation monitoring screen displayed on the screen as the application 1 is executed is designated. .
As described above, when the operation monitoring screen displayed on the screen is designated, the screen image input unit 2 uses the screen capture function to transmit the image data indicating the operation monitoring screen via the frame buffer under the instruction of the recording condition setting unit 3. Therefore, the recording condition setting unit 3 sets the image data (image data indicating the operation monitoring screen) acquired by the screen image input unit 2 as the image data that matches the recording end condition.

ここでは、記録開始条件に合致する画像データとして、異常表示画面を示す画像データを設定し、記録終了条件に合致する画像データとして、運転監視画面を示す画像データを設定するものについて示したが、これは一例に過ぎず、アプリケーション1の実行に伴ってスクリーン上に表示される画像であれば、いかなる画像の画像データを設定するようにしてもよい。
また、ここでは、記録開始条件及び記録終了条件に合致する画像データを設定するために、CPUがアプリケーション1を実行して、スクリーンイメージ入力部2がスクリーン上に表示されている画像を示すイメージデータを取得するものについて示したが、記録条件設定部3が外部から記録開始条件及び記録終了条件に合致する画像データを入手するようにしてもよい。
Here, the image data indicating the abnormal display screen is set as the image data matching the recording start condition, and the image data indicating the operation monitoring screen is set as the image data matching the recording end condition. This is merely an example, and image data of any image may be set as long as the image is displayed on the screen as the application 1 is executed.
Further, here, in order to set the image data that matches the recording start condition and the recording end condition, the CPU executes the application 1 and the screen image input unit 2 indicates the image data displayed on the screen. However, the recording condition setting unit 3 may obtain image data that matches the recording start condition and the recording end condition from the outside.

図4は記録開始条件に合致するイメージファイル(記録開始条件に合致する画像データのデータファイル)及び記録終了条件に合致するイメージファイル(記録終了条件に合致する画像データのデータファイル)の一例を示す説明図である。
図4では、記録開始条件に合致するイメージファイルを5個設定し、記録終了条件に合致するイメージファイルを5個設定している例を示している。ただし、設定数は1個以上であれば、5個に限るものではない(設定数は、多い方が、異常状態等の検出精度を高めることができる)。
また、記録開始条件に合致するイメージファイルの設定数と記録終了条件に合致するイメージファイルの設定数は、同数に限るものではなく、異なっていてもよい。
なお、イメージファイルにおける画像データの形式は特に問わず、圧縮形式であっても、非圧縮形式であってもよい。図4の例では、RGB形式、BMP形式、JPEG形式の画像データを設定している。
FIG. 4 shows an example of an image file that matches the recording start condition (image data data file that matches the recording start condition) and an image file that matches the recording end condition (image data data file that matches the recording end condition). It is explanatory drawing.
FIG. 4 shows an example in which five image files that match the recording start condition are set and five image files that match the recording end condition are set. However, the number of settings is not limited to five as long as the number is one or more (the larger the number of settings, the higher the accuracy of detecting an abnormal state or the like).
The number of image files that match the recording start condition and the number of image files that match the recording end condition are not limited to the same number, and may be different.
The format of the image data in the image file is not particularly limited, and may be a compressed format or an uncompressed format. In the example of FIG. 4, RGB format, BMP format, and JPEG format image data are set.

(2)フェーズ2
スクリーンイメージ解析部4は、記録条件設定部3により設定が受け付けられた記録開始条件に合致する画像データ(イメージデータ)と、記録終了条件に合致する画像データ(イメージデータ)とを読み込み、これらの画像データを図示せぬ内部バッファにロードする(ステップST2)。
ただし、これらの画像データが圧縮されている場合には、伸張処理を施してから、内部バッファにロードする。
また、記録開始条件に合致する画像データや記録終了条件に合致する画像データが、それぞれ複数個設定されている場合には、設定されている全ての画像データを内部バッファにロードする。
(2) Phase 2
The screen image analysis unit 4 reads image data (image data) that matches the recording start condition accepted by the recording condition setting unit 3 and image data (image data) that matches the recording end condition. Image data is loaded into an internal buffer (not shown) (step ST2).
However, if these image data are compressed, they are decompressed before being loaded into the internal buffer.
If a plurality of image data that matches the recording start condition and a plurality of image data that match the recording end condition are set, all the set image data are loaded into the internal buffer.

図5は図4のイメージファイル(記録開始条件に合致するイメージファイル、記録終了条件に合致するイメージファイル)が読み込まれた内部バッファの構成例を示す説明図である。
また、図6は記録開始条件に合致するイメージファイル「START001.RGB」に含まれている画像データ(イメージデータ)の概要を示しており、この画像データは、ピクセル毎にRデータ(8ビット)・Gデータ(8ビット)・Bデータ(8ビット)を有し、スクリーン全体でWidth(1024ピクセル)×Height(768ピクセル)のデータで構成されている。
FIG. 5 is an explanatory diagram showing a configuration example of an internal buffer in which the image file of FIG. 4 (an image file that matches the recording start condition and an image file that matches the recording end condition) is read.
FIG. 6 shows an outline of image data (image data) included in the image file “START001.RGB” that matches the recording start condition. This image data is R data (8 bits) for each pixel. It has G data (8 bits) and B data (8 bits), and is composed of Width (1024 pixels) × Height (768 pixels) data on the entire screen.

スクリーンイメージ入力部2は、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータをフレームバッファ経由で取得し、そのイメージデータをスクリーンイメージ解析部4に出力する(ステップST3)。
なお、スクリーンイメージ入力部2は、最新のイメージデータを取得するものであるが、イメージデータの取得は、所定の周期で定期的に取得するものであってもよいし、予め決められた時刻に取得するものであってもよい。
The screen image input unit 2 acquires image data indicating an image on the screen that changes as the application 1 is executed via the frame buffer, and outputs the image data to the screen image analysis unit 4 (step ST3).
The screen image input unit 2 acquires the latest image data. However, the image data may be acquired periodically at a predetermined cycle or at a predetermined time. You may acquire.

スクリーンイメージ解析部4は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部4は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST4)。
When the screen image analysis unit 4 receives the latest image data from the screen image input unit 2, the image indicated by the latest image data and the image data matching the recording start condition previously loaded in the internal buffer are indicated. The image is analyzed and the image data is compared with the image data.
That is, the screen image analysis unit 4 performs, for each pixel, the difference (R, G) between the image data matching the recording start condition loaded in the internal buffer and the latest image data output from the screen image input unit 2. , B), and the differences in all pixels are integrated (step ST4).

ただし、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データ毎に、最新のイメージデータとの差分(全ピクセルにおける差分)を求める。
即ち、イメージファイル「START001.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START002.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START003.BMP」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START004.JPG」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START005.JPG」に含まれている画像データと最新のイメージデータとの差分をそれぞれ算出する。
However, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the latest for each image data included in the five image files. The difference from the image data (difference in all pixels) is obtained.
That is, the difference between the image data included in the image file “START001.RGB” and the latest image data, the difference between the image data included in the image file “START002.RGB” and the latest image data, the image file The difference between the image data included in “START003.BMP” and the latest image data, the difference between the image data included in the image file “START004.JPG” and the latest image data, and the image file “START005.JPG” The difference between the image data included in “” and the latest image data is calculated.

スクリーンイメージ解析部4は、記録開始条件に合致する画像データと、最新のイメージデータとの差分(全ピクセルにおける差分)を算出すると、その差分と所定の閾値を比較する(ステップST5)。
スクリーンイメージ解析部4は、差分が所定の閾値を越えていれば(差分>閾値)、ステップST3に戻り、ステップST3〜ST5の処理を繰り返すが、差分が所定の閾値以下であれば(差分≦閾値)、記録開始条件を満足していると判断して(機器や設備などに異常が発生して、異常表示画面がスクリーン上に表示されていると判断する)、記録開始タイミングを検出する。
When the screen image analysis unit 4 calculates the difference (difference in all pixels) between the image data that matches the recording start condition and the latest image data, the screen image analysis unit 4 compares the difference with a predetermined threshold (step ST5).
If the difference exceeds the predetermined threshold (difference> threshold), the screen image analysis unit 4 returns to step ST3 and repeats the processing of steps ST3 to ST5. If the difference is equal to or smaller than the predetermined threshold (difference ≦ (Threshold), it is determined that the recording start condition is satisfied (ie, it is determined that an abnormality has occurred in the device or facility and the abnormality display screen is displayed on the screen), and the recording start timing is detected.

ここでは、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データとイメージデータの差分のいずれかが、所定の閾値以下であれば、記録開始条件を満足していると判断するが、5個のイメージファイルに含まれている画像データとイメージデータの差分の全てが所定の閾値以下であるとき、記録開始条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the image data and the image data included in the five image files. If any of the differences is less than or equal to a predetermined threshold, it is determined that the recording start condition is satisfied, but all of the differences between the image data and the image data included in the five image files are predetermined. When the value is equal to or less than the threshold value, it may be determined that the recording start condition is satisfied.

また、ここでは、最初に5個のイメージファイルに含まれている画像データとイメージデータの差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル(例えば「START001.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値以下であれば、記録開始条件を満足していると判断し、その差分が所定の閾値を越えていれば、他のイメージファイル(例えば「START002.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data and the image data included in the five image files is calculated, and then each difference is compared with a predetermined threshold value. (For example, “START001.RGB”), the difference between the image data and the image data is calculated, and the difference is compared with a predetermined threshold. If the difference is equal to or smaller than the predetermined threshold, the recording start condition is set. If it is determined that the difference is greater than a predetermined threshold value, the difference between the image data and the image data included in another image file (for example, “START002.RGB”) is calculated, and the difference is calculated. The difference may be compared with a predetermined threshold value.

スクリーンイメージ記録処理部5は、スクリーンイメージ解析部4により記録開始タイミングが検出されると、その記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する(ステップST6)。スクリーンイメージ解析部4により記録開始タイミングが検出されなければ、スクリーンイメージ入力部2により取得されたイメージデータの記録は開始されない。
ただし、スクリーンイメージ記録処理部5は、イメージデータをイメージデータ格納部6に記録する際、所定の圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)でイメージデータを圧縮して、圧縮後のイメージデータをイメージデータ格納部6に記録する。
When the recording start timing is detected by the screen image analysis unit 4, the screen image recording processing unit 5 starts recording the image data acquired by the screen image input unit 2 from the time when the recording start timing is detected. (Step ST6). If the recording start timing is not detected by the screen image analysis unit 4, recording of the image data acquired by the screen image input unit 2 is not started.
However, when the image data is recorded in the image data storage unit 6, the screen image recording processing unit 5 compresses the image data with a predetermined compression method and compression parameters (resolution, frame rate, compression rate), and performs compression. Image data is recorded in the image data storage unit 6.

図7はイメージデータの圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)を示す説明図である。
図7では、圧縮方式がJPEG、解像度が100%、フレームレートが10fps、圧縮率が1/20である例を示している。
なお、イメージデータの圧縮方式は、JPEGに限る必要はなく、例えば、MPEG−1、MPEG−2、MPEG−4やH.264などを用いるようにしてもよい。
FIG. 7 is an explanatory diagram showing a compression method and compression parameters (resolution, frame rate, compression rate) of image data.
FIG. 7 shows an example in which the compression method is JPEG, the resolution is 100%, the frame rate is 10 fps, and the compression rate is 1/20.
The image data compression method need not be limited to JPEG. For example, MPEG-1, MPEG-2, MPEG-4, H.264, and the like. H.264 or the like may be used.

(3)フェーズ3
スクリーンイメージ入力部2は、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータをフレームバッファ経由で取得する(図3のステップST11)。
フェーズ3では、イメージデータの記録が開始されているので、スクリーンイメージ入力部2がフレームバッファ経由で取得したイメージデータをスクリーンイメージ解析部4及びスクリーンイメージ記録処理部5に出力する。
(3) Phase 3
The screen image input unit 2 acquires image data indicating an image on the screen that changes as the application 1 is executed via the frame buffer (step ST11 in FIG. 3).
In phase 3, since image data recording is started, the screen image input unit 2 outputs the image data acquired via the frame buffer to the screen image analysis unit 4 and the screen image recording processing unit 5.

スクリーンイメージ解析部4は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録終了条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部4は、ピクセル毎に、内部バッファにロードしている記録終了条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST12)。
When receiving the latest image data from the screen image input unit 2, the screen image analysis unit 4 indicates the image indicated by the latest image data and the image data that matches the recording end condition previously loaded in the internal buffer. The image is analyzed and the image data is compared with the image data.
That is, the screen image analysis unit 4 calculates, for each pixel, the difference (R, G) between the image data matching the recording end condition loaded in the internal buffer and the latest image data output from the screen image input unit 2. , B), and the differences in all pixels are integrated (step ST12).

ただし、図5に示すように、記録終了条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データ毎に、最新のイメージデータとの差分(全ピクセルにおける差分)を求める。
即ち、イメージファイル「STOP001.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「STOP002.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「STOP003.BMP」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「STOP004.JPG」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「STOP005.JPG」に含まれている画像データと最新のイメージデータとの差分をそれぞれ算出する。
However, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that meet the recording end condition, the latest image data is included in each of the image data included in the five image files. The difference from the image data (difference in all pixels) is obtained.
That is, the difference between the image data included in the image file “STOP001.RGB” and the latest image data, the difference between the image data included in the image file “STOP002.RGB” and the latest image data, the image file The difference between the image data included in “STOP003.BMP” and the latest image data, the difference between the image data included in the image file “STOP004.JPG” and the latest image data, the image file “STOP005.JPG” The difference between the image data included in “” and the latest image data is calculated.

スクリーンイメージ解析部4は、記録終了条件に合致する画像データと、最新のイメージデータとの差分(全ピクセルにおける差分)を算出すると、その差分と所定の閾値を比較する(ステップST13)。
スクリーンイメージ解析部4は、差分が所定の閾値を越えていれば(差分>閾値)、記録終了条件を満足していないと判断して(機器や設備などの異常が継続しており、異常表示画面がスクリーン上に表示されていると判断する)、記録終了タイミングを検出しない。
一方、差分が所定の閾値以下であれば(差分≦閾値)、記録終了条件を満足していると判断して(機器や設備などの異常が解消して、運転監視画面がスクリーン上に表示されていると判断する)、記録終了タイミングを検出する。
When the screen image analysis unit 4 calculates the difference (difference in all pixels) between the image data matching the recording end condition and the latest image data, the screen image analysis unit 4 compares the difference with a predetermined threshold (step ST13).
If the difference exceeds a predetermined threshold (difference> threshold), the screen image analysis unit 4 determines that the recording end condition is not satisfied (the abnormality of the device or equipment continues, and the abnormality display If it is determined that the screen is displayed on the screen), the recording end timing is not detected.
On the other hand, if the difference is equal to or less than the predetermined threshold (difference ≦ threshold), it is determined that the recording end condition is satisfied (the abnormality of the device or equipment is resolved, and the operation monitoring screen is displayed on the screen. The recording end timing is detected.

ここでは、図5に示すように、記録終了条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データとイメージデータの差分のいずれかが、所定の閾値以下であれば、記録終了条件を満足していると判断するが、5個のイメージファイルに含まれている画像データとイメージデータの差分の全てが所定の閾値以下であるとき、記録終了条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that meet the recording end condition, the image data and the image data included in the five image files. If any of the differences is less than or equal to a predetermined threshold, it is determined that the recording end condition is satisfied, but all of the differences between the image data and the image data included in the five image files are predetermined. When the value is equal to or smaller than the threshold value, it may be determined that the recording end condition is satisfied.

また、ここでは、最初に5個のイメージファイルに含まれている画像データとイメージデータの差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル(例えば「STOP001.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値以下であれば、記録終了条件を満足していると判断し、その差分が所定の閾値を越えていれば、他のイメージファイル(例えば「STOP002.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data and the image data included in the five image files is calculated, and then each difference is compared with a predetermined threshold value. (For example, “STOP001.RGB”), the difference between the image data and the image data is calculated, the difference is compared with a predetermined threshold, and if the difference is equal to or smaller than the predetermined threshold, the recording end condition is set. If it is determined that the difference is greater than a predetermined threshold, the difference between the image data and the image data included in another image file (for example, “STOP002.RGB”) is calculated, and the difference is calculated. The difference may be compared with a predetermined threshold value.

スクリーンイメージ記録処理部5は、スクリーンイメージ解析部4が記録終了タイミングを検出しなければ、スクリーンイメージ入力部2により取得されたイメージデータの記録を継続する(ステップST14)。
一方、スクリーンイメージ解析部4が記録終了タイミングを検出すると、その記録終了タイミングが検出された時点で、スクリーンイメージ入力部2により取得されたイメージデータの記録を停止する(ステップST15)。
If the screen image analysis unit 4 does not detect the recording end timing, the screen image recording processing unit 5 continues to record the image data acquired by the screen image input unit 2 (step ST14).
On the other hand, when the screen image analysis unit 4 detects the recording end timing, the recording of the image data acquired by the screen image input unit 2 is stopped when the recording end timing is detected (step ST15).

(4)フェーズ4
画像再生部7は、スクリーンイメージ記録処理部5がイメージデータの記録を停止すると、例えば、ユーザの指示の下で、イメージデータ格納部6に圧縮されて保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する(ステップST16)。
(4) Phase 4
When the screen image recording processing unit 5 stops recording the image data, the image reproducing unit 7 reads the image data compressed and stored in the image data storage unit 6 under the instruction of the user, for example. After the data is decompressed, the image is reproduced on the screen according to the image data (step ST16).

以上で明らかなように、この実施の形態1によれば、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける記録条件設定部3と、記録条件設定部3により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出するスクリーンイメージ解析部4とを設け、スクリーンイメージ記録処理部5が、スクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了するように構成したので、アプリケーション1のソフトウェアを改変することなく、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータを自動的に記録することができる効果を奏する。   As is apparent from the above, according to the first embodiment, the image data that matches the recording start condition is set as the recording start condition when starting the recording of the image data acquired by the screen image input unit 2. The recording condition setting unit 3 that receives the setting of image data that matches the recording end condition and the recording condition setting unit 3 receive the setting as the recording end condition when the recording of the image data is ended. The image data and the image data acquired by the screen image input unit 2 are compared, and by referring to the comparison result, the recording start timing for starting the recording of the image data and the recording end timing for ending the recording of the image data are detected. A screen image analysis unit 4 for performing screen image recording processing 5 The recording of the image data acquired by the screen image input unit 2 is started from the time when the recording start timing is detected by the screen image analysis unit 4, and when the recording end timing is detected by the screen image analysis unit 4, Since the recording of the image data is completed, the image data can be automatically recorded from the time when the recording start condition is met to the time when the recording end condition is met without modifying the software of the application 1. There is an effect that can.

実施の形態2.
図8はこの発明の実施の形態2によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部11は例えばキーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付ける処理を実施する。なお、記録条件設定部11は条件設定手段を構成している。
Embodiment 2. FIG.
FIG. 8 is a block diagram showing a screen recording apparatus according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG.
The recording condition setting unit 11 includes a man-machine interface such as a keyboard and a mouse, for example, and recording when starting recording of image data acquired by the screen image input unit 2 under the operation of the man-machine interface by the user. As a start condition, a process of accepting the setting of image data that matches the recording start condition is performed. The recording condition setting unit 11 constitutes a condition setting unit.

スクリーンイメージ解析部12は記録条件設定部11により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部12は記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値を越えるタイミングを記録開始タイミングとして検出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部12はタイミング検出手段を構成している。
The screen image analysis unit 12 analyzes the image data set by the recording condition setting unit 11 and the image data acquired by the screen image input unit 2, thereby comparing the image data with the image data. With reference to the comparison result, a process of detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data is performed.
That is, the screen image analysis unit 12 calculates the difference between the image data that matches the recording start condition accepted by the recording condition setting unit 11 and the image data acquired by the screen image input unit 2, and uses the recording start condition as the recording start condition. The timing at which the difference between the matching image data and the image data exceeds a predetermined threshold is detected as the recording start timing, and the timing at which the difference between the image data and the image data that matches the recording start condition is equal to or less than the predetermined threshold is the recording end timing. The process to detect is performed.
The screen image analysis unit 12 constitutes timing detection means.

図8では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部11、スクリーンイメージ解析部12、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部11、スクリーンイメージ解析部12、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 8, each of the screen image input unit 2, the recording condition setting unit 11, the screen image analysis unit 12, the screen image recording processing unit 5 and the image reproduction unit 7 which are components of the screen recording apparatus is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 11, the screen image analysis unit 12, the screen image recording processing unit 5 and the image reproduction unit 7 is stored in a computer memory, and the CPU of the computer is stored in the memory. The program may be executed.

上記実施の形態1では、記録条件設定部3が記録開始条件に合致する画像データのほかに、記録終了条件に合致する画像データの設定を受け付け、スクリーンイメージ解析部4が、記録条件設定部3により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、記録開始タイミングと記録終了タイミングを検出するものについて示したが、記録条件設定部11が記録開始条件に合致する画像データの設定を受け付け(記録終了条件に合致する画像データの設定は受け付けない)、スクリーンイメージ解析部12が、記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、記録開始タイミングと記録終了タイミングを検出するようにしてもよい。   In the first embodiment, the recording condition setting unit 3 accepts setting of image data that matches the recording end condition in addition to the image data that matches the recording start condition, and the screen image analysis unit 4 receives the recording condition setting unit 3. For detecting the recording start timing and the recording end timing by analyzing the image data that matches the recording start condition and the recording end condition for which the setting has been received and the image of the image data acquired by the screen image input unit 2 As shown, the recording condition setting unit 11 accepts setting of image data that matches the recording start condition (does not accept setting of image data that matches the recording end condition), and the screen image analysis unit 12 receives the recording condition setting unit 11. The screen data input unit 2 and the image data that matches the recording start conditions accepted by By analyzing the image of a more captured image data, it may be detected recording end timing and the recording start timing.

次に動作について説明する。
図9はこの発明の実施の形態2によるスクリーン記録装置の処理内容(フェーズ1、フェーズ2)を示すフローチャートである。
また、図10はこの発明の実施の形態2によるスクリーン記録装置の処理内容(フェーズ3、フェーズ4)を示すフローチャートである。
Next, the operation will be described.
FIG. 9 is a flowchart showing the processing contents (phase 1 and phase 2) of the screen recording apparatus according to the second embodiment of the present invention.
FIG. 10 is a flowchart showing the processing contents (phase 3 and phase 4) of the screen recording apparatus according to the second embodiment of the present invention.

(1)フェーズ1
まず、ユーザが記録条件設定部11のマンマシンインタフェースを操作することで、イメージデータの記録を開始する際の記録開始条件を設定する(図9のステップST21)。
即ち、ユーザが記録条件設定部11のマンマシンインタフェースを操作することで、アプリケーション1の実行をスクリーン記録装置のCPUに依頼する。
これにより、CPUがアプリケーション1を実行することで、スクリーン上の画像が、例えば、機器や設備などの状況に応じて変化するので(例えば、機器や設備などに異常が発生していなければ、スクリーン上に運転監視画面が表示され、機器や設備などに異常が発生すると、スクリーン上に異常表示画面が表示される)、ユーザが、記録条件設定部11のマンマシンインタフェースを操作することで、記録開始条件に合致するスクリーン上の画像を指定する。
(1) Phase 1
First, the user operates the man-machine interface of the recording condition setting unit 11 to set a recording start condition for starting image data recording (step ST21 in FIG. 9).
That is, the user requests the CPU of the screen recording apparatus to execute the application 1 by operating the man-machine interface of the recording condition setting unit 11.
As a result, the CPU executes the application 1 so that the image on the screen changes depending on the status of the device or equipment (for example, if no abnormality occurs in the device or equipment, the screen The operation monitoring screen is displayed on the screen, and when an abnormality occurs in the equipment or equipment, the abnormality display screen is displayed on the screen.) When the user operates the man-machine interface of the recording condition setting unit 11, recording is performed. Specifies an image on the screen that matches the start condition.

例えば、ユーザが、機器や設備などに異常が発生したときに、イメージデータの記録を開始することを希望する場合において、アプリケーション1の実行に伴ってスクリーン上に表示される画面が運転監視画面(機器や設備などが正常時の画面)から異常表示画面に切り替わる場合、正常時の画面である運転監視画面を指定する。
このように、スクリーン上に表示された運転監視画面を指定すると、記録条件設定部11の指示の下、スクリーンイメージ入力部2がスクリーンキャプチャ機能によって、その運転監視画面を示すイメージデータをフレームバッファ経由で取得するので、記録条件設定部11が記録開始条件に合致する画像データとして、スクリーンイメージ入力部2により取得されたイメージデータ(運転監視画面を示す画像データ)を設定する。
この実施の形態2でも、説明の便宜上、上記実施の形態1と同様に、記録原本受理通知書が送付されました。開始条件に合致するイメージファイル(記録開始条件に合致する画像データのデータファイル)として、5個を設定するものとする(図4を参照)。
For example, when the user desires to start recording image data when an abnormality occurs in a device or facility, a screen displayed on the screen as the application 1 is executed is an operation monitoring screen ( When switching from the screen when equipment or equipment is normal) to the error display screen, specify the operation monitoring screen that is the normal screen.
As described above, when the operation monitoring screen displayed on the screen is designated, the screen image input unit 2 uses the screen capture function to transmit the image data indicating the operation monitoring screen via the frame buffer under the instruction of the recording condition setting unit 11. Therefore, the recording condition setting unit 11 sets the image data (image data indicating the operation monitoring screen) acquired by the screen image input unit 2 as the image data that matches the recording start condition.
In this second embodiment as well, for the convenience of explanation, a record original acceptance notice was sent as in the first embodiment. Assume that five files are set as image files that match the start conditions (data files of image data that match the recording start conditions) (see FIG. 4).

ここでは、記録開始条件に合致する画像データとして、運転監視画面を示す画像データを設定するものについて示したが、これは一例に過ぎず、アプリケーション1の実行に伴ってスクリーン上に表示される画像であれば、いかなる画像の画像データを設定するようにしてもよい。例えば、異常表示画面の画像データを設定するようにしてもよい。ただし、この場合、後述する図9のステップST25及び図10のステップST33における判定論理が反転する。
また、ここでは、記録開始条件に合致する画像データを設定するために、CPUがアプリケーション1を実行して、スクリーンイメージ入力部2がスクリーン上に表示されている画像を示すイメージデータを取得するものについて示したが、記録条件設定部11が外部から記録開始条件に合致する画像データを入手するようにしてもよい。
Here, the image data indicating the operation monitoring screen is set as the image data that matches the recording start condition. However, this is only an example, and the image displayed on the screen as the application 1 is executed. Any image data may be set as long as it is. For example, you may make it set the image data of an abnormal display screen. However, in this case, the determination logic in step ST25 of FIG. 9 and step ST33 of FIG.
Also, here, in order to set image data that matches the recording start condition, the CPU executes the application 1 and the screen image input unit 2 acquires image data indicating an image displayed on the screen. However, the recording condition setting unit 11 may obtain image data that matches the recording start condition from the outside.

(2)フェーズ2
スクリーンイメージ解析部12は、記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データ(イメージデータ)を読み込み、その画像データを図示せぬ内部バッファにロードする(ステップST22)。
ただし、その画像データが圧縮されている場合には、伸張処理を施してから、内部バッファにロードする。
また、記録開始条件に合致する画像データが、複数個設定されている場合には、設定されている全ての画像データを内部バッファにロードする。
(2) Phase 2
The screen image analysis unit 12 reads image data (image data) that matches the recording start conditions accepted by the recording condition setting unit 11, and loads the image data into an internal buffer (not shown) (step ST22).
However, if the image data is compressed, it is decompressed before being loaded into the internal buffer.
In addition, when a plurality of image data matching the recording start condition is set, all the set image data are loaded into the internal buffer.

スクリーンイメージ入力部2は、上記実施の形態1と同様に、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータをフレームバッファ経由で取得し、そのイメージデータをスクリーンイメージ解析部12に出力する(ステップST23)。
なお、スクリーンイメージ入力部2は、最新のイメージデータを取得するものであるが、イメージデータの取得は、所定の周期で定期的に取得するものであってもよいし、予め決められた時刻に取得するものであってもよい。
As in the first embodiment, the screen image input unit 2 acquires image data indicating an image on the screen that changes with the execution of the application 1 via the frame buffer, and the image data is acquired by the screen image analysis unit 12. (Step ST23).
The screen image input unit 2 acquires the latest image data. However, the image data may be acquired periodically at a predetermined cycle or at a predetermined time. You may acquire.

スクリーンイメージ解析部12は、スクリーンイメージ入力部2から最新のイメージデータを受けると、図1のスクリーンイメージ解析部4と同様に、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部12は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST24)。
When receiving the latest image data from the screen image input unit 2, the screen image analysis unit 12 loads the image indicated by the latest image data and the internal buffer first, as in the screen image analysis unit 4 of FIG. The image indicated by the image data matching the recording start condition is analyzed, and the image data is compared with the image data.
That is, the screen image analysis unit 12 calculates, for each pixel, the difference (R, G) between the image data matching the recording start condition loaded in the internal buffer and the latest image data output from the screen image input unit 2. , B), and the differences in all pixels are integrated (step ST24).

ただし、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データ毎に、最新のイメージデータとの差分(全ピクセルにおける差分)を求める。
即ち、イメージファイル「START001.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START002.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START003.BMP」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START004.JPG」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START005.JPG」に含まれている画像データと最新のイメージデータとの差分をそれぞれ算出する。
However, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the latest for each image data included in the five image files. The difference from the image data (difference in all pixels) is obtained.
That is, the difference between the image data included in the image file “START001.RGB” and the latest image data, the difference between the image data included in the image file “START002.RGB” and the latest image data, the image file The difference between the image data included in “START003.BMP” and the latest image data, the difference between the image data included in the image file “START004.JPG” and the latest image data, and the image file “START005.JPG” The difference between the image data included in “” and the latest image data is calculated.

スクリーンイメージ解析部12は、記録開始条件に合致する画像データと、最新のイメージデータとの差分(全ピクセルにおける差分)を算出すると、その差分と所定の閾値を比較する(ステップST25)。
スクリーンイメージ解析部12は、差分が所定の閾値以下であれば(差分≦閾値)、ステップST23に戻り、ステップST23〜ST25の処理を繰り返すが、差分が所定の閾値を越えていれば(差分>閾値)、記録開始条件を満足していると判断して(機器や設備などに異常が発生して、スクリーン上に表示されている画面が運転監視画面から異常表示画面に切り替わっていると判断する)、記録開始タイミングを検出する。
When the screen image analysis unit 12 calculates a difference (difference in all pixels) between the image data matching the recording start condition and the latest image data, the screen image analysis unit 12 compares the difference with a predetermined threshold (step ST25).
If the difference is equal to or smaller than the predetermined threshold (difference ≦ threshold), the screen image analysis unit 12 returns to step ST23 and repeats the processing of steps ST23 to ST25, but if the difference exceeds the predetermined threshold (difference> (Threshold), judging that the recording start condition is satisfied (determining that an abnormality has occurred in the device or equipment, and that the screen displayed on the screen has been switched from the operation monitoring screen to the abnormality display screen) ) To detect the recording start timing.

ここでは、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データとイメージデータの差分のいずれかが、所定の閾値を越えていれば、記録開始条件を満足していると判断するが、5個のイメージファイルに含まれている画像データとイメージデータの差分の全てが所定の閾値を越えているとき、記録開始条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the image data and the image data included in the five image files. If any of the differences exceeds a predetermined threshold, it is determined that the recording start condition is satisfied, but all of the differences between the image data and the image data included in the five image files are predetermined. If the threshold is exceeded, it may be determined that the recording start condition is satisfied.

また、ここでは、最初に5個のイメージファイルに含まれている画像データとイメージデータの差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル(例えば「START001.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値を越えていれば、記録開始条件を満足していると判断し、その差分が所定の閾値以下であれば、他のイメージファイル(例えば「START002.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data and the image data included in the five image files is calculated, and then each difference is compared with a predetermined threshold value. The difference between the image data and the image data included in (for example, “START001.RGB”) is calculated, the difference is compared with a predetermined threshold, and if the difference exceeds the predetermined threshold, the recording start condition If the difference is equal to or less than a predetermined threshold, the difference between the image data and the image data included in another image file (for example, “START002.RGB”) is calculated, The difference may be compared with a predetermined threshold value.

スクリーンイメージ記録処理部5は、スクリーンイメージ解析部12により記録開始タイミングが検出されると、上記実施の形態1と同様に、その記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する(ステップST26)。スクリーンイメージ解析部12により記録開始タイミングが検出されなければ、スクリーンイメージ入力部2により取得されたイメージデータの記録は開始されない。
ただし、スクリーンイメージ記録処理部5は、イメージデータをイメージデータ格納部6に記録する際、所定の圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)でイメージデータを圧縮して、圧縮後のイメージデータをイメージデータ格納部6に記録する。
When the recording start timing is detected by the screen image analysis unit 12, the screen image recording processing unit 5 is acquired by the screen image input unit 2 from the time when the recording start timing is detected, as in the first embodiment. Recording of the processed image data is started (step ST26). If the recording start timing is not detected by the screen image analysis unit 12, the recording of the image data acquired by the screen image input unit 2 is not started.
However, when the image data is recorded in the image data storage unit 6, the screen image recording processing unit 5 compresses the image data with a predetermined compression method and compression parameters (resolution, frame rate, compression rate), and performs compression. Image data is recorded in the image data storage unit 6.

(3)フェーズ3
スクリーンイメージ入力部2は、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータをフレームバッファ経由で取得する(図10のステップST31)。
フェーズ3では、イメージデータの記録が開始されているので、スクリーンイメージ入力部2がフレームバッファ経由で取得したイメージデータをスクリーンイメージ解析部12及びスクリーンイメージ記録処理部5に出力する。
(3) Phase 3
The screen image input unit 2 acquires image data indicating an image on the screen that changes with the execution of the application 1 via the frame buffer (step ST31 in FIG. 10).
In phase 3, since image data recording is started, the screen image input unit 2 outputs the image data acquired via the frame buffer to the screen image analysis unit 12 and the screen image recording processing unit 5.

スクリーンイメージ解析部12は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部12は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST32)。
When the latest image data is received from the screen image input unit 2, the screen image analysis unit 12 indicates the image indicated by the latest image data and the image data that matches the recording start condition previously loaded in the internal buffer. The image is analyzed and the image data is compared with the image data.
That is, the screen image analysis unit 12 calculates, for each pixel, the difference (R, G) between the image data matching the recording start condition loaded in the internal buffer and the latest image data output from the screen image input unit 2. , B), and the differences in all the pixels are integrated (step ST32).

ただし、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データ毎に、最新のイメージデータとの差分(全ピクセルにおける差分)を求める。
即ち、イメージファイル「START001.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START002.RGB」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START003.BMP」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START004.JPG」に含まれている画像データと最新のイメージデータとの差分、イメージファイル「START005.JPG」に含まれている画像データと最新のイメージデータとの差分をそれぞれ算出する。
However, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the latest for each image data included in the five image files. The difference from the image data (difference in all pixels) is obtained.
That is, the difference between the image data included in the image file “START001.RGB” and the latest image data, the difference between the image data included in the image file “START002.RGB” and the latest image data, the image file The difference between the image data included in “START003.BMP” and the latest image data, the difference between the image data included in the image file “START004.JPG” and the latest image data, and the image file “START005.JPG” The difference between the image data included in “” and the latest image data is calculated.

スクリーンイメージ解析部12は、記録開始条件に合致する画像データと、最新のイメージデータとの差分(全ピクセルにおける差分)を算出すると、その差分と所定の閾値を比較する(ステップST33)。
スクリーンイメージ解析部12は、差分が所定の閾値を越えていれば(差分>閾値)、以前として記録開始条件を満足している(記録終了条件を満足していない)と判断して(機器や設備などの異常が継続しており、異常表示画面がスクリーン上に表示されていると判断する)、記録終了タイミングを検出しない。
一方、差分が所定の閾値以下であれば(差分≦閾値)、既に記録開始条件を満足しなくなっている(記録終了条件を満足している)と判断して(機器や設備などの異常が解消して、スクリーン上に表示されている画面が異常表示画面から運転監視画面に切り替わっていると判断する)、記録終了タイミングを検出する。
When the screen image analysis unit 12 calculates the difference (difference in all pixels) between the image data matching the recording start condition and the latest image data, the screen image analysis unit 12 compares the difference with a predetermined threshold (step ST33).
If the difference exceeds a predetermined threshold (difference> threshold), the screen image analysis unit 12 determines that the recording start condition is satisfied as before (the recording end condition is not satisfied) (device or It is determined that the abnormality of the equipment or the like continues and the abnormality display screen is displayed on the screen), and the recording end timing is not detected.
On the other hand, if the difference is equal to or less than the predetermined threshold (difference ≦ threshold), it is determined that the recording start condition is no longer satisfied (the recording end condition is satisfied) (the abnormality of the device or equipment is resolved) Then, it is determined that the screen displayed on the screen is switched from the abnormality display screen to the operation monitoring screen), and the recording end timing is detected.

ここでは、図5に示すように、記録開始条件に合致するイメージファイルとして、5個のイメージファイルが内部バッファにロードされている場合、5個のイメージファイルに含まれている画像データとイメージデータの差分のいずれかが、所定の閾値以下であれば、記録終了条件を満足していると判断するが、5個のイメージファイルに含まれている画像データとイメージデータの差分の全てが所定の閾値以下であるとき、記録終了条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 5, when five image files are loaded into the internal buffer as image files that match the recording start condition, the image data and the image data included in the five image files. If any of the differences is less than or equal to a predetermined threshold, it is determined that the recording end condition is satisfied, but all of the differences between the image data and the image data included in the five image files are predetermined. When the value is equal to or smaller than the threshold value, it may be determined that the recording end condition is satisfied.

また、ここでは、最初に5個のイメージファイルに含まれている画像データとイメージデータの差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル(例えば「START001.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値以下であれば、記録終了条件を満足していると判断し、その差分が所定の閾値を越えていれば、他のイメージファイル(例えば「START002.RGB」)に含まれている画像データとイメージデータの差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data and the image data included in the five image files is calculated, and then each difference is compared with a predetermined threshold value. (For example, “START001.RGB”), the difference between the image data and the image data is calculated, the difference is compared with a predetermined threshold, and if the difference is equal to or smaller than the predetermined threshold, the recording end condition is set. If it is determined that the difference is greater than a predetermined threshold value, the difference between the image data and the image data included in another image file (for example, “START002.RGB”) is calculated, and the difference is calculated. The difference may be compared with a predetermined threshold value.

スクリーンイメージ記録処理部5は、上記実施の形態1と同様に、スクリーンイメージ解析部12が記録終了タイミングを検出しなければ、スクリーンイメージ入力部2により取得されたイメージデータの記録を継続する(ステップST34)。
一方、スクリーンイメージ解析部12が記録終了タイミングを検出すると、その記録終了タイミングが検出された時点で、スクリーンイメージ入力部2により取得されたイメージデータの記録を停止する(ステップST35)。
As in the first embodiment, the screen image recording processing unit 5 continues to record the image data acquired by the screen image input unit 2 unless the screen image analysis unit 12 detects the recording end timing (step 1). ST34).
On the other hand, when the screen image analysis unit 12 detects the recording end timing, the recording of the image data acquired by the screen image input unit 2 is stopped when the recording end timing is detected (step ST35).

(4)フェーズ4
画像再生部7は、スクリーンイメージ記録処理部5がイメージデータの記録を停止すると、例えば、ユーザの指示の下で、イメージデータ格納部6に圧縮されて保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する(ステップST36)。
(4) Phase 4
When the screen image recording processing unit 5 stops recording the image data, the image reproducing unit 7 reads the image data compressed and stored in the image data storage unit 6 under the instruction of the user, for example. After the data is expanded, the image is reproduced on the screen according to the image data (step ST36).

以上で明らかなように、この実施の形態2によれば、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付ける記録条件設定部11と、記録条件設定部11により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出するスクリーンイメージ解析部12とを設け、スクリーンイメージ記録処理部5が、スクリーンイメージ解析部12により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部12により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了するように構成したので、アプリケーション1のソフトウェアを改変することなく、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータを自動的に記録することができる効果を奏する。   As is apparent from the above, according to the second embodiment, as the recording start condition when starting the recording of the image data acquired by the screen image input unit 2, setting of image data that matches the recording start condition is set. The recording condition setting unit 11 that receives the image data, the image data received by the recording condition setting unit 11 and the image data acquired by the screen image input unit 2 are compared, and the comparison result is referred to to compare the image data A screen image analysis unit 12 for detecting a recording start timing for starting recording and a recording end timing for ending recording of image data. The screen image analysis processing unit 5 detects the recording start timing by the screen image analysis unit 12. Acquired by the screen image input unit 2 Since the recording of the image data is started and the recording of the image data is terminated when the recording end timing is detected by the screen image analysis unit 12, the recording is started without modifying the software of the application 1. There is an effect that the image data can be automatically recorded from the time point meeting the condition to the time point meeting the recording end condition.

実施の形態3.
図11はこの発明の実施の形態3によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部13は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部13は、図1の記録条件設定部3と異なり、スクリーン上の画像の中で比較対象から除外する領域の色の設定を受け付ける機能を備えている。
なお、記録条件設定部13は条件設定手段を構成している。
Embodiment 3 FIG.
FIG. 11 is a block diagram showing a screen recording apparatus according to Embodiment 3 of the present invention. In the figure, the same reference numerals as those in FIG.
As with the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 13 includes a man-machine interface such as a keyboard and a mouse, for example. Under the operation of the man-machine interface by the user, the screen image input unit 2 As a recording start condition when starting the recording of the image data acquired by the above, the setting of image data that matches the recording start condition is accepted, and as a recording end condition when the recording of the image data is ended, the recording Processing for accepting the setting of image data that matches the end condition is performed.
However, unlike the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 13 has a function of accepting the setting of the color of an area to be excluded from the comparison target in the image on the screen.
The recording condition setting unit 13 constitutes a condition setting unit.

スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、記録条件設定部13により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部14は記録条件設定部13により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と異なり、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと記録条件設定部13により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較する。
なお、スクリーンイメージ解析部14はタイミング検出手段を構成している。
Similar to the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 14 analyzes the image data received by the recording condition setting unit 13 and the image data acquired by the screen image input unit 2. Then, the image data is compared with the image data, and a process of detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data is performed by referring to the comparison result.
That is, the screen image analysis unit 14 determines the difference between the image data matching the recording start condition and the image data matching the recording end condition received by the recording condition setting unit 13 and the image data acquired by the screen image input unit 2. Is calculated as the recording start timing, and the difference between the image data and the image data that matches the recording end condition is determined to be a predetermined value. The process which detects the timing which becomes below this threshold value as a recording end timing is implemented.
However, unlike the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 14 has the same color as the color accepted by the recording condition setting unit 13 among the image data acquired by the screen image input unit 2. The image data in the area is excluded from the comparison target, and the remaining image data not excluded from the comparison target is compared with the image data that matches the recording start condition and the recording end condition accepted by the recording condition setting unit 13.
Note that the screen image analysis unit 14 constitutes timing detection means.

図11では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部13、スクリーンイメージ解析部14、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部13、スクリーンイメージ解析部14、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 11, each of the screen image input unit 2, the recording condition setting unit 13, the screen image analysis unit 14, the screen image recording processing unit 5 and the image reproduction unit 7 which are components of the screen recording apparatus is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 13, the screen image analysis unit 14, the screen image recording processing unit 5 and the image reproduction unit 7 is stored in the memory of a computer, and the CPU of the computer is stored in the memory. The program may be executed.

次に動作について説明する。
ただし、上記実施の形態1における記録条件設定部3及びスクリーンイメージ解析部4と比較して、記録条件設定部13が比較対象から除外する領域の色の設定を受け付ける機能を備え、スクリーンイメージ解析部14が記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外している点以外は、同様であるため、記録条件設定部13及びスクリーンイメージ解析部14の処理内容のみを説明する。
Next, the operation will be described.
However, as compared with the recording condition setting unit 3 and the screen image analysis unit 4 in the first embodiment, the recording condition setting unit 13 has a function of accepting the setting of the color of the area excluded from the comparison target, and the screen image analysis unit 14 is the same except that the image data of the same color area as the color accepted by the recording condition setting unit 13 is excluded from the comparison target. Therefore, the recording condition setting unit 13 and the screen image analysis unit 14 are the same. Only the processing contents of will be described.

記録条件設定部13は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
また、記録条件設定部13は、スクリーン上の画像の中で比較対象から除外する領域の色(例えば、背景色)の設定を受け付ける処理を実施する。
As in the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 13 accepts setting of image data that matches the recording start condition as a recording start condition when recording image data is started in phase 1. At the same time, as a recording end condition at the time of ending the recording of the image data, a process of accepting setting of image data that matches the recording end condition is performed.
In addition, the recording condition setting unit 13 performs a process of accepting the setting of the color (for example, background color) of the area to be excluded from the comparison target in the image on the screen.

例えば、スクリーン記録装置のCPUがアプリケーション1を実行することで、スクリーン上に画像が表示されているとき、図12(a)に示すように、ユーザが、記録条件設定部13のマンマシンインタフェースを操作することで、比較対象から除外する領域(例えば、背景領域)を指定すると(図12(a)の例では、マウスポインタで背景領域を指定している)、記録条件設定部13が当該領域のピクセルが保持している色を画像解析対象外指定色(比較対象から除外する領域の色)に設定するようにする。
あるいは、記録条件設定部13がスクリーン上に表示されている画像を構成している色を解析して、その画像を構成している色の一覧表(リスト)を図12(b)のように表示し、ユーザが、記録条件設定部13のマンマシンインタフェースを操作することで、一覧表の中から、比較対象から除外する領域の色を選択し、その色を画像解析対象外指定色に設定するようにする。図12(b)の例では、赤色を画像解析対象外指定色に設定している。
なお、画像解析対象外指定色の設定は、1つだけでもよいが、必要に応じて複数設定するようにしてもよい。
For example, when the CPU of the screen recording apparatus executes the application 1 and an image is displayed on the screen, the user can change the man-machine interface of the recording condition setting unit 13 as shown in FIG. When an area (for example, a background area) to be excluded from the comparison target is specified by operation (in the example of FIG. 12A, the background area is specified with the mouse pointer), the recording condition setting unit 13 causes the area to be The color held by the pixel is set as a color that is not subject to image analysis (the color of the area that is excluded from the comparison target).
Alternatively, the recording condition setting unit 13 analyzes the colors constituting the image displayed on the screen, and a list of colors constituting the image is displayed as shown in FIG. Display, and the user operates the man-machine interface of the recording condition setting unit 13 to select the color of the area to be excluded from the comparison target from the list, and set that color as the image analysis target designated color To do. In the example of FIG. 12B, red is set as a non-image analysis target designated color.
Note that the number of designated non-image analysis target colors may be one, but a plurality may be set as necessary.

スクリーンイメージ解析部14は、フェーズ2において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部13により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部13により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた画像解析対象外指定色と同一色の領域のイメージデータを差分の算出対象から除外する。
In the phase 2, the screen image analysis unit 14 obtains the image data that matches the recording start condition received by the recording condition setting unit 13 and the screen image input unit 2 in the same manner as the screen image analysis unit 4 in FIG. A process of calculating a difference between the obtained image data and detecting a timing at which the difference between the image data and the image data matching the recording start condition becomes equal to or less than a predetermined threshold is performed as a recording start timing.
However, unlike the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 14 matches the image start conditions received by the recording condition setting unit 13 and the image acquired by the screen image input unit 2. When calculating the data difference, among the image data acquired by the screen image input unit 2, the image data of the region of the same color as the designated color not to be analyzed that has been set by the recording condition setting unit 13 is calculated. Exclude from calculation.

即ち、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、画像解析対象外指定色と同一色の色を保持しているピクセルについては、差分を計算せずに積算に含めないようにする。
図12の例では、スクリーン上に表示されている画像の中で、背景領域の色が画像解析対象外指定色に設定されているので、背景領域を除く領域(メニュー1、ボタン1、ボタン2、ボタン3、ウィンドウ1、ウィンドウ2、ウィンドウ3)を構成しているピクセルについて差分が計算されて積算される。
That is, the screen image analysis unit 14, similar to the screen image analysis unit 4 in FIG. 1, calculates, for each pixel, the image data that matches the recording start condition and the latest image data output from the screen image input unit 2. The difference (difference for each of R, G, and B) is calculated and the difference in all the pixels is integrated. Among the pixels constituting the image data acquired by the screen image input unit 2, the image analysis target is not specified. For pixels holding the same color as the color, the difference is not calculated and not included in the integration.
In the example of FIG. 12, since the color of the background area is set to a non-image analysis target designated color in the image displayed on the screen, the area excluding the background area (menu 1, button 1, button 2). , Button 3, window 1, window 2, window 3) and the difference is calculated and integrated.

スクリーンイメージ解析部14は、フェーズ3において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部13により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部13により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた画像解析対象外指定色と同一色の領域のイメージデータを差分の算出対象から除外する。
In the phase 3, the screen image analysis unit 14 acquires the image data that matches the recording end condition received by the recording condition setting unit 13 and the screen image input unit 2 in the same manner as the screen image analysis unit 4 of FIG. 1. A process of calculating a difference between the image data and detecting a timing at which a difference between the image data and the image data matching the recording end condition is equal to or less than a predetermined threshold is performed as a recording end timing.
However, unlike the screen image analysis unit 4 of FIG. 1, the screen image analysis unit 14 has image data that matches the recording end condition accepted by the recording condition setting unit 13 and the image acquired by the screen image input unit 2. When calculating the data difference, among the image data acquired by the screen image input unit 2, the image data of the region of the same color as the designated color not to be analyzed that has been set by the recording condition setting unit 13 is calculated. Exclude from calculation.

即ち、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録終了条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、画像解析対象外指定色と同一色の色を保持しているピクセルについては、差分を計算せずに積算に含めないようにする。
図12の例では、スクリーン上に表示されている画像の中で、背景領域の色が画像解析対象外指定色に設定されているので、背景領域を除く領域(メニュー1、ボタン1、ボタン2、ボタン3、ウィンドウ1、ウィンドウ2、ウィンドウ3)を構成しているピクセルについて差分が計算されて積算される。
That is, the screen image analysis unit 14, similar to the screen image analysis unit 4 of FIG. 1, calculates, for each pixel, the image data that matches the recording end condition and the latest image data output from the screen image input unit 2. The difference (difference for each of R, G, and B) is calculated and the difference in all the pixels is integrated. Among the pixels constituting the image data acquired by the screen image input unit 2, the image analysis target is not specified. For pixels holding the same color as the color, the difference is not calculated and not included in the integration.
In the example of FIG. 12, since the color of the background area is set to a non-image analysis target designated color in the image displayed on the screen, the area excluding the background area (menu 1, button 1, button 2). , Button 3, window 1, window 2, window 3) and the difference is calculated and integrated.

以上で明らかなように、この実施の形態3によれば、記録条件設定部13がスクリーン上の画像の中で比較対象から除外する領域の色の設定を受け付ける機能を備え、スクリーンイメージ解析部14が、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと記録条件設定部13により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較するように構成したので、上記実施の形態1よりも、記録開始タイミング及び記録終了タイミングを検出する際の処理量が軽減されるようになり、記録開始タイミング及び記録終了タイミングの検出速度を高めることができる効果を奏する。   As is apparent from the above, according to the third embodiment, the recording condition setting unit 13 has a function of accepting the setting of the color of the area to be excluded from the comparison target in the image on the screen, and the screen image analysis unit 14 However, among the image data acquired by the screen image input unit 2, the image data of the same color as the color accepted by the recording condition setting unit 13 is excluded from the comparison target and is not excluded from the comparison target. Since the remaining image data is compared with the image data that matches the recording start condition and the recording end condition received by the recording condition setting unit 13, the recording start timing and recording are compared with those in the first embodiment. The amount of processing when detecting the end timing is reduced, and the recording start timing and recording end timing are detected. An effect that can increase the speed.

なお、この実施の形態3では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部13及びスクリーンイメージ解析部14を実装することで、比較対象から除外する領域の色の設定を受け付ける機能と、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外する機能とを上記実施の形態1のスクリーン記録装置に付加するものを示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部13及びスクリーンイメージ解析部14を実装することで、比較対象から除外する領域の色の設定を受け付ける機能と、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外する機能とを上記実施の形態2のスクリーン記録装置に付加するようにしてもよい。   In the third embodiment, the recording condition setting unit 13 and the screen image analysis unit 14 are mounted instead of the recording condition setting unit 3 and the screen image analysis unit 4 in FIG. And a function for excluding image data in the same color area as the color accepted by the recording condition setting unit 13 from the comparison target are added to the screen recording apparatus of the first embodiment. Although shown, the recording condition setting unit 13 and the screen image analysis unit 14 are mounted instead of the recording condition setting unit 11 and the screen image analysis unit 12 in FIG. A function for accepting settings and image data in the same color area as the color accepted by the recording condition setting unit 13 are excluded from comparison targets. That function and may be added to the screen printing apparatus of the second embodiment of.

実施の形態4.
図13はこの発明の実施の形態4によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部15は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部15は、図1の記録条件設定部3と異なり、スクリーン上の画像の中で比較対象の領域の設定を受け付ける機能を備えている。
なお、記録条件設定部15は条件設定手段を構成している。
Embodiment 4 FIG.
FIG. 13 is a block diagram showing a screen recording apparatus according to Embodiment 4 of the present invention. In the figure, the same reference numerals as those in FIG.
The recording condition setting unit 15 includes, for example, a man-machine interface such as a keyboard and a mouse, like the recording condition setting unit 3 in FIG. As a recording start condition when starting the recording of the image data acquired by the above, the setting of image data that matches the recording start condition is accepted, and as a recording end condition when the recording of the image data is ended, the recording Processing for accepting the setting of image data that matches the end condition is performed.
However, unlike the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 15 has a function of accepting setting of a comparison target region in an image on the screen.
The recording condition setting unit 15 constitutes a condition setting unit.

スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と同様に、記録条件設定部15により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部16は記録条件設定部15により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と異なり、スクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較する。
なお、スクリーンイメージ解析部16はタイミング検出手段を構成している。
The screen image analysis unit 16 analyzes the image data set by the recording condition setting unit 15 and the image data acquired by the screen image input unit 2 in the same manner as the screen image analysis unit 4 of FIG. Then, the image data is compared with the image data, and a process of detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data is performed by referring to the comparison result.
That is, the screen image analysis unit 16 determines the difference between the image data that matches the recording start condition received by the recording condition setting unit 15 and the image data that matches the recording end condition and the image data acquired by the screen image input unit 2. Is calculated as the recording start timing, and the difference between the image data and the image data that matches the recording end condition is determined to be a predetermined value. The process which detects the timing which becomes below this threshold value as a recording end timing is implemented.
However, unlike the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 16 is image data of an area whose setting is received by the recording condition setting unit 15 from among the image data acquired by the screen image input unit 2. And the image data and the image data matching the recording start condition and the recording end condition accepted by the recording condition setting unit 15 are compared.
The screen image analysis unit 16 constitutes timing detection means.

図13では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部15、スクリーンイメージ解析部16、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部15、スクリーンイメージ解析部16、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 13, each of the screen image input unit 2, the recording condition setting unit 15, the screen image analysis unit 16, the screen image recording processing unit 5 and the image reproduction unit 7 which are components of the screen recording device is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 15, the screen image analysis unit 16, the screen image recording processing unit 5 and the image reproduction unit 7 is stored in the memory of a computer, and the CPU of the computer is stored in the memory. The program may be executed.

次に動作について説明する。
ただし、上記実施の形態1における記録条件設定部3及びスクリーンイメージ解析部4と比較して、記録条件設定部15が比較対象の領域の設定を受け付ける機能を備え、スクリーンイメージ解析部16が記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象としている点以外は、同様であるため、記録条件設定部15及びスクリーンイメージ解析部16の処理内容のみを説明する。
Next, the operation will be described.
However, compared with the recording condition setting unit 3 and the screen image analysis unit 4 in the first embodiment, the recording condition setting unit 15 has a function of accepting the setting of the comparison target area, and the screen image analysis unit 16 has the recording condition. Since the process is the same except that the image data of the area for which the setting is accepted by the setting unit 15 is to be compared, only the processing contents of the recording condition setting unit 15 and the screen image analysis unit 16 will be described.

記録条件設定部15は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
また、記録条件設定部15は、スクリーン上の画像の中で比較対象の領域の設定を受け付ける処理を実施する。
In the phase 1, the recording condition setting unit 15 accepts the setting of image data that matches the recording start condition as the recording start condition when starting the recording of the image data in the same manner as the recording condition setting unit 3 in FIG. At the same time, as a recording end condition at the time of ending the recording of the image data, a process of accepting setting of image data that matches the recording end condition is performed.
In addition, the recording condition setting unit 15 performs a process of accepting the setting of the comparison target area in the image on the screen.

例えば、スクリーン記録装置のCPUがアプリケーション1を実行することで、スクリーン上に画像が表示されているとき、図14(a)に示すように、ユーザが、記録条件設定部15のマンマシンインタフェースを操作することで、その画像内に存在している複数のウィンドウの中から、任意のウィンドウを選択し、そのウィンドウを構成している領域を比較対象の領域に設定するようにする。
図14(a)の例では、ウィンドウ2を構成している領域が比較対象の領域に設定されている。
この場合、指定可能な領域の形状は、画像内に存在している各ウィンドウの形状に依存している。
For example, when the CPU of the screen recording apparatus executes the application 1 and an image is displayed on the screen, the user can change the man-machine interface of the recording condition setting unit 15 as shown in FIG. By operating, an arbitrary window is selected from a plurality of windows existing in the image, and an area constituting the window is set as a comparison target area.
In the example of FIG. 14A, the area constituting the window 2 is set as the comparison target area.
In this case, the shape of the area that can be specified depends on the shape of each window existing in the image.

あるいは、ユーザが、記録条件設定部15のマンマシンインタフェースを操作することで、図14(b)に示すように、スクリーン上の画像に対して、直接比較対象の領域を描画することにより、比較対象の領域に設定するようにする。
図14(b)の例では、ウィンドウ1、ウィンドウ2、ウィンドウ3を囲んでいる矩形領域が比較対象の領域に設定されている。
この場合、指定可能な領域の形状は、ユーザの描画によるものであるため、矩形形状に限られず、楕円形や三角形などの基本図形のほかに、ポリゴン等の自由形状の指定も可能である。
なお、比較対象の領域の設定は、1つだけでもよいが、必要に応じて複数設定するようにしてもよい。
Alternatively, the user operates the man-machine interface of the recording condition setting unit 15 to draw the comparison target region directly on the image on the screen as shown in FIG. Set to the target area.
In the example of FIG. 14B, rectangular areas surrounding window 1, window 2, and window 3 are set as comparison target areas.
In this case, since the shape of the area that can be specified is determined by the user's drawing, the shape is not limited to a rectangular shape, and a free shape such as a polygon can be specified in addition to a basic figure such as an ellipse or a triangle.
Note that only one area may be set for comparison, but a plurality of areas may be set as necessary.

スクリーンイメージ解析部16は、フェーズ2において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部15により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部15により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録開始条件に合致する画像データを比較する。
In the phase 2, the screen image analysis unit 16 acquires image data that matches the recording start condition received by the recording condition setting unit 15 and the screen image input unit 2, as in the screen image analysis unit 4 of FIG. 1. A process of calculating a difference between the obtained image data and detecting a timing at which the difference between the image data and the image data matching the recording start condition becomes equal to or less than a predetermined threshold is performed as a recording start timing.
However, unlike the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 16 has image data that matches the recording start condition accepted by the recording condition setting unit 15 and the image acquired by the screen image input unit 2. When calculating the data difference, the image data of the area whose setting is accepted by the recording condition setting unit 15 is extracted from the image data acquired by the screen image input unit 2, and the image data and the recording condition setting unit are extracted. The image data that matches the recording start condition for which the setting has been accepted by 15 is compared.

即ち、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、記録条件設定部15により設定が受け付けられた領域以外のピクセルについては、差分を計算せずに積算に含めないようにして、比較対象の領域のピクセルについてだけ差分を計算して積算に含めるようにする。
図12(a)の例では、スクリーン上に表示されている画像の中で、ウィンドウ2が比較対象の領域に設定されているので、ウィンドウ2を構成しているピクセルについて差分が計算されて積算される。
また、図12(b)の例では、スクリーン上に表示されている画像の中で、ウィンドウ1、ウィンドウ2、ウィンドウ3を囲んでいる領域が比較対象の領域に設定されているので、ウィンドウ1、ウィンドウ2、ウィンドウ3を囲んでいる領域を構成しているピクセルについて差分が計算されて積算される。
That is, the screen image analysis unit 16, similar to the screen image analysis unit 4 in FIG. 1, calculates, for each pixel, the image data that matches the recording start condition and the latest image data output from the screen image input unit 2. The difference (difference for each of R, G, and B) is calculated and the differences in all the pixels are integrated. Among the pixels constituting the image data acquired by the screen image input unit 2, the recording condition setting unit 15 For pixels other than the region for which the setting has been accepted, the difference is not calculated and not included in the integration, and only the pixel in the comparison target region is calculated and included in the integration.
In the example of FIG. 12A, since the window 2 is set as a comparison target region in the image displayed on the screen, the difference is calculated and integrated for the pixels constituting the window 2. Is done.
In the example of FIG. 12B, the area surrounding window 1, window 2, and window 3 is set as the comparison target area in the image displayed on the screen. Differences are calculated and integrated for the pixels constituting the area surrounding window 2 and window 3.

スクリーンイメージ解析部16は、フェーズ3において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データを比較する。
In the phase 3, the screen image analysis unit 16 acquires the image data that matches the recording end condition received by the recording condition setting unit 15 and the screen image input unit 2 in the same manner as the screen image analysis unit 4 of FIG. 1. A process of calculating a difference between the obtained image data and detecting a timing at which the difference between the image data and the image data matching the recording end condition becomes equal to or less than a predetermined threshold is performed as a recording start timing.
However, unlike the screen image analysis unit 4 of FIG. 1, the screen image analysis unit 16 has image data that matches the recording end condition accepted by the recording condition setting unit 15 and the image acquired by the screen image input unit 2. When calculating the data difference, the image data of the area whose setting is accepted by the recording condition setting unit 15 is extracted from the image data acquired by the screen image input unit 2, and the image data and the recording condition setting unit are extracted. The image data that matches the recording end condition for which the setting has been accepted in step 15 is compared.

即ち、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録終了条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、記録条件設定部15により設定が受け付けられた領域以外のピクセルについては、差分を計算せずに積算に含めないようにして、比較対象の領域のピクセルについてだけ差分を計算して積算に含めるようにする。
図12(a)の例では、スクリーン上に表示されている画像の中で、ウィンドウ2が比較対象の領域に設定されているので、ウィンドウ2を構成しているピクセルについて差分が計算されて積算される。
また、図12(b)の例では、スクリーン上に表示されている画像の中で、ウィンドウ1、ウィンドウ2、ウィンドウ3を囲んでいる領域が比較対象の領域に設定されているので、ウィンドウ1、ウィンドウ2、ウィンドウ3を囲んでいる領域を構成しているピクセルについて差分が計算されて積算される。
That is, the screen image analysis unit 16, similar to the screen image analysis unit 4 in FIG. 1, calculates, for each pixel, image data that matches the recording end condition and the latest image data output from the screen image input unit 2. The difference (difference for each of R, G, and B) is calculated and the differences in all the pixels are integrated. Among the pixels constituting the image data acquired by the screen image input unit 2, the recording condition setting unit 15 For pixels other than the region for which the setting has been accepted, the difference is not calculated and not included in the integration, and only the pixel in the comparison target region is calculated and included in the integration.
In the example of FIG. 12A, since the window 2 is set as a comparison target region in the image displayed on the screen, the difference is calculated and integrated for the pixels constituting the window 2. Is done.
In the example of FIG. 12B, the area surrounding window 1, window 2, and window 3 is set as the comparison target area in the image displayed on the screen. Differences are calculated and integrated for the pixels constituting the area surrounding window 2 and window 3.

以上で明らかなように、この実施の形態4によれば、記録条件設定部15がスクリーン上の画像の中で比較対象の領域の設定を受け付ける機能を備え、スクリーンイメージ解析部16がスクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較するように構成したので、上記実施の形態1よりも、記録開始タイミング及び記録終了タイミングを検出する際の処理量が軽減されるようになり、記録開始タイミング及び記録終了タイミングの検出速度を高めることができる効果を奏する。   As apparent from the above, according to the fourth embodiment, the recording condition setting unit 15 has a function of accepting the setting of the comparison target area in the image on the screen, and the screen image analysis unit 16 inputs the screen image. From the image data acquired by the unit 2, image data of an area for which the setting is received by the recording condition setting unit 15 is extracted, and the recording start condition for which the setting is received by the image data and the recording condition setting unit 15, and Since the image data matching the recording end condition is compared, the processing amount when detecting the recording start timing and the recording end timing is reduced as compared with the first embodiment, and the recording start timing is reduced. In addition, the recording end timing detection speed can be increased.

なお、この実施の形態4では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部15及びスクリーンイメージ解析部16を実装することで、比較対象の領域の設定を受け付ける機能と、記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象とする機能とを上記実施の形態1のスクリーン記録装置に付加するものを示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部15及びスクリーンイメージ解析部16を実装することで、比較対象の領域の設定を受け付ける機能と、記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象とする機能とを上記実施の形態2のスクリーン記録装置に付加するようにしてもよい。   In the fourth embodiment, instead of the recording condition setting unit 3 and the screen image analysis unit 4 shown in FIG. 1, a recording condition setting unit 15 and a screen image analysis unit 16 are mounted to set the comparison target area. 8 and the function for comparing the image data of the area for which the setting is received by the recording condition setting unit 15 are added to the screen recording apparatus of the first embodiment. A recording condition setting unit 15 and a screen image analysis unit 16 are mounted in place of the condition setting unit 11 and the screen image analysis unit 12, so that the setting of the comparison target area is set and the setting is performed by the recording condition setting unit 15. The screen recording apparatus of the second embodiment is added with a function for comparing the image data of the received area as a comparison target. It may be.

実施の形態5.
図15はこの発明の実施の形態5によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部21は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データ列(一連の画像データ)の設定を受け付けるとともに、記録終了条件に合致する画像データ列(一連の画像データ)の設定を受け付ける処理を実施する。
なお、記録条件設定部21は条件設定手段を構成している。
Embodiment 5 FIG.
FIG. 15 is a block diagram showing a screen recording apparatus according to Embodiment 5 of the present invention. In the figure, the same reference numerals as those in FIG.
As with the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 21 includes a man-machine interface such as a keyboard and a mouse, for example. Under the operation of the man-machine interface by the user, the screen image input unit 2 As a recording start condition when starting recording of the image data acquired by the above, the setting of an image data string (a series of image data) that matches the recording start condition is accepted, and an image data string that matches the recording end condition ( A process of accepting the setting of a series of image data) is performed.
The recording condition setting unit 21 constitutes a condition setting unit.

スクリーンイメージ解析部22は記録条件設定部21により設定が受け付けられた画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列(スクリーンイメージ入力部2により取得された一連のイメージデータ)の動画像を解析することで、その画像データ列とイメージデータ列を比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部22は記録条件設定部21により設定が受け付けられた記録開始条件に合致する画像データ列及び記録終了条件に合致する画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列の差分を算出し、その記録開始条件に合致する画像データ列とイメージデータ列の差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データ列とイメージデータ列の差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部22はタイミング検出手段を構成している。
The screen image analysis unit 22 is a moving image of the image data sequence received by the recording condition setting unit 21 and the image data sequence acquired by the screen image input unit 2 (a series of image data acquired by the screen image input unit 2). By analyzing the image, the image data sequence is compared with the image data sequence, and the comparison result is referred to, and the recording start timing for starting the recording of the image data and the recording end timing for ending the recording of the image data are determined. Perform the detection process.
That is, the screen image analysis unit 22 has an image data sequence that matches the recording start condition received by the recording condition setting unit 21, an image data sequence that matches the recording end condition, and the image data acquired by the screen image input unit 2. The difference between the columns is calculated, the timing at which the difference between the image data sequence that matches the recording start condition and the image data sequence falls below a predetermined threshold is detected as the recording start timing, and the image data sequence that matches the recording end condition A process of detecting a timing at which the difference between the image data strings becomes equal to or less than a predetermined threshold as a recording end timing is performed.
The screen image analysis unit 22 constitutes timing detection means.

図15では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部21、スクリーンイメージ解析部22、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部21、スクリーンイメージ解析部22、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 15, each of the screen image input unit 2, the recording condition setting unit 21, the screen image analysis unit 22, the screen image recording processing unit 5, and the image reproduction unit 7 which are components of the screen recording device is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 21, the screen image analysis unit 22, the screen image recording processing unit 5, and the image reproduction unit 7 is stored in a computer memory, and the CPU of the computer is stored in the memory. The program may be executed.

上記実施の形態1では、記録条件設定部3が記録開始条件及び記録終了条件に合致する画像データの設定を受け付けて、スクリーンイメージ解析部4が記録開始条件及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータを比較(静止画像解析)するものについて示したが、記録条件設定部21が記録開始条件及び記録終了条件に合致する画像データ列(一連の画像データ)の設定を受け付けて、スクリーンイメージ解析部22が記録開始条件及び記録終了条件に合致する画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列(一連のイメージデータ)を比較(動画像解析)するようにしてもよい。   In the first embodiment, the recording condition setting unit 3 receives the setting of the image data that matches the recording start condition and the recording end condition, and the screen image analysis unit 4 receives the image data that matches the recording start condition and the recording end condition. Although the image data acquired by the screen image input unit 2 is compared (still image analysis), the recording condition setting unit 21 matches the recording start condition and the recording end condition (a series of image data). The screen image analysis unit 22 compares the image data sequence that matches the recording start condition and the recording end condition with the image data sequence (a series of image data) acquired by the screen image input unit 2 (moving image analysis). ).

以下、処理内容を具体的に説明する。
記録条件設定部21は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部21は、図1の記録条件設定部3と異なり、記録開始条件及び記録終了条件に合致する画像データについて、それぞれ複数個の設定を受け付けるようにする。
そして、複数の画像データ(一連の画像データ)を記録開始条件に合致する画像データ列として設定するとともに、複数の画像データ(一連の画像データ)を記録終了条件に合致する画像データ列として設定する。
The processing contents will be specifically described below.
As in the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 21 accepts setting of image data that matches the recording start condition as a recording start condition when recording image data is started in phase 1. At the same time, as a recording end condition at the time of ending the recording of the image data, a process of accepting setting of image data that matches the recording end condition is performed.
However, unlike the recording condition setting unit 3 in FIG. 1, the recording condition setting unit 21 accepts a plurality of settings for image data that matches the recording start condition and the recording end condition.
A plurality of image data (a series of image data) is set as an image data string that matches the recording start condition, and a plurality of image data (a series of image data) is set as an image data string that matches the recording end condition. .

図16は記録開始条件に合致するイメージファイル列(記録開始条件に合致する画像データのデータファイル列)及び記録終了条件に合致するイメージファイル列(記録終了条件に合致する画像データのデータファイル列)の一例を示す説明図である。
図16(a)では、記録開始条件に合致する5個のイメージファイル列が設定され、5個のイメージファイル列が、それぞれ3個の画像データのデータファイル列から構成されている例を示している。
また、図16(b)では、記録終了条件に合致する5個のイメージファイル列が設定され、5個のイメージファイル列が、それぞれ3個の画像データのデータファイル列から構成されている例を示している。
ここでは、記録開始条件及び記録終了条件に合致するイメージファイル例が5個設定されている例を示しているが、設定数は1個以上であれば、5個に限るものではない。
また、各イメージファイル列が、それぞれ3個の画像データのデータファイル列から構成されている例を示しているが、2個以上の画像データのデータファイル列から構成されていればよく、3個の画像データのデータファイル列に限られるものではない。
FIG. 16 shows an image file sequence that matches the recording start condition (a data file sequence of image data that matches the recording start condition) and an image file sequence that matches the recording end condition (a data file sequence of image data that matches the recording end condition). It is explanatory drawing which shows an example.
FIG. 16A shows an example in which five image file sequences that match the recording start condition are set, and each of the five image file sequences is composed of three data file sequences of image data. Yes.
In FIG. 16B, five image file sequences that match the recording end condition are set, and each of the five image file sequences includes a data file sequence of three image data. Show.
Here, an example is shown in which five image file examples that match the recording start condition and the recording end condition are set. However, the number is not limited to five as long as the number is set to one or more.
Each image file sequence is composed of three image data data file sequences. However, it is sufficient that each image file sequence is composed of two or more image data data file sequences. It is not limited to the data file sequence of the image data.

スクリーンイメージ解析部22は、フェーズ2において、記録条件設定部21により設定が受け付けられた記録開始条件に合致する画像データ列(イメージデータ列)と、記録終了条件に合致する画像データ列(イメージデータ列)とを読み込み、これらの画像データ列を図示せぬ内部バッファにロードする。
ただし、これらの画像データ列が圧縮されている場合には、伸張処理を施してから、内部バッファにロードする。
また、記録開始条件に合致する画像データ列や記録終了条件に合致する画像データ列が、それぞれ複数個設定されている場合には、設定されている全ての画像データ列を内部バッファにロードする。
In the phase 2, the screen image analysis unit 22 receives an image data sequence (image data sequence) that matches the recording start condition received by the recording condition setting unit 21 and an image data sequence (image data) that matches the recording end condition. The image data strings are loaded into an internal buffer (not shown).
However, when these image data strings are compressed, they are decompressed and loaded into the internal buffer.
If a plurality of image data strings that match the recording start condition and a plurality of image data strings that match the recording end condition are set, all the set image data strings are loaded into the internal buffer.

図17は図16のイメージファイル列(記録開始条件に合致するイメージファイル列、記録終了条件に合致するイメージファイル列)が読み込まれた内部バッファの構成例を示す説明図である。   FIG. 17 is an explanatory diagram showing a configuration example of an internal buffer in which the image file sequence of FIG. 16 (an image file sequence that matches the recording start condition and an image file sequence that matches the recording end condition) is read.

スクリーンイメージ入力部2は、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータ列(例えば、連続している3個のイメージデータ)をフレームバッファ経由で取得し、そのイメージデータ列をスクリーンイメージ解析部22に出力する。
なお、スクリーンイメージ入力部2は、最新のイメージデータ列を取得するものであるが、イメージデータ列の取得は、所定の周期で定期的に取得するものであってもよいし、予め決められた時刻に取得するものであってもよい。
The screen image input unit 2 acquires, via a frame buffer, an image data sequence (for example, three consecutive image data) indicating an image on the screen that changes as the application 1 is executed, and the image data sequence. Is output to the screen image analysis unit 22.
The screen image input unit 2 acquires the latest image data sequence. However, the acquisition of the image data sequence may be acquired periodically at a predetermined cycle or may be determined in advance. It may be acquired at a time.

スクリーンイメージ解析部22は、スクリーンイメージ入力部2から最新のイメージデータ列を受けると、その最新のイメージデータ列が示す動画像と、先に内部バッファにロードしている記録開始条件に合致する画像データ列が示す動画像とを解析して、そのイメージデータ列と画像データ列を比較する。
即ち、スクリーンイメージ解析部22は、ピクセル毎に、差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、例えば、内部バッファにロードしている記録開始条件に合致する画像データ列のイメージファイルが、「START001−0.RGB」、「START001−1.RGB」、「START001−2.RGB」である場合、最初に、イメージファイル「START001−0.RGB」に含まれている画像データと、最新のイメージデータ列(連続している3個のイメージデータ)の中の1番目のイメージデータとの差分(全ピクセルにおける差分)を算出する。
次に、イメージファイル「START001−1.RGB」に含まれている画像データと、最新のイメージデータ列の中の2番目のイメージデータとの差分(全ピクセルにおける差分)を算出し、最後に、イメージファイル「START001−2.RGB」に含まれている画像データと、最新のイメージデータ列の中の3番目のイメージデータとの差分(全ピクセルにおける差分)を算出する。
When the screen image analysis unit 22 receives the latest image data sequence from the screen image input unit 2, the screen image analysis unit 22 matches the moving image indicated by the latest image data sequence and the recording start condition previously loaded in the internal buffer. The moving image indicated by the data string is analyzed, and the image data string is compared with the image data string.
That is, the screen image analysis unit 22 calculates the difference (difference for each of R, G, and B) for each pixel and accumulates the differences for all the pixels. For example, the recording start condition loaded in the internal buffer When the image file of the image data string that matches “START001-0.RGB”, “START001-1.RGB”, “START001-2.RGB”, first, the image file “START001-0.RGB” The difference between the image data included in the image data and the first image data in the latest image data sequence (three consecutive image data) is calculated.
Next, a difference (difference in all pixels) between the image data included in the image file “START001-1.RGB” and the second image data in the latest image data sequence is calculated, and finally, A difference (difference in all pixels) between the image data included in the image file “START001-2.RGB” and the third image data in the latest image data sequence is calculated.

スクリーンイメージ解析部22は、3個の画像データと3個のイメージデータとの差分(全ピクセルにおける差分)を算出すると、それぞれの差分を積算(あるいは、平均)し、その積算(あるいは、平均)の結果を最終的な差分値とする。
ただし、図17(a)に示すように、記録開始条件に合致するイメージファイル列として、5個のイメージファイル列が内部バッファにロードされている場合、5個のイメージファイル列に含まれている画像データ列毎に、最新のイメージデータ列との差分(全ピクセルにおける差分)を求めて、それぞれの差分を積算(あるいは、平均)する。
When the screen image analysis unit 22 calculates the difference (difference in all pixels) between the three pieces of image data and the three pieces of image data, the screen image analysis unit 22 adds (or averages) the differences, and adds (or averages) the differences. Is the final difference value.
However, as shown in FIG. 17A, when five image file sequences are loaded in the internal buffer as image file sequences that match the recording start condition, they are included in the five image file sequences. For each image data string, a difference (difference in all pixels) from the latest image data string is obtained, and each difference is integrated (or averaged).

スクリーンイメージ解析部22は、最終的な差分を求めると、最終的な差分と所定の閾値を比較する。
スクリーンイメージ解析部22は、図1のスクリーンイメージ解析部4と同様に、差分が所定の閾値以下であれば(差分≦閾値)、記録開始条件を満足していると判断して(機器や設備などに異常が発生して、異常表示画面がスクリーン上に表示されていると判断する)、記録開始タイミングを検出する。
When obtaining the final difference, the screen image analysis unit 22 compares the final difference with a predetermined threshold value.
Similar to the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 22 determines that the recording start condition is satisfied if the difference is equal to or less than a predetermined threshold (difference ≦ threshold) (equipment or facility). For example, the abnormality display screen is displayed on the screen), and the recording start timing is detected.

ここでは、図17(a)に示すように、記録開始条件に合致するイメージファイル列として、5個のイメージファイル列が内部バッファにロードされている場合、5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分のいずれかが、所定の閾値以下であれば、記録開始条件を満足していると判断するが、5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分の全てが所定の閾値以下であるとき、記録開始条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 17A, when five image file sequences are loaded in the internal buffer as image file sequences that match the recording start condition, they are included in the five image file sequences. If any of the differences between the image data sequence and the image data sequence is equal to or less than a predetermined threshold value, it is determined that the recording start condition is satisfied, but the image data sequences included in the five image file sequences When all the differences between the image data string and the image data string are equal to or less than a predetermined threshold value, it may be determined that the recording start condition is satisfied.

また、ここでは、最初に5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル列(例えば、「START001−0.RGB」、「START001−1.RGB」、「START001−2.RGB」)に含まれている画像データとイメージデータ列の差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値以下であれば、記録開始条件を満足していると判断し、その差分が所定の閾値を越えていれば、他のイメージファイル列(例えば、「START002−0.RGB」、「START002−1.RGB」、「START002−2.RGB」)に含まれている画像データとイメージデータ列の差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data sequence and the image data sequence included in the five image file sequences is calculated, and then each difference is compared with a predetermined threshold value. The difference between the image data included in the image file sequence (for example, “START001-0.RGB”, “START001-1.RGB”, “START001-2.RGB”) and the image data sequence is calculated. The difference is compared with a predetermined threshold, and if the difference is equal to or less than the predetermined threshold, it is determined that the recording start condition is satisfied. If the difference exceeds the predetermined threshold, another image file sequence ( For example, the difference between the image data included in “START002-0.RGB”, “START002-1.RGB”, “START002-2.RGB”) and the image data string Calculates a may be compared with the difference with a predetermined threshold value.

次に、スクリーンイメージ入力部2は、フェーズ3において、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータ列(例えば、連続している3個のイメージデータ)をフレームバッファ経由で取得し、そのイメージデータ列をスクリーンイメージ解析部22に出力する。   Next, in phase 3, the screen image input unit 2 sends an image data string (for example, three consecutive image data) indicating an image on the screen that changes as the application 1 is executed via the frame buffer. The image data sequence is acquired and output to the screen image analysis unit 22.

スクリーンイメージ解析部22は、フェーズ3において、スクリーンイメージ入力部2から最新のイメージデータ列を受けると、その最新のイメージデータ列が示す動画像と、先に内部バッファにロードしている記録終了条件に合致する画像データ列が示す動画像とを解析して、そのイメージデータ列と画像データ列を比較する。
即ち、スクリーンイメージ解析部22は、ピクセル毎に、差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、例えば、内部バッファにロードしている記録終了条件に合致する画像データ列のイメージファイルが、「STOP001−0.RGB」、「STOP001−1.RGB」、「STOP001−2.RGB」である場合、最初に、イメージファイル「STOP001−0.RGB」に含まれている画像データと、最新のイメージデータ列(連続している3個のイメージデータ)の中の1番目のイメージデータとの差分(全ピクセルにおける差分)を算出する。
次に、イメージファイル「STOP001−1.RGB」に含まれている画像データと、最新のイメージデータ列の中の2番目のイメージデータとの差分(全ピクセルにおける差分)を算出し、最後に、イメージファイル「STOP001−2.RGB」に含まれている画像データと、最新のイメージデータ列の中の3番目のイメージデータとの差分(全ピクセルにおける差分)を算出する。
When receiving the latest image data sequence from the screen image input unit 2 in phase 3, the screen image analysis unit 22 receives the moving image indicated by the latest image data sequence and the recording end condition previously loaded in the internal buffer. The moving image indicated by the image data sequence matching the above is analyzed, and the image data sequence is compared with the image data sequence.
That is, the screen image analysis unit 22 calculates the difference (difference for each R, G, and B) for each pixel and adds up the differences for all the pixels. For example, the recording end condition loaded in the internal buffer When the image file of the image data sequence that matches the above is “STOP001-0.RGB”, “STOP001-1.RGB”, “STOP001-2.RGB”, first, the image file “STOP001-0.RGB”. The difference between the image data included in the image data and the first image data in the latest image data sequence (three consecutive image data) is calculated.
Next, a difference (difference in all pixels) between the image data included in the image file “STOP001-1.RGB” and the second image data in the latest image data sequence is calculated, and finally, A difference (difference in all pixels) between the image data included in the image file “STOP001-2.RGB” and the third image data in the latest image data sequence is calculated.

スクリーンイメージ解析部22は、3個の画像データと3個のイメージデータとの差分(全ピクセルにおける差分)を算出すると、それぞれの差分を積算(あるいは、平均)し、その積算(あるいは、平均)の結果を最終的な差分値とする。
ただし、図17(b)に示すように、記録終了条件に合致するイメージファイル列として、5個のイメージファイル列が内部バッファにロードされている場合、5個のイメージファイル列に含まれている画像データ列毎に、最新のイメージデータ列との差分(全ピクセルにおける差分)を求めて、それぞれの差分を積算(あるいは、平均)する。
When the screen image analysis unit 22 calculates the difference (difference in all pixels) between the three pieces of image data and the three pieces of image data, the screen image analysis unit 22 adds (or averages) the differences, and adds (or averages) the differences. Is the final difference value.
However, as shown in FIG. 17B, when five image file sequences are loaded in the internal buffer as image file sequences that match the recording end condition, they are included in the five image file sequences. For each image data string, a difference (difference in all pixels) from the latest image data string is obtained, and each difference is integrated (or averaged).

スクリーンイメージ解析部22は、最終的な差分を求めると、最終的な差分と所定の閾値を比較する。
スクリーンイメージ解析部22は、図1のスクリーンイメージ解析部4と同様に、差分が所定の閾値以下であれば(差分≦閾値)、記録終了条件を満足していると判断して(機器や設備などの異常が解消して、運転監視画面がスクリーン上に表示されていると判断する)、記録終了タイミングを検出する。
When obtaining the final difference, the screen image analysis unit 22 compares the final difference with a predetermined threshold value.
Similar to the screen image analysis unit 4 in FIG. 1, the screen image analysis unit 22 determines that the recording end condition is satisfied if the difference is equal to or smaller than a predetermined threshold (difference ≦ threshold) (equipment or facility). And the operation monitoring screen is displayed on the screen), the recording end timing is detected.

ここでは、図17(b)に示すように、記録終了条件に合致するイメージファイル列として、5個のイメージファイル列が内部バッファにロードされている場合、5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分のいずれかが、所定の閾値以下であれば、記録終了条件を満足していると判断するが、5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分の全てが所定の閾値以下であるとき、記録終了条件を満足していると判断するようにしてもよい。   Here, as shown in FIG. 17B, when five image file sequences are loaded in the internal buffer as image file sequences that match the recording end condition, they are included in the five image file sequences. If any of the difference between the image data sequence and the image data sequence is equal to or less than a predetermined threshold, it is determined that the recording end condition is satisfied, but the image data sequences included in the five image file sequences When all the differences between the image data string and the image data string are equal to or less than a predetermined threshold value, it may be determined that the recording end condition is satisfied.

また、ここでは、最初に5個のイメージファイル列に含まれている画像データ列とイメージデータ列の差分を算出してから、各差分を所定の閾値と比較しているが、最初に1個のイメージファイル列(例えば、「STOP001−0.RGB」、「STOP001−1.RGB」、「STOP001−2.RGB」)に含まれている画像データとイメージデータ列の差分を算出して、その差分と所定の閾値を比較し、その差分が所定の閾値以下であれば、記録終了条件を満足していると判断し、その差分が所定の閾値を越えていれば、他のイメージファイル列(例えば、「STOP002−0.RGB」、「STOP002−1.RGB」、「STOP002−2.RGB」)に含まれている画像データとイメージデータ列の差分を算出して、その差分と所定の閾値を比較するようにしてもよい。   Also, here, first, the difference between the image data sequence and the image data sequence included in the five image file sequences is calculated, and then each difference is compared with a predetermined threshold value. The difference between the image data and the image data sequence included in the image file sequence (for example, “STOP001-0.RGB”, “STOP001-1.RGB”, “STOP001-2.RGB”) The difference is compared with a predetermined threshold, and if the difference is equal to or smaller than the predetermined threshold, it is determined that the recording end condition is satisfied. If the difference exceeds the predetermined threshold, another image file sequence ( For example, the difference between the image data and the image data sequence included in “STOP002-0.RGB”, “STOP002-1.RGB”, “STOP002-2.RGB”) is calculated. It may be compared with the difference with a predetermined threshold value.

以上で明らかなように、この実施の形態5によれば、記録条件設定部21により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列の動画像を解析することで、その画像データ列とイメージデータ列を比較し、その比較結果を参照して、イメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出するように構成したので、記録開始タイミング及び記録終了タイミングの検出精度を高めることができる効果を奏する。   As is apparent from the above, according to the fifth embodiment, the image data string that matches the recording start condition and the recording end condition whose settings have been received by the recording condition setting unit 21 and the screen image input unit 2 have acquired. By analyzing the moving image of the image data sequence, the image data sequence is compared with the image data sequence, and the recording start timing and the recording of the image data are ended with reference to the comparison result. Since the recording end timing is detected, the detection accuracy of the recording start timing and the recording end timing can be improved.

なお、この実施の形態5では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部21及びスクリーンイメージ解析部22を実装するものについて示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部21及びスクリーンイメージ解析部22を実装するようにしてもよい。   In the fifth embodiment, the recording condition setting unit 21 and the screen image analysis unit 22 are mounted instead of the recording condition setting unit 3 and the screen image analysis unit 4 shown in FIG. Instead of the recording condition setting unit 11 and the screen image analysis unit 12, a recording condition setting unit 21 and a screen image analysis unit 22 may be mounted.

実施の形態6.
図18はこの発明の実施の形態6によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
圧縮方式格納部31はCPUの負荷に対応する圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)を格納しているメモリなどの記録媒体である。
スクリーンイメージ記録処理部32はスクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部32はイメージデータの記録を開始する際にCPUの負荷を測定して、圧縮方式格納部31から負荷の測定結果に対応する圧縮方式及び圧縮パラメータを読み込み、その圧縮方式及び圧縮パラメータで、そのイメージデータを記録する。
なお、圧縮方式格納部31、スクリーンイメージ記録処理部32及びイメージデータ格納部6からイメージデータ記録手段が構成されている。
Embodiment 6 FIG.
FIG. 18 is a block diagram showing a screen recording apparatus according to the sixth embodiment of the present invention. In the figure, the same reference numerals as those in FIG.
The compression method storage unit 31 is a recording medium such as a memory that stores a compression method and compression parameters (resolution, frame rate, compression rate) corresponding to the load on the CPU.
The screen image recording processing unit 32 starts recording the image data acquired by the screen image input unit 2 from the time when the recording start timing is detected by the screen image analysis unit 4, and the recording end timing is set by the screen image analysis unit 4. When detected, the recording of the image data is terminated.
However, the screen image recording processing unit 32 measures the load of the CPU when recording of image data is started, reads the compression method and the compression parameter corresponding to the load measurement result from the compression method storage unit 31, and the compression method. The image data is recorded with the compression parameter.
The compression method storage unit 31, the screen image recording processing unit 32, and the image data storage unit 6 constitute an image data recording unit.

図13では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部32及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部32及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In FIG. 13, each of the screen image input unit 2, the recording condition setting unit 3, the screen image analysis unit 4, the screen image recording processing unit 32, and the image reproduction unit 7 which are components of the screen recording apparatus is dedicated hardware (for example, , A semiconductor integrated circuit on which a CPU is mounted, a one-chip microcomputer, or the like is assumed. However, when the screen recording device is configured by a computer, the screen image input unit 2, recording conditions A program describing the processing contents of the setting unit 3, the screen image analysis unit 4, the screen image recording processing unit 32, and the image reproduction unit 7 is stored in a computer memory, and the CPU of the computer is stored in the memory. The program may be executed.

次に動作について説明する。
上記実施の形態1〜5では、スクリーンイメージ記録処理部5が予め設定されている圧縮方式及び圧縮パラメータで、イメージデータを記録するものについて示したが、スクリーンイメージ記録処理部32がCPUの負荷を測定して、負荷の測定結果に対応する圧縮方式及び圧縮パラメータで、そのイメージデータを記録するようにしてもよい。
具体的には、以下の通りである。
Next, the operation will be described.
In the first to fifth embodiments, the screen image recording processing unit 5 records the image data with the preset compression method and compression parameters. However, the screen image recording processing unit 32 loads the CPU. The image data may be recorded with the compression method and compression parameter corresponding to the measurement result of the load.
Specifically, it is as follows.

図19はCPUの負荷に対応する圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)の一例を示す説明図である。
圧縮方式格納部31には、予め、図19に示すような圧縮方式及び圧縮パラメータが格納されている。
FIG. 19 is an explanatory diagram showing an example of a compression method and compression parameters (resolution, frame rate, compression rate) corresponding to the CPU load.
The compression method storage unit 31 stores a compression method and compression parameters as shown in FIG. 19 in advance.

スクリーンイメージ記録処理部32は、上記実施の形態1〜5と同様に、スクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部32は、イメージデータの記録を開始する際にCPUの負荷を測定し、圧縮方式格納部31から負荷の測定結果に対応する圧縮方式及び圧縮パラメータの読込を行って、使用する圧縮方式及び圧縮パラメータを設定する。
The screen image recording processing unit 32 starts recording the image data acquired by the screen image input unit 2 from the time when the recording start timing is detected by the screen image analysis unit 4 as in the first to fifth embodiments. Then, when the recording end timing is detected by the screen image analysis unit 4, the recording of the image data is ended.
However, the screen image recording processing unit 32 measures the load of the CPU when starting the recording of the image data, reads the compression method and the compression parameter corresponding to the measurement result of the load from the compression method storage unit 31, and Set the compression method and compression parameters to be used.

例えば、CPUの負荷が90%であれば、圧縮方式をJPEG、解像度を50%、フレームレートを1fps、圧縮率を1/20に設定し、CPUの負荷が30%であれば、圧縮方式をJPEG、解像度を100%、フレームレートを5fps、圧縮率を1/20に設定する。
圧縮方式格納部31は、使用する圧縮方式及び圧縮パラメータを設定すると、その圧縮方式及び圧縮パラメータで、イメージデータをイメージデータ格納部6に記録する。
For example, if the CPU load is 90%, the compression method is set to JPEG, the resolution is set to 50%, the frame rate is set to 1 fps, and the compression rate is set to 1/20. If the CPU load is 30%, the compression method is set to Set JPEG, resolution 100%, frame rate 5fps, compression rate 1/20.
When the compression method and compression parameters to be used are set, the compression method storage unit 31 records image data in the image data storage unit 6 with the compression method and compression parameters.

以上で明らかなように、この実施の形態6によれば、スクリーンイメージ記録処理部32がイメージデータの記録を開始する際にCPUの負荷を測定して、圧縮方式格納部31から負荷の測定結果に対応する圧縮方式及び圧縮パラメータを読み込み、その圧縮方式及び圧縮パラメータで、そのイメージデータを記録するように構成したので、イメージデータの記録処理の効率化を図ることができる効果を奏する。   As is apparent from the above, according to the sixth embodiment, the load on the CPU is measured when the screen image recording processing unit 32 starts recording image data, and the measurement result of the load from the compression method storage unit 31 is measured. The compression method and the compression parameter corresponding to the above are read and the image data is recorded with the compression method and the compression parameter. Therefore, the efficiency of the image data recording process can be improved.

1 アプリケーション、2 スクリーンイメージ入力部(イメージデータ取得手段)、3,11,13,15,21 記録条件設定部(条件設定手段)、4,12,14,16,22 スクリーンイメージ解析部(タイミング検出手段)、5,32 スクリーンイメージ記録処理部(イメージデータ記録手段)、6 イメージデータ格納部(イメージデータ記録手段)、7 画像再生部(画像再生手段)、31 圧縮方式格納部(イメージデータ記録手段)。   1 application, 2 screen image input section (image data acquisition means), 3, 11, 13, 15, 21 recording condition setting section (condition setting means), 4, 12, 14, 16, 22 screen image analysis section (timing detection) Means), 5, 32 screen image recording processing section (image data recording means), 6 image data storage section (image data recording means), 7 image playback section (image playback means), 31 compression method storage section (image data recording means) ).

Claims (8)

アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータを取得するイメージデータ取得手段と、上記イメージデータ取得手段により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、上記イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける条件設定手段と、上記条件設定手段により設定が受け付けられた画像データと上記イメージデータ取得手段により取得されたイメージデータを比較し、その比較結果を参照して上記イメージデータの記録を開始する記録開始タイミング及び上記イメージデータの記録を終了する記録終了タイミングを検出するタイミング検出手段と、上記タイミング検出手段により記録開始タイミングが検出された時点から、上記イメージデータ取得手段により取得されたイメージデータの記録を開始し、上記タイミング検出手段により記録終了タイミングが検出された時点で、上記イメージデータの記録を終了するイメージデータ記録手段と、上記イメージデータ記録手段により記録されたイメージデータにしたがって画像をスクリーン上に再生する画像再生手段とを備えたスクリーン記録装置。   Image data acquisition means for acquiring image data indicating an image on the screen that changes with the execution of the application, and the recording as a recording start condition when starting recording of the image data acquired by the image data acquisition means Condition setting means for accepting setting of image data that matches a start condition, and accepting setting of image data that matches the recording end condition as a recording end condition when ending recording of the image data, and the condition setting means The image data received by the setting is compared with the image data acquired by the image data acquisition means, the recording start timing for starting the recording of the image data with reference to the comparison result, and the recording of the image data is ended. To detect the recording end timing And when the recording start timing is detected by the timing detection means and the recording end timing is detected by the timing detection means. A screen recording apparatus comprising: image data recording means for ending the recording of the image data; and image reproducing means for reproducing an image on the screen according to the image data recorded by the image data recording means. タイミング検出手段は、条件設定手段により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとイメージデータ取得手段により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データと上記イメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データと上記イメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出することを特徴とする請求項1記載のスクリーン記録装置。   The timing detection means calculates the difference between the image data that matches the recording start condition received by the condition setting means and the image data that matches the recording end condition and the image data acquired by the image data acquisition means, and the recording The timing at which the difference between the image data that matches the start condition and the image data falls below a predetermined threshold is detected as the recording start timing, and the difference between the image data that matches the recording end condition and the image data falls below the predetermined threshold. The screen recording apparatus according to claim 1, wherein the timing is detected as a recording end timing. アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータを取得するイメージデータ取得手段と、上記イメージデータ取得手段により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付ける条件設定手段と、上記条件設定手段により設定が受け付けられた画像データと上記イメージデータ取得手段により取得されたイメージデータを比較し、その比較結果を参照して上記イメージデータの記録を開始する記録開始タイミング及び上記イメージデータの記録を終了する記録終了タイミングを検出するタイミング検出手段と、上記タイミング検出手段により記録開始タイミングが検出された時点から、上記イメージデータ取得手段により取得されたイメージデータの記録を開始し、上記タイミング検出手段により記録終了タイミングが検出された時点で、上記イメージデータの記録を終了するイメージデータ記録手段と、上記イメージデータ記録手段により記録されたイメージデータにしたがって画像をスクリーン上に再生する画像再生手段とを備えたスクリーン記録装置。   Image data acquisition means for acquiring image data indicating an image on the screen that changes with the execution of the application, and the recording as a recording start condition when starting recording of the image data acquired by the image data acquisition means Condition setting means for accepting the setting of image data that matches the start condition, image data received by the condition setting means and the image data obtained by the image data obtaining means are compared, and the comparison result is referred to. A timing detection means for detecting a recording start timing for starting the recording of the image data and a recording end timing for ending the recording of the image data, and the image data from the time when the recording start timing is detected by the timing detection means. Acquired by acquisition means Image data recording means for starting the recording of the image data, and ending the recording of the image data when the recording end timing is detected by the timing detecting means, and the image data recorded by the image data recording means. Therefore, a screen recording apparatus comprising image reproducing means for reproducing an image on a screen. タイミング検出手段は、条件設定手段により設定が受け付けられた画像データとイメージデータ取得手段により取得されたイメージデータの差分を算出し、上記差分が所定の閾値を越えるタイミングを記録開始タイミングとして検出し、上記差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出することを特徴とする請求項3記載のスクリーン記録装置。   The timing detection unit calculates a difference between the image data set by the condition setting unit and the image data acquired by the image data acquisition unit, detects a timing at which the difference exceeds a predetermined threshold as a recording start timing, 4. The screen recording apparatus according to claim 3, wherein a timing at which the difference becomes equal to or less than a predetermined threshold is detected as a recording end timing. 条件設定手段は、スクリーン上の画像の中で比較対象から除外する領域の色の設定を受け付ける機能を備えており、
タイミング検出手段は、イメージデータ取得手段により取得されたイメージデータのうち、上記条件設定手段により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと上記条件設定手段により設定が受け付けられた画像データを比較することを特徴とする請求項1から請求項4のうちのいずれか1項記載のスクリーン記録装置。
The condition setting means has a function of accepting the setting of the color of the area to be excluded from the comparison target in the image on the screen,
The timing detection unit excludes, from the comparison target, image data of the same color as the color accepted by the condition setting unit from among the image data acquired by the image data acquisition unit. 5. The screen recording apparatus according to claim 1, wherein the remaining image data is compared with the image data whose setting is accepted by the condition setting means.
条件設定手段は、スクリーン上の画像の中で比較対象の領域の設定を受け付ける機能を備えており、
タイミング検出手段は、イメージデータ取得手段により取得されたイメージデータの中から、上記条件設定手段により設定が受け付けられた領域のイメージデータを抽出し、上記イメージデータと上記条件設定手段により設定が受け付けられた画像データを比較することを特徴とする請求項1から請求項4のうちのいずれか1項記載のスクリーン記録装置。
The condition setting means has a function of accepting the setting of the comparison target area in the image on the screen,
The timing detection unit extracts image data of an area whose setting is received by the condition setting unit from the image data acquired by the image data acquisition unit, and the setting is received by the image data and the condition setting unit. 5. The screen recording apparatus according to claim 1, wherein the image data are compared with each other.
タイミング検出手段は、条件設定手段により一連の画像データの設定が受け付けられた場合、その一連の画像データと上記イメージデータ取得手段により取得された一連のイメージデータを比較することを特徴とする請求項1から請求項4のうちのいずれか1項記載のスクリーン記録装置。   The timing detection unit, when the setting of a series of image data is received by the condition setting unit, compares the series of image data with the series of image data acquired by the image data acquisition unit. The screen recording apparatus according to claim 1. イメージデータ記録手段は、イメージデータ取得手段により取得されたイメージデータの記録を開始する際にCPUの負荷を測定し、上記負荷の測定結果に対応する圧縮方式及び圧縮パラメータで、上記イメージデータを記録することを特徴とする請求項1から請求項7のうちのいずれか1項記載のスクリーン記録装置。   The image data recording means measures the load of the CPU when recording of the image data acquired by the image data acquisition means is started, and records the image data with a compression method and compression parameters corresponding to the measurement result of the load. The screen recording device according to claim 1, wherein the screen recording device is a screen recording device.
JP2009248924A 2009-10-29 2009-10-29 Screen recording device Active JP5460239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009248924A JP5460239B2 (en) 2009-10-29 2009-10-29 Screen recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009248924A JP5460239B2 (en) 2009-10-29 2009-10-29 Screen recording device

Publications (2)

Publication Number Publication Date
JP2011095979A true JP2011095979A (en) 2011-05-12
JP5460239B2 JP5460239B2 (en) 2014-04-02

Family

ID=44112817

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009248924A Active JP5460239B2 (en) 2009-10-29 2009-10-29 Screen recording device

Country Status (1)

Country Link
JP (1) JP5460239B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013149252A (en) * 2012-01-17 2013-08-01 Lg Electronics Inc Home appliance, home appliance diagnostic apparatus, and method thereof
CN103929607A (en) * 2014-03-27 2014-07-16 山西协康云享科技有限公司 Communication method based on screen recording, and application client-side
WO2021163884A1 (en) * 2020-02-18 2021-08-26 深圳市欢太科技有限公司 Screen recording method and apparatus for wonderful moment of video, and readable storage medium
WO2022215245A1 (en) * 2021-04-09 2022-10-13 三菱電機株式会社 Information collecting device, server, and information collecting method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205943A (en) * 1990-11-30 1992-07-28 Victor Co Of Japan Ltd Reserved program recording controller
JPH10274741A (en) * 1997-03-31 1998-10-13 Tsushin Hoso Kiko Specimen remote observation system
JP2004165769A (en) * 2002-11-11 2004-06-10 Toshiba Corp Apparatus, program and method for monitoring occurrence of event
JP2004199444A (en) * 2002-12-19 2004-07-15 Toshiba Corp Plant monitoring device
JP2005301836A (en) * 2004-04-14 2005-10-27 Toshiba Corp Image storage device, method therefor, program and screen creation support device
JP2009503635A (en) * 2005-07-22 2009-01-29 インターナショナル・ビジネス・マシーンズ・コーポレーション Adaptive session compression management method, compression manager, and session management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205943A (en) * 1990-11-30 1992-07-28 Victor Co Of Japan Ltd Reserved program recording controller
JPH10274741A (en) * 1997-03-31 1998-10-13 Tsushin Hoso Kiko Specimen remote observation system
JP2004165769A (en) * 2002-11-11 2004-06-10 Toshiba Corp Apparatus, program and method for monitoring occurrence of event
JP2004199444A (en) * 2002-12-19 2004-07-15 Toshiba Corp Plant monitoring device
JP2005301836A (en) * 2004-04-14 2005-10-27 Toshiba Corp Image storage device, method therefor, program and screen creation support device
JP2009503635A (en) * 2005-07-22 2009-01-29 インターナショナル・ビジネス・マシーンズ・コーポレーション Adaptive session compression management method, compression manager, and session management system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013149252A (en) * 2012-01-17 2013-08-01 Lg Electronics Inc Home appliance, home appliance diagnostic apparatus, and method thereof
CN103929607A (en) * 2014-03-27 2014-07-16 山西协康云享科技有限公司 Communication method based on screen recording, and application client-side
WO2021163884A1 (en) * 2020-02-18 2021-08-26 深圳市欢太科技有限公司 Screen recording method and apparatus for wonderful moment of video, and readable storage medium
CN114762320A (en) * 2020-02-18 2022-07-15 深圳市欢太科技有限公司 Video highlight screen recording method and device and readable storage medium
WO2022215245A1 (en) * 2021-04-09 2022-10-13 三菱電機株式会社 Information collecting device, server, and information collecting method

Also Published As

Publication number Publication date
JP5460239B2 (en) 2014-04-02

Similar Documents

Publication Publication Date Title
US7822295B2 (en) Image processing apparatus, image searching method, and program
CN100576922C (en) Image compression device, image compress processing method
JP4394595B2 (en) Image transmission apparatus and image transmission method
JP2013533669A (en) Video summary instruction metadata storage
JP6429588B2 (en) Image processing apparatus and image processing method
US20080198247A1 (en) Image capturing apparatus, image capturing method, and computer program product
JP5460239B2 (en) Screen recording device
US8363726B2 (en) Electronic apparatus, motion vector detecting method, and program therefor
JP6105950B2 (en) Image processing apparatus and method
JP4993403B2 (en) Image processing apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program
JP3936666B2 (en) Representative image extracting device in moving image, representative image extracting method in moving image, representative image extracting program in moving image, and recording medium of representative image extracting program in moving image
US9432650B2 (en) Image display apparatus, image capturing apparatus, and method of controlling image display apparatus
JP4241562B2 (en) Image compression device
JP2008166895A (en) Video display device, its control method, program and recording medium
JP2012089971A (en) Image processing device, image processing system, image processing method, and program
US11361797B2 (en) Moving image reproduction apparatus, moving image reproduction method, moving image reproduction system, and storage medium
JP2005277916A (en) Moving picture processing apparatus, image processing system, moving picture processing method, program therefor, and recording medium
JP5193944B2 (en) Image processing method
JP6098320B2 (en) Image processing apparatus, image processing method, and image processing program
JP5495101B2 (en) Movie thumbnail creation apparatus, method and program
US20080247597A1 (en) Device for detecting digital watermark
JP5253255B2 (en) Operation screen recording device
JP2009267726A (en) Moving image encoding apparatus, recorder, moving image encoding method, moving image encoding program
US10666955B2 (en) Still image generating apparatus and information recording medium used in still image generating apparatus
JP3832706B2 (en) Moving picture feature screen extraction apparatus and storage medium thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140114

R150 Certificate of patent or registration of utility model

Ref document number: 5460239

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250