JP4780101B2 - Image display system, image display method, and program - Google Patents
Image display system, image display method, and program Download PDFInfo
- Publication number
- JP4780101B2 JP4780101B2 JP2007334855A JP2007334855A JP4780101B2 JP 4780101 B2 JP4780101 B2 JP 4780101B2 JP 2007334855 A JP2007334855 A JP 2007334855A JP 2007334855 A JP2007334855 A JP 2007334855A JP 4780101 B2 JP4780101 B2 JP 4780101B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- display
- information
- window
- layer
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/14—Display of multiple viewports
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04804—Transparency, e.g. transparent or translucent windows
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2310/00—Command of the display device
- G09G2310/04—Partial updating of the display screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/12—Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
- G09G5/24—Generation of individual character patterns
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/395—Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Description
本発明は、表示部にウィンドウを表示するための画像表示装置、表示制御方法及びプログラムに関する。 The present invention relates to an image display device, a display control method, and a program for displaying a window on a display unit.
従来、例えば、単一のOS上で単一の描画系を有するシステム、X window system等、複数のOS上で単一の描画系を有するシステム、又はLCDC(LCDコントローラ)が有するOSD機能(On Screen Display)を利用して複数のVRAMをHWレイヤに割り当てるシステムがある。 Conventionally, for example, a system having a single drawing system on a single OS, a system having a single drawing system on a plurality of OSs such as an X window system, or an OSD function (On There is a system that allocates a plurality of VRAMs to an HW layer using a screen display).
これらのシステムを利用したウィンドウ制御装置が知られている。この種のウィンドウ制御装置は、プロセッサで同時に並行して処理される互いに異なるジョブの各々に対応するウィンドウを作成する。そして、ウィンドウ制御装置は、これらの個々のジョブに対応した複数のウィンドウを画面に同時に表示する。さらに、ウィンドウ制御装置は、複数のジョブ処理の状況を同時に監視することも可能になる。 Window control apparatuses using these systems are known. This type of window control apparatus creates a window corresponding to each of different jobs that are simultaneously processed in parallel by a processor. The window control device simultaneously displays a plurality of windows corresponding to these individual jobs on the screen. Furthermore, the window control apparatus can simultaneously monitor the status of a plurality of job processes.
例えば特許文献1には、ウィンドウ表示を用いて1つの画面上で複数の出力画像(画像データ)、例えば、複数のデバイスから出力される画像データを表示する出力データ制御装置が開示されている。この特許文献1にかかる出力データ制御装置は、複数の情報処理端末(PC)あるいは映像出力機器からの複数の画像データを入力する。そして、入力した複数の画像データをメイン画面とウィンドウ画面とを用いて一画面内に合成する。さらに、合成した画面をモニタ装置へ出力する。そして、出力データ制御装置は、メイン画面にウィンドウ画面を重ねて表示する割合を透明度として算出する。さらに、出力データ制御装置は、算出した透明度に従ってウィンドウ画面を表示する割合を変更して画面を変更し、変更した画面をモニタ装置へ出力する。
このように、複数OSや複数描画システムで共有したLCD等のディスプレイに複数ウィンドウを表示する場合、従来技術であるOSD機能を利用し、ウィンドウ毎にHWレイヤを割り当てることによって、重ね合わせ制御をすることが可能であった。しかしながら、同時に扱えるウィンドウの数がHWレイヤの数に制限を受けてしまうという問題点がある。 As described above, when a plurality of windows are displayed on a display such as an LCD shared by a plurality of OSs or a plurality of drawing systems, overlay control is performed by assigning an HW layer to each window using the OSD function which is a conventional technique. It was possible. However, there is a problem that the number of windows that can be handled simultaneously is limited by the number of HW layers.
これに対し、描画システムとしてマルチウインドウ表示が可能なウィンドウシステムを採用することにより、同時に扱えるウィンドウ数の制約を取り除くことが可能になった。しかしながら、各々の描画システムが異なるVRAMに描画するため、異なる描画システム間で動的なウィンドウ単位での重ね合わせ制御ができないという問題点がある。 On the other hand, by adopting a window system capable of multi-window display as a drawing system, it has become possible to remove restrictions on the number of windows that can be handled simultaneously. However, since each drawing system draws in different VRAMs, there is a problem in that overlay control cannot be performed dynamically in units of windows between different drawing systems.
また、HWレイヤ間で表示順が決まっており、それらを単に重ね合わせる手法においては、各HWレイヤ内ではそれぞれで使用されるローカル優先度が存在し、HWレイヤ毎に描画が行われる。各HWレイヤで描画された画像はHWレイヤ間の表示順に従って重ね合わせが行われる。すなわち、HWレイヤ1、HWレイヤ2(優先度はHWレイヤ1>HWレイヤ2)においては、HWレイヤ2のウィンドウはHWレイヤ1のウィンドウより手前に表示されることはない。
In addition, the display order is determined between the HW layers, and in the method of simply superimposing them, there is a local priority used in each HW layer, and rendering is performed for each HW layer. Images drawn in each HW layer are superimposed according to the display order between the HW layers. That is, in
本発明は、このような問題点を解決するためになされたものであり、複数の描画システムから共有されるディスプレイを有するシステムにおいても、例えばウィンドウ単位での重ね合わせを可能とする画像表示装置、表示制御方法及びプログラムを提供することを目的とする。 The present invention has been made to solve such a problem, and in a system having a display shared by a plurality of drawing systems, for example, an image display device that enables superimposition in units of windows, It is an object to provide a display control method and program.
本発明に係る画像表示システムは、合成される複数の表示レイヤのそれぞれに描画される画像の画像情報を取得し、第1の表示レイヤが第2の表示レイヤより表示順位が低い場合において、前記画像情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1の表示レイヤに描画される画像を特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる管理部を有し、前記管理部は、合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得部と、第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成部と、を有し、前記情報取得部は、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得するものである。 The image display system according to the present invention acquires image information of an image drawn on each of a plurality of display layers to be combined, and when the first display layer has a lower display order than the second display layer, Based on the image information, an image drawn on the first display layer to be displayed when the first and second display layers are combined is detected as a specific image, and a transparent image for displaying the specific image is displayed. A management unit configured to generate the second display layer, and the management unit generates an image corresponding to each display layer with an arrangement position and display priority information of an image drawn on each of the plurality of combined display layers The information acquisition unit, the first display layer has a lower display order than the second display layer, and the shape of the specific image is a non-rectangular shape, the arrangement information and the table Based on the priority information, an image drawn on the first layer to be displayed when the first and second display layers are combined is detected as the specific image, and a transparent image for displaying the specific image is displayed. An instruction generation unit that causes the second display layer to generate, and when the shape of the specific image is a non-rectangular shape, the information acquisition unit includes rectangular information including the specific image, and the specific image background information for identifying the other areas, is shall be obtained as the image information.
本発明に係るプログラムは、所定の動作をコンピュータに実行させるためのプログラムであって、合成される複数の表示レイヤのそれぞれに描画される画像の画像情報を取得し、第1の表示レイヤが第2の表示レイヤより表示順位が低い場合において、前記画像情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1の表示レイヤに描画される画像を特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる管理工程を有し、前記管理工程は、合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得工程と、第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成工程とを含み、前記情報取得工程では、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得するものである。 A program according to the present invention is a program for causing a computer to execute a predetermined operation, acquires image information of an image drawn on each of a plurality of display layers to be combined, and the first display layer is a first program. When the display order is lower than that of the second display layer, based on the image information, an image drawn on the first display layer to be displayed when the first and second display layers are combined is detected as a specific image. And a management step for generating a transparent image for displaying the specific image in the second display layer, wherein the management step includes an arrangement position of an image drawn on each of the plurality of display layers to be synthesized. And an information acquisition step of acquiring display priority information from the image generation unit corresponding to each display layer, and the first display layer has a lower display order than the second display layer, and the specific image When the shape is a non-rectangular shape, the image drawn on the first layer to be displayed when the first and second display layers are combined is based on the arrangement information and the display priority information. A command generation step of generating a second transmission layer for detecting a specific image and displaying the specific image on the second display layer, wherein the shape of the specific image is a non-rectangular shape In this case, rectangular information including the specific image and background information for identifying the specific image and other regions are acquired as the image information .
本発明に係る画像表示方法は、合成される複数の表示レイヤのそれぞれに描画される画像の画像情報を取得し、第1の表示レイヤが第2の表示レイヤより表示順位が低い場合において、前記画像情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1の表示レイヤに描画される画像を特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる管理工程を有し、前記管理工程は、合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得工程と、第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成工程とを含み、前記情報取得工程では、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得するものである。
The image display method according to the present invention acquires image information of an image drawn on each of a plurality of display layers to be combined, and when the first display layer has a lower display order than the second display layer, Based on the image information, an image drawn on the first display layer to be displayed when the first and second display layers are combined is detected as a specific image, and a transparent image for displaying the specific image is displayed. A management step of generating the second display layer, wherein the management step generates an image corresponding to each display layer with an arrangement position and display priority information of an image drawn on each of the plurality of combined display layers Information acquisition step acquired from the unit, and when the first display layer is lower in display order than the second display layer and the shape of the specific image is a non-rectangular shape, the arrangement information and the Based on the display priority information, a transparent image for detecting an image drawn on the first layer to be displayed at the time of combining the first and second display layers as the specific image and displaying the specific image A command generation step for generating the second display layer, and in the information acquisition step, when the shape of the specific image is a non-rectangular shape, the rectangular information including the specific image, and the specific image and others The background information for identifying the area is acquired as the image information .
本発明によれば、複数の描画システムから共有されるディスプレイを有するシステムにおいてもウィンドウ単位での重ね合わせを可能とするウィンドウ制御装置、ウィンドウ制御方法、及びプログラム並びに情報処理装置を提供することができる。 According to the present invention, it is possible to provide a window control device, a window control method, a program, and an information processing device that enable overlapping in units of windows even in a system having a display shared by a plurality of drawing systems. .
以下、本発明を適用した具体的な実施例について、図面を参照しながら詳細に説明する。この実施例は、本発明を、複数のOS上でそれぞれ起動する描画システムから共有されるディスプレイにウィンドウを合成して表示することが可能な画像表示装置に適用したものである。特に、本実施例においては、ウィンドウとして非矩形な形状のウィンドウを表示することができる画像表示装置について説明する。 Hereinafter, specific examples to which the present invention is applied will be described in detail with reference to the drawings. In this embodiment, the present invention is applied to an image display apparatus capable of combining and displaying a window on a display shared from a drawing system that is activated on each of a plurality of OSs. In particular, in this embodiment, an image display apparatus capable of displaying a non-rectangular window as a window will be described.
複数のOS上でそれぞれ異なる描画システムが動作している場合でも、これらの複数のOSが共有する単一のディスプレイに対して協調的にウィンドウを描画するシステムがある。図1は、そのような画像表示装置を示す概略図である。画像表示装置1100は、複数の、例えばCPU(Central Processing Unit)等からなる処理部1、2を有しており、それぞれ異なるOSがインストールされている。各OS上では、それぞれ、画像生成部としてのウィンドウ生成部1010、1020と、管理部としてのアプリケーションマネージャ(APM)1012、1022とが起動している。ここで、本実施の形態においては、例えば、一方のOSは、例えば、エンジン制御、スピード制御、又はエアバック制御などの制御系のOSであり、他方のOSは、エンターテーメントやマルチメディア用の情報系のOSとする。
Even when different drawing systems are operating on a plurality of OSs, there is a system that cooperatively draws windows on a single display shared by the plurality of OSs. FIG. 1 is a schematic view showing such an image display apparatus. The
ウィンドウ生成部1010は、表示レイヤとしてのハードウェアレイヤ(HWレイヤ)1071に表示するウィンドウ1711を生成する。ウィンドウ生成部1020は、HWレイヤ1071と同一の表示部に表示されるHWレイヤ1072に表示するウィンドウ1721を生成する。
The
具体的には、APM1012、1022は、ウィンドウ生成部1010、1020から画像情報として各ウィンドウの枠情報及び各ウィンドウのZ軸情報(表示優先情報、以下優先度という。)を含むウィンドウ配置情報を取得する。ウィンドウの枠情報とは、矩形ウィンドウであれば、起点の座標並びに縦及び横の大きさ等とすることができる。優先度とは、全HWレイヤが共通して使用するウィンドウの表示順序を示す。本実施の形態においては、全HWレイヤが共通の優先度情報を使用することにより、HWレイヤを跨いだウィンドウの表示順の制御が可能となる。そして、APM1022は、第1のHWレイヤ1071が第2のHWレイヤ1072より表示順位が低い場合において、ウィンドウ配置情報に基づき、第1及び第2のHWレイヤ1071、1072の合成時に表示されるべき第1のHWレイヤ1071に描画されるウィンドウを特定ウィンドウ1711として検出する。そして、APM1022は、この特定ウィンドウ1711を表示させるための透過ウィンドウ1725を第2のHWレイヤ1072に生成させる配置命令を生成する。APM1012は、第1のHWレイヤ1072に表示させるウィンドウ1711を生成させる配置命令を生成する。HWレイヤ1071、1072は、合成部としてのLCDコントローラ(図示せず)によって画面合成され、表示画面1041が生成される。なお、本実施の形態においては、HWレイヤの表示順序は予め決められているのとして説明する。APMは、HWレイヤの上下関係と、ウィンドウの優先度に応じて、後述する透過ウィンドウを形成する。LCDコントローラは、決められた表示順序に従ってLCDコントローラが表示画面を合成する。ただし、これに限らず、APM等がHWレイヤの表示順序を変更するようにしてもよい。
Specifically, the
以下、APM1022について詳述する。APM1022は、情報取得部1221及び命令生成部1222を有する。情報取得部1221は、合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示度を各表示レイヤに対応するウィンドウ生成部1020、1010から取得する。すなわち、情報取得部1221は、表示レイヤ1072のウィンドウ配置情報をウィンドウ生成部1020から取得する。また、表示レイヤ1071のウィンドウ配置情報をウィンドウ生成部1010からAPM1012を介して取得する。
Hereinafter, the APM 1022 will be described in detail. The APM 1022 includes an
命令生成部1222は、第1のHWレイヤ1071が第2のHWレイヤ1072より表示順位が低い場合において、ウィンドウ配置情報に基づき、第1及び第2のHWレイヤ1071、1072の合成時に表示されるべき第1のHWレイヤ1071に描画されるウィンドウを特定ウィンドウ1711として検出する。そして、命令合成部1222は、この特定ウィンドウ1711を表示させるための透過ウィンドウ1725を第2のHWレイヤ1072に生成させる配置命令を生成する。
The
そして、第2のHWレイヤ1072の第1のウィンドウ1711の優先度が第2のウィンドウ1721の優先度より大きい場合、命令生成部1222は、第1のHWレイヤ1071に描画されるウィンドウを特定ウィンドウ1711として検出する。そして、第2のHWレイヤ1072において第1のウィンドウ1711と同一形状及び同一配置位置に、上記特定ウィンドウ1711を表示させるための透過ウィンドウ1725を生成させる配置命令を生成する。ウィンドウ生成部1020は、命令生成部1222からの配置命令に従い第2のHWレイヤ1072において、透過ウィンドウ1725を生成し、第2のウィンドウ1721と合成する。
When the priority of the
ここで、透過ウィンドウとは、自身を透過し下のHWレイヤに表示された画像を透過して表示するものをいう。透過ウィンドウの一例としては、透過ウィンドウ内の領域についてHWレイヤにおける画像信号を消去するマスク処理を行って生成する。例えば、RGB情報と透過率情報(A)からなる32ビット(ARGB各8ビット)で1ドットを表現するシステムであれば、APM又は描画システムがVRAM内のデータ(透過率情報)をビット単位で制御することにより、透過ウィンドウを生成することができる。 Here, the transparent window refers to a window that transmits the image that is transmitted through itself and displayed on the lower HW layer. As an example of the transmissive window, the region in the transmissive window is generated by performing mask processing for erasing the image signal in the HW layer. For example, in a system that expresses one dot by 32 bits (8 bits for each of ARGB) consisting of RGB information and transmittance information (A), the APM or the drawing system uses VRAM data (transmittance information) in bit units. By controlling, a transparent window can be generated.
なお、本実施の形態においては、処理部を2つとして説明しているが、2以上であってもよい。さらに、各ウィンドウ生成部は一のHWレイヤで、一のウィンドウの表示制御をするものとするが、2以上のHWレイヤであっても、2以上のウィンドウを表示させるものであってもよいことは勿論である。 In the present embodiment, two processing units are described. However, two or more processing units may be used. Furthermore, each window generation unit controls the display of one window with one HW layer, but it may display two or more windows even with two or more HW layers. Of course.
このように、命令生成部1222は、第1のウィンドウ1711の情報としては、表示優先度と、ウィンドウ枠情報とを使用して透過ウィンドウ1725の配置命令を生成する。つまり、命令生成部1222は、第1のウィンドウ1711の画素値等の画像情報を取得することなく、透過ウィンドウ1725を生成する配置命令を生成する。このような透過ウィンドウ1725を生成することにより、LCDコントローラがHWレイヤ1071、1072を画面合成すると、ウィンドウ1711とウィンドウ1721とが表示優先度に従って重畳された画面が生成される。このことにより、複数のOSで共有されるディスプレイを有するシステムにおいて、互いに表示する画像について詳細な情報を転送することなく少ないデータの受け渡しのみで異なるHWレイヤ間でのウィンドウの重ね合わせ制御(Z軸制御)が可能になる。したがって、複数のOSによって描画される画像情報を合成する処理を高速化することができる。以下、本発明の実施の形態について詳細に説明する。
As described above, the
ところで、組込み系のGUIシステムでは、PCとは異なり矩形ではないウィンドウやアプリケーションの一部分だけを表示する必要があるが、複数のOSでそれぞれ異なる描画システムが動作している状態では、お互いのウィンドウの形状がわからず、透過ウィンドウを用いたOS間の協調動作を行うことが難しい。矩形ではないアプリケーションの例としては、車載システムのLCDのスピードメータや安全系アプリのダイヤログ表示等が考えられる。 By the way, in the embedded GUI system, it is necessary to display only a part of a non-rectangular window or application unlike a PC. However, when different drawing systems are operating on a plurality of OSs, The shape is unknown and it is difficult to perform cooperative operation between OSs using a transparent window. Examples of non-rectangular applications include LCD speedometers for in-vehicle systems and dialog displays for safety applications.
仮に矩形のウィンドウであれば、左上端の座標と幅、高さの情報だけで済むが、非矩形のウィンドウ(以下、ビットマップデータともいう。)はRGBからなる階調形式で表現されるため、APMでウィンドウの形状を把握することが難しく、APM経由で他方の描画システムに対し適切な指示を行うことが難しい。 If it is a rectangular window, only the information on the coordinates and width and height of the upper left corner is sufficient, but a non-rectangular window (hereinafter also referred to as bitmap data) is expressed in a gradation format composed of RGB. It is difficult to grasp the shape of the window with APM, and it is difficult to give an appropriate instruction to the other drawing system via APM.
そこで、本実施例に係る画像表示装置は、複数のOSでそれぞれ異なる描画システムが動作しているシステムにおいて、矩形以外の形状(非矩形形状)にも対応した透過ウィンドウを作成し、下位のHWレイヤのアプリケーションと協調動作させるしくみを有するものである。このため、ウィンドウ生成時に境界情報の選択かつ非矩形ウィンドウの輪郭情報(境界データ)を取得する手段、およびその後の動作において差分情報のみを送出する手段を有するAPM(アプリケーションマネージャー)を備える。 Therefore, the image display apparatus according to the present embodiment creates a transparent window corresponding to a shape other than a rectangle (non-rectangular shape) in a system in which different drawing systems are operated on a plurality of OSs, and the lower HW It has a mechanism for cooperating with layer applications. For this purpose, an APM (application manager) having means for selecting boundary information at the time of window generation and acquiring outline information (boundary data) of a non-rectangular window and means for sending only difference information in subsequent operations is provided.
図2は、本発明の実施例にかかる画像表示装置を示す概略図である。画像表示装置100は、複数の処理部1、2を有しており、それぞれ異なるOSがインストールされている。各OS上では、それぞれ。画像生成部としてのウィンドウ生成部10、20と、管理部としてのアプリケーションマネージャ(APM)12、22が起動している。ここで、本実施例においては、例えば、一方のOSは、例えば、エンジン制御、スピード制御、又はエアバック制御などの制御系のOSであり、他方のOSは、エンターテーメントやマルチメディア用の情報系のOSとする。
FIG. 2 is a schematic diagram showing an image display apparatus according to an embodiment of the present invention. The
ウィンドウ生成部10は、表示レイヤとしてのハードウェアレイヤ(HWレイヤ)71に表示するウィンドウ711を生成する。ウィンドウ生成部20は、HWレイヤ71と同一の表示部に表示されるHWレイヤ72に表示するウィンドウ721を生成する。APM12、22は、ウィンドウ生成部10、20から、画像情報として、ウィンドウの枠情報及び各ウィンドウのZ軸情報(表示優先情報、以下優先度という。)を含むウィンドウ配置情報を取得する。さらに、ウィンドウが非矩形形状の場合は、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、上記ウィンドウ配置情報として取得する。ここで、APM12とAP22のうち、上位のHWレイヤ72に描画するウィンドウの配置命令を生成するAPM22は、ウィンドウ情報に基づき、第1及び第2の表示レイヤ71、72の合成時に表示されるべき第1の表示レイヤ71に描画される画像を特定画像711として検出する。そして、APM22は、特定画像711を表示させるための透過画像725を第2の表示レイヤ72に生成させる。この場合、APM22は、特定画像711の形状が非矩形形状である場合、ウィンドウ情報に基づき特定画像711の形状を取得し、透過画像725を第2の表示レイヤ72に生成させる。APM12は、第1のHWレイヤ71に表示するウィンドウを生成させる配置命令を生成する。
The
HWレイヤ71、72は、合成部としてのLCDコントローラ(図示せず)によって画面合成され、表示画面41が生成される。なお、本実施の形態においては、HWレイヤの表示順序は予め決められているのとして説明する。APMは、HWレイヤの上下関係と、ウィンドウの優先度に応じて、透過ウィンドウを形成する。LCDコントローラは、決められた表示順序に従ってLCDコントローラが表示画面を合成する。ただし、これに限らず、APM等がHWレイヤの表示順序を変更するようにしてもよい。
The HW layers 71 and 72 are screen-synthesized by an LCD controller (not shown) as a synthesis unit, and a
以下、APM22について詳述する。APM22は、情報取得部221及び命令生成部222を有する。情報取得部221は、合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応するウィンドウ生成部から取得する。すなわち、情報取得部221は、表示レイヤ72のウィンドウ配置情報をウィンドウ生成部20から取得する。また、表示レイヤ71のウィンドウ配置情報をウィンドウ生成部10からAPMスレーブ12を介して取得する。
Hereinafter, the
第1の表示レイヤ71が第2の表示レイヤ72より表示順位が低い場合について説明する。この場合、命令生成部222は、特定画像711の形状が非矩形形状であれば、配置情報及び表示優先情報の他、背景情報を含むウィンドウ配置情報に基づき、第1及び第2の表示レイヤ71、72の合成時に表示されるべき第1のレイヤ71に描画される画像を特定画像711として検出する。そして、命令生成部222は、特定画像711を表示させるための透過画像725を第2の表示レイヤ72に生成させる配置命令を生成する。
A case where the display order of the
ここで、第2のHWレイヤ72の第1のウィンドウ711の優先度が第2のウィンドウ721の優先度より大きい場合、命令生成部222は、第1のHWレイヤ71に描画されるウィンドウを特定ウィンドウとして検出し、第2のHWレイヤ72において第1のウィンドウ711と同一形状及び同一配置位置に、上記特定ウィンドウを表示させるための透過ウィンドウ725を生成させる配置命令を生成する。ウィンドウ生成部20は、命令生成部222からの配置命令に従い第2のHWレイヤ72において、透過ウィンドウ725を生成し、第2のウィンドウ721と合成する。
Here, when the priority of the
さらに、本実施の形態においては、情報取得部221は、特定画像711の形状が非矩形形状である場合、特定画像711を含む矩形情報(以下、基底ウィンドウ情報という。)、及び当該特定画像と他の領域とを識別するための背景情報を、ウィンドウ配置情報として取得する。命令生成部222は、背景情報を閾値として特定画像711の輪郭を検出する。具体的には、命令生成部222は、特定画像711を含む矩形領域の上下左右から背景情報を閾値として各画素値が背景であるか否かを判定することで、特定画像711の輪郭を検出する。または、命令生成部222は、背景情報を閾値として特定画像711を含む矩形領域を探索して特定画像711の輪郭を構成する任意の点を検出し、当該点を起点として周囲の画素値を閾値判定することで特定画像の輪郭を検出する。
Furthermore, in this embodiment, when the shape of the
このように、命令生成部222が非矩形ウィンドウのウィンドウ形状を取得するので、例えば第1のウィンドウ711が非矩形ウィンドウであっても、第2のウィンドウ721と合成して表示させることができる。なお、本実施例においては、情報取得部221が非矩形ウィンドウ711のウィンドウ形状を取得するものとして説明するが、ウィンドウ生成部10が第1の記憶部VRAM131にアクセスして非矩形ウィンドウの形状又は非矩形ウィンドウの形状を得るための情報を取得し、これを、APM12を介してAPM22に通知するものとしてもよい。以下、本発明の実施例について詳細に説明する。
Thus, since the
図3は、本発明の実施例にかかる画像表示装置の詳細を示す図である。図3に示すように、画像表示装置100は、MPU(Micro Processor Unit)6、LCD(Liquid Cristal Display)4、及びSDRAM(Synchronous Dynamic Random Access Memory)5を有する。MPU4は、制御装置としての処理部1、2を有し、各処理部1、2には、OS11、12、APM12、22、描画システム101、201、GUIアプリケーション102及び103、202及び203がインストールされている。描画システムとGUIアプリケーションから上述のウィンドウ生成部が構成される。
FIG. 3 is a diagram showing details of the image display apparatus according to the embodiment of the present invention. As shown in FIG. 3, the
上述したように、OS1は、例えばμITRON等の制御系のOSであり、独自描画システム101を搭載し、さらにLCDスピードメータなどの車両連携アプリケーションとしてGUIアプリケーション102、103を搭載している。また、OS2は、描画システム201としてXwindowsystem等を搭載したUNIX(登録商標)などの情報系OSであり、マルチメディアアプリケーション(AVN、ブラウザ等)をGUIアプリケーション202、203として搭載している。
As described above, the
さらに、画像表示装置100は、VRAM51が割り当てられるHWレイヤ71、VRAM52が割り当てられるHWレイヤ72など、複数のHWレイヤを有する。LCDC20がこれらを合成して表示画面41を生成し、LCD4に表示する。ここで、本実施例においては、各OS上で起動する描画システム101、201には、少なくとも1つのHWレイヤが他の描画システムとは排他的に割り当てられている。つまり、描画システム101、201はHWレイヤを共有しない。本例においては、描画システム101がVRAM51にアクセスし、これに割り当てられたHWレイヤ71を使用する。描画システム201はVRAM52にアクセスし、これに割り当てられたHWレイヤ72を使用する。GUIアプリケーション102、103は、描画システム101を使用してHWレイヤ71に所望のウィンドウを描画する。GUIアプリケーション202、203は、描画システム201を使用してHWレイヤ72に所望のウィンドウを描画する。
Furthermore, the
この画像表示装置100は、複数のOS11、21から共有されるディスプレイLCD4にアクセスする(組込み)システムである。各OS11、21にAPM12、22が配置されている。このAPMは、マスタとスレーブとを有するマスタ−スレーブ方式とすることができる。この場合、マスタAPMは、GUIアプリケーションにより配置されるウィンドウ配置情報(基底ウィンドウ報、優先度、背景情報など)を一括管理する。
This
また、各OS11、21上のAPM12、22が互いに通信可能に構成されている。マスタAPMは、ウィンドウ配置情報を基に全OS11、21の描画システム101、201に、必要に応じてウィンドウの配置命令を出すことができる。ウィンドウ配置命令は、後述するように、例えば、タッチパネルの操作時において優先度を変更する場合又はフォーカスの移動する場合などに出される。なお、マスタ−スレーブ方式とせず、各APMが配置命令を個別に出すものとしてもよい。描画システム101、201は、APMで管理している透過ウィンドウを、受信した配置命令に基づいて重ね合わせる。
Further, the
APMをマスタ−スレーブ方式にした場合は、以下のように動作する。先ず、いずれかのOSにAPMのマスタを配置し、その他のOSにはAPMスレーブを配置する。APMマスタは、全ウィンドウの制御及び管理を行う。本例では、OS21にAPMマスタが配置され、OS11にAPMスレーブが配置されているものとして説明する。APMスレーブ12は、主にAPMマスタ22と描画システム101との間の通信を行う。APMマスタ22は全ウィンドウのウィンドウ配置情報(ウィンドウの枠情報、優先度、及び背景情報)を有する。新たなウィンドウの生成や、ウィンドウの優先度の変更があると、APMマスタ22が管理する全ウィンドウ配置情報が更新される。この際、APMマスタ22は、APMスレーブ12からAP102、AP103のウィンドウ配置情報を取得する。また、AP202、AP203のウィンドウ配置情報は、AP202、AP203から直接取得する。APMマスタ22は更新された全ウィンドウ配置情報を基に、透過ウィンドウを生成する。なお、APMマスタ22は、必要に応じて、例えばウィンドウ配置情報を更新するタイミングで全OSの描画システム101、201にウィンドウの配置命令を出力してもよい。描画システム201は、APM22を介してAPM12からの配置命令を受け取ることができる。
When the APM is set to the master-slave system, it operates as follows. First, an APM master is arranged in one of the OSs, and an APM slave is arranged in the other OSs. The APM master controls and manages all windows. In this example, it is assumed that an APM master is arranged in the
図4は、本実施例にかかる画像表示装置の動作を示すシーケンス図である。図5は、ウィンドウ制御方法を説明するための図である。以下では、APMをマスタ−スレーブ方式とし、異なるHWレイヤに描画されるウィンドウを合成して表示する処理について具体的に説明する。上述したように、各OSにAPMを配置し、OS21に配置されるAPMマスタ22で全GUIアプリケーションが使用するウィンドウ配置情報の管理を一括で行う。ウィンドウ配置情報は、ウィンドウが矩形ウィンドウであれば、ウィンドウの枠情報及び優先度である。また、ウィンドウが非矩形形状であれば、基底ウィンドウ情報、背景情報及び優先度などである。なお、必要に応じて優先度を書きかえる等のウィンドウ配置情報の制御を行うことも可能である。APMマスタ22は、ハードディスク等の記憶手段を利用してウィンドウ配置情報を管理する。
FIG. 4 is a sequence diagram illustrating the operation of the image display apparatus according to the present embodiment. FIG. 5 is a diagram for explaining the window control method. Hereinafter, a process of combining and displaying windows drawn on different HW layers using APM as a master-slave method will be described in detail. As described above, the APM is arranged in each OS, and the window arrangement information used by all GUI applications is collectively managed by the
APMマスタ22は、各々のOS上で動作する全GUIアプリケーションが有するウィンドウの配置情報、優先度情報などのウィンドウ配置情報をGUIアプリケーションから取得し、保有する。APMマスタ22は、APでウィンドウが生成されたタイミング、又はウィンドウが破棄されたタイミング等で、ウィンドウ配置情報を更新する。
The
Z軸制御に関しては、各描画システム101、201が保有するウィンドウに優先度(表示優先度)を設定し、優先度の高低でウィンドウの重ね合わせを決定する。図5に示す例では、矩形以外のウィンドウを有するアプリケーション102及びそれを描画する描画システム101が動作するOSをOS11とする。また、矩形ウィンドウ721、722を生成するGUIアプリケーション202、203及び描画システム201を有するOSをOS21とする。HWレイヤ71に描画されるウィンドウ711は、APM12により配置命令が生成される。HWレイヤ72に描画されるウィンドウ721、722、725は、APM22により配置命令が生成される。ここでは、HWレイヤ72がHWレイヤ71の上面に配置され、ウィンドウの表示優先度は、矩形ウィンドウ721(表示優先度15)>非矩形ウィンドウ711(表示優先度10)>矩形ウィンドウ722(表示優先度5)となっている。以下では、非矩形ウィンドウ711をHWレイヤ71に配置する場合の動作について説明する。ウィンドウ721、722、711は、それぞれAP202、203、102によって表示要求が出されるウィンドウとする。
With regard to Z-axis control, priority (display priority) is set for the windows held by each
まず、OS1でAP102を起動させる(ステップS1)。AP102は、APMスレーブ12に対して優先度10でウィンドウ711の表示を要求する(ステップS2)。すると、APMスレーブ12は、優先度10でウィンドウ711の表示要求が出されていることをOS間通信によりAPMマスタ22に通知する(ステップS3)。APMマスタ22は、ウィンドウ711のウィンドウ配置情報から、当該ウィンドウが非矩形情報であることを検知する。
First, the
本実施例においては、OS11側で動作するアプリケーションのウィンドウ生成時に、OS11側のAPM22はウィンドウの種類により最適な境界区分を選択できる。AP102は、APM22に境界区分を通知する。AP102は、矩形ウィンドウのときは、矩形を、非矩形形状のウィンドウのときは、ビットマップを境界区分として選択する。APM22が境界区分として矩形を受け取った場合、後述するスナップショット取得処理は行わない。この場合、AP102は、矩形の左上端の座標と幅/高さ情報を境界データとしてAPM22に通知する。これにより、APM22は、該当矩形領域が下のHWレイヤ71の表示を透過する透過ウィンドウを生成することができる。
In this embodiment, when generating a window for an application operating on the
なお、本実施の形態のように、上位レイヤであるHWレイヤ72を管理するAPM22がマスタとなって透過ウィンドウの制御を行えば、他方のHWレイヤに対する配置命令を生成する必要がなく、システムを簡易に構成することができる。この場合、APMスレーブ12は、同時の描画処理を実施した後、ウィンドウ配置情報をAPMマスタ22に送付するものとしてもよい。この場合、APMマスタは、送付されたウィンドウ配置情報に応じて透過ウィンドウの生成又は削除を行うものとすることができる。
If the
APM22は、境界区分としてビットマップを受け取った場合、非矩形ウィンドウ711の形状を取得するための情報をAP102から取得する。具体的には、APM22は、非矩形ウィンドウを含む矩形(基底ウィンドウ)715の矩形情報と、非矩形ウィンドウの形状を取得するための補助情報とをAP102から受け取る。また、APM12は、非矩形ウィンドウ711のスナップショット(ビットマップデータ)を撮り、共有メモリ133に保存する。共有メモリ133は、描画システム101、201からアクセス可能なメモリである。基底ウィンドウは、非矩形ウィンドウの外枠となる矩形情報である。補助情報としては、例えば、基底ウィンドウ内であって非矩形ウィンドウ以外の領域の色を示す背景色情報がある。この背景色情報を閾値としウィンドウ形状を検出することができる。さらに、補助情報としては、背景色情報の他に透過率(アルファブレンド値)を選択することができる。通常透過率は、非透過の値の±1(限りなく非透過)の値を選択する。
When the
本実施例においては、ウィンドウ711のウィンドウ配置情報として、優先度=10、閾値=125の情報と、基底ウィンドウの配置位置及び大きさ(画面左端からの距離left=100、画面最上端からの距離200、ウィンドウの幅=150、ウィンドウの高さ=150)を有している。
In this embodiment, as window layout information of the
以上の結果を基に、基底ウィンドウ715内のビットマップデータをスナップショットとして抽出する。なお、基底ウィンドウ715内に他の優先度の低いウィンドウがあった場合、APM12の情報を基に、そのウィンドウが存在する領域を、閾値の色や透過率で書き換えた形でスナップショットを抽出することも可能である。OS21側のAPM22は、スナップショットデータを境界データ(非矩形ウィンドウの輪郭情報)に変換し、保存する(ステップS4)。
Based on the above result, the bitmap data in the
次に、APMマスタ22は、ウィンドウ711のウィンドウ配置情報により、ウィンドウ配置情報を更新する(ステップS5)。APM22は、HWレイヤ71の上にHWレイヤ72が位置することから、ウィンドウ711の透過ウィンドウ725が必要になると判断することができる。本実施例においては、ウィンドウ711は、ウィンドウ721とウィンドウ722に挟まれている。なお、ウィンドウ711の基底ウィンドウがウィンドウ721、722に重複し、かつ優先度もこれらのウィンドウより小さい場合は、上記タイミングで非矩形ウィンドウの境界データを取得しなくてもよい。
Next, the
APMスレーブ12は、ウィンドウ711の生成を描画システム101に指示する(ステップS6)。一方、APMマスタ22は、上述の境界データを基に透過ウィンドウ725を作成する(ステップS7)。
The
次に、APMマスタ22は、ウィンドウ配置情報を基に描画システム201に対し、ウィンドウの再配置を行うよう指示する。新たなウィンドウが加わったり、ウィンドウの表示順序が変更になるなどがあればウィンドウの配置を更新する。APMマスタ22は、また配置情報に基づきウィンドウの再配置要求をAPMスレーブ12に送信する(ステップS9)。APMスレーブ12は、これに基づき描画システム101にウィンドウの再配置を命令する(ステップS10)。描画システム101は、必要に応じてウィンドウの表示順序等を変更する。最後に、APMスレーブ12の指示により、描画システム101がウィンドウ711を含むHWレイヤ71のウィンドウを表示させる(ステップS11)。また、APMマスタ22の指示により、描画システム201が透過ウィンドウ725を含むHWレイヤ72のウィンドウを表示する(ステップS12)。
Next, the
こうしてAPMマスタ22の配置命令に従って生成されたHWレイヤ71、72がLCDC3により合成される。そのLCD表示画面41には、ウィンドウ711、ウィンドウ712と、ウィンドウ722内に透過ウィンドウを介してウィンドウ722が表示されることになる(図5参照)。
Thus, the HW layers 71 and 72 generated in accordance with the placement instruction of the
ここで、OS11側のウィンドウ711を移動した場合、APM間通信を行い、差分情報をAPMマスタ22に通知する。差分情報及び境界データを基にAPMマスタ22は、透過ウィンドウ及び境界データ値の修正を行う。例えば、非矩形ウィンドウ711が2ドット左に移動する場合、APMマスタ22は、境界データと差分情報を基に計算し、透過ウィンドウ725として扱う領域及び境界データの修正を行えばよい。
Here, when the
また、ウィンドウ生成時に、同一描画システム内に優先度が高いウィンドウがあり、ウィンドウ領域の一部が隠れてしまう場合、生成中のウィンドウは、一時的にVRAM内のHWレイヤに割り当てられていない領域(以下、退避領域70という)に非矩形ウィドウを移動し、スナップショットの抽出を行う。ウィンドウ生成時のスナップショット抽出後は、自由に上記の背景色や透過率を変えることが可能である。ウィンドウの一部が他のウィンドウで隠れてしまう場合であっても、非矩形の場合は、当該非矩形ウィンドウの形状を抽出しておく。このことで、当該非矩形ウィンドウが移動して、全体が露出されるような場合であっても、再度非矩形ウィンドウの形状情報を取得することなく処理を行うことができる。 In addition, when a window has a high priority in the same drawing system and a part of the window area is hidden when the window is generated, the window being generated is an area that is not temporarily assigned to the HW layer in the VRAM. The non-rectangular window is moved to the save area 70 (hereinafter referred to as the save area 70), and the snapshot is extracted. After the snapshot is extracted at the time of window generation, the above background color and transmittance can be freely changed. Even if a part of the window is hidden by another window, if it is non-rectangular, the shape of the non-rectangular window is extracted. Thus, even when the non-rectangular window is moved and exposed as a whole, the processing can be performed without acquiring shape information of the non-rectangular window again.
さらに、APMマスタ22は、共有メモリ133に蓄えられたスナップショット情報から境界追跡を行い、境界データを抽出しOS21側のメモリVRAM52に保存する。スナップショット抽出及びOS21側の境界追跡処理は、基本的にウィンドウ生成時だけ必要である。その後は差分情報だけ取り扱うようにすることにより、システムに対して負担をかけない。
Further, the
図6は、スナップショットデータから境界データに変換する方法を説明する図である。境界データは、規定ウィンドウの左上端を起点とした相対座標で表現する。X軸は右方向、Y軸は下方向にいくほど値が大きくなるものとする。上述の例では、APMマスタ22は、透過ウィンドウ725として扱う領域を、境界データを基に計算し、ディスプレイに表示する。境界データは、例えばY=0〜6についてX=(最左端、最右端)で表現することができる。
FIG. 6 is a diagram illustrating a method for converting snapshot data into boundary data. The boundary data is expressed in relative coordinates starting from the upper left corner of the specified window. It is assumed that the value increases as the X axis moves to the right and the Y axis moves downward. In the above-described example, the
ここで、境界データからの透過ウィンドウ725の抽出処理には複雑なアルゴリズムを使用しないため、高速な透過ウィンドウ725の描画が可能である。OS11側のアプリケーションが移動した場合には、差分情報のみがOS21側に送られる。
Here, since the extraction process of the
次に、境界データを抽出する他の方法について説明する。図7は、非矩形ウィンドウの境界データを抽出する方法を説明する図である。図7(a)に示すように、命令生成部222は、特定画像802を含む基底ウィンドウ801の上下左右方向から、背景情報(背景値)を閾値として各画素値が背景値であるか否かの判定を行うことで、特定画像802の輪郭を検出する。例えば、命令生成部222は、最左側一列について、各画素が背景値に一致するか否かを判定する。本例においては、上端から一致判定していくと、画素811のみ、当該画素値が背景値と異なることが検出され、当該画素811が輪郭であることが検出される。次に、反対側の最右列について、各画素が背景値に一致するかを判定する。本例では、画素812のみが背景値と一致し、画素812が輪郭であることが検出される。さらに、上端の一列について、各画素が背景値に一致するかを判定すると、画素813が検出される。最後に、最下端の一列について、各画素が背景値に一致するかを判定すると、画素814、815の2点が検出される。以上を繰り返すことで、特定画像802の境界データを検出することができる。なお、いずれの列から一致判定してもよい。
Next, another method for extracting boundary data will be described. FIG. 7 is a diagram illustrating a method for extracting boundary data of a non-rectangular window. As illustrated in FIG. 7A, the
または、図7(b)に示すように、命令生成部222は、背景情報を閾値として特定画像822を含む基底ウィンドウ821内を探索して特定画像821の輪郭を構成する任意の点831を検出する。そして、命令生成部222は、当該点831を起点として周囲の画素値を閾値判定することで特定画像822の輪郭を検出することができる。例えば、基底ウィンドウの中心を通る水平方向、垂直方向の各一列について調べることで、基底ウィンドウ内の輪郭を何点か起点として検出する。なお、本例では、水平方向の画素値を背景値と比較することで、起点831〜834を検出し、これらの起点831〜834の周囲(例えば8近傍)の画素値を背景値と比較し、輪郭が再度検出されたら、さらにその8近傍の画素値を背景値と比較するなどすればよい。
Alternatively, as illustrated in FIG. 7B, the
本実施例においては、複数のOSの描画システムがそれぞれのHWレイヤに描画するウィンドウを、透過ウィンドウを使用して重ね合わせることができる。この場合、基底ウィンドウ及び背景情報を使用して、透過ウィンドウを生成するため、情報のやりとりが少なくてよい。また、非矩形ウィンドウやウィンドウの一部が透過している場合でも、共有メモリ133を用いたスナップショット抽出方法及び境界データを用いた描画処理により、システムに負担をかけず各OSの特長を生かした描画が可能になる。この機能は、組込み系のGUIシステム等で特に効果を発揮する。
In this embodiment, windows drawn by the drawing systems of a plurality of OSs on the respective HW layers can be overlapped using transparent windows. In this case, since the transparent window is generated using the base window and the background information, the exchange of information may be small. Even when a non-rectangular window or a part of the window is transparent, the snapshot extraction method using the shared
なお、本発明は上述した実施例のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.
例えば、上述の実施例では、ハードウェアの構成として説明したが、これに限定されるものではなく、任意の処理を、CPUにコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、記録媒体に記録して提供することも可能であり、また、インターネットその他の伝送媒体を介して伝送することにより提供することも可能である。 For example, in the above-described embodiments, the hardware configuration has been described. However, the present invention is not limited to this, and any processing can be realized by causing the CPU to execute a computer program. In this case, the computer program can be provided by being recorded on a recording medium, or can be provided by being transmitted via the Internet or another transmission medium.
10 ウィンドウ生成部
11、21 OS
12、22 APM
101、201 描画システム
102、202 アプリケーション
20 ウィンドウ生成部
41 表示画面
70 退避領域
71、72 HWレイヤ
100 画像表示装置
121 情報取得部
122 配置命令生成部
133 共有メモリ
711、712、715、721、722、725 ウィンドウ
10
12, 22 APM
101, 201
Claims (16)
前記管理部は、
合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得部と、
第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成部と、を有し、
前記情報取得部は、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得する画像表示システム。 When image information of an image drawn on each of the plurality of display layers to be combined is acquired and the display order of the first display layer is lower than that of the second display layer, the first and An image drawn on the first display layer to be displayed when the second display layer is synthesized is detected as a specific image, and a transparent image for displaying the specific image is generated on the second display layer. Have a management department,
The management unit
An information acquisition unit that acquires an arrangement position and display priority information of an image drawn on each of the plurality of display layers to be combined from an image generation unit corresponding to each display layer;
When the display order of the first display layer is lower than that of the second display layer and the shape of the specific image is a non-rectangular shape, the first and second displays are based on the arrangement information and the display priority information. An instruction generation unit that detects an image drawn on the first layer to be displayed at the time of layer synthesis as the specific image, and generates a transparent image for displaying the specific image on the second display layer; Have
When the shape of the specific image is a non-rectangular shape, the information acquisition unit acquires rectangular information including the specific image and background information for identifying the specific image and other regions as the image information. image display system that.
ことを特徴とする請求項1記載の画像表示システム。 The management unit is a non-rectangular first image drawn on the first display layer based on the arrangement information and the display priority information, and a second image drawn on the second display layer the image display system according to claim 1, wherein the positions overlap and the display priority information and detecting high image than display priority of the second image as the specific image and.
ことを特徴とする請求項1又は2項記載の画像表示システム。 The instruction generation unit, an image display system according to claim 1 or 2 wherein wherein detecting the contour of the specific image the background information as a threshold.
ことを特徴とする請求項1乃至3のいずれか1項記載の画像表示システム。 The command generation unit detects an outline of the specific image by determining whether each pixel value is a background with the background information as a threshold value from the top, bottom, left, and right of a rectangular region including the specific image. The image display system according to any one of claims 1 to 3 .
ことを特徴とする請求項1乃至3のいずれか1項記載の画像表示システム。 The command generation unit searches for a rectangular region including the specific image using the background information as a threshold, detects an arbitrary point constituting the outline of the specific image, and determines a surrounding pixel value as a threshold from the point the image display system of any one of claims 1 to 3, characterized in that for detecting the contour of the specific image by.
ことを特徴とする請求項1乃至5のいずれか1項記載の画像表示システム。 Said plurality of display layers, was synthesized in accordance with a predetermined display order, any one of claims 1 to 5, characterized in further comprises a combining unit which generates a single screen information to be displayed on the display unit The image display system described.
ことを特徴とする請求項1乃至6のいずれか1項記載の画像表示システム。 The transmitted image may be generated as information for erasing the image information of the corresponding section of the display layer, or any one of claims 1 to 6 transmission bits is characterized in that the image information set 1 The image display system according to item.
ことを特徴とする請求項1乃至7のいずれか1項記載の画像表示システム。 It has 1st and 2nd management part which manages the image displayed on the said 1st and 2nd display layer, respectively, The said 1st and 2nd management part operate | moves on different OS, respectively The image display system according to any one of claims 1 to 7 .
ことを特徴とする請求項8記載の画像表示システム。 The first and second management units are provided corresponding to the first and second management units and draw images on the first and second display layers in accordance with instructions generated by the first and second management units. 9. The image display system according to claim 8 , further comprising an image generation unit, wherein the first and second image generation units operate on different OSs.
ことを特徴とする請求項1乃至9のいずれか1項記載の画像表示システム。 The image display system of any one of claims 1 to 9, wherein the image drawn on the display layer is the window.
合成される複数の表示レイヤのそれぞれに描画される画像の画像情報を取得し、第1の表示レイヤが第2の表示レイヤより表示順位が低い場合において、前記画像情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1の表示レイヤに描画される画像を特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる管理工程を有し、
前記管理工程は、
合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得工程と、
第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成工程とを含み、
前記情報取得工程では、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得するプログラム。 A program for causing a computer to execute a predetermined operation,
When image information of an image drawn on each of the plurality of display layers to be combined is acquired and the display order of the first display layer is lower than that of the second display layer, the first and An image drawn on the first display layer to be displayed when the second display layer is synthesized is detected as a specific image, and a transparent image for displaying the specific image is generated on the second display layer. Has a management process,
The management process includes
An information acquisition step of acquiring an arrangement position and display priority information of an image drawn on each of the plurality of display layers to be combined from an image generation unit corresponding to each display layer;
When the display order of the first display layer is lower than that of the second display layer and the shape of the specific image is a non-rectangular shape, the first and second displays are based on the arrangement information and the display priority information. A command generation step of detecting an image drawn on the first layer to be displayed at the time of layer synthesis as the specific image, and generating a transparent image for displaying the specific image in the second display layer; Including
In the information acquisition step, when the shape of the specific image is a non-rectangular shape, rectangular information including the specific image and background information for identifying the specific image and other regions are acquired as the image information. program to be.
ことを特徴とする請求項11記載のプログラム。 In the management step, a non-rectangular first image drawn on the first display layer based on the arrangement information and the display priority information, and a second image drawn on the second display layer 12. The program according to claim 11 , wherein an image whose arrangement position overlaps and whose display priority information is higher than the display priority of the second image is detected as the specific image.
ことを特徴とする請求項11又は12項記載のプログラム。 The program according to claim 11 or 12, wherein, in the command generation step, an outline of the specific image is detected using the background information as a threshold value.
前記管理工程は、
合成される複数の表示レイヤのそれぞれに描画される画像の配置位置及び表示優先情報を各表示レイヤに対応する画像生成部から取得する情報取得工程と、
第1の表示レイヤが第2の表示レイヤより表示順位が低く、前記特定画像の形状が非矩形形状である場合において、前記配置情報及び前記表示優先情報に基づき、前記第1及び第2の表示レイヤの合成時に表示されるべき前記第1のレイヤに描画される画像を前記特定画像として検出し、該特定画像を表示させるための透過画像を前記第2の表示レイヤに生成させる命令生成工程とを含み、
前記情報取得工程では、前記特定画像の形状が非矩形形状である場合、当該特定画像を含む矩形情報、及び当該特定画像と他の領域とを識別するための背景情報を、前記画像情報として取得する画像表示方法。 When image information of an image drawn on each of the plurality of display layers to be combined is acquired and the display order of the first display layer is lower than that of the second display layer, the first and An image drawn on the first display layer to be displayed when the second display layer is synthesized is detected as a specific image, and a transparent image for displaying the specific image is generated on the second display layer. Has a management process,
The management process includes
An information acquisition step of acquiring an arrangement position and display priority information of an image drawn on each of the plurality of display layers to be combined from an image generation unit corresponding to each display layer;
When the display order of the first display layer is lower than that of the second display layer and the shape of the specific image is a non-rectangular shape, the first and second displays are based on the arrangement information and the display priority information. A command generation step of detecting an image drawn on the first layer to be displayed at the time of layer synthesis as the specific image, and generating a transparent image for displaying the specific image in the second display layer; Including
In the information acquisition step, when the shape of the specific image is a non-rectangular shape, rectangular information including the specific image and background information for identifying the specific image and other regions are acquired as the image information. image display method.
ことを特徴とする請求項14記載の画像表示方法。 In the management step, a non-rectangular first image drawn on the first display layer based on the arrangement information and the display priority information, and a second image drawn on the second display layer The image display method according to claim 14 , wherein an image whose arrangement position overlaps and whose display priority information is higher than the display priority of the second image is detected as the specific image.
ことを特徴とする請求項14又は15項記載の画像表示方法。 16. The image display method according to claim 14, wherein in the command generation step, an outline of the specific image is detected using the background information as a threshold value.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007334855A JP4780101B2 (en) | 2007-12-26 | 2007-12-26 | Image display system, image display method, and program |
| PCT/JP2008/069132 WO2009081650A1 (en) | 2007-12-26 | 2008-10-22 | Image display system, image display method, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007334855A JP4780101B2 (en) | 2007-12-26 | 2007-12-26 | Image display system, image display method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009157077A JP2009157077A (en) | 2009-07-16 |
| JP4780101B2 true JP4780101B2 (en) | 2011-09-28 |
Family
ID=40800966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007334855A Expired - Fee Related JP4780101B2 (en) | 2007-12-26 | 2007-12-26 | Image display system, image display method, and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP4780101B2 (en) |
| WO (1) | WO2009081650A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110119454A1 (en) * | 2009-11-17 | 2011-05-19 | Hsiang-Tsung Kung | Display system for simultaneous displaying of windows generated by multiple window systems belonging to the same computer platform |
| JP2012044400A (en) * | 2010-08-18 | 2012-03-01 | Furuno Electric Co Ltd | Superimposed image generation apparatus, and superimposed image display apparatus having the same |
| FR2964236B1 (en) | 2010-08-31 | 2012-08-17 | Thales Sa | DEVICE AND METHOD FOR GENERATING VARIABLE PRIORITY MULTIFERENCE IMAGES |
| BR112013020899A2 (en) | 2011-02-17 | 2016-09-27 | Saab Ab | display system and method for interaction between an operator and at least one vehicle subsystem |
| WO2014062102A1 (en) * | 2012-10-15 | 2014-04-24 | Saab Ab | Flexible display system |
| EP3743802B1 (en) * | 2018-05-07 | 2024-01-24 | Huawei Technologies Co., Ltd. | A method and an apparatus for display contents generation |
| US11107445B2 (en) * | 2019-09-13 | 2021-08-31 | Canon Medical Systems Corporation | Network centric windowing system for integration and display of visual data from networked sources |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6315285A (en) * | 1986-07-07 | 1988-01-22 | 株式会社リコー | Display unit having multiwindow display function |
| US5351067A (en) * | 1991-07-22 | 1994-09-27 | International Business Machines Corporation | Multi-source image real time mixing and anti-aliasing |
| JPH08297481A (en) * | 1995-04-27 | 1996-11-12 | Toshiba Corp | Graphic image display |
| JP2000149026A (en) * | 1998-11-16 | 2000-05-30 | Dainippon Printing Co Ltd | Image trimming device |
| JP4615702B2 (en) * | 2000-12-15 | 2011-01-19 | 三菱電機株式会社 | Output data control device |
| JP2002229540A (en) * | 2001-01-31 | 2002-08-16 | Mitsubishi Electric Corp | Data broadcast display system |
| JP2005123775A (en) * | 2003-10-15 | 2005-05-12 | Sony Corp | REPRODUCTION DEVICE, REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND RECORDING MEDIUM |
| JP2006098935A (en) * | 2004-09-30 | 2006-04-13 | Matsushita Electric Ind Co Ltd | Video graphics display |
-
2007
- 2007-12-26 JP JP2007334855A patent/JP4780101B2/en not_active Expired - Fee Related
-
2008
- 2008-10-22 WO PCT/JP2008/069132 patent/WO2009081650A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| WO2009081650A1 (en) | 2009-07-02 |
| JP2009157077A (en) | 2009-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4780101B2 (en) | Image display system, image display method, and program | |
| EP2893529B1 (en) | Method and device for selective display refresh | |
| JP5045428B2 (en) | Image display system, image display method, and program | |
| WO2019181263A1 (en) | Information processing device, information processing method, and program | |
| JPWO2012176926A1 (en) | Information processing apparatus, information processing system, server, information processing method, and computer program | |
| WO2020213379A1 (en) | Vehicular device, and control method for vehicular device | |
| CN101154150A (en) | Method for capturing computer screen image | |
| US8441523B2 (en) | Apparatus and method for drawing a stereoscopic image | |
| US12020343B2 (en) | Vehicle device and vehicle device control method | |
| US9619126B2 (en) | Computer-readable non-transitory storage medium with image processing program stored thereon, element layout changed material generating device, image processing device, and image processing system | |
| US20160216839A1 (en) | Display device and electronic device including the same | |
| JPH06259217A (en) | Multiwindow system | |
| JP5229727B2 (en) | Multi-image display system, image processing method and program | |
| JP2004318269A (en) | Image display device, image display method, and image display system | |
| JP2010176608A (en) | Drawing processing apparatus | |
| JP2009301269A (en) | Software input key display method, program, and information processing terminal | |
| US20070200868A1 (en) | Image synthesizing device | |
| JP2020177074A (en) | Vehicle equipment, control method of vehicle equipment | |
| JP2020177073A (en) | Vehicle equipment, control method of vehicle equipment | |
| CN121833108A (en) | Virtual window management methods, systems and media | |
| JP2013097129A (en) | Image display apparatus | |
| JPH11119762A (en) | Display control device, display control method, and storage medium | |
| JP2013047759A (en) | Display device and program | |
| JP2020148991A (en) | Display device, display system and display method | |
| JPS62192877A (en) | Graphic display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110322 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110513 |
|
| 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: 20110607 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110620 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140715 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |