JP2018185569A - Information processing apparatus, display control program and display control method - Google Patents
Information processing apparatus, display control program and display control method Download PDFInfo
- Publication number
- JP2018185569A JP2018185569A JP2017085317A JP2017085317A JP2018185569A JP 2018185569 A JP2018185569 A JP 2018185569A JP 2017085317 A JP2017085317 A JP 2017085317A JP 2017085317 A JP2017085317 A JP 2017085317A JP 2018185569 A JP2018185569 A JP 2018185569A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- document content
- displayed
- scroll
- display control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 title claims description 41
- 230000008569 process Effects 0.000 claims description 26
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 5
- 238000010191 image analysis Methods 0.000 description 23
- 238000004891 communication Methods 0.000 description 15
- 230000004048 modification Effects 0.000 description 12
- 238000012986 modification Methods 0.000 description 12
- 238000009826 distribution Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 238000004458 analytical method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005401 electroluminescence Methods 0.000 description 1
- 230000005057 finger movement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012015 optical character recognition Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Abstract
Description
本発明は、情報処理装置、表示制御プログラム及び表示制御方法に関する。 The present invention relates to an information processing apparatus, a display control program, and a display control method.
スマートフォンやタブレットコンピュータ等で、画面の大きさよりも大きいサイズのコンテンツを閲覧するとき、画面をスクロールしなければ全画面を見ることができない。画面をスクロールするために、キーボードのカーソルキーや、マウスのホイール、あるいは、スクロールバーを用いる場合、画面の左右方向、あるいは、上下方向に、斜め方向にぶれることなくスクロールさせることができる。 When browsing content of a size larger than the screen size on a smartphone or tablet computer, the entire screen cannot be viewed unless the screen is scrolled. When a keyboard cursor key, a mouse wheel, or a scroll bar is used to scroll the screen, the screen can be scrolled in a horizontal direction or a vertical direction without being shaken in an oblique direction.
一方、コンテンツが表示されている画面に指をタッチして滑らせ、画面をスクロールさせる操作は、斜め方向にも対応している。この場合、たとえば縦にスクロールさせたいときに、画面にタッチしてスクロール操作する指が斜め横方向にずれたりすると、横方向にスクロールしてしまうことがある。 On the other hand, the operation of scrolling the screen by touching and sliding the finger on the screen on which the content is displayed also corresponds to an oblique direction. In this case, for example, when it is desired to scroll vertically, if a finger touching the screen and scrolling is displaced obliquely in the horizontal direction, the screen may be scrolled in the horizontal direction.
そこで、画面上のタッチ開始点を原点とする現在のタッチ点の水平方向および垂直方向の少なくとも一方の座標値を所定の閾値と比較した結果に応じて、画面の水平方向および垂直方向の少なくとも一方のスクロールを制限する技術が知られている(例えば、特許文献1参照)。これにより、タッチ操作による画面のスクロールを円滑に行うことができる。 Therefore, at least one of the horizontal and vertical directions of the screen according to the result of comparing the horizontal and vertical coordinate values of the current touch point with the touch start point on the screen as the origin and a predetermined threshold value. There is known a technique for limiting the scrolling (see, for example, Patent Document 1). Thereby, the scroll of the screen by touch operation can be performed smoothly.
しかしながら、画面に表示されているコンテンツに規則性がない場合、指をずらした方向に画面をスクロールさせた方が、ユーザが見たいコンテンツをスムーズに表示できる場合がある。一方、画面に表示されているコンテンツに規則性がある場合、指をずらした方向に画面をスクロールさせると、スクロール操作する指が上下又は左右にぶれたときに、上下又は左右にぶれてスクロールしてしまい、表示物を閲覧し難いという課題が生じる。例えば、画面上に文書コンテンツが表示されている場合、画面が文書の読み進む方向(書字方向)にスムーズにスクロールされないと、文書が読み難い。 However, if there is no regularity in the content displayed on the screen, scrolling the screen in the direction in which the finger is shifted may display the content that the user wants to see more smoothly. On the other hand, if the content displayed on the screen has regularity, scrolling the screen in the direction in which the finger is shifted will cause the scrolling finger to scroll up and down or left and right when it is moved up and down or left and right. This causes a problem that it is difficult to view the display object. For example, when document content is displayed on the screen, it is difficult to read the document unless the screen is smoothly scrolled in the direction in which the document is read (writing direction).
そこで、1つの側面では、本発明は、画面に表示されているコンテンツに応じて所定方向に容易にスクロールすることを目的とする。 Therefore, in one aspect, an object of the present invention is to easily scroll in a predetermined direction in accordance with content displayed on a screen.
1つの実施態様では、画面に文書コンテンツが表示されているか否かを判定する判定部と、画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する表示制御部と、を有する情報処理装置が提供される。 In one embodiment, a determination unit that determines whether or not the document content is displayed on the screen, and when it is determined that the document content is displayed on the screen, the screen content on which the document content is displayed is determined. There is provided an information processing apparatus including a display control unit that scrolls and displays the screen in a horizontal direction or a vertical direction with respect to a writing direction of the document content in accordance with a direction of a scroll operation by touch.
1つの側面では、本発明は、画面に表示されているコンテンツに応じて所定方向に容易にスクロールすることができる。 In one aspect, the present invention can be easily scrolled in a predetermined direction according to the content displayed on the screen.
以下、本発明の実施形態について添付の図面を参照しながら説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複した説明を省く。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, the duplicate description is abbreviate | omitted by attaching | subjecting the same code | symbol.
[はじめに]
図1は、一実施形態に係るスマートフォン10の画面の一例を示す。本実施形態に係るスマートフォン10は、タッチ操作が可能な画面を有する情報処理装置の一例である。ただし、情報処理装置は、スマートフォン10に限らず、タブレットコンピュータ、携帯電話、携帯情報端末、ゲーム機器の電子機器であってもよい。
[Introduction]
FIG. 1 shows an example of a screen of a
図1に示すように、スマートフォン10のディスプレイ11に文書コンテンツが表示されている場合、図2(a)に示すように、1ページ分の文書コンテンツDのサイズが大きいために、そのすべてを画面上に表示することはできない場合がある。図2(a)の例では、文書コンテンツDの一部の文書部分D1が図1に示すディスプレイ11の画面領域に表示されている。
As shown in FIG. 1, when document content is displayed on the
なお、本実施形態で扱う文書コンテンツDは、数字を含む文字列のみで構成されているが、これに限らず、規則性のある並びを有する文字例の中にグラフやその他の図形が含まれていてもよい。他方、本実施形態で扱う文書コンテンツDは、文字のみで構成されている場合であっても、文字をデザインとして使用し、例えばランダムに文字を点在させたコンテンツ等のように、文字列の並びに規則性を有しないものを含まない。 The document content D handled in the present embodiment is composed only of character strings including numbers. However, the present invention is not limited to this, and a graph or other figure is included in a character example having a regular arrangement. It may be. On the other hand, even if the document content D handled in the present embodiment is composed only of characters, the character content is used as a design. In addition, those that do not have regularity are not included.
スマートフォン10は、文書部分D1が表示されている画面領域をタッチしながら指を滑らせて画面をスクロールさせる操作(以下、「タッチによるスクロール操作」ともいう。)に従い、文書コンテンツDの文書部分D1以外の部分を画面上にスクロール表示させる。
The
例えば、図2(a)に示すように、指を左上の方向へずらすと、図2(b)に示すように画面が斜めにスクロールし、文書部分D1の斜め下の領域の文書部分D2が表示される。このとき、ユーザが文書部分D1の一行目を読んでいた場合には、スクロール後に同行の続きの文字列D3が読めなくなってしまい、スムーズに文書の内容を把握することができなくなり、不便である。 For example, as shown in FIG. 2A, when the finger is shifted in the upper left direction, the screen is scrolled obliquely as shown in FIG. 2B, and the document part D2 in the obliquely lower area of the document part D1 is displayed. Is displayed. At this time, if the user has read the first line of the document part D1, the character string D3 continued on the same line cannot be read after scrolling, and the contents of the document cannot be grasped smoothly, which is inconvenient. .
そこで、本実施形態に係るスマートフォン10は、文書コンテンツの規則性に従い、画面のスクロール表示制御を行う。以下に、本実施形態に係るスマートフォン10の機能構成及びハードウェア構成を説明した後、本実施形態に係るスマートフォン10による画面のスクロール表示制御方法について説明する。
Therefore, the
[機能構成]
まず、一実施形態に係るスマートフォン10の機能構成の一例について、図3を参照しながら説明する。図3は、一実施形態に係るスマートフォン10の機能構成の一例を示す。本実施形態に係るスマートフォン10は、ディスプレイ11、CPU12、メモリ13、タッチパネル14及び通信I/F(インターフェース)15を有する。
[Function configuration]
First, an example of a functional configuration of the
CPU12は、スマートフォン10が備える各部を統括して制御する。スマートフォン10が備える機能は、CPU12が、ROM(Read Only Memory)やRAM(Random Access Memory)等で構成されるメモリ13に記憶されているプログラムを、RAMなどに読み出して実行することで実現される。例えば、CPU12は、メモリ13に記憶されている画像解析プログラム131を、RAMなどに読み出して実行することで、ディスプレイ11に表示されている画像の解析を実行する。また、例えば、CPU12は、メモリ13に記憶されているスクロール制御プログラム132を、RAMなどに読み出して実行することで、スマートフォン10の画面へのタッチによるスクロール操作に従い、画面のスクロールの表示制御を実行する。これにより、CPU12は、スマートフォン10の全体制御やスマートフォン10に搭載された画像解析機能及び表示制御機能を実現する。
CPU12 controls each part with which the
ディスプレイ11は、液晶ディスプレイや有機EL(electroluminescence)ディスプレイであってもよい。タッチパネル14は、ディスプレイ11の上に重ねて設置されており、これにより、ユーザはディスプレイ11の画面を見ながら、タッチパネル14に指で直接触れることで行われる画面に対する入力操作を受け付けることができる。タッチパネル14は、指などによるタッチ位置と、タッチ位置における接触状態を示す静電容量や電気抵抗量などの検知量を検出する入力装置である。これにより、スマートフォン10の画面に対するタッチ位置の座標から指の移動を検知し、タッチによるスクロール操作を検出することができる。センサの一例としては、圧力センサ、静電容量センサ、光センサ等が挙げられる。
The
通信I/F15は、通信網を介して外部の装置と通信を行うためのインターフェースである。通信I/F15は、通信網を介して通信端末に接続し、スマートフォン10と通信端末との間での文書コンテンツ等のコンテンツデータを送受信する。また、通信I/F15は、携帯電話回線網を介して電子メールを他の装置との間で送受信するためのインターフェースとしても機能し得る。送受信した電子メールは、文書コンテンツの一例である。スマートフォン10は、カメラを有し、カメラにより撮像した文書画像をディスプレイ11に表示してもよい。撮像した文書画像は、文書コンテンツの一例である。文書コンテンツの他の例としては、電子書籍やあらゆる文書を含むデータが含まれる。
The communication I /
なお、スマートフォン10は、上記以外の機能として電話機能等を備えるが、本実施形態に係る画面のスクロール表示制御以外の機能構成については説明を省略する。
The
[機能構成]
次に、一実施形態に係るスマートフォン10の機能構成の一例について、図4を参照しながら説明する。図4は、一実施形態に係るスマートフォン10の機能構成の一例を示す。本実施形態に係るスマートフォン10は、タッチ位置取得部21、画像解析部22、判定部23、算出部24、スクロール制御部25、表示部26、記憶部27及び通信部28を有する。
[Function configuration]
Next, an example of a functional configuration of the
タッチ位置取得部21は、タッチパネル14が検出した画面への指のタッチ位置の座標を取得する。タッチ位置取得部21は、ユーザがタッチした指を滑らせてずらした場合、ずらした指のタッチ位置の座標を取得する。
The touch
判定部23は、タッチ位置取得部21が取得したタッチ位置の座標に基づき、画面に表示されているコンテンツに対するタッチによるスクロール操作の向きを判定する。
Based on the coordinates of the touch position acquired by the touch
画像解析部22は、ディスプレイ11に表示されているコンテンツの画像を解析する。画像解析部22は、解析結果から、表示されているコンテンツが文書コンテンツであるか否かを判定する。
The
算出部24は、タッチによるスクロール操作の、画面に表示されている文書コンテンツの文章を読み進む方向を示す書字方向に対して水平方向の成分と垂直方向の成分とを算出する。
The
スクロール制御部25は、算出した前記水平方向の成分と垂直方向の成分との大小関係に基づき、文書コンテンツの書字方向に対して水平方向又は垂直方向に画面をスクロール表示する。スクロール制御部25は、文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する表示制御部の一例である。
The
記憶部27は、画像解析プログラム131、スクロール制御プログラム132及びこれらのプログラムを実行する際に使用する各種データを記憶する。通信部28は、外部の装置と情報の送受信を行う。
The
画像解析部22は、例えば、CPU12が、メモリ13に格納された画像解析プログラム131及び各種データを用いて画像解析処理を実行することで実現可能である。タッチ判定部23、算出部24及びスクロール制御部25は、CPU12が、メモリ13に格納されたスクロール制御プログラム132及び各種データを用いて画面のスクロール表示制御処理を実行することで実現可能である。位置取得部21は、例えばタッチパネル14により実現可能である。表示部26は、例えばディスプレイ11により実現可能である。記憶部27は、例えばメモリ13や2次記憶装置により実現可能である。通信部28は、例えば通信I/F15により実現可能である。
The
なお、図4は機能に着目したブロック図を描いており、これらの機能ブロックで示した各部のソフトウエアを実行するプロセッサはハードウェアである。 FIG. 4 is a block diagram focusing on functions, and the processor that executes the software of each unit indicated by these functional blocks is hardware.
[スクロール表示制御処理]
次に、一実施形態に係るスクロール表示制御処理の一例について図5を参照して説明する。図5は、一実施形態に係るスクロール表示制御処理の一例を示すフローチャートである。本処理が開始されると、画像解析部22は、スマートフォン10のディスプレイ11に表示されているコンテンツの画像を取得し、解析する(ステップS10)。例えば、図6の例では、1ページ分の文書コンテンツDの文書部分D1が、ディスプレイ11に表示されているため、この領域の画像が解析される。
[Scroll display control processing]
Next, an example of the scroll display control process according to an embodiment will be described with reference to FIG. FIG. 5 is a flowchart illustrating an example of a scroll display control process according to an embodiment. When this process is started, the
判定部23は、画像解析部22による画像解析の結果から、表示されているコンテンツに文字が表示されているか否かを判定する(ステップS12)。判定部23が、表示されているコンテンツに文字が表示されていないと判定すると、スクロール制御部25は、タッチによりスクロール操作した方向に画面をスクロール表示し(ステップS14)、本処理を終了する。この場合、スクロール操作した方向が斜めであると、画面が斜めにスクロールされる。
The
一方、ステップS12において、判定部23が、表示されているコンテンツに文字が表示されていると判定すると、画像解析部22は、画像解析の結果に基づきx軸方向の色のヒストグラムから、x軸方向に一定レベル以上の色の分布があるかを解析する(ステップS16)。例えば、図7(a)に示すx軸方向の色のヒストグラムから、x軸方向に、予め設定された一定レベル以上の色の分布があるかが解析される。図7(a)に示すx軸方向の色のヒストグラムでは、一定レベル以上の色の分布があると判断される
画像解析部22が、x軸方向に一定レベル以上の色の分布がないと解析すると、スクロール制御部25は、タッチによりスクロール操作した方向に画面をスクロール表示し(ステップS14)、本処理を終了する。
On the other hand, when the
一方、ステップS16において、画像解析部22は、x軸方向に一定レベル以上の色の分布があると解析すると、画像解析結果に基づき、y軸方向の色のヒストグラムから、y軸方向に一定のインターバルで色の分布があるかを解析する(ステップS18)。例えば、図7(b)に示すy軸方向の色のヒストグラムから、y軸方向の色の分布の間に、一定のインターバルがあるかが解析される。図7(b)に示すy軸方向の色のヒストグラムでは、一定のインターバルがあると判断される。
On the other hand, in step S16, when the
x軸方向に一定レベル以上の色の分布があり、かつ、y軸方向の色の分布の間に、一定のインターバルがあると解析されると、ディスプレイに文書コンテンツが表示され、x軸方向が書字方向であると判定できる。 If it is analyzed that there is a color distribution of a certain level or more in the x-axis direction and a certain interval between the color distributions in the y-axis direction, the document content is displayed on the display, and the x-axis direction is It can be determined that the writing direction.
しかしながら、画面に文書コンテンツが表示されているか否かの方法としては、これに限らず、画像解析の結果に基づき、文書が表示されている場合の他の規則性を抽出し、規則性の有無に応じて画面に文書コンテンツが表示されているか否かを判断することができる。 However, the method for determining whether or not the document content is displayed on the screen is not limited to this. Based on the result of image analysis, other regularity is extracted when the document is displayed, and whether or not there is regularity. In response to this, it can be determined whether or not the document content is displayed on the screen.
画像解析部22が、y軸方向に一定のインターバルで色の分布がないと解析すると、スクロール制御部25は、タッチによりスクロール操作した方向に画面をスクロール表示し(ステップS14)、本処理を終了する。
When the
一方、ステップS18において、画像解析部22が、y軸方向に一定のインターバルで色の分布があると解析すると、算出部24は、タッチによりスクロール操作した方向のx軸方向の成分とy軸方向の成分とを算出する(ステップS20)。算出部24は、例えば、タッチした指の移動量から単位時間当たりの移動量のx軸方向の成分とy軸方向の成分を算出してもよい。
On the other hand, in step S18, when the
次に、スクロール制御部25は、算出したx軸方向の成分がy軸方向の成分以上であるかを判定する(ステップS22)。スクロール制御部25は、算出したx軸方向の成分がy軸方向の成分以上であると判定すると、スクロール操作した方向に応じたx軸方向、つまり、文書コンテンツの書字方向に水平な方向に画面をスクロール表示し(ステップS24)、本処理を終了する。ステップS22において、スクロール制御部25は、算出したx軸方向の成分がy軸方向の成分未満であると判定すると、スクロール操作した方向に応じたy軸方向、つまり、文書コンテンツの書字方向に垂直な方向に画面をスクロール表示し(ステップS26)、本処理を終了する。
Next, the
以上、本実施形態に係るスクロール表示制御処理方法では、画面に表示されているコンテンツが画像解析され、その解析結果に基づき表示されているコンテンツの内容に規則性があるかが判定される。規則性がある文書コンテンツであると判定されると、タッチによるスクロール操作の向きに対して、規則性に従った所定方向へのスクロール表示が行われる。 As described above, in the scroll display control processing method according to the present embodiment, the content displayed on the screen is subjected to image analysis, and it is determined whether the content of the displayed content is regular based on the analysis result. When it is determined that the document content has regularity, scroll display is performed in a predetermined direction according to regularity with respect to the direction of scroll operation by touch.
例えば、本実施形態では、画面に文書コンテンツが表示されていると判定されると、表示されている文書コンテンツに対するタッチによるスクロール操作の向きに応じて、文書コンテンツの書字方向又はその垂直方向に画面がスクロール表示される。図8(a)の例では、スクロール操作の向きから文書コンテンツの書字方向に対して水平方向の成分が垂直方向の成分以上である。このため、スクロール操作が斜めであっても、画面の文書コンテンツをスクロール操作した方向の横方向にスクロール表示するように制御される。その結果、ディスプレイ11に表示される文書は、横方向にスライドして、図8(a)の文書部分D1の表示から文書コンテンツD4の表示に変わる。
For example, in this embodiment, when it is determined that the document content is displayed on the screen, depending on the direction of the scroll operation by touching the displayed document content, in the writing direction of the document content or in the vertical direction thereof. The screen scrolls. In the example of FIG. 8A, the component in the horizontal direction with respect to the writing direction of the document content from the direction of the scroll operation is greater than or equal to the component in the vertical direction. For this reason, even if the scroll operation is oblique, the document content on the screen is controlled to be scrolled and displayed in the horizontal direction of the scroll operation direction. As a result, the document displayed on the
これにより、タッチによるスクロール操作が上下にぶれても、文書コンテンツにかかるスクロール表示を書字方向に沿って容易に行うことができる。この結果、図2(b)に示したように、斜めにスクロール表示されてスクロールの前に読んでいた文章の続き(例えば、図2(b)の文字列D3)が読めなくなることを回避できる。 Thereby, even if the scroll operation by touch is moved up and down, the scroll display concerning the document content can be easily performed along the writing direction. As a result, as shown in FIG. 2B, it is possible to avoid the situation where the continuation of the text read before the scroll (for example, the character string D3 in FIG. 2B) cannot be read. .
同様にして、図8(b)の例では、文書コンテンツの書字方向に対して水平方向の成分が、垂直方向の成分未満である。このため、文書コンテンツに対するタッチによるスクロール操作が、文書コンテンツの書字方向に対して水平方向よりも垂直方向により向かっていると判定される。よって、スクロール操作が斜めであっても、画面の文書コンテンツをスクロール操作の向きに応じて縦方向にスクロール表示するように制御される。その結果、ディスプレイ11に表示される文書は、横方向にスライドして、図8(b)の文書部分D1の表示から文書コンテンツD5の表示に変わる。これにより、タッチによるスクロール操作が左右にぶれても、文書コンテンツにかかるスクロール表示を書字方向と垂直な方向に行うことができる。
Similarly, in the example of FIG. 8B, the horizontal component relative to the writing direction of the document content is less than the vertical component. Therefore, it is determined that the scroll operation by touching the document content is directed in the vertical direction rather than the horizontal direction with respect to the writing direction of the document content. Therefore, even if the scroll operation is diagonal, the document content on the screen is controlled to be scroll-displayed in the vertical direction according to the direction of the scroll operation. As a result, the document displayed on the
なお、本実施形態では、コンテンツの規則性の判定と、その規則性に合ったスクロール表示制御処理に基づくスクロール表示は、本実施形態に係るスマートフォン10のユーザ、又はスマートフォン10の開発者、設計者が設定できるものとする。
In the present embodiment, determination of content regularity and scroll display based on scroll display control processing that matches the regularity are performed by the user of the
例えば、本実施形態では、コンテンツの規則性の判定に、x軸方向及びy軸方向の色のヒストグラムを用いて、書字方向と水平方向及び垂直方向の判定を行った。しかしながら、コンテンツの規則性の判定は、文字列が描かれる色のヒストグラムに限らず、画像解析の結果導かれるさまざまな画像の特徴により判定できる。例えば、文字列が描かれる画像を白黒に2値化し、黒画像のヒストグラムを用いて、文書コンテンツの書字方向を判定してもよい。 For example, in this embodiment, the determination of the regularity of the content is performed using the color histograms in the x-axis direction and the y-axis direction to determine the writing direction, the horizontal direction, and the vertical direction. However, the regularity of the content can be determined not only by the color histogram in which the character string is drawn, but also by various image characteristics derived as a result of the image analysis. For example, an image in which a character string is drawn may be binarized into black and white, and a writing direction of document content may be determined using a histogram of black images.
また、例えば、ディスプレイ11に表示されている画像を読み取って、OCR(Optocal Character Recognition)により光学的に文字認識し、認識した文字列の各文字の向きの規則性を導き出すことで文書の書字方向を判定することができる。取得した画像から文字列を検出する方法は、例えば、特開2017−21695号公報、特開2000−293671号公報等の公知の技術を用いることができる。これらの公知の技術により検出した文字列からコンテンツの規則性を判定することができる。
Further, for example, an image displayed on the
また、ステップS22では、x軸方向の成分とy軸方向の成分との大小関係に基づき、成分の大きい方の方向にスクロール表示するようにした。しかしながら、スクロール表示の方法は、これに限らず、x軸方向の成分とy軸方向の成分との比率に応じて、x軸方向、y軸方向及びタッチによるスクロール操作の方向のいずれかの方向にスクロール表示してもよい。例えば、x軸方向の成分とy軸方向の成分とが等しい場合、スクロール操作の方向にスクロール表示してもよい。 In step S22, the scroll display is performed in the direction of the larger component based on the magnitude relationship between the component in the x-axis direction and the component in the y-axis direction. However, the scroll display method is not limited to this, and any one of the x-axis direction, the y-axis direction, and the direction of the scroll operation by touching depending on the ratio of the x-axis direction component and the y-axis direction component. You may scroll to display. For example, when the component in the x-axis direction and the component in the y-axis direction are equal, scroll display may be performed in the direction of the scroll operation.
[変形例]
次に、一実施形態の変形例に係るスマートフォン10によるスクロール表示制御処理の一例について、図9を参照して説明する。図9は、一実施形態の変形例に係るスクロール表示制御処理の一例を示すフローチャートである。なお、一実施形態の変形例に係るスマートフォン10の機能構成は、一実施形態に係るスマートフォン10の機能構成と同一であるため、説明を省略する。
[Modification]
Next, an example of the scroll display control process by the
また、本実施形態の変形例に係るスクロール表示制御処理のステップS10〜S26は、本実施形態に係るスクロール表示制御処理のステップS10〜S26と同一処理であるため、説明を省略する。 In addition, steps S10 to S26 of the scroll display control process according to the modification of the present embodiment are the same processes as steps S10 to S26 of the scroll display control process according to the present embodiment, and thus description thereof is omitted.
ステップS22において、例えば、x軸方向の成分がy軸方向の成分以上であると判定されると、スクロール制御部25は、タッチによるスクロール操作の向きに応じたx軸方向に画面をスクロール表示する。次に、判定部23は、スクロール表示により画面に表示されている文書コンテンツの一端に到達したかを判定する(ステップS28)。
In step S22, for example, when it is determined that the component in the x-axis direction is greater than or equal to the component in the y-axis direction, the
スマートフォン10の画面に表示される1ページの文書コンテンツDに対して、図10(a)に示す文書部分D4がディスプレイ11に表示されている場合、判定部23は、文書コンテンツDの一端に到達していないと判定する。この結果、図9に戻り、ステップS28で「No」と判定され、本処理を終了する。
When the document part D4 shown in FIG. 10A is displayed on the
一方、図10(a)に示す文書部分D6がディスプレイ11に表示されている場合、判定部23は、文書コンテンツDの一端に到達していると判定する。この結果、図9のステップS28で「Yes」と判定され、スクロール制御部25は、タッチによるスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、文書コンテンツDの他端の文書部分を表示し(ステップS30)、本処理を終了する。この結果、図10(b)に示すように、文書コンテンツDの一端の文書部分D6とつながる文章を含む他端の文書部分D7をスムーズに表示することができる。
On the other hand, when the document part D <b> 6 shown in FIG. 10A is displayed on the
以上、本実施形態の変形例に係るスクロール表示制御処理によれば、画面に表示されているコンテンツの内容を画像解析し、表示されている内容に規則性を見つけ、タッチによるスクロール操作に対して規則性に従ったスクロール表示を容易に行うことができる。 As described above, according to the scroll display control process according to the modified example of the present embodiment, the content of the content displayed on the screen is image-analyzed, regularity is found in the displayed content, and the touch scroll operation is performed. Scroll display according to regularity can be easily performed.
また、本変形例では、スクロール表示により表示される文書コンテンツの一端が表示されているときのタッチによるスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、該一端と反対側の文書コンテンツの他端を表示する。これにより、よりスムーズにユーザが得たい文書部分を表示することができる。 Also, in this modification, when one end of the document content displayed by scroll display is displayed, when the direction of the scroll operation by the touch is directed to the outside of the document content from the one end, the document on the opposite side to the one end Display the other end of the content. Thereby, it is possible to display a document portion that the user wants to obtain more smoothly.
なお、スクロール表示により表示される文書コンテンツの一端は、図10(a)に示す文書コンテンツの右端だけでなく、文書コンテンツの左端であってもよい。この場合にも、示される文書コンテンツの一端が表示されているときのタッチによるスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、文書コンテンツの一端と反対側の文書コンテンツの他端が表示される。例えば、図10(b)に示す文書コンテンツDの左端の文書部分D7が表示されている状態においてタッチによるスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、図10(a)に示す文書コンテンツDの右端の文書部分D6が表示される。 Note that one end of the document content displayed by scroll display may be not only the right end of the document content shown in FIG. 10A but also the left end of the document content. Also in this case, when the direction of the scroll operation by touch when one end of the document content shown is displayed is directed to the outside of the document content from the one end, the other end of the document content opposite to the one end of the document content Is displayed. For example, in the state where the document portion D7 at the left end of the document content D shown in FIG. 10B is displayed, when the direction of the scroll operation by touch is directed to the outside of the document content rather than the one end, the state shown in FIG. The rightmost document portion D6 of the document content D shown is displayed.
更に、本変形例では、これに限らず、文書コンテンツの垂北方向への上下のスクロール表示についても、文書コンテンツの一端から他端への表示の移動が行われる。つまり、図9のステップS26にてy軸方向にスクロール表示させた後、ステップS28において、スクロール表示により文書コンテンツの上下のいずれかの一端が表示されているかが判定される。文書コンテンツの上下のいずれかの一端が表示されてと判定されたとき、ステップS30において、タッチによるスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、文書コンテンツの他端が表示される。これによっても、よりスムーズにユーザが得たい文書部分を表示することができる。 Further, in the present modification, the display content is moved from one end to the other end of the document content in the vertical scrolling direction of the document content in the vertical direction. That is, after scroll display is performed in the y-axis direction in step S26 of FIG. 9, it is determined in step S28 whether one of the upper and lower ends of the document content is displayed by scroll display. When it is determined that either one of the upper and lower ends of the document content is displayed, in step S30, when the direction of the scroll operation by touch is directed to the outside of the document content from the one end, the other end of the document content is displayed. The This also makes it possible to display the document portion that the user wants to obtain more smoothly.
以上、本実施形態及びその変形例によるスクロール表示制御処理によれば、画面に表示されたコンテンツ内容の規則性とスクロール操作の方向の定義によって、さまざまな表示内容に適したスクロール表示を簡単に行うことができる。 As described above, according to the scroll display control process according to the present embodiment and the modification thereof, the scroll display suitable for various display contents can be easily performed by defining the regularity of the content contents displayed on the screen and the direction of the scroll operation. be able to.
以上、情報処理装置、表示制御プログラム及び表示制御方法を上記実施形態により説明したが、本発明に係る情報処理装置、表示制御プログラム及び表示制御方法は上記実施形態に限定されるものではなく、本発明の範囲内で種々の変形及び改良が可能である。また、上記実施形態及び変形例が複数存在する場合、矛盾しない範囲で組み合わせることができる。 As described above, the information processing apparatus, the display control program, and the display control method have been described in the above embodiment. However, the information processing apparatus, the display control program, and the display control method according to the present invention are not limited to the above embodiment. Various modifications and improvements are possible within the scope of the invention. In addition, when there are a plurality of the above-described embodiments and modifications, they can be combined within a consistent range.
例えば、タッチパネル14は、ユーザの指やタッチペン等の画面へのタッチ操作だけでなく、画面への近接操作を検知可能なセンサを搭載し、ユーザの指やタッチペンを近接状態にしたままスクロールする(ずらす)操作を検出するセンサを有していてもよい。
For example, the
タッチパネル14が近接を検出できる場合には、タッチ位置取得部21は、近接位置の座標を取得する。タッチ位置取得部21は、ユーザが画面をタッチ又は近接した状態でずらす操作を行った場合、ずらした位置の座標を取得する。
When the
判定部23は、タッチ位置取得部21が取得したタッチ位置又は近接位置の座標に基づき、画面に表示されているコンテンツに対するスクロール操作の向きを判定する。これにより、タッチによるスクロール操作の場合だけでなく、近接によるスクロール操作の場合にも、画面に表示されているコンテンツに応じて所定方向に容易にスクロールすることができる。
The
以上の説明に関し、更に以下の項を開示する。
(付記1)
画面に文書コンテンツが表示されているか否かを判定する判定部と、
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する表示制御部と、
を有する情報処理装置。
(付記2)
前記スクロール操作の、前記書字方向に対して水平方向の成分と垂直方向の成分とを算出する算出部を有し、
前記表示制御部は、算出した前記水平方向の成分と垂直方向の成分との大小関係に基づき、前記書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する、
付記1に記載の情報処理装置。
(付記3)
前記表示制御部は、前記画面に文書コンテンツの一端が表示されているときのスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、前記文書コンテンツの他端を表示する、
付記1又は2に記載の情報処理装置。
(付記4)
画面に文書コンテンツが表示されているか否かを判定する処理と、
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する処理と、
をコンピュータに実行させるための表示制御プログラム。
(付記5)
前記スクロール操作の、前記書字方向に対して水平方向の成分と垂直方向の成分とを算出する処理と、
算出した前記水平方向の成分と垂直方向の成分との大小関係に基づき、前記書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する処理と、
を含む、付記4に記載の表示制御プログラム。
(付記6)
前記画面に文書コンテンツの一端が表示されているときのスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、前記文書コンテンツの他端を表示する処理、
を含む、付記4又は5に記載の表示制御プログラム。
(付記7)
画面に文書コンテンツが表示されているか否かを判定し、
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する、
ことをコンピュータが実行する表示制御方法。
(付記8)
前記スクロール操作の、前記書字方向に対して水平方向の成分と垂直方向の成分とを算出し、
算出した前記水平方向の成分と垂直方向の成分との大小関係に基づき、前記書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する、
付記7に記載の表示制御方法。
(付記9)
前記画面に文書コンテンツの一端が表示されているときのスクロール操作の向きが該一端よりも文書コンテンツの外側に向かう場合、前記文書コンテンツの他端を表示する、
付記7又は8に記載の表示制御方法。
Regarding the above description, the following items are further disclosed.
(Appendix 1)
A determination unit for determining whether document content is displayed on the screen;
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. A display control unit that scrolls the screen in a direction;
An information processing apparatus.
(Appendix 2)
A calculation unit that calculates a horizontal component and a vertical component of the scroll operation with respect to the writing direction;
The display control unit scrolls and displays the screen in the horizontal direction or the vertical direction with respect to the writing direction based on the calculated magnitude relationship between the horizontal component and the vertical component.
The information processing apparatus according to
(Appendix 3)
The display control unit displays the other end of the document content when the direction of the scroll operation when the one end of the document content is displayed on the screen is directed to the outside of the document content rather than the one end.
The information processing apparatus according to
(Appendix 4)
A process for determining whether document content is displayed on the screen;
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. Processing to scroll the screen in the direction;
Display control program for causing a computer to execute.
(Appendix 5)
A process of calculating a horizontal component and a vertical component of the scroll operation with respect to the writing direction;
A process of scrolling and displaying the screen in the horizontal direction or the vertical direction with respect to the writing direction based on the calculated magnitude relationship between the horizontal component and the vertical component;
The display control program according to appendix 4, including:
(Appendix 6)
A process of displaying the other end of the document content when the direction of the scroll operation when the one end of the document content is displayed on the screen is directed to the outside of the document content rather than the one end;
The display control program according to appendix 4 or 5, including:
(Appendix 7)
Determine whether the document content is displayed on the screen,
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. Scroll the screen in the direction,
A display control method in which a computer executes this.
(Appendix 8)
Calculating a horizontal component and a vertical component of the scroll operation with respect to the writing direction;
Based on the calculated magnitude relationship between the horizontal component and the vertical component, the screen is scroll-displayed in the horizontal or vertical direction with respect to the writing direction.
The display control method according to appendix 7.
(Appendix 9)
When the direction of the scroll operation when one end of the document content is displayed on the screen is directed to the outside of the document content rather than the one end, the other end of the document content is displayed.
The display control method according to appendix 7 or 8.
10 スマートフォン
11 ディスプレイ
12 CPU
13 メモリ
14 タッチパネル
15 通信I/F
21 タッチ位置取得部
22 画像解析部
23 判定部
24 算出部
25 スクロール制御部
26 表示部
27 記憶部
28 通信部
10
13
DESCRIPTION OF
Claims (5)
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する表示制御部と、
を有する情報処理装置。 A determination unit for determining whether document content is displayed on the screen;
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. A display control unit that scrolls the screen in a direction;
An information processing apparatus.
前記表示制御部は、算出した前記水平方向の成分と垂直方向の成分との大小関係に基づき、前記書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する、
請求項1に記載の情報処理装置。 A calculation unit that calculates a horizontal component and a vertical component of the scroll operation with respect to the writing direction;
The display control unit scrolls and displays the screen in the horizontal direction or the vertical direction with respect to the writing direction based on the calculated magnitude relationship between the horizontal component and the vertical component.
The information processing apparatus according to claim 1.
請求項1又は2に記載の情報処理装置。 The display control unit displays the other end of the document content when the direction of the scroll operation when the one end of the document content is displayed on the screen is directed to the outside of the document content rather than the one end.
The information processing apparatus according to claim 1 or 2.
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する処理と、
をコンピュータに実行させるための表示制御プログラム。 A process for determining whether document content is displayed on the screen;
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. Processing to scroll the screen in the direction;
Display control program for causing a computer to execute.
画面に文書コンテンツが表示されていると判定されると、該文書コンテンツが表示されている画面領域に対するタッチによるスクロール操作の向きに応じて、前記文書コンテンツの書字方向に対して水平方向又は垂直方向に前記画面をスクロール表示する、
ことをコンピュータが実行する表示制御方法。 Determine whether the document content is displayed on the screen,
When it is determined that the document content is displayed on the screen, the horizontal or vertical direction with respect to the writing direction of the document content according to the direction of the scroll operation by touching the screen area on which the document content is displayed. Scroll the screen in the direction,
A display control method in which a computer executes this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017085317A JP2018185569A (en) | 2017-04-24 | 2017-04-24 | Information processing apparatus, display control program and display control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017085317A JP2018185569A (en) | 2017-04-24 | 2017-04-24 | Information processing apparatus, display control program and display control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018185569A true JP2018185569A (en) | 2018-11-22 |
Family
ID=64356047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017085317A Pending JP2018185569A (en) | 2017-04-24 | 2017-04-24 | Information processing apparatus, display control program and display control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018185569A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021026673A (en) * | 2019-08-08 | 2021-02-22 | 富士通コネクテッドテクノロジーズ株式会社 | Portable terminal device, information processing method, and information processing program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000322511A (en) * | 1999-05-10 | 2000-11-24 | Canon Inc | Device and method for processing image and computer readable memory |
JP2001070889A (en) * | 1999-09-07 | 2001-03-21 | Toshiba Corp | Sorting machine and sorting method |
JP2002366135A (en) * | 2001-06-04 | 2002-12-20 | Sharp Corp | Image display device |
JP2014139776A (en) * | 2012-12-19 | 2014-07-31 | Canon Inc | Display controller, display control method, and program |
JP2014232415A (en) * | 2013-05-29 | 2014-12-11 | コニカミノルタ株式会社 | Display device, image processor and program |
-
2017
- 2017-04-24 JP JP2017085317A patent/JP2018185569A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000322511A (en) * | 1999-05-10 | 2000-11-24 | Canon Inc | Device and method for processing image and computer readable memory |
JP2001070889A (en) * | 1999-09-07 | 2001-03-21 | Toshiba Corp | Sorting machine and sorting method |
JP2002366135A (en) * | 2001-06-04 | 2002-12-20 | Sharp Corp | Image display device |
JP2014139776A (en) * | 2012-12-19 | 2014-07-31 | Canon Inc | Display controller, display control method, and program |
JP2014232415A (en) * | 2013-05-29 | 2014-12-11 | コニカミノルタ株式会社 | Display device, image processor and program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021026673A (en) * | 2019-08-08 | 2021-02-22 | 富士通コネクテッドテクノロジーズ株式会社 | Portable terminal device, information processing method, and information processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5983503B2 (en) | Information processing apparatus and program | |
EP2359224B1 (en) | Generating gestures tailored to a hand resting on a surface | |
US8519971B1 (en) | Rendering content around obscuring objects | |
US8908973B2 (en) | Handwritten character recognition interface | |
KR100703771B1 (en) | Apparatus and method for displaying input panel | |
WO2011142317A1 (en) | Gesture recognition device, method, program, and computer-readable medium upon which program is stored | |
US20130314337A1 (en) | Electronic device and handwritten document creation method | |
US8925072B2 (en) | Unlocking schemes | |
US20080284620A1 (en) | Electronic device having vibration input recognition and method | |
US20130212511A1 (en) | Apparatus and method for guiding handwriting input for handwriting recognition | |
JP2011227854A (en) | Information display device | |
US10013595B2 (en) | Correlating fingerprints to pointing input device actions | |
US9733826B2 (en) | Interacting with application beneath transparent layer | |
KR101591586B1 (en) | Data processing apparatus which detects gesture operation | |
US9563346B2 (en) | Method for scrolling a displayed image in a touch system | |
WO2013101371A1 (en) | Apparatus and method for automatically controlling display screen density | |
CN108108417B (en) | Cross-platform adaptive control interaction method, system, equipment and storage medium | |
JP2018139158A (en) | Portable terminal and program | |
US9501161B2 (en) | User interface for facilitating character input | |
JP2018185569A (en) | Information processing apparatus, display control program and display control method | |
CN108958511B (en) | Interactive display device, writing control method, mobile terminal and storage medium | |
US9286683B1 (en) | Text detection near display screen edge | |
US20120032984A1 (en) | Data browsing systems and methods with at least one sensor, and computer program products thereof | |
JP5671895B2 (en) | Handwritten information recognition apparatus and handwritten information recognition program | |
JP2021135911A (en) | Display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180706 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180711 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20180717 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20180907 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190327 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20190531 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20190614 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191119 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200428 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200617 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20201020 |