[go: up one dir, main page]

JP5683375B2 - Display device and display program - Google Patents

Display device and display program Download PDF

Info

Publication number
JP5683375B2
JP5683375B2 JP2011103222A JP2011103222A JP5683375B2 JP 5683375 B2 JP5683375 B2 JP 5683375B2 JP 2011103222 A JP2011103222 A JP 2011103222A JP 2011103222 A JP2011103222 A JP 2011103222A JP 5683375 B2 JP5683375 B2 JP 5683375B2
Authority
JP
Japan
Prior art keywords
character
unit
reference line
input
coordinate data
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
JP2011103222A
Other languages
Japanese (ja)
Other versions
JP2012234412A (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 JP2011103222A priority Critical patent/JP5683375B2/en
Publication of JP2012234412A publication Critical patent/JP2012234412A/en
Application granted granted Critical
Publication of JP5683375B2 publication Critical patent/JP5683375B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、表示パネルと一体的に形成されたタッチパネルに手書きで入力された文字を、表示パネルに表示することができる表示装置および表示プログラムに関する。   The present invention relates to a display device and a display program capable of displaying on a display panel a character input by handwriting on a touch panel formed integrally with the display panel.

電子黒板システム、パーソナルコンピュータ、携帯電話端末、電子手帳などには、液晶ディスプレイなどの表示パネルと、この表示パネルと一体的に形成されたタッチパネルとを含んで構成される、手書きで入力された文字を表示可能な表示装置が備えられている。表示装置では、タッチパネルに対する入力操作により文字を手書き入力することによって、この手書き入力の入力座標データに基づく筆跡が表示パネルに表示される。   Electronic blackboard systems, personal computers, mobile phone terminals, electronic notebooks, etc. include handwritten characters that include a display panel such as a liquid crystal display and a touch panel formed integrally with the display panel. Is provided. In the display device, a handwriting input based on input coordinate data of the handwriting input is displayed on the display panel by inputting characters by handwriting through an input operation on the touch panel.

このような表示装置において、手書き入力された文字列を読みやすくするために、入力された文字が直線状に整列するように文字の位置補正を行う技術が提案されている。   In such a display device, in order to make it easy to read a character string input by handwriting, a technique for correcting the position of the character so that the input character is aligned in a straight line has been proposed.

たとえば、特許文献1には、文字の入力位置の目安となるガイド線を予め表示しておき、手書き入力された文字列がガイド線に沿って整列するように、文字の位置補正を行う技術が開示されている。また、特許文献2には、手書き入力済みの文字列について、同一方向に並んだ文字列の連続的なつながりを示す行の切り出しを行い、切り出された行について文字の切り出しを行い、その切り出した文字が基準線上に整列するように文字の位置補正を行う技術が開示されている。   For example, Japanese Patent Application Laid-Open No. 2004-228561 has a technique for displaying a guide line that is a guideline for a character input position in advance and correcting the position of the character so that a handwritten input character string is aligned along the guide line. It is disclosed. Further, in Patent Document 2, for a character string that has been input by handwriting, a line indicating a continuous connection of character strings arranged in the same direction is cut out, and a character is cut out from the cut out line. A technique for correcting the position of a character so that the character is aligned on a reference line is disclosed.

特開平8−227338号公報JP-A-8-227338 特開平6−4206号公報JP-A-6-4206

しかしながら、手書き入力された文字を直線状に整列させるための文字の位置補正の基準は、特許文献1に開示される技術では予め表示されたガイド線であり、特許文献2に開示される技術では入力済みの文字の配置位置に基づく基準線であるので、手書き入力文字を、ユーザが所望する方向に沿って直線状に整列させて表示することができない。   However, the standard for character position correction for aligning handwritten characters in a straight line is a guide line displayed in advance in the technique disclosed in Patent Document 1, and in the technique disclosed in Patent Document 2. Since the reference line is based on the arrangement position of the input characters, the handwritten input characters cannot be displayed in a straight line along the direction desired by the user.

したがって本発明の目的は、手書き入力された文字をユーザが所望する方向に沿って直線状に整列させて表示することができ、手書き入力された文字を読みやすくすることができる表示装置、および表示プログラムを提供することである。   Therefore, an object of the present invention is to display a handwritten input character that can be displayed in a straight line along the direction desired by the user, and to make the handwritten input character easier to read. Is to provide a program.

本発明は、手書き入力するための入力面を有し、前記入力面に対する入力操作によって指示された点の位置を表わす座標データを出力する入力部と、
前記入力部から出力される座標データに基づいて、前記入力面に対する手書き入力の軌跡を表示する表示部と、
前記入力面に対する入力操作によって、予め定める条件を満たす2点が指示されると、その2点を基準点とし、前記基準点に対応する座標データに基づいて、2つの基準点を結ぶ線分の法線である基準線を生成する基準線生成部と、
前記基準線生成部が基準線を生成した後に、前記入力面に対する入力操作によって手書き入力されることで、前記入力部から出力される手書き入力の軌跡に対応する座標データから文字を認識し、1文字ごとの座標データを抽出する文字抽出部と、
前記文字抽出部が抽出した1文字ごとの座標データに基づいて、手書き入力された各文字が前記基準線に沿って整列するように、前記基準線に垂直な方向における文字の位置補正を行い、位置補正された文字を前記表示部に表示させる垂直方向文字位置補正部と、を備えることを特徴とする表示装置である。
The present invention has an input surface for inputting by hand, and outputs coordinate data representing the position of a point designated by an input operation on the input surface;
Based on the coordinate data output from the input unit, a display unit that displays a locus of handwriting input to the input surface;
When two points satisfying a predetermined condition are instructed by an input operation on the input surface, the two points are set as reference points, and a line segment connecting the two reference points based on the coordinate data corresponding to the reference points. A reference line generation unit that generates a reference line that is a normal line;
After the reference line generation unit generates a reference line, a character is recognized from the coordinate data corresponding to the locus of the handwritten input output from the input unit by being input by handwriting by an input operation on the input surface. A character extraction unit that extracts coordinate data for each character;
Based on the coordinate data for each character extracted by the character extraction unit, character correction in a direction perpendicular to the reference line is performed so that the characters input by handwriting are aligned along the reference line, A display device comprising: a vertical character position correction unit that displays a position-corrected character on the display unit.

また本発明の表示装置において、前記基準線生成部は、2つの基準点を結ぶ線分の中点から前記表示部の周縁端部まで延びるように前記基準線を生成し、生成した基準線を前記表示部に表示させることを特徴とする。   In the display device of the present invention, the reference line generation unit generates the reference line so as to extend from the midpoint of a line segment connecting two reference points to the peripheral edge of the display unit, and the generated reference line It displays on the said display part, It is characterized by the above-mentioned.

また本発明の表示装置は、前記文字抽出部が抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから前記基準線に対する外接矩形の傾斜角度を算出する傾斜角度算出部と、
前記傾斜角度算出部が算出した傾斜角度で各文字を回転させて、前記基準線に対する各文字の傾き補正を行い、傾き補正された文字を前記表示部に表示させる文字傾き補正部と、をさらに備えることを特徴とする。
The display device of the present invention sets the circumscribing rectangle coordinate data of each character based on the coordinate data for each character extracted by the character extracting unit, and circumscribes the circumscribing with respect to the reference line from the set circumscribing rectangle coordinate data. An inclination angle calculation unit for calculating an inclination angle of the rectangle;
A character inclination correction unit that rotates each character at an inclination angle calculated by the inclination angle calculation unit, corrects the inclination of each character with respect to the reference line, and displays the corrected character on the display unit; It is characterized by providing.

また本発明の表示装置は、前記文字抽出部が抽出した1文字ごとの座標データに基づいて、互いに隣接する文字同士の間隔が予め定める一定間隔となるように、前記基準線に平行な方向における文字の位置補正を行い、位置補正された文字を前記表示部に表示させる平行方向文字位置補正部をさらに備えることを特徴とする。   Further, the display device according to the present invention may be arranged in a direction parallel to the reference line so that the interval between adjacent characters is a predetermined interval based on the coordinate data for each character extracted by the character extraction unit. It further includes a parallel-direction character position correction unit that performs character position correction and displays the position-corrected character on the display unit.

また本発明の表示装置は、前記入力面に対する入力操作が行われているか否かを判定し、入力操作の待機時間を計時する計時部と、
前記計時部により計時された待機時間が、予め定める時間以上となった場合に、前記基準線生成部が生成した基準線を消去する基準線消去部と、をさらに備えることを特徴とする。
In addition, the display device of the present invention determines whether or not an input operation is performed on the input surface, and measures a waiting time for the input operation;
And a reference line erasing unit for erasing the reference line generated by the reference line generating unit when the standby time measured by the time measuring unit is equal to or longer than a predetermined time.

また本発明は、入力部および表示部を備えるコンピュータを、前記表示装置として機能させることを特徴とする表示プログラムである。   According to another aspect of the present invention, there is provided a display program that causes a computer including an input unit and a display unit to function as the display device.

本発明によれば、表示装置は、入力部に対するユーザの入力操作により文字を手書き入力することによって、この手書き入力の座標データに基づく文字の軌跡を表示部に表示する装置である。さらに、表示装置は、基準線生成部と、文字抽出部と、垂直方向文字位置補正部とを備える。   According to the present invention, the display device is a device that displays the trajectory of the character based on the coordinate data of the handwritten input on the display unit by inputting the character by handwriting by a user input operation on the input unit. Furthermore, the display device includes a reference line generation unit, a character extraction unit, and a vertical character position correction unit.

基準線生成部は、入力部の入力面に対して手書きで文字が入力されるのに先立って、入力面に対するユーザの入力操作によって2つの基準点が指示されることで、入力部から出力される基準点に対応する座標データに基づいて、2つの基準点を結ぶ線分の法線である基準線を生成する。たとえば、基準線生成部は、ユーザが入力面に対して手書き文字を入力するときに添える手の指(ユーザが右手で手書き文字を入力する場合には左手の指)で2つの基準点が指示されることで、基準線を生成する。基準線生成部が生成する基準線は、ユーザの入力面に対する入力操作によって設定される。   The reference line generation unit is output from the input unit by designating two reference points by a user input operation on the input surface prior to handwritten characters being input to the input surface of the input unit. Based on the coordinate data corresponding to the reference point, a reference line that is a normal line of the line segment connecting the two reference points is generated. For example, the reference line generation unit indicates two reference points with a finger of a hand attached when the user inputs handwritten characters on the input surface (or a left hand finger when the user inputs handwritten characters with the right hand). As a result, a reference line is generated. The reference line generated by the reference line generation unit is set by an input operation on the input surface of the user.

文字抽出部は、基準線生成部が基準線を生成した後に、入力面に対するユーザの入力操作によって手書き入力されることで、入力部から出力される手書き入力の軌跡に対応する座標データから文字を認識し、1文字ごとの座標データを抽出する。そして、垂直方向文字位置補正部は、文字抽出部が抽出した1文字ごとの座標データに基づいて、手書きで入力された各文字が基準線に沿って整列するように、基準線に垂直な方向における文字の位置補正を行い、位置補正された文字を表示部に表示させる。   The character extraction unit generates a character from coordinate data corresponding to a handwriting input locus output from the input unit by handwriting input by a user input operation on the input surface after the reference line generation unit generates the reference line. Recognize and extract coordinate data for each character. Then, the vertical direction character position correction unit is configured to make the direction perpendicular to the reference line so that the characters input by handwriting are aligned along the reference line based on the coordinate data for each character extracted by the character extraction unit. The position of the character is corrected, and the position-corrected character is displayed on the display unit.

本発明の表示装置は、入力面に対して手書きで入力された各文字を、入力面に対するユーザの入力操作によって任意に設定された基準線に沿って整列させて表示部に表示するので、ユーザが所望する方向に沿って直線状に整列させて手書き文字を表示することができる。これによって、手書き入力された文字をユーザに読みやすくすることができる。   The display device of the present invention displays each character input by handwriting on the input surface along the reference line arbitrarily set by the user's input operation on the input surface and displays it on the display unit. Can be displayed in a straight line along the desired direction. This makes it easier for the user to read the handwritten characters.

また本発明によれば、基準線生成部は、2つの基準点を結ぶ線分の中点から表示部の周縁端部まで延びるように基準線を生成し、生成した基準線を表示部に表示させる。これによって、ユーザは、入力面に対する入力操作によって任意に設定された基準線を、表示部上で視認することができる。   According to the invention, the reference line generation unit generates the reference line so as to extend from the midpoint of the line segment connecting the two reference points to the peripheral edge of the display unit, and displays the generated reference line on the display unit. Let Thereby, the user can visually recognize the reference line arbitrarily set by the input operation on the input surface on the display unit.

また本発明によれば、表示装置は、傾斜角度算出部と文字傾き補正部とをさらに備える。傾斜角度算出部は、文字抽出部が抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから基準線に対する外接矩形の傾斜角度を算出する。そして、文字傾き補正部は、傾斜角度算出部が算出した傾斜角度で各文字を回転させて、基準線に対する各文字の傾き補正を行い、傾き補正された文字を表示部に表示させる。これによって、手書き入力された文字をより読みやすくすることができる。   According to the invention, the display device further includes an inclination angle calculation unit and a character inclination correction unit. The inclination angle calculation unit sets coordinate data of a circumscribed rectangle of each character based on the coordinate data for each character extracted by the character extraction unit, and the inclination angle of the circumscribed rectangle with respect to the reference line from the set coordinate data of the circumscribed rectangle Is calculated. The character tilt correction unit rotates each character at the tilt angle calculated by the tilt angle calculation unit, corrects the tilt of each character with respect to the reference line, and displays the tilt-corrected character on the display unit. As a result, it is possible to make it easier to read a handwritten character.

また本発明によれば、表示装置は、平行方向文字位置補正部をさらに備える。この平行方向文字位置補正部は、文字抽出部が抽出した1文字ごとの座標データに基づいて、互いに隣接する文字同士の間隔が予め定める一定間隔となるように、基準線に平行な方向における文字の位置補正を行い、位置補正された文字を表示部に表示させる。これによって、手書き入力された文字をより読みやすくすることができる。   According to the invention, the display device further includes a parallel character position correction unit. The parallel-direction character position correction unit is configured to detect characters in a direction parallel to the reference line so that the interval between adjacent characters is a predetermined interval based on the coordinate data for each character extracted by the character extraction unit. The position correction is performed, and the corrected character is displayed on the display unit. As a result, it is possible to make it easier to read a handwritten character.

また本発明によれば、表示装置は、計時部と基準線消去部とをさらに備える。計時部は、入力面に対する入力操作が行われているか否かを判定し、入力操作の待機時間を計時する。そして、基準線消去部は、計時部により計時された待機時間が、予め定める時間以上となった場合に、基準線生成部が生成した基準線を消去する。これによって、予め定める時間以上経過後に、現在設定されている基準線を消去することができる。このようにして基準線が消去された後、ユーザは、入力面に対して新たな2つの基準点を指示する入力操作を行うことによって、新たな基準線を任意に設定することができる。   According to the invention, the display device further includes a time measuring unit and a reference line erasing unit. The timer unit determines whether or not an input operation is performed on the input surface, and measures a standby time for the input operation. Then, the reference line deleting unit deletes the reference line generated by the reference line generating unit when the standby time measured by the time measuring unit is equal to or longer than a predetermined time. Thus, the currently set reference line can be erased after elapse of a predetermined time. After the reference line is deleted in this way, the user can arbitrarily set a new reference line by performing an input operation for designating two new reference points on the input surface.

また本発明によれば、表示プログラムは、入力部および表示部を備えるコンピュータを、前記表示装置として機能させるためのプログラムである。このような表示プログラムは、ユーザが所望する方向に沿って直線状に整列させて手書き文字を表示することが可能な表示処理を、ソフトウェアで制御することができる。   According to the invention, the display program is a program for causing a computer including an input unit and a display unit to function as the display device. Such a display program can control, with software, display processing capable of displaying handwritten characters in a straight line along a direction desired by the user.

本発明の実施の一形態に係る表示装置1の構成を示すブロック図である。It is a block diagram which shows the structure of the display apparatus 1 which concerns on one Embodiment of this invention. 表示装置1の動作を示すフローチャートである。3 is a flowchart showing the operation of the display device 1. 表示装置1における基準点検出処理の動作を示すフローチャートである。4 is a flowchart showing an operation of reference point detection processing in the display device 1. 表示装置1における基準線生成処理の動作を示すフローチャートである。4 is a flowchart illustrating an operation of a reference line generation process in the display device 1. 表示装置1における基準線生成処理の動作を説明するための図である。6 is a diagram for explaining an operation of a reference line generation process in the display device 1. FIG. 基準線の傾き補正値を算出する手順を示すフローチャートである。It is a flowchart which shows the procedure which calculates the inclination correction value of a reference line. 表示装置1における文字抽出処理の動作を示すフローチャートである。4 is a flowchart showing an operation of character extraction processing in the display device 1. 文字抽出処理による文字抽出結果を説明するための図である。It is a figure for demonstrating the character extraction result by a character extraction process. 表示装置1における垂直方向文字位置補正処理の動作を示すフローチャートである。4 is a flowchart showing an operation of vertical character position correction processing in the display device 1. 表示装置1における垂直方向文字位置補正処理の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of vertical character position correction processing in the display device 1. 表示装置1における文字傾き補正処理の動作を示すフローチャートである。4 is a flowchart illustrating an operation of character inclination correction processing in the display device 1. 表示装置1における文字傾き補正処理の動作を説明するための図である。6 is a diagram for explaining an operation of a character inclination correction process in the display device 1. FIG. 表示装置1における平行方向文字位置補正処理の動作を示すフローチャートである。6 is a flowchart showing an operation of a parallel character position correction process in the display device 1. 表示装置1における平行方向文字位置補正処理の動作を説明するための図である。6 is a diagram for explaining an operation of a parallel character position correction process in the display device 1. FIG. 表示装置1における平行方向文字位置補正処理の動作を説明するための図である。6 is a diagram for explaining an operation of a parallel character position correction process in the display device 1. FIG.

図1は、本発明の実施の一形態に係る表示装置1の構成を示すブロック図である。表示装置1は、入力部である透明なタッチパネル2と、表示部である表示パネル3と、タッチパネルデータ処理部4と、表示データ処理部5と、制御手段であるCPU6と、メモリなどで構成される第1記憶手段7と、HDDなどで構成される第2記憶手段8とを含む。表示装置1は、タッチパネル2に対する入力操作により文字を手書き入力することによって、この手書き入力の座標データに基づく軌跡が表示パネル3に表示される装置である。   FIG. 1 is a block diagram showing a configuration of a display device 1 according to an embodiment of the present invention. The display device 1 includes a transparent touch panel 2 as an input unit, a display panel 3 as a display unit, a touch panel data processing unit 4, a display data processing unit 5, a CPU 6 as control means, a memory, and the like. First storage means 7 and second storage means 8 composed of an HDD or the like. The display device 1 is a device in which a trajectory based on the handwritten input coordinate data is displayed on the display panel 3 by inputting characters by handwriting on the touch panel 2.

本実施形態の表示装置1では、タッチパネル2は、直交座標が設定された入力面を有し、表示パネル3の表面上に積層されて、表示パネル3と一体的に形成されている。このタッチパネル2は、入力面に対する入力操作によって手書き入力され、入力された座標点を表わす座標データを出力する。タッチパネルデータ処理部4は、タッチパネルドライバによって実現され、表示データ処理部5は、表示ドライバによって実現される。   In the display device 1 of the present embodiment, the touch panel 2 has an input surface in which orthogonal coordinates are set, and is laminated on the surface of the display panel 3 and is formed integrally with the display panel 3. This touch panel 2 is input by handwriting on the input surface and outputs coordinate data representing the input coordinate points. The touch panel data processing unit 4 is realized by a touch panel driver, and the display data processing unit 5 is realized by a display driver.

上記以外の入力方式として赤外線を遮る赤外線切断方式、静電容量結合方式、電磁誘導方式、カメラ方式等のタブレットを用いることも可能である。   As an input method other than the above, it is also possible to use a tablet such as an infrared ray cutting method that blocks infrared rays, a capacitive coupling method, an electromagnetic induction method, or a camera method.

CPU6は、座標データ取得部60と、軌跡表示指示部61と、基準線生成部62と、文字抽出部63と、傾斜角度算出部64と、垂直方向文字位置補正部65と、文字傾き補正部66と、平行方向文字位置補正部67と、計時部68と、基準線消去部69とを含む。   The CPU 6 includes a coordinate data acquisition unit 60, a trajectory display instruction unit 61, a reference line generation unit 62, a character extraction unit 63, an inclination angle calculation unit 64, a vertical character position correction unit 65, and a character inclination correction unit. 66, a parallel-direction character position correcting unit 67, a time measuring unit 68, and a reference line erasing unit 69.

座標データ取得部60は、タッチパネル2から出力される座標データを取得する。軌跡表示指示部61は、タッチパネル2に入力される手書き入力の座標データを表示パネル3に送信し、この座標データに基づいた手書き入力の軌跡を表示パネル3に表示させる。   The coordinate data acquisition unit 60 acquires coordinate data output from the touch panel 2. The trajectory display instruction unit 61 transmits handwritten input coordinate data input to the touch panel 2 to the display panel 3 and causes the display panel 3 to display a handwritten input trajectory based on the coordinate data.

基準線生成部62は、タッチパネル2の入力面に対して、予め定める条件を満たす2点が指示されると、その2点を基準点とし、タッチパネル2から出力される基準点に対応する座標データに基づいて、2つの基準点を結ぶ線分の法線である基準線を生成する。たとえば、基準線生成部62は、ユーザが入力面に対して手書き文字を入力するときに添える手の指(ユーザが右手で手書き文字を入力する場合には左手の指)で2つの基準点が指示されることで、基準線を生成する。基準線生成部62が生成する基準線は、ユーザの入力面に対する入力操作によって設定される。   When two points satisfying a predetermined condition are designated on the input surface of the touch panel 2, the reference line generation unit 62 uses the two points as reference points and coordinate data corresponding to the reference points output from the touch panel 2. Based on the above, a reference line that is a normal line of a line segment connecting two reference points is generated. For example, the reference line generation unit 62 uses the finger of the hand attached when the user inputs a handwritten character on the input surface (the finger of the left hand when the user inputs the handwritten character with the right hand) to set the two reference points. When instructed, a reference line is generated. The reference line generated by the reference line generation unit 62 is set by an input operation on the input surface of the user.

予め定める条件を満たす2点が指示されるとは、計時部68により計時された待機時間が、予め定める時間以上経過し、計時部68が計時をリセットした後に、タッチパネル2の入力面に対して2点が指示されることを示す。   Two points satisfying a predetermined condition are instructed that the standby time measured by the time measuring unit 68 has elapsed for a predetermined time or longer, and the time counting unit 68 resets the time measurement, then the input surface of the touch panel 2 is Indicates that two points are indicated.

本実施形態では、基準線生成部62は、2つの基準点を結ぶ線分の中点から右向きに、表示パネル3の周縁端部まで延びるように基準線を生成し、生成した基準線を表示パネル3に表示させる。これによって、ユーザは、タッチパネル2の入力面に対する入力操作によって任意に設定された基準線を、表示パネル3上で視認することができる。なお、基準線の延びる向きは、予め設定することができ、たとえば、ユーザが左手で手書き文字を入力する場合に添える右手の指で2つの基準点が指示されるような場合には、基準線生成部62は、2つの基準点を結ぶ線分の中点から左向きに、表示パネル3の周縁端部まで延びるように基準線を生成する。   In the present embodiment, the reference line generation unit 62 generates a reference line so as to extend rightward from the midpoint of the line connecting the two reference points to the peripheral edge of the display panel 3, and displays the generated reference line. Display on panel 3. Thereby, the user can visually recognize the reference line arbitrarily set by the input operation on the input surface of the touch panel 2 on the display panel 3. Note that the direction in which the reference line extends can be set in advance. For example, when two reference points are designated with the finger of the right hand attached when the user inputs handwritten characters with the left hand, the reference line is used. The generation unit 62 generates a reference line so as to extend leftward from the midpoint of the line segment connecting the two reference points to the peripheral edge of the display panel 3.

文字抽出部63は、基準線生成部62が基準線を生成した後に、タッチパネル2の入力面に対するユーザの入力操作によって手書きで文字が入力されることで、タッチパネル2から出力される手書き入力の軌跡に対応する座標データから文字を認識し、1文字ごとの座標データを抽出する。   After the reference line generation unit 62 generates the reference line, the character extraction unit 63 inputs a handwritten character by a user's input operation on the input surface of the touch panel 2, and thereby the handwriting input locus output from the touch panel 2. The character is recognized from the coordinate data corresponding to, and the coordinate data for each character is extracted.

傾斜角度算出部64は、文字抽出部63が抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから基準線に対する外接矩形の傾斜角度を算出する。   The inclination angle calculation unit 64 sets the coordinate data of the circumscribed rectangle of each character based on the coordinate data for each character extracted by the character extraction unit 63, and determines the circumscribed rectangle for the reference line from the set coordinate data of the circumscribed rectangle. The inclination angle is calculated.

垂直方向文字位置補正部65は、文字抽出部63が抽出した1文字ごとの座標データに基づいて、手書きで入力された各文字が基準線に沿って整列するように、基準線に垂直な方向における文字の位置補正を行い、位置補正された文字を表示パネル3に表示させる。   Based on the coordinate data for each character extracted by the character extraction unit 63, the vertical direction character position correction unit 65 is arranged in a direction perpendicular to the reference line so that the characters input by handwriting are aligned along the reference line. The position of the character is corrected, and the position-corrected character is displayed on the display panel 3.

本実施形態の表示装置1は、タッチパネル2の入力面に対して手書きで入力された各文字を、入力面に対するユーザの入力操作によって任意に設定された基準線に沿って整列させて表示パネル3に表示するので、ユーザが所望する方向に沿って直線状に整列させて手書き文字を表示することができる。これによって、手書き入力された文字をユーザに読みやすくすることができる。   The display device 1 according to the present embodiment aligns each character input by handwriting on the input surface of the touch panel 2 along a reference line arbitrarily set by a user input operation on the input surface, thereby displaying the display panel 3. Therefore, it is possible to display handwritten characters by arranging them in a straight line along the direction desired by the user. This makes it easier for the user to read the handwritten characters.

文字傾き補正部66は、傾斜角度算出部64が算出した傾斜角度で各文字を回転させて、基準線に対する各文字の傾き補正を行い、傾き補正された文字を表示パネル3に表示させる。これによって、手書き入力された文字をより読みやすくすることができる。   The character inclination correction unit 66 rotates each character at the inclination angle calculated by the inclination angle calculation unit 64 to correct the inclination of each character with respect to the reference line, and displays the corrected character on the display panel 3. As a result, it is possible to make it easier to read a handwritten character.

平行方向文字位置補正部67は、文字抽出部63が抽出した1文字ごとの座標データに基づいて、互いに隣接する文字同士の間隔が予め定める一定間隔となるように、基準線に平行な方向における文字の位置補正を行い、位置補正された文字を表示パネル3に表示させる。これによって、手書き入力された文字をより読みやすくすることができる。   The parallel-direction character position correcting unit 67 is based on the coordinate data for each character extracted by the character extracting unit 63 so that the interval between adjacent characters becomes a predetermined interval in a direction parallel to the reference line. Character position correction is performed, and the position-corrected character is displayed on the display panel 3. As a result, it is possible to make it easier to read a handwritten character.

計時部68は、タッチパネル2の入力面に対する入力操作が行われているか否かを判定し、入力操作の待機時間を計時する。基準線消去部69は、計時部68により計時された待機時間が、予め定める時間以上となった場合に、基準線生成部62が生成した基準線を消去する。これによって、予め定める時間以上経過後に、現在設定されている基準線を消去することができる。このようにして基準線が消去された後、ユーザは、タッチパネル2の入力面に対して新たな2つの基準点を指示する入力操作を行うことによって、新たな基準線を任意に設定することができる。   The time measuring unit 68 determines whether or not an input operation on the input surface of the touch panel 2 is performed, and measures the waiting time for the input operation. The reference line deleting unit 69 deletes the reference line generated by the reference line generating unit 62 when the standby time measured by the time measuring unit 68 is equal to or longer than a predetermined time. Thus, the currently set reference line can be erased after elapse of a predetermined time. After the reference line is erased in this way, the user can arbitrarily set a new reference line by performing an input operation for designating two new reference points on the input surface of the touch panel 2. it can.

第1記憶手段7は、表示装置1におけるワーキングメモリとしての機能を有する。第1記憶手段7は、表示情報記憶部70と、座標データ記憶部71と、表示パネル周縁情報記憶部72と、基準線表示位置記憶部73と、傾き補正値記憶部74とを含む。   The first storage means 7 has a function as a working memory in the display device 1. The first storage means 7 includes a display information storage unit 70, a coordinate data storage unit 71, a display panel peripheral information storage unit 72, a reference line display position storage unit 73, and an inclination correction value storage unit 74.

表示情報記憶部70は、表示パネル3に表示されている表示情報を記憶する。座標データ記憶部71は、タッチパネル2から出力された基準点の座標データ、および、手書き入力された文字の座標データを記憶する。表示パネル周縁情報記憶部72は、表示パネル3の周縁部における右端部および下端部の位置情報を記憶する。基準線表示位置記憶部73は、基準線生成部62が表示パネル3に表示させた基準線の表示パネル3に対する位置を記憶する。傾き補正値記憶部74は、基準線生成部62が基準線を生成するときに参照する、基準線の傾きを補正するための補正値を記憶する。   The display information storage unit 70 stores display information displayed on the display panel 3. The coordinate data storage unit 71 stores reference point coordinate data output from the touch panel 2 and handwritten input character coordinate data. The display panel peripheral information storage unit 72 stores position information of the right end and the lower end of the peripheral part of the display panel 3. The reference line display position storage unit 73 stores the position of the reference line displayed on the display panel 3 by the reference line generation unit 62 with respect to the display panel 3. The inclination correction value storage unit 74 stores a correction value for correcting the inclination of the reference line, which is referred to when the reference line generation unit 62 generates the reference line.

第2記憶手段8は、ソフトウェア記憶部80と、ドライバ記憶部81と、ユーザ設定表示画面記憶部82と、ユーザ設定テーブル記憶部83とを含む。   The second storage unit 8 includes a software storage unit 80, a driver storage unit 81, a user setting display screen storage unit 82, and a user setting table storage unit 83.

ソフトウェア記憶部80は、表示装置1を動作させるためのソフトウェアを記憶する。ドライバ記憶部81は、タッチパネルデータ処理部4を実現するタッチパネルドライバと、表示データ処理部5を実現する表示ドライバとを記憶する。ユーザ設定表示画面記憶部82は、表示装置1を操作するユーザが設定する、表示パネル3の設定に関する情報を記憶する。ユーザ設定テーブル記憶部83は、ユーザが設定する基準線に関するテーブル情報を記憶する。ユーザ設定テーブル記憶部83に記憶されるテーブル情報には、基準線の表示の要否、基準線の線種(たとえば、実線、点線など)、基準線の色(たとえば、黒色、グレー色、赤色など)などを関連付ける情報が含まれる。   The software storage unit 80 stores software for operating the display device 1. The driver storage unit 81 stores a touch panel driver that implements the touch panel data processing unit 4 and a display driver that implements the display data processing unit 5. The user setting display screen storage unit 82 stores information related to the setting of the display panel 3 set by the user who operates the display device 1. The user setting table storage unit 83 stores table information related to the reference line set by the user. The table information stored in the user setting table storage unit 83 includes reference line display necessity, reference line type (for example, solid line, dotted line), and reference line color (for example, black, gray, red). Etc.) is included.

次に、本実施形態の表示装置1の動作について、図2を用いて説明する。図2は、表示装置1の動作を示すフローチャートである。   Next, the operation of the display device 1 according to the present embodiment will be described with reference to FIG. FIG. 2 is a flowchart showing the operation of the display device 1.

ステップs1では、表示装置1は、計時部68による計時をリセットさせる。次に、ステップs2では、表示装置1は、基準点検出処理を行う。   In step s1, the display device 1 resets the time measurement by the time measuring unit 68. Next, in step s2, the display device 1 performs a reference point detection process.

図3は、表示装置1における基準点検出処理の動作を示すフローチャートである。表示装置1は、タッチパネル2の入力面に対するユーザの入力操作によって基準点が指示された場合に、基準点検出処理を行う。   FIG. 3 is a flowchart showing the operation of the reference point detection process in the display device 1. The display device 1 performs a reference point detection process when a reference point is instructed by a user input operation on the input surface of the touch panel 2.

まず、ステップs2−1では、タッチパネル2は、入力面に対するユーザの入力操作によって指示された基準点を検出し、その基準点に対応する座標データを出力する。そして、座標データ取得部60は、タッチパネル2から出力された基準点に対応する座標データを取得する。   First, in step s2-1, the touch panel 2 detects a reference point designated by a user input operation on the input surface, and outputs coordinate data corresponding to the reference point. The coordinate data acquisition unit 60 acquires coordinate data corresponding to the reference point output from the touch panel 2.

次に、ステップs2−2では、計時部68は、タッチパネル2の入力面に対する入力操作が行われているか否かを判定し、入力操作が行われていないと判定した場合に、入力操作の待機時間の計時を開始する。   Next, in step s2-2, the timing unit 68 determines whether or not an input operation is performed on the input surface of the touch panel 2, and when it is determined that the input operation is not performed, the input operation is waited. Start timing time.

次に、ステップs2−3では、タッチパネル2は、2つの基準点が指示されたか否かを判定する。タッチパネル2は、2つの基準点を検出した場合に、2つの基準点が指示されたと判定する。タッチパネル2が2つの基準点が指示されたと判定した場合にはステップs2−4に進み、2つの基準点が指示されていないと判定した場合にはステップs2−5に進む。   Next, in step s2-3, the touch panel 2 determines whether or not two reference points are instructed. When the touch panel 2 detects two reference points, the touch panel 2 determines that two reference points are instructed. If the touch panel 2 determines that two reference points are instructed, the process proceeds to step s2-4. If it is determined that two reference points are not instructed, the process proceeds to step s2-5.

ステップs2−4では、座標データ取得部60は、タッチパネル2から出力された2つの基準点に対応する座標データに基づいて、基準点間の距離が予め定める距離D以下であるか否かを判定する。2つの基準点間の距離が距離Dを超える場合には、タッチパネル2に対する入力操作が誤操作である可能性があるので、その誤操作による基準点の設定を排除するために、座標データ取得部60が、基準点間の距離が予め定める距離D以下であるか否かの判定を行う。座標データ取得部60が基準点間の距離が距離D以下であると判定した場合にはステップs2−6に進み、距離Dを超えると判定した場合にはステップs2−3に戻る。 In step S2-4, the coordinate data acquisition unit 60, based on the coordinate data corresponding to the two reference points which are outputted from the touch panel 2, the distance between the reference point to or smaller than the distance D 1 which predetermined judge. If the distance between two reference points is greater than distance D 1, since the input operation to the touch panel 2 is likely to be erroneous, in order to eliminate the setting of the reference point by the erroneous operation, the coordinate data acquisition unit 60 There, it is determined the distance between the reference point of or less than the distance D 1 which predetermined. Proceeds to step s2-6 when the coordinate data acquisition unit 60 determines that the distance between the reference point of the distance D 1 or less, when it is determined that more than the distance D 1 is returned to step S2-3.

ステップs2−3において、2つの基準点が指示されていないと判定された場合、ステップs2−5では、計時部68は、入力操作の待機時間が予め定める時間以上経過したか否かを判定する。計時部68が予め定める時間以上経過したと判定した場合には計時をリセットしてステップs2−1に戻り、予め定める時間以上経過していないと判定した場合にはステップs2−3に戻る。   When it is determined in step s2-3 that two reference points are not instructed, in step s2-5, the time measuring unit 68 determines whether or not the standby time of the input operation has exceeded a predetermined time. . When the time counting unit 68 determines that the predetermined time or more has elapsed, the time measurement is reset and the process returns to step s2-1. When it is determined that the predetermined time or more has not elapsed, the process returns to step s2-3.

そして、ステップs2−6では、座標データ取得部60は、取得した2つの基準点に対応する座標データを座標データ記憶部71に送信する。座標データ記憶部71は、受信した基準点に対応する座標データを記憶する。このようにして、座標データ記憶部71に基準点に対応する座標データが記憶されると、表示装置1における基準点検出処理は終了する。   In step s2-6, the coordinate data acquisition unit 60 transmits coordinate data corresponding to the acquired two reference points to the coordinate data storage unit 71. The coordinate data storage unit 71 stores coordinate data corresponding to the received reference point. When the coordinate data corresponding to the reference point is stored in the coordinate data storage unit 71 in this way, the reference point detection process in the display device 1 ends.

図2に戻って、ステップs2において基準点検出処理が終了すると、ステップs3に進む。ステップs3では、表示装置1は、基準線生成処理を行う。   Returning to FIG. 2, when the reference point detection process is completed in step s2, the process proceeds to step s3. In step s3, the display device 1 performs a reference line generation process.

図4は、表示装置1における基準線生成処理の動作を示すフローチャートである。図5は、表示装置1における基準線生成処理の動作を説明するための図である。表示装置1は、座標データ記憶部71に記憶される、2つの基準点P,Pに対応する座標データに基づいて、基準線生成処理を行う。 FIG. 4 is a flowchart showing the operation of the reference line generation process in the display device 1. FIG. 5 is a diagram for explaining the operation of the reference line generation process in the display device 1. The display device 1 performs a reference line generation process based on the coordinate data corresponding to the two reference points P 1 and P 2 stored in the coordinate data storage unit 71.

まず、ステップs3−1では、基準線生成部62は、座標データ記憶部71に記憶される2つの基準点P,Pに対応する座標データを取出す。次に、ステップs3−2では、基準線生成部62は、2つの基準点P,PのX座標値が同じであるか否かを判定する。基準線生成部62が2つの基準点P,PのX座標値が同じであると判定した場合にはステップs3−3に進み、2つの基準点P,PのX座標値が異なると判定した場合にはステップs3−4に進む。 First, in step s 3-1, the reference line generation unit 62 extracts coordinate data corresponding to the two reference points P 1 and P 2 stored in the coordinate data storage unit 71. Next, in step s3-2, the reference line generation unit 62 determines whether or not the X coordinate values of the two reference points P 1 and P 2 are the same. When the reference line generation unit 62 determines that the X coordinate values of the two reference points P 1 and P 2 are the same, the process proceeds to step s3-3 and the X coordinate values of the two reference points P 1 and P 2 are determined. If it is determined that they are different, the process proceeds to step s3-4.

ステップs3−3では、基準線生成部62は、2つの基準点P,Pを結ぶ線分の法線であって、傾きが「0」、すなわち、直交座標が設定されたタッチパネル2の入力面21におけるX軸に平行で、線分の中点から右向きに表示パネル3の周縁端部まで延びる基準線Gを生成する。 In step s3-3, the reference line generation unit 62 is the normal line of the line segment connecting the two reference points P 1 and P 2 and has an inclination of “0”, that is, the touch panel 2 on which the orthogonal coordinates are set. A reference line G that is parallel to the X axis on the input surface 21 and extends rightward from the midpoint of the line segment to the peripheral edge of the display panel 3 is generated.

ステップs3−2において、2つの基準点P,PのX座標値が異なると判定された場合、ステップs3−4では、基準線生成部62は、2つの基準点P,Pの座標データに基づいて、基準線Gの傾き「a」を算出する。具体的には、基準線生成部62は、基準点Pの座標データを(x1,y1)、基準点Pの座標データを(x2,y2)とした場合、下記式(1)により基準線Gの傾き「a」を算出する。
a=(y2−y1)/(x2−x1) …(1)
When it is determined in step s3-2 that the X coordinate values of the two reference points P 1 and P 2 are different, in step s3-4, the reference line generation unit 62 determines the two reference points P 1 and P 2 . Based on the coordinate data, the slope “a” of the reference line G is calculated. Specifically, reference line generating unit 62, the coordinate data of the reference point P 1 (x1, y1), when the coordinate data of the reference points P 2 and (x2, y2), reference the following formula (1) The slope “a” of the line G is calculated.
a = (y2-y1) / (x2-x1) (1)

次に、ステップs3−5では、基準線生成部62は、図5(a)に示すように、2つの基準点P,Pを結ぶ線分の法線であって、傾きが「a」で、線分の中点から表示パネル3の周縁右端部まで延びる基準線Gを生成する。なお、基準線生成部62は、タッチパネル2の入力面21に対する新たな入力操作によって、新たな基準点P,Pが指示された場合には、図5(b)に示すように、新たな基準点P,Pに基づいた基準線Gを生成する。このようにして、ユーザは、入力面21に対する基準点を入力する入力操作によって任意に基準線Gを設定することができる。 Next, in step s3-5, as shown in FIG. 5A, the reference line generation unit 62 is a normal line segment connecting the two reference points P 1 and P 2 and has an inclination of “a”. The reference line G extending from the midpoint of the line segment to the right edge of the peripheral edge of the display panel 3 is generated. Note that, when new reference points P 1 and P 2 are instructed by a new input operation on the input surface 21 of the touch panel 2, the reference line generation unit 62 performs a new operation as shown in FIG. A reference line G based on the reference points P 1 and P 2 is generated. In this way, the user can arbitrarily set the reference line G by an input operation for inputting the reference point on the input surface 21.

次に、ステップs3−6では、基準線生成部62は、基準線Gの傾きを補正するための補正値「Cg」が予め設定されているか否かを判定する。基準線生成部62は、傾き補正値記憶部74に補正値「Cg」が記憶されている場合に、補正値「Cg」が予め設定されていると判定する。この補正値「Cg」は、傾き「0」の基準線Gを生成するために、傾き補正値記憶部74に予め記憶された、基準線Gの傾きを補正するための数値である。   Next, in step s3-6, the reference line generation unit 62 determines whether or not a correction value “Cg” for correcting the inclination of the reference line G is set in advance. The reference line generation unit 62 determines that the correction value “Cg” is set in advance when the correction value “Cg” is stored in the inclination correction value storage unit 74. The correction value “Cg” is a numerical value for correcting the inclination of the reference line G stored in advance in the inclination correction value storage unit 74 in order to generate the reference line G having the inclination “0”.

補正値「Cg」は、次のようにして予め算出される。図6は、基準線の傾き補正値を算出する手順を示すフローチャートである。補正値「Cg」を算出する処理は、傾き「0」の基準線Gを生成するために、2つの基準点がタッチパネル2の入力面21に入力された場合に開始される。   The correction value “Cg” is calculated in advance as follows. FIG. 6 is a flowchart showing a procedure for calculating the inclination correction value of the reference line. The process of calculating the correction value “Cg” is started when two reference points are input to the input surface 21 of the touch panel 2 in order to generate the reference line G having the inclination “0”.

まず、ステップs3−6−1では、タッチパネル2は、入力面21に対するユーザの入力操作によって指示された、傾き「0」の基準線Gを生成するための基準点(以下、「傾き補正用基準点」という)を検出し、その傾き補正用基準点に対応する座標データを出力する。そして、座標データ取得部60は、タッチパネル2から出力された傾き補正用基準点に対応する座標データを取得する。   First, in step s3-6-1, the touch panel 2 is instructed by a user input operation on the input surface 21 to generate a reference line G with an inclination “0” (hereinafter referred to as “inclination correction reference”). Point)), and the coordinate data corresponding to the inclination correction reference point is output. Then, the coordinate data acquisition unit 60 acquires coordinate data corresponding to the inclination correction reference point output from the touch panel 2.

次に、ステップs3−6−2では、基準線生成部62は、2つの傾き補正用基準点の座標データに基づいて、2つの傾き補正用基準点を結ぶ線分の法線の傾きを、補正値「Cg」として算出する。   Next, in step s3-6-2, the reference line generation unit 62 calculates the inclination of the normal line of the line segment connecting the two inclination correction reference points based on the coordinate data of the two inclination correction reference points. The correction value is calculated as “Cg”.

そして、ステップs3−6−3では、基準線生成部62は、算出した補正値「Cg」を傾き補正値記憶部74に送信する。傾き補正値記憶部74は、受信した補正値「Cg」を記憶する。このようにして、傾き補正値記憶部74に補正値「Cg」が記憶されると、補正値「Cg」の算出処理は終了する。   In step s3-6-3, the reference line generation unit 62 transmits the calculated correction value “Cg” to the inclination correction value storage unit 74. The inclination correction value storage unit 74 stores the received correction value “Cg”. When the correction value “Cg” is stored in the inclination correction value storage unit 74 in this way, the calculation process of the correction value “Cg” ends.

図4に戻って、ステップs3−6において、基準線生成部62が補正値「Cg」が予め設定されていると判定した場合にはステップs3−7に進み、補正値「Cg」が予め設定されていないと判定した場合にはステップs3−8に進む。   Returning to FIG. 4, when the reference line generation unit 62 determines in step s3-6 that the correction value “Cg” is preset, the process proceeds to step s3-7, where the correction value “Cg” is preset. If it is determined that it has not been performed, the process proceeds to step s3-8.

ステップs3−7では、基準線生成部62は、補正値「Cg」を用いて、生成した基準線Gの傾きを、傾き「0」に近づくように補正する。   In step s3-7, the reference line generation unit 62 corrects the inclination of the generated reference line G so as to approach the inclination “0” using the correction value “Cg”.

次に、ステップs3−8では、基準線生成部62は、基準線Gの傾きの絶対値が、予め定めるゼロ補正値「Rd」以下である場合には、基準線Gの傾きを「0」に補正する。そして、ステップs3−9では、基準線生成部62は、生成した基準線Gを、表示パネル3の表示面31に表示させる。このようにして表示パネル3の表示面31に表示された基準線Gは、図5(c)に示すように、タッチパネル2の入力面21に手書きで入力された文字(図5(c)では文字「ぬ」)を直線状に整列させるときの基準の線となる。なお、基準線Gは、図5(d)に示すように、タッチパネル2の入力面21に対する基準点P,Pの入力操作の指示が解除された場合であっても、基準線消去部69による消去動作が実行されない限り、表示パネル3の表示面31に継続して表示される。 Next, in step s3-8, the reference line generation unit 62 sets the inclination of the reference line G to “0” when the absolute value of the inclination of the reference line G is equal to or less than a predetermined zero correction value “Rd”. To correct. In step s3-9, the reference line generation unit 62 displays the generated reference line G on the display surface 31 of the display panel 3. The reference line G displayed on the display surface 31 of the display panel 3 in this way is a character (in FIG. 5C) that is input by handwriting on the input surface 21 of the touch panel 2, as shown in FIG. This is the reference line for aligning the letters “Nu”) in a straight line. Note that, as shown in FIG. 5D, the reference line G is a reference line erasing unit even when the input operation instruction of the reference points P 1 and P 2 on the input surface 21 of the touch panel 2 is canceled. Unless the erasing operation according to 69 is executed, the image is continuously displayed on the display surface 31 of the display panel 3.

図2に戻って、ステップs3において基準線生成処理が終了すると、ステップs4に進む。ステップs4では、表示装置1は、文字抽出処理を行う。   Returning to FIG. 2, when the reference line generation process is completed in step s3, the process proceeds to step s4. In step s4, the display device 1 performs a character extraction process.

図7は、表示装置1における文字抽出処理の動作を示すフローチャートである。図8は、文字抽出処理による文字抽出結果を説明するための図である。表示装置1は、基準線生成部62が基準線Gを生成した後に、タッチパネル2の入力面21に対する入力操作によって手書きで文字が入力されることで、文字抽出処理を行う。   FIG. 7 is a flowchart showing the operation of the character extraction process in the display device 1. FIG. 8 is a diagram for explaining a character extraction result by the character extraction processing. The display device 1 performs character extraction processing by inputting characters by handwriting by an input operation on the input surface 21 of the touch panel 2 after the reference line generation unit 62 generates the reference line G.

まず、ステップs4−1では、タッチパネル2は、入力面21に手書き文字の入力が開始されたか否かを判定する。タッチパネル2は、入力面21に対して手書き文字の入力がされて、手書き文字の開始点を示す座標データが座標データ取得部60によって取得されたときに、手書き文字の入力が開始されたと判定する。タッチパネル2が手書き文字の入力が開始されたと判定した場合にはステップs4−2に進み、手書き文字の入力が開始されていないと判定した場合にはステップs4−1を繰返す。   First, in step s 4-1, the touch panel 2 determines whether or not input of handwritten characters has been started on the input surface 21. The touch panel 2 determines that the input of the handwritten character is started when the handwritten character is input to the input surface 21 and the coordinate data indicating the start point of the handwritten character is acquired by the coordinate data acquisition unit 60. . When the touch panel 2 determines that the input of handwritten characters has been started, the process proceeds to step s4-2, and when it is determined that the input of handwritten characters has not started, step s4-1 is repeated.

ステップs4−2では、タッチパネル2は、入力面21に対する手書き文字の入力が終了したか否かを判定する。タッチパネル2は、予め定める時間が経過しても座標データ取得部60によって手書き文字の軌跡を示す座標データが取得されないときに、手書き文字の入力が終了したと判定する。タッチパネル2が手書き文字の入力が終了したと判定した場合には、座標データ取得部60によって取得された手書き文字の軌跡を示す座標データが座標データ記憶部71に送信されて記憶されてステップs4−3に進む。また、タッチパネル2が手書き文字の入力が終了していないと判定した場合にはステップs4−2を繰返す。   In Step s4-2, the touch panel 2 determines whether or not the input of handwritten characters on the input surface 21 is completed. The touch panel 2 determines that the input of the handwritten character is finished when the coordinate data acquisition unit 60 does not acquire the coordinate data indicating the locus of the handwritten character even after the predetermined time has elapsed. When the touch panel 2 determines that the input of the handwritten character is completed, the coordinate data indicating the locus of the handwritten character acquired by the coordinate data acquisition unit 60 is transmitted to the coordinate data storage unit 71 and stored therein, and step s4- Proceed to step 3. If touch panel 2 determines that the input of handwritten characters has not been completed, step s4-2 is repeated.

ステップs4−3では、計時部68は、タッチパネル2の入力面21に対する入力操作の待機時間の計時を開始する。   In step s4-3, the time measuring unit 68 starts measuring the standby time for the input operation on the input surface 21 of the touch panel 2.

次に、ステップs4−4では、タッチパネル2は、入力面21に手書き文字の入力が新たに開始されたか否かを判定する。タッチパネル2が手書き文字の入力が新たに開始されたと判定した場合にはステップs4−2に戻り、手書き文字の入力が新たに開始されていないと判定した場合にはステップs4−5に進む。   Next, in step s4-4, the touch panel 2 determines whether or not input of handwritten characters on the input surface 21 is newly started. When the touch panel 2 determines that the input of handwritten characters is newly started, the process returns to step s4-2, and when it is determined that the input of handwritten characters is not newly started, the process proceeds to step s4-5.

ステップs4−5では、計時部68は、入力操作の待機時間が予め定める時間以上経過したか否かを判定する。計時部68が予め定める時間以上経過したと判定した場合には計時をリセットしてステップs4−6に進み、予め定める時間以上経過していないと判定した場合にはステップs4−4に戻る。   In step s4-5, the time measuring unit 68 determines whether or not the standby time of the input operation has passed for a predetermined time. When the time counting unit 68 determines that the predetermined time or more has elapsed, the time is reset and the process proceeds to step s4-6, and when it is determined that the predetermined time or more has not elapsed, the process returns to step s4-4.

ステップs4−6では、文字抽出部63は、座標データ記憶部71に記憶される、手書き文字の軌跡を示す座標データを取出して、その座標データから1文字ごとの座標データを抽出する。そして、文字抽出部63は、図8に示すように、抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから文字のサイズを示す情報として、文字の高さ「St」と文字の幅「Sw」とを算出する。また、文字抽出部63は、抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから、X軸に対する文字の傾き「Rc」を算出する。   In step s4-6, the character extraction unit 63 extracts coordinate data indicating the locus of handwritten characters stored in the coordinate data storage unit 71, and extracts coordinate data for each character from the coordinate data. Then, as shown in FIG. 8, the character extraction unit 63 sets the circumscribing rectangle coordinate data of each character based on the extracted coordinate data for each character, and the character size is determined from the set circumscribing rectangle coordinate data. As the information indicating the character height, the character height “St” and the character width “Sw” are calculated. Further, the character extraction unit 63 sets the circumscribing rectangle coordinate data of each character based on the extracted coordinate data for each character, and from the set circumscribing rectangle coordinate data, the character inclination “Rc” with respect to the X axis. Is calculated.

図2に戻って、ステップs4において文字抽出処理が終了すると、ステップs5に進む。ステップs5では、表示装置1は、垂直方向文字位置補正処理を行う。   Returning to FIG. 2, when the character extraction process is completed in step s4, the process proceeds to step s5. In step s5, the display device 1 performs vertical character position correction processing.

図9は、表示装置1における垂直方向文字位置補正処理の動作を示すフローチャートである。図10は、表示装置1における垂直方向文字位置補正処理の動作を説明するための図である。   FIG. 9 is a flowchart showing the operation of the vertical character position correction process in the display device 1. FIG. 10 is a diagram for explaining the operation of the vertical character position correction process in the display device 1.

まず、ステップs5−1では、垂直方向文字位置補正部65は、図10(a)に示すように、文字抽出部63が算出した文字の傾き「Rc」と同一の傾きを有する直線Lを生成し、その直線Lを文字の外接矩形の下方一辺91上に配置する。 First, in step S5-1, the vertical character position correcting unit 65, as shown in FIG. 10 (a), the straight line L 1 which has the same inclination as the character the character extraction unit 63 calculates "Rc" generated, place the straight line L 1 on the circumscribed rectangle of the lower one side 91 of the character.

次に、ステップs5−2では、垂直方向文字位置補正部65は、図10(b)に示すように、生成した直線Lを、その傾きが変化しないように文字の外接矩形の上方一辺92に向けて平行移動させながら、直線Lと文字との交点A,A,A,Aの数を算出する。 Next, in step s5-2, the vertical character position correcting unit 65, and FIG. 10 (b) as shown in the generated straight line L 1, the inclination of the character so as not to change the circumscribed rectangle of the upper one side 92 The number of intersections A 1 , A 2 , A 3 , A 4 between the straight line L 1 and the character is calculated while being translated toward.

次に、ステップs5−3では、垂直方向文字位置補正部65は、直線Lが文字の外接矩形の上方一辺92まで移動されたか否かを判定する。垂直方向文字位置補正部65が直線Lが文字の外接矩形の上方一辺92まで移動されたと判定した場合にはステップs5−4に進み、移動されていないと判定した場合にはステップs5−2に戻る。 Next, at step S5-3, the vertical character position correcting unit 65 determines whether or not the straight line L 1 is moved to a position above one side 92 of the circumscribed rectangle of a character. Proceeds to step s5-4 when vertical character position correcting unit 65 determines that the straight line L 1 is moved to a position above one side 92 of the circumscribed rectangle of the character, if it is determined not to be moving step s5-2 Return to.

ステップs5−4では、垂直方向文字位置補正部65は、直線Lと文字との交点A,A,A,Aの数に基づいてヒストグラムを作成し、文字の重心を算出する。 In step s5-4, the vertical character position correction unit 65 creates a histogram based on the number of intersections A 1 , A 2 , A 3 , A 4 between the straight line L 1 and the character, and calculates the center of gravity of the character. .

そして、ステップs5−5では、垂直方向文字位置補正部65は、図10(c)に示すように、文字の重心が基準線G上に位置するように、文字を移動させる。なお、文字の高さ「St」および文字の幅「Sw」が予め定める値よりも小さい「ゃ」、「っ」などの文字については、文字の重心が基準線G上に位置するように移動させてもよいし、基準線Gよりも予め定める値で下側の位置に移動させるようにしてもよい。このようにして、垂直方向文字位置補正部65は、手書きで入力された各文字が基準線Gに沿って整列するように、基準線Gに垂直な方向における文字の位置補正を行い、位置補正された文字を表示パネル3の表示面31に表示させる。   In step s5-5, the vertical character position correction unit 65 moves the character so that the center of gravity of the character is positioned on the reference line G as shown in FIG. For characters such as “nya” and “tsu” whose character height “St” and character width “Sw” are smaller than predetermined values, the center of gravity of the character is moved on the reference line G. Alternatively, it may be moved to a position below the reference line G by a predetermined value. In this way, the vertical character position correction unit 65 performs character position correction in the direction perpendicular to the reference line G so that the characters input by handwriting are aligned along the reference line G, thereby correcting the position. The displayed characters are displayed on the display surface 31 of the display panel 3.

図2に戻って、ステップs5において垂直方向文字位置補正処理が終了すると、ステップs6に進む。ステップs6では、表示装置1は、文字傾き補正処理を行う。   Returning to FIG. 2, when the vertical character position correction process is completed in step s5, the process proceeds to step s6. In step s6, the display device 1 performs a character inclination correction process.

図11は、表示装置1における文字傾き補正処理の動作を示すフローチャートである。図12は、表示装置1における文字傾き補正処理の動作を説明するための図である。   FIG. 11 is a flowchart showing the operation of the character inclination correction process in the display device 1. FIG. 12 is a diagram for explaining the operation of the character inclination correction process in the display device 1.

まず、ステップs6−1では、傾斜角度算出部64は、文字抽出部63が抽出した1文字ごとの座標データに基づいて、各文字の外接矩形を設定し、設定した外接矩形の座標データから基準線Gに対する外接矩形の傾斜角度を算出し、その算出結果を用いて文字の回転角度を算出する。具体的には、傾斜角度算出部64は、図12(a)に示すように、文字抽出部63が算出した文字の傾き「Rc」を、基準線Gの傾き「a」と同一にするための文字の回転角度を算出する。   First, in step s6-1, the inclination angle calculation unit 64 sets a circumscribed rectangle of each character based on the coordinate data for each character extracted by the character extraction unit 63, and uses the coordinate data of the circumscribed rectangle as a reference. The inclination angle of the circumscribed rectangle with respect to the line G is calculated, and the rotation angle of the character is calculated using the calculation result. Specifically, as shown in FIG. 12A, the inclination angle calculation unit 64 makes the character inclination “Rc” calculated by the character extraction unit 63 the same as the inclination “a” of the reference line G. The rotation angle of the character is calculated.

次に、ステップs6−2では、文字傾き補正部66は、図12(b)に示すように、傾斜角度算出部64が算出した回転角度で文字を回転させて、基準線Gに対する各文字の傾き補正を行い、傾き補正された文字を表示パネル3の表示面31に表示させる。   Next, in step s6-2, the character inclination correction unit 66 rotates the character at the rotation angle calculated by the inclination angle calculation unit 64 as shown in FIG. Tilt correction is performed, and the corrected character is displayed on the display surface 31 of the display panel 3.

図2に戻って、ステップs6において文字傾き補正処理が終了すると、ステップs7に進む。ステップs7では、表示装置1は、平行方向文字位置補正処理を行う。   Returning to FIG. 2, when the character inclination correction process is completed in step s6, the process proceeds to step s7. In step s7, the display device 1 performs parallel direction character position correction processing.

図13は、表示装置1における平行方向文字位置補正処理の動作を示すフローチャートである。図14および図15は、表示装置1における平行方向文字位置補正処理の動作を説明するための図である。   FIG. 13 is a flowchart illustrating the operation of the parallel character position correction process in the display device 1. FIG. 14 and FIG. 15 are diagrams for explaining the operation of the parallel direction character position correction processing in the display device 1.

まず、ステップs7−1では、平行方向文字位置補正部67は、図14(a)に示すように、連続した手書き入力により、最後に入力された最新の文字に対して直前に入力された文字の外接矩形上の接点において、最新の文字側の辺上の接点「Pp」の座標データを取得する。   First, in step s7-1, as shown in FIG. 14A, the parallel-direction character position correcting unit 67 performs the character input immediately before the latest character input last by continuous handwriting input. The coordinate data of the contact “Pp” on the latest character side is acquired at the contact on the circumscribed rectangle.

次に、ステップs7−2では、平行方向文字位置補正部67は、図14(a)に示すように、最新の文字の外接矩形上の接点において、直前の文字側の辺上の接点「Pc」の座標データを取得する。   Next, in step s7-2, as shown in FIG. 14A, the parallel-direction character position correcting unit 67, at the contact point on the circumscribed rectangle of the latest character, contacts “Pc” on the immediately preceding character side. ”Is acquired.

次に、ステップs7−3では、平行方向文字位置補正部67は、接点「Pp」と接点「Pc」との距離が、予め定める最小文字間隔「DXmin」以下であるか否かを判定する。平行方向文字位置補正部67が最小文字間隔「DXmin」以下であると判定した場合にはステップs7−4に進み、最小文字間隔「DXmin」を超えると判定した場合にはステップs7−5に進む。   Next, in step s7-3, the parallel direction character position correcting unit 67 determines whether or not the distance between the contact “Pp” and the contact “Pc” is equal to or less than a predetermined minimum character interval “DXmin”. If the parallel character position correction unit 67 determines that the character spacing is equal to or smaller than the minimum character spacing “DXmin”, the process proceeds to step s7-4. If it is determined that the minimum character spacing “DXmin” is exceeded, the processing proceeds to step s7-5. .

ステップs7−4では、平行方向文字位置補正部67は、図14(b)に示すように、接点「Pp」と接点「Pc」との距離が最小文字間隔「DXmin」となるように、最新の文字を基準線Gに沿って移動させる。   In step s7-4, as shown in FIG. 14B, the parallel character position correction unit 67 updates the distance between the contact “Pp” and the contact “Pc” to the minimum character interval “DXmin”. Is moved along the reference line G.

ステップs7−3において接点「Pp」と接点「Pc」との距離が最小文字間隔「DXmin」を超えると判定された場合、ステップs7−5では、平行方向文字位置補正部67は、図15(a)に示すように、接点「Pp」と接点「Pc」との距離が、予め定める最大文字間隔「DXmax」以上であるか否かを判定する。平行方向文字位置補正部67が最大文字間隔「DXmax」以上であると判定した場合にはステップs7−6に進み、最大文字間隔「DXmax」未満であると判定した場合には平行方向文字位置補正処理の動作を終了する。   When it is determined in step s7-3 that the distance between the contact point “Pp” and the contact point “Pc” exceeds the minimum character interval “DXmin”, in step s7-5, the parallel direction character position correction unit 67 As shown in a), it is determined whether or not the distance between the contact “Pp” and the contact “Pc” is greater than or equal to a predetermined maximum character interval “DXmax”. If the parallel character position correction unit 67 determines that the maximum character interval “DXmax” is greater than or equal to step s7-6, the process proceeds to step s7-6. If it is determined that the parallel character position correction unit 67 is less than the maximum character interval “DXmax”, the parallel character position correction is performed. The processing operation is terminated.

ステップs7−6では、平行方向文字位置補正部67は、図15(b)に示すように、接点「Pp」と接点「Pc」との距離が最大文字間隔「DXmax」となるように、最新の文字を基準線Gに沿って移動させる。   In step s7-6, the parallel character position correction unit 67 updates the distance between the contact “Pp” and the contact “Pc” to the maximum character interval “DXmax” as shown in FIG. Is moved along the reference line G.

また、計時部68は、タッチパネル2の入力面21に対する入力操作が行われているか否かを判定し、入力操作の待機時間を計時する。そして、基準線消去部69は、計時部68により計時された待機時間が、予め定める時間以上となった場合に、基準線生成部62が生成した基準線Gを消去する。これによって、予め定める時間以上経過後に、現在設定されている基準線Gを消去することができる。このようにして基準線Gが消去された後、ユーザは、タッチパネル2の入力面21に対して新たな2つの基準点を指示する入力操作を行うことによって、新たな基準線Gを任意に設定することができる。   Further, the time measuring unit 68 determines whether or not an input operation is performed on the input surface 21 of the touch panel 2 and measures the waiting time for the input operation. Then, the reference line deleting unit 69 deletes the reference line G generated by the reference line generating unit 62 when the standby time measured by the time measuring unit 68 is equal to or longer than a predetermined time. Thus, the currently set reference line G can be erased after elapse of a predetermined time or more. After the reference line G is erased in this way, the user arbitrarily sets a new reference line G by performing an input operation for designating two new reference points on the input surface 21 of the touch panel 2. can do.

以上のようにして、表示装置1は、タッチパネル2の入力面21に対して手書きで入力された各文字を、入力面21に対するユーザの入力操作によって任意に設定された基準線Gに沿って整列させて表示パネル3の表示面31に表示するので、ユーザが所望する方向に沿って直線状に整列させて手書き文字を表示することができる。これによって、手書き入力された文字をユーザに読みやすくすることができる。   As described above, the display device 1 aligns the characters input by handwriting on the input surface 21 of the touch panel 2 along the reference line G arbitrarily set by the user input operation on the input surface 21. Thus, since it is displayed on the display surface 31 of the display panel 3, it is possible to display handwritten characters by arranging them in a straight line along the direction desired by the user. This makes it easier for the user to read the handwritten characters.

また本発明のさらに他の実施の形態として、コンピュータを前述した表示装置1として機能させるために、コンピュータに実行させるための表示プログラム(実行形式プログラム、中間コードプログラムおよびソースプログラムの少なくともいずれか1つ)、およびこの表示プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することも可能である。   As still another embodiment of the present invention, in order to cause a computer to function as the display device 1 described above, at least one of a display program (an execution format program, an intermediate code program, and a source program) to be executed by the computer. It is also possible to provide a computer-readable recording medium on which the display program is recorded.

なお、表示プログラムを記録する記録媒体としては、マイクロコンピュータで処理が行われるために図示していないメモリ、たとえばCD−ROM(Compact Disc−Read Only Memory)のようなものそのものがプログラムメディアであってもよいし、また、図示していないが外部記憶装置としてプログラム読み取り装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであってもよい。   As a recording medium for recording the display program, a memory (not shown) such as a CD-ROM (Compact Disc-Read Only Memory) itself is a program medium because processing is performed by a microcomputer. Alternatively, although not shown, a program reading device may be provided as an external storage device, and the program medium may be read by inserting a recording medium therein.

いずれの場合においても、格納されている表示プログラムはマイクロプロセッサがアクセスして実行させる構成であってもよいし、あるいは、いずれの場合も表示プログラムを読み出し、読み出された表示プログラムは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、その表示プログラムが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored display program may be configured to be accessed and executed by a microprocessor, or in any case, the display program is read and the read display program is a microcomputer. The program may be downloaded to a program storage area (not shown) and the display program is executed. It is assumed that this download program is stored in the main device in advance.

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

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

1 表示装置
2 タッチパネル
3 表示パネル
60 座標データ取得部
61 軌跡表示指示部
62 基準線生成部
63 文字抽出部
64 傾斜角度算出部
65 垂直方向文字位置補正部
66 文字傾き補正部
67 平行方向文字位置補正部
68 計時部
69 基準線消去部
DESCRIPTION OF SYMBOLS 1 Display apparatus 2 Touch panel 3 Display panel 60 Coordinate data acquisition part 61 Trajectory display instruction part 62 Base line generation part 63 Character extraction part 64 Inclination angle calculation part 65 Vertical direction character position correction part 66 Character inclination correction part 67 Parallel direction character position correction Part 68 Timekeeping part 69 Baseline elimination part

Claims (6)

手書き入力するための入力面を有し、前記入力面に対する入力操作によって指示された点の位置を表わす座標データを出力する入力部と、
前記入力部から出力される座標データに基づいて、前記入力面に対する手書き入力の軌跡を表示する表示部と、
前記入力面に対する入力操作によって、予め定める条件を満たす2点が指示されると、その2点を基準点とし、前記基準点に対応する座標データに基づいて、2つの基準点を結ぶ線分の法線である基準線を生成する基準線生成部と、
前記基準線生成部が基準線を生成した後に、前記入力面に対する入力操作によって手書き入力されることで、前記入力部から出力される手書き入力の軌跡に対応する座標データから文字を認識し、1文字ごとの座標データを抽出する文字抽出部と、
前記文字抽出部が抽出した1文字ごとの座標データに基づいて、手書き入力された各文字が前記基準線に沿って整列するように、前記基準線に垂直な方向における文字の位置補正を行い、位置補正された文字を前記表示部に表示させる垂直方向文字位置補正部と、を備えることを特徴とする表示装置。
An input unit that has an input surface for handwritten input, and outputs coordinate data representing a position of a point designated by an input operation on the input surface;
Based on the coordinate data output from the input unit, a display unit that displays a locus of handwriting input to the input surface;
When two points satisfying a predetermined condition are instructed by an input operation on the input surface, the two points are set as reference points, and a line segment connecting the two reference points based on the coordinate data corresponding to the reference points. A reference line generation unit that generates a reference line that is a normal line;
After the reference line generation unit generates a reference line, a character is recognized from the coordinate data corresponding to the locus of the handwritten input output from the input unit by being input by handwriting by an input operation on the input surface. A character extraction unit that extracts coordinate data for each character;
Based on the coordinate data for each character extracted by the character extraction unit, character correction in a direction perpendicular to the reference line is performed so that the characters input by handwriting are aligned along the reference line, A display device comprising: a vertical character position correction unit that displays a position-corrected character on the display unit.
前記基準線生成部は、2つの基準点を結ぶ線分の中点から前記表示部の周縁端部まで延びるように前記基準線を生成し、生成した基準線を前記表示部に表示させることを特徴とする請求項1に記載の表示装置。   The reference line generation unit generates the reference line so as to extend from a middle point of a line segment connecting two reference points to a peripheral edge of the display unit, and causes the display unit to display the generated reference line. The display device according to claim 1. 前記文字抽出部が抽出した1文字ごとの座標データに基づいて、各文字の外接矩形の座標データを設定し、設定した外接矩形の座標データから前記基準線に対する外接矩形の傾斜角度を算出する傾斜角度算出部と、
前記傾斜角度算出部が算出した傾斜角度で各文字を回転させて、前記基準線に対する各文字の傾き補正を行い、傾き補正された文字を前記表示部に表示させる文字傾き補正部と、をさらに備えることを特徴とする請求項1または2に記載の表示装置。
Inclination for setting the circumscribing rectangle coordinate data of each character based on the coordinate data for each character extracted by the character extraction unit and calculating the inclination angle of the circumscribing rectangle with respect to the reference line from the set circumscribing rectangle coordinate data An angle calculator;
A character inclination correction unit that rotates each character at an inclination angle calculated by the inclination angle calculation unit, corrects the inclination of each character with respect to the reference line, and displays the corrected character on the display unit; The display device according to claim 1, further comprising a display device.
前記文字抽出部が抽出した1文字ごとの座標データに基づいて、互いに隣接する文字同士の間隔が予め定める一定間隔となるように、前記基準線に平行な方向における文字の位置補正を行い、位置補正された文字を前記表示部に表示させる平行方向文字位置補正部をさらに備えることを特徴とする請求項1〜3のいずれか1つに記載の表示装置。   Based on the coordinate data for each character extracted by the character extraction unit, the position of the character in the direction parallel to the reference line is corrected so that the interval between adjacent characters becomes a predetermined interval. The display device according to claim 1, further comprising a parallel direction character position correction unit that displays the corrected character on the display unit. 前記入力面に対する入力操作が行われているか否かを判定し、入力操作の待機時間を計時する計時部と、
前記計時部により計時された待機時間が、予め定める時間以上となった場合に、前記基準線生成部が生成した基準線を消去する基準線消去部と、をさらに備えることを特徴とする請求項1〜4のいずれか1つに記載の表示装置。
It is determined whether or not an input operation is performed on the input surface, and a time measuring unit that measures a standby time for the input operation;
The reference line erasing unit for erasing the reference line generated by the reference line generation unit when the standby time measured by the time measurement unit is equal to or longer than a predetermined time. The display device according to any one of 1 to 4.
入力部および表示部を備えるコンピュータを、請求項1〜5のいずれか1つに記載の表示装置として機能させることを特徴とする表示プログラム。   A display program that causes a computer including an input unit and a display unit to function as the display device according to claim 1.
JP2011103222A 2011-05-02 2011-05-02 Display device and display program Expired - Fee Related JP5683375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011103222A JP5683375B2 (en) 2011-05-02 2011-05-02 Display device and display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011103222A JP5683375B2 (en) 2011-05-02 2011-05-02 Display device and display program

Publications (2)

Publication Number Publication Date
JP2012234412A JP2012234412A (en) 2012-11-29
JP5683375B2 true JP5683375B2 (en) 2015-03-11

Family

ID=47434664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011103222A Expired - Fee Related JP5683375B2 (en) 2011-05-02 2011-05-02 Display device and display program

Country Status (1)

Country Link
JP (1) JP5683375B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6355823B2 (en) * 2016-02-08 2018-07-11 三菱電機株式会社 Input display control device, input display control method, and input display system
JP7404958B2 (en) * 2020-03-23 2023-12-26 株式会社リコー Input devices, input methods, and programs

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2989072B2 (en) * 1992-06-24 1999-12-13 シャープ株式会社 Handwritten character input device
US5633957A (en) * 1994-09-16 1997-05-27 Compaq Computer Corporation Method and apparatus for determining positional guidelines of handwritten data
JP2944439B2 (en) * 1994-12-27 1999-09-06 シャープ株式会社 Handwritten character input device and method
JP4741977B2 (en) * 2006-05-23 2011-08-10 キヤノン株式会社 Handwritten character processing apparatus and handwritten character processing method
JP4844896B2 (en) * 2007-03-30 2011-12-28 アイシン・エィ・ダブリュ株式会社 Navigation device
JP4995056B2 (en) * 2007-12-06 2012-08-08 キヤノン株式会社 Image display apparatus, control method thereof, and program

Also Published As

Publication number Publication date
JP2012234412A (en) 2012-11-29

Similar Documents

Publication Publication Date Title
US9013428B2 (en) Electronic device and handwritten document creation method
EP2631766B1 (en) Method and apparatus for moving contents in terminal
CN103492999B (en) Electronic device and handwriting processing method
KR20190039521A (en) Device manipulation using hover
US20130311922A1 (en) Mobile device with memo function and method for controlling the device
CN103984502A (en) Method for capturing screen content and portable terminal
US20140351725A1 (en) Method and electronic device for operating object
WO2014147722A1 (en) Electronic apparatus, method, and program
JP2012221160A (en) Electronic device, display method, and display program
JP2015049604A (en) Electronic apparatus and method for displaying electronic document
WO2014112132A1 (en) Information apparatus and information processing method
CN102750260B (en) Describe electronic equipment and the curve plotting method of curve
TWI354223B (en)
JP5683375B2 (en) Display device and display program
WO2015087379A1 (en) Electronic device and method for processing handwritten document information
CN102426483B (en) Multi-channel accurate target positioning method for touch equipment
JP5597441B2 (en) Handwritten character input device
JP5912423B2 (en) Display device and display program
JP5703125B2 (en) Display device and display program
US9146666B2 (en) Touch sensor navigation
US20140146001A1 (en) Electronic Apparatus and Handwritten Document Processing Method
JP5780823B2 (en) Display device, display device control method, and program
JP5907270B2 (en) Electronic device, display control method and program
US20140232667A1 (en) Electronic device and method
JP5683411B2 (en) Display device and display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140319

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150113

R150 Certificate of patent or registration of utility model

Ref document number: 5683375

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees