JP2018156321A - Image processing device, information processing method, and program - Google Patents
Image processing device, information processing method, and program Download PDFInfo
- Publication number
- JP2018156321A JP2018156321A JP2017051874A JP2017051874A JP2018156321A JP 2018156321 A JP2018156321 A JP 2018156321A JP 2017051874 A JP2017051874 A JP 2017051874A JP 2017051874 A JP2017051874 A JP 2017051874A JP 2018156321 A JP2018156321 A JP 2018156321A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- image processing
- screen
- display information
- processing apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Generation (AREA)
- Memory System (AREA)
- Controls And Circuits For Display Device (AREA)
- Digital Computer Display Output (AREA)
Abstract
【課題】オブジェクトの描画が表示に間に合わなくなる可能性を低減することを目的とする。
【解決手段】メモリを有する画像処理装置であって、表示部に表示されるオブジェクトの表示情報を取得する第1の取得手段と、オブジェクトの描画時間を取得する第2の取得手段と、メモリの空き容量を抽出する抽出手段と、オブジェクトの表示情報とオブジェクトの描画時間と空き容量とに基づいて、メモリのオブジェクトのオフスクリーン領域を解放するか否かを制御する制御手段と、を有する。
【選択図】図2An object of the present invention is to reduce the possibility of drawing an object in time for display.
An image processing apparatus having a memory, comprising: a first acquisition unit that acquires display information of an object displayed on a display unit; a second acquisition unit that acquires a drawing time of an object; Extraction means for extracting the free space, and control means for controlling whether to release the off-screen area of the object in the memory based on the display information of the object, the drawing time of the object, and the free space.
[Selection] Figure 2
Description
本発明は、画像処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an information processing method, and a program.
グラフィックス記述言語を読み込んで、メモリ上に確保したオフスクリーン領域にオブジェクトを描画し、一旦、オフスクリーン領域に描画したオブジェクトを、ユーザが指定した描画倍率に合わせてディスプレイに表示する画像形成装置がある。
特許文献1には、既に表示されており、内容が変更されない、又は更新頻度の少ないオブジェクトのオフスクリーン領域を解放し、中間データの状態にして保持することで、オフスクリーン領域の消費量を抑制する技術が開示されている。
An image forming apparatus that reads a graphics description language, draws an object in an off-screen area secured on a memory, and displays the object once drawn on the off-screen area on a display in accordance with a drawing magnification specified by a user. is there.
しかし、特許文献1ではオブジェクトの再描画処理にかかる時間を考慮していなかったため、オブジェクトの更新要求があった際に、オブジェクトの再描画が間に合わず、表示できない可能性があった。
However, since
本発明の画像処理装置は、メモリを有する画像処理装置であって、表示部に表示されるオブジェクトの表示情報を取得する第1の取得手段と、前記オブジェクトの描画時間を取得する第2の取得手段と、前記メモリの空き容量を抽出する抽出手段と、前記オブジェクトの表示情報と前記オブジェクトの描画時間と前記空き容量とに基づいて、前記メモリの前記オブジェクトのオフスクリーン領域を解放するか否かを制御する制御手段と、を有する。 An image processing apparatus according to the present invention is an image processing apparatus having a memory, and includes a first acquisition unit that acquires display information of an object displayed on a display unit, and a second acquisition that acquires a drawing time of the object. Whether to release the off-screen area of the object in the memory based on the means, the extracting means for extracting the free capacity of the memory, the display information of the object, the drawing time of the object, and the free capacity And control means for controlling.
本発明によれば、オブジェクトの描画が表示に間に合わなくなる可能性を低減できる。 According to the present invention, it is possible to reduce the possibility that drawing of an object will not be in time for display.
以下、本発明の実施形態について図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、複合機110のハードウェア構成の一例を示す図である。複合機110は、ハードウェア構成として、コントローラユニット200、操作部220、スキャナ230、プリンタ240を含む。複合機110は、画像処理装置の一例である。操作部220は、表示部の一例である。
コントローラユニット200は、より具体的にはCPU(Central Processing Unit)202を有する。CPU202は、ROM(Read Only Memory)206に格納されているブートプログラムによりOS(Operating System)を立ち上げる。コントローラユニット200は、このOS上でHDD(Hard Disk Drive)205に格納されているアプリケーションプログラムを実行し、これによって各種処理を実行する。このCPU202の作業領域としては、RAM(Random Access Memory)203が用いられる。HDD205は、アプリケーションプログラムや各種データを格納する。
CPU202には、システムバス210を介して、RAM203及びROM206と共に、操作部I/F201、デバイスI/F204、ネットワークI/F207、画像処理部208が接続される。
操作部I/F201は、タッチパネルを有する操作部220とのインタフェースである。操作部I/F201は、操作部220に表示する各種データ等の情報を送出したり、ユーザにより入力された情報をCPU202に送出したりする。デバイスI/F204には、スキャナ230及びプリンタ240が接続され、データや制御信号の入出力が行われる。ネットワークI/F207は、ネットワーク100に接続され、ネットワーク100を介してネットワーク100上の装置と複合機110との間で入出力を行う。画像処理部208では、スキャナからの入力画像処理やプリンタへの出力画像処理、画像回転、画像圧縮、解像度変換、色空間変換、階調変換等の処理を行う。
CPU202がROM206、HDD205に記憶されているプログラムに基づき処理を実行することによって、後述する図2に示す複合機110のソフトウェア構成及び後述する図5に示すフローチャートの処理が実現される。
FIG. 1 is a diagram illustrating an example of a hardware configuration of the
More specifically, the
An operation unit I /
An operation unit I /
When the
図2は、複合機110のソフトウェア構成等の一例を示す図である。複合機110は、ソフトウェア構成として、レンダラ部102、描画時間測定部103、オブジェクト表示情報抽出部104、メモリ情報抽出部105、オフスクリーン判定部106、オフスクリーン制御部107を含む。メモリ108は、図1のRAM203等である。
レンダラ部102は、描画命令101を読み込み、描画処理を行い、描画したオブジェクトをメモリ108のオフスクリーン領域に格納する。このとき、描画時間測定部103は、各オブジェクトの描画処理に要した時間を測定し、オフスクリーン判定部106へ送信する。一方で、オブジェクト表示情報抽出部104は、描画命令101を読み込み、各オブジェクトの画面への表示期間を抽出し、オフスクリーン判定部106へ送信する。また、メモリ情報抽出部105は、メモリ108からメモリの空き容量を抽出し、オフスクリーン判定部106に送信する。オフスクリーン判定部106は、描画時間測定部103の測定結果、オブジェクト表示情報抽出部104、メモリ情報抽出部105の抽出結果に基づいて、オブジェクトのオフスクリーン領域の解放の要非判定を行い、結果をオフスクリーン制御部107に送信する。オフスクリーン制御部107は、オフスクリーン判定部106の判定結果に基づいて、該当するオブジェクトが操作部220のタッチパネルに表示されない期間の開始時刻に、メモリ108の該当するオブジェクトのオフスクリーン領域を解放する。オブジェクト表示情報抽出部104の処理は、第1の取得の処理の一例である。描画時間測定部103の処理は、第2の取得の処理の一例である。
FIG. 2 is a diagram illustrating an example of a software configuration and the like of the
The
オブジェクト表示情報抽出部104の抽出するオブジェクト表示情報について説明する。オブジェクト表示情報抽出部104は、オブジェクト表示情報を、グラフィックス記述言語のオブジェクトの記述より抽出する。図3は、複合機110が読み込むグラフィックス記述言語の1つであるScalable Vector Graphicsの一例を示す図である。Scalable Vector Graphicsにおいては、描画処理順序は描画記述の順である。したがって、最後のオブジェクトの記述に対応するオブジェクトが表示画面の最前面に表示される。以下、グラフィックス記述言語Scalable Vector Graphicsのことを描画命令とする。
図3の描画命令はオブジェクトの記述50、52、53とそれ以外の記述51とに分類できる。また、図3の描画命令の描画結果における最初のフレーム画像を図4に示す。記述50は幅500pixel、高さ500pixelのスクリーンを定義する記述であり、図4のスクリーンオブジェクト300に対応する記述である。記述51は赤色とオレンジ色とのグラデーションを作成する記述である。記述52は(1)の記述の先頭のcircleが表すように矩形オブジェクトを描画するための記述である。記述52の中の(1)の記述は、座標X=50、Y=200を中心として半径50pixel、記述51で定義した赤色とオレンジ色のグラデーションで塗られた円オブジェクト301に対応する記述である。そして、記述52の中の(2)の記述は、図4の矢印に示すように表示開始から50pixel/sで円オブジェクト301が座標X=50、Y=200から座標X=450、Y=200まで移動するという動作を行うことを表す記述である。記述53は座標X=150、Y=150を左上端座標として幅200pixel、高さ100pixel、青色の矩形オブジェクト302に対応する記述である。
したがって、これらの記述より、最初の表示フレームから3.0秒後〜5.0秒後のフレームにおいては、円オブジェクト301は矩形オブジェクト302と重なり、後方に配置されるため、画面に表示されない。また、スクリーンオブジェクト300及び矩形オブジェクト302は画面に表示されたままである。ゆえにオブジェクト表示情報抽出部104は、円オブジェクト301が表示開始から3.0秒後〜5.0秒後の2秒間は画面に表示されない、スクリーンオブジェクト300及び矩形オブジェクト302は画面に表示されたままであるという情報を抽出する。また、本実施形態では、オブジェクトのサイズ、位置、移動情報からオブジェクトの画面への表示情報を抽出したが、オブジェクト表示情報抽出部104は、透過性等の情報に基づいて抽出してもよい。
The object display information extracted by the object display
The drawing commands in FIG. 3 can be classified into
Therefore, from these descriptions, the
次に、図3に示す描画命令を描画した際のオフスクリーン判定部106の判定方法について、図5のフローチャート及び図6を用いて説明する。図5は、情報処理の一例を示すフローチャートである。図6は、定数kを示す図である。
S400において、オフスクリーン判定部106は、各オブジェクトの表示情報をオブジェクト表示情報抽出部104より受領する。各オブジェクトの表示情報とは、スクリーンオブジェクト300及び矩形オブジェクト302は画面に表示されたままで、円オブジェクト301は表示開始から3.0秒後〜5.0秒後の2秒間は画面に表示されないという情報である。S401において、オフスクリーン判定部106は、実際に各オブジェクトの描画処理に要した時間の測定結果を描画時間測定部103より受領する。スクリーンオブジェクト300は1フレーム描画するのに50ms、矩形オブジェクト302は1フレーム描画するのに30ms、円オブジェクト301は1フレーム描画するのに100ms要したとする。S402において、オフスクリーン判定部106は、現在のメモリの空き容量をメモリ情報抽出部105より受領する。S403において、オフスクリーン判定部106は、現在のメモリの空き容量に対して、後のS404で評価する評価式の定数kを決定する。ここで、定数kについて図6を用いて説明する。図6のグラフ500は縦軸に定数k、横軸にメモリの空き容量を表したグラフである。メモリの空き容量が少ないときは、他の処理の遅延を低減させないために定数kは1とする。メモリの空きに余裕ができるにしたがって、定数kの値は単調減少する。
Next, the determination method of the off-
In step S <b> 400, the off-
S404において、オフスクリーン判定部106は、S400で受領したオブジェクトが画面に表示されない時間、S401で受領したオブジェクトの描画に要する時間、及びS403で決定した定数kを用いて、各オブジェクトに対して、以下の式(1)
オブジェクトの描画に要する時間 > k×オブジェクトが画面に表示されない時間 ・・・式(1)
を評価する。スクリーンオブジェクト300は画面に表示されない時間が0なので、式(1)の右辺が0となり、式(1)を満たす。式(1)を満たす場合、S405に遷移し、オフスクリーン判定部106は、スクリーンオブジェクト300のオフスクリーン領域はそのまま保持すると判定する。同様にして、矩形オブジェクト302も画面に表示されない時間が0なので、式(1)を満たす。式(1)を満たす場合、S405に遷移し、オフスクリーン判定部106は、矩形オブジェクト302のオフスクリーン領域はそのまま保持すると判定する。円オブジェクト301は、画面に表示されない時間が2秒間である。また、1フレーム描画するのに要する時間は100ms=0.1秒である。したがって、メモリの空き容量が少ないときは定数kは1に近づき、式(1)を満たさない。式(1)を満たさない場合、S406に遷移し、オフスクリーン判定部106は、円オブジェクト301のオフスクリーン領域を解放すると判定する。逆に、メモリがほとんど空いている状態では、定数kは限りなく0に近づくため、式(1)を満たす。式(1)を満たす場合、S405に遷移し、オフスクリーン判定部106は、円オブジェクト301のオフスクリーン領域はそのまま保持すると判定する。
オフスクリーン制御部107は、オフスクリーン判定部106が判定した結果に基づいて、該当するオブジェクトが画面に表示されなくなるタイミングで、該当するオブジェクトのオフスクリーン領域を解放する。
In S404, the off-
Time required for drawing an object> k × time when an object is not displayed on the screen (1)
To evaluate. Since the time during which the
The off-
以上説明したように、複合機110は、各オブジェクトの表示情報と描画時間とメモリの空き容量とに基づき、メモリのオフスクリーン領域を制御して消費量を抑制することで、他のタスク処理の遅延を低減することができる。また、メモリに余裕があるときは、オフスクリーン領域を解放しないことで、レンダラの描画処理負荷を軽減することができる。
As described above, the
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給する。そして、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium. It can also be realized by a process in which one or more processors in the computer of the system or apparatus read and execute the program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
以上、本発明の実施形態の一例について詳述したが、本発明は係る特定の実施形態に限定されるものではない。
上述した複合機110のソフトウェア構成の一部又は全てはハードウェア構成として複合機110に実装してもよい。
また、複合機110のハードウェア構成として、CPU、RAM、ROM、HDD、ネットワークI/F等は1つである必要はない。複数のCPUがプログラムに基づき、複数のRAM、ROM、HDDに記憶されたデータ等を用いながら処理を実行することで複合機110の機能等を実現するようにしてもよい。
The exemplary embodiment of the present invention has been described in detail above, but the present invention is not limited to the specific embodiment.
A part or all of the software configuration of the
Further, as the hardware configuration of the multifunction peripheral 110, it is not necessary to have a single CPU, RAM, ROM, HDD, network I / F, or the like. A plurality of CPUs may execute functions while using data stored in a plurality of RAMs, ROMs, HDDs, and the like based on a program to realize the functions of the multifunction peripheral 110.
上述した各実施形態によれば、メモリを効率的に使用しながら、他のタスク処理の遅延を低減することができる。また、オブジェクトの描画が表示に間に合わなくなる可能性を低減できる。 According to each of the embodiments described above, it is possible to reduce the delay of other task processing while efficiently using the memory. Further, it is possible to reduce the possibility that the drawing of the object will not be in time for display.
110 複合機
200 コントローラユニット
202 CPU
203 RAM
110
203 RAM
Claims (7)
表示部に表示されるオブジェクトの表示情報を取得する第1の取得手段と、
前記オブジェクトの描画時間を取得する第2の取得手段と、
前記メモリの空き容量を抽出する抽出手段と、
前記オブジェクトの表示情報と前記オブジェクトの描画時間と前記空き容量とに基づいて、前記メモリの前記オブジェクトのオフスクリーン領域を解放するか否かを制御する制御手段と、
を有する画像処理装置。 An image processing apparatus having a memory,
First acquisition means for acquiring display information of an object displayed on the display unit;
Second acquisition means for acquiring the drawing time of the object;
Extraction means for extracting the free capacity of the memory;
Control means for controlling whether to release the off-screen area of the object in the memory based on the display information of the object, the drawing time of the object, and the free space;
An image processing apparatus.
前記制御手段は、前記判定手段により前記メモリの前記オブジェクトのオフスクリーン領域を解放すると判定された場合、前記オフスクリーン領域を解放し、前記判定手段により前記メモリの前記オブジェクトのオフスクリーン領域を解放しないと判定された場合、前記オフスクリーン領域を保持する請求項1記載の画像処理装置。 A determination unit for determining whether to release the off-screen area of the object in the memory based on the display information of the object, the drawing time of the object, and the free space;
The control means releases the off-screen area of the object in the memory when the determination means determines that the off-screen area of the object in the memory is released, and does not release the off-screen area of the object in the memory by the determination means. The image processing apparatus according to claim 1, wherein the image processing apparatus holds the off-screen area when it is determined.
表示部に表示されるオブジェクトの表示情報を取得する第1の取得工程と、
前記オブジェクトの描画時間を取得する第2の取得工程と、
前記メモリの空き容量を抽出する抽出工程と、
前記オブジェクトの表示情報と前記オブジェクトの描画時間と前記空き容量とに基づいて、前記メモリの前記オブジェクトのオフスクリーン領域を解放するか否かを制御する制御工程と、
を含む情報処理方法。 An information processing method executed by an image processing apparatus having a memory,
A first acquisition step of acquiring display information of an object displayed on the display unit;
A second acquisition step of acquiring a drawing time of the object;
An extraction step of extracting the free capacity of the memory;
A control step for controlling whether or not to release the off-screen area of the object in the memory based on the display information of the object, the drawing time of the object, and the free space;
An information processing method including:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017051874A JP2018156321A (en) | 2017-03-16 | 2017-03-16 | Image processing device, information processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017051874A JP2018156321A (en) | 2017-03-16 | 2017-03-16 | Image processing device, information processing method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2018156321A true JP2018156321A (en) | 2018-10-04 |
Family
ID=63717258
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017051874A Pending JP2018156321A (en) | 2017-03-16 | 2017-03-16 | Image processing device, information processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2018156321A (en) |
-
2017
- 2017-03-16 JP JP2017051874A patent/JP2018156321A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7302648B1 (en) | Method and apparatus for resizing buffered windows | |
| JP5955148B2 (en) | Image forming apparatus and virtual machine program | |
| JP6377263B2 (en) | Method, apparatus, storage medium, and device for providing screenshot service in terminal device | |
| KR102282365B1 (en) | Method and apparatus for displaying composition screen by composing the OS screens | |
| EP3133481B1 (en) | Terminal device display method and terminal device | |
| US20130002688A1 (en) | Method for controlling multiple displays and system thereof | |
| JP2003084744A (en) | Emulation device, emulation method, program for executing the method, and recording medium recording the program | |
| US11467717B2 (en) | Optimizing window resize actions for remoted applications | |
| JP2014135013A (en) | Image transfer method, server apparatus, and program | |
| JP5616223B2 (en) | System and method for capturing digital images | |
| US20230005207A1 (en) | Information processing apparatus, information processing method, and program | |
| US10762401B2 (en) | Image processing apparatus controlling the order of storing decompressed data, and method thereof | |
| KR20170125881A (en) | Provides asynchronous display shader functionality on shared shader cores | |
| US11024257B2 (en) | Android platform based display device and image display method thereof | |
| CN115546410A (en) | Window display method and device, electronic equipment and storage medium | |
| US20170249770A1 (en) | Information processing apparatus, moving image reproduction method, and computer readable medium | |
| JP4776995B2 (en) | Computer apparatus and control method and program thereof | |
| US12242869B1 (en) | Enhancing user experience on moving and resizing windows of remote applications | |
| US20170256031A1 (en) | Method of enlarging content in divided screen, information processing apparatus, and control method and control program of information processing apparatus | |
| JP2010175638A (en) | Display device and method for display in display device | |
| JP2018156321A (en) | Image processing device, information processing method, and program | |
| CN115865908A (en) | Remote desktop system startup control method and related equipment | |
| CN104731440B (en) | picture drawing method, picture updating method and related mobile electronic device | |
| KR102245042B1 (en) | Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method | |
| CN106547505A (en) | The method and system of scan image are shown for sliding in real time |