[go: up one dir, main page]

JP5852876B2 - Display system and display program - Google Patents

Display system and display program Download PDF

Info

Publication number
JP5852876B2
JP5852876B2 JP2011280480A JP2011280480A JP5852876B2 JP 5852876 B2 JP5852876 B2 JP 5852876B2 JP 2011280480 A JP2011280480 A JP 2011280480A JP 2011280480 A JP2011280480 A JP 2011280480A JP 5852876 B2 JP5852876 B2 JP 5852876B2
Authority
JP
Japan
Prior art keywords
unit
erasing
graphic
color
touch operation
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.)
Active
Application number
JP2011280480A
Other languages
Japanese (ja)
Other versions
JP2013131066A (en
Inventor
博史 西畑
博史 西畑
紀代一 田中
紀代一 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2011280480A priority Critical patent/JP5852876B2/en
Publication of JP2013131066A publication Critical patent/JP2013131066A/en
Application granted granted Critical
Publication of JP5852876B2 publication Critical patent/JP5852876B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

本発明は、表示システムおよび表示プログラムに関する。   The present invention relates to a display system and a display program.

近年、画像を表示するための表示装置を備え、表示画面に対してタッチ操作を行うことで、そのタッチ操作に応じて点や線などの図形を表示画面に描画する、電子黒板などの表示システムが普及しつつある。   In recent years, a display system such as an electronic blackboard that includes a display device for displaying an image and draws figures such as dots and lines on the display screen according to the touch operation by performing a touch operation on the display screen. Is spreading.

電子黒板などの表示システムにおいて、描き間違った図形を消去したい場合、一般的に、表示画面に表示されるツールバー内の消しゴムアイコンを選択し、消しゴムを使うときのように、その図形全体をなぞるタッチ操作を行う必要がある。しかしながら、消去したい図形が大きい場合は、図形全体をなぞるのは大変である。   When you want to erase an incorrect figure drawn on a display system such as an electronic blackboard, generally select the eraser icon in the toolbar displayed on the display screen, and then touch the entire figure like when using the eraser. It is necessary to perform an operation. However, if the figure to be erased is large, it is difficult to trace the whole figure.

このような問題を解決する装置として、特許文献1,2には、消去したい図形を囲むタッチ操作を行うことで、その図形を消去対象の図形として認識し、認識した状態で特定の操作を行うことにより、消去対象の図形を消去することができる装置が記載されている。   As an apparatus for solving such a problem, Patent Documents 1 and 2 recognize a figure as a figure to be erased by performing a touch operation surrounding the figure to be erased, and perform a specific operation in the recognized state. Thus, an apparatus capable of erasing a graphic to be erased is described.

特開平8−221199号公報JP-A-8-221199 特開平7−160827号公報Japanese Patent Laid-Open No. 7-160827

特許文献1,2に記載の装置において、上記のように図形を囲むタッチ操作を行うことでその図形を消去するモードのときには、「◎」や「あ」などの図形をタッチ操作によって描画することができないという課題がある。   In the devices described in Patent Documents 1 and 2, when in a mode in which the figure is erased by performing a touch operation surrounding the figure as described above, a figure such as “◎” or “A” is drawn by the touch operation. There is a problem that cannot be done.

たとえば、◎の場合、小さな丸を描画した後に大きな丸を描画するのが一般的であるが、このような順序でタッチ操作を行うと、小さな丸が消去対象の図形として認識されるとともに、大きな丸が消去範囲を規定する線として認識され、大きな丸は描画されなくなってしまう。また、「あ」の場合、2画目の線の一部が、3画目の線によって囲まれるので、正しい書き順でタッチ操作を行うと、2画目の線の一部が消去対象の図形として認識されるとともに、3画目の線が消去範囲を規定する線として認識され、3画目の線は描画されなくなってしまう。   For example, in the case of ◎, it is common to draw a large circle after drawing a small circle. However, when touch operations are performed in this order, the small circle is recognized as a figure to be erased and a large circle is drawn. A circle is recognized as a line defining the erasure range, and a large circle is not drawn. In addition, in the case of “A”, a part of the line of the second stroke is surrounded by the line of the third stroke. In addition to being recognized as a graphic, the line in the third stroke is recognized as a line that defines the erase range, and the line in the third stroke is not drawn.

本発明は、上述した課題を解決するためのものであり、表示画面への図形の描画および消去に関して、ユーザフレンドリーな表示システムおよび表示プログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a user-friendly display system and display program for drawing and erasing a figure on a display screen.

本発明は、表示画面を有する表示部と、
前記表示画面に対するタッチ操作が行われたときに、そのタッチ操作の、前記表示画面に関する位置情報を取得するタッチパネル部と、
前記表示部を制御する制御部であって、
前記位置情報に従って前記表示画面に図形を描画する図形描画部と、
前記表示画面に描画された図形が閉領域を規定する図形であるか否かを判断する閉領域判断部と、
前記閉領域中に既に他の図形が描画されていたときに、この他の図形を消去対象として認識する消去対象認識部と、
前記消去対象認識部が消去対象を認識したときに前記閉領域中の色を変更する色変更部と、
前記消去対象認識部が消去対象を認識した時点からの経過時間を測定する時間測定部と、
前記時間測定部によって測定された経過時間が予め定められる特定の時間以内であり、かつ、前記閉領域に対して予め定められる特定のタッチ操作が行われたときに、前記他の図形および前記閉領域を規定する図形を消去する図形消去部と、
前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記他の図形に対する前記消去対象認識部の認識状態を解除する認識解除部とを含む制御部とを備えることを特徴とする表示システムである。
The present invention includes a display unit having a display screen;
When a touch operation is performed on the display screen, a touch panel unit that acquires position information regarding the display screen of the touch operation;
A control unit for controlling the display unit,
A figure drawing unit for drawing a figure on the display screen according to the position information;
A closed region determination unit that determines whether or not the graphic drawn on the display screen is a graphic that defines a closed region;
When another figure has already been drawn in the closed region, an erasure object recognition unit that recognizes the other figure as an erasure object;
A color changing unit that changes a color in the closed region when the erasing target recognition unit recognizes an erasing target;
A time measuring unit that measures an elapsed time from the time when the erasing object recognition unit recognizes the erasing object; and
When the elapsed time measured by the time measuring unit is within a predetermined time and a predetermined touch operation is performed on the closed region, the other figure and the closed A figure erasing unit for erasing the figure defining the area;
When the elapsed time measured by the time measuring unit exceeds the predetermined time, and the erasing by the graphic erasing unit is not performed, the recognition state of the erasing object recognition unit for the other graphic And a control unit including a recognition canceling unit for canceling the display.

また本発明は、前記色変更部は、前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記閉領域中の変更後の色を変更前の色に戻すことを特徴とする。 Further, the present invention provides that the color changing unit is closed when the elapsed time measured by the time measuring unit exceeds the predetermined time and the erasing by the graphic erasing unit is not performed. and wherein the score back color after the change in the region before the change color.

また本発明は、前記色変更部は、前記閉領域中の色を変更する際、前記閉領域中の前記消去対象の図形以外の部分の色を変更することを特徴とする。   In the invention, it is preferable that the color changing unit changes a color of a portion other than the figure to be erased in the closed region when the color in the closed region is changed.

また本発明は、前記色変更部は、前記図形消去部による消去が行われたときに、前記閉領域中の前記変更後の色を前記変更前の色に戻すことを特徴とする。   In the invention, it is preferable that the color changing unit returns the color after the change in the closed region to the color before the change when the graphic erasing unit performs erasure.

また本発明は、前記色変更部は、前記時間測定部によって測定された経過時間が前記予め定められる特定の時間に近づくにつれて、前記閉領域中の前記変更後の色を徐々に前記変更前の色に近づけることを特徴とする。   Further, according to the present invention, as the elapsed time measured by the time measuring unit approaches the predetermined time, the color changing unit gradually changes the color after the change in the closed region before the change. It is close to the color.

また本発明は、表示画面を有する表示部と、
前記表示画面に対するタッチ操作が行われたときに、そのタッチ操作の、前記表示画面に関する位置情報を取得するタッチパネル部と、
前記表示部を制御する制御部であって、
前記位置情報に従って前記表示画面に図形を描画する図形描画部と、
前記表示画面に描画された図形が閉領域を規定する図形であるか否かを判断する閉領域判断部と、
前記閉領域中に既に他の図形が描画されていたときに、この他の図形を消去対象として認識する消去対象認識部と、
前記消去対象認識部が消去対象を認識した時点からの経過時間を測定する時間測定部と、
前記時間測定部によって測定された経過時間が予め定められる特定の時間以内であり、かつ、前記閉領域に対して予め定められる特定のタッチ操作が行われたときに、前記他の図形および前記閉領域を規定する図形を消去する図形消去部と、
前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記他の図形に対する前記消去対象認識部の認識状態を解除する認識解除部と、を含む制御部とを備え、
前記予め定められる特定のタッチ操作は、前記閉領域を規定する境界線の一点と、前記閉領域中の点と、前記境界線の他の一点とを通る直線状のタッチ操作であることを特徴とする表示システムである
The present invention also includes a display unit having a display screen;
When a touch operation is performed on the display screen, a touch panel unit that acquires position information regarding the display screen of the touch operation;
A control unit for controlling the display unit,
A figure drawing unit for drawing a figure on the display screen according to the position information;
A closed region determination unit that determines whether or not the graphic drawn on the display screen is a graphic that defines a closed region;
When another figure has already been drawn in the closed region, an erasure target recognition unit that recognizes the other figure as an erasure target;
A time measuring unit that measures an elapsed time from the time when the erasing object recognition unit recognizes the erasing object; and
When the elapsed time measured by the time measuring unit is within a predetermined time and a predetermined touch operation is performed on the closed region, the other figure and the closed A figure erasing unit for erasing the figure defining the area;
When the elapsed time measured by the time measuring unit exceeds the predetermined time, and the erasing by the graphic erasing unit is not performed, the recognition state of the erasing object recognition unit for the other graphic A recognition cancellation unit for canceling
The predetermined specific touch operation is a linear touch operation that passes through one point of a boundary line defining the closed region, a point in the closed region, and another point of the boundary line. It is a display system .

また本発明は、タッチパネル部および表示部を備えるコンピュータを、前記表示システムとして機能させることを特徴とする表示プログラムである。   In addition, the present invention is a display program that causes a computer including a touch panel unit and a display unit to function as the display system.

本発明によれば、ある図形を描画した後に、その図形を囲む図形を描画することで、ある図形を消去対象にすることができる。そして、ある図形が消去対象となってから特定の時間内に特定のタッチ操作を行うことで、消去対象の図形およびその消去対象の図形を囲む図形を消去することができる。また、ある図形が消去対象となってから特定の時間内に特定のタッチ操作を行わないことで、消去対象の図形を囲む図形を、表示画面上に残すことができる。このように、モードの変更を行うことなく図形の描画も消去も可能な、ユーザフレンドリーな表示システムを提供することができる。   According to the present invention, after drawing a certain figure, a figure surrounding the figure can be drawn, so that the certain figure can be an erasure target. Then, by performing a specific touch operation within a specific time after a certain graphic becomes an erasure target, it is possible to erase the graphic to be erased and the graphic surrounding the graphic to be erased. In addition, by not performing a specific touch operation within a specific time after a certain graphic is to be erased, a graphic surrounding the graphic to be erased can be left on the display screen. In this way, a user-friendly display system that can draw and erase graphics without changing the mode can be provided.

た、ある図形を描画した後に、その図形を囲む図形を描画すると、囲まれている部分の色が変更される。これによって、消去対象となっている箇所を報知することができる。
また本発明によれば、閉領域中の消去対象の図形以外の色が変更される。
Also, after drawing a certain shape, the draw shapes surrounding the figure, the color of the portion surrounded is changed. As a result, it is possible to notify the location that is to be erased.
Further, according to the present invention, colors other than the graphic to be erased in the closed region are changed.

また本発明によれば、消去対象の図形が消去されるときに、閉領域中の消去対象の図形以外の色が、変更後の色から変更前の色に戻る。   Further, according to the present invention, when the graphic to be erased is erased, the color other than the graphic to be erased in the closed region returns from the color after the change to the color before the change.

また本発明によれば、変更された色が徐々に元の色に戻るので、特定の時間が経過しようとしていることを報知することができる。
また本発明によれば、直感的なタッチ操作で、消去対象の図形を消去することができる。
Further, according to the present invention, the changed color gradually returns to the original color, so that it can be notified that a specific time is about to elapse.
Further, according to the present invention, it is possible to erase a graphic to be erased by an intuitive touch operation.

また本発明によれば、タッチパネル部および表示部を備えるコンピュータを前記表示システムとして機能させる表示プログラムを提供することができる。   Moreover, according to this invention, the display program which makes a computer provided with a touchscreen part and a display part function as the said display system can be provided.

表示システム1の外観を示す模式図である。1 is a schematic diagram showing an appearance of a display system 1. FIG. 表示システム1の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a display system 1. FIG. ループの検出の例を示す図である。It is a figure which shows the example of a detection of a loop. 消去対象の図形の認識の例を示す図である。It is a figure which shows the example of recognition of the figure of erasure | elimination object. 図形消去部135によって図形が消去される様子を示す図である。It is a figure which shows a mode that a figure is erase | eliminated by the figure deletion part 135. FIG. 消去対象認識部133による消去対象の認識前の処理を示す図である。It is a figure which shows the process before the recognition of the erasure | elimination object by the erasure | elimination object recognition part 133. FIG. 消去対象認識部133による消去対象の認識後の処理を示す図である。It is a figure which shows the process after recognition of the erasure | elimination object by the erasure | elimination object recognition part 133. FIG.

以下に、本発明の実施形態の1つである表示システム1について説明する。図1は、表示システム1の外観を示す模式図である。表示システム1は、たとえば、縦100cm、横150cm程度の略矩形状の表示画面111を有する電子黒板であり、タッチ操作が行われたときに、そのタッチ操作に対応する図形を、画像として表示画面111に表示する。   Below, the display system 1 which is one of the embodiment of this invention is demonstrated. FIG. 1 is a schematic diagram showing an appearance of the display system 1. The display system 1 is an electronic blackboard having, for example, a substantially rectangular display screen 111 having a length of about 100 cm and a width of about 150 cm. When a touch operation is performed, a graphic corresponding to the touch operation is displayed as an image on the display screen 1. 111.

ここで、タッチ操作とは、表示画面111への押圧が開始されてから押圧が終了されるまでの一連の操作である。たとえば、ユーザが、手指やスタイラスなどで表示画面111を押圧し、押圧したまま押圧箇所をスライド移動させ、手指やスタイラスなどを表示画面111から離間させる一連の操作である。また、タッチ操作に対応する図形とは、より詳細には、タッチ操作による押圧箇所に対応する図形であり、たとえば、タッチ操作において押圧箇所がライン状に移動する場合、その移動する押圧箇所の軌跡を表した図形であり、この場合、タッチ操作の軌跡を表した図形はライン状となる。   Here, the touch operation is a series of operations from the start of pressing on the display screen 111 to the end of pressing. For example, a series of operations in which the user presses the display screen 111 with a finger or a stylus, slides the pressed portion while pressing, and moves the finger or stylus away from the display screen 111. In addition, the figure corresponding to the touch operation is more specifically a figure corresponding to the pressed location by the touch operation. For example, when the pressed location moves in a line shape in the touch operation, the locus of the pressed location to move. In this case, the graphic representing the trajectory of the touch operation is a line shape.

上記のようにタッチ操作に対応する図形を画像として表示する公知のシステムとしては、従来公知のPCと、タッチパネル一体型ディスプレイPN−L600B(シャープ株式会社製)などの表示装置とから構成されるシステムを挙げることができる。本実施形態は、このようなシステムに、後述する各部131〜139の機能を発揮させるためのプログラムである表示プログラムを記憶させたものである。なお、本発明の他の実施形態としては、後述する各部131〜139の機能をそれぞれ発揮するIC(Integrated Circuit)チップを備える表示装置であってもよい。また、本発明に係る表示システムは、電子黒板ではなく、携帯可能なタブレットPC(Personal Computer)であってもよい。   As a known system for displaying a graphic corresponding to a touch operation as an image as described above, a system including a conventionally known PC and a display device such as a touch panel integrated display PN-L600B (manufactured by Sharp Corporation). Can be mentioned. In the present embodiment, a display program, which is a program for causing the functions of the units 131 to 139 to be described later, to be stored in such a system is stored. In addition, as other embodiment of this invention, a display apparatus provided with IC (Integrated Circuit) chip which each exhibits the function of each part 131-139 mentioned later may be sufficient. The display system according to the present invention may be a portable tablet PC (Personal Computer) instead of the electronic blackboard.

図2は、表示システム1の構成を示すブロック図である。表示システム1は、表示部11と、タッチパネル部12と、制御部13とを備える。   FIG. 2 is a block diagram illustrating a configuration of the display system 1. The display system 1 includes a display unit 11, a touch panel unit 12, and a control unit 13.

表示部11は、たとえば、液晶ディスプレイ、EL(ElectroLuminescence)ディスプレイ、プラズマディスプレイなどであり、表示画面111に画像を表示する。なお、本発明の他の実施形態としては、表示部11が、スクリーンを表示画面111として、その表示画面111に画像を投影するプロジェクタであってもよい。   The display unit 11 is, for example, a liquid crystal display, an EL (ElectroLuminescence) display, a plasma display, and the like, and displays an image on the display screen 111. As another embodiment of the present invention, the display unit 11 may be a projector that uses a screen as the display screen 111 and projects an image on the display screen 111.

タッチパネル部12は、投影型静電容量方式タッチパネル、抵抗膜方式タッチパネル、赤外線遮断検出方式タッチパネルなどから構成され、タッチ操作が行われると、表示画面111に対するタッチ操作が行われた位置を示す情報、すなわちタッチ操作により押圧された箇所を示す位置情報を取得する。タッチ操作により押圧される箇所はスタイラスやユーザの指の大きさの連続する領域となるので、位置情報は、より詳細には、その領域の代表位置、たとえば図心位置を示す情報として取得される。なお、本実施形態では、タッチパネル部12は、離間した2つ以上の領域が押圧されるときに、それぞれの領域に対応する位置情報を取得可能な、いわゆるマルチタッチ操作が可能な投影型静電容量方式タッチパネルである。   The touch panel unit 12 includes a projected capacitive touch panel, a resistive touch panel, an infrared cut-off detection touch panel, and the like. When a touch operation is performed, information indicating a position where the touch operation is performed on the display screen 111, That is, position information indicating a location pressed by a touch operation is acquired. Since the place pressed by the touch operation is an area where the size of the stylus or the user's finger is continuous, the position information is acquired as information indicating the representative position of the area, for example, the centroid position. . In the present embodiment, the touch panel unit 12 is a projection type electrostatic that can acquire position information corresponding to each area when two or more areas that are separated from each other are pressed. It is a capacitive touch panel.

制御部13は、CPU(Central Processing Unit)などの制御演算回路、DDR SDRAM(Double Data Rate Synchronous Dynamic Random Access Memory)などの揮発性メモリ、および、フラッシュROM(Read Only Memory)、EEPROM(登録商標)、HDD(Hard Disk Drive)などの不揮発性メモリから構成され、表示部11およびタッチパネル部12を制御する。制御部13の不揮発性メモリには、本発明に係る表示プログラムが記憶され、これによって、制御部13は、以下の各部131〜139の機能を発揮する。   The control unit 13 includes a control arithmetic circuit such as a CPU (Central Processing Unit), a volatile memory such as a DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory), a flash ROM (Read Only Memory), and an EEPROM (registered trademark). The display unit 11 and the touch panel unit 12 are controlled by a nonvolatile memory such as an HDD (Hard Disk Drive). The display program according to the present invention is stored in the non-volatile memory of the control unit 13, whereby the control unit 13 exhibits the functions of the following units 131 to 139.

制御部13は、図形描画部131、閉領域判断部132、消去対象認識部133、時間測定部134、図形消去部135、認識解除部136、色変更部137、コマンド記憶部138、およびコマンド設定格納部139の機能を有する。   The control unit 13 includes a graphic drawing unit 131, a closed region determination unit 132, an erasure target recognition unit 133, a time measurement unit 134, a graphic erasure unit 135, a recognition release unit 136, a color change unit 137, a command storage unit 138, and a command setting. The function of the storage unit 139 is provided.

図形描画部131は、タッチ操作情報管理部1311を含み、タッチ操作が行われたときに、そのタッチ操作についての位置情報が示す位置に、そのタッチ操作に対応する図形を、画像として表示させる。より詳細には、タッチ操作情報管理部1311は、タッチ操作に対応する位置情報と、その位置情報が取得された時刻とを関連付けて記憶する。そして、図形描画部131は、タッチ操作情報管理部1311に記憶される情報に基づいて、取得された時刻が早い順に、位置情報が示す位置に、タッチ操作に対応する図形を描画する。なお、本実施形態において、マルチタッチ操作が行われた場合、図形描画部131は、各タッチ操作についての各位置情報がそれぞれ示す位置に、図形をそれぞれ描画する。   The graphic drawing unit 131 includes a touch operation information management unit 1311. When a touch operation is performed, a graphic corresponding to the touch operation is displayed as an image at a position indicated by position information regarding the touch operation. More specifically, the touch operation information management unit 1311 stores the position information corresponding to the touch operation and the time when the position information is acquired in association with each other. Based on the information stored in the touch operation information management unit 1311, the graphic drawing unit 131 draws the graphic corresponding to the touch operation at the position indicated by the position information in order of the acquired time. In the present embodiment, when a multi-touch operation is performed, the figure drawing unit 131 draws a figure at a position indicated by each piece of position information for each touch operation.

図形描画部131による図形の描画は、コマンド設定格納部139に格納される表示コマンドに従って行われる。コマンド設定格納部139は、コマンド記憶部138に記憶される、複数の表示コマンドのうちのいずれか1つを格納する。コマンド設定格納部139に格納される表示コマンドは、タッチ操作と表示画面111に表示される図形との対応関係を、そのタッチ操作が行われる前に予め1つに定める情報である。すなわち、タッチ操作が行われたとき、そのタッチ操作について位置情報が取得された時刻においてコマンド設定格納部139に格納される表示コマンドに従って、図形描画部131は、そのタッチ操作に対応する図形を描画する。   Drawing of a figure by the figure drawing unit 131 is performed according to a display command stored in the command setting storage unit 139. The command setting storage unit 139 stores any one of a plurality of display commands stored in the command storage unit 138. The display command stored in the command setting storage unit 139 is information that predetermines one correspondence relationship between the touch operation and the graphic displayed on the display screen 111 before the touch operation is performed. That is, when a touch operation is performed, the figure drawing unit 131 draws a figure corresponding to the touch operation according to the display command stored in the command setting storage unit 139 at the time when the position information is acquired for the touch operation. To do.

表示コマンドとしては、たとえば、黒ペンコマンド、赤ペンコマンド、消しゴムコマンドなどが挙げられる。黒ペンコマンドは、図形描画部131によって描画される図形を、所定の太さの黒色の線でタッチ操作の軌跡を表した図形に設定するコマンドである。赤ペンコマンドは、図形描画部131によって描画される図形を、所定の太さの赤色の線でタッチ操作の軌跡を表した図形に設定するコマンドである。消しゴムコマンドは、図形描画部131によって描画される図形を、所定の太さの線でタッチ操作の軌跡を表した図形に設定する情報であって、その線の各箇所の色を、その各箇所における背景色と同じ色に設定する情報である。すなわち、コマンド設定格納部139に格納される表示コマンドが消しゴムコマンドである場合において、表示画面111に描画された図形に対してタッチ操作が行われると、その図形は表示画面111から消去される。   Examples of the display command include a black pen command, a red pen command, and an eraser command. The black pen command is a command for setting a figure drawn by the figure drawing unit 131 to a figure that represents a locus of a touch operation with a black line having a predetermined thickness. The red pen command is a command for setting a figure drawn by the figure drawing unit 131 to a figure that represents a locus of a touch operation with a red line having a predetermined thickness. The eraser command is information for setting the figure drawn by the figure drawing unit 131 to a figure that represents the locus of the touch operation with a line of a predetermined thickness, and the color of each part of the line is changed to each part. This is information set to the same color as the background color. That is, when the display command stored in the command setting storage unit 139 is an eraser command, when a touch operation is performed on a graphic drawn on the display screen 111, the graphic is deleted from the display screen 111.

コマンド記憶部138は、このような表示コマンドと、それに対応するアイコンとを関連付けて記憶している。たとえば、黒ペンコマンドと黒ペンアイコンとを関連付け、赤ペンコマンドと赤ペンアイコンとを関連付け、消しゴムコマンドと消しゴムアイコンとを関連付けて記憶している。コマンド設定格納部139は、これらのアイコンに対するタッチ操作に従って、複数の表示コマンドの中の1つのコマンドを選択し、格納する。具体的には、コマンド設定格納部139は、表示画面111の所定の領域に、コマンド記憶部138に記憶される複数のアイコンを含む画像であるツールバー画像を表示させる。そして、コマンド設定格納部139は、タッチ操作情報管理部1311に記憶される情報に基づいて、ツールバー画像中のいずれか1つのアイコンに対してタッチ操作が行われたか否かを判断し、タッチ操作が行われたアイコンに関連付けられているコマンドを格納する。   The command storage unit 138 stores such display commands in association with the corresponding icons. For example, a black pen command and a black pen icon are associated, a red pen command and a red pen icon are associated, and an eraser command and an eraser icon are associated and stored. The command setting storage unit 139 selects and stores one command among a plurality of display commands in accordance with the touch operation on these icons. Specifically, the command setting storage unit 139 displays a toolbar image that is an image including a plurality of icons stored in the command storage unit 138 in a predetermined area of the display screen 111. Then, the command setting storage unit 139 determines whether or not the touch operation has been performed on any one icon in the toolbar image based on the information stored in the touch operation information management unit 1311, and the touch operation is performed. Stores the command associated with the icon for which.

本発明では、上記のように消しゴムコマンドによって図形を消去する以外にも、図形消去部135によって図形の消去が可能である。この図形消去部135は本発明の特徴点であり、図形描画部131、閉領域判断部132、消去対象認識部133、時間測定部134、認識解除部136、および色変更部137による処理に基づいて、図形の消去を行う。以下では、コマンド設定格納部139に格納されるコマンドは黒ペンコマンドであるとして、これらの各部131〜137について説明する。   In the present invention, in addition to erasing a figure by an eraser command as described above, the figure erasing unit 135 can erase the figure. The graphic erasure unit 135 is a feature of the present invention, and is based on processing by the graphic drawing unit 131, the closed region determination unit 132, the erasure target recognition unit 133, the time measurement unit 134, the recognition release unit 136, and the color change unit 137. Delete the figure. Hereinafter, assuming that the command stored in the command setting storage unit 139 is a black pen command, each of these units 131 to 137 will be described.

閉領域判断部132は、図形描画部131によって表示画面111に描画された図形が閉領域を規定する図形であるか否かを判断する。ここで、「閉領域を規定する図形」とは、1度のタッチ操作によって描画された図形であって、1つ以上のループを有する図形である。たとえば、一筆書きの「○」や「□」は閉領域を規定する図形であり、また、一筆書きの「の」や「8」も閉領域を規定する図形である。   The closed region determination unit 132 determines whether the graphic drawn on the display screen 111 by the graphic drawing unit 131 is a graphic that defines the closed region. Here, the “figure defining the closed region” is a figure drawn by one touch operation and having one or more loops. For example, “○” or “□” written in a single stroke is a graphic that defines a closed region, and “no” or “8” written in a single stroke is also a graphic that defines a closed region.

閉領域判断部132は、タッチ操作情報管理部1311に記憶される情報に基づいて、従来公知のループ検出法によって、閉領域を規定する図形が描画されたか否かを判断する。たとえば、閉領域判断部132は、タッチ操作が行われたときに、タッチ操作情報管理部1311に記憶される情報に基づいて、タッチ操作の軌跡に交点が存在するか否かを判断する。1度のタッチ操作において、異なる時刻に、同一の位置情報がタッチ操作情報管理部1311に記憶されていれば、その位置情報に対応する点が交点となる。閉領域判断部132は、交点を1度目に通った時点から2度目に通った時点までに記憶された各位置情報に対応する各点を、ループを構成する点として検出する。   Based on the information stored in the touch operation information management unit 1311, the closed region determination unit 132 determines whether a graphic defining the closed region has been drawn by a conventionally known loop detection method. For example, when the touch operation is performed, the closed region determination unit 132 determines whether or not there is an intersection on the touch operation locus based on information stored in the touch operation information management unit 1311. If the same position information is stored in the touch operation information management unit 1311 at different times in one touch operation, a point corresponding to the position information becomes an intersection. The closed region determination unit 132 detects each point corresponding to each piece of position information stored from the time when the intersection is passed for the first time until the time when the intersection is passed for the second time as a point constituting the loop.

図3に、ループの検出の例を示す。図3では、横軸の座標値をA〜Zとし、縦軸の座標値を1〜25として、各点の座標を表している。図3(a)は、(F,2)を始点として、(F,3),(G,3),(H,3),(I,3),(J,3),(K,3),(L,3),(M,3),(N,3),(O,3),(P,3),・・・,(F,6),(G,6),(G,5),(H,5),(H,4),(I,4),(I,3),(J,3),(J,2),(K,2)の順に各点を通り、(K,1)を終点とするような1度のタッチ操作が行われた例を示す。図3(a)の例では、1度のタッチ操作において、最初に、点(I,3)が交点として検出される。したがって、図3(b)に示すように、(I,3),(J,3),(K,3),(L,3),(M,3),(N,3),(O,3),(P,3),・・・,(F,6),(G,6),(G,5),(H,5),(H,4),(I,4)の各点が、ループを構成する点として検出される。   FIG. 3 shows an example of loop detection. In FIG. 3, the coordinate values of the horizontal axis are A to Z, the coordinate values of the vertical axis are 1 to 25, and the coordinates of each point are represented. In FIG. 3A, (F, 2) is the starting point, and (F, 3), (G, 3), (H, 3), (I, 3), (J, 3), (K, 3 ), (L, 3), (M, 3), (N, 3), (O, 3), (P, 3), ..., (F, 6), (G, 6), (G , 5), (H, 5), (H, 4), (I, 4), (I, 3), (J, 3), (J, 2), (K, 2) in this order. As shown, an example is shown in which a single touch operation is performed with (K, 1) as the end point. In the example of FIG. 3A, the point (I, 3) is first detected as an intersection point in one touch operation. Therefore, as shown in FIG. 3B, (I, 3), (J, 3), (K, 3), (L, 3), (M, 3), (N, 3), (O , 3), (P, 3), ..., (F, 6), (G, 6), (G, 5), (H, 5), (H, 4), (I, 4) Each point is detected as a point constituting a loop.

消去対象認識部133は、閉領域中に既に他の図形が描画されていたときに、この他の図形を消去対象として認識する。すなわち、閉領域を規定する図形(ループを有する図形)が描画される前に既に他の図形が描画されており、この他の図形がループ内に入るように、閉領域を規定する図形が描画されたとき、消去対象認識部133は、この他の図形を、消去対象として認識する。   The erasure target recognition unit 133 recognizes another graphic as an erasure target when another graphic has already been drawn in the closed region. That is, before the figure that defines the closed area (the figure that has the loop) is drawn, another figure is already drawn, and the figure that defines the closed area is drawn so that this other figure enters the loop When this is done, the erasure object recognition unit 133 recognizes this other graphic as an erasure object.

具体的には、消去対象認識部133は、従来公知の図形抽出法によって、閉領域判断部132が検出したループ内の図形を抽出し、消去対象の図形として認識する。たとえば、消去対象認識部133は、タッチ操作情報管理部1311に記憶される情報に基づいて、ループを構成し、縦軸の座標値が同一の複数の点のうち、横軸の座標値が最小値となる点と、最大値となる点との間に、ループを構成する点以外の、既に描画が行われている点(描画点)が存在するか否かを判断し、存在した場合には、その描画点を、消去対象の図形の一部の点として認識する。そして、消去対象認識部133は、この判断を、ループを構成する複数の点における縦軸の座標値の最小値から最大値までの、すべての値について行う。なお、すべての値について判断を行った結果、消去対象として認識された点が所定の数(たとえば5)以下の場合には、その点について、消去対象ではないと認識するように、消去対象認識部133が構成されてもよい。   Specifically, the erasure target recognition unit 133 extracts a graphic in the loop detected by the closed region determination unit 132 by a conventionally known graphic extraction method and recognizes it as a erasure target graphic. For example, the erasure target recognition unit 133 forms a loop based on the information stored in the touch operation information management unit 1311, and the coordinate value on the horizontal axis is the smallest among a plurality of points having the same coordinate value on the vertical axis. If there is a point that has already been drawn (drawing point) other than the points that make up the loop between the point that becomes the value and the point that becomes the maximum value, Recognizes the drawing point as a partial point of the figure to be erased. Then, the erasure target recognition unit 133 makes this determination for all values from the minimum value to the maximum value of the coordinate values on the vertical axis at a plurality of points constituting the loop. As a result of determining all the values, if the number of points recognized as erasure targets is a predetermined number (for example, 5) or less, the erasure object recognition is performed so that the points are not erasure targets. The unit 133 may be configured.

図4に、消去対象の図形の認識の例を示す。図4は、図3(b)で検出されたループ内に、ループの描画の前に既に、斜線部で示す「×」の図形が描画されていた例を示す。図4の例では、消去対象認識部133は、まず、ループを構成し、縦軸の座標値が「3」となる複数の点のうち、横軸の座標値が最小値となる点(I,3)と、最大値となる点(R,3)との間に、ループを構成する点以外の描画点が存在するか否かを判断する。ループを構成する点でもなく、描画点でもない点は、ループ内の非描画点と判断される。図4の例では、縦軸の座標値が「3」〜「8」のときは、消去対象の点は認識されない。縦軸の座標値「9」のとき、消去対象認識部133は、横軸の座標値が最小値となる点(D,9)と、最大値となる点(X,9)との間の、描画点(J,9),(R,9)を、消去対象の点として認識する。消去対象認識部133は、同様の処理を縦軸の座標値が「24」となるまで行う。   FIG. 4 shows an example of recognition of a graphic to be erased. FIG. 4 shows an example in which the figure “x” indicated by the shaded area has already been drawn in the loop detected in FIG. 3B before the drawing of the loop. In the example of FIG. 4, the erasure target recognition unit 133 first configures a loop, and among the plurality of points whose vertical axis coordinate value is “3”, the point (I 3) and the point (R, 3) having the maximum value, it is determined whether or not there is a drawing point other than the points constituting the loop. A point that is neither a point constituting a loop nor a drawing point is determined as a non-drawing point in the loop. In the example of FIG. 4, when the coordinate values on the vertical axis are “3” to “8”, the point to be erased is not recognized. When the coordinate value on the vertical axis is “9”, the erasure object recognition unit 133 is between the point (D, 9) where the coordinate value on the horizontal axis is the minimum value and the point (X, 9) where the coordinate value is the maximum value. The drawing points (J, 9) and (R, 9) are recognized as points to be erased. The erasure target recognition unit 133 performs the same processing until the coordinate value on the vertical axis becomes “24”.

なお、本実施形態では、ループ内がすべて非描画点で構成されている場合、消去対象認識部133は、消去対象の図形は0図形(仮想的な図形)であると認識する。また、消去対象認識部133は、閉領域を規定する図形が複数描画された場合、各閉領域を規定する図形について、ループが描画された時刻が早い順に、消去対象の図形をそれぞれ認識する。   In the present embodiment, when the entire loop is composed of non-drawing points, the erasure target recognition unit 133 recognizes that the graphic to be erased is a 0 graphic (virtual graphic). In addition, when a plurality of figures defining closed areas are drawn, the erasure target recognition unit 133 recognizes the erasure target figures in the order from the earliest time when the loop is drawn for the figures defining each closed area.

時間測定部134は、消去対象認識部133が消去対象となる図形を認識した時点からの経過時間を測定する。なお、時間測定部134は、消去対象認識部133によって複数の図形が消去対象として認識されている場合、それぞれ個別に経過時間を測定する。   The time measuring unit 134 measures the elapsed time from when the erasure target recognition unit 133 recognizes the graphic to be erased. Note that the time measurement unit 134 individually measures the elapsed time when a plurality of figures are recognized as erasure targets by the erasure target recognition unit 133.

図形消去部135は、時間測定部134によって測定された経過時間が予め定められる特定の時間(消去可能時間)以内である場合において、消去対象の図形が描画されている閉領域に対して、予め定められる特定のタッチ操作(消去タッチ操作)が行われたときに、その閉領域中の消去対象の図形と、その閉領域を規定する図形とを消去する。なお、消去対象の図形が0図形である場合、実質的には消去対象の図形は認識されていないので、消去対象の図形の消去処理は行われない。   When the elapsed time measured by the time measuring unit 134 is within a predetermined time (erasable time) determined in advance, the figure erasing unit 135 applies in advance to the closed region where the graphic to be erased is drawn. When a predetermined specific touch operation (erase touch operation) is performed, the figure to be erased in the closed area and the figure defining the closed area are erased. When the figure to be erased is 0 figure, since the figure to be erased is not substantially recognized, the erasure processing of the figure to be erased is not performed.

消去可能時間は、たとえば、3秒〜15秒の範囲内で設定される。消去タッチ操作は、たとえば、消去対象の図形が描画されている閉領域を規定するループの一部の点と、そのループ内の点と、そのループの他の点とを通る直線状のタッチ操作である。なお、本実施形態では、コマンド設定格納部139に格納中のコマンドは黒ペンコマンドであるので、この消去タッチ操作に伴って図形描画部131によって黒色の直線状の図形が描画されるが、図形消去部135は、消去対象の図形とともに、この図形も消去する。   The erasable time is set, for example, within a range of 3 seconds to 15 seconds. The erase touch operation is, for example, a linear touch operation that passes through a point in the loop that defines the closed area where the figure to be erased is drawn, a point in the loop, and another point in the loop. It is. In this embodiment, since the command stored in the command setting storage unit 139 is a black pen command, a black linear figure is drawn by the figure drawing unit 131 in accordance with the erase touch operation. The erasing unit 135 erases this graphic together with the graphic to be erased.

色変更部137は、消去対象認識部133が消去対象の図形を認識したときに、消去対象の図形が描画されているループ内の点の色を変更する。また、色変更部137は、時間測定部134によって測定された経過時間が消去可能時間に近づくにつれて、色が変更されたループ内の色を徐々に変更前の色に近づけ、そして、時間測定部134によって測定された経過時間が消去可能時間を超え、かつ、図形消去部135による図形の消去が行われていない場合に、色が変更されたループ内の色を、変更前の色に戻す。   When the erasure target recognition unit 133 recognizes the erasure target graphic, the color change unit 137 changes the color of the point in the loop in which the erasure target graphic is drawn. Further, the color changing unit 137 gradually brings the color in the loop whose color has been changed closer to the color before the change as the elapsed time measured by the time measuring unit 134 approaches the erasable time, and the time measuring unit When the elapsed time measured by 134 exceeds the erasable time and the graphic erasure unit 135 has not erased the graphic, the color in the loop whose color has been changed is returned to the color before the change.

たとえば、ループ内が、描画点と、非描画点(背景色である白色の点)とから構成されている場合、色変更部137は、描画点の色は変更せずに、白色の点を赤色に変更し、時間の経過とともに、この赤色の点を、赤色→ピンク色→薄いピンク色と変更する。そして、経過時間が消去可能時間を超えたときに、非描画点を白色に戻す。また、色変更部137は、図形消去部135による図形の消去が行われた場合には、その時点で、色が変更されたループ内の色を、変更前の色に戻す。   For example, when the inside of the loop is composed of drawing points and non-drawing points (white points that are the background colors), the color changing unit 137 does not change the color of the drawing points, The color is changed to red, and this red point is changed from red to pink to light pink as time passes. When the elapsed time exceeds the erasable time, the non-drawing point is returned to white. In addition, when the graphic erasure unit 135 erases the graphic, the color changing unit 137 returns the color in the loop whose color has been changed to the color before the change at that time.

なお、変更する色は、赤色でなくともよく、背景色以外の色であれば何色でもよい。また、ループ内がすべて描画点である場合もあるので、色変更部137は、描画点を、描画点の色と赤色とを混色したような色へと変更するように構成されてもよい。   Note that the color to be changed need not be red, but may be any color other than the background color. In addition, since there may be all the drawing points in the loop, the color changing unit 137 may be configured to change the drawing point to a color that is a mixture of the color of the drawing point and red.

認識解除部136は、時間測定部134によって測定された経過時間が消去可能時間を超え、かつ、図形消去部135による図形の消去が行われていない場合に、ループ内の図形に対する消去対象認識部133の認識状態を解除する。なお、認識解除部136は、図形消去部135による図形の消去が行われた場合には、その時点で、認識状態を解除する。また、閉領域を規定する図形が複数存在する場合、時間測定部134による時間の測定は個別に行われるので、認識状態は個別に解除されることになる。   The recognition cancellation unit 136 is an erasure target recognition unit for a graphic in the loop when the elapsed time measured by the time measurement unit 134 exceeds the erasable time and the graphic erasure unit 135 has not erased the graphic. The recognition state 133 is canceled. Note that the recognition canceling unit 136 cancels the recognition state at the time when the graphic erasing unit 135 erases the graphic. In addition, when there are a plurality of figures that define the closed region, the time measurement by the time measurement unit 134 is performed individually, so that the recognition state is individually released.

図5に、図形消去部135によって図形が消去される様子を示す。図5(a)は、表示画面111に「9月度定例会議 1 課題」という文字列が描画されている例を示している。図5(b)は、閉領域を規定する図形(ループを有する図形)が描画された例を示している。この例では、ループは、上記の文字列のうちの「1」を囲んでいる。図5(c)は、色変更部137によってループ内の色が変更された例を示している。図5(d)は、消去可能時間以内に消去タッチ操作が行われた例を示している。この例では、消去タッチ操作は、ループよりも左上の点からループよりも右下の点まで延びる直線状のタッチ操作である。図5(e)は、図形消去部135によって「1」の文字が消去された例を示している。   FIG. 5 shows how the figure is erased by the figure erasing unit 135. FIG. 5A shows an example in which a character string “September degree regular meeting 1 assignment” is drawn on the display screen 111. FIG. 5B shows an example in which a graphic defining a closed region (graphic having a loop) is drawn. In this example, the loop encloses “1” in the character string. FIG. 5C shows an example in which the color in the loop is changed by the color changing unit 137. FIG. 5D shows an example in which the erase touch operation is performed within the erasable time. In this example, the erase touch operation is a linear touch operation that extends from the upper left point to the lower right point from the loop. FIG. 5E shows an example in which the character “1” is erased by the graphic erasure unit 135.

なお、図5(d)に示すような消去タッチ操作が行われなかった場合、消去可能時間の経過後、表示画面111は図5(b)に示す状態となる。また、上記の例では、コマンド設定格納部139に格納中のコマンドは黒ペンコマンドであるとしたが、他のコマンド、たとえば、消しゴムコマンドであってもよい。消しゴムコマンドの場合は、閉領域を規定する図形は描画されないが、タッチ操作情報管理部1311の情報に基づいてループ状のタッチ操作が行われたか否かを判断可能であるので、黒ペンコマンドの場合と同様に、そのループ内の図形を消去する。   If the erasing touch operation as shown in FIG. 5D is not performed, the display screen 111 is in the state shown in FIG. In the above example, the command stored in the command setting storage unit 139 is a black pen command, but may be another command such as an eraser command. In the case of the eraser command, the figure defining the closed area is not drawn, but it is possible to determine whether or not a loop touch operation has been performed based on the information of the touch operation information management unit 1311. As in the case, the figure in the loop is deleted.

上記の実施形態では、ループ内に描画点が無い場合であっても、ループ自体を消去タッチ操作で消去可能にするために、消去対象認識部133は0図形(仮想的な図形)を消去対象の図形として認識し、色変更部137はループ内の色を変更するが、本発明の他の実施形態としては、ループ内に描画点がある場合にのみ、消去対象認識部133が消去対象の図形を認識し、色変更部137がループ内の色を変更するように構成してもよい。   In the above embodiment, even if there is no drawing point in the loop, the erasure target recognition unit 133 deletes the 0 figure (virtual figure) as the erasure target so that the loop itself can be erased by the erase touch operation. The color changing unit 137 changes the color in the loop. However, in another embodiment of the present invention, the erasing target recognition unit 133 can delete the erasing target only when there is a drawing point in the loop. The figure may be recognized, and the color changing unit 137 may be configured to change the color in the loop.

このように構成される他の実施形態の動作を、図6および図7のフローチャートで示す。図6のフローチャートは、消去対象認識部133による消去対象の認識前の処理を示し、図7のフローチャートは、消去対象認識部133による消去対象の認識後の処理を示している。   The operation of another embodiment configured as described above is shown in the flowcharts of FIGS. The flowchart in FIG. 6 shows the process before the erasure target recognition unit 133 recognizes the erasure target, and the flowchart in FIG. 7 shows the process after the erasure target recognition unit 133 recognizes the erasure target.

ステップS1では、タッチパネル部12がユーザの手指などの接触の有無を検出し、検出された場合、ステップS2において、接触位置を検出し、制御部13へ入力する。ステップS3では、コマンド設定格納部139が、接触位置がアイコン内か否かを判断し、アイコン内である場合には、ステップS4へ進み、アイコンに対応するコマンドを格納し、ステップS1へ戻る。アイコン内でない場合にはステップS5へ進む。   In step S <b> 1, the touch panel unit 12 detects the presence / absence of contact with a user's finger or the like, and when detected, the contact position is detected and input to the control unit 13 in step S <b> 2. In step S3, the command setting storage unit 139 determines whether or not the contact position is within the icon. If the contact position is within the icon, the process proceeds to step S4, stores the command corresponding to the icon, and returns to step S1. If it is not within the icon, the process proceeds to step S5.

ステップS5では、図形描画部131が、タッチ操作情報管理部1311に記憶される情報に基づいて、表示画面111を押圧したまま移動させるタッチ操作(ドラッグ操作)が開始されたか否かを判断し、ドラッグ操作が開始された場合には、ステップS6へ進み、ドラッグ操作に対応する図形の描画を行う。ドラッグ操作が開始されなかった場合には、ステップS2で検出した点への描画を行って、ステップS1へ戻る。   In step S5, the graphic drawing unit 131 determines whether or not a touch operation (drag operation) for moving the display screen 111 while pressing the display screen 111 is started based on information stored in the touch operation information management unit 1311. When the drag operation is started, the process proceeds to step S6, and a figure corresponding to the drag operation is drawn. When the drag operation is not started, the drawing at the point detected in step S2 is performed, and the process returns to step S1.

ステップS7では、図形描画部131が、タッチ操作情報管理部1311に記憶される情報に基づいて、ドラッグ操作が終了したか否かを判断し、終了するまではステップS6に戻って図形の描画を行い、終了すればステップS8へ進む。   In step S7, the graphic drawing unit 131 determines whether or not the drag operation has ended based on the information stored in the touch operation information management unit 1311, and returns to step S6 to draw a graphic until it ends. If yes, go to Step S8.

ステップS8では、閉領域判断部132が、タッチ操作情報管理部1311に記憶される情報に基づいて、ドラッグ操作の軌跡に交点があるか否かを判断し、交点がある場合には、ステップS9へ進み、ループの検出を行う。交点がない場合には、ステップS1へ戻る。   In step S8, the closed region determination unit 132 determines whether or not there is an intersection in the drag operation locus based on information stored in the touch operation information management unit 1311. If there is an intersection, step S9 Go to, and perform loop detection. If there is no intersection, the process returns to step S1.

ステップS10では、消去対象認識部133が、タッチ操作情報管理部1311に記憶される情報に基づいて、ループ内に図形が描画されているか否かを判断し、描画されている場合にはステップS11へ進み、描画されていない場合にはステップS1へ戻る。   In step S10, the erasure target recognition unit 133 determines whether a figure is drawn in the loop based on information stored in the touch operation information management unit 1311. If the figure is drawn, step S11 is performed. If not drawn, the process returns to step S1.

ステップS11では、消去対象認識部133が、ループ内に描画されている図形を、消去対象の図形として認識する。また、時間測定部134が、経過時間の計測を開始する。また、色変更部137が、ループ内の色を、指定色(たとえば赤色)の初期明度レベル(たとえば明度値120)で着色する。   In step S11, the erasure target recognition unit 133 recognizes the graphic drawn in the loop as the erasure target graphic. In addition, the time measuring unit 134 starts measuring elapsed time. Further, the color changing unit 137 colors the colors in the loop with the initial lightness level (for example, lightness value 120) of the designated color (for example, red).

ステップS12では、タッチパネル部12がユーザの手指などの接触の有無を検出し、検出された場合、ステップS13へ進み、検出されなかった場合、ステップS14へ進む。ステップS14では、時間測定部134によって計測された経過時間が所定時間を超えたか否かを判断し、超えていればステップS15へ進み、超えていなければステップS12へ戻る。所定時間は、たとえば、消去可能時間の1/X(Xは1より大きい数)の時間に設定される。   In step S12, the touch panel unit 12 detects the presence / absence of contact with a user's finger or the like. If detected, the process proceeds to step S13. If not detected, the process proceeds to step S14. In step S14, it is determined whether or not the elapsed time measured by the time measuring unit 134 has exceeded a predetermined time. If it has exceeded, the process proceeds to step S15, and if not, the process returns to step S12. For example, the predetermined time is set to 1 / X (X is a number larger than 1) of the erasable time.

ステップS15では、時間測定部134によって計測された経過時間が消去可能時間を超えたか否かを判断し、超えていればステップS17へ進み、超えていなければステップS16へ進む。ステップS16では、ループ内の色を、指定色の彩度はそのままにして、明度レベルを1段階(たとえば明度値で50)上げて着色する。そして、所定時間を、元の所定時間に消去可能時間の1/Xの時間を加えた時間に再設定し、ステップS12へ戻る。   In step S15, it is determined whether or not the elapsed time measured by the time measuring unit 134 has exceeded the erasable time. If it has exceeded, the process proceeds to step S17, and if not, the process proceeds to step S16. In step S16, the color in the loop is colored by increasing the lightness level by one level (for example, the lightness value is 50) while maintaining the saturation of the designated color. Then, the predetermined time is reset to the original predetermined time plus 1 / X of the erasable time, and the process returns to step S12.

ステップS13では、タッチパネル部12が接触位置を検出し、制御部13へ入力する。ステップS18では、コマンド設定格納部139が、接触位置がアイコン内か否かを判断し、アイコン内である場合には、ステップS19へ進み、アイコンに対応するコマンドを格納し、ステップS17へ進む。アイコン内でない場合にはステップS20へ進む。   In step S <b> 13, the touch panel unit 12 detects the contact position and inputs it to the control unit 13. In step S18, the command setting storage unit 139 determines whether or not the contact position is within the icon, and if it is within the icon, the process proceeds to step S19, stores the command corresponding to the icon, and proceeds to step S17. If it is not within the icon, the process proceeds to step S20.

ステップS20では、図形描画部131が、タッチ操作情報管理部1311に記憶される情報に基づいて、ドラッグ操作が開始されたか否かを判断し、ドラッグ操作が開始された場合には、ステップS21へ進み、ドラッグ操作に対応する図形の描画を行う。ドラッグ操作が開始されなかった場合には、ステップS12で検出した点への描画を行って、ステップS17へ進む。   In step S20, the graphic drawing unit 131 determines whether or not the drag operation is started based on information stored in the touch operation information management unit 1311. If the drag operation is started, the process proceeds to step S21. Proceed to draw a figure corresponding to the drag operation. When the drag operation is not started, the drawing at the point detected in step S12 is performed, and the process proceeds to step S17.

ステップS22では、図形描画部131が、タッチ操作情報管理部1311に記憶される情報に基づいて、ドラッグ操作が終了したか否かを判断し、終了するまではステップS21に戻って図形の描画を行い、終了すればステップS23へ進む。   In step S22, the graphic drawing unit 131 determines whether or not the drag operation has been completed based on the information stored in the touch operation information management unit 1311. The graphic drawing unit 131 returns to step S21 until drawing is completed. If yes, go to Step S23.

ステップS23では、図形消去部135が、タッチ操作情報管理部1311に記憶される情報に基づいて、消去タッチ操作が行われたか否かを判断し、行われた場合には、ステップS24へ進み、行われなかった場合には、ステップS17へ進む。消去タッチ操作は、たとえば、ループ内の点を所定の数以上なぞるタッチ操作である。   In step S23, the graphic erasure unit 135 determines whether or not an erasure touch operation has been performed based on information stored in the touch operation information management unit 1311. If the erasure touch operation has been performed, the process proceeds to step S24. If not, the process proceeds to step S17. The erase touch operation is, for example, a touch operation that traces a predetermined number of points in the loop.

ステップS24では、図形消去部135が、ループ内の図形を消去する。また、消去対象認識部133は、認識解除部136によって消去対象の認識状態が解除される。また、時間測定部134は、時間の計測を中止する。また、色変更部137は、ループ内の色を着色前の色に戻し、所定時間を消去可能時間の1/Xの時間に再設定する。   In step S24, the graphic erasing unit 135 erases the graphic in the loop. In addition, the erasure target recognition unit 133 is released from the recognition state of the erasure target by the recognition release unit 136. Further, the time measuring unit 134 stops measuring time. The color changing unit 137 returns the color in the loop to the color before coloring, and resets the predetermined time to 1 / X of the erasable time.

ステップS17では、消去対象認識部133が、認識解除部136によって消去対象の認識状態を解除される。また、時間測定部134は、時間の計測を中止する。また、色変更部137は、ループ内の色を着色前の色に戻し、所定時間を消去可能時間の1/Xの時間に再設定する。   In step S <b> 17, the erasure target recognition unit 133 is released from the erasure target recognition state by the recognition release unit 136. Further, the time measuring unit 134 stops measuring time. The color changing unit 137 returns the color in the loop to the color before coloring, and resets the predetermined time to 1 / X of the erasable time.

以上のような表示システム1では、ある図形を描画した後に、その図形を囲む図形を描画することで、ある図形を消去対象にすることができる。そして、ある図形が消去対象となってから特定の時間(消去可能時間)内に特定のタッチ操作(消去タッチ操作)を行うことで、消去対象の図形およびその消去対象の図形を囲む図形を消去することができる。また、ある図形が消去対象となってから特定の時間(消去可能時間)内に特定のタッチ操作を行わないことで、消去対象の図形を囲む図形を、表示画面111上に残すことができる。このように、表示システム1は、モードの変更を行うことなく図形の描画も消去も可能な、ユーザフレンドリーな表示システムである。特に、本実施形態はマルチタッチ操作が可能に構成されているが、2以上のユーザが個々にタッチ操作を行う場合でも、個々に図形の消去を行うことができ、利便性が高い。   In the display system 1 as described above, after a certain figure is drawn, a figure surrounding the figure can be drawn, so that a certain figure can be an erasure target. Then, by performing a specific touch operation (erase touch operation) within a specific time (erasable time) after a certain figure becomes an object to be erased, the figure to be erased and the figure surrounding the figure to be erased are erased. can do. Further, by not performing a specific touch operation within a specific time (erasable time) after a certain graphic becomes an erasure target, it is possible to leave the graphic surrounding the erasure target graphic on the display screen 111. In this way, the display system 1 is a user-friendly display system that can draw and erase graphics without changing the mode. In particular, the present embodiment is configured so that multi-touch operation is possible, but even when two or more users individually perform touch operations, it is possible to erase the figures individually, which is highly convenient.

また、表示システム1によれば、ある図形を描画した後に、その図形を囲む図形を描画すると、囲まれている部分の色が変更される。これによって、消去対象となっている箇所をユーザに報知することができる。   Further, according to the display system 1, after drawing a certain figure and drawing a figure surrounding the figure, the color of the enclosed part is changed. As a result, the user can be notified of the location that is to be erased.

また、表示システム1によれば、変更された色が徐々に元の色に戻るので、消去可能時間が経過しようとしていることをユーザに報知することができる。なお、上記の実施形態では、消去可能時間の1/Xの時間ごとに、段階的に色が薄くなって、元の白色に戻っているが、連続的に色が元に戻るようにしてもよい。   Further, according to the display system 1, the changed color gradually returns to the original color, so that the user can be notified that the erasable time is about to elapse. In the above embodiment, the color fades in steps and returns to the original white every 1 / X of the erasable time. However, the color may be restored continuously. Good.

上記表示システム1の制御部13に記憶される表示プログラムは、タッチパネル部および表示部を備えるコンピュータを表示システム1として機能させるプログラムである。この表示プログラムは、従来公知の、コンピュータ読み取り可能な記録媒体に記録できる。   The display program stored in the control unit 13 of the display system 1 is a program that causes a computer including a touch panel unit and a display unit to function as the display system 1. This display program can be recorded on a conventionally known computer-readable recording medium.

上記表示プログラムを記録媒体に記録することで、表示プログラムに基づく処理を実行するためのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラムなど)を記録した記録媒体を持ち運び自在に提供することができる。   By recording the display program on a recording medium, it is possible to provide a portable recording medium on which a program code (execution format program, intermediate code program, source program, etc.) for executing processing based on the display program is recorded. it can.

なお、記録媒体は、マイクロコンピュータが処理を行うためのメモリ、たとえばROM(Read Only Memory)のようなプログラムメディアであってもよいし、または、コンピュータが外部記憶装置として備えるプログラム読取装置に挿入することで読み取られるプログラムメディアであってもよい。   The recording medium may be a memory for the microcomputer to perform processing, for example, a program medium such as a ROM (Read Only Memory), or may be inserted into a program reading device provided as an external storage device in the computer. It may be a program medium that can be read.

記録媒体に格納されているプログラムは、マイクロプロセッサが記録媒体にアクセスして実行する方式であってもよいし、または、マイクロプロセッサが記録媒体からプログラムコードを読み出し、読み出されたプログラムコードがマイクロコンピュータのプログラム記憶エリアにダウンロードされることで、そのプログラムが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   The program stored in the recording medium may be a system in which the microprocessor accesses the recording medium and executes the program, or the microprocessor reads the program code from the recording medium, and the read program code is the micro program. The program may be executed by being downloaded to the program storage area of the computer. It is assumed that this download program is stored in the main device in advance.

ここで、上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープ、カセットテープなどのテープ系、フレキシブルディスク、ハードディスクなどの磁気ディスク、CD−ROM(Compact Disc - Read Only Memory)、MO(Magneto Optical disc)、MD(Mini Disc)、DVD(Digital Versatile Disc)などの光ディスクのディスク系、ICカード(メモリカードを含む)、光カードなどのカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムコードを担持する媒体であってもよい。   Here, the program medium is a recording medium configured to be separable from the main body, and includes a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a flexible disk and a hard disk, and a CD-ROM (Compact Disc-Read Only Memory). ), Optical disk such as MO (Magneto Optical disc), MD (Mini Disc), DVD (Digital Versatile Disc), card system such as IC card (including memory card), optical card, mask ROM, EPROM ( It may be a medium carrying a fixed program code including a semiconductor memory such as an Erasable Programmable Read Only Memory), an EEPROM (registered trademark), or a flash ROM.

また、コンピュータが、インターネットを含む通信ネットワークを接続可能なシステム構成であれば、記録媒体は、通信ネットワークからプログラムコードをダウンロードするように、流動的にプログラムコードを担持する媒体であってもよい。なお、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、または他の記録媒体からインストールしておく。また、上記表示プログラムは、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   In addition, if the computer has a system configuration capable of connecting to a communication network including the Internet, the recording medium may be a medium that dynamically carries the program code so as to download the program code from the communication network. When the program is downloaded from the communication network as described above, the download program is stored in the main device in advance or installed from another recording medium. The display program can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

1 表示システム
11 表示部
12 タッチパネル部
13 制御部
111 表示画面
131 図形描画部
132 閉領域判断部
133 消去対象認識部
134 時間測定部
135 図形消去部
136 認識解除部
137 色変更部
138 コマンド記憶部
139 コマンド設定格納部
DESCRIPTION OF SYMBOLS 1 Display system 11 Display part 12 Touch panel part 13 Control part 111 Display screen 131 Graphic drawing part 132 Closed area judgment part 133 Erase object recognition part 134 Time measurement part 135 Graphic erasure part 136 Recognition release part 137 Color change part 138 Command storage part 139 Command setting storage

Claims (7)

表示画面を有する表示部と、
前記表示画面に対するタッチ操作が行われたときに、そのタッチ操作の、前記表示画面に関する位置情報を取得するタッチパネル部と、
前記表示部を制御する制御部であって、
前記位置情報に従って前記表示画面に図形を描画する図形描画部と、
前記表示画面に描画された図形が閉領域を規定する図形であるか否かを判断する閉領域判断部と、
前記閉領域中に既に他の図形が描画されていたときに、この他の図形を消去対象として認識する消去対象認識部と、
前記消去対象認識部が消去対象を認識したときに前記閉領域中の色を変更する色変更部と、
前記消去対象認識部が消去対象を認識した時点からの経過時間を測定する時間測定部と、
前記時間測定部によって測定された経過時間が予め定められる特定の時間以内であり、かつ、前記閉領域に対して予め定められる特定のタッチ操作が行われたときに、前記他の図形および前記閉領域を規定する図形を消去する図形消去部と、
前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記他の図形に対する前記消去対象認識部の認識状態を解除する認識解除部とを含む制御部とを備えることを特徴とする表示システム。
A display unit having a display screen;
When a touch operation is performed on the display screen, a touch panel unit that acquires position information regarding the display screen of the touch operation;
A control unit for controlling the display unit,
A figure drawing unit for drawing a figure on the display screen according to the position information;
A closed region determination unit that determines whether or not the graphic drawn on the display screen is a graphic that defines a closed region;
When another figure has already been drawn in the closed region, an erasure object recognition unit that recognizes the other figure as an erasure object;
A color changing unit that changes a color in the closed region when the erasing target recognition unit recognizes an erasing target;
A time measuring unit that measures an elapsed time from the time when the erasing object recognition unit recognizes the erasing object; and
When the elapsed time measured by the time measuring unit is within a predetermined time and a predetermined touch operation is performed on the closed region, the other figure and the closed A figure erasing unit for erasing the figure defining the area;
When the elapsed time measured by the time measuring unit exceeds the predetermined time, and the erasing by the graphic erasing unit is not performed, the recognition state of the erasing object recognition unit for the other graphic display system characterized in that it comprises a control unit including a recognition releasing portion, the releasing the.
前記色変更部は、前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記閉領域中の変更後の色を変更前の色に戻すことを特徴とする請求項1に記載の表示システム。 The color changing unit, after the change in the closed region, when the elapsed time measured by the time measuring unit exceeds the predetermined time and the erasing by the graphic erasing unit is not performed display system according to claim 1, wherein the scores return to the pre-change color color. 前記色変更部は、前記閉領域中の色を変更する際、前記閉領域中の前記消去対象の図形以外の部分の色を変更することを特徴とする請求項2に記載の表示システム。   3. The display system according to claim 2, wherein the color changing unit changes a color of a portion other than the figure to be erased in the closed region when changing a color in the closed region. 前記色変更部は、前記図形消去部による消去が行われたときに、前記閉領域中の前記変更後の色を前記変更前の色に戻すことを特徴とする請求項3に記載の表示システム。   The display system according to claim 3, wherein the color changing unit returns the color after the change in the closed region to the color before the change when the graphic erasing unit performs erasure. . 前記色変更部は、前記時間測定部によって測定された経過時間が前記予め定められる特定の時間に近づくにつれて、前記閉領域中の前記変更後の色を徐々に前記変更前の色に近づけることを特徴とする請求項4に記載の表示システム。   The color changing unit is configured to gradually bring the changed color in the closed region closer to the color before the change as the elapsed time measured by the time measuring unit approaches the predetermined time. 5. The display system according to claim 4, wherein 表示画面を有する表示部と、
前記表示画面に対するタッチ操作が行われたときに、そのタッチ操作の、前記表示画面に関する位置情報を取得するタッチパネル部と、
前記表示部を制御する制御部であって、
前記位置情報に従って前記表示画面に図形を描画する図形描画部と、
前記表示画面に描画された図形が閉領域を規定する図形であるか否かを判断する閉領域判断部と、
前記閉領域中に既に他の図形が描画されていたときに、この他の図形を消去対象として認識する消去対象認識部と、
前記消去対象認識部が消去対象を認識した時点からの経過時間を測定する時間測定部と、
前記時間測定部によって測定された経過時間が予め定められる特定の時間以内であり、かつ、前記閉領域に対して予め定められる特定のタッチ操作が行われたときに、前記他の図形および前記閉領域を規定する図形を消去する図形消去部と、
前記時間測定部によって測定された経過時間が前記予め定められる特定の時間を超え、かつ、前記図形消去部による消去が行われなかったときに、前記他の図形に対する前記消去対象認識部の認識状態を解除する認識解除部と、を含む制御部とを備え、
前記予め定められる特定のタッチ操作は、前記閉領域を規定する境界線の一点と、前記閉領域中の点と、前記境界線の他の一点とを通る直線状のタッチ操作であることを特徴とする表示システム。
A display unit having a display screen;
When a touch operation is performed on the display screen, a touch panel unit that acquires position information regarding the display screen of the touch operation;
A control unit for controlling the display unit,
A figure drawing unit for drawing a figure on the display screen according to the position information;
A closed region determination unit that determines whether or not the graphic drawn on the display screen is a graphic that defines a closed region;
When another figure has already been drawn in the closed region, an erasure object recognition unit that recognizes the other figure as an erasure object;
A time measuring unit that measures an elapsed time from the time when the erasing object recognition unit recognizes the erasing object; and
When the elapsed time measured by the time measuring unit is within a predetermined time and a predetermined touch operation is performed on the closed region, the other figure and the closed A figure erasing unit for erasing the figure defining the area;
When the elapsed time measured by the time measuring unit exceeds the predetermined time, and the erasing by the graphic erasing unit is not performed, the recognition state of the erasing object recognition unit for the other graphic A recognition cancellation unit for canceling
The predetermined specific touch operation is a linear touch operation that passes through one point of a boundary line defining the closed region, a point in the closed region, and another point of the boundary line. Viewing system shall be the.
タッチパネル部および表示部を備えるコンピュータを、請求項1〜6のいずれか1つに記載の表示システムとして機能させることを特徴とする表示プログラム。   A display program that causes a computer including a touch panel unit and a display unit to function as the display system according to any one of claims 1 to 6.
JP2011280480A 2011-12-21 2011-12-21 Display system and display program Active JP5852876B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011280480A JP5852876B2 (en) 2011-12-21 2011-12-21 Display system and display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011280480A JP5852876B2 (en) 2011-12-21 2011-12-21 Display system and display program

Publications (2)

Publication Number Publication Date
JP2013131066A JP2013131066A (en) 2013-07-04
JP5852876B2 true JP5852876B2 (en) 2016-02-03

Family

ID=48908560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011280480A Active JP5852876B2 (en) 2011-12-21 2011-12-21 Display system and display program

Country Status (1)

Country Link
JP (1) JP5852876B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324805A (en) * 2018-08-02 2019-02-12 珠海格力电器股份有限公司 Method and equipment for deleting application in background

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6168406B2 (en) * 2013-09-11 2017-07-26 コニカミノルタ株式会社 Object operation system, control program, and control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4385169B1 (en) * 2008-11-25 2009-12-16 健治 吉田 Handwriting input / output system, handwriting input sheet, information input system, information input auxiliary sheet
JP5046053B2 (en) * 2009-02-09 2012-10-10 独立行政法人科学技術振興機構 Robot control system and robot control method
JP2011053986A (en) * 2009-09-02 2011-03-17 Sharp Corp Computing device, computing program, and recording medium recording the program
JP5153795B2 (en) * 2010-01-08 2013-02-27 シャープ株式会社 I / O device and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324805A (en) * 2018-08-02 2019-02-12 珠海格力电器股份有限公司 Method and equipment for deleting application in background

Also Published As

Publication number Publication date
JP2013131066A (en) 2013-07-04

Similar Documents

Publication Publication Date Title
US10416777B2 (en) Device manipulation using hover
US20140210797A1 (en) Dynamic stylus palette
US20130080979A1 (en) Explicit touch selection and cursor placement
KR20100130671A (en) Apparatus and Method for Providing Selection Area in Touch Interface
JP2019505942A (en) Touch operation method and system based on interactive electronic whiteboard
US10019134B2 (en) Edit processing apparatus and storage medium
US10747425B2 (en) Touch operation input device, touch operation input method and program
CN101334937A (en) Electronic calculator and control method
EP2544083B1 (en) Apparatus and method for inputting character on touch screen
JP5681838B2 (en) User interface for drawing with electronic devices
JP5852876B2 (en) Display system and display program
JP5263994B2 (en) Display form changing program, display control apparatus, display control system, and display form changing method
JP5779422B2 (en) Display system and display program
JP5908326B2 (en) Display device and display program
CN110032317B (en) Wireless demonstration equipment and marking control method and device thereof
JP2017049904A (en) Information processor, information processing program and information processing method
EP2763020A1 (en) Dynamic stylus palette
JP2015162161A (en) Information processing apparatus, information processing program, and information processing method
JP5961435B2 (en) Display system and display program
JP2015011429A (en) Display system and display program
JP2012221066A (en) Display system and display program
JP2015210367A (en) Display device, display method, program, and recording medium
JP2016110349A (en) Information processing device, control method therefor, and program
KR20150007388A (en) Method and apparatus for applying graphic effect in electronic device
JP2017049760A (en) Information processing device, information processing program and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151023

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151207

R150 Certificate of patent or registration of utility model

Ref document number: 5852876

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150