JP5464903B2 - Information processing apparatus, control method, and program - Google Patents

Information processing apparatus, control method, and program Download PDF

Info

Publication number
JP5464903B2
JP5464903B2 JP2009117915A JP2009117915A JP5464903B2 JP 5464903 B2 JP5464903 B2 JP 5464903B2 JP 2009117915 A JP2009117915 A JP 2009117915A JP 2009117915 A JP2009117915 A JP 2009117915A JP 5464903 B2 JP5464903 B2 JP 5464903B2
Authority
JP
Japan
Prior art keywords
closed curve
locus
trajectory
closed
information processing
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
Application number
JP2009117915A
Other languages
Japanese (ja)
Other versions
JP2010267079A (en
JP2010267079A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009117915A priority Critical patent/JP5464903B2/en
Publication of JP2010267079A publication Critical patent/JP2010267079A/en
Publication of JP2010267079A5 publication Critical patent/JP2010267079A5/ja
Application granted granted Critical
Publication of JP5464903B2 publication Critical patent/JP5464903B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は情報処理装置等に関し、特に手書き軌跡によるオブジェクト選択に関するものである。   The present invention relates to an information processing apparatus and the like, and more particularly to object selection based on a handwritten locus.

近年、手書き入力によるUIは操作が直感的で分かり易いことや、オブジェクトに対して直接的に操作指示を行えることから徐々に普及してきている。また、別途入力機器を用意することなく指で操作可能なため、特にポータブル機器で普及してきている。このためポータブル機器に保存してある音楽データや画像、動画、ドキュメントなどのコンテンツを画面上のオブジェクトとして表示し、手書き入力によって選択することは一般的となりつつある。   In recent years, UIs based on handwriting input are gradually becoming popular because operations are intuitive and easy to understand, and operations can be directly directed to objects. In addition, since it can be operated with a finger without preparing a separate input device, it has become widespread especially in portable devices. For this reason, it is becoming common to display contents such as music data, images, moving images, and documents stored in portable devices as objects on the screen and select them by handwriting input.

手書き入力によってオブジェクトを選択する方法としては、特許文献1のように手書きの軌跡によってオブジェクトを囲むことで囲まれた内部に存在するオブジェクトを選択する方法などが提案されている。また、特許文献2では、軌跡によって囲まれた範囲内のオブジェクトを選択するのか、軌跡でなぞられた下にあるオブジェクトを選択するのかをボタンにより切り替えられるものが提案されている。   As a method for selecting an object by handwriting input, a method for selecting an object existing inside the object surrounded by a handwritten locus as in Patent Document 1 has been proposed. Japanese Patent Application Laid-Open No. 2004-228620 proposes a button that allows switching between selecting an object within a range surrounded by a trajectory or selecting an object below the trajectory.

特開2006−311966号公報JP 2006-31966 A 特開2007−066285号公報JP 2007-066285 A

しかし、特許文献1に提案された方法では、軌跡に囲まれた内部を選択するという1種類の選択方法しか選べず、オブジェクトの上をなぞることでオブジェクトを選択するということができなかった。また、特許文献2に提案された方法では、軌跡に囲まれた内部を選択する方法と、描かれた軌跡の下に位置するオブジェクトを選択するという2種類の方法が選択可能であるが、別途ボタンを押下するという2ステップ分の手間が掛かった。   However, in the method proposed in Patent Document 1, only one type of selection method of selecting the inside surrounded by the trajectory can be selected, and the object cannot be selected by tracing over the object. In addition, in the method proposed in Patent Document 2, two methods of selecting an interior surrounded by a trajectory and selecting an object located under the drawn trajectory can be selected. It took two steps to press the button.

本発明はかかる実情に鑑みてなされたものであり、一筆書きの手書き入力軌跡のみでいろいろなオブジェクト選択パターンを選べるようにすることを目的とする。   The present invention has been made in view of such a situation, and an object of the present invention is to select various object selection patterns only with a one-stroke handwriting input locus.

上記目的を達成するために本発明は、複数のオブジェクトを同時に表示する表示手段と、入力された軌跡が閉曲線であるかを判別する判別手段と、前記表示手段によって表示されている複数のオブジェクトの中から選択するオブジェクトを決定する選択手段と、前記判別手段によって前記軌跡が閉曲線であると判別された場合に、前記入力された軌跡の端点の位置を取得する第1の取得手段と、を備え、前記選択手段は、前記判別手段によって前記軌跡が閉曲線と判別された場合は、前記第1の取得手段が取得した端点が存在する位置と前記閉曲線との相対位置関係に基づいて決定されるオブジェクトを選択し、前記軌跡が閉曲線でないと判別された場合は、前記入力された軌跡の下に表示されているオブジェクトを選択することを特徴とする情報処理装置等を提供する。 In order to achieve the above object, the present invention provides a display means for simultaneously displaying a plurality of objects, a determination means for determining whether an input locus is a closed curve, and a plurality of objects displayed by the display means. Selecting means for determining an object to be selected from; and first acquiring means for acquiring the position of the end point of the input locus when the determining means determines that the locus is a closed curve. The selection means is an object that is determined based on a relative positional relationship between the position where the end point acquired by the first acquisition means exists and the closed curve when the determination means determines that the locus is a closed curve. And when it is determined that the locus is not a closed curve, an object displayed under the inputted locus is selected. To provide an information processing apparatus or the like.

本発明によれば、一筆書きの手書き入力軌跡のみでいろいろなオブジェクト選択パターンを選べるようになる。   According to the present invention, it is possible to select various object selection patterns with only a single stroke handwriting input locus.

本発明の実施形態の一例を示すブロック図である。It is a block diagram which shows an example of embodiment of this invention. 本発明の実施形態のソフトウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the software structure of embodiment of this invention. 本発明の実施形態におけるオブジェクト選択を行う様子の一例を概念的に示す図である。It is a figure which shows notionally an example of a mode that performs the object selection in embodiment of this invention. 本発明の実施形態におけるオブジェクトの定義と選択の一例を概念的に示す図である。It is a figure which shows notionally an example of the definition and selection of the object in embodiment of this invention. 本発明の実施形態におけるオブジェクト選択処理の一例を示すフローチャートである。It is a flowchart which shows an example of the object selection process in embodiment of this invention. 本発明の実施形態における軌跡の一部が交差している場合に閉曲線になったと判断する一例を概念的に示す図である。It is a figure which shows notionally an example which judges that it became a closed curve when a part of locus | trajectory in embodiment of this invention cross | intersects. 本発明の実施形態における軌跡が交差したかどうかによる閉曲線判別処理の一例を示すフローチャートである。It is a flowchart which shows an example of the closed curve discrimination | determination process by whether the locus | trajectory crossed in embodiment of this invention. 本発明の実施形態における同一オブジェクト上を軌跡が2回通った場合に閉曲線になったと判断する一例を概念的に示す図である。It is a figure which shows notionally an example which judges that it became a closed curve, when a locus | trajectory passes twice on the same object in embodiment of this invention. 本発明の実施形態における同一オブジェクト上を軌跡が2回通ったかどうかによる閉曲線判別処理の一例を示すフローチャートである。It is a flowchart which shows an example of the closed curve discrimination | determination process by whether the locus | trajectory passed twice on the same object in embodiment of this invention. 本発明の実施形態における閉曲線と軌跡の始点又は終点の位置関係によって選択オブジェクトが切り替わる一例を概念的に示す図である。It is a figure which shows notionally an example in which a selection object switches according to the positional relationship of the closed curve and the start point or end point of a locus | trajectory in embodiment of this invention. 本発明の実施形態における閉曲線と軌跡の始点又は終点の位置関係に応じてオブジェクトを選択する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which selects an object according to the positional relationship of the closed curve and the start point or end point of a locus | trajectory in embodiment of this invention. 本発明の実施形態における軌跡のはみ出し方によって軌跡下のオブジェクト選択を変える一例を概念的に示す図である。It is a figure which shows notionally an example which changes the object selection under a locus | trajectory according to the protrusion method of the locus | trajectory in embodiment of this invention. 本発明の実施形態における閉領域から軌跡がはみ出て描かれた場合のオブジェクトを選択する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which selects the object when a locus | trajectory protrudes from the closed area | region in embodiment of this invention, and is drawn.

以下、添付図面を参照して本発明に係る実施の形態を詳細に説明する。ただし、この実施の形態に記載されている構成要素はあくまでも例示であり、本発明の範囲をそれらのみに限定する趣旨のものではない。また、本実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Embodiments according to the present invention will be described below in detail with reference to the accompanying drawings. However, the constituent elements described in this embodiment are merely examples, and are not intended to limit the scope of the present invention only to them. In addition, not all the combinations of features described in the present embodiment are essential for the solving means of the invention.

(第1の実施形態)
本実施形態においては、手書き入力された軌跡が閉曲線であるかどうかによって、選択されるオブジェクトを決定するための実施形態を、図面を参照しながら説明する。
図1は本実施形態における情報処理装置100のハードウェア構成の一例を示すブロック図である。102はCPU(Central Processing Unit)であり、各種処理のための演算や論理判断などを行い、バス101に接続された各構成要素を制御する。
(First embodiment)
In the present embodiment, an embodiment for determining an object to be selected depending on whether or not a handwritten input locus is a closed curve will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of a hardware configuration of the information processing apparatus 100 according to the present embodiment. Reference numeral 102 denotes a CPU (Central Processing Unit), which performs calculations and logic determinations for various processes, and controls each component connected to the bus 101.

この情報処理装置100には、プログラムメモリとデータメモリを含むメモリが搭載されている。プログラムメモリには、フローチャートにより後述する各種処理手順を含むCPUによる制御のためのプログラムを格納する。このメモリはROM(Read-Only-Memory)103であってもよいし、外部記憶装置などからプログラムがロードされるRAM(Random Access Memory)104であってもよい。あるいは、これらの組合せで実現しても構わない。   The information processing apparatus 100 includes a memory including a program memory and a data memory. The program memory stores a program for control by the CPU including various processing procedures described later with reference to flowcharts. This memory may be a ROM (Read-Only-Memory) 103 or a RAM (Random Access Memory) 104 into which a program is loaded from an external storage device or the like. Or you may implement | achieve with these combination.

105は本実施形態に係るデータやプログラムを記憶しておくためのハードディスクなどの記憶装置である。また、本実施形態では、コンテンツを保持しておくためにも利用される。なお、コンテンツを保持しておく装置としては、外部接続やネットワークに接続されたコンテンツ保持装置を用いてもよい。また、記憶装置105と同様の役割を果たすものとして、外部記憶装置106を用いてもよい。ここで、外部記憶装置106は、例えばメディア(記録媒体)と、当該メディアへのアクセスを実現するための外部記憶ドライブとで実現することができる。このようなメディアとしては例えば、フレキシブルディスク(FD)、CD−ROM、DVD、USBメモリ、MO、フラッシュメモリ等が知られている。   Reference numeral 105 denotes a storage device such as a hard disk for storing data and programs according to the present embodiment. In the present embodiment, it is also used to hold content. Note that a content holding device connected to an external connection or a network may be used as a device for holding content. Further, the external storage device 106 may be used as the same role as the storage device 105. Here, the external storage device 106 can be realized by, for example, a medium (recording medium) and an external storage drive for realizing access to the medium. As such media, for example, a flexible disk (FD), a CD-ROM, a DVD, a USB memory, an MO, a flash memory, and the like are known.

107はユーザからの指示を入力するための入力装置である。ユーザは入力装置107を介して、当該情報処理装置100に指示を行う。入力装置107は例えば、キーボードやポインティングデバイス、タッチパネルなどにより実現することができる。本実施形態では、タッチパネルを利用した手書き入力により指示が行われる。
108は当該情報処理装置100の処理結果等を表示出力する表示手段としての出力装置である。出力装置108は例えば、出力のための回路を含むCRT(Cathode-Ray-Tube)や液晶表示器などのディスプレイ装置により実現することができる。本実施形態では、情報処理装置100は、複数のオブジェクトを出力装置(表示装置)108に表示する。
Reference numeral 107 denotes an input device for inputting an instruction from the user. The user gives an instruction to the information processing apparatus 100 via the input device 107. The input device 107 can be realized by, for example, a keyboard, a pointing device, a touch panel, or the like. In the present embodiment, an instruction is given by handwriting input using a touch panel.
Reference numeral 108 denotes an output device as display means for displaying and outputting the processing result of the information processing apparatus 100. The output device 108 can be realized, for example, by a display device such as a CRT (Cathode-Ray-Tube) including a circuit for output or a liquid crystal display. In the present embodiment, the information processing apparatus 100 displays a plurality of objects on the output device (display device) 108.

図2は、本実施形態における情報処理装置100のソフトウェア構成の一例を示すブロック図である。
201はオブジェクト管理部であり、出力装置108によって画面表示するオブジェクトの情報を管理する。ここでオブジェクトの画面表示位置や、選択有無、オブジェクト配置規則などを管理する。
202は画面形成部であり、オブジェクト管理部201の情報を基にオブジェクトを配置し、表示する画面を形成する。
203は画面表示部であり、画面形成部により形成された画面内容を出力装置108によって画面表示する。
204は入力処理部であり、入力装置107により入力された手書き軌跡入力の情報や、キーボードからの入力情報、ポインティングデバイスからの入力を受付ける。
205は手書き軌跡検出部であり、入力処理部107で受付けた手書き軌跡の座標や形状を検出する。検出された軌跡情報は画面形成部202に送り、画面上に表示するように指示しても良い。
206は閉曲線判別部であり、手書き軌跡検出部205で検出した手書き軌跡の座標や形状を基に、当該軌跡が閉曲線となっているかを判別する。
FIG. 2 is a block diagram illustrating an example of a software configuration of the information processing apparatus 100 according to the present embodiment.
Reference numeral 201 denotes an object management unit which manages information on objects displayed on the screen by the output device 108. Here, the screen display position of the object, presence / absence of selection, object arrangement rule, etc. are managed.
A screen forming unit 202 arranges objects based on information from the object management unit 201 and forms a screen to be displayed.
A screen display unit 203 displays the screen content formed by the screen forming unit on the screen by the output device 108.
Reference numeral 204 denotes an input processing unit that accepts handwriting locus input information input from the input device 107, input information from the keyboard, and input from the pointing device.
Reference numeral 205 denotes a handwriting trajectory detection unit that detects the coordinates and shape of the handwriting trajectory received by the input processing unit 107. The detected trajectory information may be sent to the screen forming unit 202 and instructed to be displayed on the screen.
Reference numeral 206 denotes a closed curve discriminating unit that discriminates whether the trajectory is a closed curve based on the coordinates and shape of the handwritten trajectory detected by the handwriting trajectory detection unit 205.

207はオブジェクト選択部であり、手書き軌跡検出部205の軌跡の座標と、閉曲線判別部206の判別結果と、オブジェクト管理部201のオブジェクト表示位置に基づいて、選択されるオブジェクトを決定する。選択対象となったオブジェクトについてはオブジェクト管理部201にて選択済みステータスが付与される。この場合、選択されたオブジェクトは、画面形成部202によりにより選択されたと分かるように通常のオブジェクトと見た目を変えて表示するとしても良い。見た目としては例えば、オブジェクトやオブジェクトを囲む枠の色を変えたり、大きさを変えたり、影を付けたり、マークを付けるなどの方法が考えられる。   An object selection unit 207 determines an object to be selected based on the coordinates of the locus of the handwriting locus detection unit 205, the determination result of the closed curve determination unit 206, and the object display position of the object management unit 201. The selected status is given by the object management unit 201 to the object to be selected. In this case, the selected object may be displayed with a different appearance from a normal object so that it can be understood that the selected object is selected by the screen forming unit 202. As an appearance, for example, methods such as changing the color of an object or a frame surrounding the object, changing the size, adding a shadow, or adding a mark can be considered.

次に、手書き軌跡により閉曲線が入力された場合と、閉曲線でない軌跡が入力された場合のオブジェクト選択内容の違いについて、図3を参照して説明する。図3は、本実施形態におけるオブジェクト選択を行う様子の一例を表す概念図である。
図内の四角い枠はオブジェクトであり、本図では4行×5列に整列して並んでいる例を挙げている。
301から304はユーザにより入力された手書き軌跡であり、手書き軌跡検出部205で検出された軌跡の座標を基に画面形成部202により画面上に軌跡を表示するようにした場合の表示例である。軌跡上の黒丸は軌跡の始点と終点である。ユーザは前記オブジェクトを選択するために、当該軌跡を入力した場合を想定している。本図では、入力された軌跡の例として(a)から(d)の4つのパターンについて説明する。
Next, a difference in object selection contents between when a closed curve is input by a handwritten locus and when a locus that is not a closed curve is input will be described with reference to FIG. FIG. 3 is a conceptual diagram illustrating an example of how object selection is performed in the present embodiment.
The square frames in the figure are objects, and in this figure, an example is shown in which they are arranged in 4 rows × 5 columns.
Reference numerals 301 to 304 are handwritten trajectories input by the user, which are display examples when the trajectory is displayed on the screen by the screen forming unit 202 based on the coordinates of the trajectory detected by the handwritten trajectory detecting unit 205. . The black circles on the trajectory are the start point and end point of the trajectory. It is assumed that the user inputs the trajectory in order to select the object. In this figure, four patterns (a) to (d) will be described as examples of the input trajectory.

図3(a)、図3(b)は、手書き軌跡301、手書き軌跡302のように軌跡が閉じられており、閉曲線を形成している場合の一例である。このように軌跡が閉曲線となっている場合は、当該軌跡により囲まれた範囲内に存在するオブジェクトを選択するようにする。本図の例では塗り潰されたオブジェクトが選択されたオブジェクトであることを示している。   FIG. 3A and FIG. 3B are examples of a case where the locus is closed like a handwriting locus 301 and a handwriting locus 302 and a closed curve is formed. When the trajectory is a closed curve in this way, an object existing within the range surrounded by the trajectory is selected. In the example of this figure, it is shown that the filled object is the selected object.

図3(c)、図3(d)は、手書き軌跡303、手書き軌跡304のように軌跡が閉じられてなく、閉曲線を形成していない場合の一例である。このように軌跡が閉曲線となっていない場合は、軌跡の下にあるオブジェクトを選択する。特に図3(c)の例では、図3(a)の軌跡と似たような軌跡が描かれているが、軌跡が閉じられていないため、中央のオブジェクトは選択対象にならない。
このようにユーザのオブジェクトを囲んで選択したいという意思を軌跡が閉じられたことを以って認識し、軌跡の下のオブジェクトを選択するだけでなく、軌跡に囲まれた範囲内のオブジェクトも選択することができる。
FIGS. 3C and 3D are examples of cases where the locus is not closed and a closed curve is not formed, such as the handwriting locus 303 and the handwriting locus 304. In this way, when the locus is not a closed curve, the object under the locus is selected. In particular, in the example of FIG. 3C, a trajectory similar to the trajectory of FIG. 3A is drawn, but since the trajectory is not closed, the center object is not a selection target.
In this way, the user's intention to enclose and select the object is recognized by the fact that the trajectory is closed, and not only the object under the trajectory but also the object within the range surrounded by the trajectory is selected. can do.

次に、オブジェクトの定義と選択例について、図4を参照して説明する。図4は、本実施形態におけるオブジェクト定義と選択の一例を表す概念図である。
401から404は写真や動画、音楽データやドキュメントなどのコンテンツを表すアイコンやサムネイル(または実体の画像)であり、405から408はアイコンやサムネイルを配置するグリッド枠である。409は入力された軌跡である。
Next, an example of object definition and selection will be described with reference to FIG. FIG. 4 is a conceptual diagram showing an example of object definition and selection in the present embodiment.
Reference numerals 401 to 404 denote icons and thumbnails (or actual images) representing contents such as photographs, moving images, music data, and documents, and reference numerals 405 to 408 denote grid frames for arranging icons and thumbnails. Reference numeral 409 denotes an input locus.

例えば、オブジェクトの定義を401から404のようなアイコンやサムネイルとした場合は、409のような軌跡が描かれた場合、401と402のオブジェクト上に軌跡が掛かっていないため、401と402は選択されないことになる。
別の例として、オブジェクトの定義をコンテンツが配置された405から408のようなグリッド枠とした場合は、409のような軌跡が描かれた場合、全てのオブジェクト上に軌跡が描かれているため、405から408が選択されることになる。
For example, if the definition of the object is an icon or thumbnail such as 401 to 404, if a trajectory such as 409 is drawn, no trajectory is placed on the 401 and 402 objects, so 401 and 402 are selected. Will not be.
As another example, when the definition of an object is a grid frame such as 405 to 408 in which content is arranged, when a locus such as 409 is drawn, the locus is drawn on all objects. , 405 to 408 are selected.

次に、情報処理装置100が実行するオブジェクト選択処理の詳細について、図5を参照して説明する。図5は本実施形態におけるオブジェクト選択処理の一例を示すフローチャートである。
図5において、ステップS501〜ステップS504は各ステップを表している。この各ステップの処理は、情報処理装置100の入力装置107による手書き軌跡の入力に応じて、CPU102の制御により実行される。
Next, details of the object selection processing executed by the information processing apparatus 100 will be described with reference to FIG. FIG. 5 is a flowchart showing an example of object selection processing in the present embodiment.
In FIG. 5, step S501 to step S504 represent each step. The processing of each step is executed under the control of the CPU 102 in accordance with the input of the handwritten locus by the input device 107 of the information processing apparatus 100.

ステップS501では、図3(a)や図3(b)のような閉曲線となっているかを判別する処理を行う。本処理は、後述のフローチャートにて説明する。
ステップS502では、ステップS501の処理結果が閉曲線になったかどうかによって分岐を行う処理である。閉曲線になったと判断された場合は、ステップS503へ進む(ステップS502にてYes)。閉曲線になっていないと判断された場合は、ステップS504へ進む(ステップS502にてNo)。
ステップS503では、閉曲線になった場合のオブジェクト選択処理であり、図3(a)や図3(b)のように閉曲線内に存在するオブジェクトを選択対象とする処理を行う。
ステップS504では、閉曲線でない場合のオブジェクト選択処理であり、図3(c)や図3(d)のように軌跡の下に存在するオブジェクトを選択対象とする処理を行う。
ステップS503、ステップS504で選択対象となったオブジェクトは選択済みステータスが付与される。画面上には選択されたと分かるような表示を行っても良い。
In step S501, a process for determining whether or not the closed curve is as shown in FIG. 3A or 3B is performed. This process will be described with reference to a flowchart described later.
Step S502 is a process of branching depending on whether or not the processing result of step S501 is a closed curve. If it is determined that a closed curve has been reached, the process proceeds to step S503 (Yes in step S502). If it is determined that the curve is not a closed curve, the process proceeds to step S504 (No in step S502).
In step S503, object selection processing is performed when a closed curve is obtained, and processing for selecting an object existing in the closed curve as shown in FIGS. 3A and 3B is performed.
In step S504, object selection processing is performed when the curve is not a closed curve, and processing for selecting an object existing under the trajectory as shown in FIGS. 3C and 3D is performed.
The selected status is assigned to the object that has been selected in steps S503 and S504. You may display on the screen so that it can be recognized that it has been selected.

次に、手書き軌跡が閉曲線であるかの判断方法の一例として、軌跡の一部が交差している場合に閉曲線になったと判断する方法について、図6を参照して説明する。図6は、本実施形態における軌跡の一部が交差している場合に閉曲線になったと判断する一例を表す概念図である。
601、603は手書き軌跡であり、602、604は当該軌跡の交点である。
Next, as an example of a method for determining whether the handwritten locus is a closed curve, a method for determining that the handwritten locus is a closed curve when a portion of the locus intersects will be described with reference to FIG. FIG. 6 is a conceptual diagram illustrating an example in which it is determined that a closed curve is obtained when a part of the trajectories in the present embodiment intersects.
Reference numerals 601 and 603 are handwritten trajectories, and reference numerals 602 and 604 are intersections of the trajectories.

図6(a)において、手書き軌跡601は交点602で交差している。図6(a)を見れば分かるように、軌跡が交差していれば必ず軌跡によって囲まれた閉領域が形成され、軌跡は閉曲線になっていると言える。
図6(b)においては、手書き軌跡603は黒丸で示された始点と終点がはみ出してきれいな円を描いてはいないが、交点604で交差しているため、閉曲線を形成していると言える。
In FIG. 6A, the handwritten trajectory 601 intersects at an intersection 602. As can be seen from FIG. 6 (a), it can be said that if the trajectories intersect, a closed region surrounded by the trajectory is always formed, and the trajectory is a closed curve.
In FIG. 6B, the handwriting locus 603 does not draw a beautiful circle with the start point and end point indicated by black circles protruding, but it can be said that it forms a closed curve because it intersects at the intersection point 604.

軌跡が交差しているかどうかを判定する方法の例としては、ユーザによって軌跡の描かれると同時に軌跡が描かれたた座標を保持しておき、再度同じ座標を軌跡が通過した場合に交差したと判定する方法がある。また、画面表示内容が細かい時など、ユーザが厳密に軌跡を交差させる操作が難しい場合を考慮し、ある閾値以上座標が近付いていれば交差したとみなしても良い。   As an example of a method for determining whether or not the trajectories intersect, if the trajectory is drawn at the same time as the trajectory is drawn by the user, and the trajectory passes again when the trajectory passes the same coordinates There is a method of judging. Further, in consideration of the case where it is difficult for the user to strictly cross the trajectories, such as when the screen display content is fine, if the coordinates are close to a certain threshold or more, it may be considered that they have crossed.

次に、情報処理装置100が実行する軌跡が交差したかどうかによる閉曲線判別処理の詳細について、図7を参照して説明する。図7は本実施形態における軌跡が交差したかどうかによる閉曲線判別処理の一例を示すフローチャートである。
本フローチャートは図5のステップS501の処理を詳細化したものであり、ここでの例としては軌跡が交差した場合に閉曲線になったと判断する処理を説明する。
ステップS701では、入力装置107によって入力された手書き軌跡の座標を抽出する処理を行う。抽出する座標は、軌跡の中心線の座標であっても良いし、軌跡として描かれた画素に基づく座標であっても良い。
Next, the details of the closed curve discrimination process based on whether the trajectories executed by the information processing apparatus 100 intersect will be described with reference to FIG. FIG. 7 is a flowchart illustrating an example of a closed curve discrimination process based on whether or not the trajectories intersect in the present embodiment.
This flowchart details the process of step S501 in FIG. 5. As an example here, a process for determining that a closed curve is obtained when the trajectories intersect will be described.
In step S701, a process of extracting the coordinates of the handwritten locus input by the input device 107 is performed. The coordinates to be extracted may be the coordinates of the center line of the trajectory, or may be coordinates based on the pixels drawn as the trajectory.

ステップS702では、ステップS701にて抽出された軌跡の座標を保持しておく。保持する媒体はRAM104であっても良いし、記憶装置105や外部記憶装置106であっても良い。
ステップS703では、ステップS701にて抽出された座標と、ステップS702にて保持させていた過去の座標とで同じ座標が存在するかどうかを判断する。ここで同じ座標が存在すれば、軌跡は交差したとみなされ、閉曲線となったと判断できる。同じ座標が存在した場合は(ステップS703にてYes)、ステップS704へ進む。
ステップS704では、閉曲線となったと判断されたため、閉曲線フラグをONにする。ここで設定したフラグは、図5のフローチャートに戻った際にステップS502にて閉曲線判定に利用され、閉曲線フラグがONであれば、ステップS502は閉曲線となった(ステップS502にてYes)と判定される。
In step S702, the coordinates of the trajectory extracted in step S701 are held. The medium to be held may be the RAM 104, the storage device 105, or the external storage device 106.
In step S703, it is determined whether the same coordinates exist in the coordinates extracted in step S701 and the past coordinates held in step S702. If the same coordinates exist here, the trajectories are regarded as intersecting, and it can be determined that they are closed curves. If the same coordinates exist (Yes in step S703), the process proceeds to step S704.
In step S704, since it is determined that a closed curve is obtained, the closed curve flag is turned ON. The flag set here is used for determining a closed curve in step S502 when returning to the flowchart of FIG. 5. If the closed curve flag is ON, it is determined that step S502 is a closed curve (Yes in step S502). Is done.

ステップS705では、手書き入力を行っていたペンや指などがタッチパネルから離れたかどうかをチェックする。つまり、ユーザが手書き軌跡の入力を終えたかどうかをチェックする。手書き入力を終えた場合は(ステップS705にてYes)、処理を終了し、図5のフローチャートに戻る。軌跡入力を継続している場合は(ステップS705にてNo)、ステップS701へと戻り、本図の処理を繰り返す。こうして軌跡が入力され続けている限り処理を繰り返し、軌跡が交差したか(同じ座標を通ったか?)をチェックする。   In step S705, it is checked whether or not the pen or finger that has been handwritten input has left the touch panel. That is, it is checked whether or not the user has finished inputting the handwriting trajectory. When the handwriting input is completed (Yes in step S705), the process is terminated and the process returns to the flowchart of FIG. If the trajectory input is continued (No in step S705), the process returns to step S701, and the processing in this figure is repeated. As long as the trajectory continues to be input, the process is repeated to check whether the trajectories intersect (has passed the same coordinates).

以上のように本実施形態の情報処理装置100においては、一筆書きの選択軌跡を描く操作のみで、軌跡によって囲まれた範囲内のオブジェクトを選択するのか、軌跡の下に存在するオブジェクトを選択するのかを切り替えることができる。
このように、ユーザが範囲選択をしたい際にオブジェクトを囲むという自然な動作をするだけで、軌跡によって囲まれた範囲を選択するモードに切り替わり、範囲選択操作を簡単に行えるようになる。
As described above, in the information processing apparatus 100 according to the present embodiment, an object within a range surrounded by a trajectory is selected or an object existing under the trajectory is selected only by an operation of drawing a selection stroke drawn with a single stroke. Can be switched.
As described above, when the user wants to select a range, only the natural operation of surrounding the object is performed, so that the mode is switched to the mode for selecting the range surrounded by the locus, and the range selection operation can be easily performed.

(第2の実施形態)
本実施形態においては、同一オブジェクト上を軌跡が2回通った場合に閉曲線になったと判断するための実施形態を、図面を参照しながら説明する。
まずは、同一オブジェクト上を軌跡が2回通った場合に閉曲線になったと判断する場合の例について、図8を参照して説明する。図8は、本実施形態における同一オブジェクト上を軌跡が2回通った場合に閉曲線になったと判断する一例を表す概念図である。
801、803、805は手書き軌跡であり、802、804は当該軌跡が2回通ったオブジェクトである。
(Second Embodiment)
In the present embodiment, an embodiment for determining that a closed curve is obtained when a trajectory passes twice on the same object will be described with reference to the drawings.
First, an example in which it is determined that a closed curve is obtained when a trajectory passes twice on the same object will be described with reference to FIG. FIG. 8 is a conceptual diagram illustrating an example of determining that a closed curve is obtained when the trajectory passes twice on the same object in the present embodiment.
Reference numerals 801, 803, and 805 denote handwritten trajectories, and reference numerals 802 and 804 denote objects through which the trajectory passes twice.

図8(a)において、手書き軌跡801は黒丸で示された始点と終点が802の同一オブジェクト上に存在しており、2回オブジェクト802上を通っている。このように、軌跡自体は交差していないが、ユーザは始点と同一オブジェクト上まで終点を持ってきたことで、軌跡を閉じる意思があったと判断し、軌跡は閉曲線になったとみなす。このため、閉曲線の内部のオブジェクトが選択対象となる。   In FIG. 8A, a handwritten locus 801 exists on the same object having a start point and an end point 802 indicated by black circles, and passes over the object 802 twice. In this way, although the trajectories themselves do not intersect, it is determined that the user intends to close the trajectory by bringing the end point to the same object as the start point, and the trajectory is regarded as a closed curve. For this reason, an object inside the closed curve is a selection target.

図8(b)において、手書き軌跡803は始点がオブジェクト804上にあり、再度オブジェクト804上を通過している。これもユーザが軌跡を閉じる意思を持って同一オブジェクト上まで軌跡を持ってきたと判断し、軌跡は閉曲線になったとみなす。このため、閉曲線の内部のオブジェクトが選択対象となる。   In FIG. 8B, the handwriting locus 803 has a starting point on the object 804 and passes again on the object 804. It is also determined that the user has brought the locus to the same object with the intention of closing the locus, and the locus is regarded as a closed curve. For this reason, an object inside the closed curve is a selection target.

図8(c)において、手書き軌跡805は同一オブジェクト上を2回通ることがなかったため、ユーザは軌跡を閉じる意思がなかったものと判断し、軌跡の下に位置するオブジェクトのみを選択する。
このように同一オブジェクト上に軌跡が戻ってきて2回通ったことを以って閉曲線になったと判断することで、軌跡が交差していない場合においても、閉曲線となったと判断することが可能となる。
In FIG. 8C, since the handwriting trajectory 805 did not pass through the same object twice, the user determines that he did not intend to close the trajectory, and selects only the object located under the trajectory.
In this way, it is possible to determine that a closed curve is obtained even when the locus does not intersect by determining that the locus has returned to the same object and has passed twice. Become.

次に、情報処理装置100が実行する同一オブジェクト上を軌跡が2回通ったかどうかによる閉曲線判別処理の詳細について、図9を参照して説明する。図9は本実施形態における同一オブジェクト上を軌跡が2回通ったかどうかによる閉曲線判別処理の一例を示すフローチャートである。
本フローチャートは図5のステップS501の処理を詳細化したものであり、ここでの例としては同一オブジェクト上に始点と終点が存在した場合に閉曲線になったと判断する処理を説明する。
Next, the details of the closed curve discrimination process based on whether or not the trajectory has passed twice on the same object executed by the information processing apparatus 100 will be described with reference to FIG. FIG. 9 is a flowchart showing an example of a closed curve discrimination process based on whether or not a trajectory passes twice on the same object in the present embodiment.
This flowchart details the processing of step S501 in FIG. 5. As an example here, processing for determining that a closed curve is obtained when a start point and an end point exist on the same object will be described.

ステップS701は、図7にて説明した通り、手書き軌跡の座標を抽出する処理を行うものである。
ステップS901では、ステップS701にて抽出された軌跡座標と、オブジェクト管理部201で管理しているオブジェクトの座標とを照らし合わせて、軌跡の下に位置するオブジェクトを抽出する。
ステップS902では、抽出されたオブジェクトを抽出された順に保持しておく。この際、保持しておくものはオブジェクトの実体でも良いし、オブジェクトを示すIDのようなものであっても良い。
ステップS903では、ステップS901にて抽出されたオブジェクトがステップS902にて保持された直前の(最新の)オブジェクトと同一であるかどうかをチェックする。同一であれば当該オブジェクトを通過中であると判断し(ステップS903にてYes)、ステップS705へ進む。同一でない場合は軌跡が別のオブジェクトに移動したと判断し(ステップS903にてNo)、ステップS904へ進む。
Step S701 performs the process of extracting the coordinates of the handwritten trajectory as described in FIG.
In step S901, the locus coordinates extracted in step S701 are compared with the coordinates of the objects managed by the object management unit 201 to extract an object located under the locus.
In step S902, the extracted objects are held in the order of extraction. At this time, what is held may be the substance of the object or may be an ID indicating the object.
In step S903, it is checked whether or not the object extracted in step S901 is the same as the previous (latest) object held in step S902. If they are the same, it is determined that the object is passing (Yes in step S903), and the process proceeds to step S705. If they are not the same, it is determined that the trajectory has moved to another object (No in step S903), and the process proceeds to step S904.

ステップS904では、ステップS903の判定により別のオブジェクトに移動した際にだけ処理がなされるものである。ここでは、ステップS901にて抽出されたオブジェクトと同一のオブジェクトが、ステップS902にて保持された過去に通過したオブジェクトの中に存在するかをチェックする。この処理にて、同一オブジェクトへの2度目の軌跡通過かどうかを判断できる。同一オブジェクトが存在し、2度目の通過だと判断された場合は(ステップS904にてYes)、ステップS704へ進む。ステップS704は図7で説明した通り、閉曲線となったことを示すためのフラグをONにする処理である。これにより、同一オブジェクトを2度通過した場合には閉曲線となったと判断される。また、同一のオブジェクトが存在せず、1度しか通過していないオブジェクトのみだった場合は(ステップS904にてNo)、ステップS705へ進む。   In step S904, the processing is performed only when the object is moved to another object by the determination in step S903. Here, it is checked whether the same object as the object extracted in step S901 exists in the objects passed in the past held in step S902. In this process, it can be determined whether or not the trajectory has passed the second time for the same object. If it is determined that the same object exists and it is the second pass (Yes in step S904), the process proceeds to step S704. Step S704 is a process of turning on a flag for indicating that a closed curve has been reached, as described with reference to FIG. As a result, when the same object is passed twice, it is determined that a closed curve is obtained. If the same object does not exist and is the only object that has passed only once (No in step S904), the process proceeds to step S705.

ステップS705は、図7にて説明した通り、ユーザが軌跡入力を終了したかどうかをチェックする処理であり、軌跡入力を終了した場合は(ステップS705にてYes)、図5のフローチャートに戻る。軌跡入力を継続している場合は(ステップS705にてNo)、ステップS701へと戻り、本図の処理を繰り返す。こうして軌跡が入力され続けている限り処理を繰り返し、軌跡が同一オブジェクト上を2回通過したかどうかをチェックする。
以上のように、本実施形態の情報処理装置100においては、同一オブジェクト上に軌跡が戻ってきて2回通ったことを以って軌跡が閉じたとみなすことで、厳密に軌跡を閉じなくても良くなり、利便性が向上する。
このようにユーザは軌跡を厳密に閉じるという細かな操作が不要となり、範囲選択操作がより簡単に行えるようになる。
Step S705 is a process for checking whether or not the user has finished the trajectory input as described with reference to FIG. 7. If the trajectory input has been completed (Yes in step S705), the process returns to the flowchart of FIG. If the trajectory input is continued (No in step S705), the process returns to step S701, and the processing in this figure is repeated. As long as the trajectory continues to be input, the process is repeated, and it is checked whether the trajectory has passed the same object twice.
As described above, in the information processing apparatus 100 according to the present embodiment, the trajectory returns to the same object and the trajectory is regarded as closed by passing twice, so that the trajectory is not strictly closed. It becomes better and convenience is improved.
In this way, the user does not need a detailed operation of strictly closing the trajectory, and the range selection operation can be performed more easily.

(第3の実施形態)
本実施形態においては、手書き軌跡が閉曲線となっている場合の当該閉曲線と当該軌跡の始点または終点の位置関係に応じて選択されるオブジェクトを切り替えるための実施形態を、図面を参照しながら説明する。
まずは、閉曲線と軌跡の始点または終点の位置関係によって選択されるオブジェクトが変わる例について、図10を参照して説明する。図10は本実施形態における閉曲線と軌跡の始点または終点の位置関係によって選択オブジェクトが切り替わる一例を表す概念図である。
1001、1003、1005は手書き軌跡であり、1002、1004、1006は当該軌跡の端点(始点または終点)である。
(Third embodiment)
In the present embodiment, an embodiment for switching an object selected in accordance with the positional relationship between the closed curve and the start point or end point of the locus when the handwritten locus is a closed curve will be described with reference to the drawings. .
First, an example in which the selected object changes depending on the positional relationship between the closed curve and the start point or end point of the locus will be described with reference to FIG. FIG. 10 is a conceptual diagram illustrating an example in which the selected object is switched depending on the positional relationship between the closed curve and the start point or end point of the locus in the present embodiment.
Reference numerals 1001, 1003, and 1005 denote handwritten trajectories, and reference numerals 1002, 1004, and 1006 denote end points (start points or end points) of the trajectories.

図10(a)において、端点である1002は、手書き軌跡1001によって描かれた閉曲線の内側に存在している。このような場合には、閉曲線によって囲まれた範囲内のオブジェクトを選択する。   In FIG. 10A, the end point 1002 exists inside the closed curve drawn by the handwriting locus 1001. In such a case, an object within the range surrounded by the closed curve is selected.

図10(b)において、端点である1004は、手書き軌跡1003によって描かれた閉曲線上(またはその付近)に存在している。このような場合は、軌跡下に存在するオブジェクトのみを選択する。   In FIG. 10B, the end point 1004 is present on (or near) the closed curve drawn by the handwriting locus 1003. In such a case, only the object existing under the trajectory is selected.

図10(c)において、端点である1006は、手書き軌跡1005によって描かれた閉曲線の外側に存在している。このような場合には、閉曲線によって囲まれた範囲を除いた外側のオブジェクトを選択する。
こうすることで、よりユーザの意思を明確に反映してオブジェクト選択のパターンを切り替えることが可能になる。また、本図の例に限らず、閉曲線と始点または終点の位置関係によって他の選択パターンを用意しても良い。位置関係についても、閉曲線の上下左右、左上、右下などの相対位置関係を用いても良い。
In FIG. 10C, the end point 1006 exists outside the closed curve drawn by the handwriting locus 1005. In such a case, an outer object excluding the range surrounded by the closed curve is selected.
This makes it possible to switch the object selection pattern more clearly reflecting the user's intention. Further, the present invention is not limited to the example in the figure, and other selection patterns may be prepared depending on the positional relationship between the closed curve and the start point or end point. Regarding the positional relationship, relative positional relationships such as up, down, left, right, upper left, lower right, etc. of the closed curve may be used.

次に、情報処理装置100が実行する閉曲線と軌跡の始点または終点の位置関係に応じてオブジェクトを選択する処理の詳細について、図11を参照して説明する。図11は本実施形態における閉曲線と軌跡の始点または終点の位置関係に応じてオブジェクトを選択する処理の一例を示すフローチャートである。
本図は図5のフローチャートに閉曲線と軌跡の始点または終点の位置関係を判断する処理を追加したものである。ステップS501からステップS502までは図5と同様で、ステップS502にて入力された軌跡が閉曲線となっていると判断された場合(ステップS502にてYes)、ステップS1101へ進む。
Next, details of the process of selecting an object according to the positional relationship between the closed curve and the start point or end point of the trajectory executed by the information processing apparatus 100 will be described with reference to FIG. FIG. 11 is a flowchart showing an example of processing for selecting an object according to the positional relationship between the closed curve and the start point or end point of the locus in this embodiment.
This figure is obtained by adding processing for determining the positional relationship between the closed curve and the start point or end point of the locus to the flowchart of FIG. Steps S501 to S502 are the same as in FIG. 5, and if it is determined that the locus input in step S502 is a closed curve (Yes in step S502), the process proceeds to step S1101.

ステップS1101では、入力装置107によって入力された手書き軌跡の座標を抽出する処理を行う。
ステップS1102では、ステップS1101で抽出された軌跡の座標の最初と最後をそれぞれ始点と終点の座標とする。この始点と終点の座標が同じくステップS1101にて抽出された軌跡で構成される閉曲線の内側に存在するかを判定する。この判定をする際に、端点である始点または終点のどちらかが閉曲線の内側に存在していれば良いものとする。ステップS1102にて閉曲線の内側に端点が存在すると判定された場合は(ステップS1102にてYes)、ステップS503に進む。ステップS503は前述の通り、閉曲線によって囲まれた範囲内に存在するオブジェクトを選択する処理であり、図10(a)のような選択状態となる。ステップS1102にて閉曲線の内側に端点が存在していないと判定された場合は(ステップS1102にてNo)、ステップS1103に進む。
In step S1101, a process of extracting the coordinates of the handwritten locus input by the input device 107 is performed.
In step S1102, the first and last coordinates of the trajectory extracted in step S1101 are set as the start point and end point coordinates, respectively. It is determined whether the coordinates of the start point and the end point are present inside the closed curve formed by the locus extracted in step S1101. When making this determination, it is sufficient that either the start point or the end point, which is an end point, exists inside the closed curve. If it is determined in step S1102 that an end point exists inside the closed curve (Yes in step S1102), the process proceeds to step S503. As described above, step S503 is a process of selecting an object that exists within the range surrounded by the closed curve, and a selection state as shown in FIG. If it is determined in step S1102 that the end point does not exist inside the closed curve (No in step S1102), the process proceeds to step S1103.

ステップS1103では、閉曲線の外側に端点が存在するかを判定する。ステップS1103にて閉曲線の外側に端点が存在すると判定された場合は(ステップS1103にてYes)、ステップS1104に進む。ステップS1103にて閉曲線の内側に端点が存在していないと判定された場合は(ステップS1103にてNo)、ステップS504に進む。ステップ504は、ステップS502にて閉曲線になっていない(ステップS502にてNo)場合にも処理が行われる。ステップS504の処理内容は前述の通り、描かれた軌跡の下に位置するオブジェクトを選択する処理であり、図10(b)のような選択状態となる。   In step S1103, it is determined whether an end point exists outside the closed curve. If it is determined in step S1103 that the end point exists outside the closed curve (Yes in step S1103), the process proceeds to step S1104. If it is determined in step S1103 that the end point does not exist inside the closed curve (No in step S1103), the process proceeds to step S504. Step 504 is also performed when it is not a closed curve in step S502 (No in step S502). As described above, the processing content of step S504 is processing for selecting an object located under the drawn trajectory, and the selection state is as shown in FIG.

ステップS1104では、図10(c)のように閉曲線の外側に存在するオブジェクトを選択対象とする処理を行う。ステップS1104で選択対象となったオブジェクトは選択済みステータスが付与される。画面上には選択されたと分かるような表示を行っても良い。
以上のように、本実施形態の情報処理装置100においては、一筆書きの選択軌跡を描く際に始点または終点の位置を変える操作のみで、複数のオブジェクト選択パターンを切り替えることができる。
このようにユーザは複数のオブジェクト選択パターンの切替えを簡単な操作で行えるようになる。
In step S1104, as shown in FIG. 10C, processing for selecting an object existing outside the closed curve is performed. The selected status is assigned to the object selected in step S1104. You may display on the screen so that it can be recognized that it has been selected.
As described above, in the information processing apparatus 100 according to the present embodiment, a plurality of object selection patterns can be switched only by an operation of changing the position of the start point or the end point when drawing a one-stroke writing selection locus.
In this way, the user can switch a plurality of object selection patterns with a simple operation.

(第4の実施形態)
本実施形態においては、閉曲線によって形成される閉領域を軌跡がはみ出て描かれた場合の実施形態を、図面を参照しながら説明する。
まずは、軌跡の閉領域からのはみ出し方によって軌跡下のオブジェクトを選択対象とするかどうかが変わる例について、図12を参照して説明する。図12は本実施形態における軌跡のはみ出し方によって軌跡下のオブジェクト選択を変える一例を表す概念図である。
1201、1203、1205は手書き軌跡であり、1202、1204、1206は点線で示されたはみ出した軌跡の下に位置するオブジェクトである。
(Fourth embodiment)
In the present embodiment, an embodiment in which a locus protrudes from a closed region formed by a closed curve will be described with reference to the drawings.
First, an example in which whether or not an object under the trajectory is selected as a selection target depends on how the trajectory protrudes from the closed region will be described with reference to FIG. FIG. 12 is a conceptual diagram showing an example of changing the object selection under the trajectory depending on how the trajectory protrudes in the present embodiment.
Reference numerals 1201, 1203, and 1205 denote handwritten trajectories, and reference numerals 1202, 1204, and 1206 denote objects located under the protruding trajectory indicated by dotted lines.

図12(a)において、手書き軌跡1201は閉領域を形成した後、軌跡がはみ出し、閉領域以外のオブジェクトに軌跡が掛かってしまった場合を想定している。この場合、はみ出した軌跡の下に位置するオブジェクトを含めて選択するかどうかが問題となる。選択するかどうかを決める一例としては、はみ出した軌跡のはみ出し量が予め定めた閾値を超えているかどうかで選択するかどうかを決定するというものがある。図12(a)の例では、はみ出した軌跡のはみ出し量が予め定めた閾値以内であるため、はみ出し軌跡下オブジェクト1202は選択されていない。   In FIG. 12A, it is assumed that the handwriting locus 1201 has formed a closed region and then the locus protrudes, and the locus is applied to an object other than the closed region. In this case, it becomes a problem whether or not to include an object positioned under the protruding locus. As an example of determining whether or not to select, there is a method of determining whether or not to select depending on whether or not the protruding amount of the protruding locus exceeds a predetermined threshold. In the example of FIG. 12A, since the amount of protrusion of the protruding locus is within a predetermined threshold, the object 1202 under the protruding locus is not selected.

図12(b)では、手書き軌跡1203のはみ出し量が予め定めた閾値を超えており、ユーザが意図を持ってはみ出したと認識して、はみ出し軌跡下オブジェクト1204も選択対象としている。   In FIG. 12B, the amount of protrusion of the handwriting locus 1203 exceeds a predetermined threshold, and it is recognized that the user has protruded with intention, and the object under the protrusion locus 1204 is also selected.

図12(c)は、手書き軌跡1203のはみ出し量が予め定めた閾値を超えているが、はみ出した軌跡を戻って終点が閉領域付近まで戻ってきた場合である。この場合は、ユーザが一旦ははみ出した軌跡を修正するために軌跡を戻したと判断し、はみ出し軌跡下オブジェクト1206は選択対象としない。   FIG. 12C shows a case where the amount of protrusion of the handwriting locus 1203 exceeds a predetermined threshold, but returns to the vicinity of the closed region after returning from the protruding locus. In this case, it is determined that the user has returned the trajectory in order to correct the trajectory that has protruded, and the object 1206 under the trajectory is not selected.

次に、情報処理装置100が実行する閉領域から軌跡がはみ出て描かれた場合のオブジェクトを選択する処理の詳細について、図13を参照して説明する。図13は本実施形態における閉領域から軌跡がはみ出て描かれた場合のオブジェクトを選択する処理の一例を示すフローチャートである。   Next, details of a process for selecting an object when the locus is drawn out of the closed region executed by the information processing apparatus 100 will be described with reference to FIG. FIG. 13 is a flowchart showing an example of processing for selecting an object when a locus is drawn out of the closed region in the present embodiment.

本図は図5のフローチャートに閉領域から軌跡がはみ出て描かれた場合にはみ出し軌跡下に位置するオブジェクトを選択対象とするかを判断する処理を追加したものである。ステップS501からステップS503までは図5と同様で、ステップS503にて閉曲線内のオブジェクトを選択対象とした上で、ステップS1301以降の処理へと進む。   This figure is obtained by adding processing for determining whether or not an object located under the protruding locus is selected as a selection target when the locus is drawn out of the closed region in the flowchart of FIG. Steps S501 to S503 are the same as in FIG. 5, and an object in the closed curve is selected as a selection target in step S503, and the process proceeds to step S1301 and subsequent steps.

ステップS1301では、閉領域からはみ出した軌跡のはみ出し量を算出する処理を行う。例えば、閉曲線を形成するために軌跡が交差した座標からはみ出した軌跡の先端の座標との距離を求めることで算出できる。   In step S1301, a process of calculating the amount of protrusion of the locus that protrudes from the closed region is performed. For example, it can be calculated by obtaining the distance from the coordinates of the tip of the locus that protrudes from the coordinates at which the locus intersects to form a closed curve.

ステップS1302では、ステップS1301にて算出されたはみ出し量が予め定められた閾値以内であるかを判断する処理である。ここではみ出し量が閾値以内であると判断された場合は(ステップS1302にてYes)、そのままオブジェクト選択処理を終了する。これにより、はみ出し量が閾値以内であれば、閉曲線内のオブジェクトのみが選択されることになる。選択状態としては図12(a)のようになる。次に、はみ出し量が閾値以内ではないと判断された場合は(ステップS1302にてNo)、ステップS1303へ進む。   Step S1302 is a process for determining whether the amount of protrusion calculated in step S1301 is within a predetermined threshold. Here, when it is determined that the amount of protrusion is within the threshold (Yes in step S1302), the object selection process is terminated as it is. As a result, if the amount of protrusion is within the threshold value, only the object within the closed curve is selected. The selected state is as shown in FIG. Next, when it is determined that the amount of protrusion is not within the threshold (No in step S1302), the process proceeds to step S1303.

ステップS1303では、はみ出した軌跡の終点が閉領域付近まで戻って来ているかを判断する処理である。例えば、軌跡の終点の座標が軌跡によって形成される閉領域部分の座標付近に存在するかどうかを判断する。ここで終点が閉領域付近に存在すると判断された場合は(ステップS1303にてYes)、そのままオブジェクト選択処理を終了する。これにより、一旦はみ出してもミスに気付いて軌跡を閉領域付近まで戻してきた場合は、閉曲線内のオブジェクトのみが選択されることになる。選択状態としては図12(c)のようになる。次に、終点が閉領域付近に存在しないと判断された場合は(ステップS1303にてNo)、ステップS1304へ進む。   Step S1303 is a process for determining whether the end point of the protruding locus has returned to the vicinity of the closed region. For example, it is determined whether or not the coordinates of the end point of the locus exist near the coordinates of the closed region portion formed by the locus. If it is determined that the end point exists in the vicinity of the closed region (Yes in step S1303), the object selection process is terminated as it is. As a result, if a mistake is noticed even if it protrudes and the trajectory is returned to the vicinity of the closed region, only the object within the closed curve is selected. The selected state is as shown in FIG. Next, when it is determined that the end point does not exist in the vicinity of the closed region (No in step S1303), the process proceeds to step S1304.

ステップS1304では、はみ出した軌跡の下に位置するオブジェクトを選択対象とする処理である。これにより、軌跡が大きくはみ出して閉領域外のオブジェクト上を通過した場合には、ユーザが意図して通過させたと認識して、はみ出し軌跡が通過した下に位置するオブジェクトも選択対象とされる。選択状態としては図12(b)のようになる。ステップS1304で選択対象となったオブジェクトは選択済みステータスが付与される。画面上には選択されたと分かるような表示を行っても良い。   In step S1304, an object located under the protruding locus is selected. As a result, when the trajectory protrudes greatly and passes over an object outside the closed region, it is recognized that the user has intentionally passed, and the object located below the protrusion trajectory is also selected. The selected state is as shown in FIG. The selected status is assigned to the object selected in step S1304. You may display on the screen so that it can be recognized that it has been selected.

以上のように本実施形態の情報処理装置100においては、閉曲線を描く際に軌跡がはみ出てしまった場合においても、はみ出し方を考慮し、はみ出した範囲に存在するオブジェクトの選択状態を変えることができる。このように不意にはみ出してしまってもそれは考慮されず、意図してはみ出した場合にのみはみ出した範囲のオブジェクトを選択でき、ユーザの意図に合わせた選択操作が可能となる。
なお、本発明の方法は、コンピュータにインストールされたプログラムを実行することによっても実現することができる。
As described above, in the information processing apparatus 100 according to the present embodiment, even when a locus protrudes when a closed curve is drawn, the selection state of an object existing in the protruding range can be changed in consideration of the protrusion. it can. Thus, even if it protrudes unexpectedly, it is not taken into consideration, and the object in the range that protrudes can be selected only when it protrudes intentionally, and a selection operation that matches the user's intention is possible.
Note that the method of the present invention can also be realized by executing a program installed in a computer.

100 情報処理装置
101 バス
102 CPU
103 ROM
104 RAM
105 記憶装置
106 外部記憶装置
107 入力装置
108 出力装置
201 オブジェクト管理部
202 画面形成部
203 画面表示部
204 入力処理部
205 手書き軌跡検出部
206 閉曲線判別部
207 オブジェクト選択部
301〜304 手書き軌跡
100 Information processing equipment
101 bus
102 CPU
103 ROM
104 RAM
105 Storage device
106 External storage device
107 Input device
108 Output device
201 Object Management Department
202 Screen forming part
203 Screen display
204 Input processor
205 Handwriting locus detector
206 Closed curve discriminator
207 Object selector
301-304 Handwritten locus

Claims (13)

複数のオブジェクトを同時に表示する表示手段と、
入力された軌跡が閉曲線であるかを判別する判別手段と、
前記表示手段によって表示されている複数のオブジェクトの中から選択するオブジェクトを決定する選択手段と、
前記判別手段によって前記軌跡が閉曲線であると判別された場合に、前記入力された軌跡の端点の位置を取得する第1の取得手段と、を備え、
前記選択手段は、前記判別手段によって前記軌跡が閉曲線と判別された場合は、前記第1の取得手段が取得した端点が存在する位置と前記閉曲線との相対位置関係に基づいて決定されるオブジェクトを選択し、前記軌跡が閉曲線でないと判別された場合は、前記入力された軌跡の下に表示されているオブジェクトを選択することを特徴とする情報処理装置。
Display means for displaying a plurality of objects simultaneously;
A discriminating means for discriminating whether the input locus is a closed curve;
Selection means for determining an object to be selected from among a plurality of objects displayed by the display means;
A first acquisition unit that acquires a position of an end point of the input locus when the determination unit determines that the locus is a closed curve;
In the case where the determination unit determines that the locus is a closed curve, the selection unit selects an object determined based on a relative positional relationship between the position where the end point acquired by the first acquisition unit exists and the closed curve. The information processing apparatus is selected, and when it is determined that the locus is not a closed curve, an object displayed under the input locus is selected.
前記判別手段は、前記入力された軌跡が同一オブジェクト上を2回通った場合に前記軌跡が閉曲線であると判別することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the determination unit determines that the locus is a closed curve when the input locus passes through the same object twice. 前記選択手段は、
前記第1の取得手段が取得した端点のうち、前記軌跡の入力が終了された終点が前記閉曲線の内側に存在すれば、前記閉曲線に囲まれた閉領域内に表示されているオブジェクトを選択することを特徴とする請求項1又は2に記載の情報処理装置。
The selection means includes
Of the end points acquired by the first acquisition means, if the end point at which the input of the trajectory is completed is inside the closed curve, the object displayed in the closed region surrounded by the closed curve is selected. The information processing apparatus according to claim 1 or 2.
前記選択手段は、
前記第1の取得手段が取得した端点のうち、前記軌跡の入力が終了された終点が前記閉曲線の線上に存在すれば、前記閉曲線の下に表示されているオブジェクトを選択することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。
The selection means includes
Of the end points acquired by the first acquisition means, if the end point at which the input of the trajectory is present is on the line of the closed curve, the object displayed under the closed curve is selected. The information processing apparatus according to claim 1.
前記選択手段は、
前記第1の取得手段が取得した端点のうち、前記軌跡の入力が終了された終点が前記閉曲線の外側に存在すれば、前記閉曲線の外側に表示されているオブジェクトを選択することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。
The selection means includes
Of the end points acquired by the first acquisition means, an object displayed outside the closed curve is selected if the end point where the input of the trajectory is present is outside the closed curve. The information processing apparatus according to claim 1.
前記選択手段は、
前記取得した端点のうち、前記軌跡の入力が終了された終点が前記閉曲線の内側に存在すれば、前記閉曲線に囲まれた閉領域内に全部が表示されているオブジェクトを選択し、
前記終点が前記閉曲線の外側に存在すれば、前記閉曲線の外側に表示されているオブジェクトを選択し、
前記終点が前記閉曲線の線上に存在すれば、前記閉曲線の下に表示されているオブジェクトを選択することを特徴とする請求項1又は2に記載の情報処理装置。
The selection means includes
Among the acquired end points, if the end point at which the input of the trajectory is finished exists inside the closed curve, an object that is displayed in the closed region surrounded by the closed curve is selected,
If the end point is outside the closed curve, select an object displayed outside the closed curve,
3. The information processing apparatus according to claim 1, wherein an object displayed under the closed curve is selected when the end point is on the line of the closed curve.
前記判別手段によって前記軌跡が閉曲線と判別された場合に、前記軌跡の入力が終了するまでに前記閉曲線による閉領域の外側にはみ出したはみ出し量を取得する第2の取得手段を更に備え、
前記選択手段は、前記第2の取得手段が取得した前記はみ出し量が所定の閾値より大きいか否かに基づいて、選択するオブジェクトを決定することを特徴とする請求項3に記載の情報処理装置。
When the determination unit determines that the locus is a closed curve, the image acquisition device further includes a second acquisition unit that acquires an amount of protrusion that protrudes outside the closed region by the closed curve until the input of the locus is completed.
The information processing apparatus according to claim 3, wherein the selection unit determines an object to be selected based on whether or not the amount of protrusion acquired by the second acquisition unit is greater than a predetermined threshold. .
前記選択手段は、前記第2の取得手段が取得した前記はみ出し量が所定の閾値より大きいか否かに基づいて、前記閉曲線によって囲まれた閉領域内に表示されているオブジェクトに加えて、他のオブジェクトを選択するか否かを決定することを特徴とする請求項7に記載の情報処理装置。   In addition to the object displayed in the closed region surrounded by the closed curve, the selection unit may include other objects based on whether the amount of protrusion acquired by the second acquisition unit is greater than a predetermined threshold. The information processing apparatus according to claim 7, wherein whether or not to select the object is determined. 前記選択手段は、
前記第2の取得手段が取得したはみ出し量が所定の閾値より大きい場合には、前記閉曲線に囲まれた閉領域内に表示されているオブジェクトと、前記閉曲線の外側にはみ出した軌跡の下に表示されているオブジェクトとを選択し、
前記第2の取得手段が取得したはみ出し量が前記所定の閾値以下である場合には、前記選択手段は、前記閉曲線に囲まれた閉領域内に表示されているオブジェクトのみを選択することを特徴とする請求項8に記載の情報処理装置。
The selection means includes
When the amount of protrusion acquired by the second acquisition means is larger than a predetermined threshold, the object is displayed in a closed region surrounded by the closed curve and displayed under a locus protruding outside the closed curve. Selected objects and
When the amount of protrusion acquired by the second acquisition unit is equal to or less than the predetermined threshold, the selection unit selects only an object displayed in a closed area surrounded by the closed curve. The information processing apparatus according to claim 8.
前記選択手段は、前記閉曲線による閉領域をはみ出した軌跡が、前記軌跡を遡って前記閉領域の付近で終了した場合には、前記閉曲線に囲まれた閉領域内に表示されているオブジェクトのみを選択することを特徴とする請求項8又は9に記載の情報処理装置。   When the trajectory that protrudes from the closed area by the closed curve traces back the trajectory and ends in the vicinity of the closed area, the selection means selects only the objects displayed in the closed area surrounded by the closed curve. The information processing apparatus according to claim 8 or 9, wherein the information processing apparatus is selected. 前記判別手段は、前記入力された軌跡の一部が交差している場合に、前記軌跡が閉曲線であると判別することを特徴とする請求項1乃至10のいずれかに記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the determination unit determines that the locus is a closed curve when a part of the input locus intersects. 複数のオブジェクトを同時に表示する表示工程と、
入力された軌跡が閉曲線であるかを判別する判別工程と、
前記表示手段によって表示されている複数のオブジェクトの中から選択するオブジェクトを決定する選択工程と、
前記判別工程によって前記軌跡が閉曲線であると判別された場合に、前記入力された軌跡の端点の位置を取得する第1の取得工程と、を備え、
前記選択工程では、前記判別工程において前記軌跡が閉曲線と判別された場合は、前記第1の取得工程で取得した端点が存在する位置と前記閉曲線との相対位置関係に基づいて決定されるオブジェクトを選択し、前記軌跡が閉曲線でなかった場合は、前記入力された軌跡の下に表示されているオブジェクトを選択することを特徴とする情報処理装置の制御方法。
A display process for displaying a plurality of objects simultaneously;
A determination step of determining whether the input locus is a closed curve;
A selection step of determining an object to be selected from a plurality of objects displayed by the display means;
A first acquisition step of acquiring the position of the end point of the input locus when the determination step determines that the locus is a closed curve,
In the selection step, when the trajectory is determined to be a closed curve in the determination step, an object determined based on a relative positional relationship between the position where the end point acquired in the first acquisition step exists and the closed curve is determined. A method for controlling an information processing apparatus, comprising: selecting an object displayed under the input locus when the locus is not a closed curve.
請求項12に記載の情報処理装置の制御方法の各工程をコンピュータにて実施させるためのプログラム。   A program for causing a computer to execute each step of the control method for the information processing apparatus according to claim 12.
JP2009117915A 2009-05-14 2009-05-14 Information processing apparatus, control method, and program Expired - Fee Related JP5464903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009117915A JP5464903B2 (en) 2009-05-14 2009-05-14 Information processing apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009117915A JP5464903B2 (en) 2009-05-14 2009-05-14 Information processing apparatus, control method, and program

Publications (3)

Publication Number Publication Date
JP2010267079A JP2010267079A (en) 2010-11-25
JP2010267079A5 JP2010267079A5 (en) 2012-06-14
JP5464903B2 true JP5464903B2 (en) 2014-04-09

Family

ID=43363998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009117915A Expired - Fee Related JP5464903B2 (en) 2009-05-14 2009-05-14 Information processing apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP5464903B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5871473B2 (en) 2011-02-09 2016-03-01 キヤノン株式会社 Target selection device, control method thereof, and control program
JP5172997B2 (en) * 2011-07-15 2013-03-27 シャープ株式会社 Information processing apparatus, operation screen display method, control program, and recording medium
JP2013025410A (en) * 2011-07-15 2013-02-04 Sharp Corp Information processor, operation screen display method, control program, and recording medium
JP5461670B1 (en) 2012-11-30 2014-04-02 株式会社 ディー・エヌ・エー Information processing apparatus and information processing apparatus program
CN104408397B (en) * 2014-09-25 2018-05-01 祁亨年 Relational norm description and evaluation method and device between Chinese-character writing stroke
CN104699385B (en) * 2014-12-31 2018-12-14 联想(北京)有限公司 A kind of information processing method and electronic equipment
JP2017004338A (en) * 2015-06-12 2017-01-05 クラリオン株式会社 Display device
JP6609190B2 (en) * 2016-01-07 2019-11-20 株式会社ミクシィ Information processing apparatus and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05151203A (en) * 1991-11-30 1993-06-18 Toshiba Corp Document preparation/edition device
JPH08153200A (en) * 1994-11-30 1996-06-11 Toshiba Corp Pattern recognition device
JP4312429B2 (en) * 2002-07-09 2009-08-12 シャープ株式会社 Handwriting input device and method, handwriting input program, and program recording medium
JP4217051B2 (en) * 2002-10-31 2009-01-28 キヤノンイメージングシステムズ株式会社 Information processing apparatus, object selection method, and object selection program
JP4848401B2 (en) * 2008-08-07 2011-12-28 任天堂株式会社 Game system using touch panel input

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal
CN110032324B (en) * 2018-01-11 2024-03-05 荣耀终端有限公司 Text selection method and terminal

Also Published As

Publication number Publication date
JP2010267079A (en) 2010-11-25

Similar Documents

Publication Publication Date Title
JP5464903B2 (en) Information processing apparatus, control method, and program
US9280276B2 (en) Method for controlling electronic device with touch screen and electronic device thereof
US9612736B2 (en) User interface method and apparatus using successive touches
EP2256614A1 (en) Display control apparatus, display control method, and computer program
US9875350B2 (en) Multi-vocal password verifying method and device
KR101094636B1 (en) System and method of gesture-based user interface
KR20110109551A (en) Touch screen device and method for processing input of the same
CN104238887B (en) The icon lookup method and device of conventional application program
US20120176385A1 (en) Display controller, display control method, and computer-readable storage medium
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
EP2696274A2 (en) Portable apparatus with a GUI and method of using the same
KR20160033547A (en) Apparatus and method for styling a content
US20170242568A1 (en) Target-directed movement in a user interface
KR20150083651A (en) Electronic apparatus and data displaying method thereof
US7742095B2 (en) Information processing apparatus, method and storage medium
US10684772B2 (en) Document viewing apparatus and program
JP5845969B2 (en) Information processing apparatus, information processing method, and program
JP5894764B2 (en) Information processing device
KR20140117979A (en) Method for selecting items using a touch screen and system thereof
US10241651B2 (en) Grid-based rendering of nodes and relationships between nodes
KR20150090698A (en) Method and apparatus of managing objects on wallpaper
JP6131004B2 (en) Object display method, program, and apparatus
JP5981617B1 (en) Computer program and computer-implemented method for displaying user interface images
CN109582424B (en) Interface closing method, system and related device
US9536126B2 (en) Function execution method based on a user input, and electronic device thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120427

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130509

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140121

R151 Written notification of patent or utility model registration

Ref document number: 5464903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees