JP5703125B2 - Display device and display program - Google Patents
Display device and display program Download PDFInfo
- 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
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,
このように、ユーザは、所望する任意の文字列に対応して手書きで線分を入力するだけで、文字列の視認性を損なわず、手書き線分を体裁よく直線線分として表示させることができる。そのため、任意の文字列に対して蛍光ペンで定規を用いて直線を上書きしたように、文字列を修飾編集することができる。 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.
特許文献1に開示の技術は、直線状に配列した任意の文字列に対して、直線線分を付加して修飾するものである。そのため、特許文献1に開示の技術では、タッチパネルに対して手書き入力された軌跡に基づく文書画像を表す画像データや、PDF形式のデータファイル等の電子文書ファイルに基づく文書画像を表す画像データなどに含まれる、直線状に配列されていない文字列に対しては、蛍光ペンで上書きしたように修飾編集することができない。
The technique disclosed in
したがって本発明の目的は、表示部に表示された文書画像を表す画像データにおいて、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる表示装置および表示プログラムを提供することである。 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は、本発明の実施の一形態に係る表示装置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
本実施形態の表示装置1では、タッチパネル2は、直交座標が設定された入力面を有し、表示パネル3の表面上に積層されて、表示パネル3と一体的に形成されている。このタッチパネル2は、入力面に対する入力操作によって手書き入力され、入力された座標点を表わす座標データを出力する。タッチパネルデータ処理部4は、タッチパネルドライバによって実現され、表示データ処理部5は、表示ドライバによって実現される。
In the
上記以外の入力方式として赤外線を遮る赤外線遮断方式、静電容量結合方式、電磁誘導方式、カメラ方式等のタブレットを用いることも可能である。 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
文書画像データ取得部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
座標データ取得部61は、タッチパネル2から出力される座標データを取得する。軌跡表示指示部62は、タッチパネル2に入力される手書き入力の座標データを表示パネル3に送信し、この座標データに基づいた手書き入力の軌跡を表示パネル3に表示させる。
The coordinate
入力線分認識部63は、タッチパネル2から出力される手書き入力の軌跡に対応する座標データに基づいて、表示パネル3に表示された文書画像と重なるように手書き入力された入力線分を認識し、入力線分の両端点の座標データを取得する。入力線分認識部63が認識する入力線分は、ユーザのタッチパネル2の入力面に対する入力操作によって設定される。
The input line
修飾編集範囲設定部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
文字認識部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
文字抽出部66は、文字認識部65が取得した1文字ごとの座標データに基づいて、文字認識部65が認識した文字列を構成する文字のうち、入力線分の両端点のそれぞれに最も近接する第1端部文字および第2端部文字を含む任意の文字を抽出し、抽出した各文字の外接矩形を設定し、その外接矩形の座標データを取得する。また、文字抽出部66は、抽出した各文字の傾き、各文字のサイズデータを取得する。
The
文字接線生成部67は、文字抽出部66が抽出した各文字に対する2つの接線線分である第1接線線分および第2接線線分を文字ごとに生成する。この第1接線線分および第2接線線分は、各文字の外接矩形における、文字列の文字配列方向に延びる2辺のそれぞれを含む線分である。
The character tangent
近似曲線生成部68は、文字接線生成部67が生成した文字ごとのそれぞれの第1接線線分上の任意の点(制御点)を通るように曲線近似された第1曲線と、文字ごとのそれぞれの第2接線線分上の任意の点(制御点)を通るように曲線近似された第2曲線とを生成する。
The approximate
帯状領域生成部69は、近似曲線生成部68が生成した第1曲線と第2曲線との間で規定される幅を有する帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示パネル3に表示させる。
The band-shaped
本実施形態の表示装置1では、近似曲線生成部68が生成する第1曲線および第2曲線は、タッチパネル2に手書き入力された入力線分と重なった文字列を構成する文字のうち、第1端部文字および第2端部文字を含む任意の複数の文字に接して、文字配列方向に沿って延びる曲線となる。そして、帯状領域生成部69は、上記のような第1曲線と第2曲線との間で幅が規定される帯状領域を生成し、生成した帯状領域内を文書画像を透過するような色、透明度で表示パネル3に表示させる。これによって、表示パネル3に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる。
In the
第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
表示情報記憶部70は、表示パネル3に表示されている表示情報を記憶する。座標データ記憶部71は、タッチパネル2から出力された入力線分の座標データ、および、手書き入力された軌跡に基づく座標データを記憶する。認識文字情報記憶部72は、文字認識部65が取得した認識文字の外接矩形の座標データ、X軸に対する文字傾き、サイズデータなどの認識文字の情報を記憶する。認識文字数記憶部73は、文字認識部65が認識した文字の数を記憶する。抽出文字情報記憶部74は、文字抽出部66が取得した抽出文字の外接矩形の座標データ、X軸に対する文字傾き、サイズデータなどの抽出文字の情報を記憶する。
The display
接線線分情報記憶部75は、文字接線生成部67が生成した、各抽出文字に対応する第1接線線分および第2接線線分の座標データを記憶する。近似曲線生成用制御点記憶部76は、近似曲線生成部68が第1曲線および第2曲線を生成するときに用いる、第1接線線分および第2接線線分上に位置する任意の制御点の座標データを記憶する。標準文字サイズ情報記憶部77は、修飾編集範囲設定部64が修飾編集範囲を設定するときに用いる、予め定める標準文字のサイズ(高さ、幅)に関する情報を記憶する。文字サンプル情報記憶部78は、文字認識部65が文字認識処理を実行するときに用いる、比較用の文字サンプルの形状に関する情報を記憶する。
The tangent line segment
第2記憶手段8は、ソフトウェア記憶部80と、ドライバ記憶部81と、ユーザ設定表示画面記憶部82とを含む。ソフトウェア記憶部80は、表示装置1を動作させるためのソフトウェアを記憶する。ドライバ記憶部81は、タッチパネルデータ処理部4を実現するタッチパネルドライバと、表示データ処理部5を実現する表示ドライバとを記憶する。ユーザ設定表示画面記憶部82は、表示装置1を操作するユーザが設定する、表示パネル3の設定に関する情報を記憶する。
The second storage unit 8 includes a
次に、本実施形態の表示装置1の動作について、図2を用いて説明する。図2は、表示装置1の動作を示すフローチャートである。
Next, the operation of the
ステップ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
次に、ステップs2では、修飾編集を実行する指示を表す指示信号がタッチパネル2を介して入力された後に、タッチパネル2に対する手書き入力の入力操作がなされることで、表示装置1は、入力線分認識処理を行う。
Next, in step s2, after an instruction signal indicating an instruction to execute the modification editing is input via the
図3は、表示装置1における入力線分認識処理の動作を示すフローチャートである。図4は、表示装置1における入力線分認識処理の動作を説明するための図である。
FIG. 3 is a flowchart showing the operation of the input line segment recognition process in the
入力線分認識部63は、図4(a)に示すように、表示パネル3の表示面31に文書画像が表示された状態で、タッチパネル2の入力面21に対する手書き入力の入力操作がなされることで、入力線分認識処理を行う。図4(a)では、表示パネル3の表示面31には、手書き入力された軌跡に基づく「強調したい文字をマーク」という文字列からなる文書画像が表示されている。この「強調したい文字をマーク」という文字列における各文字は、表示面31のX軸左端部側からX軸右端部側に向かうにつれて、Y軸方向下方側に配置されるように、曲線状に配列されている。
As shown in FIG. 4A, the input line
まず、ステップs2−1では、入力線分認識部63は、タッチパネル2の入力面21に対する入力線分L1の手書き入力が開始されたか否かを判定する。入力線分認識部63は、手書き入力の入力開始点T1に対応する座標データがタッチパネル2から出力された場合に、入力線分L1の手書き入力が開始されたと判定する。入力線分認識部63が入力線分L1の手書き入力が開始されたと判定した場合にはステップs2−2に進み、入力線分L1の手書き入力が開始されていないと判定した場合にはステップs2−1を繰返す。なお、タッチパネル2から出力された入力開始点T1に対応する座標データは、座標データ記憶部71に記憶される。
First, in step S2-1, the input
ステップs2−2では、入力線分認識部63は、座標データ記憶部71から入力開始点T1に対応する座標データを取得する。
In step S2-2, the input
次に、ステップs2−3では、入力線分認識部63は、タッチパネル2の入力面21に対する入力線分L1の手書き入力が終了したか否かを判定する。入力線分認識部63は、予め定める時間経過してもタッチパネル2の入力面21に対する入力操作が行われない場合に、入力線分L1の手書き入力が終了したと判定する。入力線分認識部63が入力線分L1の手書き入力が終了したと判定した場合にはステップs2−4に進み、入力線分L1の手書き入力が終了していないと判定した場合にはステップs2−3を繰返す。なお、入力線分L1の手書き入力による軌跡に対応する座標データは、入力終了点T2の座標データも含めて座標データ記憶部71に記憶される。
Next, at step S2-3, the input
ステップs2−4では、入力線分認識部63は、座標データ記憶部71から入力終了点T2に対応する座標データを取得する。
In step S2-4, the input
以上のようにして、入力線分認識部63は、図4(b)に示すように、表示パネル3の表示面31に表示された文書画像と重なるように手書き入力された入力線分L1を認識し、入力線分の両端点である入力開始点T1の座標データ、および入力終了点T2の座標データを取得する。
As described above, the input line
図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
図5は、表示装置1における修飾編集範囲設定処理の動作を示すフローチャートである。図6は、表示装置1における修飾編集範囲設定処理の動作を説明するための図である。修飾編集範囲設定部64は、入力線分認識部63が取得した入力線分L1の両端点(入力開始点T1および入力終了点T2)の座標データに基づいて、表示パネル3の表示面31に表示された文書画像のうち、入力線分L1と重なった修飾編集範囲を設定する。
FIG. 5 is a flowchart showing the operation of the modification editing range setting process in the
まず、ステップs3−1では、修飾編集範囲設定部64は、標準文字サイズ情報記憶部77から標準文字のサイズ情報を読出す。なお、標準文字の幅サイズ(X軸方向のサイズ)を「Sx」とし、高さサイズ(Y軸方向のサイズ)を「Sy」とする。
First, in step s 3-1, the modification edit
次に、ステップs3−2では、修飾編集範囲設定部64は、図6(a)に示すように、入力開始点T1からX軸方向外方側に「Sx/2」、Y軸方向上方側に「Sy/2」だけ移動した位置を第1基準点R1として設定する。次に、ステップs3−3では、修飾編集範囲設定部64は、入力終了点T2からX軸方向外方側に「Sx/2」、Y軸方向下方側に「Sy/2」だけ移動した位置を第2基準点R2として設定する。
Next, at step S3-2, modified editing
そして、ステップs3−4では、修飾編集範囲設定部64は、図6(b)に示すように、第1基準点R1と第2基準点R2とを対角線の頂点とする矩形範囲を、修飾編集範囲Rとして設定し、修飾編集範囲設定処理を終了する。
Then, in step S3-4, modified editing
図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
図7は、表示装置1における文字認識処理の動作を示すフローチャートである。図8A〜図8Cは、表示装置1における文字認識処理の動作を説明するための図である。文字認識部65は、修飾編集範囲設定部64が設定した修飾編集範囲R内における文書画像から文字領域を抽出し、抽出した文字領域に含まれる文字列を認識する。
FIG. 7 is a flowchart showing the operation of character recognition processing in the
まず、ステップs4−1では、文字認識部65は、図8A(a)に示すように、入力開始点T1から表示面31の周縁右端部まで、X軸に平行に延びる水平線L2を生成する。そして、文字認識部65は、図8A(b)に示すように、水平線L2が修飾編集範囲R内の文字と重ならない位置まで、水平線L2をY軸方向上方側に移動させる。これによって、水平線L2は、点T3から表示面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内のいずれかの文字と点接触するまで水平線L2を点T3を中心に回転させて、文字認識基準線L3を生成する。次に、ステップs4−3では、文字認識部65は、図8B(d)に示すように、点T3を通り、文字認識基準線L3に垂直な垂線L4を生成する。 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)に示すように、垂線L4を、その傾きが変化しないように表示面31の周縁右端部に向けて平行移動させながら、垂線L4と文字との交点A1の数を算出する。次に、ステップs4−5では、文字認識部65は、垂線L4と文字との交点A1の数に基づいてヒストグラムを作成し、そのヒストグラムを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
このようにして算出した文字の傾き「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
次に、ステップs6では、表示装置1は、文字抽出処理を行う。図9は、表示装置1における文字抽出処理の動作を示すフローチャートである。図10は、表示装置1における文字抽出処理の動作を説明するための図である。文字抽出部66は、文字認識部65が認識した文字列を構成する文字から任意の文字を抽出する。
Next, in step s6, the
まず、ステップs6−1では、文字抽出部66は、図10に示すように、文字認識部65が認識した文字のうち、入力線分L1の入力開始点T1に最も近接する第1端部文字C1を抽出する。図10では、第1端部文字C1は、「強」である。
First, in step S6-1, the
次に、ステップs6−2では、文字抽出部66は、文字認識部65が認識した文字のうち、入力線分L1の入力終了点T2に最も近接する第2端部文字Cnを抽出する。図10では、第2端部文字Cnは、「ク」である。
Next, in step s6-2, the
次に、ステップs6−3では、文字抽出部66は、認識文字数記憶部73から認識文字数の情報を読出し、認識文字数「n」が予め定める文字数「N」以下であるか否かを判定する。文字抽出部66が文字数「N」以下であると判定した場合にはステップs6−4に進み、文字数「N」を超えると判定した場合にはステップs6−5に進む。
Next, in step s6-3, the
ステップs6−4では、文字抽出部66は、文字認識結果の2文字目から(n−1)文字目までを中間文字CSとして抽出する。
In step S6-4, the
ステップs6−5では、文字抽出部66は、文字認識結果の2文字目から(n−1)文字目までの文字のうち、間の文字数が等間隔となるように、(N−2)個の文字を中間文字Csとして抽出する。たとえば、「強」、「調」、「し」、「た」、「い」、「文」、「字」、「を」、「マ」、「ー」、および「ク」の合計11個(認識文字数n=11)の文字が配列され、予め定める文字数「N」が「3」である場合、中間文字Csの文字数は、(N−2)=1個であり、その中間文字CSとして「文」が抽出される。中間文字CSである「文」は、2文字目の「調」から(n−1)文字目までの「ー」のうち、第1端部文字C1である「強」との間に「調」、「し」、「た」、および「い」の4文字が配置され、第2端部文字Cnである「ク」との間に「字」、「を」、「マ」、および「ー」の4文字が配置されている。
In step s6-5, the
また、認識文字数「n」が「10」であり、文字数「N」が「3」である場合、文字抽出部66は、(N−2)=1個の中間文字CSとして、たとえば5文字目の文字を抽出する。この場合には、第1端部文字C1と中間文字CSとの間には3文字、第2端部文字Cnと中間文字CSとの間には4文字が配置されているが、このような場合においても、間の文字数が等間隔であると見なす。
Further, a recognition number "n" is "10", if the number of characters "N" is "3", the
また、文字抽出部66は、抽出した第1端部文字C1、第2端部文字Cn、および中間文字CSの、文字の傾き「Ri」、文字のサイズデータ(幅サイズWi、高さサイズHi)、および外接矩形の座標データなどの抽出文字の情報を取得する。
In addition, the
なお、文字抽出部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
図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
図11は、表示装置1における接線線分生成処理の動作を示すフローチャートである。図12は、表示装置1における接線線分生成処理の動作を説明するための図である。文字接線生成部67は、文字抽出部66が抽出した各文字に対する2つの接線線分である第1接線線分S1および第2接線線分S2を文字ごとに生成する。
FIG. 11 is a flowchart showing the operation of the tangent line segment generation process in the
まず、ステップs7−1では、文字接線生成部67は、抽出文字情報記憶部74から抽出文字の情報を読出す。
First, in step s <b> 7-1, the character tangent
次に、ステップs7−2では、文字接線生成部67は、図12に示すように、文字抽出部66が抽出した各文字の外接矩形における、文字列の文字配列方向(X軸方向)に延びる上辺を含む第1接線線分S1を文字ごとに生成する。本実施形態では、文字接線生成部67は、外接矩形の上辺のX軸左端部側の頂点PU1から、上辺のX軸右端部側の頂点PU2まで延びる線分を、第1接線線分S1として生成する。この第1接線線分S1は、線分の長さが文字の幅サイズWiに対応する長さであり、傾きが文字の傾きRiに対応する。
Next, in step s7-2, the character
次に、ステップs7−3では、文字接線生成部67は、文字抽出部66が抽出した各文字の外接矩形における、文字列の文字配列方向(X軸方向)に延びる下辺を含む第2接線線分S2を文字ごとに生成する。本実施形態では、文字接線生成部67は、外接矩形の下辺のX軸左端部側の頂点PL1から、下辺のX軸右端部側の頂点PL2まで延びる線分を、第2接線線分S2として生成する。この第2接線線分S2は、線分の長さが文字の幅サイズWiに対応する長さであり、傾きが文字の傾きRiに対応する。
Next, in step s7-3, the character
文字接線生成部67は、上記のように生成した第1接線線分S1の両端点SU1,SU2の座標データを取得する。端点SU1は頂点PU1に対応し、端点SU2は頂点PU2に対応する。また、文字接線生成部67は、第2接線線分S2の両端点SL1,SL2の座標データを取得する。端点SL1は頂点PL1に対応し、端点SL2は頂点PL2に対応する。
The character
なお、文字接線生成部67が取得した第1接線線分S1の両端点SU1,SU2の座標データ、第2接線線分S2の両端点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
図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
図13は、表示装置1における近似曲線生成処理の動作を示すフローチャートである。図14は、表示装置1における近似曲線生成処理の動作を説明するための図である。近似曲線生成部68は、第1曲線BUと、第2曲線BLとを生成する。
FIG. 13 is a flowchart showing the operation of the approximate curve generation process in the
まず、ステップs8−1では、近似曲線生成部68は、近似曲線生成用制御点記憶部76から、文字抽出部66が抽出した各文字に対応して、第1接線線分S1の両端点SU1,SU2の座標データ、第2接線線分S2の両端点SL1,SL2の座標データを読出す。
First, in step S8-1, the approximate
次に、ステップs8−2では、近似曲線生成部68は、図14に示すように、文字抽出部66が抽出した各文字に対応する、文字ごとのそれぞれの第1接線線分S1の両端点SU1,SU2を通る近似曲線(ベジェ曲線)を、第1曲線BUとして生成する。
Next, at step S8-2, the approximate
そして、ステップs8−3では、近似曲線生成部68は、文字抽出部66が抽出した各文字に対応する、文字ごとのそれぞれの第2接線線分S2の両端点SL1,SL2を通る近似曲線(ベジェ曲線)を、第2曲線BLとして生成する。
Then, in step S8-3, the approximate
図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
図15は、表示装置1における帯状領域生成処理の動作を示すフローチャートである。図16は、表示装置1における帯状領域生成処理の動作を説明するための図である。帯状領域生成部69は、近似曲線生成部68が生成した第1曲線BUと第2曲線BLとの間で幅が規定され、文書画像を透過する帯状領域を生成する。
FIG. 15 is a flowchart showing the operation of the band-shaped area generation process in the
まず、ステップs9−1では、帯状領域生成部69は、図16(a)に示すように、第1接線線分S1の端点SU1と、第2接線線分S2の端点SL1とを結ぶ直線L5を生成する。次に、ステップs9−2では、帯状領域生成部69は、第1接線線分S1の端点SU2と、第2接線線分S2の端点SL2とを結ぶ直線L6を生成する。
First, in step S9-1, the strip
そして、ステップs9−3では、帯状領域生成部69は、図16(b)に示すように、第1曲線BUと、第2曲線BLと、直線L5と、直線L6とで囲まれた領域を、帯状領域OLとして生成し、生成した帯状領域OL内を文書画像を透過するような色、透明度で表示パネル3に表示させる。この帯状領域OLは、文書画像を透過するような色、透明度で塗り潰された領域である。
Then, in step S9-3, the strip
以上のように、本実施形態の表示装置1では、近似曲線生成部68が生成する第1曲線BUおよび第2曲線BLは、タッチパネル2に手書き入力された入力線分L1と重なった文字列を構成する文字のうち、第1端部文字C1および第2端部文字Cnを含む任意の複数の文字に接して、文字配列方向に沿って延びる曲線となる。そして、帯状領域生成部69は、上記のような第1曲線BUと第2曲線BLとの間で幅が規定される帯状領域OLを生成し、生成した帯状領域OL内を文書画像を透過するような色、透明度で表示パネル3に表示させる。これによって、表示パネル3に表示された文書画像において、曲線状に配列された文字列に対しても、蛍光ペンで上書きしたように修飾編集することができる。
As described above, in the
また本発明のさらに他の実施の形態として、コンピュータを前述した表示装置1として機能させるために、コンピュータに実行させるための表示プログラム(実行形式プログラム、中間コードプログラムおよびソースプログラムの少なくともいずれか1つ)、およびこの表示プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することも可能である。
As still another embodiment of the present invention, in order to cause a computer to function as the
なお、表示プログラムを記録する記録媒体としては、マイクロコンピュータで処理が行われるために図示していないメモリ、たとえば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
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.
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)
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)
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 |
-
2011
- 2011-05-20 JP JP2011114220A patent/JP5703125B2/en active Active
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 |