JP6462519B2 - Information processing apparatus, information processing program, and information processing method - Google Patents

Information processing apparatus, information processing program, and information processing method Download PDF

Info

Publication number
JP6462519B2
JP6462519B2 JP2015145859A JP2015145859A JP6462519B2 JP 6462519 B2 JP6462519 B2 JP 6462519B2 JP 2015145859 A JP2015145859 A JP 2015145859A JP 2015145859 A JP2015145859 A JP 2015145859A JP 6462519 B2 JP6462519 B2 JP 6462519B2
Authority
JP
Japan
Prior art keywords
touch
image
page
touch input
aggregated
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
JP2015145859A
Other languages
Japanese (ja)
Other versions
JP2017027397A (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 JP2015145859A priority Critical patent/JP6462519B2/en
Publication of JP2017027397A publication Critical patent/JP2017027397A/en
Application granted granted Critical
Publication of JP6462519B2 publication Critical patent/JP6462519B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

この発明は、情報処理装置、情報処理プログラムおよび情報処理方法に関し、特にたとえば、タッチ入力を検出する手段を備える、情報処理装置、情報処理プログラムおよび情報処理方法に関する。   The present invention relates to an information processing device, an information processing program, and an information processing method.

この種の情報処理装置の一例が特許文献1に開示される。この特許文献1に開示される画像形成装置では、印刷処理が行われる前に画像を操作部の表示部にプレビュー表示させ、複数ページの画像に対してピンチイン操作を行うことにより、ページ集約を行う。   An example of this type of information processing apparatus is disclosed in Patent Document 1. In the image forming apparatus disclosed in Patent Document 1, the images are previewed on the display unit of the operation unit before the printing process is performed, and the pages are aggregated by performing a pinch-in operation on the images of a plurality of pages. .

また、この種の情報処理装置の他の例が特許文献2に開示される。この特許文献2に開示される画像ディスプレイは、デジタルカメラで撮影した写真画像やスキャン画像等を葉書等に印刷する機能を備え、印刷モードにおける葉書等のレイアウト設定において、葉書の裏面に印刷する写真やイラスト等の画像をタッチパネル表示部に表示する。この画像ディスプレイでは、フリック操作が行われたり、ピンチイン操作が行われたりすると、フリック操作またはピンチイン操作の方向に応じて、タッチパネル表示部に表示される画像の前または後に続く複数の画像が縮小されてタッチパネル表示部に一画面で表示される。   Another example of this type of information processing apparatus is disclosed in Patent Document 2. The image display disclosed in Patent Document 2 has a function of printing a photographic image, a scanned image, or the like taken with a digital camera on a postcard or the like. And images such as illustrations are displayed on the touch panel display. In this image display, when a flick operation or a pinch-in operation is performed, a plurality of images that precede or follow the image displayed on the touch panel display unit are reduced according to the direction of the flick operation or the pinch-in operation. Displayed on the touch panel display.

特開2014−188986号公報JP 2014-188986 A 特開2013−175090号公報JP 2013-175090 A

しかし、特許文献1の画像形成装置では、表示部にプレビュー表示された複数ページの画像についてページ集約を行うだけであり、改善の余地がある。   However, the image forming apparatus disclosed in Japanese Patent Application Laid-Open No. 2004-228561 only performs page aggregation for a plurality of pages of preview images displayed on the display unit, and there is room for improvement.

また、特許文献2の画像ディスプレイでは、タッチパネル表示部に表示されている画像の前後の画像が集約されて表示されるだけであり、特許文献1と同様に、改善の余地がある。   Moreover, in the image display of patent document 2, only the image before and behind the image currently displayed on the touchscreen display part is integrated and displayed, and similarly to patent document 1, there is room for improvement.

それゆえに、この発明の主たる目的は、新規な、情報処理装置、情報処理プログラムおよび情報処理方法を提供することである。   Therefore, a main object of the present invention is to provide a novel information processing apparatus, information processing program, and information processing method.

この発明の他の目的は、現在表示されている画像に関係無く、所望の複数の画像を集約して一画面に表示することができる、情報処理装置、情報処理プログラムおよび情報処理方法を提供することである。   Another object of the present invention is to provide an information processing apparatus, an information processing program, and an information processing method capable of aggregating and displaying a desired plurality of images on one screen regardless of the currently displayed image. That is.

第1の発明は、タッチ入力検出手段、表示手段、総数検出手段、分類手段、および集約手段を備える、情報処理装置である。タッチ入力検出手段は、タッチパネルまたはタッチパッドのような入力手段あり、タッチ入力を検出する。表示手段は、タッチ入力検出手段に関連して設けられ、タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する。たとえば、ユーザが手書きした画像、情報処理装置に内蔵または接続されるメモリに記憶された画像、および情報処理装置と通信可能なコンピュータから取得した画像がページ毎に表示手段に表示される。総数検出手段は、タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出する。たとえば、ユーザが左手または右手或いは両手の指でタッチした場合のタッチ数の総数が検出される。分類手段は、総数検出手段によって検出された総数が第1所定数以上である場合に、タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類する。具体的には、左手の指でタッチしたタッチ位置と右手の指でタッチしたタッチ位置がグループ分けされる。集約手段は、分類手段によって分類された二つのグループの位置関係が変化するとき、少なくとも、一方の当該グループに含まれるタッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれるタッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、一画面に収まるように集約した集約画像を生成する。たとえば、二つのグループの位置関係が変化する場合に、タッチ数で指定された複数のページが一ページに集約される。表示手段は、集約手段によって生成された集約画像を一画面で表示する。   A first invention is an information processing apparatus including touch input detection means, display means, total number detection means, classification means, and aggregation means. The touch input detection means is input means such as a touch panel or a touch pad, and detects touch input. The display means is provided in association with the touch input detection means, and displays an image on one screen for each page according to the touch input detected by the touch input detection means. For example, an image handwritten by a user, an image stored in a memory built in or connected to the information processing apparatus, and an image acquired from a computer that can communicate with the information processing apparatus are displayed on the display unit for each page. The total number detecting unit detects the total number of touch positions corresponding to the touch input detected by the touch input detecting unit. For example, the total number of touches when the user touches with the left hand, the right hand, or the fingers of both hands is detected. The classifying unit classifies the plurality of touch positions corresponding to the plurality of touch inputs detected by the touch input detection unit into two groups when the total number detected by the total number detection unit is equal to or greater than the first predetermined number. Specifically, the touch position touched with the left finger and the touch position touched with the right finger are grouped. The aggregation means includes a first reduced image obtained by reducing the first image of the page corresponding to the number of touch positions included in at least one of the groups when the positional relationship between the two groups classified by the classification means changes. And a second reduced image obtained by reducing the second image of the page corresponding to the number of touch positions included in the other group, and an aggregated image that is aggregated so as to fit on one screen is generated. For example, when the positional relationship between two groups changes, a plurality of pages specified by the number of touches are integrated into one page. The display means displays the aggregated image generated by the aggregation means on a single screen.

第1の発明によれば、タッチ数に応じて複数のページに対応する画像を縮小して一画面に収まるように集約するので、現在表示手段に表示されている画像に関係無く、直感的な操作で、所望の複数のページを簡単に集約して一画面で表示することができる。このため、所望の複数のページを容易に確認することができる。   According to the first invention, since the images corresponding to a plurality of pages are reduced and aggregated so as to fit on one screen according to the number of touches, it is intuitive regardless of the image currently displayed on the display means. By operation, a plurality of desired pages can be easily aggregated and displayed on one screen. Therefore, a desired plurality of pages can be easily confirmed.

第2の発明は、第1の発明に従属し、集約手段は、二つのグループの位置が離反したことに応じて、少なくとも第1縮小画像および第2縮小画像を含む集約画像を生成する。たとえば、左手と右手が離れるようにスライドさせたことに応じて、複数のページが一ページに集約される。   A second invention is dependent on the first invention, and the aggregating unit generates an aggregated image including at least a first reduced image and a second reduced image in response to the positions of the two groups being separated from each other. For example, a plurality of pages are combined into one page in response to sliding so that the left hand and the right hand are separated.

第2の発明によれば、簡単な操作で所望の複数のページを集約して一画面で表示することができる。   According to the second invention, a plurality of desired pages can be aggregated and displayed on a single screen with a simple operation.

第3の発明は、第1または第2の発明に従属し、集約手段は、二つのグループの位置が接近したことに応じて、第1縮小画像、第2縮小画像および第1画像に対応するページと第2画像に対応するページの間のページに対応する一つまたは複数の第3画像を縮小した一つまたは複数の第3縮小画像を含む集約画像を生成する。   A third invention is dependent on the first or second invention, and the aggregating unit corresponds to the first reduced image, the second reduced image, and the first image in accordance with the approach of the positions of the two groups. An aggregated image including one or more third reduced images obtained by reducing one or more third images corresponding to the page between the page and the page corresponding to the second image is generated.

第3の発明によれば、左手および右手で指定したページのみならず、それらの間のページについても一画面に収まるように集約して表示手段に表示することができる。   According to the third invention, not only the pages designated by the left hand and the right hand but also the pages between them can be aggregated and displayed on the display means so as to fit on one screen.

第4の発明は、第1の発明に従属し、集約手段は、二つのグループの位置が接近または離反したことに応じて、第1縮小画像および第2縮小画像を含む集約画像を生成する。たとえば、集約手段は、二つのグループの位置が接近したことと離反したことに拘わらず、同じ手法で左手および右手で指定した複数のページを一画面に収まるように集約してもよいし、二つのグループの位置が接近したことと離反したことに応じて、異なる手法で左手および右手で指定した複数のページを一画面に収まるように集約してもよい。   A fourth invention is dependent on the first invention, and the aggregation means generates an aggregate image including a first reduced image and a second reduced image in response to the positions of the two groups approaching or separating. For example, the aggregating means may aggregate a plurality of pages designated with the left hand and the right hand so as to fit on one screen regardless of whether the positions of the two groups are approaching or separating. A plurality of pages designated by the left hand and the right hand may be aggregated so as to fit on one screen in accordance with the approach and separation of the positions of one group.

第4の発明によれば、左手または右手或いは両手をスライドさせる方向に応じて集約の仕方を変えることができる。したがって、利便性を向上させることができる。   According to the fourth aspect, the way of aggregation can be changed according to the direction in which the left hand, the right hand, or both hands are slid. Therefore, convenience can be improved.

第5の発明は、第1または第4の発明に従属し、集約手段は、第1縮小画像、第2縮小画像および第1画像に対応するページと第2画像に対応するページの間のページに対応する一つまたは複数の第3画像を縮小した一つまたは複数の第3縮小画像を含む集約画像を生成する。   A fifth invention is dependent on the first or fourth invention, and the aggregation means includes a first reduced image, a second reduced image, and a page between the page corresponding to the first image and the page corresponding to the second image. An aggregated image including one or a plurality of third reduced images obtained by reducing one or a plurality of third images corresponding to is generated.

第5の発明によれば、左手のタッチ数および右手のタッチ数によって集約する複数のページの範囲を指定することができる。   According to the fifth aspect, it is possible to specify a range of a plurality of pages to be aggregated according to the number of left hand touches and the number of right hand touches.

第6の発明は、第1ないし第5の発明に従属し、情報処理装置は、状態判断手段および選択手段をさらに備える。状態判断手段は、タッチ数検出手段によって検出されたタッチ位置の数が第2所定数であるとき、当該所定数のタッチ位置のすべてが所定範囲内に含まれるかどうかを判断する。選択手段は、状態判断手段によって、所定数のタッチ位置のすべてが所定範囲内に含まれることが判断されたとき、複数のページを選択させる。集約手段は、選択手段によって選択させた複数のページに対応する複数の画像を縮小した複数の第4縮小画像を含む集約画像を生成する。   A sixth invention is dependent on the first to fifth inventions, and the information processing apparatus further includes state determination means and selection means. The state determination unit determines whether all of the predetermined number of touch positions are included in the predetermined range when the number of touch positions detected by the touch number detection unit is the second predetermined number. The selection unit selects a plurality of pages when the state determination unit determines that all of the predetermined number of touch positions are included in the predetermined range. The aggregation unit generates an aggregated image including a plurality of fourth reduced images obtained by reducing a plurality of images corresponding to the plurality of pages selected by the selection unit.

第6の発明によれば、タッチ位置の数によらないで集約する複数のページを選択し、選択した複数のページを集約することもできる。   According to the sixth aspect, it is possible to select a plurality of pages to be aggregated without depending on the number of touch positions, and to aggregate the selected plurality of pages.

第7の発明は、タッチ入力を検出するタッチ入力検出手段、およびタッチ入力検出手段に関連して設けられ、タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する表示手段を備える、情報処理装置の情報処理プログラムであって、情報処理装置のプロセッサに、タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出する総数検出ステップ、総数検出ステップにおいて検出した総数が所定数以上である場合に、タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類する分類ステップ、分類ステップにおいて分類した二つのグループの位置関係が変化するとき、少なくとも一方の当該グループに含まれるタッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれるタッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、一画面に収まるように集約した集約画像を生成する集約ステップ、および集約ステップにおいて生成された集約画像を表示手段に表示するステップを実行させる、情報処理プログラムである。   7th invention is provided in relation to the touch input detection means which detects a touch input, and a touch input detection means, and displays an image on one screen for every page according to the touch input detected by the touch input detection means An information processing program for an information processing device, comprising: a display unit that detects a total number of touch positions corresponding to the touch input detected by the touch input detection unit in a processor of the information processing device; A classification step for classifying a plurality of touch positions corresponding to a plurality of touch inputs detected by the touch input detection means into two groups when the total number detected in the step is a predetermined number or more; When the positional relationship of the group changes, the touch position included in at least one of the groups A first reduced image obtained by reducing the first image of the page corresponding to the number of the second image, and a second reduced image obtained by reducing the second image of the page corresponding to the number of touch positions included in the other group. An information processing program that executes an aggregation step of generating an aggregated image aggregated to fit on a screen and a step of displaying the aggregated image generated in the aggregation step on a display unit.

第8の発明は、タッチ入力を検出するタッチ入力検出手段、およびタッチ入力検出手段に関連して設けられ、タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する表示手段を備える、情報処理装置の情報処理方法であって、(a)タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出し、(b)ステップ(a)において検出した総数が所定数以上である場合に、タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類し、(c)ステップ(b)において分類した二つのグループの位置関係が変化するとき、少なくとも、一方の当該グループに含まれるタッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれるタッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、一画面に収まるように集約した集約画像を生成し、そして(d)ステップ(c)において生成した集約画像を表示手段に表示する、情報処理方法である。   An eighth invention is provided in association with a touch input detecting means for detecting a touch input and the touch input detecting means, and displays an image on a single screen for each page according to the touch input detected by the touch input detecting means. An information processing method for an information processing apparatus, comprising: a display means for detecting (a) a total number of touch positions corresponding to the touch input detected by the touch input detection means; and (b) detecting in step (a). When the total number is equal to or greater than the predetermined number, the plurality of touch positions corresponding to the plurality of touch inputs detected by the touch input detecting means are classified into two groups, and (c) the two classified in step (b) When the positional relationship of the group changes, the first image obtained by reducing the first image of the page corresponding to the number of touch positions included in at least one of the groups Including a small image and a second reduced image obtained by reducing the second image of the page corresponding to the number of touch positions included in the other group, generating an aggregated image that is aggregated to fit on one screen, and ( d) An information processing method for displaying the aggregated image generated in step (c) on the display means.

第7および第8の発明においても、第1発明と同様に、現在表示手段に表示されている画像に関係無く、直感的な操作で、所望の複数のページを簡単に集約して一画面で表示することができる。   In the seventh and eighth inventions, similarly to the first invention, a desired plurality of pages can be easily aggregated on a single screen by an intuitive operation regardless of the image currently displayed on the display means. Can be displayed.

この発明によれば、タッチ数に応じて複数のページに対応する画像を縮小して一画面に集約するので、現在表示手段に表示されている画像に関係無く、直感的な操作で、所望の複数のページを簡単に集約して一画面で表示することができる。このため、所望のページを容易に確認することができる。   According to the present invention, the images corresponding to a plurality of pages are reduced and collected on one screen according to the number of touches, so that the desired operation can be performed with an intuitive operation regardless of the image currently displayed on the display means. Multiple pages can be easily aggregated and displayed on a single screen. For this reason, a desired page can be easily confirmed.

図1はこの発明の第1実施例である情報処理装置の電気的な構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration of an information processing apparatus according to the first embodiment of the present invention. 図2は図1に示すディスプレイに表示されるタッチ画面の一例を示す図解図である。FIG. 2 is an illustrative view showing one example of a touch screen displayed on the display shown in FIG. 図3は図1に示すディスプレイ上において複数のページを集約する場合の集約操作を説明するための一例を示す図解図である。FIG. 3 is an illustrative view showing one example for explaining an aggregation operation when a plurality of pages are aggregated on the display shown in FIG. 1. 図4は図1に示すディスプレイに表示される集約画面の一例を示す図解図である。FIG. 4 is an illustrative view showing one example of an aggregation screen displayed on the display shown in FIG. 図5(A)は検出された複数のタッチ位置の分布を示す図解図であり、図5(B)は複数のタッチ位置を二つのグループに分類した状態を示す図解図である。FIG. 5A is an illustrative view showing a distribution of a plurality of detected touch positions, and FIG. 5B is an illustrative view showing a state in which the plurality of touch positions are classified into two groups. 図6は図1に示すRAMのメモリマップの一例を示す図解図である。FIG. 6 is an illustrative view showing one example of a memory map of the RAM shown in FIG. 図7は図1に示すCPUの編集モードの処理の一例の一部を示すフロー図である。FIG. 7 is a flowchart showing a part of an example of processing in the edit mode of the CPU shown in FIG. 図8は図1に示すCPUの編集モードの処理の他の一部であって、図7に後続するフロー図である。FIG. 8 is a flowchart showing another part of the edit mode processing of the CPU shown in FIG. 図9は第2実施例において複数のページを集約する場合の集約操作を説明するための図解図である。FIG. 9 is an illustrative view for explaining an aggregation operation when a plurality of pages are aggregated in the second embodiment. 図10は図1に示すディスプレイの集約画面の他の例を示す図解図である。FIG. 10 is an illustrative view showing another example of the aggregation screen of the display shown in FIG. 図11は第2実施例におけるCPUの編集モードの処理の一部であって、図7に後続するフロー図である。FIG. 11 is a flowchart showing a part of the edit mode processing of the CPU in the second embodiment and subsequent to FIG. 図12は第3実施例におけるCPUの編集モードの処理の一部であって、図7に後続するフロー図である。FIG. 12 is a flowchart showing a part of the edit mode processing of the CPU in the third embodiment and following FIG. 図13は第4実施例において複数のページを集約する場合にタッチ数によらないで集約するページを選択する操作方法を説明するための図解図である。FIG. 13 is an illustrative view for explaining an operation method for selecting pages to be aggregated without depending on the number of touches when a plurality of pages are aggregated in the fourth embodiment. 図14は第4実施例においてタッチ数によらないで集約するページを選択する場合に表示されるページ選択画面の一例を示す図解図である。FIG. 14 is an illustrative view showing one example of a page selection screen displayed when pages to be collected are selected regardless of the number of touches in the fourth embodiment. 図15は第4実施例におけるCPUの編集モードの処理の一例であって、第1実施例の編集モードの処理から変更した部分についてのフロー図である。FIG. 15 is an example of processing in the edit mode of the CPU in the fourth embodiment, and is a flow diagram for a portion changed from the edit mode processing in the first embodiment.

[第1実施例]
図1を参照して、この発明の第1実施例である情報処理装置10はCPU12を含む。CPU12には、バス30を介して、RAM14、タッチパネル制御回路16、描画制御回路18およびHDD(ハードディスクドライブ)24が接続される。また、タッチパネル制御回路16にはタッチパネル20が接続され、描画制御回路18にはディスプレイ22が接続される。
[First embodiment]
Referring to FIG. 1, information processing apparatus 10 according to the first embodiment of the present invention includes a CPU 12. A RAM 14, a touch panel control circuit 16, a drawing control circuit 18, and an HDD (hard disk drive) 24 are connected to the CPU 12 via a bus 30. A touch panel 20 is connected to the touch panel control circuit 16, and a display 22 is connected to the drawing control circuit 18.

この第1実施例の情報処理装置10は、タブレット端末、スマートフォン、PC、電子机(デジタルテーブル)、電子黒板などの各種の情報機器ないし電子機器に適用される。   The information processing apparatus 10 according to the first embodiment is applied to various information devices or electronic devices such as a tablet terminal, a smartphone, a PC, an electronic desk (digital table), and an electronic blackboard.

また、この第1実施例では、入力手段の一例として、タッチパネル20が用いられる場合について説明するが、タッチパネル20に代えて、タッチパッドを用いることもできる。また、情報処理装置10には、他の入力手段として、操作パネルのようなハードウェアの操作ボタンが設けられたり、ハードウェアのキーボードが接続されたりすることがある。   In the first embodiment, a case where the touch panel 20 is used as an example of an input unit will be described. However, a touch pad may be used instead of the touch panel 20. The information processing apparatus 10 may be provided with hardware operation buttons such as an operation panel or a hardware keyboard as other input means.

図1に戻って、CPU12は、情報処理装置10の全体的な制御を司る。RAM14は、CPU12のワーク領域およびバッファ領域として用いられる。   Returning to FIG. 1, the CPU 12 governs overall control of the information processing apparatus 10. The RAM 14 is used as a work area and a buffer area for the CPU 12.

タッチパネル制御回路16は、タッチパネル20に必要な電圧などを付与するとともに、タッチパネル20のタッチ有効範囲内でのタッチ操作(タッチ入力)を検出して、そのタッチ入力の位置(タッチ位置)を示すタッチ座標データをCPU12に出力する。   The touch panel control circuit 16 applies a necessary voltage to the touch panel 20, detects a touch operation (touch input) within the touch effective range of the touch panel 20, and indicates a touch input position (touch position). The coordinate data is output to the CPU 12.

タッチパネル20を用いた操作(入力)としては、タップ(短押し)、スライド(ドラッグ)、フリック、ロングタップ(長押し)などがあり、この第1実施例では、これらを「タッチ操作」または「タッチ入力」のように総称する。また、タッチパネル20をタッチしていない状態からタッチしている状態に変化することをタッチオン(ペンダウン)と言い、タッチパネル20をタッチしている状態からタッチしていない状態に変化することをタッチオフ(ペンアップ)と言う。継続的なタッチ入力つまりスライドやフリックによる入力に対しては、タッチパネル20は、現在のタッチ位置に対応するタッチ座標データを所定周期よりも短い周期で出力する。たとえば、所定周期は、1〜数フレームであり、1フレームは1/30秒、1/60秒または1/120秒である。   The operation (input) using the touch panel 20 includes tap (short press), slide (drag), flick, long tap (long press), etc. In the first embodiment, these are “touch operation” or “ “Touch input” is a generic term. Further, changing from a state where the touch panel 20 is not touched to a state where the touch panel 20 is touched is referred to as touch-on (pen down), and changing from a state where the touch panel 20 is touched to a state where the touch panel 20 is not touched is referred to as touch-off (pen Say up). In response to continuous touch input, that is, input by sliding or flicking, the touch panel 20 outputs touch coordinate data corresponding to the current touch position at a cycle shorter than a predetermined cycle. For example, the predetermined period is 1 to several frames, and one frame is 1/30 second, 1/60 second or 1/120 second.

タッチパネル20は、汎用のタッチパネルであり、静電容量方式、電磁誘導方式、赤外線方式など、任意の方式のものを用いることができる。この第1実施例では、タッチパネル20としては、静電容量方式のタッチパネルがディスプレイ22の表示面上に設けられる。ただし、タッチパネルは、ディスプレイ22の表示面上に設けられなくてもよい。   The touch panel 20 is a general-purpose touch panel, and an arbitrary system such as a capacitance system, an electromagnetic induction system, and an infrared system can be used. In the first embodiment, as the touch panel 20, a capacitive touch panel is provided on the display surface of the display 22. However, the touch panel may not be provided on the display surface of the display 22.

ユーザは、手指でタッチパネル20を操作する。ただし、ユーザは、専用のペンで操作することもできる。また、この第1実施例のタッチパネル20は、マルチタッチのタッチパネルであり、複数のタッチ入力を同時に検出することができる。したがって、タッチパネル20は、同時に、複数のタッチ入力を検出すると、各タッチ入力に対応するタッチ位置のそれぞれについてのタッチ座標データをCPU12に出力する。   The user operates the touch panel 20 with fingers. However, the user can also operate with a dedicated pen. The touch panel 20 of the first embodiment is a multi-touch touch panel, and can detect a plurality of touch inputs simultaneously. Accordingly, when the touch panel 20 simultaneously detects a plurality of touch inputs, the touch panel 20 outputs touch coordinate data for each touch position corresponding to each touch input to the CPU 12.

描画制御回路18は、GPUおよびVRAMなどを含んでおり、CPU12の指示の下、GPUは、RAM14に記憶された画像データ(後述する描画データ304bおよび画像生成データ304c:図6参照)を用いてディスプレイ22に表示するための表示画像データをVRAMに生成し、生成した表示画像データをディスプレイ22に出力する。ディスプレイ22としては、たとえばLCDやEL(Electro-Luminescence)ディスプレイなどを用いることができる。   The drawing control circuit 18 includes a GPU, a VRAM, and the like. Under the instruction of the CPU 12, the GPU uses image data (drawing data 304b and image generation data 304c described later: see FIG. 6) stored in the RAM 14. Display image data to be displayed on the display 22 is generated in the VRAM, and the generated display image data is output to the display 22. As the display 22, for example, an LCD or an EL (Electro-Luminescence) display can be used.

HDD24は、不揮発性のメモリであり、情報処理装置10のオペレーティングシステムや各種のアプリケーションソフトを記憶したり、各種のデータを記憶したりする。この第1実施例では、HDD24が情報処理装置10に内蔵される場合について示してあるが、HDD24は情報処理装置10の外部に通信可能に設けてもよい。また、HDD24に代えて、または、HDD24とともに、フラッシュメモリのような他の不揮発性の記憶媒体、メモリカードやメモリスティックのような記憶媒体または、CDまたはDVDなどのディスク記憶媒体を用いることもできる。   The HDD 24 is a non-volatile memory, and stores the operating system of the information processing apparatus 10 and various application software, and stores various data. In the first embodiment, a case where the HDD 24 is built in the information processing apparatus 10 is shown, but the HDD 24 may be provided outside the information processing apparatus 10 so as to be communicable. Further, instead of or together with the HDD 24, other nonvolatile storage media such as a flash memory, a storage medium such as a memory card or a memory stick, or a disk storage medium such as a CD or a DVD can be used. .

図2は図1に示すディスプレイ22に表示されるタッチ画面100の一例を示す図解図である。タッチ画面100には、ユーザが手書きした文字、図形または記号についての画像、或いは、それらの二種類以上を複合的に含む画像を表示する。以下、これらの画像を手書き画像と呼ぶことにする。ただし、情報処理装置10において、描画ソフト(描画アプリケーションプログラム)が実行され、編集モードが選択されると、白紙状態のタッチ画面100がディスプレイ22に表示される。   FIG. 2 is an illustrative view showing one example of a touch screen 100 displayed on the display 22 shown in FIG. On the touch screen 100, an image of a character, a figure, or a symbol handwritten by the user, or an image that includes two or more of them in combination is displayed. Hereinafter, these images are referred to as handwritten images. However, when the drawing software (drawing application program) is executed in the information processing apparatus 10 and the edit mode is selected, the blank screen touch screen 100 is displayed on the display 22.

なお、この第1実施例では、ユーザが手書きした手書き画像をタッチ画面100に表示する場合について説明するが、これに限定される必要はない。たとえば、情報処理装置10のHDD24に記憶された画像データや情報処理装置10に接続された記憶媒体または通信可能に接続された他の情報処理装置10またはPCなどから取得した画像データに対応する画像が表示されてもよい。   In addition, although this 1st Example demonstrates the case where the handwritten image handwritten by the user is displayed on the touch screen 100, it does not need to be limited to this. For example, an image corresponding to image data stored in the HDD 24 of the information processing apparatus 10, image data acquired from a storage medium connected to the information processing apparatus 10, another information processing apparatus 10 connected communicably or a PC, and the like. May be displayed.

詳細な説明は省略するが、編集モードでは、手書きの画像を描画したり、線色や塗り潰しの色を選択したり、文字、図形または記号を消去、コピー、切り取り、拡大または縮小したりするなど、様々な処理(編集処理)を実行することができる。また、この編集モードでは、ページを追加したり、ページを移動したり、編集した画像に対応するデータ(画像ファイル)をHDD24に保存したりすることもできる。   Although detailed explanation is omitted, in edit mode, drawing a handwritten image, selecting a line color or fill color, erasing, copying, cutting, enlarging or reducing characters, figures or symbols, etc. Various processes (editing processes) can be executed. In this editing mode, a page can be added, the page can be moved, and data (image file) corresponding to the edited image can be stored in the HDD 24.

通常、タッチ画面100は、一ページについての画面であり、上述したように、ユーザの操作に従って、ページを移動(他のページを表示)することができる。たとえば、他のページは、未編集の白紙のページまたは既に手書き画像が描画された編集中または編集済みのページである。   Normally, the touch screen 100 is a screen for one page, and as described above, the page can be moved (another page is displayed) in accordance with a user operation. For example, the other page is an unedited blank page or an edited or already edited page on which a handwritten image has already been drawn.

たとえば、編集作業が進み、複数のページが作成(編集)された後に、所望のページを確認する場合には、ユーザは、当該所望のページについてのタッチ画面100をディスプレイ22に表示する。たとえば、複数のページを確認したい場合には、当該複数のページの各々についてのタッチ画面100を順次ディスプレイ22に表示する。   For example, when a desired page is confirmed after the editing operation has progressed and a plurality of pages have been created (edited), the user displays the touch screen 100 for the desired page on the display 22. For example, when it is desired to confirm a plurality of pages, the touch screen 100 for each of the plurality of pages is sequentially displayed on the display 22.

このため、確認するページが多数有る場合には、多数のページのそれぞれを順次ディスプレイ22に表示するのが面倒であり、確認するのに時間がかかってしまう。したがって、この第1実施例では、複数のページを一ページ(一画面)に集約して、ディスプレイ22に表示するようにしてある。ただし、この第1実施例では、直感的な操作で、簡単に所望の複数のページを集約できるようにしてある。   For this reason, when there are a large number of pages to be confirmed, it is troublesome to display each of the large number of pages on the display 22 in order, and it takes time to confirm. Therefore, in the first embodiment, a plurality of pages are aggregated into one page (one screen) and displayed on the display 22. However, in the first embodiment, a desired plurality of pages can be easily aggregated by an intuitive operation.

図3は、ディスプレイ22に表示されたタッチ画面100上において、ページを集約する場合に行う操作(以下、「集約操作」という。)の一例を説明するための図解図である。図4は、第1実施例において集約操作が実行された場合に表示される集約画面200の一例を示す図解図である。ただし、図3では、ユーザの手の一部のみを図示してある。また、図3では、ユーザの指がタッチパネル20をタッチしていることを楕円に斜線を付して図示してある。これらのことは、後述する第2実施例(図9)および第4実施例(図13)についても同じである。   FIG. 3 is an illustrative view for explaining an example of an operation (hereinafter referred to as “aggregation operation”) performed when pages are aggregated on the touch screen 100 displayed on the display 22. FIG. 4 is an illustrative view showing one example of an aggregation screen 200 displayed when an aggregation operation is executed in the first embodiment. However, in FIG. 3, only a part of the user's hand is shown. In FIG. 3, the ellipse is hatched to indicate that the user's finger is touching the touch panel 20. These also apply to a second embodiment (FIG. 9) and a fourth embodiment (FIG. 13) described later.

図3に示すように、ユーザは、ディスプレイ22の表示面(タッチパネル20の検出面)上すなわちタッチ画面100上を、両手でタッチする。このとき、第1実施例では、ユーザは、集約したい連続するページの先頭と末尾のページ番号を左手の指と右手の指を用いて指定する。このタッチ操作に続けて、図3の白抜きの矢印で示すように、ユーザは、両手を接近させるようにスライドする。つまり、ユーザは、ピンチインするように、両手でタッチ操作を行う。このように、両手でタッチし、両手を接近させるようにスライドする操作ないし動作が第1実施例における集約操作である。ただし、両手を接近させるようにスライドする場合には、両手をスライドさせる必要は無く、左手および右手の一方を他方に接近させるようにスライドしてもよい。   As shown in FIG. 3, the user touches the display surface of the display 22 (the detection surface of the touch panel 20), that is, the touch screen 100 with both hands. At this time, in the first embodiment, the user designates the top and bottom page numbers of consecutive pages to be aggregated using the left and right fingers. Subsequent to this touch operation, the user slides so as to bring both hands closer as indicated by the white arrows in FIG. That is, the user performs a touch operation with both hands so as to pinch in. In this way, the operation or action of touching with both hands and sliding to bring both hands closer is the aggregation operation in the first embodiment. However, when sliding so that both hands approach, it is not necessary to slide both hands, and you may slide so that one of the left hand and the right hand may approach the other.

図3に示す例では、左手の人差し指がタッチされ、右手の人差し指、中指および薬指がタッチされる。つまり、左手のタッチ数は1であり、右手のタッチ数は3である。この第1実施例では、左手でタッチしたタッチ数および右手でタッチしたタッチ数のそれぞれがページ番号に相当する。したがって、図3に示すように集約操作が行われると、第1ページから第3ページを集約することが指示される。ただし、集約操作では、左手および右手で異なるページ番号を指定すれば良いため、左手と右手のタッチ数は逆でもよい。   In the example shown in FIG. 3, the left index finger is touched, and the right index finger, middle finger, and ring finger are touched. That is, the number of touches on the left hand is 1, and the number of touches on the right hand is 3. In the first embodiment, each of the number of touches touched with the left hand and the number of touches touched with the right hand corresponds to a page number. Therefore, when an aggregation operation is performed as shown in FIG. 3, it is instructed to aggregate the third page from the first page. However, in the aggregation operation, it is only necessary to specify different page numbers for the left hand and the right hand, so the number of touches of the left hand and the right hand may be reversed.

図3に示したように集約操作が行わると、図4に示すような集約画面200がディスプレイ22に表示される。この集約画面200は、タッチ画面100に代えて表示されてもよいし、タッチ画面100の前面に重ねて表示されてもよい。   When the aggregation operation is performed as illustrated in FIG. 3, an aggregation screen 200 as illustrated in FIG. 4 is displayed on the display 22. The aggregate screen 200 may be displayed instead of the touch screen 100, or may be displayed on the front surface of the touch screen 100.

図4に示すように、集約画面200には、画像202、画像204および画像206が表示される。画像202は、第1ページを縮小した縮小画像であり、画像204は、第2ページを縮小した縮小画像であり、そして、画像206は第3ページを縮小した縮小画像である。つまり、集約画面200は、第1ページ〜第3ページの各画像を縮小して、一ページ(一画面)に収まるように集約した集約画像である。以下、複数のページを一ページ(一画面)に収まるように集約する場合について同じである。   As shown in FIG. 4, an image 202, an image 204, and an image 206 are displayed on the aggregation screen 200. The image 202 is a reduced image obtained by reducing the first page, the image 204 is a reduced image obtained by reducing the second page, and the image 206 is a reduced image obtained by reducing the third page. That is, the consolidated screen 200 is a consolidated image obtained by reducing the images of the first page to the third page and collecting them so as to fit on one page (one screen). The same applies to a case where a plurality of pages are aggregated so as to fit on one page (one screen).

なお、図示は省略したが、編集モードにおいて、第2ページおよび第3ページについても作成され、図2に示したタッチ画面100において、第2ページを表示することが指示されると、当該第2ページについてのタッチ画面100が表示され、第3ページを表示することが指示されると、当該第3ページについてのタッチ画面100が表示される。ただし、第2ページの画像は、画像204をディスプレイ22の表示領域全体に拡大した画像に相当し、第3ページの画像は、画像206をディスプレイ22の表示領域全体に拡大した画像に相当する。   Although illustration is omitted, in the edit mode, the second page and the third page are also created, and when the second screen is instructed to be displayed on the touch screen 100 shown in FIG. When the touch screen 100 for the page is displayed and an instruction to display the third page is given, the touch screen 100 for the third page is displayed. However, the image of the second page corresponds to an image obtained by enlarging the image 204 over the entire display area of the display 22, and the image of the third page corresponds to an image obtained by enlarging the image 206 over the entire display area of the display 22.

たとえば、集約画面200では、ページ番号が最も小さい縮小画像が左上に表示され、集約画面200(ディスプレイ22に表示面)に向かって、右方向および下方向に向かうに従ってページ番号が大きくなるように、各ページに対応する複数の縮小画像が並べられる。ただし、縮小画像の縮小率は、集約するページ数に応じて予め決定される。   For example, on the aggregation screen 200, the reduced image having the smallest page number is displayed on the upper left, and the page number increases toward the aggregation screen 200 (display surface on the display 22) in the right direction and the downward direction. A plurality of reduced images corresponding to each page are arranged. However, the reduction ratio of the reduced image is determined in advance according to the number of pages to be aggregated.

ただし、集約するページの数が2である場合には、集約画面200に向かって、左側にページ番号が小さいページの縮小画像が配置され、右側にページ番号が大きいページの縮小画像が配置される。   However, when the number of pages to be aggregated is 2, toward the aggregation screen 200, a reduced image of a page with a small page number is arranged on the left side, and a reduced image of a page with a large page number is arranged on the right side. .

次に集約操作が行われたかどうかを判断する方法について説明する。この第1実施例では、上述したように、集約操作では、両手でタッチし、両手を接近させるようにスライドする。このとき、左手と右手のそれぞれでページ番号が指定される。したがって、左手と右手で集約するページのページ番号を指定する場合には、タッチ位置の総数の最小値は3であり、タッチ位置の総数の最大値は9である。   Next, a method for determining whether or not an aggregation operation has been performed will be described. In the first embodiment, as described above, in the aggregation operation, both hands touch and slide to bring both hands closer. At this time, a page number is designated for each of the left hand and the right hand. Therefore, when the page numbers of pages to be collected with the left hand and the right hand are designated, the minimum value of the total number of touch positions is 3, and the maximum value of the total number of touch positions is 9.

まず、タッチ入力が検出されると、タッチ位置の総数を検出し、タッチ位置の総数が3以上であるかどうかが判断される。タッチ位置の総数が2以下であれば、集約操作ではないと判断され、タッチ入力に応じた他の処理(集約処理以外の編集処理)が実行される。タッチ位置の総数が3以上である場合には、続いて、両手が接近するようにスライドされたかどうかが判断される。なお、タッチ位置の総数が10以上である場合にも、ユーザによる集約操作でないと判断するようにしてもよい。   First, when a touch input is detected, the total number of touch positions is detected, and it is determined whether the total number of touch positions is 3 or more. If the total number of touch positions is 2 or less, it is determined that the operation is not an aggregation operation, and another process (an editing process other than the aggregation process) corresponding to the touch input is executed. When the total number of touch positions is 3 or more, it is subsequently determined whether or not both hands have been slid so as to approach each other. Note that even when the total number of touch positions is 10 or more, it may be determined that the user does not perform an aggregation operation.

上述したように、左手のタッチ数および右手のタッチ数のそれぞれでページ番号を指定するため、両手が接近するようにスライドされたかどうかを判断する場合には、左手のタッチ入力(タッチ位置)のグループと、右手のタッチ入力(タッチ位置)のグループに複数のタッチ位置が分類され、二つのグループが次第に接近するかどうかが判断される。   As described above, since the page number is designated by the number of touches of the left hand and the number of touches of the right hand, when determining whether or not both hands have been slid so as to approach each other, the touch input of the left hand (touch position) A plurality of touch positions are classified into a group and a right hand touch input (touch position) group, and it is determined whether or not the two groups gradually approach.

ここで、複数のタッチ位置を二つのグループG1、G2に分類する方法について説明する。たとえば、左手または右手でページ数を指定する場合には、左手または右手でタッチ入力される複数の指は直径が所定長さR(たとえば、25cm)の範囲内に収まっていると考えられる。これは、実験等により、経験的に得た数値である。ただし、所定長さRは、タッチパネル20の検出範囲(ディスプレイ22の表示範囲)の大きさに応じて適宜変更される。   Here, a method for classifying a plurality of touch positions into two groups G1 and G2 will be described. For example, when the number of pages is designated with the left hand or the right hand, it is considered that the plurality of fingers touch-inputted with the left hand or the right hand are within a range of a predetermined length R (for example, 25 cm). This is a numerical value obtained empirically through experiments and the like. However, the predetermined length R is appropriately changed according to the size of the detection range of the touch panel 20 (display range of the display 22).

したがって、検出された複数のタッチ位置から基準の一つのタッチ位置P0を任意に決定し、当該基準のタッチ位置P0と他の複数のタッチ位置Pn(n=1,2,…,N−1)の各々との距離dmを算出する。ただし、距離dm(m=1,2,…,n)は数1に従って算出される。また、数1においては、基準のタッチ位置P0のタッチ座標を(x0,y0)とし、他のタッチ位置Pnのタッチ座標を(xn,yn)とする。   Accordingly, one reference touch position P0 is arbitrarily determined from the detected plurality of touch positions, and the reference touch position P0 and another plurality of touch positions Pn (n = 1, 2,..., N−1). The distance dm from each of the above is calculated. However, the distance dm (m = 1, 2,..., N) is calculated according to Equation 1. In Equation 1, the touch coordinates of the reference touch position P0 are (x0, y0), and the touch coordinates of other touch positions Pn are (xn, yn).

[数1]
dm=√{(xn−x0)+(yn−y0)
図5(A)は検出された複数のタッチ位置の分布を示す図解図であり、図5(B)は複数のタッチ位置を二つのグループに分類した状態を示す図解図である。
[Equation 1]
dm = √ {(xn−x0) 2 + (yn−y0) 2 }
FIG. 5A is an illustrative view showing a distribution of a plurality of detected touch positions, and FIG. 5B is an illustrative view showing a state in which the plurality of touch positions are classified into two groups.

図5(A)および図5(B)は、タッチパネル20に設定された二次元の座標系を示す。たとえば、タッチパネル20の左上の頂点が原点Oに設定され、左右方向がX軸方向であり、上下方向がY軸方向である。また、右方向がX軸のプラス方向であり、下方向がY軸のプラス方向である。図示は省略するが、たとえば、タッチパネル20に設定される座標系は、ディスプレイ22の表示面に設定される座標系と同じにされる。また、図5(A)および図5(B)においては、X軸およびY軸と点線で示す四角形がタッチパネル20の全検出範囲に相当する。   FIG. 5A and FIG. 5B show a two-dimensional coordinate system set on the touch panel 20. For example, the top left vertex of the touch panel 20 is set to the origin O, the horizontal direction is the X axis direction, and the vertical direction is the Y axis direction. The right direction is the positive direction of the X axis, and the downward direction is the positive direction of the Y axis. Although illustration is omitted, for example, the coordinate system set on the touch panel 20 is the same as the coordinate system set on the display surface of the display 22. Further, in FIGS. 5A and 5B, the quadrilaterals indicated by the X axis, the Y axis, and the dotted line correspond to the entire detection range of the touch panel 20.

たとえば、図5に示すように、五つのタッチ位置が検出された場合には、上述したように、この五つのタッチ位置から基準のタッチ位置P0が任意に決定される。また、他の複数のタッチ位置P1、P2、P3、P4も決定される。このように、基準のタッチ位置P0および他の複数のタッチ位置Pnが決定されると、集約操作の有無が判断されるまで、各タッチ位置は、それぞれ、変数を用いてタッチオフされるまで追跡(監視)される。続いて、数1に従って、基準のタッチ位置P0と他の複数のタッチ位置Pnのそれぞれとの距離dmが算出される。   For example, as shown in FIG. 5, when five touch positions are detected, the reference touch position P0 is arbitrarily determined from these five touch positions as described above. A plurality of other touch positions P1, P2, P3, and P4 are also determined. As described above, when the reference touch position P0 and a plurality of other touch positions Pn are determined, each touch position is tracked until it is touched off using a variable until it is determined whether or not an aggregation operation is performed ( Monitored). Subsequently, according to Equation 1, the distance dm between the reference touch position P0 and each of the other touch positions Pn is calculated.

基準のタッチ位置P0との距離dmが所定距離R以下である場合には、距離dmを算出したときの他のタッチ位置Pnは、基準のタッチ位置P0と同じグループ(たとえば、グループG1)に決定される。一方、基準のタッチ位置P0との距離dmが所定距離Rを超えている場合には、距離dmを算出した時の他のタッチ位置Pnは他のグループ(たとえば、グループG2)に決定される。このように、距離dmに応じて、複数のタッチ位置は、二つのグループに分類される。図5(A)に示した例では、図5(Bに示すように、二つのグループG1およびG2に分類される。   When the distance dm from the reference touch position P0 is equal to or less than the predetermined distance R, the other touch position Pn when the distance dm is calculated is determined to be the same group (for example, group G1) as the reference touch position P0. Is done. On the other hand, when the distance dm from the reference touch position P0 exceeds the predetermined distance R, another touch position Pn when the distance dm is calculated is determined to be another group (for example, group G2). Thus, according to the distance dm, the plurality of touch positions are classified into two groups. In the example shown in FIG. 5A, as shown in FIG. 5B, it is classified into two groups G1 and G2.

さらに、グループG2に分類されたタッチ位置Pnが複数有る場合には、複数のタッチ位置Pnが所定距離Rの範囲(所定範囲)内に含まれるかどうかが判断される。ここでは、複数のタッチ位置Pnから任意に一つのタッチ位置Pnが選択され、選択されたタッチ位置Pnと残りのタッチ位置Pnのそれぞれとの距離dpが算出され、すべての距離dpが所定距離R以下であるかどうかが判断される。距離dpの算出方法は、数1に示した距離dmの算出方法と同じである。   Further, when there are a plurality of touch positions Pn classified into the group G2, it is determined whether or not the plurality of touch positions Pn are included in a range (predetermined range) of the predetermined distance R. Here, one touch position Pn is arbitrarily selected from the plurality of touch positions Pn, the distance dp between the selected touch position Pn and each of the remaining touch positions Pn is calculated, and all the distances dp are set to a predetermined distance R. It is determined whether or not: The method for calculating the distance dp is the same as the method for calculating the distance dm shown in Equation 1.

距離dmが所定距離Rを超えるタッチ位置が一つでも有る場合には、グループが三つ以上であるため、集約操作で無いことが判断される。距離dpが所定距離Rを超えるタッチ位置が一つも無い場合には、複数のタッチ位置を二つのグループG1およびG2に分類できたことが判断される。   If there is even one touch position where the distance dm exceeds the predetermined distance R, it is determined that the operation is not an aggregation operation because there are three or more groups. If there is no touch position where the distance dp exceeds the predetermined distance R, it is determined that the plurality of touch positions can be classified into the two groups G1 and G2.

なお、この第1実施例では、基準のタッチ位置P0を複数のタッチ位置から任意に決定するようにしたが、両手でタッチしたときに、左手と右手が比較的近い場合に、他方の手に近いタッチ位置が基準のタッチ位置P0として決定されると、正しく二つのグループG1およびG2に分類できない場合もあると考えられる。したがって、基準のタッチ位置P0は、複数のタッチ位置のうち、最も右(X座標が最大)または左(X座標が最小)に位置するタッチ位置に決定するようにしてもよい。   In the first embodiment, the reference touch position P0 is arbitrarily determined from a plurality of touch positions. However, when the left hand and the right hand are relatively close when touching with both hands, If the close touch position is determined as the reference touch position P0, it may be considered that the two groups G1 and G2 may not be correctly classified. Therefore, the reference touch position P0 may be determined as a touch position located on the rightmost (X coordinate is maximum) or left (X coordinate is minimum) among a plurality of touch positions.

複数のタッチ位置が二つのグループG1およびG2に分類されると、二つのグループG1およびG2が次第に接近するかどうかが判断される。第1実施例では、所定時間(たとえば、数フレーム〜数十フレーム)毎に、グループG1およびG2のそれぞれに含まれるタッチ位置の中心座標(平均座標)が算出され、中心間の距離dqが算出されて、算出された距離dqが次第に短くなっているかどうかが判断される。   When the plurality of touch positions are classified into the two groups G1 and G2, it is determined whether or not the two groups G1 and G2 gradually approach. In the first embodiment, center coordinates (average coordinates) of touch positions included in each of the groups G1 and G2 are calculated every predetermined time (for example, several frames to several tens frames), and a distance dq between the centers is calculated. Then, it is determined whether or not the calculated distance dq is gradually shortened.

中心間の距離dqが変化しない、または、中心間の距離dqが次第に離れている場合には、集約操作が有ることは判断されない。一方、中心間の距離dqが次第に短くなっている場合には、二つのグループG1およびG2が次第に接近していると判断され、集約操作が有ることが判断される。   When the distance dq between the centers does not change or the distance dq between the centers gradually increases, it is not determined that there is an aggregation operation. On the other hand, when the distance dq between the centers is gradually shortened, it is determined that the two groups G1 and G2 are gradually approaching, and it is determined that there is an aggregation operation.

集約操作が有ることが判断されると、二つのグループG1およびG2のそれぞれに含まれるタッチ位置の数(タッチ数)K1、K2が検出され、各グループG1およびG2のタッチ数K1、K2に応じて、集約処理が実行される。第1実施例では、上述したように、一方のグループ(たとえば、グループG1)のタッチ数K1に対応するページおよび他方のグループ(たとえば、グループG2)のタッチ数K2に対応するページと、それらのページの間のページが一画面(一ページ)に収まるように集約されて、ディスプレイ22に表示される。つまり、一方のタッチ数に対応するページから他方のタッチ数に対応するページまでの複数のページが一ページに集約される。したがって、図4に示したように、左手のタッチ数と右手のタッチ数で指定された複数のページがそのページ数に応じた縮小率で縮小され、複数のページのそれぞれの縮小画像を含む集約画面200がディスプレイ22に表示される。   When it is determined that there is an aggregation operation, the number of touch positions (number of touches) K1 and K2 included in each of the two groups G1 and G2 is detected, and according to the number of touches K1 and K2 of each group G1 and G2. Thus, the aggregation process is executed. In the first embodiment, as described above, the page corresponding to the touch number K1 of one group (for example, group G1) and the page corresponding to the touch number K2 of the other group (for example, group G2), and those pages The pages between the pages are aggregated to fit on one screen (one page) and displayed on the display 22. That is, a plurality of pages from a page corresponding to one touch number to a page corresponding to the other touch number are integrated into one page. Therefore, as shown in FIG. 4, a plurality of pages specified by the number of left hand touches and the number of right hand touches are reduced at a reduction ratio corresponding to the number of pages, and an aggregate including reduced images of each of the plurality of pages. A screen 200 is displayed on the display 22.

図6は図1に示したRAM14のメモリマップ300の一例を示す図解図である。図6に示すように、RAM14は、プログラム記憶領域302およびデータ記憶領域304を含む。プログラム記憶領域302は、情報処理装置10で実行される描画アプリケーションプログラムのような情報処理プログラムを記憶し、描画アプリケーションプログラムは、入力検出プログラム302a、画像生成プログラム302b、表示プログラム302c、総数検出プログラム302d、グループ化プログラム302eおよび集約プログラム302fなどで構成される。この描画アプリケーションプログラムは、HDD24から読み出され、RAM14に記憶される。   FIG. 6 is an illustrative view showing one example of a memory map 300 of the RAM 14 shown in FIG. As shown in FIG. 6, the RAM 14 includes a program storage area 302 and a data storage area 304. The program storage area 302 stores an information processing program such as a drawing application program executed by the information processing apparatus 10, and the drawing application program includes an input detection program 302a, an image generation program 302b, a display program 302c, and a total number detection program 302d. , A grouping program 302e and an aggregation program 302f. The drawing application program is read from the HDD 24 and stored in the RAM 14.

入力検出プログラム302aは、タッチ入力を検出するためのプログラムであり、CPU12は、この入力検出プログラム302aに従って、タッチパネル20から出力されたタッチ座標データを取得し、取得したタッチ座標データを時系列に従ってRAM14に記憶する。ただし、上述したように、ハードウェアのボタンが設けられる場合およびハードウェアのキーボードが接続される場合には、入力検出プログラム302aに従って、ボタンないしキーの入力も検出される。   The input detection program 302a is a program for detecting a touch input. The CPU 12 acquires touch coordinate data output from the touch panel 20 according to the input detection program 302a, and the acquired touch coordinate data is stored in the RAM 14 according to time series. To remember. However, as described above, when a hardware button is provided or when a hardware keyboard is connected, the input of the button or key is also detected according to the input detection program 302a.

画像生成プログラム302bは、上記のタッチ画面100および集約画面200などの各種の表示画面についての画面データを生成するためのプログラムである。ただし、画像生成プログラム302bは、画面データを生成するとき、手書き画像についてのデータ(後述する描画データ304b)および後述する画像生成データ304cを使用する。また、画面データは、CPU12の指示の下、描画制御回路18に内蔵されるGPUによってVRAM上に生成される。   The image generation program 302b is a program for generating screen data for various display screens such as the touch screen 100 and the aggregate screen 200 described above. However, when generating the screen data, the image generation program 302b uses data on the handwritten image (drawing data 304b described later) and image generation data 304c described later. The screen data is generated on the VRAM by the GPU built in the drawing control circuit 18 under the instruction of the CPU 12.

表示プログラム302cは、画像生成プログラム302bに従って生成された画面データに対応する表示画面をディスプレイ22に表示するためプログラムであり、CPU12は、描画制御回路18を制御して、VRAM上に生成された画面データをディスプレイ22に出力する。   The display program 302c is a program for displaying a display screen corresponding to the screen data generated according to the image generation program 302b on the display 22, and the CPU 12 controls the drawing control circuit 18 to generate a screen generated on the VRAM. Data is output to the display 22.

総数検出プログラム302dは、タッチ位置の総数Nを検出するためのプログラムである。CPU12は、この総数検出プログラム302dに従って、同じフレームにおいて取得されたタッチ座標データの数をタッチ位置の総数Nとして検出する。   The total number detection program 302d is a program for detecting the total number N of touch positions. In accordance with the total number detection program 302d, the CPU 12 detects the number of touch coordinate data acquired in the same frame as the total number N of touch positions.

グループ化プログラム302eは、総数検出プログラム302dに従って検出されたタッチ位置の総数Nが3以上である場合に、複数のタッチ位置を二つのグループG1およびG2に分類するためのプログラムである。複数のタッチ位置を二つのグループG1およびG2に分類する方法は上述したとおりである。   The grouping program 302e is a program for classifying a plurality of touch positions into two groups G1 and G2 when the total number N of touch positions detected according to the total number detection program 302d is 3 or more. The method for classifying the plurality of touch positions into the two groups G1 and G2 is as described above.

集約プログラム302fは、グループ化プログラム302eに従って分類された二つのグループG1およびG2の中心座標が次第に近づくかどうかを判断することにより、集約操作が有るかどうかを判断して、集約操作が有る場合に、描画制御回路18を制御して、左手のタッチ数および右手のタッチ数に応じて指定された複数のページを一ページに集約するためのプログラムである。複数のページを一ページに集約する方法は上述したとおりである。なお、描画制御回路18において、複数のページのそれぞれを所定の縮小率で縮小し、縮小画像を並べて一画面に表示する方法はすでに周知であり、本願発明の本質的な内容では無いため、その説明は省略する。   The aggregation program 302f determines whether or not there is an aggregation operation by determining whether or not the central coordinates of the two groups G1 and G2 classified according to the grouping program 302e are gradually approaching. This is a program for controlling the drawing control circuit 18 to aggregate a plurality of pages designated according to the number of left hand touches and the number of right hand touches into one page. The method of consolidating a plurality of pages into one page is as described above. In the drawing control circuit 18, a method of reducing each of a plurality of pages at a predetermined reduction ratio and displaying the reduced images side by side on a single screen is already well known, and is not an essential content of the present invention. Description is omitted.

図示は省略するが、プログラム記憶領域302には、編集モードの処理において、各種の機能を選択したり実行したりするためのプログラムなども記憶される。   Although illustration is omitted, the program storage area 302 also stores a program for selecting and executing various functions in the edit mode processing.

また、データ記憶領域304には、操作入力データ304a、描画データ304b、画像生成データ304c、タッチ数データ304dおよび集約ページデータ304eが記憶される。   The data storage area 304 stores operation input data 304a, drawing data 304b, image generation data 304c, touch count data 304d, and aggregated page data 304e.

操作入力データ304aは、タッチパネル20から出力され、CPU12によって取得されたタッチ座標データを時系列に従って記憶したデータである。ただし、操作入力データ304aには、ハードウェアのボタンないしキーについての操作データが含まれる場合もある。   The operation input data 304a is data in which touch coordinate data output from the touch panel 20 and acquired by the CPU 12 is stored in time series. However, the operation input data 304a may include operation data for hardware buttons or keys.

描画データ304bは、操作入力データ304aに含まれるタッチ座標データのうち、手書き画像についてのデータであり、ページ毎に管理される。画像生成データ304cは、タッチ画面100および集約画面200などの各種の画面を生成するときに使用されるデータであり、ポリゴンデータやテクスチャデータなどを含む。この画像生成データ304cは、HDD24から読み出され、RAM14に記憶される。   The drawing data 304b is data about a handwritten image among the touch coordinate data included in the operation input data 304a, and is managed for each page. The image generation data 304c is data used when generating various screens such as the touch screen 100 and the aggregate screen 200, and includes polygon data, texture data, and the like. The image generation data 304 c is read from the HDD 24 and stored in the RAM 14.

タッチ数データ304dは、複数のタッチ位置が二つのグループG1およびG2に分類された場合の各グループG1およびG2に属するタッチ位置のタッチ数K1およびK2についての数値データである。集約ページデータ304eは、集約操作が行われた場合に、タッチ数K1およびK2に応じて集約することが決定された複数のページの各ページ番号についての数値データである。   The touch number data 304d is numerical data regarding the touch numbers K1 and K2 of the touch positions belonging to the groups G1 and G2 when a plurality of touch positions are classified into two groups G1 and G2. The aggregated page data 304e is numerical data for each page number of a plurality of pages determined to be aggregated according to the touch numbers K1 and K2 when an aggregation operation is performed.

データ記憶領域304には、描画アプリケーションプログラムを実行するために必要な他のデータも記憶され、また、当該描画アプリケーションプログラムを実行するために必要なカウンタ(タイマ)および他のフラグなども設けられる。   In the data storage area 304, other data necessary for executing the drawing application program is also stored, and a counter (timer) and other flags required for executing the drawing application program are also provided.

図7および図8は図1に示したCPU12の編集モードの処理を示すフロー図である。編集モードの処理は、描画アプリケーションが起動(実行)されると、実行される。   7 and 8 are flowcharts showing the edit mode processing of the CPU 12 shown in FIG. The edit mode process is executed when the drawing application is activated (executed).

図7に示すように、CPU12は編集モードの処理を開始すると、ステップS1で、タッチ入力が有るかどうかを判断する。ここでは、CPU12は、データ記憶領域304の操作入力データ304aに現フレームのタッチ座標データが含まれるかどうかを判断する。図示は省略するが、編集モードの処理が開始されると、白紙のページがディスプレイ22に表示される。ただし、保存された画像ファイルが読み込まれた場合には、編集途中または編集済みのページがディスプレイ22に表示される。   As shown in FIG. 7, when the CPU 12 starts the processing in the edit mode, it determines in step S1 whether there is a touch input. Here, the CPU 12 determines whether or not the touch input data of the current frame is included in the operation input data 304a in the data storage area 304. Although illustration is omitted, a blank page is displayed on the display 22 when processing in the edit mode is started. However, when a stored image file is read, a page that is being edited or has been edited is displayed on the display 22.

ステップS1で“NO”であれば、つまりタッチ入力が無ければ、同じステップS1に戻る。一方、ステップS1で“YES”であれば、つまりタッチ入力が有れば、ステップS3で、タッチ位置の総数Nを検出する。ここでは、CPU12は、データ記憶領域304に記憶された操作入力データ304aを参照して、現フレームのタッチ座標データの個数を検出する。   If “NO” in the step S1, that is, if there is no touch input, the process returns to the same step S1. On the other hand, if “YES” in the step S1, that is, if there is a touch input, the total number N of touch positions is detected in a step S3. Here, the CPU 12 refers to the operation input data 304 a stored in the data storage area 304 and detects the number of touch coordinate data of the current frame.

なお、図示は省略するが、CPU12は、描画アプリケーションが起動されると、タッチパネル20から出力されるタッチ座標データを取得し、データ記憶領域304に記憶する処理を、編集モードの処理と並行して実行する。   Although illustration is omitted, when the drawing application is activated, the CPU 12 acquires touch coordinate data output from the touch panel 20 and stores the data in the data storage area 304 in parallel with the edit mode process. Run.

続くステップS5では、タッチ位置の総数Nが3以上であるかどうかを判断する。ステップS5で“NO”であれば、つまりタッチ位置の総数Nが2以下であれば、ステップS7で、タッチ入力に応じた他の処理を実行して、ステップS9に進む。ステップS7では、タッチ入力に応じて、複数のページを集約する処理以外の編集処理を実行したり、ページを追加したり、ページを移動したり、画像ファイルを保存したりする。   In a succeeding step S5, it is determined whether or not the total number N of touch positions is 3 or more. If “NO” in the step S5, that is, if the total number N of touch positions is 2 or less, another process corresponding to the touch input is executed in a step S7, and the process proceeds to the step S9. In step S7, an editing process other than the process of aggregating a plurality of pages is executed, a page is added, a page is moved, and an image file is saved in response to a touch input.

ステップS9では、終了かどうかを判断する。ここでは、CPU12は、ユーザによって編集モードの処理(描画アプリケーション)の終了を指示されたかどうかを判断する。ステップS9で“NO”であれば、つまり終了でなければ、ステップS1に戻る。一方、ステップS9で“YES”であれば、終了であれば、編集モードの処理を終了する。   In step S9, it is determined whether or not the process is finished. Here, the CPU 12 determines whether or not the user has instructed to end the editing mode process (drawing application). If “NO” in the step S9, that is, if not finished, the process returns to the step S1. On the other hand, if “YES” in the step S9, if it is finished, the editing mode processing is finished.

また、ステップS5で“YES”であれば、つまりタッチ位置の総数Nが3以上であれば、ステップS11で、基準のタッチ位置P0と他の複数のタッチ位置Pnの各々の距離を算出する。ただし、ステップS11では、CPU12は、複数のタッチ位置から基準のタッチ位置P0を任意に決定するとともに、他の複数のタッチ位置Pnも決定する。   If “YES” in the step S5, that is, if the total number N of touch positions is 3 or more, the distance between the reference touch position P0 and the plurality of other touch positions Pn is calculated in a step S11. However, in step S11, the CPU 12 arbitrarily determines a reference touch position P0 from a plurality of touch positions, and also determines a plurality of other touch positions Pn.

続くステップS13では、複数のタッチ位置を所定距離R(たとえば、15cm)内に含まれるグループに分類する。次のステップS15では、グループが二つであるかどうかを判断する。ステップS15で“NO”であれば、つまりグループが一つまたは三つ以上であれば、ステップS17で、タッチ位置が変化したかどうかを判断する。ここでは、CPU12は、現フレームのタッチ位置が前フレームのタッチ位置と異なるかどうかを判断する。ただし、検出された複数のタッチ位置のうちのいずれか1つでも変化されていれば、タッチ位置が変化したと判断される。上述したように、基準のタッチ位置P0および他の複数のタッチ位置Pnが決定された後では、それぞれ、タッチオフされるまで変数を用いて追跡(監視)される。   In subsequent step S13, the plurality of touch positions are classified into groups included within a predetermined distance R (for example, 15 cm). In the next step S15, it is determined whether or not there are two groups. If “NO” in the step S15, that is, if one or more groups are present, it is determined whether or not the touch position has changed in a step S17. Here, the CPU 12 determines whether or not the touch position of the current frame is different from the touch position of the previous frame. However, if any one of the detected touch positions is changed, it is determined that the touch position has changed. As described above, after the reference touch position P0 and a plurality of other touch positions Pn are determined, each is tracked (monitored) using a variable until touch-off.

ステップS17で“NO”であれば、つまりタッチ位置が変化していなければ、同じステップS17に戻る。ただし、所定時間以上、タッチ位置が変化しない場合には、タッチ位置を変化させるか、一旦タッチオフするべき旨のメッセージを表示して、ステップS1に戻るようにしてもよい。一方、ステップS17で“YES”であれば、つまりタッチ位置が変化していれば、ステップS3に戻る。   If “NO” in the step S17, that is, if the touch position is not changed, the process returns to the same step S17. However, if the touch position does not change for a predetermined time or longer, the touch position may be changed, or a message indicating that touch-off should be performed once may be displayed, and the process may return to step S1. On the other hand, if “YES” in the step S17, that is, if the touch position is changed, the process returns to the step S3.

また、ステップS15で“YES”であれば、つまりグループが二つであれば、ステップS19で、各グループG1、G2のタッチ数K1およびK2を検出する。このとき、タッチ数K1およびK2に対応するタッチ数データ304dがデータ記憶領域304に記憶されるとともに、集約するページ(ページ番号)についての集約ページデータ304eがデータ記憶領域304に記憶される。   If “YES” in the step S15, that is, if there are two groups, the touch numbers K1 and K2 of the groups G1 and G2 are detected in a step S19. At this time, touch number data 304d corresponding to the touch numbers K1 and K2 is stored in the data storage area 304, and aggregated page data 304e for pages to be aggregated (page numbers) is stored in the data storage area 304.

続くステップS21では、二つのグループG1およびG2の中心座標が次第に近づいているかどうかを判断する。このステップS21では、上述したように、CPU12は、二つのグループの中心座標間の距離dqを数フレームまたは数十フレーム毎に算出し、距離dqが次第に短くなっているかどうかを判断する。   In a succeeding step S21, it is determined whether or not the center coordinates of the two groups G1 and G2 are gradually approaching. In step S21, as described above, the CPU 12 calculates the distance dq between the central coordinates of the two groups every several frames or several tens of frames, and determines whether the distance dq is gradually shortened.

ステップS21で“NO”であれば、つまり二つのグループG1およびG2の中心座標が近づいていなければ、同じステップS21に戻る。一方、ステップS21で“YES”であれば、つまり二つのグループG1およびG2の中心座標が次第に近づいていれば、集約操作が有ると判断して、ステップS23で、タッチ数K1に対応するページ、タッチ数K2に対応するページおよびそれらのページの間のページを一ページに集約し、ディスプレイ22に表示して、ステップS1に戻る。ただし、ステップS23では、CPU12は、集約ページデータ304eを参照して、集約するページ(ページ番号)を取得する。   If “NO” in the step S21, that is, if the center coordinates of the two groups G1 and G2 are not approaching, the process returns to the same step S21. On the other hand, if “YES” in the step S21, that is, if the central coordinates of the two groups G1 and G2 are gradually approaching, it is determined that there is an aggregation operation, and the page corresponding to the touch number K1 is determined in a step S23. The pages corresponding to the number of touches K2 and the pages between these pages are consolidated into one page, displayed on the display 22, and the process returns to step S1. However, in step S23, the CPU 12 refers to the aggregated page data 304e and acquires a page (page number) to be aggregated.

この第1実施例によれば、ユーザが両手でピンチインするようにタッチ操作したとき、左手のタッチ数に対応するページ、右手のタッチ数に対応するページおよびそれらのページの間のページを一ページに集約してディスプレイに表示するので、集約操作を行うときにディスプレイ22に表示されているページに関係なく、直感的な操作で、所望の複数のページを簡単に一ページに集約してディスプレイ22に表示することができる。このため、所望のページを容易に確認することができる。   According to the first embodiment, when a user performs a touch operation so as to pinch in with both hands, a page corresponding to the number of touches of the left hand, a page corresponding to the number of touches of the right hand, and a page between those pages are displayed as one page. Therefore, regardless of the page displayed on the display 22 when performing the aggregation operation, a plurality of desired pages can be easily aggregated into one page by an intuitive operation. Can be displayed. For this reason, a desired page can be easily confirmed.

なお、この第1実施例では、集約操作の有無を判断するために、分類された二つのグループG1およびG2の中心座標が次第に近づいているかどうかを判断するようにしたが、これに限定される必要はない。たとえば、分類された二つのグループG1およびG2のそれぞれから代表のタッチ位置を決定し、代表のタッチ位置間の距離が次第に近づいているかどうかを判断するようにしてもよい。また、二つのグループG1およびG2の中心座標間の距離dqに代えて、中心座標の二次元成分の少なくとも一方が近づいているかどうかを判断するようにしてもよい。このことは、代表のタッチ位置を決定する場合も同様である。   In the first embodiment, in order to determine the presence or absence of the aggregation operation, it is determined whether or not the center coordinates of the two classified groups G1 and G2 are gradually approaching. However, the present invention is not limited to this. There is no need. For example, a representative touch position may be determined from each of the two classified groups G1 and G2, and it may be determined whether the distance between the representative touch positions is gradually approaching. Further, instead of the distance dq between the center coordinates of the two groups G1 and G2, it may be determined whether at least one of the two-dimensional components of the center coordinates is approaching. This is the same when the representative touch position is determined.

また、この第1実施例では、集約操作が有ることが判断された場合に、ページを集約して表示するようにしたが、集約操作が有ることが判断され、すべての指がタッチオフされた後に、ページを集約して表示するようにしてもよい。   Further, in this first embodiment, when it is determined that there is an aggregation operation, the pages are aggregated and displayed. However, after it is determined that there is an aggregation operation and all fingers are touched off, The pages may be aggregated and displayed.

さらに、この第1実施例では、検出したタッチ位置の総数Nが3以上である場合に、複数のタッチ位置を二つのグループG1およびG2に分類するようにしたが、これに限定される必要はない。たとえば、操作ガイドで、ページを集約する場合には、左手と右手とを或る程度の時間(たとえば、2〜3秒)だけずらしてタッチする旨を説明しておき、時間的に先に検出されたタッチ入力に対応するタッチ位置と、時間的に後に検出されたタッチ入力に対応するタッチ位置を二つのグループG1およびG2に分類するようにしてもよい。
[第2実施例]
第2実施例の情報処理装置10は、分類された二つのグループが次第に遠ざかっている場合に、タッチ数K1に対応するページとタッチ数K2に対応するページとを集約するようにした以外は、第1実施例と同じである。したがって、第1実施例と異なる内容について説明し、重複する内容については、簡単に説明する、または、説明を省略する。
Furthermore, in the first embodiment, when the total number N of detected touch positions is 3 or more, the plurality of touch positions are classified into two groups G1 and G2. However, the present invention is not limited to this. Absent. For example, in the operation guide, when pages are collected, it is explained that the left hand and the right hand are touched while being shifted by a certain amount of time (for example, 2 to 3 seconds). The touch position corresponding to the touch input performed and the touch position corresponding to the touch input detected later in time may be classified into two groups G1 and G2.
[Second Embodiment]
In the information processing apparatus 10 of the second embodiment, when the two classified groups are gradually moving away from each other, the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are aggregated, The same as in the first embodiment. Therefore, contents different from the first embodiment will be described, and overlapping contents will be briefly described or omitted.

図9は第2実施例における集約操作を説明するための図解図である。図10は集約操作が実行された場合の集約画面の他の例を示す図解図である。   FIG. 9 is an illustrative view for explaining an aggregation operation in the second embodiment. FIG. 10 is an illustrative view showing another example of the aggregation screen when the aggregation operation is executed.

図9に示すように、第2実施例では、両手でタッチ画面100上をタッチし、白抜きの矢印で示すように、左手と右手が次第に遠ざかる(離反する)ように、左手または右手或いは両手をスライドさせると、左手のタッチ数に対応するページと右手のタッチ数に対応するページとが一ページに集約される。つまり、ピンチアウトするように左手と右手でタッチ操作すると、ページを集約することができる。   As shown in FIG. 9, in the second embodiment, the touch screen 100 is touched with both hands, and the left hand or the right hand or both hands are moved so that the left hand and the right hand gradually move away (separate) as indicated by the white arrows. , The page corresponding to the number of left hand touches and the page corresponding to the number of right hand touches are combined into one page. That is, if the left and right hands are touched so as to pinch out, pages can be collected.

図9に示す例では、左手のタッチ数は「1」であり、右手のタッチ数は「3」であるため、第1ページと第3ページとが集約される。つまり、第1ページに対応する画像が縮小されるとともに、第3ページに対応する画図が縮小され、各縮小画像が所定の位置に配置される。   In the example illustrated in FIG. 9, the number of touches on the left hand is “1” and the number of touches on the right hand is “3”, so the first page and the third page are collected. That is, the image corresponding to the first page is reduced, and the image corresponding to the third page is reduced, and each reduced image is arranged at a predetermined position.

したがって、図10に示すような集約画面200´がディスプレイ22に表示される。この集約画面200´では、第1ページの縮小画像である画像202と第3ページの縮小画像である画像206とが左右に並んで表示される。   Accordingly, an aggregate screen 200 ′ as shown in FIG. 10 is displayed on the display 22. In this aggregation screen 200 ′, an image 202 that is a reduced image of the first page and an image 206 that is a reduced image of the third page are displayed side by side.

なお、第2実施例では、左手および右手の各々で指定した二つのページが集約されるため、集約する場合に、画像を縮小する縮小率は予め決定される。また、第2実施例では、左手および右手の各々で指定した二つのページを集約するため、二つのページのうち、向かって左側にページ番号の小さい画像が表示され、向かって右側にページ番号の大きい画像が表示される。   In the second embodiment, two pages designated by each of the left hand and the right hand are aggregated. Therefore, when the pages are aggregated, a reduction ratio for reducing the image is determined in advance. In the second embodiment, since two pages designated by the left hand and the right hand are combined, an image with a smaller page number is displayed on the left side of the two pages, and the page number is displayed on the right side. A large image is displayed.

また、第2実施例では、第1実施例と同様に、タッチ位置の総数Nが所定数(たとえば、3)以上である場合に、複数のタッチ位置が二つのグループG1およびG2に分類される。そして、二つのグループG1およびG2の中心座標間の距離が次第に長くなる(離反する)場合に、集約操作が有ることが判断される。   In the second embodiment, as in the first embodiment, when the total number N of touch positions is a predetermined number (for example, 3) or more, the plurality of touch positions are classified into two groups G1 and G2. . Then, when the distance between the center coordinates of the two groups G1 and G2 gradually increases (separates), it is determined that there is an aggregation operation.

したがって、第2実施例では、集約プログラム302fは、二つのグループG1およびG2の中心座標間の距離dqが次第に長くなる(離反する)かどうかを判断する点が第1実施例とは異なる。ただし、上述したように、第2実施例では、一ページに集約されるのは、左手のタッチ数に対応するページと右手のタッチ数に対応するページである。   Therefore, in the second embodiment, the aggregation program 302f is different from the first embodiment in that it determines whether the distance dq between the center coordinates of the two groups G1 and G2 becomes gradually longer (separated). However, as described above, in the second embodiment, the pages corresponding to the number of touches of the left hand and the pages corresponding to the number of touches of the right hand are aggregated into one page.

図11は第2実施例におけるCPU12の編集モードの処理の一部であって、図7に後続するフロー図である。   FIG. 11 is a flowchart showing a part of the editing mode processing of the CPU 12 in the second embodiment and subsequent to FIG.

具体的な編集モードの処理については、図7および図8に示した第1実施例の編集モードの処理において、図11に示すように、図8の一部の処理が変更される。したがって、同じ処理には同じ参照符号を付してある。   As for the specific edit mode process, as shown in FIG. 11, in the edit mode process of the first embodiment shown in FIGS. 7 and 8, a part of the process in FIG. 8 is changed. Therefore, the same reference numerals are assigned to the same processes.

図11に示すように、第2実施例の編集モードの処理では、CPU12は、ステップS19で、各グループのタッチ数K1およびK2を検出すると、ステップS31で、二つのグループG1およびG2の中心座標が次第に遠ざかっているかどうかを判断する。ここでは、CPU12は、二つのグループG1およびG2の中心座標間の距離を数フレームまたは数十フレーム毎に算出し、距離が次第に長くなっているかどうかを判断する。   As shown in FIG. 11, in the edit mode process of the second embodiment, when the CPU 12 detects the touch numbers K1 and K2 of each group in step S19, the central coordinates of the two groups G1 and G2 are detected in step S31. Determine whether is gradually moving away. Here, the CPU 12 calculates the distance between the center coordinates of the two groups G1 and G2 every several frames or several tens of frames, and determines whether the distance is gradually increased.

ステップS31で“NO”であれば、つまり二つのグループG1およびG2の中心座標が遠ざかっていなければ、そのまま同じステップS31に戻る。一方、ステップS31で“YES”であれば、つまり二つのグループの中心座標が次第に遠ざかっていれば、ステップS33で、タッチ数K1に対応するページとタッチ数K2に対応するページを一ページに集約し、ディスプレイ22に表示して、ステップS1に戻る。   If “NO” in the step S31, that is, if the center coordinates of the two groups G1 and G2 are not moved away, the process returns to the same step S31 as it is. On the other hand, if “YES” in the step S31, that is, if the center coordinates of the two groups are gradually moved away, in step S33, the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are integrated into one page. And it displays on the display 22, and returns to step S1.

この第2実施例によれば、第1実施例と同様に、集約操作を行うときにディスプレイ22に表示されているページに関係なく、直感的な操作で、所望の二つのページを一ページに簡単に集約してディスプレイ22に表示することができる。   According to the second embodiment, similarly to the first embodiment, two desired pages can be made into one page by an intuitive operation regardless of the page displayed on the display 22 when performing the aggregation operation. They can be easily aggregated and displayed on the display 22.

なお、この第2実施例では、集約操作の有無を判断するために、分類された二つのグループG1およびG2の中心座標が次第に遠ざかっているかどうかを判断するようにしたが、これに限定される必要はない。たとえば、分類された二つのグループG1およびG2のそれぞれから代表のタッチ位置を決定し、代表のタッチ位置間の距離が次第に遠ざかっているかどうかを判断するようにしてもよい。また、二つのグループG1およびG2の中心座標間の距離dqに代えて、中心座標の二次元成分の少なくとも一方が遠ざかっているかどうかを判断するようにしてもよい。このことは、代表のタッチ位置を決定する場合も同様である。
[第3実施例]
第3実施例では、分類された二つのグループが次第に近づいている場合には、タッチ数K1に対応するページ、タッチ数K2に対応するページおよびそれらの間のページを一ページに集約し、分類された二つのグループが次第に遠ざかっている場合には、タッチ数K1に対応するページとタッチ数K2に対応するページとを一ページに集約するようにした以外は、第1実施例と同じである。したがって、第1実施例と異なる内容について説明し、重複する内容については、簡単に説明する、または、説明を省略する。
In the second embodiment, in order to determine the presence or absence of the aggregation operation, it is determined whether the central coordinates of the two classified groups G1 and G2 are gradually moving away from each other. However, the present invention is not limited to this. There is no need. For example, a representative touch position may be determined from each of the two classified groups G1 and G2, and it may be determined whether or not the distance between the representative touch positions is gradually increasing. Further, instead of the distance dq between the center coordinates of the two groups G1 and G2, it may be determined whether at least one of the two-dimensional components of the center coordinates is moving away. This is the same when the representative touch position is determined.
[Third embodiment]
In the third embodiment, when the two classified groups are gradually approaching, the page corresponding to the touch number K1, the page corresponding to the touch number K2, and the page between them are aggregated into one page, and classified. When the two groups are gradually moving away from each other, the page is the same as the first embodiment except that the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are aggregated into one page. . Therefore, contents different from the first embodiment will be described, and overlapping contents will be briefly described or omitted.

この第3実施例では、図3に示したように、ユーザがピンチインするように両手でタッチ操作した場合には、図4に示したように、左手のタッチ数に対応するページ、右手のタッチ数に対応するページおよびそれらの間のページが一ページに集約された集約画面200がディスプレイ22に表示される。一方、図9に示したように、ユーザがピンチアウトするように両手でタッチ操作した場合には、図10に示したように、左手のタッチ数に対応するページと右手のタッチ数に対応するページとが一ページに集約される。   In this third embodiment, as shown in FIG. 3, when the user performs a touch operation with both hands so as to pinch in, as shown in FIG. An aggregate screen 200 in which pages corresponding to the numbers and pages between them are aggregated into one page is displayed on the display 22. On the other hand, as shown in FIG. 9, when the user performs a touch operation with both hands so as to pinch out, as shown in FIG. 10, the page corresponding to the number of left hand touches and the number of right hand touches are handled. Pages are consolidated into one page.

したがって、第3実施例では、集約プログラム302fは、二つのグループG1およびG2の中心座標間の距離dqが次第に短くなるかどうかを判断するとともに、二つのグループG1およびG2の中心座標間の距離dqが次第に長くなるかどうかを判断する。そして、集約プログラム302fは、距離dqが次第に短くなる場合には、タッチ数K1に対応するページ、タッチ数K2に対応するページおよびそれらの間のページを一ページに集約するが、距離dqが次第に長くなる場合には、タッチ数K1に対応するページとタッチ数K2に対応するページとを一ページに集約する。   Therefore, in the third embodiment, the aggregation program 302f determines whether or not the distance dq between the center coordinates of the two groups G1 and G2 gradually decreases, and also determines the distance dq between the center coordinates of the two groups G1 and G2. To see if it becomes longer. Then, when the distance dq is gradually shortened, the aggregation program 302f aggregates the page corresponding to the touch number K1, the page corresponding to the touch number K2, and the pages between them into one page, but the distance dq gradually increases. When it becomes long, the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are integrated into one page.

図12は第3実施例における編集モードの処理の一部であって、図7に後続するフロー図である。   FIG. 12 is a part of the edit mode process in the third embodiment and is a flowchart subsequent to FIG.

具体的な編集モードの処理については、図7および図8に示した第1実施例の編集モードの処理において、図12に示すように、図8に示した処理に図11に示した一部の処理が追加される。したがって、同じ処理には同じ参照符号を付してある。   As for the specific edit mode process, as shown in FIG. 12, in the edit mode process of the first embodiment shown in FIGS. 7 and 8, the process shown in FIG. Is added. Therefore, the same reference numerals are assigned to the same processes.

図12に示すように、CPU12は、ステップS19で、各グループのタッチ数K1およびK2を検出すると、ステップS21で、二つのグループG1およびG2の中心座標が次第に近づいているかどうかを判断する。ステップS21で“YES”であれば、ステップS23で、タッチ数K1に対応するページ、タッチ数K2に対応するページおよびそれらのページの間のページを一ページに集約し、ディスプレイ22に表示して、ステップS1に戻る。   As shown in FIG. 12, when the CPU 12 detects the number of touches K1 and K2 of each group in step S19, it determines in step S21 whether the center coordinates of the two groups G1 and G2 are gradually approaching. If “YES” in the step S 21, the page corresponding to the touch number K 1, the page corresponding to the touch number K 2, and pages between those pages are aggregated into one page and displayed on the display 22 in step S 23. Return to step S1.

一方、ステップS21で“NO”であれば、ステップS31で、二つのグループG1およびG2の中心座標が次第に遠ざかっているかどうかを判断する。ステップS31で“NO”であれば、ステップS21に戻る。一方、ステップS31で“YES”であれば、ステップS33で、タッチ数K1に対応するページとタッチ数K2に対応するページを集約し、ディスプレイ22に表示して、ステップS1に戻る。   On the other hand, if “NO” in the step S21, it is determined whether or not the central coordinates of the two groups G1 and G2 gradually move away in a step S31. If “NO” in the step S31, the process returns to the step S21. On the other hand, if “YES” in the step S31, the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are aggregated and displayed on the display 22 in a step S33, and the process returns to the step S1.

なお、第3実施例では、二つのグループG1およびG2が次第に近づいているか、遠ざかっているかに応じて、集約される複数のページが異なるため、集約する複数のページに対応する集約ページデータ304eは、ステップS21で“YES”またはステップS31で“YES”となったときに、タッチ数K1およびK2に基づいてRAM304に記憶される。   In the third embodiment, since the plurality of pages to be aggregated differ depending on whether the two groups G1 and G2 are gradually approaching or moving away, the aggregated page data 304e corresponding to the plurality of pages to be aggregated is When “YES” is determined in the step S21 or “YES” is determined in the step S31, the data is stored in the RAM 304 based on the touch numbers K1 and K2.

第3実施例においても、第1実施例と同様に、集約操作を行うときにディスプレイ22に表示されているページに関係なく、直感的な操作で、所望の二つのページを一ページに簡単に集約してディスプレイ22に表示することができる。   In the third embodiment, similarly to the first embodiment, the desired two pages can be easily made into one page by an intuitive operation regardless of the page displayed on the display 22 when performing the aggregation operation. The data can be collected and displayed on the display 22.

また、第3実施例では、集約操作において左手または右手或いは両手をスライドさせる向きに応じて、所望の二つのページまたは所望の三つ以上の連続するページを一ページに集約することができるので、利便性が高い。
[第4実施例]
第4実施例では、タッチ数で指定できないページについてもさらに集約可能にした以外は、第1実施例と同じであるため、異なる内容について説明し、重複した内容については、説明を省略する、または、簡単に説明することにする。
Further, in the third embodiment, the desired two pages or three or more desired continuous pages can be consolidated into one page according to the direction in which the left hand, the right hand, or both hands are slid in the aggregation operation. Convenience is high.
[Fourth embodiment]
The fourth embodiment is the same as the first embodiment except that pages that cannot be specified by the number of touches can be further aggregated, so that different contents will be described and description of duplicate contents will be omitted, or I will briefly explain.

図13は、タッチ数によらないで集約するページを指定(選択)し、選択した複数のページを一ページに集約する場合の操作方法を説明するための図解図である。図14は、タッチ数によらないで集約する複数のページを選択する場合にディスプレイ22に表示されるページ選択画面の一例を示す図解図である。   FIG. 13 is an illustrative view for describing an operation method when a page to be aggregated is designated (selected) regardless of the number of touches, and a plurality of selected pages are aggregated into one page. FIG. 14 is an illustrative view showing one example of a page selection screen displayed on the display 22 when selecting a plurality of pages to be aggregated regardless of the number of touches.

図13に示すように、左手のすべての指でタッチし、この状態が所定時間(たとえば、2〜3秒)継続すると、タッチ数によらないで複数のページを集約する処理(機能)が実行され、図14に示すページ選択画面500がディスプレイ22に表示される。   As shown in FIG. 13, when all the fingers of the left hand are touched and this state continues for a predetermined time (for example, 2 to 3 seconds), a process (function) for aggregating a plurality of pages regardless of the number of touches is executed. Then, a page selection screen 500 shown in FIG. 14 is displayed on the display 22.

なお、図13に示す例では、左手でタッチするようにしてあるが、右手でタッチしてもよい。また、ページ選択画面500は、タッチ画面100に代えて表示されてもよいし、タッチ画面100の前面に重ねて表示されてもよい。   In the example shown in FIG. 13, the touch is made with the left hand, but the touch may be made with the right hand. Further, the page selection screen 500 may be displayed instead of the touch screen 100 or may be displayed so as to overlap the front surface of the touch screen 100.

図14に示すように、ページ選択画面500は、ページを選択するための複数のアイコン502が表示される。図14では、第1ページ(P1)から第2ページ(P20)までのアイコン502が表示されるが、ページ数が20に満たない場合には、当該ページ数に応じた数のアイコン502が表示される。また、ページ数が20を越える場合には、たとえば、ページ選択画面500のうち、アイコン502が表示される領域(部分)がスクロールされ、第21ページ以降のアイコン502も選択可能にアイコン502が表示される。   As shown in FIG. 14, the page selection screen 500 displays a plurality of icons 502 for selecting pages. In FIG. 14, the icons 502 from the first page (P1) to the second page (P20) are displayed. When the number of pages is less than 20, the number of icons 502 corresponding to the number of pages is displayed. Is done. Further, when the number of pages exceeds 20, for example, an area (part) where the icon 502 is displayed in the page selection screen 500 is scrolled, and the icon 502 is displayed so that the icons 502 on and after the 21st page can also be selected. Is done.

たとえば、ページ選択画面500では、アイコン502を一度タッチすると、タッチされたアイコン502に対応するページが選択された状態となり、選択された状態のページに対応するアイコン502がタッチされると、当該アイコン502に対応するページが選択されていない状態に変化される。図14では、アイコン502に対応するページが選択された状態を、当該アイコン502に斜線を付して示してある。後述する他のアイコン504、506、508についても同様である。   For example, on the page selection screen 500, once the icon 502 is touched, the page corresponding to the touched icon 502 is selected, and when the icon 502 corresponding to the selected page is touched, the icon 502 is touched. The page corresponding to 502 is changed to a state where it is not selected. In FIG. 14, a state where a page corresponding to the icon 502 is selected is indicated by hatching the icon 502. The same applies to other icons 504, 506, and 508 described later.

また、ページ選択画面500の上部(複数のアイコン502の上方)には、アイコン504、506および508が表示される。アイコン504は、選択された状態の二つのページおよびそれらの間のページを一ページに集約することを選択するために設けられる。したがって、アイコン504がタッチされている状態で、二つのアイコン502がタッチされると、当該二つのアイコン502に対応する二つのページとそれらの間のページが集約する複数のページとして選択されるのである。アイコン506は、選択された状態の複数のページを一ページに集約することを選択するために設けられる。つまり、アイコン504および506は、ページの集約方法を選択するためのアイコンである。   In addition, icons 504, 506, and 508 are displayed at the top of the page selection screen 500 (above the plurality of icons 502). An icon 504 is provided for selecting to combine the two pages in the selected state and the pages between them into one page. Therefore, when the two icons 502 are touched while the icon 504 is being touched, the two pages corresponding to the two icons 502 and the pages between them are selected as a plurality of pages. is there. The icon 506 is provided for selecting to combine a plurality of selected pages into one page. That is, the icons 504 and 506 are icons for selecting a page aggregation method.

アイコン508は、集約するページの選択および集約方法を決定し、選択されたページを選択された集約方法に従って一ページに集約し、ディスプレイ22に表示するために設けられる。したがって、集約可能な状態になる前においては、アイコン508はタッチできない状態にされる。タッチできない状態とは、アイコン508がたとえばグレーアウト(または、半透明)で表示され、仮にアイコン508がタッチされたとしても、何ら処理が実行されない状態を意味する。また、集約可能な状態とは、少なくとも二つページが選択された状態である。   An icon 508 is provided for determining a selection of pages to be aggregated and a method of aggregation, consolidating the selected pages into one page according to the selected aggregation method, and displaying the pages on the display 22. Therefore, the icon 508 is not touched before it can be consolidated. The state where the touch cannot be performed means a state where the icon 508 is displayed in grayout (or translucent), for example, and no processing is executed even if the icon 508 is touched. Moreover, the state that can be aggregated is a state in which at least two pages are selected.

したがって、図14に示す状態において、アイコン508がタッチされると、図示は省略するが、ページ7(P7)からページ(P14)までの8ページが集約された集約画面がディスプレイ22に表示される。   Therefore, when the icon 508 is touched in the state shown in FIG. 14, although not shown, an aggregate screen in which eight pages from page 7 (P7) to page (P14) are aggregated is displayed on the display 22. .

この第4実施例では、左手または右手のすべての指がタッチされていることを検出するため、タッチ位置の総数Nが5である場合に、五つのタッチ位置が所定距離Rの範囲(所定範囲)内に収まっているかどうかが判断される。具体的には、五つのタッチ位置のうちから一つのタッチ位置を任意に選択し、当該選択した一つのタッチ位置と他の四つのタッチ位置の各々と距離を算出する。そして、算出した距離がすべて所定距離R以内であれば、左手または右手のすべての指でタッチされていることが判断される。   In the fourth embodiment, in order to detect that all fingers of the left hand or the right hand are touched, when the total number N of touch positions is 5, five touch positions are within a predetermined distance R range (predetermined range). ) Is determined. Specifically, one touch position is arbitrarily selected from the five touch positions, and the distance between the selected one touch position and each of the other four touch positions is calculated. If all the calculated distances are within the predetermined distance R, it is determined that all fingers of the left hand or right hand are touched.

ただし、タッチオンしたときに、左手のタッチ数と右手のタッチ数を合わせると、タッチ位置の総数Nが5であり、五つのタッチ位置が所定距離Rの範囲内に収まっていることもあり得る。したがって、第4実施例では、タッチ位置が変化することなく、五つのタッチ位置が所定距離Rの範囲内に収まっている状態が所定時間以上継続するかどうかを判断するようにしているのである。   However, when the number of touches on the left hand and the number of touches on the right hand are combined when the touch is turned on, the total number N of touch positions may be 5, and the five touch positions may be within the range of the predetermined distance R. Therefore, in the fourth embodiment, it is determined whether or not the state in which the five touch positions are within the range of the predetermined distance R continues for a predetermined time or longer without changing the touch positions.

したがって、第4実施例では、集約プログラム302fは、第1実施例で示した集約処理に加えて、タッチ位置の総数Nが5であり、タッチ位置が変化することなく、五つのタッチ位置が所定距離Rの範囲内に収まっている状態が所定時間以上継続する場合には、タッチ数によらないで複数のページを選択し、選択した複数のページを一ページに集約する処理が実行される。   Therefore, in the fourth example, the aggregation program 302f has a total number N of touch positions of 5 in addition to the aggregation process shown in the first example, and the five touch positions are predetermined without changing the touch positions. When the state of being within the range of the distance R continues for a predetermined time or longer, a process of selecting a plurality of pages regardless of the number of touches and collecting the selected plurality of pages into one page is executed.

図15は第4実施例の編集モードの処理の一部であって、図7および図8に示した編集モードの処理に、タッチ数によらないで複数のページを選択し、選択した複数のページを一ページに集約するための処理を加えたフロー図である。したがって、以下においては、第1実施例と異なる処理について説明することにする。   FIG. 15 shows a part of the edit mode process of the fourth embodiment. In the edit mode process shown in FIGS. 7 and 8, a plurality of pages are selected regardless of the number of touches, and the selected plurality of pages are selected. It is the flowchart which added the process for consolidating a page into one page. Therefore, in the following, processing different from the first embodiment will be described.

図15に示すように、CPU12は、図7に示したステップS5で“YES”であれば、つまりタッチ位置の総数Nが3以上であれば、ステップS51で、タッチ位置の総数Nが5であるかどうかを判断する。   As shown in FIG. 15, if “YES” in step S <b> 5 shown in FIG. 7, that is, if the total number N of touch positions is 3 or more, the total number N of touch positions is 5 in step S <b> 51. Determine if there is.

ステップS51で“NO”であれば、つまりタッチ位置の総数Nが3、4または6〜9であれば、図7に示したステップS11に進む。一方、ステップS51で“YES”であれば、つまりタッチ位置の総数Nが5であれば、ステップS53で、五つのタッチ位置から基準のタッチ位置を選択し、当該基準のタッチ位置と他のタッチ位置の各々との距離を算出する。   If “NO” in the step S51, that is, if the total number N of touch positions is 3, 4 or 6 to 9, the process proceeds to a step S11 shown in FIG. On the other hand, if “YES” in the step S51, that is, if the total number N of touch positions is 5, a reference touch position is selected from the five touch positions in a step S53, and the reference touch position and other touches are selected. Calculate the distance to each of the positions.

続いて、ステップS55では、五つのタッチ位置が所定距離Rの範囲内に収まっているかどうかを判断する。ステップS55で“NO”であれば、つまり五つのタッチ位置が所定距離Rの範囲内に収まっていない場合には、図7に示したステップS13に進む。一方、ステップS55で“YES”であれば、つまり五つのタッチ位置が所定距離Rの範囲内に収まっている場合には、ステップS57で、タッチ位置の変化があるかどうかを判断する。   Subsequently, in step S55, it is determined whether or not the five touch positions are within the range of the predetermined distance R. If “NO” in the step S55, that is, if the five touch positions are not within the range of the predetermined distance R, the process proceeds to the step S13 shown in FIG. On the other hand, if “YES” in the step S55, that is, if the five touch positions are within the range of the predetermined distance R, it is determined whether or not there is a change in the touch position in a step S57.

ステップS57で“YES”であれば、つまりタッチ位置の変化がある場合には、図7に示したステップS3に戻る。一方、ステップS57で“NO”であれば、つまりタッチ位置の変化が無い場合には、ステップS59で、所定時間(たとえば、2〜3秒)を経過したかどうかを判断する。図示は省略したが、CPU12は、タイマを用いて、ステップS55で“YES”と判断されてから時間のカウントを開始し、ステップS59で、五つのタッチ位置が変化しない状態が所定時間以上継続したかどうかを判断する。   If “YES” in the step S57, that is, if there is a change in the touch position, the process returns to the step S3 shown in FIG. On the other hand, if “NO” in the step S57, that is, if there is no change in the touch position, it is determined whether or not a predetermined time (for example, 2 to 3 seconds) has elapsed in a step S59. Although not shown, the CPU 12 uses the timer to start counting time after “YES” is determined in step S55, and in step S59, the state where the five touch positions do not change continues for a predetermined time or more. Determine whether or not.

ステップS59で“NO”であれば、つまり所定時間を経過していなければ、そのままステップS57に戻る。一方、ステップS59で“YES”であれば、つまり所定時間を経過すれば、タッチ数によらないで集約するページを選択する処理を実行すると判断し、ステップS61で、図14に示したようなページ選択画面500をディスプレイ22に表示する。   If “NO” in the step S59, that is, if the predetermined time has not elapsed, the process returns to the step S57 as it is. On the other hand, if “YES” in the step S59, that is, if a predetermined time elapses, it is determined that a process of selecting pages to be aggregated regardless of the number of touches is executed, and in a step S61, as illustrated in FIG. A page selection screen 500 is displayed on the display 22.

続くステップS63では、決定かどうかを判断する。ここでは、CPU12は、アイコン508がタッチされたかどうかを判断する。ただし、上述したように、少なくとも二つのページが選択された状態でなければ、アイコン508はタッチできない状態であるため、この場合には、ステップS63では“NO”と判断される。   In a succeeding step S63, it is determined whether or not the determination is made. Here, the CPU 12 determines whether or not the icon 508 is touched. However, as described above, since the icon 508 cannot be touched unless at least two pages are selected, in this case, “NO” is determined in the step S63.

ステップS63で“NO”であれば、つまり決定でなければ、ステップS65で、ユーザの操作に従って、ページ選択または選択解除などの処理を実行して、ステップS61に戻る。ステップS65では、アイコン502がタッチされたことに応じて、当該アイコン502に対応するページが選択された状態にされたり、当該アイコン502に対応するページが選択されていない状態に戻されたりする。また、ステップS65では、アイコン504または506がタッチされたことに応じて、タッチされたアイコン504または506に応じた編集方法が選択された状態にされ、タッチされていないアイコン504または506に応じた編集方法が選択されていない状態にされる。   If “NO” in the step S63, that is, if not determined, in a step S65, processing such as page selection or deselection is executed in accordance with a user operation, and the process returns to the step S61. In step S65, in response to the touch of the icon 502, the page corresponding to the icon 502 is selected or returned to the state where the page corresponding to the icon 502 is not selected. In step S65, the editing method corresponding to the touched icon 504 or 506 is selected in response to the touch of the icon 504 or 506, and the icon 504 or 506 corresponding to the touched icon 504 or 506 is selected. The editing method is not selected.

一方、ステップS63で“YES”であれば、つまり決定されれば、ステップS67で、ページ間選択かどうかを判断する。ここでは、CPU12は、ページ選択画面500において、アイコン504が選択状態であるかどうかを判断する。   On the other hand, if “YES” in the step S63, that is, if determined, it is determined whether or not it is an interpage selection in a step S67. Here, the CPU 12 determines whether or not the icon 504 is selected on the page selection screen 500.

ステップS67で“YES”であれば、つまりページ間選択であれば、ステップS69で、選択された二つのページとそれらの間のページを一ページに集約し、ディスプレイ22に表示して、ステップS1に戻る。一方、ステップS67で“NO”であれば、つまり選択ページのみであれば、ステップS71で、選択された複数のページのみを一ページに集約し、ディスプレイ22に表示して、ステップS1に戻る。   If “YES” in the step S67, that is, if it is an inter-page selection, the two selected pages and a page between them are integrated into one page and displayed on the display 22 in a step S69. Return to. On the other hand, if “NO” in the step S67, that is, if only the selected page is selected, only a plurality of selected pages are collected in one page in a step S71, displayed on the display 22, and the process returns to the step S1.

第4実施例によれば、タッチ数で指定できないページについては、タッチ数によらないで複数のページを選択し、選択した複数のページを一ページに集約するので、集約されるページが指の本数に限定されることはない。   According to the fourth embodiment, for pages that cannot be specified by the number of touches, a plurality of pages are selected without depending on the number of touches, and the selected pages are aggregated into one page. The number is not limited.

なお、第4実施例では、左手または右手のすべての指でタッチした状態であり、タッチ位置が変化されない状態が所定時間以上継続した場合に、タッチ数によらないで複数のページを選択し、選択した複数のページを集約する処理を実行するようにしたが、これに限定される必要はない。たとえば、両手のすべての指をタッチした状態であり、タッチ位置が変化されない状態が所定時間以上継続した場合に、タッチ数によらないで集約するページを選択し、選択した複数のページを一ページに集約する処理を実行するようにしてもよい。ただし、両手のすべての指をタッチした場合には、タッチ位置が変化されない状態が所定時間以上継続しなくても、タッチ数によらないで集約するページを選択し、選択した複数のページを一ページに集約する処理を実行してもよい。   In the fourth embodiment, when all fingers of the left hand or right hand are touched and the touch position remains unchanged for a predetermined time or more, a plurality of pages are selected regardless of the number of touches, The process of aggregating a plurality of selected pages is executed, but it is not necessary to be limited to this. For example, when all fingers of both hands are touched and the touch position does not change for more than a predetermined time, select the pages to be aggregated regardless of the number of touches, and select the selected pages as one page. You may make it perform the process aggregated. However, when all fingers of both hands are touched, even if the touch position does not change for a predetermined time or longer, the pages to be aggregated are selected regardless of the number of touches, and the selected pages are combined. You may perform the process integrated on a page.

また、第4実施例の変形は、第2実施例および第3実施例にも適用することができる。   The modification of the fourth embodiment can also be applied to the second and third embodiments.

さらに、第1実施例〜第3実施例では、分類された二つのグループG1およびG2が次第に近づいている場合に、タッチ数K1に対応するページ、タッチ数K2に対応するページおよびそれらの間のページを一ページに集約し、分類された二つのグループG1およびG2が次第に遠ざかる場合に、タッチ数K1に対応するページとタッチ数K2に対応するページとを集約するようにしたが、集約方法は逆であってもよい。   Further, in the first to third embodiments, when the two classified groups G1 and G2 are gradually approaching, the page corresponding to the touch number K1, the page corresponding to the touch number K2, and the interval between them. The pages are aggregated into one page, and when the two classified groups G1 and G2 gradually move away, the page corresponding to the touch number K1 and the page corresponding to the touch number K2 are aggregated. The reverse may be possible.

また、上述の各実施例で挙げた画面および具体的な数値等は一例であり、実際の製品に応じて適宜変更することが可能である。また、同じ効果が得られる場合には、フロー図に示した各ステップの順番は適宜変更されてもよい。   The screens and specific numerical values given in the above-described embodiments are examples, and can be appropriately changed according to the actual product. Moreover, when the same effect is acquired, the order of each step shown to the flowchart may be changed suitably.

10 …情報処理装置
12 …CPU
14 …RAM
16 …タッチパネル制御回路
18 …描画制御回路
20 …タッチパネル
22 …ディスプレイ
24 …HDD
10 ... Information processing device 12 ... CPU
14 ... RAM
DESCRIPTION OF SYMBOLS 16 ... Touch panel control circuit 18 ... Drawing control circuit 20 ... Touch panel 22 ... Display 24 ... HDD

Claims (8)

タッチ入力を検出するタッチ入力検出手段、
前記タッチ入力検出手段に関連して設けられ、前記タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する表示手段、
前記タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出する総数検出手段、
前記総数検出手段によって検出された総数が第1所定数以上である場合に、前記タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類する分類手段、および
前記分類手段によって分類された二つのグループの位置関係が変化するとき、少なくとも、一方の当該グループに含まれる前記タッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれる前記タッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、前記一画面に収まるように集約した集約画像を生成する集約手段を備え、
前記表示手段は、前記集約手段によって生成された集約画像を前記一画面で表示する、情報処理装置。
Touch input detection means for detecting touch input,
Display means provided in association with the touch input detection means, and displaying an image on a single screen for each page according to the touch input detected by the touch input detection means;
A total number detecting means for detecting the total number of touch positions corresponding to the touch input detected by the touch input detecting means;
Classification means for classifying a plurality of touch positions corresponding to a plurality of touch inputs detected by the touch input detection means into two groups when the total number detected by the total number detection means is a first predetermined number or more. And when the positional relationship between the two groups classified by the classification unit changes, at least a first reduced image obtained by reducing a first image of a page corresponding to the number of touch positions included in one of the groups, A second reduction image obtained by reducing the second image of the page corresponding to the number of touch positions included in the other group, and an aggregation unit that generates an aggregation image that is aggregated so as to fit on the one screen.
The information processing apparatus, wherein the display unit displays the aggregated image generated by the aggregation unit on the one screen.
前記集約手段は、前記二つのグループの位置が離反したことに応じて、前記第1縮小画像および前記第2縮小画像を含む前記集約画像を生成する、請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the aggregation unit generates the aggregated image including the first reduced image and the second reduced image in response to the positions of the two groups being separated from each other. 前記集約手段は、前記二つのグループの位置が接近したことに応じて、前記第1縮小画像、前記第2縮小画像および前記第1画像に対応するページと前記第2画像に対応するページの間のページに対応する一つまたは複数の第3画像を縮小した一つまたは複数の第3縮小画像を含む前記集約画像を生成する、請求項1または2記載の情報処理装置。   The aggregating unit may determine whether the first reduced image, the second reduced image, the page corresponding to the first image, and the page corresponding to the second image according to the approach of the two groups. The information processing apparatus according to claim 1, wherein the aggregated image including one or a plurality of third reduced images obtained by reducing one or a plurality of third images corresponding to the page is generated. 前記集約手段は、前記二つのグループの位置が接近または離反したことに応じて、前記第1縮小画像および前記第2縮小画像を含む前記集約画像を生成する、請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the aggregation unit generates the aggregated image including the first reduced image and the second reduced image in response to the positions of the two groups approaching or separating from each other. 前記集約手段は、前記第1縮小画像、前記第2縮小画像および前記第1画像に対応するページと前記第2画像に対応するページの間のページに対応する一つまたは複数の第3画像を縮小した一つまたは複数の第3縮小画像を含む前記集約画像を生成する、請求項1または4記載の情報処理装置。   The aggregation means includes one or more third images corresponding to a page between the first reduced image, the second reduced image, and a page corresponding to the first image and a page corresponding to the second image. The information processing apparatus according to claim 1, wherein the aggregated image including one or a plurality of reduced third reduced images is generated. 前記タッチ数検出手段によって検出されたタッチ位置の数が第2所定数であるとき、当該所定数のタッチ位置のすべてが所定範囲内に含まれるかどうかを判断する状態判断手段、および
前記状態判断手段によって、前記所定数のタッチ位置のすべてが前記所定範囲内に含まれることが判断されたとき、複数のページを選択させる選択手段をさらに備え、
前記集約手段は、前記選択手段によって選択させた複数のページに対応する複数の画像を縮小した複数の第4縮小画像を含む前記集約画像を生成する、請求項1ないし5のいずれかに記載の情報処理装置。
State determination means for determining whether all of the predetermined number of touch positions are included in a predetermined range when the number of touch positions detected by the touch number detection means is a second predetermined number; and the state determination When it is determined by the means that all of the predetermined number of touch positions are included in the predetermined range, the display apparatus further comprises selection means for selecting a plurality of pages.
6. The aggregated image according to claim 1, wherein the aggregation unit generates the aggregated image including a plurality of fourth reduced images obtained by reducing a plurality of images corresponding to a plurality of pages selected by the selection unit. Information processing device.
タッチ入力を検出するタッチ入力検出手段、および前記タッチ入力検出手段に関連して設けられ、前記タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する表示手段を備える、情報処理装置の情報処理プログラムであって、
前記情報処理装置のプロセッサに、
前記タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出する総数検出ステップ、
前記総数検出ステップにおいて検出した総数が所定数以上である場合に、前記タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類する分類ステップ、
前記分類ステップにおいて分類した二つのグループの位置関係が変化するとき、少なくとも、一方の当該グループに含まれる前記タッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれる前記タッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、前記一画面に収まるように集約した集約画像を生成する集約ステップ、および
前記集約ステップにおいて生成された前記集約画像を前記表示手段に表示するステップを実行させる、情報処理プログラム。
Touch input detecting means for detecting a touch input, and display means provided in association with the touch input detecting means for displaying an image on a single screen for each page according to the touch input detected by the touch input detecting means. An information processing program for an information processing apparatus, comprising:
In the processor of the information processing apparatus,
A total number detecting step of detecting a total number of touch positions corresponding to the touch input detected by the touch input detecting means;
A classification step of classifying a plurality of touch positions corresponding to a plurality of touch inputs detected by the touch input detection means into two groups when the total number detected in the total number detection step is a predetermined number or more;
When the positional relationship between the two groups classified in the classification step changes, at least the first reduced image obtained by reducing the first image of the page corresponding to the number of touch positions included in one of the groups, and the other An aggregation step including a second reduced image obtained by reducing a second image of a page corresponding to the number of touch positions included in the group, and generating an aggregated image that is aggregated to fit on the one screen; and the aggregation step An information processing program for causing the display unit to display the aggregated image generated in step 1.
タッチ入力を検出するタッチ入力検出手段、および前記タッチ入力検出手段に関連して設けられ、前記タッチ入力検出手段によって検出されたタッチ入力に応じて画像をページ毎に一画面で表示する表示手段を備える、情報処理装置の情報処理方法であって、
(a)前記タッチ入力検出手段によって検出されたタッチ入力に対応するタッチ位置の総数を検出し、
(b)前記ステップ(a)において検出した総数が所定数以上である場合に、前記タッチ入力検出手段によって検出された複数のタッチ入力に対応する複数のタッチ位置を二つのグループに分類し、
(c)前記ステップ(b)において分類した二つのグループの位置関係が変化するとき、少なくとも、一方の当該グループに含まれる前記タッチ位置の数に対応するページの第1画像を縮小した第1縮小画像と、他方の当該グループに含まれる前記タッチ位置の数に対応するページの第2画像を縮小した第2縮小画像とを含み、前記一画面に収まるように集約した集約画像を生成し、そして
(d)前記ステップ(c)において生成した前記集約画像を前記表示手段に表示する、情報処理方法。
Touch input detecting means for detecting a touch input, and display means provided in association with the touch input detecting means for displaying an image on a single screen for each page according to the touch input detected by the touch input detecting means. An information processing method for an information processing apparatus, comprising:
(A) detecting the total number of touch positions corresponding to the touch input detected by the touch input detection means;
(B) When the total number detected in the step (a) is a predetermined number or more, the plurality of touch positions corresponding to the plurality of touch inputs detected by the touch input detection means are classified into two groups,
(C) When the positional relationship between the two groups classified in step (b) changes, at least a first reduction obtained by reducing the first image of the page corresponding to the number of touch positions included in one of the groups An aggregated image including an image and a second reduced image obtained by reducing a second image of a page corresponding to the number of touch positions included in the other group, and aggregated to fit on the one screen; and (D) An information processing method for displaying the aggregated image generated in the step (c) on the display means.
JP2015145859A 2015-07-23 2015-07-23 Information processing apparatus, information processing program, and information processing method Expired - Fee Related JP6462519B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015145859A JP6462519B2 (en) 2015-07-23 2015-07-23 Information processing apparatus, information processing program, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015145859A JP6462519B2 (en) 2015-07-23 2015-07-23 Information processing apparatus, information processing program, and information processing method

Publications (2)

Publication Number Publication Date
JP2017027397A JP2017027397A (en) 2017-02-02
JP6462519B2 true JP6462519B2 (en) 2019-01-30

Family

ID=57946651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015145859A Expired - Fee Related JP6462519B2 (en) 2015-07-23 2015-07-23 Information processing apparatus, information processing program, and information processing method

Country Status (1)

Country Link
JP (1) JP6462519B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6952942B2 (en) * 2019-09-04 2021-10-27 三菱電機株式会社 Touch panel device, operation identification method, and operation identification program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4745748B2 (en) * 2005-07-26 2011-08-10 株式会社日立メディコ Medical image display device
JP5860746B2 (en) * 2012-03-29 2016-02-16 富士重工業株式会社 Display control device for air conditioning equipment
US20140109012A1 (en) * 2012-10-16 2014-04-17 Microsoft Corporation Thumbnail and document map based navigation in a document
JP6171538B2 (en) * 2012-12-28 2017-08-02 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP2015041220A (en) * 2013-08-21 2015-03-02 シャープ株式会社 Image forming apparatus

Also Published As

Publication number Publication date
JP2017027397A (en) 2017-02-02

Similar Documents

Publication Publication Date Title
US9864499B2 (en) Display control apparatus and control method for the same
JP5537458B2 (en) Image display device capable of touch input, control device for display device, and computer program
TWI515635B (en) Electronic device with touch screen and method of moving icons on the touch screen
EP2325739A2 (en) Information processing device and information processing method
JP2014229224A (en) Object selection device
CN108509115A (en) Page operations method and its electronic device
JP6022807B2 (en) Information processing program, information processing apparatus, information processing system, and information processing control method
JP2011134212A (en) Input device, control method of input device, program, and storage medium
US9405370B2 (en) Electronic device and control method thereof
JP2015035092A (en) Display controller and method of controlling the same
JP2019534590A (en) Apparatus and related methods
US20120169622A1 (en) Multi-Touch Integrated Desktop Environment
US10175859B2 (en) Method for document navigation using a single-page gesture and a gesture for setting and maintaining a number of pages turned by subsequent gestures
JP2014041516A (en) Data processing apparatus and program
US9612743B2 (en) Multi-touch integrated desktop environment
JP2015138360A (en) System, control program, and control method for object manipulation
JP6271125B2 (en) Electronic device, display method, and program
JP6462519B2 (en) Information processing apparatus, information processing program, and information processing method
JP2014238700A (en) Information processing apparatus, display control method, and computer program
WO2014103357A1 (en) Electronic apparatus and input method
US20200341607A1 (en) Scrolling interface control for computer display
JP5782157B2 (en) Image display device capable of touch input, control device for display device, and computer program
JP2013182329A (en) Information processing device, control method for information processing device, and program
JP2016045854A (en) Information processing device, information processing program, and information processing method
JP2018041376A (en) Display control device, method for controlling the same, and program, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181227

R150 Certificate of patent or registration of utility model

Ref document number: 6462519

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees