JP2011095979A - Screen recording device - Google Patents
Screen recording device Download PDFInfo
- 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
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
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
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.
従来のスクリーン記録装置は以上のように構成されているので、ユーザ入力情報がデータの取り込み条件に合致しているか否かを判定することができても、アプリケーションの実行に伴って変化するスクリーン上の画像を示すイメージデータの記録開始タイミングや、イメージデータの記録終了タイミングを検出することができない。このため、記録開始条件に合致する時点から、記録終了条件に合致する時点まで、イメージデータの記録を自動的に行うことができないなどの課題があった。
なお、スクリーン上に所定の画像が表示されたときに、その画像を示すイメージデータの記録を開始するように、アプリケーションのソフトウェアを改変すれば、イメージデータの記録を自動的に行うことができるようになるが、ソフトウェアの改変が必要であるため、適用可能なアプリケーションが限定されるとともに、多くの労力を要する課題があった。
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.
図1はこの発明の実施の形態1によるスクリーン記録装置を示す構成図である。
図1において、アプリケーション1はスクリーン記録装置のCPU(図示せず)により実行されるソフトウェアであって、例えば、ある機器や設備などの運転状況を知らせる運転監視画面や、ある機器や設備などの異常を知らせる異常表示画面などをスクリーン記録装置のスクリーン(ディスプレイ)に表示するソフトウェアである。
スクリーンイメージ入力部2はスクリーンキャプチャ機能を備えており、アプリケーション1の実行に伴って変化するスクリーン上の画像(例えば、運転監視画面や異常表示画面)を示すイメージデータをフレームバッファ経由で取得する処理を実施する。なお、スクリーンイメージ入力部2はイメージデータ取得手段を構成している。
FIG. 1 is a block diagram showing a screen recording apparatus according to
In FIG. 1, an
The screen
記録条件設定部3は例えばキーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。なお、記録条件設定部3は条件設定手段を構成している。
The recording
スクリーンイメージ解析部4は記録条件設定部3により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部4は記録条件設定部3により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部4はタイミング検出手段を構成している。
The screen
That is, the screen
The screen
スクリーンイメージ記録処理部5はスクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部5はイメージデータを記録する際、所定の圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)でイメージデータを圧縮して、圧縮後のイメージデータをイメージデータ格納部6に記録する。
イメージデータ格納部6は圧縮後のイメージデータを保存する例えばハードディスクなどの記録媒体である。
なお、スクリーンイメージ記録処理部5及びイメージデータ格納部6からイメージデータ記録手段が構成されている。
The screen image
However, when recording the image data, the screen image
The image
The screen image
画像再生部7はスクリーンイメージ記録処理部5により圧縮されて、イメージデータ格納部6に保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する処理を実施する。なお、画像再生部7は画像再生手段を構成している。
The
図1では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 1, each of the screen
次に動作について説明する。
この実施の形態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 (
FIG. 3 is a flowchart showing the processing contents (
(1)フェーズ1
まず、ユーザが記録条件設定部3のマンマシンインタフェースを操作することで、イメージデータの記録を開始する際の記録開始条件と、イメージデータの記録を終了する際の記録終了条件を設定する(図2のステップST1)。
即ち、ユーザが記録条件設定部3のマンマシンインタフェースを操作することで、アプリケーション1の実行をスクリーン記録装置のCPUに依頼する。
これにより、CPUがアプリケーション1を実行することで、スクリーン上の画像が、例えば、機器や設備などの状況に応じて変化するので(例えば、機器や設備などに異常が発生していなければ、スクリーン上に運転監視画面が表示され、機器や設備などに異常が発生すると、スクリーン上に異常表示画面が表示される)、ユーザが、記録条件設定部3のマンマシンインタフェースを操作することで、記録開始条件に合致するスクリーン上の画像と、記録終了条件に合致するスクリーン上の画像を指定する。
(1)
First, the user operates the man-machine interface of the recording
That is, the user requests the CPU of the screen recording apparatus to execute the
As a result, the CPU executes the
例えば、ユーザが、機器や設備などに異常が発生したときに、イメージデータの記録を開始することを希望する場合、アプリケーション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
When the abnormal display screen displayed on the screen is designated in this way, the screen
また、ユーザが、機器や設備などの異常が解消されたときに、イメージデータの記録を終了することを希望する場合、アプリケーション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
As described above, when the operation monitoring screen displayed on the screen is designated, the screen
ここでは、記録開始条件に合致する画像データとして、異常表示画面を示す画像データを設定し、記録終了条件に合致する画像データとして、運転監視画面を示す画像データを設定するものについて示したが、これは一例に過ぎず、アプリケーション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
Further, here, in order to set the image data that matches the recording start condition and the recording end condition, the CPU executes the
図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)
The screen
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
The screen
スクリーンイメージ解析部4は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部4は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST4)。
When the screen
That is, the screen
ただし、図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
If the difference exceeds the predetermined threshold (difference> threshold), the screen
ここでは、図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
However, when the image data is recorded in the image
図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)
The screen
In
スクリーンイメージ解析部4は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録終了条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部4は、ピクセル毎に、内部バッファにロードしている記録終了条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST12)。
When receiving the latest image data from the screen
That is, the screen
ただし、図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
If the difference exceeds a predetermined threshold (difference> threshold), the screen
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
On the other hand, when the screen
(4)フェーズ4
画像再生部7は、スクリーンイメージ記録処理部5がイメージデータの記録を停止すると、例えば、ユーザの指示の下で、イメージデータ格納部6に圧縮されて保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する(ステップST16)。
(4)
When the screen image
以上で明らかなように、この実施の形態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
実施の形態2.
図8はこの発明の実施の形態2によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部11は例えばキーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付ける処理を実施する。なお、記録条件設定部11は条件設定手段を構成している。
FIG. 8 is a block diagram showing a screen recording apparatus according to
The recording
スクリーンイメージ解析部12は記録条件設定部11により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部12は記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値を越えるタイミングを記録開始タイミングとして検出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部12はタイミング検出手段を構成している。
The screen
That is, the screen
The screen
図8では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部11、スクリーンイメージ解析部12、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部11、スクリーンイメージ解析部12、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 8, each of the screen
上記実施の形態1では、記録条件設定部3が記録開始条件に合致する画像データのほかに、記録終了条件に合致する画像データの設定を受け付け、スクリーンイメージ解析部4が、記録条件設定部3により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、記録開始タイミングと記録終了タイミングを検出するものについて示したが、記録条件設定部11が記録開始条件に合致する画像データの設定を受け付け(記録終了条件に合致する画像データの設定は受け付けない)、スクリーンイメージ解析部12が、記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、記録開始タイミングと記録終了タイミングを検出するようにしてもよい。
In the first embodiment, the recording
次に動作について説明する。
図9はこの発明の実施の形態2によるスクリーン記録装置の処理内容(フェーズ1、フェーズ2)を示すフローチャートである。
また、図10はこの発明の実施の形態2によるスクリーン記録装置の処理内容(フェーズ3、フェーズ4)を示すフローチャートである。
Next, the operation will be described.
FIG. 9 is a flowchart showing the processing contents (
FIG. 10 is a flowchart showing the processing contents (
(1)フェーズ1
まず、ユーザが記録条件設定部11のマンマシンインタフェースを操作することで、イメージデータの記録を開始する際の記録開始条件を設定する(図9のステップST21)。
即ち、ユーザが記録条件設定部11のマンマシンインタフェースを操作することで、アプリケーション1の実行をスクリーン記録装置のCPUに依頼する。
これにより、CPUがアプリケーション1を実行することで、スクリーン上の画像が、例えば、機器や設備などの状況に応じて変化するので(例えば、機器や設備などに異常が発生していなければ、スクリーン上に運転監視画面が表示され、機器や設備などに異常が発生すると、スクリーン上に異常表示画面が表示される)、ユーザが、記録条件設定部11のマンマシンインタフェースを操作することで、記録開始条件に合致するスクリーン上の画像を指定する。
(1)
First, the user operates the man-machine interface of the recording
That is, the user requests the CPU of the screen recording apparatus to execute the
As a result, the CPU executes the
例えば、ユーザが、機器や設備などに異常が発生したときに、イメージデータの記録を開始することを希望する場合において、アプリケーション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
As described above, when the operation monitoring screen displayed on the screen is designated, the screen
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
Also, here, in order to set image data that matches the recording start condition, the CPU executes the
(2)フェーズ2
スクリーンイメージ解析部12は、記録条件設定部11により設定が受け付けられた記録開始条件に合致する画像データ(イメージデータ)を読み込み、その画像データを図示せぬ内部バッファにロードする(ステップST22)。
ただし、その画像データが圧縮されている場合には、伸張処理を施してから、内部バッファにロードする。
また、記録開始条件に合致する画像データが、複数個設定されている場合には、設定されている全ての画像データを内部バッファにロードする。
(2)
The screen
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
The screen
スクリーンイメージ解析部12は、スクリーンイメージ入力部2から最新のイメージデータを受けると、図1のスクリーンイメージ解析部4と同様に、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部12は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST24)。
When receiving the latest image data from the screen
That is, the screen
ただし、図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
If the difference is equal to or smaller than the predetermined threshold (difference ≦ threshold), the screen
ここでは、図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
However, when the image data is recorded in the image
(3)フェーズ3
スクリーンイメージ入力部2は、アプリケーション1の実行に伴って変化するスクリーン上の画像を示すイメージデータをフレームバッファ経由で取得する(図10のステップST31)。
フェーズ3では、イメージデータの記録が開始されているので、スクリーンイメージ入力部2がフレームバッファ経由で取得したイメージデータをスクリーンイメージ解析部12及びスクリーンイメージ記録処理部5に出力する。
(3)
The screen
In
スクリーンイメージ解析部12は、スクリーンイメージ入力部2から最新のイメージデータを受けると、その最新のイメージデータが示す画像と、先に内部バッファにロードしている記録開始条件に合致する画像データが示す画像とを解析して、そのイメージデータと画像データを比較する。
即ち、スクリーンイメージ解析部12は、ピクセル毎に、内部バッファにロードしている記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算する(ステップST32)。
When the latest image data is received from the screen
That is, the screen
ただし、図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
If the difference exceeds a predetermined threshold (difference> threshold), the screen
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
On the other hand, when the screen
(4)フェーズ4
画像再生部7は、スクリーンイメージ記録処理部5がイメージデータの記録を停止すると、例えば、ユーザの指示の下で、イメージデータ格納部6に圧縮されて保存されているイメージデータを読み込み、そのイメージデータに対する伸張処理を実施してから、そのイメージデータにしたがって画像をスクリーン上に再生する(ステップST36)。
(4)
When the screen image
以上で明らかなように、この実施の形態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
実施の形態3.
図11はこの発明の実施の形態3によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部13は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部13は、図1の記録条件設定部3と異なり、スクリーン上の画像の中で比較対象から除外する領域の色の設定を受け付ける機能を備えている。
なお、記録条件設定部13は条件設定手段を構成している。
FIG. 11 is a block diagram showing a screen recording apparatus according to
As with the recording
However, unlike the recording
The recording
スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、記録条件設定部13により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部14は記録条件設定部13により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と異なり、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと記録条件設定部13により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較する。
なお、スクリーンイメージ解析部14はタイミング検出手段を構成している。
Similar to the screen
That is, the screen
However, unlike the screen
Note that the screen
図11では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部13、スクリーンイメージ解析部14、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部13、スクリーンイメージ解析部14、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 11, each of the screen
次に動作について説明する。
ただし、上記実施の形態1における記録条件設定部3及びスクリーンイメージ解析部4と比較して、記録条件設定部13が比較対象から除外する領域の色の設定を受け付ける機能を備え、スクリーンイメージ解析部14が記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外している点以外は、同様であるため、記録条件設定部13及びスクリーンイメージ解析部14の処理内容のみを説明する。
Next, the operation will be described.
However, as compared with the recording
記録条件設定部13は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
また、記録条件設定部13は、スクリーン上の画像の中で比較対象から除外する領域の色(例えば、背景色)の設定を受け付ける処理を実施する。
As in the recording
In addition, the recording
例えば、スクリーン記録装置の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
Alternatively, the recording
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
However, unlike the screen
即ち、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録開始条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、画像解析対象外指定色と同一色の色を保持しているピクセルについては、差分を計算せずに積算に含めないようにする。
図12の例では、スクリーン上に表示されている画像の中で、背景領域の色が画像解析対象外指定色に設定されているので、背景領域を除く領域(メニュー1、ボタン1、ボタン2、ボタン3、ウィンドウ1、ウィンドウ2、ウィンドウ3)を構成しているピクセルについて差分が計算されて積算される。
That is, the screen
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 (
スクリーンイメージ解析部14は、フェーズ3において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部13により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部13により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた画像解析対象外指定色と同一色の領域のイメージデータを差分の算出対象から除外する。
In the
However, unlike the screen
即ち、スクリーンイメージ解析部14は、図1のスクリーンイメージ解析部4と同様に、ピクセル毎に、記録終了条件に合致する画像データと、スクリーンイメージ入力部2から出力された最新のイメージデータとの差分(R,G,B毎の差分)を計算して、全ピクセルにおける差分を積算するが、スクリーンイメージ入力部2により取得されたイメージデータを構成しているピクセルのうち、画像解析対象外指定色と同一色の色を保持しているピクセルについては、差分を計算せずに積算に含めないようにする。
図12の例では、スクリーン上に表示されている画像の中で、背景領域の色が画像解析対象外指定色に設定されているので、背景領域を除く領域(メニュー1、ボタン1、ボタン2、ボタン3、ウィンドウ1、ウィンドウ2、ウィンドウ3)を構成しているピクセルについて差分が計算されて積算される。
That is, the screen
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 (
以上で明らかなように、この実施の形態3によれば、記録条件設定部13がスクリーン上の画像の中で比較対象から除外する領域の色の設定を受け付ける機能を備え、スクリーンイメージ解析部14が、スクリーンイメージ入力部2により取得されたイメージデータのうち、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと記録条件設定部13により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較するように構成したので、上記実施の形態1よりも、記録開始タイミング及び記録終了タイミングを検出する際の処理量が軽減されるようになり、記録開始タイミング及び記録終了タイミングの検出速度を高めることができる効果を奏する。
As is apparent from the above, according to the third embodiment, the recording
なお、この実施の形態3では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部13及びスクリーンイメージ解析部14を実装することで、比較対象から除外する領域の色の設定を受け付ける機能と、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外する機能とを上記実施の形態1のスクリーン記録装置に付加するものを示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部13及びスクリーンイメージ解析部14を実装することで、比較対象から除外する領域の色の設定を受け付ける機能と、記録条件設定部13により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外する機能とを上記実施の形態2のスクリーン記録装置に付加するようにしてもよい。
In the third embodiment, the recording
実施の形態4.
図13はこの発明の実施の形態4によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部15は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、そのイメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部15は、図1の記録条件設定部3と異なり、スクリーン上の画像の中で比較対象の領域の設定を受け付ける機能を備えている。
なお、記録条件設定部15は条件設定手段を構成している。
FIG. 13 is a block diagram showing a screen recording apparatus according to
The recording
However, unlike the recording
The recording
スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と同様に、記録条件設定部15により設定が受け付けられた画像データとスクリーンイメージ入力部2により取得されたイメージデータの画像を解析することで、その画像データとイメージデータを比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部16は記録条件設定部15により設定が受け付けられた記録開始条件に合致する画像データ及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録開始条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と異なり、スクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較する。
なお、スクリーンイメージ解析部16はタイミング検出手段を構成している。
The screen
That is, the screen
However, unlike the screen
The screen
図13では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部15、スクリーンイメージ解析部16、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部15、スクリーンイメージ解析部16、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 13, each of the screen
次に動作について説明する。
ただし、上記実施の形態1における記録条件設定部3及びスクリーンイメージ解析部4と比較して、記録条件設定部15が比較対象の領域の設定を受け付ける機能を備え、スクリーンイメージ解析部16が記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象としている点以外は、同様であるため、記録条件設定部15及びスクリーンイメージ解析部16の処理内容のみを説明する。
Next, the operation will be described.
However, compared with the recording
記録条件設定部15は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
また、記録条件設定部15は、スクリーン上の画像の中で比較対象の領域の設定を受け付ける処理を実施する。
In the
In addition, the recording
例えば、スクリーン記録装置のCPUがアプリケーション1を実行することで、スクリーン上に画像が表示されているとき、図14(a)に示すように、ユーザが、記録条件設定部15のマンマシンインタフェースを操作することで、その画像内に存在している複数のウィンドウの中から、任意のウィンドウを選択し、そのウィンドウを構成している領域を比較対象の領域に設定するようにする。
図14(a)の例では、ウィンドウ2を構成している領域が比較対象の領域に設定されている。
この場合、指定可能な領域の形状は、画像内に存在している各ウィンドウの形状に依存している。
For example, when the CPU of the screen recording apparatus executes the
In the example of FIG. 14A, the area constituting the
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
In the example of FIG. 14B, rectangular
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
However, unlike the screen
即ち、スクリーンイメージ解析部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
In the example of FIG. 12A, since the
In the example of FIG. 12B, the
スクリーンイメージ解析部16は、フェーズ3において、図1のスクリーンイメージ解析部4と同様に、記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出し、その記録終了条件に合致する画像データとイメージデータの差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出する処理を実施する。
ただし、スクリーンイメージ解析部16は、図1のスクリーンイメージ解析部4と異なり、記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータの差分を算出する際、スクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録終了条件に合致する画像データを比較する。
In the
However, unlike the screen
即ち、スクリーンイメージ解析部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
In the example of FIG. 12A, since the
In the example of FIG. 12B, the
以上で明らかなように、この実施の形態4によれば、記録条件設定部15がスクリーン上の画像の中で比較対象の領域の設定を受け付ける機能を備え、スクリーンイメージ解析部16がスクリーンイメージ入力部2により取得されたイメージデータの中から、記録条件設定部15により設定が受け付けられた領域のイメージデータを抽出し、そのイメージデータと記録条件設定部15により設定が受け付けられた記録開始条件及び記録終了条件に合致する画像データを比較するように構成したので、上記実施の形態1よりも、記録開始タイミング及び記録終了タイミングを検出する際の処理量が軽減されるようになり、記録開始タイミング及び記録終了タイミングの検出速度を高めることができる効果を奏する。
As apparent from the above, according to the fourth embodiment, the recording
なお、この実施の形態4では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部15及びスクリーンイメージ解析部16を実装することで、比較対象の領域の設定を受け付ける機能と、記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象とする機能とを上記実施の形態1のスクリーン記録装置に付加するものを示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部15及びスクリーンイメージ解析部16を実装することで、比較対象の領域の設定を受け付ける機能と、記録条件設定部15により設定が受け付けられた領域のイメージデータを比較対象とする機能とを上記実施の形態2のスクリーン記録装置に付加するようにしてもよい。
In the fourth embodiment, instead of the recording
実施の形態5.
図15はこの発明の実施の形態5によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
記録条件設定部21は、図1の記録条件設定部3と同様に、例えば、キーボードやマウスなどのマンマシンインタフェースを備えており、ユーザによるマンマシンインタフェースの操作の下で、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データ列(一連の画像データ)の設定を受け付けるとともに、記録終了条件に合致する画像データ列(一連の画像データ)の設定を受け付ける処理を実施する。
なお、記録条件設定部21は条件設定手段を構成している。
FIG. 15 is a block diagram showing a screen recording apparatus according to
As with the recording
The recording
スクリーンイメージ解析部22は記録条件設定部21により設定が受け付けられた画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列(スクリーンイメージ入力部2により取得された一連のイメージデータ)の動画像を解析することで、その画像データ列とイメージデータ列を比較し、その比較結果を参照して、そのイメージデータの記録を開始する記録開始タイミング及びイメージデータの記録を終了する記録終了タイミングを検出する処理を実施する。
即ち、スクリーンイメージ解析部22は記録条件設定部21により設定が受け付けられた記録開始条件に合致する画像データ列及び記録終了条件に合致する画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列の差分を算出し、その記録開始条件に合致する画像データ列とイメージデータ列の差分が所定の閾値以下になるタイミングを記録開始タイミングとして検出し、その記録終了条件に合致する画像データ列とイメージデータ列の差分が所定の閾値以下になるタイミングを記録終了タイミングとして検出する処理を実施する。
なお、スクリーンイメージ解析部22はタイミング検出手段を構成している。
The screen
That is, the screen
The screen
図15では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部21、スクリーンイメージ解析部22、スクリーンイメージ記録処理部5及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部21、スクリーンイメージ解析部22、スクリーンイメージ記録処理部5及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 15, each of the screen
上記実施の形態1では、記録条件設定部3が記録開始条件及び記録終了条件に合致する画像データの設定を受け付けて、スクリーンイメージ解析部4が記録開始条件及び記録終了条件に合致する画像データとスクリーンイメージ入力部2により取得されたイメージデータを比較(静止画像解析)するものについて示したが、記録条件設定部21が記録開始条件及び記録終了条件に合致する画像データ列(一連の画像データ)の設定を受け付けて、スクリーンイメージ解析部22が記録開始条件及び記録終了条件に合致する画像データ列とスクリーンイメージ入力部2により取得されたイメージデータ列(一連のイメージデータ)を比較(動画像解析)するようにしてもよい。
In the first embodiment, the recording
以下、処理内容を具体的に説明する。
記録条件設定部21は、フェーズ1において、図1の記録条件設定部3と同様に、イメージデータの記録を開始する際の記録開始条件として、その記録開始条件に合致する画像データの設定を受け付けるとともに、イメージデータの記録を終了する際の記録終了条件として、その記録終了条件に合致する画像データの設定を受け付ける処理を実施する。
ただし、記録条件設定部21は、図1の記録条件設定部3と異なり、記録開始条件及び記録終了条件に合致する画像データについて、それぞれ複数個の設定を受け付けるようにする。
そして、複数の画像データ(一連の画像データ)を記録開始条件に合致する画像データ列として設定するとともに、複数の画像データ(一連の画像データ)を記録終了条件に合致する画像データ列として設定する。
The processing contents will be specifically described below.
As in the recording
However, unlike the recording
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
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
The screen
スクリーンイメージ解析部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
That is, the screen
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
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
Similar to the screen
ここでは、図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
スクリーンイメージ解析部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
That is, the screen
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
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
Similar to the screen
ここでは、図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
なお、この実施の形態5では、図1の記録条件設定部3及びスクリーンイメージ解析部4の代わりに、記録条件設定部21及びスクリーンイメージ解析部22を実装するものについて示したが、図8の記録条件設定部11及びスクリーンイメージ解析部12の代わりに、記録条件設定部21及びスクリーンイメージ解析部22を実装するようにしてもよい。
In the fifth embodiment, the recording
実施の形態6.
図18はこの発明の実施の形態6によるスクリーン記録装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
圧縮方式格納部31はCPUの負荷に対応する圧縮方式及び圧縮パラメータ(解像度、フレームレート、圧縮率)を格納しているメモリなどの記録媒体である。
スクリーンイメージ記録処理部32はスクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部32はイメージデータの記録を開始する際にCPUの負荷を測定して、圧縮方式格納部31から負荷の測定結果に対応する圧縮方式及び圧縮パラメータを読み込み、その圧縮方式及び圧縮パラメータで、そのイメージデータを記録する。
なお、圧縮方式格納部31、スクリーンイメージ記録処理部32及びイメージデータ格納部6からイメージデータ記録手段が構成されている。
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
The screen image
However, the screen image
The compression
図13では、スクリーン記録装置の構成要素であるスクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部32及び画像再生部7のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコンなど)で構成されているものを想定しているが、スクリーン記録装置がコンピュータで構成されている場合、スクリーンイメージ入力部2、記録条件設定部3、スクリーンイメージ解析部4、スクリーンイメージ記録処理部32及び画像再生部7の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
In FIG. 13, each of the screen
次に動作について説明する。
上記実施の形態1〜5では、スクリーンイメージ記録処理部5が予め設定されている圧縮方式及び圧縮パラメータで、イメージデータを記録するものについて示したが、スクリーンイメージ記録処理部32がCPUの負荷を測定して、負荷の測定結果に対応する圧縮方式及び圧縮パラメータで、そのイメージデータを記録するようにしてもよい。
具体的には、以下の通りである。
Next, the operation will be described.
In the first to fifth embodiments, the screen image
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
スクリーンイメージ記録処理部32は、上記実施の形態1〜5と同様に、スクリーンイメージ解析部4により記録開始タイミングが検出された時点から、スクリーンイメージ入力部2により取得されたイメージデータの記録を開始し、スクリーンイメージ解析部4により記録終了タイミングが検出された時点で、そのイメージデータの記録を終了する。
ただし、スクリーンイメージ記録処理部32は、イメージデータの記録を開始する際にCPUの負荷を測定し、圧縮方式格納部31から負荷の測定結果に対応する圧縮方式及び圧縮パラメータの読込を行って、使用する圧縮方式及び圧縮パラメータを設定する。
The screen image
However, the screen image
例えば、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,
When the compression method and compression parameters to be used are set, the compression
以上で明らかなように、この実施の形態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
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)
タイミング検出手段は、イメージデータ取得手段により取得されたイメージデータのうち、上記条件設定手段により設定が受け付けられた色と同一色の領域のイメージデータを比較対象から除外し、比較対象から除外していない残りのイメージデータと上記条件設定手段により設定が受け付けられた画像データを比較することを特徴とする請求項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.
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)
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)
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 |
-
2009
- 2009-10-29 JP JP2009248924A patent/JP5460239B2/en active Active
Patent Citations (6)
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)
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 |