JP5703125B2 - Display device and display program - Google Patents

Display device and display program Download PDF

Info

Publication number
JP5703125B2
JP5703125B2 JP2011114220A JP2011114220A JP5703125B2 JP 5703125 B2 JP5703125 B2 JP 5703125B2 JP 2011114220 A JP2011114220 A JP 2011114220A JP 2011114220 A JP2011114220 A JP 2011114220A JP 5703125 B2 JP5703125 B2 JP 5703125B2
Authority
JP
Japan
Prior art keywords
character
unit
line segment
input
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011114220A
Other languages
Japanese (ja)
Other versions
JP2012243167A (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 JP2011114220A priority Critical patent/JP5703125B2/en
Publication of JP2012243167A publication Critical patent/JP2012243167A/en
Application granted granted Critical
Publication of JP5703125B2 publication Critical patent/JP5703125B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、表示パネルと一体的に形成されたタッチパネルを備え、表示パネルに表示された文書画像を表す画像データと重なるようにタッチパネルに手書き入力された線分に基づいて、文書画像を表す画像データを透過するような色、透明度で塗り潰された曲線線分を生成し、その曲線線分を表示パネルに表示することができる表示装置および表示プログラムに関する。   The present invention includes a touch panel formed integrally with a display panel, and an image representing a document image based on a line segment input by handwriting on the touch panel so as to overlap image data representing the document image displayed on the display panel The present invention relates to a display device and a display program capable of generating a curved line segment filled with a color and transparency so as to transmit data and displaying the curved line segment on a display panel.

電子黒板システム、パーソナルコンピュータ、携帯電話端末、電子手帳などには、液晶ディスプレイなどの表示パネルと、この表示パネルと一体的に形成されたタッチパネルとを含んで構成される、手書きで入力された文字を表示可能な表示装置が備えられている。表示装置は、タッチパネルに対する入力操作により手書き入力された軌跡の入力座標データに基づいて、文書画像を表す画像データを取得し、その取得した文書画像を表す画像データを表示パネルに表示する。また、表示装置は、PDF形式のデータファイル等の電子文書ファイルを、文書画像を表す画像データとして取得し、その取得した文書画像を表す画像データを表示パネルに表示する。   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. The display device acquires image data representing the document image based on the input coordinate data of the locus handwritten by an input operation on the touch panel, and displays the acquired image data representing the document image on the display panel. The display device acquires an electronic document file such as a PDF data file as image data representing a document image, and displays the obtained image data representing the document image on a display panel.

このような表示装置において、表示パネルに表示された文書画像を表す画像データの所望部分に、注目のための修飾記号を付加する技術が提案されている。   In such a display device, a technique has been proposed in which a modification symbol for attention is added to a desired portion of image data representing a document image displayed on a display panel.

たとえば、特許文献1には、表示パネルに表示された文書画像を表す画像データの、ユーザが所望する文字列部分に、文字列を塗り潰す線分を付加するような修飾編集機能に関する技術が開示されている。特許文献1に開示の技術によれば、表示パネルに表示された文書画像を表す画像データの任意の文字列に対応して、タッチパネルを介して手書きで線分を入力することによって、任意の文字列の画像に重なり、かつ文字列の画像が透過するように、直線線分が表示される。   For example, Patent Document 1 discloses a technique related to a modification editing function that adds a line segment that fills a character string to a character string portion desired by a user of image data representing a document image displayed on a display panel. Has been. According to the technique disclosed in Patent Document 1, an arbitrary character is input by handwriting a line segment via a touch panel corresponding to an arbitrary character string of image data representing a document image displayed on a display panel. A straight line segment is displayed so as to overlap the image of the column and transmit the image of the character string.

このように、ユーザは、所望する任意の文字列に対応して手書きで線分を入力するだけで、文字列の視認性を損なわず、手書き線分を体裁よく直線線分として表示させることができる。そのため、任意の文字列に対して蛍光ペンで定規を用いて直線を上書きしたように、文字列を修飾編集することができる。   In this way, the user can simply display a handwritten line segment as a straight line segment without damaging the visibility of the character string by simply inputting the line segment by handwriting in response to an arbitrary character string desired. it can. Therefore, it is possible to modify and edit a character string so that a straight line is overwritten on a given character string using a ruler with a highlighter.

特開2001−282785号公報JP 2001-282785 A

特許文献1に開示の技術は、直線状に配列した任意の文字列に対して、直線線分を付加して修飾するものである。そのため、特許文献1に開示の技術では、タッチパネルに対して手書き入力された軌跡に基づく文書画像を表す画像データや、PDF形式のデータファイル等の電子文書ファイルに基づく文書画像を表す画像データなどに含まれる、直線状に配列されていない文字列に対しては、蛍光ペンで上書きしたように修飾編集することができない。   The technique disclosed in Patent Document 1 modifies an arbitrary character string arranged in a straight line by adding a straight line segment. For this reason, in the technique disclosed in Patent Document 1, image data representing a document image based on a locus handwritten on the touch panel, image data representing a document image based on an electronic document file such as a PDF data file, and the like are used. The character strings that are not arranged in a straight line cannot be modified and edited as if they were overwritten with a highlighter.

したがって本発明の目的は、表示部に表示された文書画像を表す画像データにおいて、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる表示装置および表示プログラムを提供することである。   Accordingly, an object of the present invention is to provide a display device capable of modifying and editing a character string arranged in a curved line as if it was overwritten with a highlighter in image data representing a document image displayed on a display unit. It is to provide a display program.

本発明は、文書画像を表す画像データを取得する文書画像データ取得部と、
前記文書画像データ取得部が取得した文書画像を表す画像データに基づいて、文書画像を表示する表示部と、
前記表示部の表面上に積層されて、前記表示部と一体的に形成され、手書き入力によって指示された点の位置を表す座標データを出力する入力部と、
前記入力部から出力される手書き入力の軌跡に対応する座標データに基づいて、前記表示部に表示された文書画像と重なるように手書き入力された入力線分を認識し、入力線分の両端点の座標データを取得する入力線分認識部と、
前記入力線分の両端点の座標データに基づいて、前記入力線分と重なった文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識し、1文字ごとの文字の軌跡を表す座標データを取得する文字認識部と、
前記文字認識部が取得した1文字ごとの座標データに基づいて、前記文字認識部が認識した文字列を構成する文字のうち、前記入力線分の両端点のそれぞれに最も近接する2つの文字である第1端部文字および第2端部文字を含む任意の文字を抽出し、抽出した各文字の外接矩形を設定し、その外接矩形の座標データを取得する文字抽出部と、
前記文字抽出部が抽出した各文字の外接矩形における前記文字列の文字配列方向に延びる2辺のそれぞれを含む、各文字に対する2つの接線線分である第1接線線分および第2接線線分を、文字ごとに生成する文字接線生成部と、
前記文字接線生成部が生成した文字ごとのそれぞれの第1接線線分上の任意の点を通るように曲線近似された第1曲線と、文字ごとのそれぞれの第2接線線分上の任意の点を通るように曲線近似された第2曲線とを生成する近似曲線生成部と、
前記近似曲線生成部が生成した前記第1曲線と前記第2曲線との間で規定される幅を有する帯状領域を生成し、生成した帯状領域内を前記文書画像を透過するような色で前記表示部に表示させる帯状領域生成部と、を備えることを特徴とする表示装置である。
The present invention includes a document image data acquisition unit that acquires image data representing a document image;
A display unit for displaying a document image based on image data representing the document image acquired by the document image data acquisition unit;
An input unit that is laminated on the surface of the display unit, is formed integrally with the display unit, and outputs coordinate data representing a position of a point designated by handwriting;
Based on the coordinate data corresponding to the locus of handwriting input output from the input unit, the input line segment input by handwriting so as to overlap the document image displayed on the display unit is recognized, and both end points of the input line segment An input line segment recognition unit for acquiring the coordinate data of
Based on the coordinate data of both end points of the input line segment, a character area is extracted from a document image overlapping the input line segment, a character string included in the extracted character area is recognized, and a character trajectory for each character A character recognition unit for obtaining coordinate data representing
Based on the coordinate data for each character acquired by the character recognition unit, two characters that are closest to each of both end points of the input line segment among characters constituting the character string recognized by the character recognition unit A character extraction unit that extracts arbitrary characters including a first end character and a second end character, sets a circumscribed rectangle of each extracted character, and obtains coordinate data of the circumscribed rectangle;
A first tangent line segment and a second tangent line segment that are two tangent line segments for each character, each including two sides extending in the character array direction of the character string in the circumscribed rectangle of each character extracted by the character extraction unit. A character tangent generator for generating each character,
A first curve that is approximated by a curve so as to pass through an arbitrary point on each first tangent line segment for each character generated by the character tangent line generation unit, and an arbitrary one on each second tangent line segment for each character An approximate curve generation unit that generates a second curve that is approximated to pass through a point;
A band-shaped area having a width defined between the first curve and the second curve generated by the approximate curve generation unit is generated, and the generated band-shaped area is transmitted in a color that transmits the document image. It is a display apparatus characterized by including the strip | belt-shaped area | region production | generation part displayed on a display part.

また本発明の表示装置において、前記文書画像データ取得部は、前記入力部に対する手書き入力の軌跡に対応する座標データに基づいて、文書画像を表す画像データを取得することを特徴とする。   In the display device of the present invention, the document image data acquisition unit acquires image data representing a document image based on coordinate data corresponding to a locus of handwritten input to the input unit.

また本発明の表示装置において、前記近似曲線生成部は、前記文字接線生成部が生成した文字ごとのそれぞれの第1接線線分の両端点を通る近似曲線を前記第1曲線として生成し、文字ごとのそれぞれの第2接線線分の両端点を通る近似曲線を前記第2曲線として生成することを特徴とする。   In the display device according to the aspect of the invention, the approximate curve generation unit generates an approximate curve that passes through both end points of each first tangent line for each character generated by the character tangent line generation unit as the first curve. An approximate curve passing through both end points of each second tangent line segment is generated as the second curve.

また本発明の表示装置において、前記帯状領域生成部は、前記第1端部文字に対応する前記第1接線線分と前記第2接線線分との外方側端点を通る直線、前記第2端部文字に対応する前記第1接線線分と前記第2接線線分との外方側端点を通る直線、前記第1曲線、および前記第2曲線で囲まれた領域を、帯状領域として生成することを特徴とする。   In the display device according to the aspect of the invention, the belt-shaped region generation unit may include a straight line passing through an outer end point of the first tangent line segment and the second tangent line segment corresponding to the first end character, A straight line passing through the outer end points of the first tangent line segment and the second tangent line segment corresponding to the end character, the first curve, and a region surrounded by the second curve are generated as a band-like region. It is characterized by doing.

また本発明は、入力部および表示部を備えるコンピュータを、前記表示装置として機能させることを特徴とする表示プログラムである。   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 a document image on the display unit based on image data representing the document image acquired by the document image data acquisition unit. Furthermore, the display device includes an input unit, an input line segment recognition unit, a character recognition unit, a character extraction unit, a character tangent line generation unit, an approximate curve generation unit, and a band-shaped region generation unit.

入力部は、表示部の表面上に積層されて表示部と一体的に形成され、手書き入力によって指示された点の位置を表す座標データを出力する。入力線分認識部は、たとえばユーザが、表示部に表示された文書画像と重なるように、入力部に対して線分を手書き入力した場合、その手書き入力された入力線分を認識し、入力線分の両端点の座標データを取得する。文字認識部は、入力線分の両端点の座標データに基づいて、入力線分と重なった文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識し、1文字ごとの文字の軌跡を表す座標データを取得する。文字抽出部は、文字認識部が取得した1文字ごとの座標データに基づいて、文字認識部が認識した文字列を構成する文字のうち、入力線分の両端点のそれぞれに最も近接する第1端部文字および第2端部文字を含む任意の文字を抽出し、抽出した各文字の外接矩形を設定し、その外接矩形の座標データを取得する。   The input unit is laminated on the surface of the display unit and is formed integrally with the display unit, and outputs coordinate data representing the position of a point designated by handwriting input. The input line segment recognition unit recognizes the input line segment input by handwriting and inputs the line segment when the user inputs the line segment to the input unit so as to overlap the document image displayed on the display unit, for example. Get the coordinate data of both end points of the line segment. The character recognition unit extracts a character area from the document image overlapping the input line segment based on the coordinate data of both end points of the input line segment, recognizes a character string included in the extracted character area, and Get coordinate data representing the trajectory of a character. The character extraction unit is the first closest to each of both end points of the input line segment among the characters constituting the character string recognized by the character recognition unit based on the coordinate data for each character acquired by the character recognition unit. An arbitrary character including the end character and the second end character is extracted, a circumscribed rectangle of each extracted character is set, and coordinate data of the circumscribed rectangle is acquired.

文字接線生成部は、文字抽出部が抽出した各文字に対する2つの接線線分である第1接線線分および第2接線線分を文字ごとに生成する。この第1接線線分および第2接線線分は、各文字の外接矩形における、文字列の文字配列方向に延びる2辺のそれぞれを含む線分である。近似曲線生成部は、文字接線生成部が生成した文字ごとのそれぞれの第1接線線分上の任意の点を通るように曲線近似された第1曲線と、文字ごとのそれぞれの第2接線線分上の任意の点を通るように曲線近似された第2曲線とを生成する。そして、帯状領域生成部は、近似曲線生成部が生成した第1曲線と第2曲線との間で規定される幅を有する帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色で表示部に表示させる。   The character tangent generation unit generates a first tangent line segment and a second tangent line segment, which are two tangent line segments for each character extracted by the character extraction unit, for each character. The first tangent line segment and the second tangent line segment are line segments each including two sides extending in the character arrangement direction of the character string in the circumscribed rectangle of each character. The approximate curve generation unit includes a first curve that is approximated so as to pass an arbitrary point on each first tangent line segment for each character generated by the character tangent line generation unit, and each second tangent line for each character. A second curve approximated to pass through an arbitrary point on the minute is generated. Then, the band-shaped area generation unit generates a band-shaped area having a width defined between the first curve and the second curve generated by the approximate curve generation unit, and transmits the document image through the generated band-shaped area. Display on the display unit in various colors.

本発明の表示装置では、近似曲線生成部が生成する第1曲線および第2曲線は、入力部に手書き入力された入力線分と重なった文字列を構成する文字のうち、第1端部文字および第2端部文字を含む任意の複数の文字に接して、文字配列方向に沿って延びる曲線となる。そして、帯状領域生成部は、上記のような第1曲線と第2曲線との間で幅が規定される帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示部に表示させる。これによって、表示部に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる。   In the display device of the present invention, the first curve and the second curve generated by the approximate curve generation unit are the first end characters among the characters constituting the character string overlapping the input line segment input by handwriting in the input unit. And a curved line extending along the character arrangement direction in contact with any plurality of characters including the second end character. The band-shaped area generating unit generates a band-shaped area whose width is defined between the first curve and the second curve as described above, and has a color and transparency that allows the document image to pass through the generated band-shaped area. To display on the display. Thereby, in the document image displayed on the display unit, the character strings arranged in a curved line can be modified and edited as if they were overwritten with the highlighter pen.

また本発明によれば、文書画像データ取得部は、入力部に対する手書き入力の軌跡に対応する座標データに基づいて、文書画像を表す画像データを取得する。文書画像データ取得部によって取得された、入力部に対するユーザの入力操作によって手書き入力された軌跡に基づく文書画像を表す画像データは、表示部に表示される。   According to the invention, the document image data acquisition unit acquires image data representing the document image based on the coordinate data corresponding to the locus of handwriting input to the input unit. Image data representing a document image based on a locus obtained by handwriting input by a user input operation on the input unit, acquired by the document image data acquisition unit, is displayed on the display unit.

本発明の表示装置では、上記のようにして表示部に表示された文書画像と重なるように手書き入力された入力線分に基づいて、帯状領域生成部によって帯状領域が生成される。生成される帯状領域は、入力線分と重なった文字列を構成する文字のうち、第1端部文字および第2端部文字を含む任意の複数の文字に接する第1曲線と第2曲線との間で幅が規定され、文書画像を透過するような色、透明度で塗り潰された領域である。このようにして、表示装置は、入力部に対して手書き入力された軌跡に基づく文書画像に含まれる、曲線状に配列された文字列に対して、蛍光ペンで上書きしたように修飾編集することができる。   In the display device of the present invention, the band-shaped area is generated by the band-shaped area generation unit based on the input line segment input by handwriting so as to overlap the document image displayed on the display unit as described above. The generated band-shaped area includes a first curve and a second curve that are in contact with any of a plurality of characters including a first end character and a second end character among characters constituting the character string overlapping the input line segment. This is a region that is filled with a color and transparency such that the width is defined between the two and the document image is transmitted. In this way, the display device modifies and edits the character string arranged in a curved line included in the document image based on the locus handwritten to the input unit as if it was overwritten with the highlighter pen. Can do.

また本発明によれば、近似曲線生成部は、文字ごとのそれぞれの第1接線線分の両端点を通る近似曲線を第1曲線として生成し、文字ごとのそれぞれの第2接線線分の両端点を通る近似曲線を第2曲線として生成する。このようにして、近似曲線生成部は、入力部に手書き入力された入力線分と重なった文字列を構成する文字のうち、第1端部文字および第2端部文字を含む任意の複数の文字に接して、文字配列方向に沿って延びる第1曲線および第2曲線を生成することができる。   According to the invention, the approximate curve generation unit generates an approximate curve that passes through both end points of each first tangent line segment for each character as a first curve, and both ends of each second tangent line segment for each character. An approximate curve passing through the points is generated as the second curve. In this manner, the approximate curve generation unit includes a plurality of arbitrary plural characters including the first end character and the second end character among the characters constituting the character string overlapped with the input line segment input by handwriting in the input unit. A first curve and a second curve extending along the character arrangement direction can be generated in contact with the character.

また本発明によれば、帯状領域生成部は、第1端部文字に対応する第1接線線分と第2接線線分との外方側端点を通る直線、第2端部文字に対応する第1接線線分と第2接線線分との外方側端点を通る直線、第1曲線、および第2曲線で囲まれた領域を、帯状領域として生成する。このようにして、帯状領域生成部は、第1曲線と第2曲線との間で幅が規定される帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示部に表示させることができる。   According to the invention, the band-shaped region generating unit corresponds to a straight line passing through the outer end points of the first tangent line segment and the second tangent line segment corresponding to the first end character, and the second end character. A region surrounded by a straight line passing through the outer end points of the first tangent line segment and the second tangent line segment, the first curve, and the second curve is generated as a band-shaped region. In this manner, the band-shaped area generation unit generates a band-shaped area whose width is defined between the first curve and the second curve, and has a color and transparency that allows the document image to pass through the generated band-shaped area. It can be displayed on the display unit.

また本発明によれば、表示プログラムは、入力部および表示部を備えるコンピュータを、前記表示装置として機能させるためのプログラムである。このような表示プログラムは、表示部に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することが可能な表示処理を、ソフトウェアで制御することができる。   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 uses a software to perform a display process that allows a text image arranged in a curved line in a document image displayed on a display unit to be modified and edited as if it was overwritten with a highlighter. Can be controlled.

本発明の実施の一形態に係る表示装置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 illustrating an operation of input line segment recognition processing in the display device 1. 表示装置1における入力線分認識処理の動作を説明するための図である。6 is a diagram for explaining an operation of input line segment recognition processing in the display device 1. FIG. 表示装置1における修飾編集範囲設定処理の動作を示すフローチャートである。4 is a flowchart showing an operation of a modification editing range setting process in the display device 1. 表示装置1における修飾編集範囲設定処理の動作を説明するための図である。FIG. 10 is a diagram for explaining an operation of a modification editing range setting process in the display device 1. 表示装置1における文字認識処理の動作を示すフローチャートである。4 is a flowchart showing an operation of character recognition processing in the display device 1. 表示装置1における文字認識処理の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of character recognition processing in the display device 1. 表示装置1における文字認識処理の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of character recognition processing in the display device 1. 表示装置1における文字認識処理の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of character recognition processing in the display device 1. 表示装置1における文字抽出処理の動作を示すフローチャートである。4 is a flowchart showing an operation of character extraction processing in the display device 1. 表示装置1における文字抽出処理の動作を説明するための図である。6 is a diagram for explaining an operation of a character extraction process in the display device 1. FIG. 表示装置1における接線線分生成処理の動作を示すフローチャートである。4 is a flowchart showing an operation of a tangent line generation process in the display device 1. 表示装置1における接線線分生成処理の動作を説明するための図である。6 is a diagram for explaining an operation of a tangent line generation process in the display device 1. FIG. 表示装置1における近似曲線生成処理の動作を示すフローチャートである。4 is a flowchart showing an operation of approximate curve generation processing in the display device 1. 表示装置1における近似曲線生成処理の動作を説明するための図である。6 is a diagram for explaining an operation of an approximate curve generation process in the display device 1. FIG. 表示装置1における帯状領域生成処理の動作を示すフローチャートである。4 is a flowchart showing an operation of a band-shaped area generation process in the display device 1. 表示装置1における帯状領域生成処理の動作を説明するための図である。6 is a diagram for explaining an operation of a band-shaped area generation process in the display device 1. FIG.

図1は、本発明の実施の一形態に係る表示装置1の構成を示すブロック図である。表示装置1は、入力部である透明なタッチパネル2と、表示部である表示パネル3と、タッチパネルデータ処理部4と、表示データ処理部5と、制御手段であるCPU6と、メモリなどで構成される第1記憶手段7と、HDDなどで構成される第2記憶手段8とを含む。表示装置1は、タッチパネル2に対して手書き入力された軌跡に基づく文書画像を表す画像データ(以下、「文書画像データ」という)や、PDF形式のデータファイル等の電子文書ファイルに基づく文書画像データなどを表示パネル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 includes document data based on electronic document files such as image data (hereinafter referred to as “document image data”) representing a document image based on a trajectory input by handwriting on the touch panel 2 or a PDF data file. Is displayed on the display panel 3.

本実施形態の表示装置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 possible to use an infrared blocking method that blocks infrared rays, a capacitive coupling method, an electromagnetic induction method, a camera method, or the like.

CPU6は、文書画像データ取得部60と、座標データ取得部61と、軌跡表示指示部62と、入力線分認識部63と、修飾編集範囲設定部64と、文字認識部65と、文字抽出部66と、文字接線生成部67と、近似曲線生成部68と、帯状領域生成部69とを含む。   The CPU 6 includes a document image data acquisition unit 60, a coordinate data acquisition unit 61, a locus display instruction unit 62, an input line segment recognition unit 63, a modified editing range setting unit 64, a character recognition unit 65, and a character extraction unit. 66, a character tangent line generation unit 67, an approximate curve generation unit 68, and a band-shaped region generation unit 69.

文書画像データ取得部60は、タッチパネル2に対して手書き入力された軌跡に対応する座標データに基づいて、文書画像データを取得する。また、文書画像データ取得部60は、PDF形式のデータファイル等の電子文書ファイルに基づく文書画像データを取得する。文書画像データ取得部60によって取得された文書画像データに基づいて、表示パネル3に文書画像が表示される。   The document image data acquisition unit 60 acquires document image data based on the coordinate data corresponding to the locus input by handwriting on the touch panel 2. The document image data acquisition unit 60 acquires document image data based on an electronic document file such as a PDF data file. A document image is displayed on the display panel 3 based on the document image data acquired by the document image data acquisition unit 60.

座標データ取得部61は、タッチパネル2から出力される座標データを取得する。軌跡表示指示部62は、タッチパネル2に入力される手書き入力の座標データを表示パネル3に送信し、この座標データに基づいた手書き入力の軌跡を表示パネル3に表示させる。   The coordinate data acquisition unit 61 acquires coordinate data output from the touch panel 2. The trajectory display instruction unit 62 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.

入力線分認識部63は、タッチパネル2から出力される手書き入力の軌跡に対応する座標データに基づいて、表示パネル3に表示された文書画像と重なるように手書き入力された入力線分を認識し、入力線分の両端点の座標データを取得する。入力線分認識部63が認識する入力線分は、ユーザのタッチパネル2の入力面に対する入力操作によって設定される。   The input line segment recognition unit 63 recognizes an input line segment input by handwriting so as to overlap the document image displayed on the display panel 3 based on the coordinate data corresponding to the locus of handwriting input output from the touch panel 2. The coordinate data of both end points of the input line segment is acquired. The input line segment recognized by the input line segment recognition unit 63 is set by an input operation on the input surface of the touch panel 2 by the user.

修飾編集範囲設定部64は、入力線分認識部63が取得した入力線分の両端点の座標データに基づいて、表示パネル3に表示された文書画像のうち、入力線分と重なった特定領域の範囲を示す修飾編集範囲を設定する。この修飾編集範囲設定部64が設定する修飾編集範囲が、後述する帯状領域生成部69により生成される帯状領域で、蛍光ペンで上書きしたように修飾編集される対象領域となる。   Based on the coordinate data of the both end points of the input line segment acquired by the input line segment recognition unit 63, the modified edit range setting unit 64 is a specific area that overlaps the input line segment in the document image displayed on the display panel 3. Set the qualifying edit range indicating the range of. The modification edit range set by the modification edit range setting unit 64 is a band-shaped area generated by a band-shaped area generation unit 69 described later, and becomes a target area to be modified and edited as if overwritten with a highlighter.

文字認識部65は、修飾編集範囲設定部64が設定した修飾編集範囲内における文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識し、1文字ごとの文字の軌跡を表す座標データを取得する。文字認識部65は、OCR(Optical Character Recognition)技術を利用して、文字領域に含まれる文字の認識を行う。また、文字認識部65は、認識した各文字の外接矩形を設定し、その外接矩形の座標データ、X軸に対する各文字の傾き、各文字のサイズデータを取得する。   The character recognizing unit 65 extracts a character area from the document image in the modified editing range set by the modified editing range setting unit 64, recognizes a character string included in the extracted character area, and obtains a character trajectory for each character. Get representing coordinate data. The character recognition unit 65 recognizes characters included in the character area using OCR (Optical Character Recognition) technology. The character recognition unit 65 sets a circumscribed rectangle for each recognized character, and acquires coordinate data of the circumscribed rectangle, inclination of each character with respect to the X axis, and size data of each character.

文字抽出部66は、文字認識部65が取得した1文字ごとの座標データに基づいて、文字認識部65が認識した文字列を構成する文字のうち、入力線分の両端点のそれぞれに最も近接する第1端部文字および第2端部文字を含む任意の文字を抽出し、抽出した各文字の外接矩形を設定し、その外接矩形の座標データを取得する。また、文字抽出部66は、抽出した各文字の傾き、各文字のサイズデータを取得する。   The character extraction unit 66 is closest to each of the end points of the input line segment among the characters constituting the character string recognized by the character recognition unit 65 based on the coordinate data for each character acquired by the character recognition unit 65. An arbitrary character including the first end character and the second end character to be extracted is extracted, a circumscribed rectangle of each extracted character is set, and coordinate data of the circumscribed rectangle is acquired. In addition, the character extracting unit 66 acquires the inclination of each extracted character and the size data of each character.

文字接線生成部67は、文字抽出部66が抽出した各文字に対する2つの接線線分である第1接線線分および第2接線線分を文字ごとに生成する。この第1接線線分および第2接線線分は、各文字の外接矩形における、文字列の文字配列方向に延びる2辺のそれぞれを含む線分である。   The character tangent line generation unit 67 generates a first tangent line segment and a second tangent line segment that are two tangent line segments for each character extracted by the character extraction unit 66 for each character. The first tangent line segment and the second tangent line segment are line segments each including two sides extending in the character arrangement direction of the character string in the circumscribed rectangle of each character.

近似曲線生成部68は、文字接線生成部67が生成した文字ごとのそれぞれの第1接線線分上の任意の点(制御点)を通るように曲線近似された第1曲線と、文字ごとのそれぞれの第2接線線分上の任意の点(制御点)を通るように曲線近似された第2曲線とを生成する。   The approximate curve generation unit 68 includes a first curve that is approximated by a curve so as to pass through an arbitrary point (control point) on each first tangent line segment for each character generated by the character tangent line generation unit 67, and for each character. A second curve that is approximated to pass through an arbitrary point (control point) on each second tangent line segment is generated.

帯状領域生成部69は、近似曲線生成部68が生成した第1曲線と第2曲線との間で規定される幅を有する帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示パネル3に表示させる。   The band-shaped area generation unit 69 generates a band-shaped area having a width defined between the first curve and the second curve generated by the approximate curve generation unit 68, and transmits the document image through the generated band-shaped area. Display on the display panel 3 with various colors and transparency.

本実施形態の表示装置1では、近似曲線生成部68が生成する第1曲線および第2曲線は、タッチパネル2に手書き入力された入力線分と重なった文字列を構成する文字のうち、第1端部文字および第2端部文字を含む任意の複数の文字に接して、文字配列方向に沿って延びる曲線となる。そして、帯状領域生成部69は、上記のような第1曲線と第2曲線との間で幅が規定される帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示パネル3に表示させる。これによって、表示パネル3に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる。   In the display device 1 of the present embodiment, the first curve and the second curve generated by the approximate curve generation unit 68 are the first of the characters constituting the character string overlapping the input line segment input by handwriting on the touch panel 2. The curved line extends along the character arrangement direction in contact with a plurality of arbitrary characters including the end character and the second end character. Then, the band-shaped area generator 69 generates a band-shaped area whose width is defined between the first curve and the second curve as described above, and a color that allows the document image to pass through the generated band-shaped area, The display panel 3 is displayed with transparency. As a result, in the document image displayed on the display panel 3, the character strings arranged in a curved line can be modified and edited as if they were overwritten with the highlighter.

第1記憶手段7は、表示装置1におけるワーキングメモリとしての機能を有する。第1記憶手段7は、表示情報記憶部70と、座標データ記憶部71と、認識文字情報記憶部72と、認識文字数記憶部73と、抽出文字情報記憶部74と、接線線分情報記憶部75と、近似曲線生成用制御点記憶部76と、標準文字サイズ情報記憶部77と、文字サンプル情報記憶部78とを含む。   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 recognized character information storage unit 72, a recognized character number storage unit 73, an extracted character information storage unit 74, and a tangent line segment information storage unit. 75, an approximate curve generation control point storage unit 76, a standard character size information storage unit 77, and a character sample information storage unit 78.

表示情報記憶部70は、表示パネル3に表示されている表示情報を記憶する。座標データ記憶部71は、タッチパネル2から出力された入力線分の座標データ、および、手書き入力された軌跡に基づく座標データを記憶する。認識文字情報記憶部72は、文字認識部65が取得した認識文字の外接矩形の座標データ、X軸に対する文字傾き、サイズデータなどの認識文字の情報を記憶する。認識文字数記憶部73は、文字認識部65が認識した文字の数を記憶する。抽出文字情報記憶部74は、文字抽出部66が取得した抽出文字の外接矩形の座標データ、X軸に対する文字傾き、サイズデータなどの抽出文字の情報を記憶する。   The display information storage unit 70 stores display information displayed on the display panel 3. The coordinate data storage unit 71 stores input line segment coordinate data output from the touch panel 2 and coordinate data based on a handwritten input locus. The recognized character information storage unit 72 stores the information of the recognized character such as the coordinate data of the circumscribed rectangle of the recognized character acquired by the character recognition unit 65, the character inclination with respect to the X axis, and the size data. The recognized character number storage unit 73 stores the number of characters recognized by the character recognition unit 65. The extracted character information storage unit 74 stores extracted character information such as coordinate data of a circumscribed rectangle of the extracted character acquired by the character extraction unit 66, character inclination with respect to the X axis, and size data.

接線線分情報記憶部75は、文字接線生成部67が生成した、各抽出文字に対応する第1接線線分および第2接線線分の座標データを記憶する。近似曲線生成用制御点記憶部76は、近似曲線生成部68が第1曲線および第2曲線を生成するときに用いる、第1接線線分および第2接線線分上に位置する任意の制御点の座標データを記憶する。標準文字サイズ情報記憶部77は、修飾編集範囲設定部64が修飾編集範囲を設定するときに用いる、予め定める標準文字のサイズ(高さ、幅)に関する情報を記憶する。文字サンプル情報記憶部78は、文字認識部65が文字認識処理を実行するときに用いる、比較用の文字サンプルの形状に関する情報を記憶する。   The tangent line segment information storage unit 75 stores the coordinate data of the first tangent line segment and the second tangent line segment generated by the character tangent line generation unit 67 and corresponding to each extracted character. The approximate curve generation control point storage unit 76 uses arbitrary control points located on the first tangent line segment and the second tangent line segment that are used when the approximate curve generation unit 68 generates the first curve and the second curve. Is stored. The standard character size information storage unit 77 stores information related to a predetermined standard character size (height and width) used when the modified edit range setting unit 64 sets the modified edit range. The character sample information storage unit 78 stores information related to the shape of the character sample for comparison, which is used when the character recognition unit 65 executes the character recognition process.

第2記憶手段8は、ソフトウェア記憶部80と、ドライバ記憶部81と、ユーザ設定表示画面記憶部82とを含む。ソフトウェア記憶部80は、表示装置1を動作させるためのソフトウェアを記憶する。ドライバ記憶部81は、タッチパネルデータ処理部4を実現するタッチパネルドライバと、表示データ処理部5を実現する表示ドライバとを記憶する。ユーザ設定表示画面記憶部82は、表示装置1を操作するユーザが設定する、表示パネル3の設定に関する情報を記憶する。   The second storage unit 8 includes a software storage unit 80, a driver storage unit 81, and a user setting display screen storage unit 82. 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.

次に、本実施形態の表示装置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では、文書画像データ取得部60は、たとえば、タッチパネル2に対して手書き入力された軌跡に対応する座標データに基づいて、文書画像データを取得する。文書画像データ取得部60によって取得された文書画像データに基づいて、表示パネル3に文書画像が表示される。   In step s1, the document image data acquisition unit 60 acquires document image data based on, for example, coordinate data corresponding to a locus input by handwriting on the touch panel 2. A document image is displayed on the display panel 3 based on the document image data acquired by the document image data acquisition unit 60.

次に、ステップs2では、修飾編集を実行する指示を表す指示信号がタッチパネル2を介して入力された後に、タッチパネル2に対する手書き入力の入力操作がなされることで、表示装置1は、入力線分認識処理を行う。   Next, in step s2, after an instruction signal indicating an instruction to execute the modification editing is input via the touch panel 2, the display device 1 performs an input line segment operation by performing a handwriting input input operation on the touch panel 2. Perform recognition processing.

図3は、表示装置1における入力線分認識処理の動作を示すフローチャートである。図4は、表示装置1における入力線分認識処理の動作を説明するための図である。   FIG. 3 is a flowchart showing the operation of the input line segment recognition process in the display device 1. FIG. 4 is a diagram for explaining the operation of the input line segment recognition process in the display device 1.

入力線分認識部63は、図4(a)に示すように、表示パネル3の表示面31に文書画像が表示された状態で、タッチパネル2の入力面21に対する手書き入力の入力操作がなされることで、入力線分認識処理を行う。図4(a)では、表示パネル3の表示面31には、手書き入力された軌跡に基づく「強調したい文字をマーク」という文字列からなる文書画像が表示されている。この「強調したい文字をマーク」という文字列における各文字は、表示面31のX軸左端部側からX軸右端部側に向かうにつれて、Y軸方向下方側に配置されるように、曲線状に配列されている。   As shown in FIG. 4A, the input line segment recognition unit 63 performs a handwriting input input operation on the input surface 21 of the touch panel 2 in a state where a document image is displayed on the display surface 31 of the display panel 3. Thus, the input line segment recognition process is performed. In FIG. 4A, a document image composed of a character string “mark a character to be emphasized” based on a locus input by handwriting is displayed on the display surface 31 of the display panel 3. Each character in the character string “mark the character to be emphasized” is arranged in a curved shape so as to be arranged on the lower side in the Y-axis direction from the X-axis left end side to the X-axis right end side of the display surface 31. It is arranged.

まず、ステップs2−1では、入力線分認識部63は、タッチパネル2の入力面21に対する入力線分Lの手書き入力が開始されたか否かを判定する。入力線分認識部63は、手書き入力の入力開始点Tに対応する座標データがタッチパネル2から出力された場合に、入力線分Lの手書き入力が開始されたと判定する。入力線分認識部63が入力線分Lの手書き入力が開始されたと判定した場合にはステップs2−2に進み、入力線分Lの手書き入力が開始されていないと判定した場合にはステップs2−1を繰返す。なお、タッチパネル2から出力された入力開始点Tに対応する座標データは、座標データ記憶部71に記憶される。 First, in step S2-1, the input line recognition unit 63 determines whether or not the handwriting input of the input line segment L 1 with respect to the input surface 21 of the touch panel 2 is started. Input line recognition unit 63 determines that the coordinate data corresponding to the input starting point T 1 of the handwriting input when it is output from the touch panel 2, handwriting input of the input line segment L 1 is started. If the if the input line recognition unit 63 determines that the handwriting input line segment L 1 is started, the process proceeds to step S2-2, it is determined that the handwriting input line segment L 1 is not started Step s2-1 is repeated. Note that coordinate data corresponding to the input start point T 1 output from the touch panel 2 is stored in the coordinate data storage unit 71.

ステップs2−2では、入力線分認識部63は、座標データ記憶部71から入力開始点Tに対応する座標データを取得する。 In step S2-2, the input line recognition unit 63 obtains the coordinate data corresponding to the input starting point T 1 from the coordinate data storing unit 71.

次に、ステップs2−3では、入力線分認識部63は、タッチパネル2の入力面21に対する入力線分Lの手書き入力が終了したか否かを判定する。入力線分認識部63は、予め定める時間経過してもタッチパネル2の入力面21に対する入力操作が行われない場合に、入力線分Lの手書き入力が終了したと判定する。入力線分認識部63が入力線分Lの手書き入力が終了したと判定した場合にはステップs2−4に進み、入力線分Lの手書き入力が終了していないと判定した場合にはステップs2−3を繰返す。なお、入力線分Lの手書き入力による軌跡に対応する座標データは、入力終了点Tの座標データも含めて座標データ記憶部71に記憶される。 Next, at step S2-3, the input line recognition unit 63 determines whether or not the handwriting input of the input line segment L 1 with respect to the input surface 21 of the touch panel 2 is completed. Input line recognition unit 63 judges that the input operation of the input surface 21 of the touch panel 2 even after the lapse of predetermined interval of time is when not done, handwriting input of the input line segment L 1 is completed. If the input line recognition unit 63 proceeds to step s2-4 if handwriting input of the input line segment L 1 is determined to have ended, handwriting input line segment L 1 is determined not to be completed Step s2-3 is repeated. The coordinate data corresponding to the locus handwritten input of the input line segment L 1, the coordinate data of the input end point T 2 it is also stored in the coordinate data storage unit 71 included.

ステップs2−4では、入力線分認識部63は、座標データ記憶部71から入力終了点Tに対応する座標データを取得する。 In step S2-4, the input line recognition unit 63 obtains the coordinate data corresponding to the input end point T 2 from the coordinate data storing unit 71.

以上のようにして、入力線分認識部63は、図4(b)に示すように、表示パネル3の表示面31に表示された文書画像と重なるように手書き入力された入力線分Lを認識し、入力線分の両端点である入力開始点Tの座標データ、および入力終了点Tの座標データを取得する。 As described above, the input line segment recognition unit 63, as shown in FIG. 4B, the input line segment L 1 that is input by handwriting so as to overlap the document image displayed on the display surface 31 of the display panel 3. recognizes, acquires coordinate data of a both end points of the input line input start point T 1, and the coordinate data of the input end point T 2.

図2に戻って、ステップs2において入力線分認識処理が終了すると、ステップs3に進む。ステップs3では、表示装置1は、修飾編集範囲設定処理を行う。   Returning to FIG. 2, when the input line segment recognition process is completed in step s2, the process proceeds to step s3. In step s3, the display device 1 performs a modified editing range setting process.

図5は、表示装置1における修飾編集範囲設定処理の動作を示すフローチャートである。図6は、表示装置1における修飾編集範囲設定処理の動作を説明するための図である。修飾編集範囲設定部64は、入力線分認識部63が取得した入力線分Lの両端点(入力開始点Tおよび入力終了点T)の座標データに基づいて、表示パネル3の表示面31に表示された文書画像のうち、入力線分Lと重なった修飾編集範囲を設定する。 FIG. 5 is a flowchart showing the operation of the modification editing range setting process in the display device 1. FIG. 6 is a diagram for explaining the operation of the modification editing range setting process in the display device 1. The modification edit range setting unit 64 displays the display panel 3 based on the coordinate data of both end points (input start point T 1 and input end point T 2 ) of the input line segment L 1 acquired by the input line segment recognition unit 63. among the displayed document image on the surface 31, to set the overlapped modified edit selection and input line L 1.

まず、ステップs3−1では、修飾編集範囲設定部64は、標準文字サイズ情報記憶部77から標準文字のサイズ情報を読出す。なお、標準文字の幅サイズ(X軸方向のサイズ)を「Sx」とし、高さサイズ(Y軸方向のサイズ)を「Sy」とする。   First, in step s 3-1, the modification edit range setting unit 64 reads standard character size information from the standard character size information storage unit 77. The width size (size in the X-axis direction) of the standard character is “Sx”, and the height size (size in the Y-axis direction) is “Sy”.

次に、ステップs3−2では、修飾編集範囲設定部64は、図6(a)に示すように、入力開始点TからX軸方向外方側に「Sx/2」、Y軸方向上方側に「Sy/2」だけ移動した位置を第1基準点Rとして設定する。次に、ステップs3−3では、修飾編集範囲設定部64は、入力終了点TからX軸方向外方側に「Sx/2」、Y軸方向下方側に「Sy/2」だけ移動した位置を第2基準点Rとして設定する。 Next, at step S3-2, modified editing range setting unit 64, as shown in FIG. 6 (a), "Sx / 2" from the input start point T 1 in the X-axis direction outward, Y-axis upward direction The position moved by “Sy / 2” to the side is set as the first reference point R 1 . Next, at step S3-3, modified editing range setting unit 64, "Sx / 2" from the input end point T 2 in the X-axis direction outward and moves by "Sy / 2" in the Y axis direction lower side to set position as the second reference point R 2.

そして、ステップs3−4では、修飾編集範囲設定部64は、図6(b)に示すように、第1基準点Rと第2基準点Rとを対角線の頂点とする矩形範囲を、修飾編集範囲Rとして設定し、修飾編集範囲設定処理を終了する。 Then, in step S3-4, modified editing range setting unit 64, as shown in FIG. 6 (b), a rectangular area to the first reference point R 1 and the second reference point R 2 and diagonal apexes of The modification editing range R is set, and the modification editing range setting process is terminated.

図2に戻って、ステップs3において修飾編集範囲設定処理が終了すると、ステップs4に進む。ステップs4では、表示装置1は、文字認識処理を行う。   Returning to FIG. 2, when the modification edit range setting process ends in step s3, the process proceeds to step s4. In step s4, the display device 1 performs a character recognition process.

図7は、表示装置1における文字認識処理の動作を示すフローチャートである。図8A〜図8Cは、表示装置1における文字認識処理の動作を説明するための図である。文字認識部65は、修飾編集範囲設定部64が設定した修飾編集範囲R内における文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識する。   FIG. 7 is a flowchart showing the operation of character recognition processing in the display device 1. 8A to 8C are diagrams for explaining the operation of the character recognition process in the display device 1. The character recognizing unit 65 extracts a character region from the document image within the modified editing range R set by the modified editing range setting unit 64, and recognizes a character string included in the extracted character region.

まず、ステップs4−1では、文字認識部65は、図8A(a)に示すように、入力開始点Tから表示面31の周縁右端部まで、X軸に平行に延びる水平線Lを生成する。そして、文字認識部65は、図8A(b)に示すように、水平線Lが修飾編集範囲R内の文字と重ならない位置まで、水平線LをY軸方向上方側に移動させる。これによって、水平線Lは、点Tから表示面31の周縁右端部まで、X軸に平行に延びる線となる。 First, in step S4-1, the character recognition unit 65, as shown in FIG. 8A (a), to the peripheral edge right end of the display surface 31 from the input start point T 1, generates a horizontal line L 2 extending parallel to the X axis To do. The character recognition unit 65, as shown in FIG. 8A (b), to a position where the horizontal line L 2 does not overlap with the characters in the modified edit range R, to move the horizontal line L 2 in the Y-axis direction upper side. As a result, the horizontal line L 2 is a line extending in parallel with the X axis from the point T 3 to the right edge of the peripheral edge of the display surface 31.

次に、ステップs4−2では、文字認識部65は、図8A(c)に示すように、修飾編集範囲R内のいずれかの文字と点接触するまで水平線Lを点Tを中心に回転させて、文字認識基準線Lを生成する。次に、ステップs4−3では、文字認識部65は、図8B(d)に示すように、点Tを通り、文字認識基準線Lに垂直な垂線Lを生成する。 Next, in step s4-2, the character recognition unit 65, as shown in FIG. 8A (c), about the point T 3 horizontal lines L 2 until it contacts one of the characters and the point within the modified edit range R It is rotated to generate a character recognition reference line L 3. Next, at step S4-3, the character recognition unit 65, as shown in FIG. 8B (d), through the point T 3, to produce a line perpendicular L 4 in the character recognition reference line L 3.

次に、ステップs4−4では、文字認識部65は、図8B(e)に示すように、垂線Lを、その傾きが変化しないように表示面31の周縁右端部に向けて平行移動させながら、垂線Lと文字との交点Aの数を算出する。次に、ステップs4−5では、文字認識部65は、垂線Lと文字との交点Aの数に基づいてヒストグラムを作成し、そのヒストグラムを2値化する。 Next, at step S4-4, the character recognition unit 65, as shown in FIG. 8B (e), the vertical line L 4, is translated toward the peripheral right end of the display surface 31 so that the inclination does not change while, calculates the number of intersections a 1 of the perpendicular L 4 and characters. Next, at step S4-5, the character recognition unit 65 creates a histogram based on the number of intersections A 1 of the perpendicular L 4 and character binarizes the histogram.

次に、ステップs4−6では、文字認識部65は、図8B(f)に示すように、2値化の結果に基づいて、修飾編集範囲R内における文書画像を1文字ごとに分離する。   Next, in step s4-6, the character recognizing unit 65 separates the document image in the modified editing range R for each character based on the binarization result as shown in FIG. 8B (f).

そして、ステップs4−7では、文字認識部65は、図8C(g)に示すように、分離した文字に対して文字認識を実施し、各文字の軌跡を表す座標データを取得するとともに、認識した文字の情報を取得する。具体的には、文字認識部65は、図8C(h)に示すように、分離した各文字に対応する比較用の標準的な文字サンプルを、文字サンプル情報記憶部78から読出して、その文字サンプルと分離した各文字とを比較することで、認識文字の情報を取得する。まず、文字認識部65は、分離した各文字に対して、文字サンプルを回転させながらマッチングさせ、最もマッチした文字サンプルのX軸に対する傾斜角度を、分離した各文字の傾き「Ri」として算出する。次に、文字認識部65は、分離した各文字に対して、文字サンプルの大きさを変化させ、最もマッチした文字サンプルのサイズを、分離した各文字のサイズデータ(幅サイズWi、高さサイズHi)として算出する。   In step s4-7, as shown in FIG. 8C (g), the character recognition unit 65 performs character recognition on the separated characters, acquires coordinate data representing the trajectory of each character, and recognizes it. Get information about the characters that were created. Specifically, as shown in FIG. 8C (h), the character recognizing unit 65 reads a standard character sample for comparison corresponding to each separated character from the character sample information storage unit 78, and reads the character. Recognize recognized character information by comparing the sample and each separated character. First, the character recognition unit 65 matches each separated character while rotating the character sample, and calculates the inclination angle of the most matched character sample with respect to the X axis as the inclination “Ri” of each separated character. . Next, the character recognizing unit 65 changes the size of the character sample for each separated character, and sets the size of the character sample most matched to the size data (width size Wi, height size) of each separated character. Calculated as Hi).

このようにして算出した文字の傾き「Ri」、文字のサイズデータを用いて、文字認識部65は、分離した各文字の外接矩形を設定し、その外接矩形の座標データを取得する。文字認識部65は、外接矩形の座標データとして、外接矩形の4つの頂点、すなわち、上辺のX軸左端部側の頂点PU1、上辺のX軸右端部側の頂点PU2、下辺のX軸左端部側の頂点PL1、下辺のX軸右端部側の頂点PL2の座標データを取得する。 Using the calculated character inclination “Ri” and character size data, the character recognition unit 65 sets a circumscribed rectangle of each separated character, and acquires coordinate data of the circumscribed rectangle. The character recognition unit 65 uses, as coordinate data of the circumscribed rectangle, four vertices of the circumscribed rectangle, that is, an apex P U1 on the X axis left end side of the upper side, an apex P U2 on the right end side of the X axis on the upper side, and an X axis on the lower side The coordinate data of the apex P L1 on the left end side and the apex P L2 on the X axis right end side on the lower side is acquired.

なお、文字認識部65が取得した文字の傾き「Ri」、文字のサイズデータ、および外接矩形の座標データなどの認識文字の情報は、認識文字情報記憶部72に記憶される。   The recognized character information such as the character inclination “Ri”, the character size data, and the circumscribed rectangle coordinate data acquired by the character recognition unit 65 is stored in the recognized character information storage unit 72.

図2に戻って、ステップs4において文字認識処理が終了すると、ステップs5に進む。ステップs5では、認識文字数記憶部73は、文字認識部65が認識した文字の数を記憶する。たとえば、文字認識部65が「強調したい文字をマーク」という文書画像データから、1文字ごとに文字を認識した場合には、「強」、「調」、「し」、「た」、「い」、「文」、「字」、「を」、「マ」、「ー」、および「ク」の合計11個の文字が認識されるので、認識文字数記憶部73には、認識文字数として「11」が記憶される。   Returning to FIG. 2, when the character recognition process ends in step s4, the process proceeds to step s5. In step s5, the recognized character number storage unit 73 stores the number of characters recognized by the character recognition unit 65. For example, when the character recognition unit 65 recognizes a character for each character from the document image data “mark the character to be emphasized”, “strong”, “tone”, “shi”, “ta”, “i” ”,“ Sentence ”,“ Character ”,“ O ”,“ Ma ”,“-”, and“ K ”, a total of 11 characters are recognized. 11 "is stored.

次に、ステップs6では、表示装置1は、文字抽出処理を行う。図9は、表示装置1における文字抽出処理の動作を示すフローチャートである。図10は、表示装置1における文字抽出処理の動作を説明するための図である。文字抽出部66は、文字認識部65が認識した文字列を構成する文字から任意の文字を抽出する。   Next, in step s6, the display device 1 performs a character extraction process. FIG. 9 is a flowchart showing the operation of the character extraction process in the display device 1. FIG. 10 is a diagram for explaining the operation of the character extraction process in the display device 1. The character extraction unit 66 extracts an arbitrary character from the characters constituting the character string recognized by the character recognition unit 65.

まず、ステップs6−1では、文字抽出部66は、図10に示すように、文字認識部65が認識した文字のうち、入力線分Lの入力開始点Tに最も近接する第1端部文字Cを抽出する。図10では、第1端部文字Cは、「強」である。 First, in step S6-1, the character extraction unit 66, as shown in FIG. 10, in the character of the character recognition unit 65 recognizes, first end which is closest to the input start point T 1 of the input line segment L 1 extracting a part character C 1. In Figure 10, the first end character C 1 is "strong".

次に、ステップs6−2では、文字抽出部66は、文字認識部65が認識した文字のうち、入力線分Lの入力終了点Tに最も近接する第2端部文字Cを抽出する。図10では、第2端部文字Cは、「ク」である。 Next, in step s6-2, the character extraction unit 66, in the character the character recognition unit 65 recognizes, the second end character C n closest to the input end point T 2 of the input line segment L 1 extract To do. In FIG. 10, the second end character C n is “ku”.

次に、ステップs6−3では、文字抽出部66は、認識文字数記憶部73から認識文字数の情報を読出し、認識文字数「n」が予め定める文字数「N」以下であるか否かを判定する。文字抽出部66が文字数「N」以下であると判定した場合にはステップs6−4に進み、文字数「N」を超えると判定した場合にはステップs6−5に進む。   Next, in step s6-3, the character extraction unit 66 reads information on the number of recognized characters from the recognized number-of-characters storage unit 73, and determines whether or not the number of recognized characters “n” is equal to or less than a predetermined number of characters “N”. If the character extraction unit 66 determines that the number of characters is “N” or less, the process proceeds to step s6-4, and if it is determined that the number of characters exceeds “N”, the process proceeds to step s6-5.

ステップs6−4では、文字抽出部66は、文字認識結果の2文字目から(n−1)文字目までを中間文字Cとして抽出する。 In step S6-4, the character extraction unit 66 extracts from the second character of the character recognition result to (n-1) th character as an intermediate character C S.

ステップs6−5では、文字抽出部66は、文字認識結果の2文字目から(n−1)文字目までの文字のうち、間の文字数が等間隔となるように、(N−2)個の文字を中間文字Csとして抽出する。たとえば、「強」、「調」、「し」、「た」、「い」、「文」、「字」、「を」、「マ」、「ー」、および「ク」の合計11個(認識文字数n=11)の文字が配列され、予め定める文字数「N」が「3」である場合、中間文字Csの文字数は、(N−2)=1個であり、その中間文字Cとして「文」が抽出される。中間文字Cである「文」は、2文字目の「調」から(n−1)文字目までの「ー」のうち、第1端部文字Cである「強」との間に「調」、「し」、「た」、および「い」の4文字が配置され、第2端部文字Cである「ク」との間に「字」、「を」、「マ」、および「ー」の4文字が配置されている。 In step s6-5, the character extraction unit 66 selects (N−2) characters so that the number of characters between the second character to the (n−1) th character in the character recognition result is equal. Are extracted as intermediate characters Cs. For example, a total of 11 “strong”, “tone”, “shi”, “ta”, “i”, “sentence”, “character”, “wo”, “ma”, “-”, and “ku” When (recognized character number n = 11) characters are arranged and the predetermined character number “N” is “3”, the number of intermediate characters Cs is (N−2) = 1, and the intermediate character C S "Sentence" is extracted as An intermediate character C S "statement" is the second character from the "tone" (n-1) of the up character of the "over", between the first is an end character C 1 "strong" Four characters “tone”, “shi”, “ta”, and “i” are arranged, and “letter”, “o”, “ma” are placed between the second end character C n “ku”. , And “−” are arranged.

また、認識文字数「n」が「10」であり、文字数「N」が「3」である場合、文字抽出部66は、(N−2)=1個の中間文字Cとして、たとえば5文字目の文字を抽出する。この場合には、第1端部文字Cと中間文字Cとの間には3文字、第2端部文字Cと中間文字Cとの間には4文字が配置されているが、このような場合においても、間の文字数が等間隔であると見なす。 Further, a recognition number "n" is "10", if the number of characters "N" is "3", the character extraction unit 66, (N-2) = as one intermediate character C S, for example 5 characters Extract eye characters. In this case, three characters are arranged between the first end character C 1 and the intermediate character C S, and four characters are arranged between the second end character C n and the intermediate character C S. Even in such a case, it is considered that the number of characters between them is equal.

また、文字抽出部66は、抽出した第1端部文字C、第2端部文字C、および中間文字Cの、文字の傾き「Ri」、文字のサイズデータ(幅サイズWi、高さサイズHi)、および外接矩形の座標データなどの抽出文字の情報を取得する。 In addition, the character extracting unit 66 extracts the character inclination data “Ri”, character size data (width size Wi, high character) of the extracted first end character C 1 , second end character C n , and intermediate character C S. Information of the extracted character such as the size size Hi) and the coordinate data of the circumscribed rectangle.

なお、文字抽出部66が取得した文字の傾き「Ri」、文字のサイズデータ、および外接矩形の座標データなどの抽出文字の情報は、抽出文字情報記憶部74に記憶される。   The extracted character information such as the character inclination “Ri”, the character size data, and the circumscribed rectangle coordinate data acquired by the character extraction unit 66 is stored in the extracted character information storage unit 74.

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

図11は、表示装置1における接線線分生成処理の動作を示すフローチャートである。図12は、表示装置1における接線線分生成処理の動作を説明するための図である。文字接線生成部67は、文字抽出部66が抽出した各文字に対する2つの接線線分である第1接線線分Sおよび第2接線線分Sを文字ごとに生成する。 FIG. 11 is a flowchart showing the operation of the tangent line segment generation process in the display device 1. FIG. 12 is a diagram for explaining the operation of the tangent line generation processing in the display device 1. The character tangent line generation unit 67 generates, for each character, a first tangent line segment S 1 and a second tangent line segment S 2 that are two tangent line segments for each character extracted by the character extraction unit 66.

まず、ステップs7−1では、文字接線生成部67は、抽出文字情報記憶部74から抽出文字の情報を読出す。   First, in step s <b> 7-1, the character tangent line generation unit 67 reads extracted character information from the extracted character information storage unit 74.

次に、ステップs7−2では、文字接線生成部67は、図12に示すように、文字抽出部66が抽出した各文字の外接矩形における、文字列の文字配列方向(X軸方向)に延びる上辺を含む第1接線線分Sを文字ごとに生成する。本実施形態では、文字接線生成部67は、外接矩形の上辺のX軸左端部側の頂点PU1から、上辺のX軸右端部側の頂点PU2まで延びる線分を、第1接線線分Sとして生成する。この第1接線線分Sは、線分の長さが文字の幅サイズWiに対応する長さであり、傾きが文字の傾きRiに対応する。 Next, in step s7-2, the character tangent generation unit 67 extends in the character arrangement direction (X-axis direction) of the character string in the circumscribed rectangle of each character extracted by the character extraction unit 66, as shown in FIG. the first tangent line segment S 1 containing the upper side generates for every character. In the present embodiment, the character tangent line generating unit 67 converts a line segment extending from the vertex P U1 on the X axis left end side of the upper side of the circumscribed rectangle to the vertex P U2 on the X axis right end side of the upper side as a first tangent line segment. generated as S 1. The first tangent line segment S 1 is the length of the line segment is a length corresponding to the width size Wi character, the inclination corresponds to the inclination Ri character.

次に、ステップs7−3では、文字接線生成部67は、文字抽出部66が抽出した各文字の外接矩形における、文字列の文字配列方向(X軸方向)に延びる下辺を含む第2接線線分Sを文字ごとに生成する。本実施形態では、文字接線生成部67は、外接矩形の下辺のX軸左端部側の頂点PL1から、下辺のX軸右端部側の頂点PL2まで延びる線分を、第2接線線分Sとして生成する。この第2接線線分Sは、線分の長さが文字の幅サイズWiに対応する長さであり、傾きが文字の傾きRiに対応する。 Next, in step s7-3, the character tangent generation unit 67 includes a second tangent line including a lower side extending in the character arrangement direction (X-axis direction) of the character string in the circumscribed rectangle of each character extracted by the character extraction unit 66. to generate a minute S 2 on a character-by-character basis. In the present embodiment, the character tangent generation unit 67, from the apex P L1 in the X-axis left end side of the circumscribed rectangle of the lower side, a line segment extending to the apex P L2 of the X-axis right end portion side of the lower, second tangent line segments to generate as S 2. The second tangent line segment S 2, the length of the line segment is a length corresponding to the width size Wi character, the inclination corresponds to the inclination Ri character.

文字接線生成部67は、上記のように生成した第1接線線分Sの両端点SU1,SU2の座標データを取得する。端点SU1は頂点PU1に対応し、端点SU2は頂点PU2に対応する。また、文字接線生成部67は、第2接線線分Sの両端点SL1,SL2の座標データを取得する。端点SL1は頂点PL1に対応し、端点SL2は頂点PL2に対応する。 The character tangent generation unit 67 acquires the coordinate data of both end points S U1 and S U2 of the first tangent line segment S 1 generated as described above. The end point S U1 corresponds to the vertex P U1 , and the end point S U2 corresponds to the vertex P U2 . In addition, the character tangent line generation unit 67 acquires coordinate data of both end points S L1 and S L2 of the second tangent line segment S 2 . The end point S L1 corresponds to the vertex P L1 , and the end point S L2 corresponds to the vertex P L2 .

なお、文字接線生成部67が取得した第1接線線分Sの両端点SU1,SU2の座標データ、第2接線線分Sの両端点SL1,SL2の座標データは、近似曲線生成用制御点記憶部76に記憶される。 Note that the coordinate data of both end points S U1 and S U2 of the first tangent line segment S 1 and the coordinate data of both end points S L1 and S L2 of the second tangent line segment S 2 acquired by the character tangent line generation unit 67 are approximate. It is stored in the curve generation control point storage unit 76.

図2に戻って、ステップs7において接線線分生成処理が終了すると、ステップs8に進む。ステップs8では、表示装置1は、近似曲線生成処理を行う。   Returning to FIG. 2, when the tangent line generation process is completed in step s7, the process proceeds to step s8. In step s8, the display device 1 performs an approximate curve generation process.

図13は、表示装置1における近似曲線生成処理の動作を示すフローチャートである。図14は、表示装置1における近似曲線生成処理の動作を説明するための図である。近似曲線生成部68は、第1曲線Bと、第2曲線Bとを生成する。 FIG. 13 is a flowchart showing the operation of the approximate curve generation process in the display device 1. FIG. 14 is a diagram for explaining the operation of the approximate curve generation process in the display device 1. The approximate curve generation unit 68 generates a first curve B U and a second curve B L.

まず、ステップs8−1では、近似曲線生成部68は、近似曲線生成用制御点記憶部76から、文字抽出部66が抽出した各文字に対応して、第1接線線分Sの両端点SU1,SU2の座標データ、第2接線線分Sの両端点SL1,SL2の座標データを読出す。 First, in step S8-1, the approximate curve generating section 68, from the approximate curve generating control point storage unit 76, corresponding to each character the character extraction unit 66 has extracted, end points of the first tangent line segment S 1 The coordinate data of S U1 and S U2 and the coordinate data of both end points S L1 and S L2 of the second tangent line segment S 2 are read out.

次に、ステップs8−2では、近似曲線生成部68は、図14に示すように、文字抽出部66が抽出した各文字に対応する、文字ごとのそれぞれの第1接線線分Sの両端点SU1,SU2を通る近似曲線(ベジェ曲線)を、第1曲線Bとして生成する。 Next, at step S8-2, the approximate curve generating section 68, as shown in FIG. 14, corresponding to each character the character extraction unit 66 has extracted, each of the first tangential ends of the line segments S 1 of each character An approximate curve (Bézier curve) passing through the points S U1 and S U2 is generated as the first curve B U.

そして、ステップs8−3では、近似曲線生成部68は、文字抽出部66が抽出した各文字に対応する、文字ごとのそれぞれの第2接線線分Sの両端点SL1,SL2を通る近似曲線(ベジェ曲線)を、第2曲線Bとして生成する。 Then, in step S8-3, the approximate curve generating section 68 corresponds to each character the character extraction unit 66 has extracted, through the end points S L1, S L2 of each second tangent line segments per character S 2 An approximate curve (Bézier curve) is generated as the second curve BL .

図2に戻って、ステップs8において近似曲線生成処理が終了すると、ステップs9に進む。ステップs9では、表示装置1は、帯状領域生成処理を行う。   Returning to FIG. 2, when the approximate curve generation process is completed in step s8, the process proceeds to step s9. In step s9, the display device 1 performs a band-shaped region generation process.

図15は、表示装置1における帯状領域生成処理の動作を示すフローチャートである。図16は、表示装置1における帯状領域生成処理の動作を説明するための図である。帯状領域生成部69は、近似曲線生成部68が生成した第1曲線Bと第2曲線Bとの間で幅が規定され、文書画像を透過する帯状領域を生成する。 FIG. 15 is a flowchart showing the operation of the band-shaped area generation process in the display device 1. FIG. 16 is a diagram for explaining the operation of the band-shaped area generation process in the display device 1. The band-shaped area generation unit 69 generates a band-shaped area that has a width defined between the first curve BU and the second curve BL generated by the approximate curve generation unit 68 and transmits the document image.

まず、ステップs9−1では、帯状領域生成部69は、図16(a)に示すように、第1接線線分Sの端点SU1と、第2接線線分Sの端点SL1とを結ぶ直線Lを生成する。次に、ステップs9−2では、帯状領域生成部69は、第1接線線分Sの端点SU2と、第2接線線分Sの端点SL2とを結ぶ直線Lを生成する。 First, in step S9-1, the strip area generation unit 69, as shown in FIG. 16 (a), a first tangent line segment S 1 of the end point S U1, a second end point S L1 tangent line S 2 generating a straight line L 5 connecting. Next, at step S9-2, the strip area generator 69 generates a first tangent line segment S 1 of the end point S U2, a line L 6 connecting the end points S L2 of the second tangent line segment S 2.

そして、ステップs9−3では、帯状領域生成部69は、図16(b)に示すように、第1曲線Bと、第2曲線Bと、直線Lと、直線Lとで囲まれた領域を、帯状領域Oとして生成し、生成した帯状領域O内を文書画像を透過するような色、透明度で表示パネル3に表示させる。この帯状領域Oは、文書画像を透過するような色、透明度で塗り潰された領域である。 Then, in step S9-3, the strip area generation unit 69, as shown in FIG. 16 (b), surrounded by a first curve B U, a second curve B L, the straight line L 5, the straight line L 6 the region was generated as a band-like region O L, color like the generated strip-shaped region O L transmits document images on the display panel 3 in transparency. The band region O L, the color so as to transmit the document image, a region filled with transparency.

以上のように、本実施形態の表示装置1では、近似曲線生成部68が生成する第1曲線Bおよび第2曲線Bは、タッチパネル2に手書き入力された入力線分Lと重なった文字列を構成する文字のうち、第1端部文字Cおよび第2端部文字Cを含む任意の複数の文字に接して、文字配列方向に沿って延びる曲線となる。そして、帯状領域生成部69は、上記のような第1曲線Bと第2曲線Bとの間で幅が規定される帯状領域Oを生成し、生成した帯状領域O内を文書画像を透過するような色、透明度で表示パネル3に表示させる。これによって、表示パネル3に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる。 As described above, in the display device 1 of the present embodiment, the first curve B U and the second curve B L generated by the approximate curve generating unit 68, overlapped with the input line L 1 which is handwritten on the touch panel 2 of the characters constituting the character string, the curve in contact with any of a plurality of characters including a first end character C 1 and the second end letter C n, extending along the character array direction. Then, the strip area generator 69 generates a band-like region O L which width is defined between the first curve B U and the second curve B L as described above, document the generated strip-shaped region O L The image is displayed on the display panel 3 with a color and transparency that can transmit the image. As a result, in the document image displayed on the display panel 3, the character strings arranged in a curved line can be modified and edited as if they were overwritten with the highlighter.

また本発明のさらに他の実施の形態として、コンピュータを前述した表示装置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(登録商標)(Electrically 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 an 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 Document image data acquisition part 61 Coordinate data acquisition part 62 Trajectory display instruction part 63 Input line segment recognition part 64 Modified edit range setting part 65 Character recognition part 66 Character extraction part 67 Character tangent line generation part 68 Approximate curve generator 69 Band-shaped area generator

Claims (5)

文書画像を表す画像データを取得する文書画像データ取得部と、
前記文書画像データ取得部が取得した文書画像を表す画像データに基づいて、文書画像を表示する表示部と、
前記表示部の表面上に積層されて、前記表示部と一体的に形成され、手書き入力によって指示された点の位置を表す座標データを出力する入力部と、
前記入力部から出力される手書き入力の軌跡に対応する座標データに基づいて、前記表示部に表示された文書画像と重なるように手書き入力された入力線分を認識し、入力線分の両端点の座標データを取得する入力線分認識部と、
前記入力線分の両端点の座標データに基づいて、前記入力線分と重なった文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識し、1文字ごとの文字の軌跡を表す座標データを取得する文字認識部と、
前記文字認識部が取得した1文字ごとの座標データに基づいて、前記文字認識部が認識した文字列を構成する文字のうち、前記入力線分の両端点のそれぞれに最も近接する2つの文字である第1端部文字および第2端部文字を含む任意の文字を抽出し、抽出した各文字の外接矩形を設定し、その外接矩形の座標データを取得する文字抽出部と、
前記文字抽出部が抽出した各文字の外接矩形における前記文字列の文字配列方向に延びる2辺のそれぞれを含む、各文字に対する2つの接線線分である第1接線線分および第2接線線分を、文字ごとに生成する文字接線生成部と、
前記文字接線生成部が生成した文字ごとのそれぞれの第1接線線分上の任意の点を通るように曲線近似された第1曲線と、文字ごとのそれぞれの第2接線線分上の任意の点を通るように曲線近似された第2曲線とを生成する近似曲線生成部と、
前記近似曲線生成部が生成した前記第1曲線と前記第2曲線との間で規定される幅を有する帯状領域を生成し、生成した帯状領域内を前記文書画像を透過するような色で前記表示部に表示させる帯状領域生成部と、を備えることを特徴とする表示装置。
A document image data acquisition unit for acquiring image data representing a document image;
A display unit for displaying a document image based on image data representing the document image acquired by the document image data acquisition unit;
An input unit that is laminated on the surface of the display unit, is formed integrally with the display unit, and outputs coordinate data representing a position of a point designated by handwriting;
Based on the coordinate data corresponding to the locus of handwriting input output from the input unit, the input line segment input by handwriting so as to overlap the document image displayed on the display unit is recognized, and both end points of the input line segment An input line segment recognition unit for acquiring the coordinate data of
Based on the coordinate data of both end points of the input line segment, a character area is extracted from a document image overlapping the input line segment, a character string included in the extracted character area is recognized, and a character trajectory for each character A character recognition unit for obtaining coordinate data representing
Based on the coordinate data for each character acquired by the character recognition unit, two characters that are closest to each of both end points of the input line segment among characters constituting the character string recognized by the character recognition unit A character extraction unit that extracts arbitrary characters including a first end character and a second end character, sets a circumscribed rectangle of each extracted character, and obtains coordinate data of the circumscribed rectangle;
A first tangent line segment and a second tangent line segment that are two tangent line segments for each character, each including two sides extending in the character array direction of the character string in the circumscribed rectangle of each character extracted by the character extraction unit. A character tangent generator for generating each character,
A first curve that is approximated by a curve so as to pass through an arbitrary point on each first tangent line segment for each character generated by the character tangent line generation unit, and an arbitrary one on each second tangent line segment for each character An approximate curve generation unit that generates a second curve that is approximated to pass through a point;
A band-shaped area having a width defined between the first curve and the second curve generated by the approximate curve generation unit is generated, and the generated band-shaped area is transmitted in a color that transmits the document image. A display device comprising: a band-shaped region generating unit to be displayed on the display unit.
前記文書画像データ取得部は、前記入力部に対する手書き入力の軌跡に対応する座標データに基づいて、文書画像を表す画像データを取得することを特徴とする請求項1に記載の表示装置。   The display device according to claim 1, wherein the document image data acquisition unit acquires image data representing a document image based on coordinate data corresponding to a locus of handwriting input to the input unit. 前記近似曲線生成部は、前記文字接線生成部が生成した文字ごとのそれぞれの第1接線線分の両端点を通る近似曲線を前記第1曲線として生成し、文字ごとのそれぞれの第2接線線分の両端点を通る近似曲線を前記第2曲線として生成することを特徴とする請求項1または2に記載の表示装置。   The approximate curve generation unit generates an approximate curve that passes through both end points of each first tangent line for each character generated by the character tangent line generation unit as the first curve, and each second tangent line for each character. The display device according to claim 1, wherein an approximate curve passing through both end points of the minute is generated as the second curve. 前記帯状領域生成部は、前記第1端部文字に対応する前記第1接線線分と前記第2接線線分との外方側端点を通る直線、前記第2端部文字に対応する前記第1接線線分と前記第2接線線分との外方側端点を通る直線、前記第1曲線、および前記第2曲線で囲まれた領域を、帯状領域として生成することを特徴とする請求項1〜3のいずれか1つに記載の表示装置。   The band-shaped region generation unit is configured to correspond to the second end character corresponding to the straight line passing through the outer end point of the first tangent line segment and the second tangent line segment corresponding to the first end character. The straight line passing through the outer side end point of the 1 tangent line segment and the second tangent line segment, the area surrounded by the first curve, and the second curve are generated as a band-shaped area. The display device according to any one of 1 to 3. 入力部および表示部を備えるコンピュータを、請求項1〜4のいずれか1つに記載の表示装置として機能させることを特徴とする表示プログラム。   A display program for causing a computer including an input unit and a display unit to function as the display device according to claim 1.
JP2011114220A 2011-05-20 2011-05-20 Display device and display program Active JP5703125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011114220A JP5703125B2 (en) 2011-05-20 2011-05-20 Display device and display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011114220A JP5703125B2 (en) 2011-05-20 2011-05-20 Display device and display program

Publications (2)

Publication Number Publication Date
JP2012243167A JP2012243167A (en) 2012-12-10
JP5703125B2 true JP5703125B2 (en) 2015-04-15

Family

ID=47464785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011114220A Active JP5703125B2 (en) 2011-05-20 2011-05-20 Display device and display program

Country Status (1)

Country Link
JP (1) JP5703125B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101490009B1 (en) * 2013-01-23 2015-02-04 박재현 Apparatus and method for changing color of letters which are displayed in display device
JP6318794B2 (en) * 2014-04-08 2018-05-09 富士通株式会社 Information processing apparatus and information processing program
JP6170241B2 (en) * 2014-04-22 2017-07-26 シャープ株式会社 Character identification device and control program
WO2017138076A1 (en) * 2016-02-08 2017-08-17 三菱電機株式会社 Input display control device, input display control method, and input display system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040119762A1 (en) * 2002-12-24 2004-06-24 Fuji Xerox Co., Ltd. Systems and methods for freeform pasting
JP5123588B2 (en) * 2007-07-17 2013-01-23 キヤノン株式会社 Display control apparatus and display control method
JP2010039572A (en) * 2008-07-31 2010-02-18 Sky Co Ltd Character decoration system and character decoration program

Also Published As

Publication number Publication date
JP2012243167A (en) 2012-12-10

Similar Documents

Publication Publication Date Title
JP4742132B2 (en) Input device, image processing program, and computer-readable recording medium
JP6189451B2 (en) Electronic device and method for processing handwritten document information
JP2013246633A (en) Electronic apparatus, handwriting document creation method, and handwriting document creation program
KR20180095840A (en) Apparatus and method for writing notes by gestures
JP6430197B2 (en) Electronic apparatus and method
WO2014147716A1 (en) Electronic device and handwritten document processing method
US10996843B2 (en) System and method for selecting graphical objects
JP5703125B2 (en) Display device and display program
JP5849778B2 (en) Handwriting input device and program
US20130300676A1 (en) Electronic device, and handwritten document display method
JPWO2014147722A1 (en) Electronic device, method and program
US20130073952A1 (en) Methods and Apparatus for Comic Creation
JP2013171309A (en) Character segmentation method, and character recognition device and program using the same
JP6036163B2 (en) Information processing apparatus and program
WO2014192156A1 (en) Electronic device and processing method
JP5597441B2 (en) Handwritten character input device
JP5912423B2 (en) Display device and display program
JP5883696B2 (en) Display device and display program
JPH06332611A (en) Handwriting input device
JP4148867B2 (en) Handwriting processor
JP5779422B2 (en) Display system and display program
JP3113747B2 (en) Character recognition device and character recognition method
JP5683411B2 (en) Display device and display program
CN111492338A (en) Integrated document editor
JP5361315B2 (en) Information processing apparatus and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150223

R150 Certificate of patent or registration of utility model

Ref document number: 5703125

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150