JP2011253221A - Handwriting input device, information display device, handwriting input processing method, control program, and recording medium - Google Patents

Handwriting input device, information display device, handwriting input processing method, control program, and recording medium Download PDF

Info

Publication number
JP2011253221A
JP2011253221A JP2010124630A JP2010124630A JP2011253221A JP 2011253221 A JP2011253221 A JP 2011253221A JP 2010124630 A JP2010124630 A JP 2010124630A JP 2010124630 A JP2010124630 A JP 2010124630A JP 2011253221 A JP2011253221 A JP 2011253221A
Authority
JP
Japan
Prior art keywords
unit
character
graphic
color
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010124630A
Other languages
Japanese (ja)
Inventor
Yumiko Yamada
ゆみ子 山田
Yoshito Kataoka
可人 片岡
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 JP2010124630A priority Critical patent/JP2011253221A/en
Publication of JP2011253221A publication Critical patent/JP2011253221A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a handwriting input device in which a user can change a color of a handwritten character or a figure without requiring labor.SOLUTION: A white board system 1 in this invention includes a display 2, a touch panel 3 and an information processor 4. The information processor 4 comprises: a character detecting section 12 that specifies, from a drawn figure handwritten, a group of figures that become a color determination unit, as a unit figure; a character size determination section 13 that determines a size of the unit figure; and a character color determination section 14 that determines a color of the unit figure according to the size of the unit figure.

Description

本発明は、手書き入力された文字等の色を変更(または指定)する手書き入力装置、および情報表示装置に関する。   The present invention relates to a handwriting input device that changes (or designates) the color of a character or the like input by handwriting, and an information display device.

従来から、タッチパネルを備える大型ディスプレイを用いたホワイトボードシステムが利用されている。ホワイトボードシステムは、利用者が指またはタッチペン等によりタッチパネルに触れることにより、利用者による手書きの文字または記号等の図形(描画図形)の入力を受け付け、当該図形をその位置に表示するものである。このようなホワイトボードシステムは、プレゼンテーション、会議、または教育等において、利用者が複数の人に対して情報を提示して説明する場合に有用である。   Conventionally, a whiteboard system using a large display equipped with a touch panel has been used. In the whiteboard system, when a user touches a touch panel with a finger or a touch pen, a user inputs a figure (drawing figure) such as a handwritten character or symbol and displays the figure at the position. . Such a whiteboard system is useful when a user presents and explains information to a plurality of people in a presentation, a meeting, education, or the like.

ホワイトボードシステムに対し、入力する文字等の色を変更する場合、例えば、利用者は文字の入力前にこれから入力する色「赤」を指定し、その後タッチパネルに描画し、ホワイトボードシステムが入力された文字を赤い色で表示するものが従来からある。また、入力した文字を指定し、当該文字の色の指定を文字入力の後に行うものもある。   When changing the color of characters to be input to the whiteboard system, for example, the user designates the color “red” to be input before inputting characters, then draws on the touch panel, and the whiteboard system is input. There is a conventional display of red letters in red. In some cases, the input character is specified, and the color of the character is specified after the character input.

他に、入力された文字または記号等の図形の色を選択する技術として、以下の技術がある。   In addition, there are the following techniques for selecting the color of a figure such as an input character or symbol.

特許文献1には、異なる色に対応した2個の筆記ユニットを有するスタイラスペンを用いて手書き文字を入力させ、入力された文字に、各筆記ユニットに応じた色を対応付ける手書き文字読取装置が開示されている。   Patent Document 1 discloses a handwritten character reading device that inputs handwritten characters using a stylus pen having two writing units corresponding to different colors, and associates the input characters with colors according to each writing unit. Has been.

特許文献2には、手書きで入力された文字・図形の濃淡を、入力時の筆圧に応じて変化させる文字・図形入力装置が開示されている。この文字・図形入力装置は、圧電素子が1画素当たり1個の割合で格子状に配置されたタブレットを用いて、ペンにより手書き入力を行わせる。   Patent Document 2 discloses a character / graphic input device that changes the density of characters / graphics inputted by hand according to the writing pressure at the time of input. This character / graphic input device uses a tablet in which piezoelectric elements are arranged in a grid at a rate of one per pixel, and allows handwriting input with a pen.

特許文献3には、文字の筆跡の入力速度に応じて、入力された手書き文字から認識された文字の文字属性(大きさ、色、太さ、書体)を決定する手書き文字入力装置が開示されている。   Patent Document 3 discloses a handwritten character input device that determines character attributes (size, color, thickness, typeface) of a character recognized from an input handwritten character in accordance with the input speed of a character handwriting. ing.

特開昭61−233881号公報(1986年10月18日公開)JP 61-233881 (released on October 18, 1986) 特開昭61−107419号公報(1986年5月26日公開)JP 61-107419 A (published May 26, 1986) 特開2001−266071号公報(2001年9月28日公開)JP 2001-266071 A (published on September 28, 2001)

しかしながら、文字の入力前または入力後に文字の色を指定する上記構成では、色を変更する場合に色を指定する動作(例えば、タッチパネル上に表示された色選択パレットをタッチする動作)が必要であり、特にホワイトボードシステムが大画面の場合、色の変更に手間が掛かる。   However, in the above configuration in which the color of the character is specified before or after the character is input, an operation for specifying the color (for example, an operation of touching the color selection palette displayed on the touch panel) is required when the color is changed. Yes, especially when the whiteboard system has a large screen, it takes time to change the color.

また、特許文献1に記載の技術でも同様に、指定したい色に応じて使用するスタイラスペンの筆記ユニットを変更するための動作(スタイラスペンの後端のスイッチを押す等の動作)が必要になる。また、色を指定して入力するために専用のペンが必要となり、指等で色を指定して入力することができなくなる。   Similarly, the technique described in Patent Document 1 also requires an operation for changing the writing unit of the stylus pen to be used according to the color to be designated (an operation such as pressing a switch at the rear end of the stylus pen). . In addition, a dedicated pen is required to specify and input a color, and it becomes impossible to specify and input a color with a finger or the like.

また、特許文献2に記載の技術を応用し、筆圧に応じて色を変化させるとしても、筆圧と色との関係が直感的ではないため、利用者が所望の色で文字を入力することが困難になり、使い勝手が悪い。また、筆圧を感知するための特別な機械構成が必要になり、装置が高価になる。   Further, even if the technique described in Patent Document 2 is applied and the color is changed according to the writing pressure, the relationship between the writing pressure and the color is not intuitive, so the user inputs characters in a desired color. It becomes difficult and is not easy to use. In addition, a special mechanical configuration for sensing the writing pressure is required, and the apparatus becomes expensive.

また、特許文献3に記載の技術では、手書き文字の入力速度に応じて色等を変更するが、手書き文字の入力速度は人によって様々であり、所望の色になるように利用者が手書き文字の入力速度を調節するのは困難である。   In the technique described in Patent Document 3, the color or the like is changed according to the input speed of handwritten characters, but the input speed of handwritten characters varies depending on the person, and the user can change the handwritten characters to a desired color. It is difficult to adjust the input speed.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、利用者が手間を掛けずに手書き文字または図形の色を変更することができる手書き入力装置を実現することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to realize a handwriting input device that allows a user to change the color of handwritten characters or figures without taking time and effort. .

本発明に係る手書き入力装置は、上記の課題を解決するために、手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定部と、上記単位図形の大きさを判定するサイズ判定部と、上記単位図形の大きさに応じて上記単位図形の色を決定する色決定部とを備えることを特徴としている。   In order to solve the above-described problem, the handwriting input device according to the present invention specifies a unit graphic specifying unit that specifies a group of figures as units for determining a color from a drawing figure input by handwriting, and the unit A size determination unit that determines the size of the graphic and a color determination unit that determines the color of the unit graphic according to the size of the unit graphic are provided.

本発明に係る手書き入力処理方法は、上記の課題を解決するために、手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定ステップと、上記単位図形の大きさを判定するサイズ判定ステップと、上記単位図形の大きさに応じて上記単位図形の色を決定する色決定ステップとを含むことを特徴としている。   In order to solve the above-mentioned problem, the handwriting input processing method according to the present invention is a unit graphic specifying step for specifying a group of figures, which are units for determining a color, as a unit graphic from a drawing figure input by handwriting, The method includes a size determination step for determining the size of the unit graphic, and a color determination step for determining the color of the unit graphic in accordance with the size of the unit graphic.

ここで、単位図形は、例えば1つの文字であっても、複数の文字からなる文字列であっても、その他の図形であってもよい。   Here, the unit graphic may be, for example, a single character, a character string composed of a plurality of characters, or another graphic.

上記の構成によれば、手書き入力された描画図形から、文字または文字列等を示す単位図形を特定し、単位図形について、単位図形を構成する文字または文字列等の大きさに応じて自動的に色を決定することができる。そのため、利用者は色を選択するための煩わしい操作を行う必要がなく、利用者は手書きする文字等の図形の大きさを変えることにより、当該図形の色を変更(または指定)することができる。   According to the above configuration, a unit graphic indicating a character or a character string or the like is specified from a drawing graphic input by handwriting, and the unit graphic is automatically set according to the size of the character or character string or the like constituting the unit graphic. The color can be determined. Therefore, the user does not need to perform a cumbersome operation for selecting a color, and the user can change (or specify) the color of the graphic by changing the size of the graphic such as a handwritten character. .

なお、サイズ判定部は、単位図形の高さ(縦方向の幅)、横方向の幅、または面積等によって単位図形の大きさを判定することができる。   Note that the size determination unit can determine the size of the unit graphic based on the height (vertical width), the horizontal width, or area of the unit graphic.

また、上記単位図形は、一群の図形からなるサブ単位図形を複数含み、上記単位図形特定部は、手書き入力された描画図形から、一群の図形をサブ単位図形として特定し、複数の上記サブ単位図形からなる図形を上記単位図形として特定し、上記サイズ判定部は、上記サブ単位図形の大きさを判定し、上記単位図形に含まれる上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定する構成であってもよい。   Further, the unit graphic includes a plurality of sub-unit graphics composed of a group of graphics, and the unit graphic identification unit identifies a group of graphics as a sub-unit graphic from a handwritten input drawing graphic, and a plurality of the subunits A figure composed of figures is specified as the unit figure, and the size determination unit determines the size of the sub unit figure, and based on the size of the sub unit figure included in the unit figure, the size of the unit figure The structure which determines the thickness may be sufficient.

ここで、例えば、サブ単位図形は文字を示し、単位図形は複数の文字からなる文字列を示す。   Here, for example, the sub unit graphic indicates a character, and the unit graphic indicates a character string made up of a plurality of characters.

上記の構成によれば、サイズ判定部は、単位図形に含まれるサブ単位図形の大きさに基づき、単位図形の大きさを判定し、色決定部は、判定した大きさに応じて単位図形の色を決定する。よって、単位図形が関連する文字からなる単語等の文字列を示す場合に、該文字列を同じ色にすることができる。そのため、文字列が促音文字等の小さい仮名文字(捨て仮名)またはアルファベットの小文字等を含む場合においても、その小さい文字だけを異なる色にしてしまうという不都合を回避することができる。   According to the above configuration, the size determination unit determines the size of the unit graphic based on the size of the sub-unit graphic included in the unit graphic, and the color determination unit determines the unit graphic according to the determined size. Determine the color. Therefore, when the unit graphic indicates a character string such as a word composed of related characters, the character string can be the same color. Therefore, even when the character string includes a small kana character (abandoned kana) such as a prompt character or a lower case letter of the alphabet, it is possible to avoid the inconvenience that only the small character has a different color.

また、上記サイズ判定部は、上記単位図形に含まれる上記サブ単位図形の内、最初に入力された上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定してもよい。   In addition, the size determination unit may determine the size of the unit graphic based on the size of the sub unit graphic that is input first among the sub unit graphics included in the unit graphic.

上記の構成によれば、単位図形が関連する文字からなる単語等の文字列を示す場合に、先頭の文字の大きさに基づいて文字列の大きさを判定するので、文字列が促音文字等の小さい仮名文字を含む場合においても、その小さい文字だけを異なる色にしてしまうという不都合を回避することができる。   According to the above configuration, when the unit graphic indicates a character string such as a word composed of related characters, the size of the character string is determined based on the size of the first character. Even when a small kana character is included, it is possible to avoid the disadvantage that only the small character has a different color.

また、上記サイズ判定部は、上記単位図形に含まれる上記サブ単位図形の内、最大の上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定してもよい。   The size determination unit may determine the size of the unit graphic based on the maximum size of the sub unit graphic among the sub unit graphics included in the unit graphic.

上記の構成によれば、単位図形が関連する文字からなる単語等の文字列を示す場合に、文字列に含まれる最も大きい文字の大きさに基づいて文字列の大きさを判定する。よって、例えば、文字列の先頭が小さい文字であっても、文字列が大きい文字を含む場合には、文字列を大きい文字に対応した色にすることができる。   According to the above configuration, when the unit graphic indicates a character string such as a word composed of related characters, the size of the character string is determined based on the size of the largest character included in the character string. Therefore, for example, even if a character string starts with a small character, if the character string includes a large character, the character string can have a color corresponding to the large character.

また、上記単位図形特定部は、第1の期間以上手書き入力がない状態が続いた場合に、手書き入力された描画図形を上記サブ単位図形として特定してもよい。   Further, the unit graphic specifying unit may specify the drawing graphic input by handwriting as the sub unit graphic when there is no handwritten input for the first period or longer.

利用者は、文字等を手書き入力する際、1つの文字または1つの単語を手書きする毎に、少し時間を置くことがある。   When a user inputs characters or the like by handwriting, the user may take a little time each time handwriting one character or one word.

上記の構成によれば、第1の期間以上手書き入力がない状態が続いた場合に、手書き入力中の文字等の入力を確定することができる。よって、文字等を示すサブ単位図形を適切に特定し、サブ単位図形の大きさを適切に判定することができる。そのため、サイズ判定部は、サブ単位図形を含む単位図形の大きさを適切に判定することができる。   According to said structure, when the state without handwriting input continues beyond the 1st period, input of the character etc. in handwriting input can be confirmed. Therefore, it is possible to appropriately specify the subunit graphic indicating the character or the like and appropriately determine the size of the subunit graphic. Therefore, the size determination unit can appropriately determine the size of the unit graphic including the sub unit graphic.

また、上記単位図形特定部は、第2の期間以上手書き入力がない状態が続いた場合に、以降に手書き入力される描画図形から特定されるサブ単位図形からなる図形を、新たな単位図形として特定してもよい。   In addition, when the unit graphic specifying unit continues to be in a state where there is no handwriting input for the second period or longer, the unit graphic specifying unit sets, as a new unit graphic, a graphic composed of a sub unit graphic specified from a drawing graphic input thereafter. You may specify.

上記の構成によれば、第2の期間以上手書き入力がない状態が続いた場合に、手書き入力中の関連する文字からなる文字列等の入力を確定することができる。よって、文字列等を示す単位図形を適切に特定することができる。そのため、サイズ判定部は、単位図形の大きさを適切に判定することができる。   According to said structure, when the state without handwriting input continues more than 2nd period, input of the character string etc. which consist of a related character in handwriting input can be confirmed. Therefore, a unit graphic indicating a character string or the like can be specified appropriately. Therefore, the size determination unit can appropriately determine the size of the unit graphic.

また、上記単位図形特定部は、第1の単位図形に含まれる第1のサブ単位図形と、その直後に手書き入力された描画図形から特定された第2のサブ単位図形とが所定の距離以上離れている場合、第2のサブ単位図形を含む図形を第2の単位図形として特定してもよい。   In addition, the unit graphic specifying unit includes a first sub unit graphic included in the first unit graphic and a second sub unit graphic specified from a drawing figure input by handwriting immediately after the predetermined distance. If they are separated from each other, a graphic including the second sub-unit graphic may be specified as the second unit graphic.

続けて手書き入力された2つのサブ単位図形がある程度離れている場合、それらのサブ単位図形が示す2つの文字は、異なる文字列に属するものであると考えられる。   If two sub-unit graphics continuously input by hand are separated from each other to some extent, it is considered that the two characters indicated by the sub-unit graphics belong to different character strings.

上記の構成によれば、手書き入力された文字が属する文字列を適切に特定することができる。すなわち、単位図形特定部は、文字列が含む文字を適切に特定することができるので、色決定部は、文字列の色を適切に決定することができる。   According to said structure, the character string to which the character input by handwriting belongs can be specified appropriately. That is, since the unit graphic specifying unit can appropriately specify the characters included in the character string, the color determining unit can appropriately determine the color of the character string.

また、横方向または縦方向を所定の方向としたとき、上記単位図形特定部は、第1のサブ単位図形の上記所定の方向における幅に応じて閾値を決定し、第1のサブ単位図形と第2のサブ単位図形との上記所定の方向における間隔が、上記閾値以上である場合、第2のサブ単位図形を含む図形を第2の単位図形として特定してもよい。   When the horizontal direction or the vertical direction is a predetermined direction, the unit graphic specifying unit determines a threshold according to the width of the first sub unit graphic in the predetermined direction, and the first sub unit graphic and If the distance from the second sub-unit graphic in the predetermined direction is equal to or greater than the threshold value, the graphic including the second sub-unit graphic may be specified as the second unit graphic.

一般に、大きい文字を手書き入力する場合、文字同士の間隔も大きくなる。   In general, when a large character is input by handwriting, the space between characters also increases.

上記の構成によれば、先に入力された文字等の幅に応じて、先に入力された文字と続けて入力された文字との間隔が大きいか否かを判定することができる。そのため、大きい文字が手書き入力されている場合は文字同士の間隔の閾値も大きく、小さい文字が手書き入力されている場合は文字同士の間隔の閾値も小さく設定することができる。   According to said structure, it can be determined whether the space | interval of the character input previously and the character input continuously is large according to the width | variety of the character etc. input previously. Therefore, when a large character is input by handwriting, the threshold value between the characters can be set large, and when a small character is input by handwriting, the threshold value between the characters can be set small.

また、本発明に係る手書き入力装置は、上記の課題を解決するために、手書き入力された描画図形の大きさに応じて上記描画図形の色を決定する色決定部を備えることを特徴としている。   Moreover, in order to solve the above-mentioned problem, the handwriting input device according to the present invention includes a color determination unit that determines the color of the drawing figure according to the size of the drawing figure input by handwriting. .

本発明に係る情報表示装置は、上記手書き入力装置と、利用者からの手書き入力を受け付ける手書き入力部と、上記単位図形を上記色決定部が決定した色で表示する表示部とを備えることを特徴としている。   An information display device according to the present invention includes the handwriting input device, a handwriting input unit that receives a handwritten input from a user, and a display unit that displays the unit graphic in a color determined by the color determination unit. It is a feature.

上記の構成によれば、利用者が手書き入力した描画図形を、手書き入力された文字または文字列等を示す図形の大きさに応じた色に変更し、表示部に表示させることができる。よって、情報表示装置は、例えば目立たせるために利用者が大きく板書した文字等を、自動的に異なる色に変更して表示することができる。   According to said structure, the drawing figure which the user input by handwriting can be changed into the color according to the magnitude | size of the figure which shows the character or character string etc. which were input by handwriting, and can be displayed on a display part. Therefore, the information display device can automatically change, for example, a character or the like that has been greatly written on the board to make it stand out and display it in a different color.

なお、本発明の手書き入力装置をコンピュータによって実現してもよく、この場合には、コンピュータを上記の各部として機能させる制御プログラム、該制御プログラムを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The handwriting input device of the present invention may be realized by a computer. In this case, a control program that causes the computer to function as each of the above-described units and a computer-readable recording medium that records the control program are also included in the present invention. Enter the category.

本発明に係る手書き入力装置は、手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定部と、上記単位図形の大きさを判定するサイズ判定部と、上記単位図形の大きさに応じて上記単位図形の色を決定する色決定部とを備える。   A handwriting input device according to the present invention includes a unit figure specifying unit that specifies a group of figures as a unit for determining a color from a drawing figure input by handwriting, and a size determination for determining the size of the unit figure. And a color determining unit that determines the color of the unit graphic according to the size of the unit graphic.

本発明に係る手書き入力処理方法は、手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定ステップと、上記単位図形の大きさを判定するサイズ判定ステップと、上記単位図形の大きさに応じて上記単位図形の色を決定する色決定ステップとを含む。   The handwriting input processing method according to the present invention includes a unit figure specifying step for specifying a group of figures as a unit for determining a color from a drawing figure input by handwriting as a unit figure, and a size for determining the size of the unit figure. A determination step and a color determination step of determining a color of the unit graphic in accordance with the size of the unit graphic.

そのため、利用者は色を選択するための煩わしい操作を行う必要がなく、利用者は手書きする文字等の図形の大きさを変えることにより、当該図形の色を変更(または指定)することができる。   Therefore, the user does not need to perform a cumbersome operation for selecting a color, and the user can change (or specify) the color of the graphic by changing the size of the graphic such as a handwritten character. .

本発明の実施の一形態のホワイトボードシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the whiteboard system of one Embodiment of this invention. 本発明の実施の一形態の情報処理装置における処理の流れを示すフロー図である。It is a flowchart which shows the flow of a process in the information processing apparatus of one Embodiment of this invention. 本発明の実施の一形態の情報処理装置における処理の流れを示すフロー図である。It is a flowchart which shows the flow of a process in the information processing apparatus of one Embodiment of this invention. 本発明の実施の一形態のホワイトボードシステムにおける、文字色の決定処理の例を説明する図である。It is a figure explaining the example of the character color determination process in the whiteboard system of one Embodiment of this invention. (a)は、本発明の実施の一形態のホワイトボードシステムの表示例を示す図であり、(b)は、他の変形例のホワイトボードシステムの表示例を示す図である。(A) is a figure which shows the example of a display of the whiteboard system of one Embodiment of this invention, (b) is a figure which shows the example of a display of the whiteboard system of another modification. 本発明の他の実施の形態のホワイトボードシステムにおける、文字色の決定処理の例を説明する図である。It is a figure explaining the example of the determination process of the character color in the whiteboard system of other embodiment of this invention. 本発明の他の実施の形態の情報処理装置における処理の流れを示すフロー図である。It is a flowchart which shows the flow of a process in the information processing apparatus of other embodiment of this invention. 本発明の他の実施の形態の情報処理装置における処理の流れを示すフロー図である。It is a flowchart which shows the flow of a process in the information processing apparatus of other embodiment of this invention.

[実施の形態1]
本実施の形態のホワイトボードシステムは、利用者によって手書き入力される文字の大きさに応じて、入力された文字の色を自動的に変更して表示するものである。本実施の形態について、図1〜図5を参照して説明する。
[Embodiment 1]
The whiteboard system of the present embodiment automatically changes and displays the color of the input character according to the size of the character input by handwriting by the user. The present embodiment will be described with reference to FIGS.

図4は、本実施の形態のホワイトボードシステムにおける、文字色の決定処理の例を説明する図である。なお、図4において、参考のため、一辺の長さがaのグリッドを点線で示している。   FIG. 4 is a diagram for explaining an example of character color determination processing in the whiteboard system of the present embodiment. In FIG. 4, for reference, a grid whose side is a is indicated by a dotted line.

図4(a)は、利用者によって手書き入力された文字の高さyが、閾値aより大きい場合の文字色の決定の例を示す図である。入力された文字20「あ」は、その高さが閾値aより大きいので、文字色を赤色に変更される。   FIG. 4A is a diagram illustrating an example of determining a character color when the height y of a character handwritten by a user is larger than a threshold value a. Since the input character 20 “A” has a height greater than the threshold value a, the character color is changed to red.

図4(b)は、利用者によって手書き入力された文字の高さyが、閾値a以下である場合の文字色の決定の例を示す図である。入力された文字列21「あいう」は、各文字の高さが閾値a以下であるので、文字色を黒色に変更される。   FIG. 4B is a diagram illustrating an example of determining the character color when the height y of the character handwritten by the user is equal to or less than the threshold value a. In the input character string 21 “A”, the character color is changed to black because the height of each character is equal to or less than the threshold value a.

図4(c)は、小さい仮名文字(捨て仮名)の文字色の決定の例を示す図である。入力された文字列22「カップ」は、促音文字として小さい仮名文字24「ッ」を含む。小さい仮名文字24「ッ」は、文字の高さが閾値a以下である。一方、先頭の文字23「カ」は、文字の高さyが閾値aより大きい文字である。小さい仮名文字24「ッ」のように、文字の高さyが閾値a以下の文字であっても、文字列の先頭の文字23「カ」の高さが閾値aより大きければ、促音等であるとみなし、小さい仮名文字24「ッ」も文字列の先頭の文字23「カ」と同じ文字色に変更する。よって、文字列22「カップ」および「キャップ」は赤色に変更される。   FIG. 4C is a diagram showing an example of determining the character color of a small kana character (abandoned kana). The input character string 22 “cup” includes a small kana character 24 “” as a sounding character. The small kana character 24 “” has a character height equal to or less than the threshold value a. On the other hand, the first character 23 “K” is a character whose character height y is larger than the threshold value a. Even if the height y of the character is less than or equal to the threshold value a, such as the small kana character 24 “tsu”, if the height of the first character 23 “f” in the character string is greater than the threshold value a, it is Assuming that there is a character, the small kana character 24 “” is also changed to the same character color as the first character 23 “ka” of the character string. Therefore, the character strings 22 “cup” and “cap” are changed to red.

上述の処理を行うホワイトボードシステムについて、以下に説明する。   A whiteboard system that performs the above-described processing will be described below.

<ホワイトボードシステムの構成>
図1は、本実施の形態のホワイトボードシステム1の構成を示すブロック図である。ホワイトボードシステム(情報表示装置)1は、入力された文字や図形等の情報を表示する大型のディスプレイ(表示部)2と、ディスプレイ2の前面に配置されたタッチパネル(手書き入力部)3と、タッチパネル3から入力されたデータを処理する情報処理装置(手書き入力装置)4とを備える。タッチパネル3は、利用者から指またはタッチペン等を用いた手書きによる入力を受け付ける。タッチパネル3を通して利用者から手書き入力された描画図形(文字または記号等の図形)は、描画図形の大きさに応じて色が変更(選択)され、ディスプレイ2に表示される。
<Whiteboard system configuration>
FIG. 1 is a block diagram showing the configuration of the whiteboard system 1 of the present embodiment. A whiteboard system (information display device) 1 includes a large display (display unit) 2 that displays information such as input characters and graphics, a touch panel (handwriting input unit) 3 disposed in front of the display 2, An information processing device (handwriting input device) 4 that processes data input from the touch panel 3 is provided. The touch panel 3 receives input by handwriting using a finger or a touch pen from a user. A drawing figure (a figure such as a character or a symbol) input by handwriting from the user through the touch panel 3 is changed (selected) in color according to the size of the drawing figure and displayed on the display 2.

情報処理装置4は、取得部11、文字検出部(単位図形特定部)12、文字サイズ判定部(サイズ判定部)13、文字色決定部(色決定部)14、画像生成部15、および出力部16を備える。情報処理装置4の上記各ブロックの機能は、情報処理装置4が備える演算処理装置(図示せず)および記憶装置(メモリおよびハードディスク等:図示せず)によって実現される。   The information processing apparatus 4 includes an acquisition unit 11, a character detection unit (unit graphic specifying unit) 12, a character size determination unit (size determination unit) 13, a character color determination unit (color determination unit) 14, an image generation unit 15, and an output The unit 16 is provided. The function of each block of the information processing device 4 is realized by an arithmetic processing device (not shown) and a storage device (memory, hard disk, etc .: not shown) included in the information processing device 4.

取得部11は、所定の時間(例えば1/30秒)毎にタッチパネル3が受け付けた手書き入力のデータを取得する。取得したデータには、利用者によって描画された点の座標が含まれる。また、取得したデータは、描画された複数の点、または描画された線を示す座標を含んでもよい。描画された複数の点、または描画された線の集合は、利用者によって描画された図形を示す。取得部11は、描画された点または線の座標を、画像生成部15および文字検出部12に出力する。   The acquisition unit 11 acquires handwritten input data received by the touch panel 3 every predetermined time (for example, 1/30 second). The acquired data includes the coordinates of the point drawn by the user. Further, the acquired data may include a plurality of drawn points or coordinates indicating drawn lines. A plurality of drawn points or a set of drawn lines indicates a figure drawn by the user. The acquisition unit 11 outputs the coordinates of the drawn point or line to the image generation unit 15 and the character detection unit 12.

文字検出部12は、取得部11から入力された、利用者によって描画された点または線の座標に基づき、入力中の文字等の図形を示す入力中図形として、入力中図形の中に点または線の図形を追加する。入力中図形は、描画された点または線の座標をデータとして含む。文字検出部12は、現在入力中の手書き図形である入力中図形を記憶している。文字検出部12は、手書き入力された文字を示す入力中図形から、1文字分の文字図形を検出する。文字図形が検出された場合、文字検出部12は、検出した文字図形を記憶する、すなわち、検出した文字図形を示す一群の点または線の座標を記憶する。さらに、検出された文字図形については利用者による当該文字の描画が完了したとして、文字検出部12は、入力中図形の、検出した文字図形に当たる部分(検出した文字図形を示す点または線の座標データ)を入力中図形から消去する。文字検出部12は、検出した文字図形(すなわち、検出した文字図形を示す一群の点または線の座標)を文字サイズ判定部13に出力する。   Based on the coordinates of the points or lines drawn by the user, which are input from the acquisition unit 11, the character detection unit 12 uses a point or line in the input graphic as an input graphic indicating a character or the like being input. Add line shapes. The figure being input includes the coordinates of the drawn point or line as data. The character detection unit 12 stores a figure being input which is a handwritten figure currently being input. The character detection unit 12 detects a character graphic for one character from an input graphic indicating a handwritten character. When a character graphic is detected, the character detection unit 12 stores the detected character graphic, that is, the coordinates of a group of points or lines indicating the detected character graphic. Further, regarding the detected character graphic, assuming that the drawing of the character by the user has been completed, the character detection unit 12 performs a portion corresponding to the detected character graphic of the input graphic (the coordinates of the point or line indicating the detected character graphic). Data) from the figure being entered. The character detection unit 12 outputs the detected character graphic (that is, the coordinates of a group of points or lines indicating the detected character graphic) to the character size determination unit 13.

なお、検出した文字図形は、必ずしも文字でなくてもよく、記号等の図形でもよい。すなわち、文字検出部12は、一群の点または線等の図形を文字図形として検出する。   The detected character graphic does not necessarily have to be a character, and may be a graphic such as a symbol. That is, the character detection unit 12 detects a group of figures such as dots or lines as a character figure.

文字サイズ判定部13は、検出された文字図形が示す文字の大きさを判定する。文字サイズ判定部13は、文字図形が示す文字の大きさの判定結果を文字色決定部14に出力する。   The character size determination unit 13 determines the size of the character indicated by the detected character graphic. The character size determination unit 13 outputs the determination result of the character size indicated by the character graphic to the character color determination unit 14.

文字色決定部14は、文字図形が示す文字の色を、文字図形が示す文字の大きさに応じて決定する。文字色決定部14は、文字図形と、決定した文字色とを画像生成部15に出力する。   The character color determination unit 14 determines the color of the character indicated by the character graphic in accordance with the size of the character indicated by the character graphic. The character color determination unit 14 outputs the character graphic and the determined character color to the image generation unit 15.

画像生成部15は、ディスプレイ2に表示する表示画像を生成する。画像生成部15は、現在の表示画像の状態、すなわち表示画像の各画素の画素値を記憶している。画像生成部15は、取得部11から入力された、利用者によって描画された点の座標に基づき、表示画像の中に点または線の画像を追加する。画像生成部15は、変更した表示画像を出力部16に出力する。また、文字色決定部14から文字図形とその文字色とが入力された場合、画像生成部15は、表示画像における、文字図形が示す文字に対応する画素の色(画素値)を、該文字色に変更し、変更した表示画像を出力部16に出力する。   The image generation unit 15 generates a display image to be displayed on the display 2. The image generation unit 15 stores the current state of the display image, that is, the pixel value of each pixel of the display image. The image generation unit 15 adds a point or line image to the display image based on the coordinates of the points drawn by the user input from the acquisition unit 11. The image generation unit 15 outputs the changed display image to the output unit 16. When a character graphic and its character color are input from the character color determination unit 14, the image generation unit 15 sets the color (pixel value) of the pixel corresponding to the character indicated by the character graphic in the display image to the character character. The color is changed, and the changed display image is output to the output unit 16.

出力部16は、ディスプレイ2に表示画像を出力し、ディスプレイ2が表示画像を表示するよう制御する。   The output unit 16 outputs a display image to the display 2 and controls the display 2 to display the display image.

<情報処理装置の処理の流れ>
図2および図3は、本実施の形態の情報処理装置4における処理の流れを示すフロー図である。
<Processing flow of information processing device>
2 and 3 are flowcharts showing the flow of processing in the information processing apparatus 4 of the present embodiment.

取得部11は、所定の時間(例えば1/30秒)毎にタッチパネル3が受け付けた手書き入力のデータを取得し、利用者による手書き入力があった場合(S1でYes)、画像生成部15は、描画された点の座標に基づき、表示画像の中に黒色(基本色)の点の画像を追加する(S2)。なお、文字色確定前の画像は異なる色(例えばグレー)で表示するようにしてもよい。このとき、追加される点の画像は、あらかじめ設定または選択された線の太さに応じた大きさの点であってもよい。出力部16は、更新された表示画像をディスプレイ2に表示させる(S3)。文字検出部12は、描画された点の座標に基づき、入力中図形の中に点の図形を追加する(S4)。その後、S1の処理に戻る。なお、入力中図形は、現在利用者が入力中である文字等の図形のみを示す、すなわち、入力中図形は、現在利用者が入力中である文字等の図形を示す一群の点または線の座標によって表される。なお、入力中図形は、表示画像と同じ画素数の、入力中の文字または図形の画素を示す二値の画像データで表されてもよい。   The acquisition unit 11 acquires handwritten input data received by the touch panel 3 every predetermined time (for example, 1/30 seconds), and when there is a handwritten input by the user (Yes in S1), the image generation unit 15 Based on the coordinates of the drawn points, a black (basic color) point image is added to the display image (S2). Note that the image before the character color confirmation may be displayed in a different color (for example, gray). At this time, the image of the added point may be a point having a size corresponding to the thickness of the line set or selected in advance. The output unit 16 displays the updated display image on the display 2 (S3). The character detection unit 12 adds a point graphic to the currently input graphic based on the coordinates of the drawn point (S4). Thereafter, the process returns to S1. It should be noted that the figure being input indicates only a figure such as a character currently being input by the user, that is, the figure being input is a group of dots or lines indicating the figure such as a character currently being input by the user. Represented by coordinates. The figure being input may be represented by binary image data indicating the number of pixels of the character or figure being input and having the same number of pixels as the display image.

利用者による手書き入力がない場合(S1でNo)、文字検出部12は、手書き入力がない状態が所定の第1の期間(例えば5秒間)以上続いたか否かを判定する(S5)。   When there is no handwriting input by the user (No in S1), the character detection unit 12 determines whether or not a state in which there is no handwriting input continues for a predetermined first period (for example, 5 seconds) (S5).

手書き入力がない状態が5秒間以上続いている場合(S5でYes)、次に入力される手書き文字は、入力済の文字列とは関係のない(入力済の文字列とは異なる文字列に属する)文字であると考えられる。すなわち、長い期間(5秒間)手書き入力がされていなかった場合、次に入力される文字は、利用者が入力する単語等の文字列の1番目の文字であると判断できる。そのため、文字検出部12は、文字図形が示す文字が、文字列の何文字目かを示す変数nを初期化(n=0)する(S6)。ここで、文字列は、続けて入力される一群の文字(または図形)の集合を示す。その後、S1の処理に戻る。   If there is no handwritten input for more than 5 seconds (Yes in S5), the handwritten character to be input next is not related to the input character string (a character string different from the input character string). It is considered to be a character. That is, when handwriting input is not performed for a long period (5 seconds), it can be determined that the next input character is the first character of a character string such as a word input by the user. Therefore, the character detection unit 12 initializes a variable n (n = 0) indicating how many characters of the character string the character indicated by the character figure is (S6). Here, the character string indicates a group of a group of characters (or figures) that are successively input. Thereafter, the process returns to S1.

手書き入力がない状態が5秒間以上続いていない場合(S5でNo)、文字検出部12は、現在の入力中図形に何か(点等)が描かれているか否かを判定する(S7)。   When the state where there is no handwriting input does not continue for 5 seconds or more (No in S5), the character detection unit 12 determines whether or not something (such as a dot) is drawn on the currently input graphic (S7). .

入力中図形が空白である場合(S7でNo)、すなわち、入力中図形に何も描かれていない場合、S1の処理に戻る。   If the figure being input is blank (No in S7), that is, if nothing is drawn on the figure being input, the process returns to S1.

入力中図形に何かが描かれている場合(S7でYes)、文字検出部12は、手書き入力がない状態が第1の期間より短い所定の第2の期間(例えば1秒間)以上続いているか否かを判定する(S8)。   When something is drawn on the figure being input (Yes in S7), the character detection unit 12 continues for a predetermined second period (for example, 1 second) where no handwriting input is present, which is shorter than the first period. It is determined whether or not there is (S8).

手書き入力がない状態が1秒間以上続いていない場合(S8でNo)、S1の処理に戻る。   When the state where there is no handwriting input does not continue for one second or more (No in S8), the process returns to S1.

手書き入力がない状態が1秒間以上続いている場合(S8でYes)、文字検出部12は、1文字の入力が完了したと判断し、現在の入力中図形を1文字分の文字図形として決定する(S9)。すなわち、手書き入力がないまま1秒間が経過すると、文字検出部12は、入力中図形が示す点または線の集まりを1文字分の文字図形として検出する。文字図形は、必ずしも文字を示すわけではなく、図形等を示すものであってもよいが、便宜的に文字を示すとして説明する。本実施の形態では、文字図形は、文字等の図形の色を決定する際の単位となる図形(単位図形)である。また、文字図形は、表示画像における文字(点)の座標の情報を有する。文字図形は、検出した文字(一群の図形)の画素を示す図形である。なお、文字図形は、表示画像と同じ画素数の二値の画像データで表されてもよい。   If there is no handwritten input for one second or longer (Yes in S8), the character detection unit 12 determines that the input of one character has been completed, and determines the currently input graphic as a character graphic for one character. (S9). That is, when one second elapses without handwriting input, the character detection unit 12 detects a collection of points or lines indicated by the input graphic as a character graphic for one character. The character graphic does not necessarily indicate a character but may indicate a graphic or the like, but will be described as indicating a character for convenience. In the present embodiment, the character graphic is a graphic (unit graphic) serving as a unit for determining the color of a graphic such as a character. Further, the character graphic has information on the coordinates of the character (point) in the display image. The character graphic is a graphic indicating the pixel of the detected character (a group of graphics). Note that the character graphic may be represented by binary image data having the same number of pixels as the display image.

文字検出部12は、文字図形を検出すると、当該文字図形を記憶し、入力中図形を初期化(点および線を消去)する(S10)。また、文字検出部12は、変数nの値に1を加算(n=n+1)する(S11)。変数nの値は、検出した文字が文字列におけるn番目の文字であることを示す。なお、最初の時点では、変数nは初期化(n=0)されている。   When the character detection unit 12 detects the character graphic, the character detection unit 12 stores the character graphic and initializes the graphic being input (erase the dots and lines) (S10). The character detection unit 12 adds 1 to the value of the variable n (n = n + 1) (S11). The value of the variable n indicates that the detected character is the nth character in the character string. Note that at the first time, the variable n is initialized (n = 0).

文字サイズ判定部13は、文字の大きさの指標として文字図形が示す文字の高さ(上下の幅)yを求める(S12)。文字の高さは、文字の最下点の座標と最上点の座標との高さ成分の差から求めてもよい。   The character size determination unit 13 obtains the height (vertical width) y of the character indicated by the character graphic as an index of the character size (S12). The height of the character may be obtained from the difference in height components between the coordinates of the lowest point of the character and the coordinates of the highest point.

文字色決定部14は、文字図形が示す文字の高さyと所定の高さaとを比較する(S13)。aは、文字の色を決定する基準となる閾値である。   The character color determination unit 14 compares the height y of the character indicated by the character graphic with a predetermined height a (S13). a is a threshold value that serves as a reference for determining the color of the character.

文字図形が示す文字の高さyが所定の高さaより大きい場合(S13でYes)、文字色決定部14は、文字図形が示す文字の色を赤色に決定する(S14)。なお、文字色決定部14は、nが1の場合、文字列の1つめの文字の文字色を記憶する。   When the height y of the character indicated by the character graphic is greater than the predetermined height a (Yes in S13), the character color determining unit 14 determines the color of the character indicated by the character graphic to be red (S14). When n is 1, the character color determination unit 14 stores the character color of the first character of the character string.

文字図形が示す文字の高さyが所定の高さa以下であり(S13でNo)、かつ、文字図形が示す文字が、文字列の1文字目である場合(S15でNo)、文字色決定部14は、文字図形が示す文字の色を黒色に決定する(S16)。また、文字色決定部14は、文字列の1つめの文字の文字色を記憶する。   When the height y of the character indicated by the character graphic is equal to or less than the predetermined height a (No in S13) and the character indicated by the character graphic is the first character of the character string (No in S15), the character color The determination part 14 determines the color of the character which a character figure shows as black (S16). The character color determination unit 14 also stores the character color of the first character in the character string.

文字図形が示す文字の高さyが所定の高さa以下であり(S13でNo)、かつ、文字図形が示す文字が、文字列の1文字目ではない場合(S15でYes)、文字色決定部14は、文字列の1文字目の文字の文字色と同じ文字色を、現在の文字図形が示す文字の色として決定する(S17)。すなわち、文字列の1文字目(先頭)の文字の文字色が赤色であれば、それに続く文字が小さかった(y≦a)としても、文字色を赤色とする。これにより、促音文字「っ」または拗音表記のための小さい仮名文字(捨て仮名)「ゃ」等の文字色を、文字列の先頭の文字に基づいて判定することができる。そのため、「カップ」「キャップ」「Cup」等の小さい仮名文字または小文字を含む単語について、小さい仮名文字または小文字だけを異なる色に変更してしまうという不都合を回避することができる。   When the character height y indicated by the character graphic is equal to or less than the predetermined height a (No in S13) and the character indicated by the character graphic is not the first character of the character string (Yes in S15), the character color The determination unit 14 determines a character color that is the same as the character color of the first character of the character string as the character color indicated by the current character graphic (S17). That is, if the character color of the first (first) character in the character string is red, the character color is red even if the subsequent character is small (y ≦ a). This makes it possible to determine the character color of a small kana character (abandoned kana) “nya” or the like for prompting characters “tsu” or stuttering based on the first character of the character string. Therefore, it is possible to avoid the inconvenience of changing only small kana characters or lowercase letters to different colors for words including small kana characters or lowercase characters such as “cup”, “cap”, “Cup”.

S14、S16、またはS17の後、画像生成部15は、表示画像における、文字図形が示す文字に対応する画素の色を、決定された文字色に変更する(S18)。その後、S1の処理に戻る。   After S14, S16, or S17, the image generation unit 15 changes the color of the pixel corresponding to the character indicated by the character graphic in the display image to the determined character color (S18). Thereafter, the process returns to S1.

本実施の形態によれば、利用者によって手書き入力された文字について、基準以下の大きさの文字は黒色で、基準より大きい文字は赤色で表示することができる。ホワイトボードシステムを利用して会議または教育等で出席者に説明する場合、利用者(発表者)は、出席者に印象づけたい重要な事項については、大きく板書することが多い。ホワイトボードシステム1は、大きく書かれた文字を自動的に赤色で表示するので、利用者は、煩わしい操作を行って文字色を指定する必要がなく、大きく書くだけで出席者に印象づけたい重要な事項を自動的に赤色で目立たせて表示させることができる。   According to the present embodiment, for a character handwritten by a user, a character having a size smaller than the reference can be displayed in black, and a character larger than the reference can be displayed in red. When explaining to attendees at meetings or education using the whiteboard system, users (presenters) often write a large amount on important matters that they want to impress. Since the whiteboard system 1 automatically displays large letters written in red, the user does not need to perform troublesome operations to specify the character color. Items can be automatically highlighted and displayed in red.

また、本実施の形態のホワイトボードシステム1では、文字色決定部14が、所定の時間(例えば5秒間)以上間をおかずに続けて描画される複数の文字を、同じ文字列に属する文字であると判定する。そして、所定の時間(5秒間)以上手書き入力がない場合に、文字色決定部14は、文字列の入力が完了したものとして文字列を確定し、その後に入力された文字を別の文字列として認識する。そのため、ホワイトボードシステム1は、一群の文字(文字列)を適切に認識し、一群の文字を同じ文字色にして表示することができる。   In the whiteboard system 1 according to the present embodiment, the character color determination unit 14 uses a character belonging to the same character string as a plurality of characters that are continuously drawn for a predetermined time (for example, 5 seconds). Judge that there is. Then, when there is no handwriting input for a predetermined time (5 seconds) or longer, the character color determination unit 14 determines that the character string has been input and determines that the character input thereafter is another character string. Recognize as Therefore, the whiteboard system 1 can appropriately recognize a group of characters (character string) and display the group of characters in the same character color.

図5(a)は、ホワイトボードシステム1の表示例を示す図である。タッチパネル3上には点線でグリッドが表示されている。このグリッドの一辺の長さは、色を変更する基準の長さaと同じである。グリッド1マスより大きい(高さが高い)文字は赤色で表示され、グリッド1マスに収まる文字は黒色で表示される。このように、ホワイトボードシステム1では、タッチパネル3上にグリッドが設けられているので、利用者は、どの程度の大きさの文字が色を変えて表示されるのかを、確認しながら描画することができる。   FIG. 5A is a diagram illustrating a display example of the whiteboard system 1. A grid is displayed on the touch panel 3 with dotted lines. The length of one side of the grid is the same as the reference length a for changing the color. Characters larger (higher height) than one grid cell are displayed in red, and characters that fit in the grid 1 cell are displayed in black. As described above, since the grid is provided on the touch panel 3 in the whiteboard system 1, the user can draw while confirming the size of characters displayed in different colors. Can do.

図5(b)は、他の変形例のホワイトボードシステムの表示例を示す図である。このホワイトボードシステムでは、文字の高さに応じて3段階に色を変えて文字を表示する。すなわち、文字の高さがグリッドの高さa以下であれば黒色に、文字の高さがグリッドの高さaより高く2a以下であれば青色に、文字の高さがグリッドの高さ2aより高ければ赤色に、文字色を変えて表示する。このように、文字の大きさを判定する閾値を複数設定しておき、文字の大きさに応じて3段階以上に色を変えて表示してもよい。   FIG. 5B is a diagram illustrating a display example of a whiteboard system according to another modification. In this whiteboard system, characters are displayed in three different colors according to the height of the characters. That is, if the height of the character is less than the height a of the grid, the color is black, if the height of the character is higher than the height a of the grid and is 2a or less, the color is blue, and the height of the character is higher than the height 2a of the grid. If it is high, it is displayed in red and the text color is changed. As described above, a plurality of thresholds for determining the character size may be set, and the colors may be displayed in three or more stages according to the character size.

[実施の形態2]
本発明の他の実施の形態について、以下に説明する。なお、説明の便宜上、実施の形態1にて説明した図面と同じ機能を有する部材・構成については、同じ符号を付記し、その詳細な説明を省略する。本実施の形態について、図1、図6〜図8を参照して説明する。
[Embodiment 2]
Another embodiment of the present invention will be described below. For convenience of explanation, members / configurations having the same functions as those in the drawings described in the first embodiment are given the same reference numerals, and detailed descriptions thereof are omitted. This embodiment will be described with reference to FIGS. 1 and 6 to 8.

図6は、本実施の形態のホワイトボードシステムにおける、文字色の決定処理の例を説明する図である。なお、図6において、参考のため、一辺の長さがaのグリッドを点線で示している。入力された文字列30「よっしゃ」は、一群の文字として認識され、文字の高さが閾値aより大きい文字を含むので、文字色を赤色に変更される。文字列30に続いて入力された文字31「あ」は、文字列30との距離が閾値bより大きいので、別の文字列に属する文字として認識され、文字の高さが閾値a以下であるので、黒色に変換される。   FIG. 6 is a diagram for explaining an example of character color determination processing in the whiteboard system of the present embodiment. In FIG. 6, for reference, a grid whose side is a is indicated by a dotted line. The input character string 30 “Yoshisha” is recognized as a group of characters and includes characters whose height is greater than the threshold value a, so that the character color is changed to red. The character 31 “A” input following the character string 30 is recognized as a character belonging to another character string because the distance from the character string 30 is larger than the threshold value b, and the height of the character is equal to or less than the threshold value a. So it is converted to black.

上述の処理を行うホワイトボードシステムについて、以下に説明する。   A whiteboard system that performs the above-described processing will be described below.

<ホワイトボードシステムの構成>
本実施の形態のホワイトボードシステム1は、図1に示すものと同じ構成である。そのため、詳細な説明は省略する。
<Whiteboard system configuration>
The whiteboard system 1 of the present embodiment has the same configuration as that shown in FIG. Therefore, detailed description is omitted.

なお、本実施の形態では、文字検出部12は手書き入力中の文字列を示す文字列図形を文字サイズ判定部13に出力し、文字サイズ判定部13は、文字列図形を文字色決定部14に出力する。   In the present embodiment, the character detection unit 12 outputs a character string graphic indicating the character string being handwritten to the character size determination unit 13, and the character size determination unit 13 converts the character string graphic to the character color determination unit 14. Output to.

<情報処理装置の処理の流れ>
図7および図8は、本実施の形態の情報処理装置4における処理の流れを示すフロー図である。
<Processing flow of information processing device>
7 and 8 are flowcharts showing the flow of processing in the information processing apparatus 4 according to the present embodiment.

取得部11は、所定の時間(例えば1/30秒)毎にタッチパネル3が受け付けた手書き入力のデータを取得し、利用者による手書き入力があった場合(S31でYes)、画像生成部15は、描画された点の座標に基づき、表示画像の中に黒色(基本色)の点の画像を追加する(S32)。出力部16は、更新された表示画像をディスプレイ2に表示させる(S33)。   The acquisition unit 11 acquires handwritten input data received by the touch panel 3 every predetermined time (for example, 1/30 seconds), and when there is a handwritten input by the user (Yes in S31), the image generation unit 15 Based on the coordinates of the drawn point, an image of a black (basic color) point is added to the display image (S32). The output unit 16 displays the updated display image on the display 2 (S33).

文字検出部12は、現在の入力中図形が示す文字と、描画された点との距離x1を求める。例えば、文字検出部12は、現在の入力中図形の中の最も右端の図形の点と、手書き入力された点との横方向の距離を距離x1とする。なお、現在の入力中図形の最後に入力された点と、手書き入力された点との距離を距離x1としてもよいし、現在の入力中図形に示される文字を囲む矩形の中心と、手書き入力された点との距離を距離x1としてもよい。   The character detection unit 12 obtains a distance x1 between the character indicated by the currently input graphic and the drawn point. For example, the character detection unit 12 sets the distance in the horizontal direction between the point of the rightmost graphic in the currently input graphic and the point input by handwriting as the distance x1. The distance between the last input point of the currently input figure and the point input by handwriting may be the distance x1, the center of the rectangle surrounding the character shown in the currently input figure, and the handwritten input The distance from the determined point may be the distance x1.

距離x1が、閾値cより小さい場合(S34でNo)、文字検出部12は、描画された点の座標に基づき、入力中図形の中に点の図形を追加する(S35)。その後、S31の処理に戻る。   When the distance x1 is smaller than the threshold c (No in S34), the character detection unit 12 adds a point graphic to the currently input graphic based on the coordinates of the drawn point (S35). Thereafter, the process returns to S31.

距離x1が、閾値c以上である場合(S34でYes)、現在の入力中図形が示す文字の入力は完了したとする。すなわち、文字検出部12は、現在の入力中図形を1文字分の文字図形として決定する(S36)。ここで、閾値cは、所定の値であってもよく、現在の入力中図形に示される文字を囲む矩形の幅(すなわち直前の文字の横方向における幅)を基準に設定されてもよい。例えば、閾値cは、直前の文字の幅の半分の長さであってもよいし、同じ長さであってもよい。文字検出部12は、直前の文字の幅に所定の数を掛けて閾値cを求めることができる。また、文字検出部12は、あらかじめ用意した複数の値から、直前の文字の幅に応じて値を選ぶことにより閾値cを決定してもよい。つまり、前に手書き入力されている文字と、次に手書き入力された点との距離が大きく離れている場合、前に手書き入力されている文字の入力は完了したとして扱い、現在の入力中図形が示す点または線の集まりを1文字分の文字図形として検出する。そして、文字検出部12は、文字図形を検出すると、当該文字図形を記憶し、入力中図形を初期化(点および線を消去)し(S37)、描画された点の座標に基づき、入力中図形の中に点の図形を追加する(S38)。   If the distance x1 is equal to or greater than the threshold value c (Yes in S34), it is assumed that the input of the character indicated by the current input graphic is completed. That is, the character detection unit 12 determines the currently entered graphic as a character graphic for one character (S36). Here, the threshold value c may be a predetermined value, and may be set on the basis of the width of the rectangle surrounding the character shown in the currently input graphic (that is, the width in the horizontal direction of the immediately preceding character). For example, the threshold value c may be half the width of the immediately preceding character or the same length. The character detection unit 12 can obtain the threshold c by multiplying the width of the immediately preceding character by a predetermined number. The character detection unit 12 may determine the threshold c by selecting a value from a plurality of values prepared in advance according to the width of the immediately preceding character. In other words, if the distance between the previously entered handwritten character and the next handwritten input point is far away, the input of the previously entered handwritten character is treated as completed, and the current input shape Is detected as a character figure for one character. When the character detection unit 12 detects the character graphic, the character detection unit 12 stores the character graphic, initializes the input graphic (deletes the points and lines) (S37), and inputs the character graphic based on the coordinates of the drawn point. A point figure is added to the figure (S38).

利用者による手書き入力がない場合(S31でNo)、文字検出部12は、手書き入力がない状態が所定の第1の期間(例えば5秒間)以上続いたか否かを判定する(S39)。   When there is no handwritten input by the user (No in S31), the character detecting unit 12 determines whether or not a state in which no handwritten input has continued for a predetermined first period (for example, 5 seconds) or longer (S39).

手書き入力がない状態が5秒間以上続いている場合(S39でYes)、次に入力される手書き文字は、入力済の文字列とは関係のない(入力済の文字列とは異なる文字列に属する)文字であると考えられる。すなわち、長い期間(5秒間)手書き入力がされていなかった場合、次に入力される文字は、利用者が入力する単語等の文字列の1番目の文字であると判断できる。そのため、文字検出部12は、文字図形が示す文字が、文字列の何文字目かを示す変数nを初期化(n=0)し、文字列図形を初期化(点および線を消去)する(S40)。その後、S31の処理に戻る。   If there is no handwritten input for more than 5 seconds (Yes in S39), the next input handwritten character is not related to the input character string (a character string different from the input character string). It is considered to be a character. That is, when handwriting input is not performed for a long period (5 seconds), it can be determined that the next input character is the first character of a character string such as a word input by the user. For this reason, the character detection unit 12 initializes a variable n (n = 0) indicating the number of characters in the character string of the character indicated by the character graphic, and initializes the character string graphic (erasing points and lines). (S40). Thereafter, the process returns to S31.

手書き入力がない状態が5秒間以上続いていない場合(S39でNo)、文字検出部12は、現在の入力中図形に何か(点等)が描かれているか否かを判定する(S41)。   If no handwritten input continues for 5 seconds or longer (No in S39), the character detection unit 12 determines whether something (such as a dot) is drawn on the currently input graphic (S41). .

入力中図形が空白である場合(S41でNo)、すなわち、入力中図形に何も描かれていない場合、S31の処理に戻る。   If the figure being input is blank (No in S41), that is, if nothing is drawn on the figure being input, the process returns to S31.

入力中図形に何かが描かれている場合(S41でYes)、文字検出部12は、手書き入力がない状態が第1の期間より短い所定の第2の期間(例えば1秒間)以上続いているか否かを判定する(S42)。   When something is drawn on the figure being input (Yes in S41), the character detection unit 12 continues for a predetermined second period (for example, 1 second) in which no handwriting input is present, which is shorter than the first period. It is determined whether or not there is (S42).

手書き入力がない状態が1秒間以上続いていない場合(S42でNo)、S31の処理に戻る。   When the state where there is no handwriting input does not continue for one second or more (No in S42), the process returns to S31.

手書き入力がない状態が1秒間以上続いている場合(S42でYes)、文字検出部12は、1文字の入力が完了したと判断し、現在の入力中図形を1文字分の文字図形として決定する(S43)。すなわち、手書き入力がないまま1秒間が経過すると、文字検出部12は、入力中図形が示す点または線の集まりを1文字分の文字図形として検出する。文字検出部12は、文字図形を検出すると、当該文字図形を記憶し、入力中図形を初期化(点および線を消去)する(S44)。   If there is no handwritten input for one second or longer (Yes in S42), the character detection unit 12 determines that the input of one character has been completed and determines the currently input graphic as a character graphic for one character. (S43). That is, when one second elapses without handwriting input, the character detection unit 12 detects a collection of points or lines indicated by the input graphic as a character graphic for one character. When the character detection unit 12 detects the character graphic, the character detection unit 12 stores the character graphic and initializes the graphic being input (erase the dots and lines) (S44).

S38またはS44の後、文字検出部12は、現在の文字図形が示す文字(S36またはS43で文字検出部12が検出した文字)と、その直前に検出された文字との間の距離x2を求める。例えば、文字検出部12は、直前に検出された文字の情報(点の座標等)を記憶しておき、直前に検出された文字を囲む矩形と、現在の文字図形が示す文字を囲む矩形との間の横方向の距離を距離x2とする。なお、直前に検出された文字を囲む矩形の中心と、現在の文字図形が示す文字を囲む矩形の中心との間の距離を距離x2としてもよく、距離x2が、直前に検出された文字(または文字列)と、現在の文字図形が示す文字との距離を示すものであればよい。   After S38 or S44, the character detection unit 12 obtains a distance x2 between the character indicated by the current character graphic (the character detected by the character detection unit 12 in S36 or S43) and the character detected immediately before that. . For example, the character detection unit 12 stores information on the character (point coordinates, etc.) detected immediately before, a rectangle surrounding the character detected immediately before, and a rectangle surrounding the character indicated by the current character graphic Let the distance in the horizontal direction between be x2. The distance between the center of the rectangle surrounding the character detected immediately before and the center of the rectangle surrounding the character indicated by the current character graphic may be the distance x2, and the distance x2 is the character ( Or a character string) and a character indicating the distance between the character indicated by the current character graphic.

距離x2が閾値b以上である場合(S45でYes)、現在の文字図形が示す文字は、利用者が入力する単語等の文字列の1番目の文字であると判断できる。すなわち、直前に検出された文字とは別の文字列に属すると判断できる。ここで、閾値bは、所定の値であってもよく、現在の入力中図形に示される文字を囲む矩形の幅(すなわち直前の文字の横方向における幅)を基準に設定されてもよい。例えば、閾値bは、直前の文字の幅の半分の長さであってもよいし、倍の長さであってもよい。文字検出部12は、直前の文字の幅に所定の数を掛けて閾値bを求めることができる。また、文字検出部12は、あらかじめ用意した複数の値から、直前の文字の幅に応じて値を選ぶことにより閾値bを決定してもよい。ここでは、閾値b>閾値cとする。つまり、前に手書き入力されている文字と、次に手書き入力された点との距離が大きく離れている場合、前に手書き入力されている文字の入力は完了したとして扱い、現在の入力中図形が示す点または線の集まりを1文字分の文字図形として検出する。そのため、文字検出部12は、文字図形が示す文字は新しい文字列に属するものとして判定し、現在の文字図形を、一群の文字の図形(複数の文字または記号等の図形)を示す文字列図形として記憶し、変数nの値を1にする(n=1)(S46)。   If the distance x2 is greater than or equal to the threshold value b (Yes in S45), it can be determined that the character indicated by the current character graphic is the first character of a character string such as a word input by the user. That is, it can be determined that the character belongs to a character string different from the character detected immediately before. Here, the threshold value b may be a predetermined value, and may be set on the basis of the width of the rectangle surrounding the character shown in the currently input graphic (that is, the width in the horizontal direction of the immediately preceding character). For example, the threshold value b may be a half length of the width of the immediately preceding character or a double length. The character detection unit 12 can obtain the threshold value b by multiplying the width of the immediately preceding character by a predetermined number. The character detection unit 12 may determine the threshold value b by selecting a value from a plurality of values prepared in advance according to the width of the immediately preceding character. Here, threshold value b> threshold value c. In other words, if the distance between the previously entered handwritten character and the next handwritten input point is far away, the input of the previously entered handwritten character is treated as completed, and the current input shape Is detected as a character figure for one character. Therefore, the character detection unit 12 determines that the character indicated by the character graphic belongs to a new character string, and determines the current character graphic as a character string graphic indicating a group of character graphics (graphics such as a plurality of characters or symbols). And the value of the variable n is set to 1 (n = 1) (S46).

距離x2が閾値bより小さい場合(S45でNo)、現在の文字図形が示す文字は、現在入力中の文字列に属すると考えられる。そのため、文字検出部12は、文字図形が示す文字は現在入力中の文字列に属するものとして判定し、現在の文字図形の情報(文字または記号等の図形)を、文字列の図形を示す文字列図形に追加し、変数nの値に1を加算(n=n+1)する(S47)。変数nの値は、検出した文字が文字列におけるn番目の文字であることを示す。なお、最初の時点では、変数nは初期化(n=0)されている。本実施の形態では、文字列図形を、図形の色を決定する際の単位となる図形(単位図形)とする。   When the distance x2 is smaller than the threshold value b (No in S45), it is considered that the character indicated by the current character graphic belongs to the character string currently being input. Therefore, the character detection unit 12 determines that the character indicated by the character graphic belongs to the currently input character string, and uses the current character graphic information (character or symbol graphic) as the character indicating the character string graphic. In addition to the column graphic, 1 is added to the value of the variable n (n = n + 1) (S47). The value of the variable n indicates that the detected character is the nth character in the character string. Note that at the first time, the variable n is initialized (n = 0). In the present embodiment, the character string graphic is a graphic (unit graphic) that is a unit for determining the color of the graphic.

なお、直前に検出された文字が存在しない場合、例えば、ホワイトボードシステムを起動させて最初に入力された文字については、文字列の1番目の文字であると判断できるので、文字検出部12は、距離x2を求めずに、現在の文字図形を、文字列図形として記憶し、変数nの値を1にする(n=1)。   In addition, when the character detected immediately before does not exist, for example, it is possible to determine that the first input character after starting the whiteboard system is the first character of the character string. Without obtaining the distance x2, the current character graphic is stored as a character string graphic, and the value of the variable n is set to 1 (n = 1).

S46またはS47の後、文字サイズ判定部13は、文字の大きさの指標として文字図形が示す文字の高さyを求める(S48)。例えば、文字サイズ判定部13は、文字を囲む(外接する)矩形を特定し、矩形の上下の幅を文字の高さとして求める。   After S46 or S47, the character size determination unit 13 obtains the character height y indicated by the character graphic as an index of the character size (S48). For example, the character size determination unit 13 specifies a rectangle that encloses (circumscribes) the character, and obtains the vertical width of the rectangle as the height of the character.

文字図形が示す文字が、文字列の1文字目である場合(S49でNo)、すなわち、n<2の場合、文字色決定部14は、文字図形が示す文字の高さyと所定の高さaとを比較する(S50)。aは、文字の色を決定する基準となる閾値である。   When the character indicated by the character graphic is the first character of the character string (No in S49), that is, when n <2, the character color determining unit 14 determines the height y of the character indicated by the character graphic and a predetermined height. Compare with a (S50). a is a threshold value that serves as a reference for determining the color of the character.

文字図形が示す文字の高さyが所定の高さaより大きい場合(S50でYes)、文字色決定部14は、文字図形が示す文字が属する文字列の色を赤色に決定する(S51)。なお、文字色決定部14は、文字列の文字色を赤色として記憶する。   When the height y of the character indicated by the character graphic is greater than the predetermined height a (Yes in S50), the character color determining unit 14 determines the color of the character string to which the character indicated by the character graphic belongs to red (S51). . The character color determination unit 14 stores the character color of the character string as red.

文字図形が示す文字の高さyが所定の高さa以下である場合(S50でNo)、文字色決定部14は、文字図形が示す文字が属する文字列の色を黒色に決定する(S52)。なお、文字色決定部14は、文字列の文字色を黒色として記憶する。   When the height y of the character indicated by the character graphic is equal to or less than the predetermined height a (No in S50), the character color determining unit 14 determines the color of the character string to which the character indicated by the character graphic belongs to black (S52). ). The character color determination unit 14 stores the character color of the character string as black.

文字図形が示す文字が、文字列の1文字目ではない場合(S49でYes)、すなわち、n≧2の場合、文字色決定部14は、現在の文字図形が示す文字が属する文字列の文字色を参照する。   When the character indicated by the character graphic is not the first character of the character string (Yes in S49), that is, when n ≧ 2, the character color determination unit 14 determines the character of the character string to which the character indicated by the current character graphic belongs. Refer to the color.

現在の文字図形が示す文字が属する文字列の文字色が赤色である場合(すなわち、入力中の文字列に属するいずれかの文字の高さyが所定の高さaより大きい場合)(S53でYes)、文字色決定部14は、文字図形が示す文字が属する文字列の色を赤色に決定する(S54)。   When the character color of the character string to which the character indicated by the current character graphic belongs is red (that is, when the height y of any character belonging to the character string being input is greater than the predetermined height a) (in S53) Yes), the character color determination unit 14 determines the color of the character string to which the character indicated by the character graphic belongs to red (S54).

現在の文字図形が示す文字が属する文字列の文字色が黒色である場合(S53でNo)、現在の文字図形が示す文字の高さyと所定の高さaとを比較する(S55)。   When the character color of the character string to which the character indicated by the current character graphic belongs is black (No in S53), the height y of the character indicated by the current character graphic is compared with the predetermined height a (S55).

文字図形が示す文字の高さyが所定の高さaより大きい場合(S55でYes)、文字色決定部14は、文字図形が示す文字が属する文字列の色を赤色に変更する(S56)。すなわち、文字列に属する、現在の文字図形より前に入力された文字についても、文字色を赤色に変更する。例えば、手書き入力された文字列「一日」において、先頭の文字「一」の高さが所定の高さa以下であり、2文字目の文字「日」の高さが所定の高さaより大きい場合、先頭の文字「一」が入力された時点では、文字「一」の文字色は黒色と判断される。しかしながら、2文字目の「日」が入力されると、先頭の文字「一」は大きい文字列(赤色で表示すべき文字列)の一部であると判断され、文字「一」と文字「日」の文字色は同じ赤色に変更される。これにより、先頭の文字が小さい場合でも、一群の文字の文字色を統一して表示させることができる。   If the height y of the character indicated by the character graphic is greater than the predetermined height a (Yes in S55), the character color determination unit 14 changes the color of the character string to which the character indicated by the character graphic belongs to red (S56). . That is, the character color of characters input before the current character graphic belonging to the character string is also changed to red. For example, in the character string “one day” input by handwriting, the height of the first character “one” is not more than a predetermined height a, and the height of the second character “day” is a predetermined height a. If it is larger, the character color of the character “one” is determined to be black when the first character “one” is input. However, when the second character “day” is input, it is determined that the first character “one” is a part of a large character string (character string to be displayed in red), and the character “one” and the character “ The text color of “day” is changed to the same red color. Thereby, even when the first character is small, the character color of a group of characters can be displayed in a unified manner.

文字図形が示す文字の高さyが所定の高さa以下である場合(すなわち、入力中の文字列に属するいずれの文字の高さyも、所定の高さa以下である場合)(S55でNo)、文字色決定部14は、文字図形が示す文字が属する文字列の色を黒色に決定する(S57)。   When the height y of the character indicated by the character graphic is equal to or lower than the predetermined height a (that is, when the height y of any character belonging to the character string being input is equal to or lower than the predetermined height a) (S55) No), the character color determination unit 14 determines the color of the character string to which the character indicated by the character graphic belongs to black (S57).

S51、S52、S54、S56、またはS57の後、画像生成部15は、表示画像における、文字列図形が示す文字列に対応する画素の色を、決定された文字色に変更する(S58)。その後S31の処理に戻る。   After S51, S52, S54, S56, or S57, the image generation unit 15 changes the color of the pixel corresponding to the character string indicated by the character string graphic in the display image to the determined character color (S58). Thereafter, the process returns to S31.

なお、文字サイズ判定部13は、各文字の大きさを判定し、文字列に含まれる複数の文字の最大の大きさ(高さ)を、文字列(色を決定する単位となる一群の図形)の大きさ(高さ)として判定してもよい。そして、文字色決定部14は、判定された文字列の大きさに応じて文字列の文字色を決定してもよい。すなわち、文字サイズ判定部13は、色を決定する単位である文字列(単位図形)の大きさを、文字列を構成する図形である文字(サブ単位図形)の大きさに基づいて決定してもよい。   The character size determination unit 13 determines the size of each character, and determines the maximum size (height) of a plurality of characters included in the character string as a character string (a group of figures serving as a unit for determining a color). ) Size (height). Then, the character color determination unit 14 may determine the character color of the character string according to the determined size of the character string. That is, the character size determination unit 13 determines the size of the character string (unit graphic) that is a unit for determining the color based on the size of the character (sub-unit graphic) that is a graphic that forms the character string. Also good.

本実施の形態によれば、手書き入力がない期間の長さ、または、検出された文字同士の間隔に基づいて、手書き入力された文字が属する文字列を認識し、文字列に含まれる文字の大きさに応じて、当該文字列の文字色を変更して表示することができる。例えば、文字列に含まれるいずれかの文字が大きければ、文字列を大きい文字に合わせた文字色で表示する。そのため、文字列の先頭の文字が小さい場合においても、適切に文字列の色を変更することができる。   According to the present embodiment, the character string to which the handwritten input character belongs is recognized based on the length of the period when there is no handwritten input or the interval between the detected characters, and the character included in the character string is recognized. Depending on the size, the character color of the character string can be changed and displayed. For example, if any character included in the character string is large, the character string is displayed in a character color that matches the large character. Therefore, even when the first character of the character string is small, the color of the character string can be appropriately changed.

なお、高さ(グリッドの高さ)a、閾値b、および閾値c等は、あらかじめ利用者が設定することができる。   Note that the height (grid height) a, threshold value b, threshold value c, and the like can be set in advance by the user.

[他の変形例]
上記の例では、横書きの手書き文字が入力された場合について説明したが、場合によっては、利用者は文字を縦書きに入力することもある。そこで、手書き入力の入力モードとして「横書き」/「縦書き」をあらかじめ選択できるように情報処理装置を構成してもよい。縦書き入力モードでは、文字サイズ判定部は、文字の横方向の幅によって文字の大きさを判定してもよい。また、縦書き入力モードでは、文字色決定部は、文字と文字との縦方向の距離(間隔等)に応じて、文字が属する文字列を判定してもよい。
[Other variations]
In the above example, a case where a horizontally written handwritten character is input has been described. However, in some cases, a user may input a character vertically. Therefore, the information processing apparatus may be configured so that “horizontal writing” / “vertical writing” can be selected in advance as an input mode for handwriting input. In the vertical writing mode, the character size determination unit may determine the character size based on the width in the horizontal direction of the character. In the vertical writing input mode, the character color determination unit may determine the character string to which the character belongs according to the vertical distance (interval or the like) between the character.

また、文字検出部は、手書き入力があった時点で、文字列図形の中の最も右端の図形の点と手書き入力された点との横方向の距離x3を求め、距離x3が所定の距離以上離れている場合、手書き入力された点とそれ以降に手書き入力される描画図形とを、新たな文字列として認識してもよい。   Further, the character detection unit obtains a lateral distance x3 between the rightmost graphic point of the character string graphic and the handwritten input point when the handwritten input is performed, and the distance x3 is equal to or greater than a predetermined distance. If they are separated from each other, a handwritten input point and a drawing figure input after that may be recognized as a new character string.

また、上記の例では、手書き入力がない期間、または、文字の間隔等によって文字列を特定したが、小さい文字(高さa以下の文字)からなる文字列に続いて、大きい文字(高さaより大きい文字)が入力された場合に、文字検出部は、大きい文字を前の文字列とは別の文字列に属する文字であるとして特定してもよい。すなわち、文字検出部は、その大きい文字を新しい文字列の1番目の文字として扱う。例えば、文字色決定部は、小さい文字からなる前の文字列は黒色に、大きい文字を含む後の文字列を赤色に変換する。   In the above example, the character string is specified by a period in which there is no handwriting input or the character spacing. However, a large character (height) follows a character string composed of small characters (characters having a height a or less). When a character larger than a) is input, the character detection unit may specify that the large character is a character belonging to a character string different from the previous character string. That is, the character detection unit treats the large character as the first character of the new character string. For example, the character color determination unit converts the previous character string including small characters to black, and the subsequent character string including large characters to red.

また、文字サイズ判定部は、検出された文字に外接する矩形または円等の図形の面積によって文字の大きさ(文字のサイズのレベル)を判定してもよい。また、文字サイズ判定部は、文字の縦方向の高さおよび横方向の幅のいずれか大きい方によって文字の大きさを判定してもよい。   The character size determination unit may determine the character size (character size level) based on the area of a figure such as a rectangle or a circle circumscribing the detected character. Further, the character size determination unit may determine the size of the character based on the larger one of the vertical height and the horizontal width of the character.

また、上記の例では、文字色決定部は、文字列の文字色を、文字列に含まれる文字の大きさの最大値に応じて決定したが、文字色決定部は、文字列の文字色を、文字列に含まれる文字の大きさの平均値、中央値、または重みづけ平均値等に応じて決定してもよい。また、文字色決定部は、文字列の文字色を、文字列に含まれる一部の文字の大きさに応じて決定してもよい。   In the above example, the character color determination unit determines the character color of the character string according to the maximum size of the character included in the character string, but the character color determination unit determines the character color of the character string. May be determined according to the average value, median value, or weighted average value of the size of characters included in the character string. Further, the character color determination unit may determine the character color of the character string according to the size of some characters included in the character string.

また、文字検出部は、従来からある文字認識技術によって手書き文字を検出してもよい。さらに、文字図形中の文字認識した手書き文字を、所定のフォントの文字の図形に置き換えてもよい。この場合、手書き文字の大きさに合わせて、置き換える文字のサイズを変更する。   In addition, the character detection unit may detect a handwritten character by a conventional character recognition technique. Further, the recognized handwritten character in the character graphic may be replaced with a character graphic of a predetermined font. In this case, the size of the replacement character is changed according to the size of the handwritten character.

また、本発明の情報処理装置は、ホワイトボードシステムだけでなく、手書き文字入力装置として用いることができる。例えば、情報処理装置の出力部は、手書き入力されて文字色を決定した画像(表示画像)を、外部の記憶装置に出力して保存してもよく、他のコンピュータに出力してもよい。   The information processing apparatus of the present invention can be used not only as a whiteboard system but also as a handwritten character input apparatus. For example, the output unit of the information processing apparatus may output and save an image (display image) that has been input by handwriting and has determined the character color to an external storage device, or may be output to another computer.

または、本発明の情報処理装置は、手書き文字を文字認識し、手書き文字を文字コードに置き換え、各文字に文字色を示す色属性を対応付けたデータを生成してもよい。そして、生成したデータを、外部の記憶装置またはコンピュータ等に出力してもよい。   Alternatively, the information processing apparatus of the present invention may recognize data of handwritten characters, replace the handwritten characters with character codes, and generate data in which each character is associated with a color attribute indicating a character color. Then, the generated data may be output to an external storage device or a computer.

最後に、情報処理装置4の各ブロック、特に取得部11、文字検出部12、文字サイズ判定部13、文字色決定部14、画像生成部15、および出力部16は、ハードウェアロジックによって構成してもよいし、次のようにCPU(central processing unit)を用いてソフトウェアによって実現してもよい。   Finally, each block of the information processing apparatus 4, particularly the acquisition unit 11, the character detection unit 12, the character size determination unit 13, the character color determination unit 14, the image generation unit 15, and the output unit 16 are configured by hardware logic. Alternatively, it may be realized by software using a CPU (central processing unit) as follows.

すなわち、情報処理装置4は、各機能を実現する制御プログラムの命令を実行するCPU、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである情報処理装置4の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記情報処理装置4に供給し、そのコンピュータ(またはCPUやMPU(microprocessor unit))が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the information processing apparatus 4 includes a CPU that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, a RAM (random access memory) that expands the program, the program, and various types A storage device (recording medium) such as a memory for storing data is provided. An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the information processing apparatus 4 that is software that realizes the above-described functions is recorded so as to be readable by a computer. This can also be achieved by supplying the information processing apparatus 4 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU (microprocessor unit)).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM(compact disc read-only memory)/MO(magneto-optical)/MD(Mini Disc)/DVD(digital versatile disk)/CD−R(CD Recordable)等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM(erasable programmable read-only memory)/EEPROM(electrically erasable and programmable read-only memory)/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, a CD-ROM (compact disc read-only memory) / MO (magneto-optical) / Disk systems including optical disks such as MD (Mini Disc) / DVD (digital versatile disk) / CD-R (CD Recordable), card systems such as IC cards (including memory cards) / optical cards, or mask ROM / EPROM ( An erasable programmable read-only memory) / EEPROM (electrically erasable and programmable read-only memory) / semiconductor memory system such as a flash ROM can be used.

また、情報処理装置4を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN(local area network)、ISDN(integrated services digital network)、VAN(value-added network)、CATV(community antenna television)通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE(institute of electrical and electronic engineers)1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(asynchronous digital subscriber loop)回線等の有線でも、IrDA(infrared data association)やリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR(high data rate)、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。   The information processing apparatus 4 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN (local area network), ISDN (integrated services digital network), VAN (value-added network), CATV (community antenna television) communication. A network, a virtual private network, a telephone line network, a mobile communication network, a satellite communication network, etc. can be used. In addition, the transmission medium constituting the communication network is not particularly limited. For example, IEEE (institute of electrical and electronic engineers) 1394, USB, power line carrier, cable TV line, telephone line, ADSL (asynchronous digital subscriber loop) line Wireless such as IrDA (infrared data association) and remote control such as remote control, Bluetooth (registered trademark), 802.11 wireless, HDR (high data rate), mobile phone network, satellite line, terrestrial digital network, etc. But it is available.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明は、手書き入力を行うことができるホワイトボードシステム、および、手書き入力装置等に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be used for a whiteboard system that can perform handwriting input, a handwriting input device, and the like.

1 ホワイトボードシステム(情報表示装置)
2 ディスプレイ(表示部)
3 タッチパネル(手書き入力部)
4 情報処理装置(手書き入力装置)
11 取得部
12 文字検出部(単位図形特定部)
13 文字サイズ判定部(サイズ判定部)
14 文字色決定部(色決定部)
15 画像生成部
16 出力部
1 Whiteboard system (information display device)
2 Display (display part)
3 Touch panel (handwriting input part)
4 Information processing device (handwriting input device)
11 Acquisition part 12 Character detection part (unit figure specific part)
13 Character size determination part (size determination part)
14 Character color decision part (color decision part)
15 Image generator 16 Output unit

Claims (14)

手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定部と、
上記単位図形の大きさを判定するサイズ判定部と、
上記単位図形の大きさに応じて上記単位図形の色を決定する色決定部とを備えることを特徴とする手書き入力装置。
A unit figure specifying unit for specifying a group of figures as a unit for determining a color from a drawing figure input by handwriting;
A size determination unit for determining the size of the unit graphic;
A handwriting input device comprising: a color determining unit that determines a color of the unit graphic according to a size of the unit graphic.
上記単位図形は、一群の図形からなるサブ単位図形を複数含み、
上記単位図形特定部は、手書き入力された描画図形から、一群の図形をサブ単位図形として特定し、複数の上記サブ単位図形からなる図形を上記単位図形として特定し、
上記サイズ判定部は、上記サブ単位図形の大きさを判定し、上記単位図形に含まれる上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定することを特徴とする請求項1に記載の手書き入力装置。
The unit figure includes a plurality of sub-unit figures composed of a group of figures,
The unit figure specifying unit specifies a group of figures as a sub-unit figure from a drawing figure input by handwriting, specifies a figure composed of a plurality of the sub-unit figures as the unit figure,
The size determination unit determines the size of the sub unit graphic, and determines the size of the unit graphic based on the size of the sub unit graphic included in the unit graphic. The handwriting input device described in 1.
上記サイズ判定部は、上記単位図形に含まれる上記サブ単位図形の内、最初に入力された上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定することを特徴とする請求項2に記載の手書き入力装置。   The size determination unit determines the size of the unit graphic based on the size of the sub unit graphic that is first input among the sub unit graphics included in the unit graphic. 2. The handwriting input device according to 2. 上記サイズ判定部は、上記単位図形に含まれる上記サブ単位図形の内、最大の上記サブ単位図形の大きさに基づき、上記単位図形の大きさを判定することを特徴とする請求項2に記載の手書き入力装置。   3. The size determination unit according to claim 2, wherein the size determination unit determines the size of the unit graphic based on the maximum size of the sub unit graphic among the sub unit graphics included in the unit graphic. Handwriting input device. 上記単位図形特定部は、第1の期間以上手書き入力がない状態が続いた場合に、手書き入力された描画図形を上記サブ単位図形として特定することを特徴とする請求項2から4のいずれか一項に記載の手書き入力装置。   The unit graphic specifying unit specifies a drawing graphic input by handwriting as the sub unit graphic when a state in which there is no handwriting input for a first period or longer continues. The handwriting input device according to one item. 上記単位図形特定部は、第2の期間以上手書き入力がない状態が続いた場合に、以降に手書き入力される描画図形から特定されるサブ単位図形からなる図形を、新たな単位図形として特定することを特徴とする請求項2から5のいずれか一項に記載の手書き入力装置。   The unit graphic specifying unit specifies, as a new unit graphic, a figure composed of a sub unit graphic specified from a drawing graphic input after handwriting input when there is no handwriting input for the second period or longer. 6. The handwriting input device according to any one of claims 2 to 5, wherein: 上記単位図形特定部は、第1の期間以上手書き入力がない状態が続いた場合に、手書き入力された描画図形を上記単位図形として特定することを特徴とする請求項1に記載の手書き入力装置。   The handwriting input device according to claim 1, wherein the unit graphic specifying unit specifies a drawing graphic input by handwriting as the unit graphic when there is no handwriting input for a first period or longer. . 上記単位図形特定部は、第1の単位図形に含まれる第1のサブ単位図形と、その直後に手書き入力された描画図形から特定された第2のサブ単位図形とが所定の距離以上離れている場合、第2のサブ単位図形を含む図形を第2の単位図形として特定することを特徴とする請求項2から6のいずれか一項に記載の手書き入力装置。   The unit graphic specifying unit is configured such that a first sub unit graphic included in the first unit graphic and a second sub unit graphic specified from a drawing graphic input by handwriting immediately thereafter are separated by a predetermined distance or more. The handwriting input device according to any one of claims 2 to 6, wherein a graphic including the second sub-unit graphic is specified as the second unit graphic. 横方向または縦方向を所定の方向とし、
上記単位図形特定部は、第1のサブ単位図形の上記所定の方向における幅に応じて閾値を決定し、第1のサブ単位図形と第2のサブ単位図形との上記所定の方向における間隔が、上記閾値以上である場合、第2のサブ単位図形を含む図形を第2の単位図形として特定することを特徴とする請求項8に記載の手書き入力装置。
The horizontal direction or vertical direction is a predetermined direction,
The unit graphic specifying unit determines a threshold according to the width of the first sub-unit graphic in the predetermined direction, and an interval between the first sub-unit graphic and the second sub-unit graphic in the predetermined direction is determined. The handwriting input device according to claim 8, wherein if it is equal to or more than the threshold value, a graphic including the second sub-unit graphic is specified as the second unit graphic.
手書き入力された描画図形の大きさに応じて上記描画図形の色を決定する色決定部を備えることを特徴とする手書き入力装置。   A handwriting input device comprising: a color determining unit that determines a color of the drawing figure according to a size of the drawing figure input by handwriting. 請求項1から9のいずれか一項に記載の手書き入力装置を備えた情報表示装置であって、
利用者からの手書き入力を受け付ける手書き入力部と、
上記単位図形を、上記色決定部が決定した色で表示する表示部とを備えることを特徴とする情報表示装置。
An information display device comprising the handwriting input device according to any one of claims 1 to 9,
A handwriting input unit that accepts handwriting input from a user;
An information display device comprising: a display unit that displays the unit graphic in a color determined by the color determination unit.
手書き入力された描画図形から、色を決定する単位となる一群の図形を単位図形として特定する単位図形特定ステップと、
上記単位図形の大きさを判定するサイズ判定ステップと、
上記単位図形の大きさに応じて上記単位図形の色を決定する色決定ステップとを含むことを特徴とする手書き入力処理方法。
A unit figure specifying step for specifying a group of figures as a unit figure from a drawing figure input by handwriting;
A size determination step for determining the size of the unit graphic;
A handwriting input processing method comprising: a color determining step for determining a color of the unit graphic in accordance with a size of the unit graphic.
請求項1から10のいずれか一項に記載の手書き入力装置としてコンピュータを機能させるための制御プログラムであって、コンピュータを上記の各部として機能させるための制御プログラム。   A control program for causing a computer to function as the handwriting input device according to any one of claims 1 to 10, wherein the control program causes the computer to function as each of the above-described units. 請求項13に記載の制御プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the control program according to claim 13 is recorded.
JP2010124630A 2010-05-31 2010-05-31 Handwriting input device, information display device, handwriting input processing method, control program, and recording medium Pending JP2011253221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010124630A JP2011253221A (en) 2010-05-31 2010-05-31 Handwriting input device, information display device, handwriting input processing method, control program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010124630A JP2011253221A (en) 2010-05-31 2010-05-31 Handwriting input device, information display device, handwriting input processing method, control program, and recording medium

Publications (1)

Publication Number Publication Date
JP2011253221A true JP2011253221A (en) 2011-12-15

Family

ID=45417139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010124630A Pending JP2011253221A (en) 2010-05-31 2010-05-31 Handwriting input device, information display device, handwriting input processing method, control program, and recording medium

Country Status (1)

Country Link
JP (1) JP2011253221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016015099A (en) * 2014-07-03 2016-01-28 シャープ株式会社 Handwriting input device and handwriting input method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016015099A (en) * 2014-07-03 2016-01-28 シャープ株式会社 Handwriting input device and handwriting input method

Similar Documents

Publication Publication Date Title
US11182069B2 (en) Managing real-time handwriting recognition
CN110009643B (en) Segmenting display content into regions based on pixels of a screenshot image of captured content
EP3547218B1 (en) File processing device and method, and graphical user interface
US9280255B2 (en) Structured displaying of visual elements
US9317144B2 (en) Electronic device, handwriting input recognition system, and method for recognizing handwritten input thereof
WO2014200736A1 (en) Managing real - time handwriting recognition
US10140747B2 (en) Method and apparatus for controlling playback speed of animation message in mobile terminal
TW200947294A (en) Method and apparatus for browsing item information and recording medium using the same
JP2005508031A (en) Adaptable stroke order system based on radicals
KR102075433B1 (en) Handwriting input apparatus and control method thereof
KR20010102224A (en) Apparatus and system for reproduction of handwritten input
CN106649209A (en) Text display method and device
JP2016181057A (en) Image processor, image processing method and image processing program
CN109656435B (en) Display control device and recording medium
JP2015095066A (en) Information processing apparatus and information processing program
JP2011253221A (en) Handwriting input device, information display device, handwriting input processing method, control program, and recording medium
US20160342291A1 (en) Electronic apparatus and controlling method thereof
KR102133532B1 (en) A Method and Apparatus For Providing Layout Based On Handwriting Input
JP2014078168A (en) Character recognition apparatus and program
JP2005190199A (en) Handwritten character input display device, handwritten character input display method, and program of the same
JP2013192111A (en) Information processing apparatus, information processing method, and program and computer readable recording medium of information processing apparatus
WO2023159569A1 (en) Display system, track point sequence processing method, storage medium and device
CN112818145B (en) Intelligent font style rendering system
US20240220090A1 (en) Text display method and text display apparatus
JPH09244616A (en) Character information storing method and stroke order display method and stroke order display device