JP7035852B2 - Writing selection program, writing selection method and information processing device - Google Patents

Writing selection program, writing selection method and information processing device Download PDF

Info

Publication number
JP7035852B2
JP7035852B2 JP2018123585A JP2018123585A JP7035852B2 JP 7035852 B2 JP7035852 B2 JP 7035852B2 JP 2018123585 A JP2018123585 A JP 2018123585A JP 2018123585 A JP2018123585 A JP 2018123585A JP 7035852 B2 JP7035852 B2 JP 7035852B2
Authority
JP
Japan
Prior art keywords
writing
search
area
search area
searched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018123585A
Other languages
Japanese (ja)
Other versions
JP2020004124A (en
Inventor
政志 宇山
勝彦 秋山
健次 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018123585A priority Critical patent/JP7035852B2/en
Publication of JP2020004124A publication Critical patent/JP2020004124A/en
Application granted granted Critical
Publication of JP7035852B2 publication Critical patent/JP7035852B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、筆記選択プログラム、筆記選択方法および情報処理装置に関する。 The present invention relates to a writing selection program, a writing selection method, and an information processing apparatus.

手指や電子ペンなどの手書きが行われたストロークの軌跡を筆記として入力するユーザインタフェースが知られている。このように手書き入力が行われた筆記全体のうち一部の筆記を選択することにより、コピーや文字認識、文字認識が行われたテキストを用いるWeb検索などといった機能を利用することができる。 A user interface for inputting the locus of a handwritten stroke such as a finger or an electronic pen as writing is known. By selecting a part of the writing that has been handwritten in this way, it is possible to use functions such as copying, character recognition, and Web search using the text that has been recognized.

例えば、筆記の選択には、筆記全体を手書きで囲んだり、2点を指定したりすることで、筆記を選択する範囲を指定させる方法が用いられる。 For example, for the selection of writing, a method is used in which the entire writing is surrounded by handwriting or two points are specified so that the range for selecting the writing can be specified.

特開2013-25409号公報Japanese Unexamined Patent Publication No. 2013-25409 特開2005-267648号公報Japanese Unexamined Patent Publication No. 2005-267648

しかしながら、上記の技術では、筆記の選択を容易に行うことができない場合がある。 However, with the above technique, it may not be possible to easily select writing.

例えば、電子白板の他、机やボード、壁といった部屋全体にディスプレイやタッチパネルの機能を持たせることで空間全体をデジタル化するユーザインタフェース(以降、「空間UI(User Interface)」と称する)などのユーザインタフェースが用いられる場合がある。このように大画面のユーザインタフェースが利用される場合、筆記を選択する範囲も広範囲になるので、手を大きく動かさねばならず、筆記の選択を容易に行うことは困難である。 For example, in addition to the electronic white board, a user interface (hereinafter referred to as "spatial UI (User Interface)") that digitizes the entire space by giving the entire room such as a desk, board, or wall a display or touch panel function. A user interface may be used. When such a large-screen user interface is used, the range for selecting writing is wide, so it is necessary to move the hand greatly, and it is difficult to easily select writing.

1つの側面では、本発明は、筆記の選択を容易に行うことができる筆記選択プログラム、筆記選択方法および情報処理装置を提供することを目的とする。 In one aspect, it is an object of the present invention to provide a writing selection program, a writing selection method, and an information processing apparatus capable of easily performing a writing selection.

一態様では、筆記選択プログラムは、手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付け、前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定し、前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定し、前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定し、設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する、処理をコンピュータに実行させる。 In one aspect, the writing selection program accepts the designation of the reference area as the reference for the writing search on the screen on which the writing with the handwritten input is displayed, and in the search direction in which the writing search is performed in the reference area. A first search area adjacent to the reference area is set, and a second search area adjacent to the reference area in the search direction and included in the first search area is set, and the first search area is set. When writing is included, the first search area is reset adjacent to the search direction side of the writing, and the end of the writing on the search direction side included in the first search area and the first. When the difference from the end of the writing on the search direction side included in the search area 2 is within a predetermined threshold, the end of the second search area on the search direction side is the end of the first search area. If the writing is not included in the first search area that has been reset to the same position as the end on the search direction side and has been set or reset, it is included in the first search area in which the writing has been searched. When the difference exceeds the predetermined threshold value, the writing is selected, and the writing included in the second search area in which the writing has been searched is selected, and the processing is executed by the computer.

筆記の選択を容易に行うことができる。 Writing choices can be made easily.

図1は、実施例1に係る情報処理装置の機能的構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a functional configuration of the information processing apparatus according to the first embodiment. 図2は、初期設定の一例を示す図である。FIG. 2 is a diagram showing an example of initial settings. 図3は、筆記探索領域Sおよび空白探索領域Eの設定例を示す図である。FIG. 3 is a diagram showing a setting example of the writing search area S and the blank search area E. 図4は、筆記探索領域Sの再設定の一例を示す図である。FIG. 4 is a diagram showing an example of resetting the writing search area S. 図5は、確定済領域Fの拡張の一例を示す図である。FIG. 5 is a diagram showing an example of expansion of the confirmed region F. 図6Aは、探索済領域Dと確定済領域Fの差分の一例を示す図である。FIG. 6A is a diagram showing an example of the difference between the searched area D and the confirmed area F. 図6Bは、探索済領域Dと確定済領域Fの差分の一例を示す図である。FIG. 6B is a diagram showing an example of the difference between the searched area D and the confirmed area F. 図7は、空白探索領域Eの再設定の一例を示す図である。FIG. 7 is a diagram showing an example of resetting the blank search area E. 図8は、筆記選択の一例を示す図である。FIG. 8 is a diagram showing an example of writing selection. 図9は、実施例1に係る筆記選択処理の手順を示すフローチャートである。FIG. 9 is a flowchart showing the procedure of the writing selection process according to the first embodiment. 図10Aは、作業用画面の一例を示す図である。FIG. 10A is a diagram showing an example of a work screen. 図10Bは、作業用画面の一例を示す図である。FIG. 10B is a diagram showing an example of a work screen. 図10Cは、作業用画面の一例を示す図である。FIG. 10C is a diagram showing an example of a work screen. 図10Dは、作業用画面の一例を示す図である。FIG. 10D is a diagram showing an example of a work screen. 図11Aは、筆記選択の動作例1を示す図である。FIG. 11A is a diagram showing an operation example 1 of writing selection. 図11Bは、筆記選択の動作例1を示す図である。FIG. 11B is a diagram showing an operation example 1 of writing selection. 図12Aは、筆記選択の動作例2を示す図である。FIG. 12A is a diagram showing an operation example 2 of writing selection. 図12Bは、筆記選択の動作例1を示す図である。FIG. 12B is a diagram showing an operation example 1 of writing selection. 図13は、実施例2に係る筆記選択処理の手順を示すフローチャートである。FIG. 13 is a flowchart showing the procedure of the writing selection process according to the second embodiment. 図14Aは、中央空白探索領域ECの一例を示す図である。FIG. 14A is a diagram showing an example of the central blank search area EC. 図14Bは、上方空白探索領域EUの一例を示す図である。FIG. 14B is a diagram showing an example of the upper blank search region EU. 図14Cは、下方空白探索領域EDの一例を示す図である。FIG. 14C is a diagram showing an example of the lower blank search region ED. 図15Aは、閾値Th2の一例を示す図である。FIG. 15A is a diagram showing an example of the threshold value Th2. 図15Bは、閾値Th3の一例を示す図である。FIG. 15B is a diagram showing an example of the threshold value Th3. 図15Cは、閾値Th4の一例を示す図である。FIG. 15C is a diagram showing an example of the threshold value Th4. 図16は、複数行探索の動作例を示す図である。FIG. 16 is a diagram showing an operation example of a multi-line search. 図17は、フレームの分割方法の一例を示す図である。FIG. 17 is a diagram showing an example of a frame division method. 図18は、実施例2に係る抽出処理の手順を示すフローチャートである。FIG. 18 is a flowchart showing the procedure of the extraction process according to the second embodiment. 図19Aは、文字枠の抽出の一例を示す図である。FIG. 19A is a diagram showing an example of extracting a character frame. 図19Bは、文字枠の抽出の一例を示す図である。FIG. 19B is a diagram showing an example of extracting a character frame. 図19Cは、文字枠の抽出の一例を示す図である。FIG. 19C is a diagram showing an example of extracting a character frame. 図20Aは、文字枠の候補のマークの一例を示す図である。FIG. 20A is a diagram showing an example of a mark as a candidate for a character frame. 図20Bは、文字枠の候補のマークの一例を示す図である。FIG. 20B is a diagram showing an example of a mark as a candidate for a character frame. 図21Aは、文字枠の候補のマークの一例を示す図である。FIG. 21A is a diagram showing an example of a mark as a candidate for a character frame. 図21Bは、文字枠の候補のマークの一例を示す図である。FIG. 21B is a diagram showing an example of a mark as a candidate for a character frame. 図22は、上下方向の矩形の指定の一例を示す図である。FIG. 22 is a diagram showing an example of designating a rectangle in the vertical direction. 図23は、実施例1~実施例3に係る筆記選択プログラムを実行するコンピュータのハードウェア構成例を示す図である。FIG. 23 is a diagram showing a hardware configuration example of a computer that executes the writing selection program according to the first to third embodiments.

以下に添付図面を参照して本願に係る筆記選択プログラム、筆記選択方法および情報処理装置について説明する。なお、この実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 The writing selection program, the writing selection method, and the information processing apparatus according to the present application will be described below with reference to the attached drawings. It should be noted that this embodiment does not limit the disclosed technology. Then, each embodiment can be appropriately combined as long as the processing contents do not contradict each other.

図1は、実施例1に係る情報処理装置の機能的構成の一例を示すブロック図である。図1に示す情報処理装置10は、机やボード、壁といった部屋全体にディスプレイやタッチパネルの機能を持たせることで空間全体をデジタル化する空間UIを提供するものである。なお、ここでは、ユースケースのあくまで一例として、空間UIを提供する例を説明するが、電子白板やタッチパネルなどの他のユーザインタフェースであってかまわない。 FIG. 1 is a block diagram showing an example of a functional configuration of the information processing apparatus according to the first embodiment. The information processing device 10 shown in FIG. 1 provides a space UI that digitizes the entire space by providing the functions of a display and a touch panel to the entire room such as a desk, a board, and a wall. Here, an example of providing a spatial UI will be described as an example of a use case, but it may be another user interface such as an electronic whiteboard or a touch panel.

このような空間UIの機能の一環として、情報処理装置10は、手書き入力が行われた筆記全体のうち一部の筆記を選択する操作、以下「筆記選択操作」を最小限の範囲の指定を受け付けることにより実現する筆記選択機能を提供する。 As a part of the function of such a spatial UI, the information processing apparatus 10 specifies an operation of selecting a part of the writing by handwriting input, hereinafter, "writing selection operation" in the minimum range. It provides a writing selection function realized by accepting.

情報処理装置10は、上記の空間UIの機能を提供するコンピュータである。 The information processing device 10 is a computer that provides the above-mentioned spatial UI function.

一実施形態として、情報処理装置10は、パッケージソフトウェア又はオンラインソフトウェアとして、上記の空間UIに対応する機能を実現する空間UIプログラムを任意のコンピュータにインストールさせることによって実装できる。例えば、情報処理装置10は、上記の空間UIの機能を提供するコンピュータとしてオンプレミスに実装することとしてもよいし、上記の空間UIの機能をアウトソーシングによって提供するクラウドとして実装することとしてもかまわない。 As one embodiment, the information processing apparatus 10 can be implemented as package software or online software by installing a spatial UI program that realizes a function corresponding to the above spatial UI on an arbitrary computer. For example, the information processing apparatus 10 may be implemented on-premises as a computer that provides the above-mentioned spatial UI function, or may be implemented as a cloud that provides the above-mentioned spatial UI function by outsourcing.

図1に示すように、情報処理装置10には、出力装置1aおよび環境センサ1bが接続される。これら出力装置1aおよび環境センサ1bと、情報処理装置10との間の接続形態は、有線または無線を問わない。例えば、任意のネットワークを介して接続されることとしてもよいし、ケーブル等を介して接続されることとしてもかまわない。 As shown in FIG. 1, an output device 1a and an environment sensor 1b are connected to the information processing device 10. The connection form between the output device 1a and the environment sensor 1b and the information processing device 10 may be wired or wireless. For example, it may be connected via an arbitrary network, or may be connected via a cable or the like.

出力装置1aは、各種の出力を行う装置である。 The output device 1a is a device that performs various outputs.

あくまで一例として、出力装置1aは、机やボード、壁といった平面に映像を出力するプロジェクタとして実装することができる。例えば、出力装置1aは、机やボード、壁といった平面のうち、手書き入力やジェスチャを受け付ける領域に作業用画面を投影することができる。 As an example, the output device 1a can be mounted as a projector that outputs an image on a flat surface such as a desk, a board, or a wall. For example, the output device 1a can project a work screen on a plane such as a desk, a board, or a wall that accepts handwriting input or gestures.

環境センサ1aは、空間UIを提供する環境に設置されるセンサである。 The environment sensor 1a is a sensor installed in an environment that provides a spatial UI.

あくまで一例として、環境センサ1aは、出力装置1aにより平面に投影された作業用画面を撮像するカメラとして実装することができる。このように作業用画面が撮像された画像から手書き入力やジェスチャを検出することができる。例えば、赤外光付きの電子ペンが用いられる場合、カメラにより撮像された画像から赤外光の軌跡をトラッキングすることにより、手書き入力やジェスチャを検出することができる。 As an example, the environment sensor 1a can be mounted as a camera that captures a work screen projected on a plane by the output device 1a. In this way, handwriting input and gestures can be detected from the captured image of the work screen. For example, when an electronic pen with infrared light is used, handwriting input or gesture can be detected by tracking the trajectory of infrared light from an image captured by a camera.

ここで挙げる空間UIの機能は、あくまで一面に過ぎず、これ以外の既知の空間UIの機能が情報処理装置10により提供されることを妨げない。例えば、情報処理装置10は、上記の作業用画面の他にも、デジタル付箋を空間に表示させたり、図示しないユーザ端末の他、任意のコンピュータに保存された画像や動画などのメディアコンテンツ、あるいは文書を空間に表示させたり、デジタル付箋やメディアコンテンツ、文書に対する操作を受け付けたりすることができる。 The spatial UI function mentioned here is only one aspect, and does not prevent other known spatial UI functions from being provided by the information processing apparatus 10. For example, in addition to the above work screen, the information processing apparatus 10 may display a digital sticker in space, a user terminal (not shown), media content such as an image or a moving image stored in an arbitrary computer, or the information processing device 10. Documents can be displayed in space, and operations on digital stickers, media contents, and documents can be accepted.

なお、ここでは、あくまで一例として、1組の出力装置1aおよび環境センサ1bが用いられる例を説明したが、2組以上の出力装置1aおよび環境センサ1bが用いられることしてもかまわない。この他、出力装置1aおよび環境センサ1bが、プロジェクタおよびカメラ以外のハードウェアによって提供されることとしてもかまわない。例えば、机やボード、壁といった平面にタッチパネルを設置することにより出力装置1aおよび環境センサ1bに対応する機能を実現することもできる。 Although the example in which one set of output devices 1a and the environment sensor 1b is used has been described here as an example, two or more sets of output devices 1a and the environment sensor 1b may be used. In addition, the output device 1a and the environment sensor 1b may be provided by hardware other than the projector and the camera. For example, by installing the touch panel on a flat surface such as a desk, a board, or a wall, it is possible to realize a function corresponding to the output device 1a and the environment sensor 1b.

図1に示すように、情報処理装置10は、通信I/F(InterFace)部11と、記憶部13と、制御部15とを有する。図1には、データの授受の関係を表す実線が示されているが、説明の便宜上、最小限の部分について示されているに過ぎない。すなわち、各処理部に関するデータの入出力は、図示の例に限定されず、図示以外のデータの入出力、例えば処理部及び処理部の間、処理部及びデータの間、並びに、処理部及び外部装置の間のデータの入出力が行われることとしてもかまわない。 As shown in FIG. 1, the information processing apparatus 10 includes a communication I / F (InterFace) unit 11, a storage unit 13, and a control unit 15. In FIG. 1, a solid line showing the relationship between data transfer is shown, but for convenience of explanation, only the minimum part is shown. That is, the input / output of data relating to each processing unit is not limited to the illustrated example, and the input / output of data other than those shown in the illustration, for example, between the processing unit and the processing unit, between the processing unit and the data, and between the processing unit and the outside. Data may be input and output between the devices.

通信I/F部11は、他の装置、例えば出力装置1aや環境センサ1bなどとの間で通信制御を行うインタフェースである。 The communication I / F unit 11 is an interface that controls communication with other devices such as an output device 1a and an environment sensor 1b.

一実施形態として、通信I/F部11には、LAN(Local Area Network)カードなどのネットワークインタフェースカード等が対応する。例えば、通信I/F部11は、環境センサ1bから作業用画面が撮像された画像を受け付けたり、作業用画面および作業用画面上に手書き入力が行われた筆記などの表示データを出力装置1aへ出力したりする。 As one embodiment, the communication I / F unit 11 corresponds to a network interface card such as a LAN (Local Area Network) card. For example, the communication I / F unit 11 receives an image captured by the work screen from the environment sensor 1b, and outputs display data such as writing performed on the work screen and the work screen by handwriting. Output to.

記憶部13は、制御部15で実行されるOS(Operating System)を始め、アプリケーションプログラム、例えば上記の空間UIプログラム、あるいは空間UIプログラムがライブラリとして参照する筆記選択プログラムなどの各種プログラムに用いられるデータを記憶する機能部である。 The storage unit 13 includes data used in various programs such as an OS (Operating System) executed by the control unit 15, an application program, for example, the above-mentioned spatial UI program, or a writing selection program referred to by the spatial UI program as a library. It is a functional part that memorizes.

一実施形態として、記憶部13は、情報処理装置10における補助記憶装置として実装することができる。例えば、記憶部13には、HDD(Hard Disk Drive)、光ディスクやSSD(Solid State Drive)などを採用できる。なお、記憶部13は、必ずしも補助記憶装置として実装されずともよく、情報処理装置10における主記憶装置として実装することもできる。この場合、記憶部13には、各種の半導体メモリ素子、例えばRAM(Random Access Memory)やフラッシュメモリを採用できる。 As one embodiment, the storage unit 13 can be implemented as an auxiliary storage device in the information processing device 10. For example, an HDD (Hard Disk Drive), an optical disk, an SSD (Solid State Drive), or the like can be adopted as the storage unit 13. The storage unit 13 does not necessarily have to be mounted as an auxiliary storage device, and may be mounted as a main storage device in the information processing device 10. In this case, various semiconductor memory elements such as RAM (Random Access Memory) and flash memory can be adopted for the storage unit 13.

記憶部13は、制御部15で実行されるプログラムに用いられるデータの一例として、作業用画面に手書き入力が行われた筆記が記録された筆記データ13aを記憶する。この筆記データ13a以外にも、記憶部13には、他の電子データ、例えば作業用画面に表示させるデジタル付箋、メディアコンテンツ、文書などが記憶されることとしてもかまわない。 The storage unit 13 stores the writing data 13a in which the writing performed by handwriting input is recorded on the work screen as an example of the data used in the program executed by the control unit 15. In addition to the written data 13a, other electronic data such as digital sticky notes, media contents, and documents to be displayed on the work screen may be stored in the storage unit 13.

制御部15は、情報処理装置10の全体制御を行う処理部である。 The control unit 15 is a processing unit that controls the entire information processing apparatus 10.

一実施形態として、制御部15は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などのハードウェアプロセッサにより実装することができる。ここでは、プロセッサの一例として、CPUやMPUを例示したが、汎用型および特化型を問わず、任意のプロセッサ、例えばGPU(Graphics Processing Unit)やDSP(Digital Signal Processor)の他、GPGPU(General-Purpose computing on Graphics Processing Units)により実装することができる。この他、制御部15は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などのハードワイヤードロジックによって実現されることとしてもかまわない。 As one embodiment, the control unit 15 can be implemented by a hardware processor such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). Here, a CPU and an MPU are exemplified as an example of a processor, but any processor regardless of general-purpose type or specialized type, for example, GPU (Graphics Processing Unit), DSP (Digital Signal Processor), or GPGPU (General) -Can be implemented by Purpose computing on Graphics Processing Units). In addition, the control unit 15 may be realized by hard-wired logic such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

ここで、以下では、上記の空間UIの機能については既存の技術であるので、上記の筆記選択機能について詳細な説明を行う。 Here, since the above-mentioned spatial UI function is an existing technology, the above-mentioned writing selection function will be described in detail below.

例えば、制御部15は、図示しない主記憶装置として実装されるRAMのワークエリア上に、上記の空間UIプログラムにライブラリとして参照される筆記選択プログラム、あるいは上記の空間UIプログラムにアドオンされる筆記選択プログラムを展開することにより、下記の処理部を仮想的に実現する。 For example, the control unit 15 has a writing selection program referred to as a library in the above spatial UI program or a writing selection added to the above spatial UI program on a work area of a RAM mounted as a main storage device (not shown). By expanding the program, the following processing unit is virtually realized.

図1に示すように、制御部15は、受付部15aと、設定部15bと、第1判定部15cと、第1再設定部15dと、第2判定部15eと、第2再設定部15fと、筆記選択部15gとを有する。 As shown in FIG. 1, the control unit 15 includes a reception unit 15a, a setting unit 15b, a first determination unit 15c, a first resetting unit 15d, a second determination unit 15e, and a second resetting unit 15f. And 15 g of a writing selection unit.

受付部15aは、筆記領域の探索の基準となる基準領域を受け付ける処理部である。 The reception unit 15a is a processing unit that receives a reference area that serves as a reference for searching the writing area.

一実施形態として、受付部15aは、一文字分に対応する筆記の外接矩形を指定する操作を受け付ける。このようにして指定された外接矩形を「基準領域B」として受け付ける。例えば、「基準領域B」は、電子ペン等で矩形の四辺を記述させることにより受け付けることとしてもよいし、矩形の開始点および終了点を指定させることにより受け付けることとしてもよい。この他、電子ペンで何らかのジェスチャを行い、その外接矩形を基準領域Bとして算出してもよい。また、利用者が指定した矩形そのものでなく、所定の範囲の遊び領域を付加して拡大した領域を基準領域Bとしても良い。 As one embodiment, the reception unit 15a accepts an operation of designating a writing circumscribed rectangle corresponding to one character. The circumscribed rectangle specified in this way is accepted as the "reference area B". For example, the "reference area B" may be accepted by describing the four sides of the rectangle with an electronic pen or the like, or by designating the start point and the end point of the rectangle. In addition, some gesture may be performed with an electronic pen and the circumscribed rectangle thereof may be calculated as the reference region B. Further, instead of the rectangle itself designated by the user, an area expanded by adding a play area in a predetermined range may be used as the reference area B.

このように基準領域Bを受け付けた後、基準領域Bが探索済領域Dおよび確定済領域Fの初期値として設定される。ここで言う「探索済領域D」とは、その内部の筆記の探索が終了済みである領域のことを指す。また、「確定済領域F」とは、その内部に含まれる筆記が選択されることが確定済みである領域のことを指す。 After accepting the reference area B in this way, the reference area B is set as the initial values of the searched area D and the confirmed area F. The "searched area D" referred to here refers to an area in which the written search has been completed. Further, the "fixed area F" refers to an area in which the writing included in the area has been confirmed to be selected.

ここで、あくまで一例として、作業用画面に手書き入力が行われる文字列の方向、いわゆる書字方向が横書きである場合、探索済領域Dの左方向および右方向が筆記や空白を探索する探索方向となる。以下では、1つ側面として、探索済領域Dの左方向を探索方向とする場合を例に挙げて具体例を説明する。なお、探索方向が右方向である場合、各処理における左右を反転させて処理を実行することにより、探索方向が左方向である場合と同様に筆記を選択できるので、その説明は省略する。 Here, as an example, when the direction of the character string in which handwritten input is performed on the work screen, that is, the so-called writing direction is horizontal writing, the left and right directions of the searched area D are the search directions for searching for writing or blanks. It becomes. Hereinafter, as one aspect, a specific example will be described by taking as an example the case where the left direction of the searched area D is the search direction. When the search direction is the right direction, writing can be selected in the same manner as when the search direction is the left direction by inverting the left and right sides of each process and executing the process, so the description thereof will be omitted.

図2は、初期設定の一例を示す図である。図2には、作業用画面に手書き入力が行われた筆記の一例として、「ななな」の筆記が示されている。さらに、図2には、3つの「な」に対応する筆記のうち一番右の「な」の筆記を囲む矩形を基準領域Bとして受け付けた例が示されている。この場合、基準領域Bが探索済領域Dおよび確定済領域Fの初期値として設定される。 FIG. 2 is a diagram showing an example of initial settings. FIG. 2 shows the writing of "Nana" as an example of the writing in which the handwriting input is performed on the work screen. Further, FIG. 2 shows an example in which the rectangle surrounding the rightmost "na" writing among the writings corresponding to the three "na" is accepted as the reference area B. In this case, the reference area B is set as the initial value of the searched area D and the confirmed area F.

設定部15bは、筆記探索領域Sおよび空白探索領域Eを設定する処理部である。 The setting unit 15b is a processing unit that sets the writing search area S and the blank search area E.

一実施形態として、設定部15bは、探索済領域Dの探索方向に隣接する矩形の領域を筆記探索領域Sとして設定すると共に、当該筆記探索領域Sの部分領域を空白探索領域Eとして設定する。 As one embodiment, the setting unit 15b sets a rectangular area adjacent to the search direction of the searched area D as the writing search area S, and sets a partial area of the writing search area S as the blank search area E.

図3は、筆記探索領域Sおよび空白探索領域Eの設定例を示す図である。図3には、図2に示す基準領域B、探索済領域Dおよび確定済領域Fが初期設定された状況の下で筆記探索領域Sおよび空白探索領域Eが設定される例が示されている。図3に一点鎖線で示すように、設定部15bは、探索済領域Dの左辺と筆記探索領域Sの右辺とが一致する状態で基準領域Bの幅および高さと同一の幅および高さを持つ筆記探索領域Sを設定する。さらに、図3に破線で示すように、設定部15bは、探索済領域Dの左辺に空白探索領域Eの右辺が含まれる状態で筆記探索領域Sと同一の幅を持ち、かつ筆記探索領域Sの高さよりも短い高さを持つ空白探索領域Eを設定する。 FIG. 3 is a diagram showing a setting example of the writing search area S and the blank search area E. FIG. 3 shows an example in which the written search area S and the blank search area E are set under the situation where the reference area B, the searched area D, and the confirmed area F shown in FIG. 2 are initially set. .. As shown by the alternate long and short dash line in FIG. 3, the setting unit 15b has the same width and height as the width and height of the reference region B in a state where the left side of the searched area D and the right side of the written search area S coincide with each other. The writing search area S is set. Further, as shown by a broken line in FIG. 3, the setting unit 15b has the same width as the writing search area S in a state where the left side of the searched area D includes the right side of the blank search area E, and the writing search area S has the same width. A blank search area E having a height shorter than the height of is set.

より詳細には、探索済領域Dの矩形の左上の頂点の座標を(x1,y1)とし、右下の頂点の座標を(x2,y2)とし、幅をwとし、高さをhとし、x1およびx2の大小関係が「x2>x1」であり、y1およびy2の大小関係が「y2>y1」であるとする。このとき、筆記探索領域Sには、左上の頂点の座標(x1-w,y1)および右下の頂点の座標(x2-w,y2)を持つ矩形が設定される。さらに、空白探索領域Eには、左上の頂点の座標(x1-w,y1+0.2*h)および右下の頂点の座標(x2-w,y2-0.2*h)を持つ矩形が設定される。 More specifically, the coordinates of the upper left vertex of the rectangle of the searched region D are (x1, y1), the coordinates of the lower right vertex are (x2, y2), the width is w, and the height is h. It is assumed that the magnitude relationship between x1 and x2 is "x2> x1" and the magnitude relationship between y1 and y2 is "y2> y1". At this time, a rectangle having the coordinates of the upper left vertex (x1-w, y1) and the coordinates of the lower right vertex (x2-w, y2) is set in the writing search area S. Further, in the blank search area E, a rectangle having the coordinates of the upper left vertex (x1-w, y1 + 0.2 * h) and the coordinates of the lower right vertex (x2-w, y2-0.2 * h) is set. Will be done.

第1判定部15cは、筆記探索領域S内の筆記の有無を判定する処理部である。 The first determination unit 15c is a processing unit that determines whether or not there is writing in the writing search area S.

一実施形態として、第1判定部15cは、記憶部13に記憶された筆記データ13aから筆記探索領域Sに一部または全部が含まれる筆記を検索する。その上で、第1判定部15cは、筆記データ13aの検索結果として得られた筆記ごとに、当該筆記の外接矩形の中点が筆記探索領域Sに含まれるか否かを判定する。このとき、筆記の外接矩形の中点が筆記探索領域S内に含まれる場合、当該筆記が筆記探索領域S内に存在すると識別される。そして、第1判定部15cは、筆記データ13aの検索結果として得られた筆記の外接矩形の中点のいずれかが筆記探索領域Sに含まれる場合、筆記探索領域Sに筆記が存在すると判定する。 As one embodiment, the first determination unit 15c searches the writing data 13a stored in the storage unit 13 for writing including a part or all of the writing search area S. Then, the first determination unit 15c determines whether or not the midpoint of the circumscribed rectangle of the writing is included in the writing search area S for each writing obtained as the search result of the writing data 13a. At this time, when the midpoint of the circumscribed rectangle of writing is included in the writing search area S, it is identified that the writing exists in the writing search area S. Then, the first determination unit 15c determines that the writing exists in the writing search area S when any of the midpoints of the circumscribing rectangles of the writing obtained as the search result of the writing data 13a is included in the writing search area S. ..

なお、ここでは、筆記の外接矩形の中点が筆記探索領域S内に含まれるか否かにより当該筆記が筆記探索領域Sに存在すると識別する例を挙げたが、他の方法により筆記の有無を判定することができる。例えば、筆記の右端のドットが筆記探索領域Sに含まれるか否かにより筆記の有無を判定することもできる。 Here, an example is given in which the writing is identified as existing in the writing search area S depending on whether or not the midpoint of the circumscribed rectangle of the writing is included in the writing search area S. Can be determined. For example, the presence or absence of writing can be determined depending on whether or not the dot at the right end of writing is included in the writing search area S.

第1再設定部15dは、筆記探索領域Sを再設定する処理部である。 The first resetting unit 15d is a processing unit that resets the writing search area S.

一実施形態として、第1再設定部15dは、筆記探索領域Sに筆記が存在する場合、筆記探索領域S内の筆記集合が含まれるように探索済領域Dを拡張する。その上で、第1再設定部15dは、探索済領域Dに隣接する筆記探索領域Sを再設定する。 As one embodiment, when the writing is present in the writing search area S, the first resetting unit 15d expands the searched area D so that the writing set in the writing search area S is included. Then, the first resetting unit 15d resets the written search area S adjacent to the searched area D.

図4は、筆記探索領域Sの再設定の一例を示す図である。図4には、作業用画面に手書き入力が行われた筆記の一例として、「ののるな」の筆記が示されている。これらのうち左から1番目の「の」および左から2番目の「の」は、他の筆記「る」および「な」に比べて、サイズが小さく、さらに、位置も上側よりに存在する。このような筆記「ののるな」のうち、図4には、右から1番目の筆記「な」が探索済領域Dの初期値として設定されていると共に、その左辺に隣接する位置に筆記探索領域Sが設定されている状況下で筆記探索領域Sを再設定する例が示されている。 FIG. 4 is a diagram showing an example of resetting the writing search area S. FIG. 4 shows the writing of "Noruna" as an example of the writing in which the handwriting input is performed on the work screen. Of these, the first "no" from the left and the second "no" from the left are smaller in size than the other writing "ru" and "na", and the position is also located above the upper side. Of such writing "Noruna", in FIG. 4, the first writing "na" from the right is set as the initial value of the searched area D, and is written at a position adjacent to the left side thereof. An example of resetting the writing search area S under the situation where the search area S is set is shown.

図4に示すように、筆記探索領域Sには、左から2番目の筆記「の」や右から2番目の筆記「る」などが含まれる。このように筆記探索領域Sに筆記が存在する場合、第1再設定部15dは、探索済領域Dの左端を筆記探索領域S内に存在する筆記集合のうち左端のドットが存在する位置、すなわち左から2番目の筆記「の」の左端の位置に置き換えることにより、探索済領域Dを拡張する。さらに、第1再設定部15dは、筆記探索領域Sの右辺が探索済領域Dの左辺と重なる位置に筆記探索領域Sを左方向へシフトすることにより、新たな筆記探索領域Sを再設定する。 As shown in FIG. 4, the writing search area S includes the second writing "no" from the left and the second writing "ru" from the right. When writing exists in the writing search area S in this way, the first resetting unit 15d sets the left end of the searched area D to the position where the leftmost dot of the writing set existing in the writing search area S exists, that is, The searched area D is expanded by replacing it with the position at the left end of the writing "no", which is the second from the left. Further, the first resetting unit 15d resets the new writing search area S by shifting the writing search area S to the left at a position where the right side of the writing search area S overlaps with the left side of the searched area D. ..

第2判定部15eは、空白探索領域E内の筆記の有無を判定する処理部である。 The second determination unit 15e is a processing unit that determines whether or not there is writing in the blank search area E.

一実施形態として、第2判定部15eは、筆記探索領域Sに筆記が存在する場合、記憶部13に記憶された筆記データ13aから空白探索領域Eに一部または全部が含まれる筆記を検索する。その上で、第2判定部15eは、筆記データ13aの検索結果として得られた筆記ごとに、当該筆記の外接矩形の中点が空白探索領域Eに含まれるか否かを判定する。このとき、筆記の外接矩形の中点が空白探索領域E内に含まれる場合、当該筆記が空白探索領域Eに存在すると識別される。そして、第2判定部15eは、筆記データ13aの検索結果として得られた筆記の外接矩形の中点のいずれかが空白探索領域Eに含まれる場合、空白探索領域Eに筆記が存在すると判定する。 As one embodiment, when the writing is present in the writing search area S, the second determination unit 15e searches the writing data 13a stored in the storage unit 13 for the writing including a part or all of the blank search area E. .. Then, the second determination unit 15e determines whether or not the midpoint of the circumscribed rectangle of the writing is included in the blank search area E for each writing obtained as the search result of the writing data 13a. At this time, if the midpoint of the circumscribed rectangle of the writing is included in the blank search area E, it is identified that the writing exists in the blank search area E. Then, the second determination unit 15e determines that the writing exists in the blank search area E when any of the midpoints of the circumscribed rectangles of the writing obtained as the search result of the writing data 13a is included in the blank search area E. ..

第2再設定部15fは、空白探索領域Eを再設定する処理部である。 The second resetting unit 15f is a processing unit that resets the blank search area E.

一実施形態として、第2再設定部15fは、空白探索領域Eに筆記が存在する場合、空白探索領域E内の筆記集合が含まれるように確定済領域Fを拡張する。図5は、確定済領域Fの拡張の一例を示す図である。図5には、図4と同様、作業用画面に手書き入力が行われた筆記の一例として、「ののるな」の筆記が示されると共に、図4に示す筆記探索領域Sが再設定された時点の空白探索領域Eおよび確定済領域Fの初期値が示されている。図5に示すように、空白探索領域Eには、右から2番目の筆記「る」などが含まれる。このように空白探索領域Eに筆記が存在する場合、第2再設定部15fは、確定済領域Fの左端を空白探索領域E内に存在する筆記集合のうち左端のドットが存在する位置、すなわち右から2番目の筆記「る」の左端の位置に置き換えることにより、確定済領域Fを拡張する。 As one embodiment, the second resetting unit 15f expands the determined area F so that the writing set in the blank search area E is included when the writing exists in the blank search area E. FIG. 5 is a diagram showing an example of expansion of the confirmed region F. Similar to FIG. 4, FIG. 5 shows the writing of “Noruna” as an example of the writing in which the handwriting input is performed on the work screen, and the writing search area S shown in FIG. 4 is reset. The initial values of the blank search area E and the confirmed area F at the time point are shown. As shown in FIG. 5, the blank search area E includes the second writing “ru” from the right. When writing exists in the blank search area E in this way, the second resetting unit 15f sets the left end of the confirmed area F at the position where the left end dot of the writing set existing in the blank search area E exists, that is, The confirmed area F is expanded by replacing it with the position at the left end of the writing "ru", which is the second from the right.

このように確定済領域Fが拡張された後、第2再設定部15fは、探索済領域Dと確定済領域Fの差分が所定の閾値Th1以上であるか否かを判定する。 After the confirmed region F is expanded in this way, the second resetting unit 15f determines whether or not the difference between the searched region D and the confirmed region F is equal to or greater than the predetermined threshold value Th1.

図6A及び図6Bは、探索済領域Dと確定済領域Fの差分の一例を示す図である。図6Aには、図4に示す探索済領域Dの拡張が行われると共に、図5に示す確定済領域Fの拡張が行われた状況下における探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が示されている。さらに、図6Bには、図5に示す確定済領域Fの拡張が行われた後に更なる探索済領域Dの拡張が行われた状況下における探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が示されている。 6A and 6B are diagrams showing an example of the difference between the searched region D and the confirmed region F. In FIG. 6A, the coordinates of the left end of the searched area D and the confirmed area F under the condition that the searched area D shown in FIG. 4 is expanded and the confirmed area F shown in FIG. 5 is expanded are performed. The difference from the coordinates at the left end of is shown. Further, in FIG. 6B, the coordinates of the left end of the searched area D and the confirmed area F under the situation where the searched area D is further expanded after the confirmed area F shown in FIG. 5 is expanded are shown in FIG. The difference from the coordinates at the left end of is shown.

ここでは、あくまで一例として、閾値Th1が基準領域Bの幅w×1.25であることとして、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分と比較する例を説明する。図6Aに示すように、図5に示す確定済領域Fの拡張が行われた直後の段階では、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分は、閾値Th1(=w×1.25)以下となる。その一方で、図6Bに示すように、図5に示す確定済領域Fの拡張が行われた後に更なる探索済領域Dの拡張が行われた段階では、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分は、閾値Th1(=w×1.25)を超える。 Here, as an example, assuming that the threshold value Th1 is the width w × 1.25 of the reference region B, an example of comparing the difference between the coordinates of the left end of the searched region D and the coordinates of the left end of the confirmed region F is compared. explain. As shown in FIG. 6A, at the stage immediately after the expansion of the confirmed region F shown in FIG. 5, the difference between the coordinates of the left end of the searched region D and the coordinates of the left end of the confirmed region F is the threshold value Th1. It becomes (= w × 1.25) or less. On the other hand, as shown in FIG. 6B, at the stage where the searched area D is further expanded after the confirmed area F shown in FIG. 5 is expanded, the coordinates at the left end of the searched area D are used. The difference from the coordinates at the left end of the fixed region F exceeds the threshold value Th1 (= w × 1.25).

ここで、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が閾値Th1以下である場合、第2再設定部15fは、空白探索領域Eの上下端の座標はそのままとし、空白探索領域Eの右端の座標を確定済領域Fの左端の座標に置換すると共に空白探索領域Eの左端の座標を筆記探索領域Sの左端の座標に置き換えることにより、空白探索領域Eを再設定する。 Here, when the difference between the coordinates of the left end of the searched area D and the coordinates of the left end of the confirmed area F is the threshold value Th1 or less, the second resetting unit 15f keeps the coordinates of the upper and lower ends of the blank search area E as they are. By replacing the coordinates of the right end of the blank search area E with the coordinates of the left end of the confirmed area F and replacing the coordinates of the left end of the blank search area E with the coordinates of the left end of the written search area S, the blank search area E is replaced with the coordinates of the left end of the written search area S. Reset.

図7は、空白探索領域Eの再設定の一例を示す図である。図7には、図6Aに示す差分が閾値Th1以下であると判定された時点における筆記探索領域S、空白探索領域Eおよび確定済領域Fが示されている。図7に示すように、第2再設定部15fは、空白探索領域Eのうち確定済領域Fと重複する部分、図7に右肩下がりのハッチングで示された領域を特定する。続いて、第2再設定部15fは、空白探索領域Eから確定済領域Fと重複する部分が除外された領域Qと、筆記探索領域Sから図3に示す空白探索領域Eと同様の計算により得られる部分領域Pとを特定する。その上で、第2再設定部15fは、先に特定した領域Qおよび部分領域Pを包含する外接矩形を新たな空白探索領域E´として再設定する。 FIG. 7 is a diagram showing an example of resetting the blank search area E. FIG. 7 shows a writing search area S, a blank search area E, and a confirmed area F at the time when it is determined that the difference shown in FIG. 6A is equal to or less than the threshold value Th1. As shown in FIG. 7, the second resetting unit 15f identifies a portion of the blank search region E that overlaps with the confirmed region F, and a region shown by hatching with a downward slope in FIG. 7. Subsequently, the second resetting unit 15f performs the same calculation as the blank search area E shown in FIG. 3 from the written search area S and the area Q in which the portion overlapping with the confirmed area F is excluded from the blank search area E. The obtained partial region P is specified. Then, the second resetting unit 15f resets the circumscribed rectangle including the previously specified region Q and the partial region P as a new blank search region E'.

このように空白探索領域E´が再設定された場合、第1判定部15cの処理が改めて実行される。その後、第1判定部15cにより筆記探索領域Sに筆記がないと判定されるか、あるいは第2再設定部15fにより探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が閾値を超えると判定されるまで、第1判定部15c、第1再設定部15d、第2判定部15e、第2再設定部15fの処理が繰り返して実行される。 When the blank search area E'is reset in this way, the process of the first determination unit 15c is executed again. After that, the first determination unit 15c determines that there is no writing in the writing search area S, or the second resetting unit 15f determines the difference between the leftmost coordinate of the searched area D and the leftmost coordinate of the confirmed area F. Is repeatedly executed by the first determination unit 15c, the first resetting unit 15d, the second determination unit 15e, and the second resetting unit 15f until it is determined that the value exceeds the threshold value.

筆記選択部15gは、筆記を選択する処理部である。 The writing selection unit 15g is a processing unit for selecting writing.

1つの側面として、筆記選択部15gは、第1判定部15cにより筆記探索領域Sに筆記がないと判定された場合、探索済領域D内に存在する筆記を選択する。図8は、筆記選択の一例を示す図である。図8には、図2に示す筆記「ななな」において筆記探索領域Sの再設定が限界まで実行された時点における探索済領域Dが示されている。すなわち、図8に示すように、筆記探索領域に筆記が含まれない場合、筆記選択部15gは、探索済領域Dに含まれる筆記「ななな」を選択する。 As one aspect, when the first determination unit 15c determines that there is no writing in the writing search area S, the writing selection unit 15g selects the writing existing in the searched area D. FIG. 8 is a diagram showing an example of writing selection. FIG. 8 shows the searched area D at the time when the resetting of the writing search area S is executed to the limit in the writing “Nana” shown in FIG. That is, as shown in FIG. 8, when the writing is not included in the writing search area, the writing selection unit 15g selects the writing “Nana” included in the searched area D.

他の側面として、筆記選択部15gは、第2再設定部15fにより探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が閾値Th1を超えると判定された場合、確定済領域F内に存在する筆記を選択する。すなわち、図6Bに示された例のように、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が閾値Th1を超える場合、筆記選択部15gは、確定済領域Fに含まれる筆記「るな」を選択する。 As another aspect, the writing selection unit 15g is determined when the second resetting unit 15f determines that the difference between the coordinates of the left end of the searched area D and the coordinates of the left end of the confirmed area F exceeds the threshold value Th1. Select the writing that exists in the finished area F. That is, as in the example shown in FIG. 6B, when the difference between the coordinates of the left end of the searched region D and the coordinates of the left end of the confirmed region F exceeds the threshold value Th1, the writing selection unit 15g is the confirmed region F. Select the writing "Luna" included in.

このように選択された筆記、以下「選択状態の筆記」は、一例として、未選択の筆記の表示形態と異なる表示形態で表示させることができる。例えば、筆記選択部15gは、選択状態の筆記もしくは選択状態の筆記を含む外接矩形を反転表示したり、蛍光マーカー等で表示したりすることができる。この他、筆記選択部15gは、作業画面上で選択状態の筆記もしくは選択状態の筆記を含む外接矩形の近傍に選択状態の筆記をコピーするアイコン、選択状態の筆記に文字認識を実行するアイコン、選択状態の筆記に文字認識が行われたテキストを用いてWeb検索を行うアイコンなどを表示することもできる。 The writing selected in this way, hereinafter "writing in the selected state", can be displayed in a display form different from the display form of the unselected writing, as an example. For example, the writing selection unit 15g can highlight the writing in the selected state or the circumscribed rectangle including the writing in the selected state, or display it with a fluorescent marker or the like. In addition, the writing selection unit 15g has an icon for copying the selected writing in the vicinity of the extrinsic rectangle including the selected writing or the selected writing on the work screen, and an icon for executing character recognition for the selected writing. It is also possible to display an icon or the like for Web search using the text in which the character is recognized in the written writing in the selected state.

[処理の流れ]
図9は、実施例1に係る筆記選択処理の手順を示すフローチャートである。この処理は、一例として、基準領域Bを受け付けた場合に実行される。図9に示すように、受付部15aは、基準領域Bを受け付けると、基準領域Bを探索済領域Dおよび確定済領域Fの初期値として設定する(ステップS101)。
[Processing flow]
FIG. 9 is a flowchart showing the procedure of the writing selection process according to the first embodiment. This process is executed, for example, when the reference area B is accepted. As shown in FIG. 9, when the reception unit 15a receives the reference area B, the reception unit 15a sets the reference area B as the initial values of the searched area D and the confirmed area F (step S101).

続いて、設定部15bは、ステップS101で初期設定された探索済領域Dの探索方向に隣接する矩形の領域を筆記探索領域Sとして設定すると共に、当該筆記探索領域Sの部分領域を空白探索領域Eとして設定する(ステップS102)。 Subsequently, the setting unit 15b sets a rectangular area adjacent to the search direction of the searched area D initially set in step S101 as the writing search area S, and sets a partial area of the writing search area S as a blank search area. It is set as E (step S102).

そして、第1判定部15cは、筆記探索領域Sに筆記が存在するか否かを判定する(ステップS103)。このとき、筆記探索領域Sに筆記が存在する場合(ステップS103Yes)、第1再設定部15dは、筆記探索領域S内の筆記集合が含まれるように探索済領域Dを拡張する(ステップS104)。その上で、第1再設定部15dは、探索済領域Dに隣接する筆記探索領域Sを再設定する(ステップS105)。 Then, the first determination unit 15c determines whether or not the writing exists in the writing search area S (step S103). At this time, when writing exists in the writing search area S (step S103Yes), the first resetting unit 15d expands the searched area D so that the writing set in the writing search area S is included (step S104). .. Then, the first resetting unit 15d resets the writing search area S adjacent to the searched area D (step S105).

その後、第2判定部15eは、空白探索領域Eに筆記が存在するか否かを判定する(ステップS106)。このとき、空白探索領域Eに筆記が存在する場合(ステップS106Yes)、第2再設定部15fは、空白探索領域E内の筆記集合が含まれるように確定済領域Fを拡張する(ステップS107)。なお、空白探索領域Eに筆記が存在しない場合(ステップS106No)、ステップS107をスキップしてステップS108の処理へ移行する。 After that, the second determination unit 15e determines whether or not the writing exists in the blank search area E (step S106). At this time, when writing exists in the blank search area E (step S106Yes), the second resetting unit 15f expands the confirmed area F so that the writing set in the blank search area E is included (step S107). .. If there is no writing in the blank search area E (step S106 No), step S107 is skipped and the process proceeds to step S108.

そして、第2再設定部15fは、探索済領域Dと確定済領域Fの差分が所定の閾値Th1以上であるか否かを判定する(ステップS108)。このとき、差分が閾値Th1以下である場合(ステップS108Yes)、第2再設定部15fは、空白探索領域Eから確定済領域Fと重複する部分が除外された領域Qと、筆記探索領域Sの部分領域Pとに基づいて、空白探索領域Eを再設定する(ステップS109)。 Then, the second resetting unit 15f determines whether or not the difference between the searched region D and the confirmed region F is equal to or greater than a predetermined threshold value Th1 (step S108). At this time, when the difference is equal to or less than the threshold value Th1 (step S108Yes), the second resetting unit 15f has the area Q in which the portion overlapping with the confirmed area F is excluded from the blank search area E and the writing search area S. The blank search area E is reset based on the partial area P (step S109).

その後、筆記探索領域Sに筆記が存在し、差分が閾値Th1以下である限り(ステップS103YesかつステップS108Yes)、上記のステップS103~上記のステップS109の処理が繰り返し実行される。 After that, as long as writing exists in the writing search area S and the difference is equal to or less than the threshold value Th1 (step S103Yes and step S108Yes), the processes of step S103 to step S109 are repeatedly executed.

ここで、筆記探索領域Sに筆記がない場合(ステップS103No)、筆記選択部15gは、探索済領域D内に存在する筆記を選択し(ステップS110)、処理を終了する。また、探索済領域Dの左端の座標と確定済領域Fの左端の座標との差分が閾値Th1を超える場合(ステップS108No)、筆記選択部15gは、確定済領域F内に存在する筆記を選択し(ステップS111)、処理を終了する。 Here, when there is no writing in the writing search area S (step S103No), the writing selection unit 15g selects the writing existing in the searched area D (step S110), and ends the process. Further, when the difference between the leftmost coordinate of the searched area D and the leftmost coordinate of the confirmed area F exceeds the threshold value Th1 (step S108No), the writing selection unit 15g selects the writing existing in the confirmed area F. (Step S111), and the process is terminated.

なお、図9に示す筆記選択処理は、作業用画面の書字方向が横書きである場合、左方向および右方向の2つの探索方向ごとに上記のステップS101~上記のステップS111の処理が実行される。そして、探索方向ごとに得られた筆記の和集合が選択される。 In the writing selection process shown in FIG. 9, when the writing direction of the work screen is horizontal writing, the processes of the above steps S101 to the above step S111 are executed for each of the two search directions of the left direction and the right direction. To. Then, the written union obtained for each search direction is selected.

[効果の一側面]
以上のように、図9に示した筆記選択処理によれば、作業用画面上に表示された筆記のうち一文字分相当のサイズを基準領域として指定することで筆記を選択できるので、大画面のユーザインタフェースが提供される場合でも、筆記選択操作を最小限の範囲の指定を受け付けることにより実現できる。したがって、筆記の選択を容易に行うことが可能である。
[One aspect of the effect]
As described above, according to the writing selection process shown in FIG. 9, writing can be selected by designating the size equivalent to one character of the writing displayed on the work screen as the reference area, so that the writing can be selected on the large screen. Even if a user interface is provided, the writing selection operation can be realized by accepting a minimum range of specifications. Therefore, it is possible to easily select writing.

このように大画面のユーザインタフェースにおける筆記選択操作の利便性を向上させることができる他、図9に示した筆記選択処理によれば、複数人の利用者により筆記が入力されるマルチユーザの環境にロバストな筆記選択を実現できる。 In addition to being able to improve the convenience of the writing selection operation in the user interface of a large screen in this way, according to the writing selection process shown in FIG. 9, a multi-user environment in which writing is input by a plurality of users. You can realize a very robust writing selection.

[マルチユーザ環境における課題の一側面]
すなわち、上記のマルチユーザの環境では、大小様々なサイズの筆記が混在したり、異なる利用者により手書き入力が行われた筆記の位置が互いに近接したり、複数行にわたる筆記が手書き入力されたり、筆記の書字方向が縦横のみならず、斜め方向にばらついたりなどといったように自由な筆記が行われる。このように自由に筆記ができる環境が空間UIにより提供される一方で、異なる利用者の筆記が混じらない状態で筆記を選択するのは困難である一面がある。
[One aspect of issues in a multi-user environment]
That is, in the above-mentioned multi-user environment, writing of various sizes may be mixed, the positions of writing performed by different users may be close to each other, or writing over multiple lines may be input by handwriting. Free writing is performed, such as the writing direction of writing varies not only vertically and horizontally but also diagonally. While the spatial UI provides an environment in which writing can be freely performed in this way, it is difficult to select writing without mixing the writings of different users.

図10A~図10Dは、作業用画面の一例を示す図である。図10Aには、利用者Aにより手書き入力が行われた筆記「チャット」が示されている。図10Aに示す作業用画面から利用者Aの筆記を選択する場合、促音拗音に対応する筆記「ャ」や「ッ」も漏らさずに選択したい。また、図10Bには、利用者Bにより手書き入力が行われた筆記『「東京都」』が示されている。図10Bに示す作業用画面から利用者Bの筆記を選択する場合、カギ括弧に対応する筆記『「』や『」』も漏らさずに選択したい。このように、促音拗音あるいはカギ括弧などの一部の記号は、漢字、母音や子音に対応するひらがなやカタカナよりもサイズが小さい。このように文字のサイズがばらつく場合でも、同一の利用者により手書き入力が行われた筆記を漏らさずに選択することが好ましい。 10A to 10D are views showing an example of a work screen. FIG. 10A shows a written “chat” in which handwriting input is performed by the user A. When selecting the writing of the user A from the work screen shown in FIG. 10A, it is desired to select the writings "ya" and "tsu" corresponding to the sokuon yoon without omission. Further, FIG. 10B shows the writing "" Tokyo "" in which the handwriting input is performed by the user B. When selecting the writing of user B from the work screen shown in FIG. 10B, it is desired to select the writing "" and "" "corresponding to the key brackets without omission. Thus, some symbols, such as sokuon yoon or brackets, are smaller in size than hiragana and katakana, which correspond to kanji, vowels, and consonants. Even when the size of the characters varies in this way, it is preferable to select the writings that have been handwritten by the same user without omission.

また、図10Cには、利用者Cにより筆記「川崎市中原区」が手書き入力されると共に、筆記「川崎市中原区」の右端の上部から開始して筆記「川崎市中原区」よりも小さなサイズで利用者Dにより筆記「そのまま」が手書き入力されている。また、図10Dには、利用者Eにより筆記「この場合」が手書き入力されると共に、筆記「この場合」の右端の下部から開始して筆記「この場合」よりも大きなサイズで利用者Fにより筆記「ななななな」が手書き入力されている。 Further, in FIG. 10C, the writing "Nakahara Ward, Kawasaki City" is handwritten by the user C, and the writing "Nakahara Ward, Kawasaki City" is smaller than the writing "Nakahara Ward, Kawasaki City" starting from the upper right end. The writing "as is" is handwritten by the user D in the size. Further, in FIG. 10D, the writing "in this case" is handwritten by the user E, and the writing "in this case" is started from the lower right end by the user F in a size larger than the writing "in this case". The written "Nana Nana" is handwritten.

例えば、図10Cに示す作業用画面から、利用者Cの筆記「川崎市中原区」を選択することを意図する場合、利用者Dの筆記「そのまま」を無視したい。また、図10Dに示す作業用画面から、利用者Fの筆記「ななななな」を選択することを意図する場合、利用者Eの筆記「この場合」を無視したい。 For example, when the intention is to select the writing "Nakahara-ku, Kawasaki City" of the user C from the work screen shown in FIG. 10C, the writing "as is" of the user D is desired to be ignored. Further, when the intention is to select the writing "Nana Nana" of the user F from the work screen shown in FIG. 10D, it is desired to ignore the writing "in this case" of the user E.

ここで、同一の利用者により手書き入力が行われた筆記として、図10A及び図10Bに示す促音拗音あるいはカギ括弧などの一部の記号に対応する筆記を選択しながらも、他の利用者の筆記が混在する場合、基準領域として一文字分に対応する範囲の指定を受け付けた利用者の筆記を図10C及び図10Dに示す他の利用者の筆記、例えば「そのまま」や「この場合」と分離して筆記を選択するのは、困難である側面がある。 Here, as the writing performed by the same user by handwriting, while selecting the writing corresponding to some symbols such as the sokuon or the key bracket shown in FIGS. 10A and 10B, the writing of another user When writing is mixed, the writing of the user who accepted the designation of the range corresponding to one character as the reference area is separated from the writing of other users shown in FIGS. 10C and 10D, for example, "as is" or "in this case". There are some aspects that are difficult to choose for writing.

すなわち、既存の技術においても、OCRやナンバプレートの認識などの他分野まで拡張すれば、文字の連続性を判定する処理を行うものも存在する。しかしながら、既存の技術における文字の連続性の判定は、いずれも横並びまたは縦並びの同一サイズの文字列を抽出することが限界である。例えば、文字の連続性の判定により、図10A及び図10Bに示す促音拗音あるいはカギ括弧などの一部の記号に対応する筆記も一連の筆記と認識する場合、図10Cに示す筆記「そのまま」や図10Dに示す筆記「この場合」も一連の筆記として認識されることは避け得ない。 That is, even in the existing technology, if it is extended to other fields such as OCR and number plate recognition, there is a process for determining the continuity of characters. However, the determination of the continuity of characters in the existing technology is limited to extracting character strings of the same size side by side or vertically. For example, when the writing corresponding to some symbols such as the sokuon and the brackets shown in FIGS. 10A and 10B is recognized as a series of writings by the determination of the continuity of the characters, the writing "as is" shown in FIG. 10C or It is inevitable that the writing "in this case" shown in FIG. 10D is also recognized as a series of writing.

このように、既存の技術では実現が困難であるマルチユーザ対応の筆記選択機能を、図9に示す筆記選択処理により実現できる。この点を図11A、図11B、図12A、図12Bを用いて下記に説明する。 As described above, the multi-user-compatible writing selection function, which is difficult to realize with the existing technology, can be realized by the writing selection process shown in FIG. This point will be described below with reference to FIGS. 11A, 11B, 12A, and 12B.

(1)動作例1
図11A及び図11Bは、筆記選択の動作例1を示す図である。図11A及び図11Bには、筆記「なった」のうち「た」の部分を基準領域Bとして受け付け、基準領域Bにしたがって筆記選択を行う例が示されている。
(1) Operation example 1
11A and 11B are diagrams showing operation example 1 of writing selection. 11A and 11B show an example in which the part of "ta" in the writing "become" is accepted as the reference area B and the writing is selected according to the reference area B.

図11Aに示すように、t1の時点では、基準領域Bが探索済領域Dおよび確定済領域Fの初期値として設定される(ステップS101_ループ1)。このt1に続くt2の時点では、図中の一点鎖線で示すように、探索済領域Dの左辺と筆記探索領域Sの右辺とが一致する状態で基準領域Bの幅および高さと同一の幅および高さを持つ筆記探索領域Sが設定される。さらに、図中の破線で示すように、探索済領域Dの左辺に空白探索領域Eの右辺が含まれる状態で筆記探索領域Sと同一の幅を持ち、かつ筆記探索領域Sの高さよりも短い高さを持つ空白探索領域Eが設定される(ステップS102_ループ1)。 As shown in FIG. 11A, at the time of t1, the reference region B is set as the initial values of the searched region D and the confirmed region F (step S101_loop 1). At the time of t2 following t1, as shown by the alternate long and short dash line in the figure, the width and height of the reference region B are the same as the width and height of the reference region B in a state where the left side of the searched region D and the right side of the written search region S coincide with each other. The writing search area S having a height is set. Further, as shown by the broken line in the figure, the left side of the searched area D includes the right side of the blank search area E, has the same width as the written search area S, and is shorter than the height of the written search area S. A blank search area E having a height is set (step S102_loop 1).

ここで、筆記探索領域Sに筆記が含まれるか否かが判定される(ステップS103_ループ1)。ここでは、筆記探索領域Sに筆記「っ」が含まれるので、ステップS103の分岐はYesに進む。そして、t3の時点では、筆記探索領域S内の筆記「っ」が含まれるように探索済領域Dが拡張される(ステップS104_ループ1)。次に、t4の時点では、探索済領域Dに隣接する筆記探索領域Sが再設定される(ステップS105_ループ1)。 Here, it is determined whether or not the writing is included in the writing search area S (step S103_loop 1). Here, since the writing search area S includes the writing “tsu”, the branch in step S103 proceeds to Yes. Then, at the time of t3, the searched area D is expanded so that the writing “tsu” in the writing search area S is included (step S104_loop 1). Next, at the time of t4, the writing search area S adjacent to the searched area D is reset (step S105_loop 1).

その後、空白探索領域Eに筆記が含まれるか否かが判定される(ステップS106_ループ1)。ここでは、空白探索領域Eには、筆記が含まれないので、ステップS106の分岐はNoに進む。この場合、ステップS107の確定済領域Fの拡張はスキップされる。そして、t5の時点では、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分が閾値Th1以下であるか否かが判定される(ステップS108_ループ1)。 After that, it is determined whether or not the blank search area E includes writing (step S106_loop 1). Here, since the blank search area E does not include writing, the branch in step S106 proceeds to No. In this case, the expansion of the fixed area F in step S107 is skipped. Then, at the time of t5, it is determined whether or not the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is equal to or less than the threshold value Th1 (step S108_loop 1). ..

ここでは、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分は閾値Th1以下であるので、ステップS108の分岐はYesに進む。続いて、t6の時点では、空白探索領域Eから確定済領域Fと重複する部分が除外された領域Qと、筆記探索領域Sの部分領域Pとを包含する外接矩形が空白探索領域Eとして再設定される(ステップS109_ループ1)。 Here, since the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is the threshold value Th1 or less, the branch in step S108 proceeds to Yes. Subsequently, at the time of t6, the circumscribed rectangle including the region Q in which the portion overlapping with the confirmed region F is excluded from the blank search region E and the partial region P of the written search region S is re-used as the blank search region E. It is set (step S109_loop 1).

このようにステップS109_ループ1が実行された後、2回目のループに移行する。そして、ステップS105_ループ1で再設定された筆記探索領域Sに筆記が含まれるか否かが判定される(ステップS103_ループ2)。ここでは、ステップS105_ループ1で再設定された筆記探索領域Sに筆記「な」が含まれるので、ステップS103_ループ2の分岐はYesに進む。そして、図11Bに示すように、t7の時点では、筆記探索領域S内の筆記「な」が含まれるように探索済領域Dが拡張される(ステップS104_ループ2)。次に、t8の時点では、探索済領域Dに隣接する筆記探索領域Sが再設定される(ステップS105_ループ2)。 After the step S109_loop 1 is executed in this way, the process proceeds to the second loop. Then, it is determined whether or not the writing is included in the writing search area S reset in step S105_loop 1 (step S103_loop 2). Here, since the writing “na” is included in the writing search area S reset in step S105_loop 1, the branch of step S103_loop 2 proceeds to Yes. Then, as shown in FIG. 11B, at the time of t7, the searched area D is expanded so as to include the writing “na” in the writing search area S (step S104_loop 2). Next, at the time of t8, the writing search area S adjacent to the searched area D is reset (step S105_loop 2).

その後、ステップS109_ループ1で再設定された空白探索領域Eに筆記が含まれるか否かが判定される(ステップS106_ループ2)。ここでは、空白探索領域Eには、筆記「な」が含まれるので、ステップS106_ループ2の分岐はYesに進む。続いて、t9の時点では、空白探索領域E内の筆記集合「な」が含まれるように確定済領域Fが拡張される(ステップS107_ループ2)。 After that, it is determined whether or not the writing is included in the blank search area E reset in step S109_loop 1 (step S106_loop 2). Here, since the blank search area E includes the writing “na”, the branch of step S106_loop 2 proceeds to Yes. Subsequently, at the time of t9, the confirmed region F is expanded so that the writing set “na” in the blank search region E is included (step S107_loop 2).

そして、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分が閾値Th1以下であるか否かが判定される(ステップS108_ループ2)。ここでは、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標が一致するので、ステップS108の分岐はYesに進む。続いて、t10の時点では、空白探索領域Eから確定済領域Fと重複する部分が除外された領域Qと、筆記探索領域Sの部分領域Pとを包含する外接矩形が空白探索領域Eとして再設定される(ステップS109_ループ2)。 Then, it is determined whether or not the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is equal to or less than the threshold value Th1 (step S108_loop 2). Here, since the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F match, the branch of step S108 proceeds to Yes. Subsequently, at the time of t10, the circumscribed rectangle including the region Q in which the portion overlapping with the confirmed region F is excluded from the blank search region E and the partial region P of the written search region S is re-used as the blank search region E. It is set (step S109_loop 2).

このようにステップS109_ループ2が実行された後、3回目のループに移行する。そして、ステップS105_ループ2で再設定された筆記探索領域Sに筆記が含まれるか否かが判定される(ステップS103_ループ3)。ここでは、ステップS105_ループ1で再設定された筆記探索領域Sに筆記「な」が含まれるので、ステップS103_ループ2の分岐はNoに進む。次に、t11の時点では、探索済領域D、図中の右肩下がりのハッチング部分に含まれる筆記「なった」が選択される(ステップS110)。 After the step S109_loop 2 is executed in this way, the process proceeds to the third loop. Then, it is determined whether or not the writing is included in the writing search area S reset in step S105_loop 2 (step S103_loop 3). Here, since the writing “na” is included in the writing search area S reset in step S105_loop 1, the branch of step S103_loop 2 proceeds to No. Next, at the time of t11, the written “become” included in the searched area D and the hatched portion with a downward slope in the figure is selected (step S110).

以上のように、図9に示す筆記選択処理を実行することで、同一の利用者により手書き入力が行われた筆記「なった」の選択時に促音拗音に対応する筆記「っ」を漏らさずに選択することができる。 As described above, by executing the writing selection process shown in FIG. 9, the writing "tsu" corresponding to the sokuon yoon is not leaked when the writing "Nata", which was handwritten by the same user, is selected. You can choose.

(2)動作例2
図12A及び図12Bは、筆記選択の動作例2を示す図である。図12A及び図12Bには、ある利用者により手入力が行われた筆記「その他」と共に、当該筆記「その他」の右端の上部から開始して筆記「その他」よりも大きなサイズで別の利用者により手入力が行われた筆記「た」が作業用画面に含まれる例が示されている。このような作業用画面に含まれる筆記のうち「た」の部分を基準領域Bとして受け付け、基準領域Bにしたがって筆記選択を行う例が示されている。
(2) Operation example 2
12A and 12B are diagrams showing operation example 2 of writing selection. In FIGS. 12A and 12B, along with the writing "Other" manually input by one user, another user with a size larger than the writing "Other" starting from the upper right end of the writing "Other". An example is shown in which the writing "ta" manually entered by is included in the work screen. An example is shown in which the "ta" part of the writing included in such a work screen is accepted as the reference area B, and the writing is selected according to the reference area B.

図12Aに示すように、t1の時点では、基準領域Bが探索済領域Dおよび確定済領域Fの初期値として設定される(ステップS101_ループ1)。このt1に続くt2の時点では、図中の一点鎖線で示すように、探索済領域Dの左辺と筆記探索領域Sの右辺とが一致する状態で基準領域Bの幅および高さと同一の幅および高さを持つ筆記探索領域Sが設定される。さらに、図中の破線で示すように、探索済領域Dの左辺に空白探索領域Eの右辺が含まれる状態で筆記探索領域Sと同一の幅を持ち、かつ筆記探索領域Sの高さよりも短い高さを持つ空白探索領域Eが設定される(ステップS102_ループ1)。 As shown in FIG. 12A, at the time of t1, the reference region B is set as the initial values of the searched region D and the confirmed region F (step S101_loop 1). At the time of t2 following t1, as shown by the alternate long and short dash line in the figure, the width and height of the reference region B are the same as the width and height of the reference region B in a state where the left side of the searched region D and the right side of the written search region S coincide with each other. The writing search area S having a height is set. Further, as shown by the broken line in the figure, the left side of the searched area D includes the right side of the blank search area E, has the same width as the written search area S, and is shorter than the height of the written search area S. A blank search area E having a height is set (step S102_loop 1).

ここで、筆記探索領域Sに筆記が含まれるか否かが判定される(ステップS103_ループ1)。ここでは、筆記探索領域Sに筆記「の」や「他」が含まれるので、ステップS103の分岐はYesに進む。そして、t3の時点では、筆記探索領域S内の筆記「の」および筆記「他」が含まれるように探索済領域Dが拡張される(ステップS104_ループ1)。次に、t4の時点では、探索済領域Dに隣接する筆記探索領域Sが再設定される(ステップS105_ループ1)。 Here, it is determined whether or not the writing is included in the writing search area S (step S103_loop 1). Here, since the writing search area S includes the writing “no” and “other”, the branch of step S103 proceeds to Yes. Then, at the time of t3, the searched area D is expanded so that the writing “no” and the writing “other” in the writing search area S are included (step S104_loop 1). Next, at the time of t4, the writing search area S adjacent to the searched area D is reset (step S105_loop 1).

その後、空白探索領域Eに筆記が含まれるか否かが判定される(ステップS106_ループ1)。ここでは、空白探索領域Eには、筆記が含まれないので、ステップS106_ループ1の分岐はNoに進む。この場合、ステップS107の確定済領域Fの拡張はスキップされる。そして、t5の時点では、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分が閾値Th1以下であるか否かが判定される(ステップS108_ループ1)。 After that, it is determined whether or not the blank search area E includes writing (step S106_loop 1). Here, since the blank search area E does not include writing, the branch of step S106_loop 1 proceeds to No. In this case, the expansion of the fixed area F in step S107 is skipped. Then, at the time of t5, it is determined whether or not the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is equal to or less than the threshold value Th1 (step S108_loop 1). ..

ここでは、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分は閾値Th1以下であるので、ステップS108の分岐はYesに進む。続いて、t6の時点では、空白探索領域Eから確定済領域Fと重複する部分が除外された領域Qと、筆記探索領域Sの部分領域Pとを包含する外接矩形が空白探索領域Eとして再設定される(ステップS109_ループ1)。 Here, since the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is the threshold value Th1 or less, the branch in step S108 proceeds to Yes. Subsequently, at the time of t6, the circumscribed rectangle including the region Q in which the portion overlapping with the confirmed region F is excluded from the blank search region E and the partial region P of the written search region S is re-used as the blank search region E. It is set (step S109_loop 1).

このようにステップS109_ループ1が実行された後、2回目のループに移行する。そして、ステップS105_ループ1で再設定された筆記探索領域Sに筆記が含まれるか否かが判定される(ステップS103_ループ2)。ここでは、ステップS105_ループ1で再設定された筆記探索領域Sに筆記「そ」が含まれるので、ステップS103_ループ2の分岐はYesに進む。そして、図12Bに示すように、t7の時点では、筆記探索領域S内の筆記「そ」が含まれるように探索済領域Dが拡張される(ステップS104_ループ2)。次に、t8の時点では、探索済領域Dに隣接する筆記探索領域Sが再設定される(ステップS105_ループ2)。 After the step S109_loop 1 is executed in this way, the process proceeds to the second loop. Then, it is determined whether or not the writing is included in the writing search area S reset in step S105_loop 1 (step S103_loop 2). Here, since the writing “so” is included in the writing search area S reset in step S105_loop 1, the branch of step S103_loop 2 proceeds to Yes. Then, as shown in FIG. 12B, at the time of t7, the searched area D is expanded so that the writing “so” in the writing search area S is included (step S104_loop 2). Next, at the time of t8, the writing search area S adjacent to the searched area D is reset (step S105_loop 2).

その後、ステップS109_ループ1で再設定された空白探索領域Eに筆記が含まれるか否かが判定される(ステップS106_ループ2)。ここでも、空白探索領域Eには、筆記が含まれないので、ステップS106_ループ2の分岐はNoに進む。この場合、ステップS107の確定済領域Fの拡張はスキップされる。 After that, it is determined whether or not the writing is included in the blank search area E reset in step S109_loop 1 (step S106_loop 2). Again, since the blank search area E does not include writing, the branch of step S106_loop 2 proceeds to No. In this case, the expansion of the fixed area F in step S107 is skipped.

そして、t9の時点では、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標との差分が閾値Th1以下であるか否かが判定される(ステップS108_ループ2)。ここでは、探索済領域Dの左端DLEFTの座標と確定済領域Fの左端FLEFTの座標が閾値Th1を超えるので、ステップS108_ループ2の分岐はNoに進む。続いて、t10の時点では、確定済領域F、図中の右肩下がりのハッチング部分に含まれる筆記「た」が選択される(ステップS111)。 Then, at the time of t9, it is determined whether or not the difference between the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F is equal to or less than the threshold value Th1 (step S108_loop 2). .. Here, since the coordinates of the left end D LEFT of the searched area D and the coordinates of the left end F LEFT of the confirmed area F exceed the threshold value Th1, the branch of step S108_loop 2 proceeds to No. Subsequently, at the time of t10, the written “ta” included in the confirmed region F and the hatched portion with a downward slope in the figure is selected (step S111).

以上のように、図9に示す筆記選択処理を実行することで、基準領域として一文字分に対応する範囲の指定を受け付けた利用者の筆記「た」を他の利用者の筆記「その他」と分離して筆記を選択できる。 As described above, by executing the writing selection process shown in FIG. 9, the writing "ta" of the user who has accepted the designation of the range corresponding to one character as the reference area is referred to as the writing "other" of another user. You can select writing separately.

さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although the embodiments relating to the disclosed apparatus have been described so far, the present invention may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.

[基準領域]
上記の実施例1では、一文字分に対応する範囲が基準領域として指定されることと見なして図9に示す筆記選択処理を実行する場合を例示したが、例えば、情報処理装置10は、基準領域Bに包含される筆記が一文字であるか否か判定することもできる。一例として、情報処理装置10は、基準領域の縦横比を用いて、基準領域に含まれる筆記が一文字または複数文字のいずれであるかを判定することができる。例えば、基準領域の縦横比から求まる割合が正方形に対応する「1」から所定の範囲内である場合、一文字と判定する一方で、基準領域の縦横比から求まる割合が正方形に対応する「1」から所定の範囲外である場合、複数文字と判定する。このとき、基準領域Bに包含される筆記が一文字である場合、情報処理装置10は、図9に示す筆記選択処理を実行し、基準領域Bに包含される筆記が複数文字である場合、基準領域に含まれる筆記集合をそのまま選択することもできる。これによって、同一の利用者の筆記全体の選択と、その一部の筆記の選択とを切り替えて実行できる。
[Reference area]
In the first embodiment, the case where the writing selection process shown in FIG. 9 is executed assuming that the range corresponding to one character is designated as the reference area is illustrated. However, for example, the information processing apparatus 10 has a reference area. It is also possible to determine whether or not the writing included in B is a single character. As an example, the information processing apparatus 10 can use the aspect ratio of the reference area to determine whether the writing included in the reference area is one character or a plurality of characters. For example, if the ratio obtained from the aspect ratio of the reference area is within a predetermined range from "1" corresponding to the square, it is determined as one character, while the ratio obtained from the aspect ratio of the reference area corresponds to "1". If it is out of the predetermined range, it is determined that there are multiple characters. At this time, when the writing included in the reference area B is one character, the information processing apparatus 10 executes the writing selection process shown in FIG. 9, and when the writing included in the reference area B is a plurality of characters, the reference. You can also select the writing set contained in the area as it is. As a result, it is possible to switch between the selection of the entire writing of the same user and the selection of a part of the writing.

[複数の空白探索領域の使用]
上記の実施例1では、1種類の空白探索領域Eを用いる例を説明したが、複数の空白探索領域を用いて筆記選択処理を行うこともできる。例えば、情報処理装置10は、空白探索領域として、中央空白探索領域、上方空白探索領域、下方空白探索領域の3つ、および対応する確定済領域として、中央確定済領域、上方確定済領域、下方確定済領域の3つを用い、差分の判定を、探索済領域と、中央確定済領域、上方確定済領域および下方確定済領域とについてそれぞれ実行し、全ての差分が所定の閾値以内の場合、探索を繰り返すように実装することができる。
[Use of multiple blank search areas]
In the first embodiment described above, an example in which one type of blank search area E is used has been described, but a writing selection process can also be performed using a plurality of blank search areas. For example, the information processing apparatus 10 has three blank search regions, a central blank search region, an upper blank search region, and a lower blank search region, and corresponding confirmed regions such as a central fixed region, an upper fixed region, and a lower portion. When the difference is determined for each of the searched area, the central confirmed area, the upper confirmed area, and the lower confirmed area using the three confirmed areas, and all the differences are within a predetermined threshold value, the difference is determined. It can be implemented to repeat the search.

図13は、実施例2に係る筆記選択処理の手順を示すフローチャートである。この処理は、図9と同様、基準領域Bを受け付けた場合に実行される。図13に示すように、受付部15aは、基準領域Bを受け付けると、基準領域Bを探索済領域Dおよび確定済領域Fの初期値として設定する(ステップS201)。 FIG. 13 is a flowchart showing the procedure of the writing selection process according to the second embodiment. This process is executed when the reference area B is received, as in FIG. As shown in FIG. 13, when the reception unit 15a receives the reference area B, the reception unit 15a sets the reference area B as the initial values of the searched area D and the confirmed area F (step S201).

続いて、設定部15bは、ステップS201で初期設定された探索済領域Dの探索方向に隣接する矩形の領域を筆記探索領域Sとして設定すると共に、当該筆記探索領域Sの3つの部分領域を中央空白探索領域EC、上方空白探索領域EUおよび下方空白探索領域EDとして設定する(ステップS202)。 Subsequently, the setting unit 15b sets a rectangular area adjacent to the search direction of the searched area D initially set in step S201 as the writing search area S, and centers the three partial areas of the writing search area S. It is set as the blank search area EC, the upper blank search area EU, and the lower blank search area ED (step S202).

例えば、中央空白探索領域EC、上方空白探索領域EUおよび下方空白探索領域EDは、次のようにして設定することができる。例えば、探索方向を左方向とし、探索済領域Dの矩形の左上の頂点の座標を(x1,y1)とし、右下の頂点の座標を(x2,y2)とし、幅をwとし、高さをhとし、x1およびx2の大小関係が「x2>x1」であり、y1およびy2の大小関係が「y2>y1」であるとする。このとき、中央空白探索領域ECには、一例として、左上の頂点の座標(x1-w,y1+0.15*h)および右下の頂点の座標(x2-w,y2-0.15*h)を持つ矩形が設定される。また、上方空白探索領域EUには、一例として、左上の頂点の座標(x1-w,y1)および右下の頂点の座標(x2-w,y2-0.4*h)を持つ矩形が設定される。さらに、下方空白探索領域EDには、左上の頂点の座標(x1-w,y1+0.4*h)および右下の頂点の座標(x2-w,y2)を持つ矩形が設定される。 For example, the central blank search area EC, the upper blank search area EU, and the lower blank search area ED can be set as follows. For example, the search direction is to the left, the coordinates of the upper left vertex of the rectangle of the searched area D are (x1, y1), the coordinates of the lower right vertex are (x2, y2), the width is w, and the height. Is h, the magnitude relationship between x1 and x2 is "x2> x1", and the magnitude relationship between y1 and y2 is "y2> y1". At this time, in the central blank search area EC, as an example, the coordinates of the upper left vertex (x1-w, y1 + 0.15 * h) and the coordinates of the lower right vertex (x2-w, y2-0.15 * h). A rectangle with is set. Further, in the upper blank search area EU, as an example, a rectangle having the coordinates of the upper left vertex (x1-w, y1) and the coordinates of the lower right vertex (x2-w, y2-0.4 * h) is set. Will be done. Further, in the lower blank search area ED, a rectangle having the coordinates of the upper left vertex (x1-w, y1 + 0.4 * h) and the coordinates of the lower right vertex (x2-w, y2) is set.

これら中央空白探索領域EC、上方空白探索領域EUおよび下方空白探索領域EDは、模式的に示すと図14A~図14Cとなる。図14Aは、中央空白探索領域ECの一例を示す図である。図14Bは、上方空白探索領域EUの一例を示す図である。図14Cは、下方空白探索領域EDの一例を示す図である。図14Aに示すように、中央空白探索領域ECの上辺は、探索済領域Dの上辺よりも0.15*h低い。また、中央空白探索領域ECの下辺は、探索済領域Dの下辺よりも0.15*h高い。このような中央空白探索領域ECの高さは、0.7*hとなる。また、図14Bに示すように、上方空白探索領域EUの上辺は、探索済領域Dの上辺と同じ高さである。一方、上方空白探索領域EUの下辺は、探索済領域Dの下辺よりも0.4*h高い。このような上方空白探索領域EUの高さは、0.6*hとなる。また、図14Cに示すように、下方空白探索領域EDの上辺は、探索済領域Dの上辺よりも0.4*h低い。また、下方空白探索領域EDの下辺は、探索済領域Dの下辺と同じ高さである。このような下方空白探索領域EDの高さは、0.6*hとなる。 These central blank search area EC, upper blank search area EU, and lower blank search area ED are schematically shown in FIGS. 14A to 14C. FIG. 14A is a diagram showing an example of the central blank search area EC. FIG. 14B is a diagram showing an example of the upper blank search region EU. FIG. 14C is a diagram showing an example of the lower blank search region ED. As shown in FIG. 14A, the upper side of the central blank search area EC is 0.15 * h lower than the upper side of the searched area D. Further, the lower side of the central blank search area EC is 0.15 * h higher than the lower side of the searched area D. The height of such a central blank search area EC is 0.7 * h. Further, as shown in FIG. 14B, the upper side of the upper blank search area EU is at the same height as the upper side of the searched area D. On the other hand, the lower side of the upper blank search region EU is 0.4 * h higher than the lower side of the searched region D. The height of such an upper blank search region EU is 0.6 * h. Further, as shown in FIG. 14C, the upper side of the lower blank search area ED is 0.4 * h lower than the upper side of the searched area D. Further, the lower side of the lower blank search area ED is at the same height as the lower side of the searched area D. The height of such a lower blank search region ED is 0.6 * h.

続いて、第1判定部15cは、筆記探索領域Sに筆記が存在するか否かを判定する(ステップS203)。このとき、筆記探索領域Sに筆記が存在する場合(ステップS203Yes)、第1再設定部15dは、筆記探索領域S内の筆記集合が含まれるように探索済領域Dを拡張する(ステップS204)。その上で、第1再設定部15dは、探索済領域Dに隣接する筆記探索領域Sを再設定する(ステップS205)。 Subsequently, the first determination unit 15c determines whether or not writing exists in the writing search area S (step S203). At this time, when writing exists in the writing search area S (step S203Yes), the first resetting unit 15d expands the searched area D so that the writing set in the writing search area S is included (step S204). .. Then, the first resetting unit 15d resets the written search area S adjacent to the searched area D (step S205).

その後、第2判定部15eは、中央空白探索領域ECに筆記が存在するか否かを判定する(ステップS206)。このとき、中央空白探索領域ECに筆記が存在する場合(ステップS206Yes)、第2再設定部15fは、中央空白探索領域EC内の筆記集合が含まれるように中央確定済領域FCを拡張する(ステップS207)。なお、中央空白探索領域ECに筆記が存在しない場合(ステップS206No)、ステップS207をスキップしてステップS208の処理へ移行する。 After that, the second determination unit 15e determines whether or not the writing exists in the central blank search area EC (step S206). At this time, when writing exists in the central blank search area EC (step S206Yes), the second resetting unit 15f expands the central fixed area FC so as to include the writing set in the central blank search area EC (step S206Yes). Step S207). If there is no writing in the central blank search area EC (step S206No), step S207 is skipped and the process proceeds to step S208.

そして、第2再設定部15fは、探索済領域Dと中央確定済領域FCの差分が所定の閾値Th2以上であるか否かを判定する(ステップS208)。ここで用いる閾値Th2には、上記の実施例1で例に挙げた閾値Th1よりも短い値を用いる。図15Aは、閾値Th2の一例を示す図である。図15Aに示すように、探索済領域Dと中央確定済領域FCの差分と比較する閾値Th2には、基準領域Bの幅w*1.0を用いることができる。このように上記の実施例1で例に挙げた閾値Th1よりも短い値を用いるのは、筆記探索領域Sの上端部付近または下端部付近に筆記があったとしても、その筆記が選択されづらくするためである。 Then, the second resetting unit 15f determines whether or not the difference between the searched region D and the central confirmed region FC is equal to or greater than a predetermined threshold value Th2 (step S208). As the threshold value Th2 used here, a value shorter than the threshold value Th1 given as an example in the above-mentioned Example 1 is used. FIG. 15A is a diagram showing an example of the threshold value Th2. As shown in FIG. 15A, the width w * 1.0 of the reference region B can be used for the threshold value Th2 to be compared with the difference between the searched region D and the central confirmed region FC. In this way, using a value shorter than the threshold value Th1 given in Example 1 above makes it difficult to select the writing even if there is writing near the upper end portion or the lower end portion of the writing search area S. To do.

このとき、探索済領域Dと中央確定済領域FCの差分が閾値Th2以下である場合(ステップS208Yes)、次のステップS209へ移行する。すなわち、第2判定部15eは、上方空白探索領域EUに筆記が存在するか否かを判定する(ステップS209)。このとき、上方空白探索領域EUに筆記が存在する場合(ステップS209Yes)、第2再設定部15fは、上方空白探索領域EU内の筆記集合が含まれるように上方確定済領域FUを拡張する(ステップS210)。なお、上方空白探索領域EUに筆記が存在しない場合(ステップS209No)、ステップS210をスキップしてステップS211の処理へ移行する。 At this time, if the difference between the searched region D and the central confirmed region FC is the threshold value Th2 or less (step S208Yes), the process proceeds to the next step S209. That is, the second determination unit 15e determines whether or not the writing exists in the upper blank search region EU (step S209). At this time, when writing exists in the upper blank search area EU (step S209Yes), the second resetting unit 15f expands the upper fixed area FU so as to include the writing set in the upper blank search area EU (step S209Yes). Step S210). If there is no writing in the upper blank search area EU (step S209No), step S210 is skipped and the process proceeds to step S211.

そして、第2再設定部15fは、探索済領域Dと上方確定済領域FUの差分が所定の閾値Th3以上であるか否かを判定する(ステップS211)。ここで用いる閾値Th3には、閾値Th1および閾値Th2よりも長い値を用いる。図15Bは、閾値Th3の一例を示す図である。図15Bに示すように、探索済領域Dと上方確定済領域FUの差分と比較する閾値Th3には、基準領域Bの幅w*1.5を用いることができる。このように閾値Th1や閾値Th2よりも長い値を用いるのは、筆記探索領域Sの上寄りには語の一部に対応する筆記である可能性があるので、その筆記が選択されやすくするためである。 Then, the second resetting unit 15f determines whether or not the difference between the searched region D and the upper confirmed region FU is equal to or greater than a predetermined threshold value Th3 (step S211). As the threshold value Th3 used here, a value longer than the threshold value Th1 and the threshold value Th2 is used. FIG. 15B is a diagram showing an example of the threshold value Th3. As shown in FIG. 15B, the width w * 1.5 of the reference region B can be used for the threshold value Th3 to be compared with the difference between the searched region D and the upper confirmed region FU. The reason why a value longer than the threshold value Th1 and the threshold value Th2 is used in this way is that there is a possibility that the writing corresponds to a part of the word in the upper part of the writing search area S, so that the writing is easily selected. Is.

このとき、探索済領域Dと上方確定済領域FUの差分が閾値Th3以下である場合(ステップS211Yes)、次のステップS212へ移行する。すなわち、第2判定部15eは、下方空白探索領域EDに筆記が存在するか否かを判定する(ステップS212)。このとき、下方空白探索領域EDに筆記が存在する場合(ステップS212Yes)、第2再設定部15fは、下方空白探索領域ED内の筆記集合が含まれるように下方確定済領域FDを拡張する(ステップS213)。なお、下方空白探索領域EDに筆記が存在しない場合(ステップS212No)、ステップS213をスキップしてステップS214の処理へ移行する。 At this time, if the difference between the searched area D and the upper confirmed area FU is the threshold value Th3 or less (step S211Yes), the process proceeds to the next step S212. That is, the second determination unit 15e determines whether or not the writing exists in the lower blank search area ED (step S212). At this time, when writing exists in the lower blank search area ED (step S212Yes), the second resetting unit 15f expands the lower fixed area FD so as to include the writing set in the lower blank search area ED (step S212Yes). Step S213). If there is no writing in the lower blank search area ED (step S212 No), step S213 is skipped and the process proceeds to step S214.

そして、第2再設定部15fは、探索済領域Dと下方確定済領域FDの差分が所定の閾値Th4以上であるか否かを判定する(ステップS214)。ここで用いる閾値Th4にも、閾値Th1および閾値Th2よりも長い値を用いる。図15Cは、閾値Th4の一例を示す図である。図15Cに示すように、探索済領域Dと下方確定済領域FDの差分と比較する閾値Th4には、基準領域Bの幅w*1.5を用いることができる。このように閾値Th1や閾値Th2よりも長い値を用いるのは、筆記探索領域Sの下寄りには語の一部に対応する筆記である可能性があるので、その筆記が選択されやすくするためである。 Then, the second resetting unit 15f determines whether or not the difference between the searched region D and the lower confirmed region FD is equal to or greater than a predetermined threshold value Th4 (step S214). As the threshold value Th4 used here, a value longer than the threshold value Th1 and the threshold value Th2 is used. FIG. 15C is a diagram showing an example of the threshold value Th4. As shown in FIG. 15C, the width w * 1.5 of the reference region B can be used for the threshold value Th4 to be compared with the difference between the searched region D and the downward confirmed region FD. The reason why a value longer than the threshold value Th1 and the threshold value Th2 is used in this way is that there is a possibility that the writing corresponds to a part of the word in the lower part of the writing search area S, so that the writing is easily selected. Is.

ここで、探索済領域Dと下方確定済領域FDの差分が閾値Th4以下である場合(ステップS214Yes)、中央空白探索領域EC、上方空白探索領域EUおよび下方空白探索領域EDの3つの空白領域を再設定し(ステップS215)、ステップS203の処理へ移行する。3つの空白領域の再設定は、中央空白探索領域EC、上方空白探索領域EUおよび下方空白探索領域EDのいずれから各々に対応する中央確定済領域FC、上方確定済領域FUまたは下方確定済領域FDと重複する部分が除外された領域QC、QUまたはQDと、筆記探索領域Sにおける図14A、図14Bまたは図14Cの高さに位置する部分領域PC、PUまたはPDとに基づいて再設定される。 Here, when the difference between the searched area D and the lower confirmed area FD is the threshold value Th4 or less (step S214Yes), the three blank areas of the central blank search area EC, the upper blank search area EU, and the lower blank search area ED are displayed. The setting is reset (step S215), and the process proceeds to the process of step S203. The resetting of the three blank areas can be performed from any of the central blank search area EC, the upper blank search area EU, and the lower blank search area ED, respectively, as the central confirmed area FC, the upper confirmed area FU, or the lower fixed area FD. Reconfigured based on the region QC, QUA or QD excluding the overlap with and the partial region PC, PU or PD located at the height of FIGS. 14A, 14B or 14C in the writing search region S. ..

その後、筆記探索領域Sに筆記が存在し、3つの差分が閾値Th2、閾値Th3および閾値Th4以下である限り(ステップS203Yes、ステップS208Yes、ステップS211YesかつステップS214Yes)、上記のステップS203~上記のステップS215の処理が繰り返し実行される。 After that, as long as writing exists in the writing search area S and the three differences are equal to or less than the threshold Th2, the threshold Th3, and the threshold Th4 (step S203Yes, step S208Yes, step S211Yes, and step S214Yes), the above steps S203 to the above steps. The process of S215 is repeatedly executed.

ここで、筆記探索領域Sに筆記がない場合(ステップS203No)、筆記選択部15gは、探索済領域D内に存在する筆記を選択し(ステップS216)、処理を終了する。また、探索済領域Dの左端の座標と中央確定済領域FCの左端の座標との差分が閾値Th2を超える場合(ステップS208No)、筆記選択部15gは、中央確定済領域FC内に存在する筆記を選択し(ステップS217)、処理を終了する。また、探索済領域Dの左端の座標と上方確定済領域FUの左端の座標との差分が閾値Th3を超える場合(ステップS211No)、筆記選択部15gは、上方確定済領域FU内に存在する筆記を選択し(ステップS218)、処理を終了する。また、探索済領域Dの左端の座標と下方確定済領域FDの左端の座標との差分が閾値Th4を超える場合(ステップS214No)、筆記選択部15gは、下方確定済領域FD内に存在する筆記を選択し(ステップS219)、処理を終了する。 Here, when there is no writing in the writing search area S (step S203No), the writing selection unit 15g selects the writing existing in the searched area D (step S216), and ends the process. Further, when the difference between the coordinates of the left end of the searched area D and the coordinates of the left end of the central confirmed area FC exceeds the threshold value Th2 (step S208No), the writing selection unit 15g is the writing existing in the central confirmed area FC. Is selected (step S217), and the process ends. Further, when the difference between the coordinates of the left end of the searched area D and the coordinates of the left end of the upper confirmed area FU exceeds the threshold value Th3 (step S211No), the writing selection unit 15g is the writing existing in the upper confirmed area FU. Is selected (step S218), and the process ends. Further, when the difference between the coordinates of the left end of the searched area D and the coordinates of the left end of the lower confirmed area FD exceeds the threshold value Th4 (step S214No), the writing selection unit 15g is the writing existing in the lower confirmed area FD. Is selected (step S219), and the process ends.

以上のように、図13に示す筆記選択処理を実行することで、上方に偏った筆記や下方に偏った筆記を探索から除外することができる。 As described above, by executing the writing selection process shown in FIG. 13, it is possible to exclude the writing biased upward and the writing biased downward from the search.

日本語では、濁点、半濁点、句読点、拗音発音など、水平に筆記した場合、上方、下方に偏って記載される場合がある。しかし、これらの小さな文字の連続は通常二文字以内なので、上方、下方の空白を検出する探索範囲の横幅を小文字2文字分より大きく設定することで、連続した筆記と、無関係の筆記を切り分けられる。上記実施例で中央空白探索領域チェック字の閾値はw*1.0とし、上方空白探索領域のチェックおよび、下方空白探索領域のチェック時の閾値は、w*1.5と大きくしてるのは、小文字二文字連続相当分を除外せずに選択するためである。また、アルファベットに関しても、アポストロフィやダブルクォートなど上限に偏って筆記される文字はあるが、通常二文字以内である。 In Japanese, when writing horizontally, such as voiced sound mark, semi-voiced sound mark, punctuation mark, and yoon pronunciation, it may be written unevenly upward and downward. However, since the sequence of these small characters is usually within two characters, by setting the width of the search range for detecting upper and lower blanks to be larger than two lowercase letters, continuous writing and unrelated writing can be separated. .. In the above embodiment, the threshold value of the central blank search area check character is w * 1.0, and the threshold value at the time of checking the upper blank search area and the lower blank search area is as large as w * 1.5. , This is to select without excluding the equivalent of two consecutive lowercase letters. Also, regarding the alphabet, although there are characters such as apostrophes and double quotes that are written with a bias toward the upper limit, they are usually within two characters.

この他、筆記探索領域S、中央空白探索領域EC、上方空白探索領域EU、下方空白探索領域EDのうち、どの領域で停止条件が成立したかを、矩形で明示的に示してもよい。また、基準領域や、最終的な確定済領域、または最終的な選択済み領域を明示的に示してもよい。 In addition, a rectangle may explicitly indicate in which of the writing search area S, the central blank search area EC, the upper blank search area EU, and the lower blank search area ED the stop condition is satisfied. In addition, a reference area, a final confirmed area, or a final selected area may be explicitly indicated.

[複数行探索]
例えば、情報処理装置10は、基準領域Bとして受け付けた矩形領域の縦横比を算出し、当該縦横比が所定の度合い上で縦長である場合、複数行の探索を行うこともできる。これにより、一文字囲ったときは一行選択、縦長に囲ったときは、複数行選択という使い分けもできる。
[Multiple line search]
For example, the information processing apparatus 10 can calculate the aspect ratio of the rectangular area received as the reference area B, and if the aspect ratio is vertically long to a predetermined degree, it is possible to search for a plurality of lines. As a result, it is possible to select one line when enclosing one character and select multiple lines when enclosing it vertically.

また、このような複数行選択を実現するために、筆記の書字方向が横書きである場合、情報処理装置10は、筆記選択の探索方向に対応する左右方向でなく、筆記選択の探索方向と直交する上下方向に行を探索し、選択された筆記集合を包含する領域から、所定の行探索のアルゴリズムにしたがって一文字ごとの矩形領域を抽出し、一文字ごとに抽出された各矩形を基準領域とし、各基準領域に対して、左右方向の探索を行うことで、行ごとに分割された筆記集合を選択する。 Further, in order to realize such a plurality of line selection, when the writing direction of the writing is horizontal writing, the information processing apparatus 10 is not in the left-right direction corresponding to the searching direction of the writing selection, but in the search direction of the writing selection. Rows are searched in the vertical direction orthogonal to each other, a rectangular area for each character is extracted from the area containing the selected writing set according to a predetermined line search algorithm, and each rectangle extracted for each character is used as a reference area. , Select a writing set divided for each row by performing a search in the left-right direction for each reference area.

図16は、複数行探索の動作例を示す図である。図16には、1行目に筆記「大久保」、2行目に筆記「西新橋」、3行目に筆記「木更津」が含まれる作業用画面の例が示されている。図16に示すように、情報処理装置10は、ステップS1で1行目の筆記「大久保」のうち筆記「大」を基準領域として受け付け、ステップS2で筆記「大」の上下方向の探索により、筆記「大」、「西」および「木」の筆記集合を選択する。そして、ステップS3で、筆記集合から一文字ごとの矩形領域「大」、矩形領域「西」および矩形領域「木」を抽出し、各矩形領域に対して、左右方向に探索を行うことで行ごとに筆記集合「大久保」、「西新橋」および「木更津」を選択する。 FIG. 16 is a diagram showing an operation example of a multi-line search. FIG. 16 shows an example of a work screen in which the writing "Okubo" is included in the first line, the writing "Nishi-Shimbashi" is included in the second line, and the writing "Kisarazu" is included in the third line. As shown in FIG. 16, the information processing apparatus 10 accepts the writing "large" of the writing "Okubo" in the first line in step S1 as a reference area, and searches in the vertical direction of the writing "large" in step S2. Writing Select the writing set of "Large", "West" and "Tree". Then, in step S3, the rectangular area "large", the rectangular area "west", and the rectangular area "tree" for each character are extracted from the writing set, and each rectangular area is searched in the left-right direction for each line. Select the writing set "Okubo", "Nishi-Shimbashi" and "Kisarazu".

このように行ごとに選択された筆記集合に対して、予め定められた処理ないし利用者が指定した処理を適用することもできる。例えば、選択された各筆記集合「大久保」、「西新橋」および「木更津」ごとに、文字列認識を行い、認識結果テキストで、画像検索を行い表示するコマンドに対応するアイコンを表示することもできる。 It is also possible to apply a predetermined process or a process specified by the user to the writing set selected for each line in this way. For example, for each selected writing set "Okubo", "Nishi-Shimbashi", and "Kisarazu", character string recognition is performed, and the recognition result text can be used to perform an image search and display an icon corresponding to the displayed command. can.

ここで、図16に示すステップS2の処理について具体的に説明する。図17は、フレームの分割方法の一例を示す図である。図17には、筆記「大」、「西」および「木」の上下方向の筆記集合から各行の文字に対応する基準領域を抽出する例が示されている。図17に示すように、情報処理装置10は、文字ごとの矩形領域を基準領域として抽出する計算ステップの最初に、基準領域Bの矩形の高さを定められた定数N、例えば「10」で分割することにより1フレームあたりの高さを求め、選択された筆記集合を包含する領域を、該1フレームあたりの高さを持つ複数のフレームで上下方向に分割する。例えば、図17の例で言えば、基準領域Bより下方の領域が30フレームに分割されている。なお、図17の例では、最初の1文字目はすでにユーザから与えられた基準領域で特定されているため、基準領域より下方の筆記のみ分割の対象としている。 Here, the process of step S2 shown in FIG. 16 will be specifically described. FIG. 17 is a diagram showing an example of a frame division method. FIG. 17 shows an example of extracting a reference region corresponding to a character in each line from a writing set in the vertical direction of writing “large”, “west”, and “tree”. As shown in FIG. 17, the information processing apparatus 10 uses a constant N, for example, "10", in which the height of the rectangle of the reference area B is determined at the beginning of the calculation step of extracting the rectangular area for each character as the reference area. The height per frame is obtained by dividing, and the area including the selected writing set is divided in the vertical direction by a plurality of frames having the height per frame. For example, in the example of FIG. 17, the region below the reference region B is divided into 30 frames. In the example of FIG. 17, since the first character is already specified in the reference area given by the user, only the writing below the reference area is targeted for division.

次に、情報処理装置10は、分割された各フレームに対して、フレーム内に存在する筆記数を算出する。各フレームについて、上方向に隣接する空白フレーム数、下方向に隣接する空白フレーム数を算出する。図17に示すように、上記算出された情報はフレーム数×3の情報となる。以降、筆記数が1以上のフレームを「筆記フレーム」、筆記数が0のフレームを「空白フレーム」、筆記フレームと空白フレームの並びを「フレーム配列」と記載する場合がある。 Next, the information processing apparatus 10 calculates the number of writings existing in the frame for each divided frame. For each frame, the number of blank frames adjacent in the upward direction and the number of blank frames adjacent in the downward direction are calculated. As shown in FIG. 17, the calculated information is information of the number of frames × 3. Hereinafter, a frame having a writing count of 1 or more may be referred to as a “writing frame”, a frame having a writing count of 0 may be referred to as a “blank frame”, and a sequence of writing frames and blank frames may be referred to as a “frame array”.

手書きの筆記の場合、文字の大きさは均一ではなく、行間の大きさにもばらつきがある、また、漢数字の「一」「二」のように元々筆記の上下に空白の多い文字も存在する。このような手書き筆記から文字枠を抽出するために、本実施例では、フレーム配列を順次探索し、抽出ルール、確定ルール、準抽出ルール1、準抽出ルール2の4つのルールを用いて一文字と推定される領域を抽出する。 In the case of handwritten writing, the size of the characters is not uniform, the size of the line spacing also varies, and there are also characters with many spaces above and below the writing, such as the Chinese numerals "1" and "2". do. In order to extract a character frame from such handwritten writing, in this embodiment, a frame array is sequentially searched, and one character is used by using four rules of extraction rule, confirmation rule, semi-extraction rule 1, and semi-extraction rule 2. Extract the estimated area.

図18は、実施例2に係る抽出処理の手順を示すフローチャートである。図19に示す抽出処理は、フレーム配列のインデックスiがNになるまでループする。図19に示すように、情報処理装置10は、連続筆記フレームが存在するか否かを判定する(ステップS301)。ここで言う「連続筆記フレーム」とは、筆記フレームで始まる1以上の連続したフレームで、下記4つのルールの適用可否の判定対象となるデータである。 FIG. 18 is a flowchart showing the procedure of the extraction process according to the second embodiment. The extraction process shown in FIG. 19 loops until the index i of the frame array becomes N. As shown in FIG. 19, the information processing apparatus 10 determines whether or not a continuous writing frame exists (step S301). The "continuous writing frame" referred to here is one or more continuous frames starting with a writing frame, and is data for which the following four rules are applicable or not to be determined.

このとき、連続筆記フレームがまだ存在しない場合(ステップS301No)、情報処理装置10は、フレーム配列のインデックスiに対応するフレームが筆記フレームであるか否かを判定する(ステップS302)。 At this time, if the continuous writing frame does not yet exist (step S301No), the information processing apparatus 10 determines whether or not the frame corresponding to the index i of the frame array is the writing frame (step S302).

そして、フレーム配列のインデックスiに対応するフレームが筆記フレームである場合(ステップS302Yes)、情報処理装置10は、フレーム配列のインデックスiに対応するフレームを第一要素とする連続筆記フレームを定義する(ステップS303)。その後、情報処理装置10は、フレーム配列のインデックスiを1つインクリメントし、ステップS301の処理へ移行する。なお、フレーム配列のインデックスiに対応するフレームが筆記フレームでない場合(ステップS302No)、ステップS303をスキップし、ステップS301の処理へ移行する。 Then, when the frame corresponding to the index i of the frame array is a writing frame (step S302Yes), the information processing apparatus 10 defines a continuous writing frame having the frame corresponding to the index i of the frame array as the first element (step S302Yes). Step S303). After that, the information processing apparatus 10 increments the index i of the frame array by one, and proceeds to the process of step S301. If the frame corresponding to the index i of the frame array is not a writing frame (step S302No), step S303 is skipped and the process proceeds to step S301.

一方、連続筆記フレームが存在する場合(ステップS301Yes)、情報処理装置10は、フレーム配列のインデックスiに対応するフレームを連続筆記フレームに追加する(ステップS304)。 On the other hand, when a continuous writing frame exists (step S301Yes), the information processing apparatus 10 adds a frame corresponding to the index i of the frame array to the continuous writing frame (step S304).

その後、情報処理装置10は、連続筆記フレームに抽出ルールが適用可能であるか否かを判定する(ステップS305)。このとき、抽出ルールが適用可能である場合(ステップS305Yes)、情報処理装置10は、連続筆記フレームに抽出ルールを適用する(ステップS306)。 After that, the information processing apparatus 10 determines whether or not the extraction rule can be applied to the continuous writing frame (step S305). At this time, if the extraction rule is applicable (step S305Yes), the information processing apparatus 10 applies the extraction rule to the continuous writing frame (step S306).

ここで、上記の「抽出ルール」は、一例として、予め定義されたN以下の数Mに対し、連続筆記フレーム数がM以上であり、かつ、連続筆記フレームと左右両端の空白数フレーム数を足した合計がN以上であることが条件とされる。この抽出ルールを満たす場合、情報処理装置10は、連続筆記フレームを中心にNフレーム分の領域を文字枠として抽出する。 Here, as an example, the above-mentioned "extraction rule" sets the number of continuous writing frames to be M or more and the number of blank frames at the left and right ends for a predetermined number M or less of N. The condition is that the total added is N or more. When this extraction rule is satisfied, the information processing apparatus 10 extracts an area for N frames centering on a continuous writing frame as a character frame.

図19A~図19Cは、文字枠の抽出の一例を示す図である。図19A~図19Cには、抽出ルールが適用された場合における文字枠の抽出例が示されている。図19A~図19Cには、空白フレームが白色のブロックで示される一方で、筆記フレームが灰色のブロックで示されている。図19A~図19Cの例では、N=10であり、M=7である場合の例が示されている。図19Aに示す例では、連続筆記フレームの数が8≧7、左右の空白数のうち小さいものが2であり、8+2+2≧10となり、条件に合致する。また、図19Bに示す例では、連続筆記フレームが7と奇数であれば、左右の空白フレーム1.5分を合わせて10フレーム分が文字枠として抽出される。文字には、筆記と筆記の間に空白が必要な場合があるので、図18のフローチャートで、連続筆記フレームにフレームを追記するときは、筆記フレームであるか空白フレームであるかのチェックは行っていない。また、図19Cに示すように、連続筆記フレーム中に空白フレームが入る場合もある。 19A to 19C are diagrams showing an example of extracting a character frame. 19A to 19C show an example of extracting a character frame when an extraction rule is applied. In FIGS. 19A-19C, blank frames are indicated by white blocks, while writing frames are indicated by gray blocks. In the examples of FIGS. 19A to 19C, an example in the case where N = 10 and M = 7 is shown. In the example shown in FIG. 19A, the number of continuous writing frames is 8 ≧ 7, and the smaller number of left and right blanks is 2, which is 8 + 2 + 2 ≧ 10, which meets the conditions. Further, in the example shown in FIG. 19B, if the number of continuous writing frames is 7 and an odd number, 10 frames including 1.5 minutes of left and right blank frames are extracted as character frames. Since characters may require a space between writing, when adding a frame to a continuous writing frame in the flowchart of FIG. 18, check whether it is a writing frame or a blank frame. Not. Further, as shown in FIG. 19C, a blank frame may be included in the continuous writing frame.

また、抽出ルールが適用可能でない場合(ステップS305No)、情報処理装置10は、連続筆記フレームに確定ルールが適用可能であるか否かを判定する(ステップS307)。このとき、確定ルールが適用可能である場合(ステップS307Yes)、情報処理装置10は、連続筆記フレームに確定ルールを適用する(ステップS308)。 If the extraction rule is not applicable (step S305No), the information processing apparatus 10 determines whether or not the determination rule is applicable to the continuous writing frame (step S307). At this time, if the definite rule is applicable (step S307Yes), the information processing apparatus 10 applies the definite rule to the continuous writing frame (step S308).

ここで、上記の「確定ルール」は、連続筆記フレーム数がNになり、かつ、文字枠候補が存在することが条件とされる。この確定ルールを満たす場合、該当文字枠候補を文字枠として抽出し、文字枠候補をクリアし、ループのインデクスを該当文字枠候補の最終端に設定する。文字枠候補が存在しない場合は、N個の連続筆記フレームをそのまま文字枠として抽出する。また、連続筆記フレームがフレーム配列の終端まで到達し、文字枠候補が存在する場合、該当文字枠候補を文字枠として抽出し、文字枠候補をクリアし、ループのインデクスを該当文字枠候補の最終端に設定する。文字枠候補が存在しない場合、現時点の連続筆記フレームを文字枠として抽出する。 Here, the above-mentioned "determination rule" is conditional on the number of consecutive writing frames being N and the existence of character frame candidates. When this confirmation rule is satisfied, the corresponding character frame candidate is extracted as a character frame, the character frame candidate is cleared, and the index of the loop is set at the final end of the corresponding character frame candidate. If there are no character frame candidates, N consecutive writing frames are extracted as they are as character frames. If the continuous writing frame reaches the end of the frame array and there is a character frame candidate, the corresponding character frame candidate is extracted as a character frame, the character frame candidate is cleared, and the loop index is the final of the character frame candidate. Set to the edge. If there is no character frame candidate, the current continuous writing frame is extracted as a character frame.

また、確定ルールが適用可能でない場合(ステップS307No)、情報処理装置10は、連続筆記フレームに準抽出ルール1が適用可能であるか否かを判定する(ステップS309)。このとき、準抽出ルール1が適用可能である場合(ステップS309Yes)、情報処理装置10は、連続筆記フレームに準抽出ルール1を適用する(ステップS310)。 Further, when the determination rule is not applicable (step S307No), the information processing apparatus 10 determines whether or not the quasi-extraction rule 1 is applicable to the continuous writing frame (step S309). At this time, when the quasi-extraction rule 1 is applicable (step S309Yes), the information processing apparatus 10 applies the quasi-extraction rule 1 to the continuous writing frame (step S310).

ここで、上記の「準抽出ルール1」は、「一」のような上下の空白が多い文字に対応するためのルールであり、予め定義されたN以下の数Mに対し、連続筆記フレーム数がM未満であり、かつ、連続筆記フレームと左右両端の空白数フレーム数を足した合計がN以上であることが条件とされる。この準抽出ルール1を満たす場合、情報処理装置10は、連続筆記フレームを中心にNフレーム分の領域を文字枠候補としてマークする。 Here, the above-mentioned "quasi-extraction rule 1" is a rule for dealing with a character having many upper and lower spaces such as "1", and is the number of continuous writing frames for a predetermined number M or less of N. Is less than M, and the total of the continuous writing frames and the number of blank frames at the left and right ends is N or more. When this quasi-extraction rule 1 is satisfied, the information processing apparatus 10 marks an area for N frames centered on a continuous writing frame as a character frame candidate.

図20A及び図20Bは、文字枠の候補のマークの一例を示す図である。図20A及び図20Bには、準抽出ルール1が適用された場合に文字枠の候補をマークする例が示されている。図20A及び図20Bの例にも、N=10であり、M=7である場合の例が示されている。図20Aに示す例では、4フレームの連続筆記フレームに対して、左右にそれぞれ3以上の空白があり、条件を満たす。準抽出ルール1は、あくまで候補の抽出であり、更に探索進めていくことで、図20Bに示す例のように、抽出ルールにマッチするより適切なパターンが現れる可能性がある。また探索を進めていくことで、再度準抽出ルール1にマッチする場合は、文字枠候補は置き換えられる。 20A and 20B are diagrams showing an example of a mark as a candidate for a character frame. 20A and 20B show an example of marking a character frame candidate when the quasi-extraction rule 1 is applied. The examples of FIGS. 20A and 20B also show an example in the case where N = 10 and M = 7. In the example shown in FIG. 20A, there are three or more blanks on the left and right sides of each of the four continuous writing frames, which satisfies the condition. The quasi-extraction rule 1 is only the extraction of candidates, and by further searching, there is a possibility that a more appropriate pattern matching the extraction rule will appear as shown in the example shown in FIG. 20B. Further, by proceeding with the search, if the semi-extraction rule 1 is matched again, the character frame candidate is replaced.

また、準抽出ルール1が適用可能でない場合(ステップS309No)、情報処理装置10は、連続筆記フレームに準抽出ルール2が適用可能であるか否かを判定する(ステップS311)。このとき、準抽出ルール2が適用可能である場合(ステップS311Yes)、情報処理装置10は、連続筆記フレームに準抽出ルール2を適用する(ステップS312)。 Further, when the quasi-extraction rule 1 is not applicable (step S309No), the information processing apparatus 10 determines whether or not the quasi-extraction rule 2 is applicable to the continuous writing frame (step S311). At this time, when the quasi-extraction rule 2 is applicable (step S311Yes), the information processing apparatus 10 applies the quasi-extraction rule 2 to the continuous writing frame (step S312).

ここで、上記の「準抽出ルール2」は、利用者が与えた基準領域よりも狭く、狭い行間で筆記された文字を抽出するためのルールである。例えば、予め定義されたN以下M以上の数N’に対し、連続筆記フレームと左右の空白フレーム数を足した合計がN’以上であることが条件とされる。この準抽出ルール2を満たす場合、情報処理装置10は、連続筆記フレームを中心にN’フレーム分の領域を文字枠候補としてマークする。 Here, the above-mentioned "quasi-extraction rule 2" is a rule for extracting characters written in a narrow line spacing, which is narrower than the reference area given by the user. For example, it is a condition that the total of the number of continuous writing frames and the number of blank frames on the left and right is N'or more than the predefined number N'of N or less and M or more. When this quasi-extraction rule 2 is satisfied, the information processing apparatus 10 marks an area for N'frames centering on a continuous writing frame as a character frame candidate.

図21A及び図21Bは、文字枠の候補のマークの一例を示す図である。図21A及び図21Bには、準抽出ルール2が適用された場合に文字枠の候補をマークする例が示されている。図21A及び図21Bの例にも、N=10であり、M=7であり、N’=8である場合の例が示されている。図21Aに示す例では、連続筆記フレーム数が5、左右に2ずつの空白があるので、5+2×2=9≧8となり条件にマッチする。準抽出ルール2は、あくまで候補の抽出であり、更に探索進めていくことで、図21Bに示すように、抽出ルールにマッチするより適切なパターンが現れる可能性がある。また探索を進めていくことで、再度準抽出ルール1ないし2にマッチする場合は、文字枠候補は置き換えられる。 21A and 21B are diagrams showing an example of a mark as a candidate for a character frame. 21A and 21B show an example of marking a character frame candidate when the quasi-extraction rule 2 is applied. The examples of FIGS. 21A and 21B also show examples of cases where N = 10, M = 7, and N'= 8. In the example shown in FIG. 21A, the number of continuous writing frames is 5, and there are 2 blanks on each side, so 5 + 2 × 2 = 9 ≧ 8, which matches the condition. The quasi-extraction rule 2 is only the extraction of candidates, and by further searching, there is a possibility that a more appropriate pattern matching the extraction rule will appear as shown in FIG. 21B. Also, by proceeding with the search, if the semi-extraction rules 1 and 2 are matched again, the character frame candidates are replaced.

その後、抽出ルールまたは確定ルールのいずれかが適用された場合、情報処理装置10は、連続筆記フレームをクリアし(ステップS313)、フレーム配列のインデックスiを1つインクリメントし、ステップS301の処理へ移行する。 After that, when either the extraction rule or the confirmation rule is applied, the information processing apparatus 10 clears the continuous writing frame (step S313), increments the index i of the frame array by one, and proceeds to the process of step S301. do.

また、準抽出ルール1、準抽出ルール2またはいずれのルールも適用可能でない場合、フレーム配列のインデックスiを1つインクリメントし、ステップS301の処理へ移行する。 If neither the semi-extraction rule 1 nor the semi-extraction rule 2 is applicable, the index i of the frame array is incremented by one, and the process proceeds to step S301.

以上のように、図18に示す抽出処理を実行することで、漢字「一」、漢字「二」、小さい文字、あるいは行間がばらつく場合でも各行に対応する基準領域を抽出することができる。 As described above, by executing the extraction process shown in FIG. 18, it is possible to extract the reference area corresponding to each line even when the Chinese character "1", the Chinese character "2", a small character, or the line spacing varies.

[ユーザ指定]
上下方向の探索で選択された筆記集合から、一文字ごとの矩形領域を抽出し、一文字ごとに抽出された各矩形を基準領域とし、各基準領域に対して、左右方向の探索を行うことで、行ごとに分割された筆記集合を選択する場合、上下方向の探索で余分な行も抽出してしまう場合がある。その一例を図22に示す。図22は、上下方向の矩形の指定の一例を示す図である。図22に示すように、複数行の筆記を行う場合、同一の筆記者が、同様の文字サイズで選択したい情報と異なる情報を筆記する場合がある。図22の例では、3か所の地名3行分のすぐ下の行に、地名ではないコメントが記述されている。地名3行分を選択するつもりで、基準領域を指定して、上下方向の探索を行うと、選択する必要のない行まで選択してしまう可能性がある。
[User specification]
By extracting a rectangular area for each character from the writing set selected in the vertical search, and using each rectangle extracted for each character as a reference area, a horizontal search is performed for each reference area. When selecting a writing set divided for each line, an extra line may be extracted by searching in the vertical direction. An example thereof is shown in FIG. FIG. 22 is a diagram showing an example of designating a rectangle in the vertical direction. As shown in FIG. 22, when writing a plurality of lines, the same writer may write information different from the information to be selected with the same character size. In the example of FIG. 22, comments that are not place names are described in the lines immediately below the three lines of the three place names. If you specify a reference area and perform a search in the vertical direction with the intention of selecting three lines of place names, there is a possibility that even lines that do not need to be selected will be selected.

このような行の過剰選択を避ける側面から、情報処理装置10は、上下方向の筆記集合の選択に際しては探索を行わず、ユーザに選択すべき領域を指定させることもできる。例えば、一文字分の基準領域をユーザに指定させ(ステップS1)、ユーザから下方向にドラッグ操作を受け付け(ステップS2)、矩形領域を選択する(ステップS3)ことで、「大」、「西」および「木」の筆記集合を特定している。筆記集合を特定した後、筆記集合から、一文字ごとの矩形領域を抽出し、一文字ごとに抽出された各矩形を基準領域とし、各基準領域に対して、左右方向の探索を行うことで、ユーザの意図に即して複数行の筆記を選択することができる。 From the aspect of avoiding such excessive selection of rows, the information processing apparatus 10 may allow the user to specify an area to be selected without performing a search when selecting a writing set in the vertical direction. For example, by having the user specify a reference area for one character (step S1), accepting a downward drag operation from the user (step S2), and selecting a rectangular area (step S3), "large" and "west" are selected. And identifies the writing set of "trees". After specifying the writing set, the user extracts a rectangular area for each character from the writing set, uses each rectangle extracted for each character as a reference area, and searches each reference area in the left-right direction. You can choose to write in multiple lines according to your intentions.

[書字方向]
なお、上記の実施例1では、書字方向が横書きである例を挙げたが、当然のことながら書字方向が縦書き、あるいは斜め書きである場合にも図9、図13、図18などの処理を実行できる。例えば、上記の実施例1で挙げた左方向への探索を所定の探索方向、例えば上方向、下方向、斜め方向へ回転してあてはめれば同様の処理を実現できる。
[Writing direction]
In the above-mentioned Example 1, an example in which the writing direction is horizontal writing is given, but as a matter of course, even when the writing direction is vertical writing or diagonal writing, FIGS. 9, 13, 18, etc. Can be processed. For example, the same process can be realized by applying the search in the left direction described in the first embodiment by rotating in a predetermined search direction, for example, in an upward direction, a downward direction, or an oblique direction.

[分散および統合]
また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されておらずともよい。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、受付部15a、設定部15b、第1判定部15c、第1再設定部15d、第2判定部15e、第2再設定部15fまたは筆記選択部15gを情報処理装置10の外部装置としてネットワーク経由で接続するようにしてもよい。また、受付部15a、設定部15b、第1判定部15c、第1再設定部15d、第2判定部15e、第2再設定部15fまたは筆記選択部15gを別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記の情報処理装置10の機能を実現するようにしてもよい。
[Distributed and integrated]
Further, each component of each of the illustrated devices does not necessarily have to be physically configured as shown in the figure. That is, the specific form of distribution / integration of each device is not limited to the one shown in the figure, and all or part of them may be functionally or physically distributed / physically in any unit according to various loads and usage conditions. Can be integrated and configured. For example, a network of a reception unit 15a, a setting unit 15b, a first determination unit 15c, a first resetting unit 15d, a second determination unit 15e, a second resetting unit 15f, or a writing selection unit 15g as an external device of the information processing device 10. You may connect via. Further, another device has a reception unit 15a, a setting unit 15b, a first determination unit 15c, a first resetting unit 15d, a second determination unit 15e, a second resetting unit 15f, or a writing selection unit 15g, respectively, and has a network. By being connected and collaborating, the function of the information processing apparatus 10 may be realized.

[筆記選択プログラム]
また、上記の実施例で説明した各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図23を用いて、上記の実施例と同様の機能を有する筆記選択プログラムを実行するコンピュータの一例について説明する。
[Writing selection program]
Further, the various processes described in the above embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. Therefore, in the following, an example of a computer that executes a writing selection program having the same function as that of the above embodiment will be described with reference to FIG. 23.

図23は、実施例1~実施例3に係る筆記選択プログラムを実行するコンピュータのハードウェア構成例を示す図である。図23に示すように、コンピュータ100は、操作部110aと、スピーカ110bと、カメラ110cと、ディスプレイ120と、通信部130とを有する。さらに、このコンピュータ100は、CPU150と、ROM160と、HDD170と、RAM180とを有する。これら110~180の各部はバス140を介して接続される。 FIG. 23 is a diagram showing a hardware configuration example of a computer that executes the writing selection program according to the first to third embodiments. As shown in FIG. 23, the computer 100 has an operation unit 110a, a speaker 110b, a camera 110c, a display 120, and a communication unit 130. Further, the computer 100 has a CPU 150, a ROM 160, an HDD 170, and a RAM 180. Each of these 110 to 180 parts is connected via the bus 140.

HDD170には、図23に示すように、上記の実施例1で示した受付部15a、設定部15b、第1判定部15c、第1再設定部15d、第2判定部15e、第2再設定部15f及び筆記選択部15gと同様の機能を発揮する筆記選択プログラム170aが記憶される。この筆記選択プログラム170aは、図1に示した受付部15a、設定部15b、第1判定部15c、第1再設定部15d、第2判定部15e、第2再設定部15f及び筆記選択部15gの各構成要素と同様、統合又は分離してもかまわない。すなわち、HDD170には、必ずしも上記の実施例1で示した全てのデータが格納されずともよく、処理に用いるデータがHDD170に格納されればよい。 As shown in FIG. 23, the HDD 170 has a reception unit 15a, a setting unit 15b, a first determination unit 15c, a first resetting unit 15d, a second determination unit 15e, and a second resetting unit shown in the first embodiment. A writing selection program 170a that exhibits the same functions as the unit 15f and the writing selection unit 15g is stored. The writing selection program 170a includes a reception unit 15a, a setting unit 15b, a first determination unit 15c, a first resetting unit 15d, a second determination unit 15e, a second resetting unit 15f, and a writing selection unit 15g shown in FIG. As with each component of, it may be integrated or separated. That is, not all the data shown in the first embodiment may be stored in the HDD 170, and the data used for processing may be stored in the HDD 170.

このような環境の下、CPU150は、HDD170から筆記選択プログラム170aを読み出した上でRAM180へ展開する。この結果、筆記選択プログラム170aは、図23に示すように、筆記選択プロセス180aとして機能する。この筆記選択プロセス180aは、RAM180が有する記憶領域のうち筆記選択プロセス180aに割り当てられた領域にHDD170から読み出した各種データを展開し、この展開した各種データを用いて各種の処理を実行する。例えば、筆記選択プロセス180aが実行する処理の一例として、図9や図13に示す処理などが含まれる。なお、CPU150では、必ずしも上記の実施例1で示した全ての処理部が動作せずともよく、実行対象とする処理に対応する処理部が仮想的に実現されればよい。 Under such an environment, the CPU 150 reads the writing selection program 170a from the HDD 170 and develops the writing selection program 170a into the RAM 180. As a result, the writing selection program 170a functions as the writing selection process 180a, as shown in FIG. 23. The writing selection process 180a expands various data read from the HDD 170 into the area allocated to the writing selection process 180a in the storage area of the RAM 180, and executes various processes using the expanded various data. For example, as an example of the process executed by the writing selection process 180a, the process shown in FIGS. 9 and 13 is included. In the CPU 150, not all the processing units shown in the first embodiment need to operate, and it is sufficient that the processing units corresponding to the processes to be executed are virtually realized.

なお、上記の筆記選択プログラム170aは、必ずしも最初からHDD170やROM160に記憶されておらずともかまわない。例えば、コンピュータ100に挿入されるフレキシブルディスク、いわゆるFD、CD-ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に筆記選択プログラム170aを記憶させる。そして、コンピュータ100がこれらの可搬用の物理媒体から筆記選択プログラム170aを取得して実行するようにしてもよい。また、公衆回線、インターネット、LAN、WANなどを介してコンピュータ100に接続される他のコンピュータまたはサーバ装置などに筆記選択プログラム170aを記憶させておき、コンピュータ100がこれらから筆記選択プログラム170aを取得して実行するようにしてもよい。 The writing selection program 170a may not necessarily be stored in the HDD 170 or the ROM 160 from the beginning. For example, the writing selection program 170a is stored in a "portable physical medium" such as a flexible disk inserted into the computer 100, that is, a so-called FD, CD-ROM, DVD disk, magneto-optical disk, or IC card. Then, the computer 100 may acquire and execute the writing selection program 170a from these portable physical media. Further, another computer or server device connected to the computer 100 via a public line, the Internet, a LAN, a WAN, or the like stores the writing selection program 170a, and the computer 100 acquires the writing selection program 170a from these. You may try to execute it.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following additional notes will be further disclosed with respect to the embodiments including the above embodiments.

(付記1)手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付け、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定し、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定し、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定し、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する、
処理をコンピュータに実行させる筆記選択プログラム。
(Appendix 1) Accept the designation of the reference area as the reference for the writing search on the screen where the writing that has been handwritten is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. Set the search area of
When the writing is included in the first search area, the first search area is reset so as to be adjacent to the search direction side of the writing.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. The end of the second search area on the search direction side is reset to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, the writing included in the second search area in which the writing has been searched is selected.
A writing selection program that lets a computer perform processing.

(付記2)前記設定する処理は、前記基準領域に含まれる筆記が一文字に対応する場合、前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記1に記載の筆記選択プログラム。 (Appendix 2) The process described in Appendix 1 is characterized in that the first search area and the second search area are set when the writing included in the reference area corresponds to one character. Written selection program.

(付記3)前記受け付ける処理は、前記基準領域の矩形に対応する四辺の指定を受け付けることを特徴とする付記1に記載の筆記選択プログラム。 (Appendix 3) The writing selection program according to Appendix 1, wherein the accepting process accepts designations of four sides corresponding to a rectangle in the reference area.

(付記4)前記設定する処理は、互いが一致しない複数の第2の探索領域を設定し、
前記再設定する処理は、複数の第2の探索領域ごとに前記第2の探索領域の前記探索方向側の端部を再設定し、
前記選択する処理は、前記複数の第2の探索領域ごとに前記第1の探索領域に含まれる筆記の前記探索方向側の端部との間で得られる差分のうちいずれか1つが前記所定の閾値を超える場合、前記差分が前記所定の閾値を超える第2の探索領域に含まれる筆記を選択することを特徴とする付記1に記載の筆記選択プログラム。
(Appendix 4) In the process to be set, a plurality of second search areas that do not match each other are set.
In the resetting process, the end portion of the second search region on the search direction side is reset for each of the plurality of second search regions.
In the process of selecting, any one of the differences obtained for each of the plurality of second search areas from the end of the writing included in the first search area on the search direction side is the predetermined value. The writing selection program according to Appendix 1, wherein when the threshold value is exceeded, the writing included in the second search area in which the difference exceeds the predetermined threshold value is selected.

(付記5)前記設定する処理は、前記基準領域の前記探索方向のサイズと、前記基準領域の前記探索方向に直交する方向のサイズとの比が所定の条件を満たす場合、前記基準領域から一文字ごとに抽出された矩形領域を前記基準領域とし、前記基準領域ごとに前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記1に記載の筆記選択プログラム。 (Appendix 5) The process to be set is one character from the reference area when the ratio of the size of the reference area in the search direction and the size of the reference area in the direction orthogonal to the search direction satisfy a predetermined condition. The writing selection program according to Appendix 1, wherein the rectangular area extracted for each is used as the reference area, and the first search area and the second search area are set for each reference area.

(付記6)手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付け、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定し、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定し、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定し、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する、
処理をコンピュータが実行する筆記選択方法。
(Appendix 6) Accept the designation of the reference area as the reference for the writing search on the screen where the writing that has been handwritten is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. Set the search area of
When the writing is included in the first search area, the first search area is reset so as to be adjacent to the search direction side of the writing.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. The end of the second search area on the search direction side is reset to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, the writing included in the second search area in which the writing has been searched is selected.
A written selection method in which the computer performs the process.

(付記7)前記設定する処理は、前記基準領域に含まれる筆記が一文字に対応する場合、前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記6に記載の筆記選択方法。 (Supplementary Note 7) The process described in Appendix 6 is characterized in that the first search area and the second search area are set when the writing included in the reference area corresponds to one character. Writing selection method.

(付記8)前記受け付ける処理は、前記基準領域の矩形に対応する四辺の指定を受け付けることを特徴とする付記6に記載の筆記選択方法。 (Supplementary Note 8) The writing selection method according to Supplementary Note 6, wherein the accepting process accepts designation of four sides corresponding to a rectangle of the reference area.

(付記9)前記設定する処理は、互いが一致しない複数の第2の探索領域を設定し、
前記再設定する処理は、複数の第2の探索領域ごとに前記第2の探索領域の前記探索方向側の端部を再設定し、
前記選択する処理は、前記複数の第2の探索領域ごとに前記第1の探索領域に含まれる筆記の前記探索方向側の端部との間で得られる差分のうちいずれか1つが前記所定の閾値を超える場合、前記差分が前記所定の閾値を超える第2の探索領域に含まれる筆記を選択することを特徴とする付記6に記載の筆記選択方法。
(Appendix 9) In the process to be set, a plurality of second search areas that do not match each other are set.
In the resetting process, the end portion of the second search region on the search direction side is reset for each of the plurality of second search regions.
In the process to be selected, any one of the differences obtained for each of the plurality of second search areas from the end of the writing included in the first search area on the search direction side is the predetermined value. The writing selection method according to Appendix 6, wherein when the threshold value is exceeded, the writing included in the second search area in which the difference exceeds the predetermined threshold value is selected.

(付記10)前記設定する処理は、前記基準領域の前記探索方向のサイズと、前記基準領域の前記探索方向に直交する方向のサイズとの比が所定の条件を満たす場合、前記基準領域から一文字ごとに抽出された矩形領域を前記基準領域とし、前記基準領域ごとに前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記6に記載の筆記選択方法。 (Appendix 10) The process to be set is one character from the reference area when the ratio of the size of the reference area in the search direction and the size of the reference area in the direction orthogonal to the search direction satisfy a predetermined condition. The writing selection method according to Appendix 6, wherein the rectangular area extracted for each is used as the reference area, and the first search area and the second search area are set for each reference area.

(付記11)手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付ける受付部と、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定する設定部と、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定する第1再設定部と、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定する第2再設定部と、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する筆記選択部と、
を有することを特徴とする情報処理装置。
(Appendix 11) A reception unit that accepts the designation of the reference area used as the reference for the writing search on the screen on which the writing that has been handwritten is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. The setting part that sets the search area of
When the writing is included in the first search area, the first resetting unit for resetting the first search area adjacent to the search direction side of the writing, and the first resetting unit.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. A second resetting unit that resets the end of the second search area on the search direction side to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, a writing selection unit that selects a writing included in the second search area in which the writing has been searched, and a writing selection unit.
An information processing device characterized by having.

(付記12)前記設定部は、前記基準領域に含まれる筆記が一文字に対応する場合、前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記11に記載の情報処理装置。 (Supplementary Note 12) The information according to Supplementary Note 11, wherein the setting unit sets the first search area and the second search area when the writing included in the reference area corresponds to one character. Processing equipment.

(付記13)前記受付部は、前記基準領域の矩形に対応する四辺の指定を受け付けることを特徴とする付記11に記載の情報処理装置。 (Supplementary Note 13) The information processing apparatus according to Supplementary Note 11, wherein the reception unit receives designations of four sides corresponding to a rectangle of the reference area.

(付記14)前記設定部は、互いが一致しない複数の第2の探索領域を設定し、
前記第2再設定部は、複数の第2の探索領域ごとに前記第2の探索領域の前記探索方向側の端部を再設定し、
前記筆記選択部は、前記複数の第2の探索領域ごとに前記第1の探索領域に含まれる筆記の前記探索方向側の端部との間で得られる差分のうちいずれか1つが前記所定の閾値を超える場合、前記差分が前記所定の閾値を超える第2の探索領域に含まれる筆記を選択することを特徴とする付記11に記載の情報処理装置。
(Appendix 14) The setting unit sets a plurality of second search areas that do not match each other.
The second resetting unit resets the end portion of the second search region on the search direction side for each of the plurality of second search regions.
In the writing selection unit, any one of the differences obtained between the plurality of second search areas and the end portion of the writing included in the first search area on the search direction side is the predetermined value. The information processing apparatus according to Appendix 11, wherein when the threshold value is exceeded, the writing included in the second search region in which the difference exceeds the predetermined threshold value is selected.

(付記15)前記設定部は、前記基準領域の前記探索方向のサイズと、前記基準領域の前記探索方向に直交する方向のサイズとの比が所定の条件を満たす場合、前記基準領域から一文字ごとに抽出された矩形領域を前記基準領域とし、前記基準領域ごとに前記第1の探索領域および前記第2の探索領域を設定することを特徴とする付記11に記載の情報処理装置。 (Appendix 15) When the ratio of the size of the reference region in the search direction to the size of the reference region in the direction orthogonal to the search direction satisfies a predetermined condition, the setting unit shall be used for each character from the reference region. 11. The information processing apparatus according to Appendix 11, wherein the rectangular region extracted from the above is used as the reference region, and the first search region and the second search region are set for each reference region.

1a 出力装置
1b 環境センサ
10 情報処理装置
11 通信I/F部
13 記憶部
13a 筆記データ
15 制御部
15a 受付部
15b 設定部
15c 第1判定部
15d 第1再設定部
15e 第2判定部
15f 第2再設定部
15g 筆記選択部
1a Output device 1b Environment sensor 10 Information processing device 11 Communication I / F unit 13 Storage unit 13a Written data 15 Control unit 15a Reception unit 15b Setting unit 15c 1st judgment unit 15d 1st resetting unit 15e 2nd judgment unit 15f 2nd Reset section 15g Writing selection section

Claims (7)

手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付け、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定し、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定し、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定し、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する、
処理をコンピュータに実行させる筆記選択プログラム。
Accepts the specification of the reference area to be the reference for the writing search on the screen where the writing with handwriting input is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. Set the search area of
When the writing is included in the first search area, the first search area is reset so as to be adjacent to the search direction side of the writing.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. The end of the second search area on the search direction side is reset to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, the writing included in the second search area in which the writing has been searched is selected.
A writing selection program that lets a computer perform processing.
前記設定する処理は、前記基準領域に含まれる筆記が一文字に対応する場合、前記第1の探索領域および前記第2の探索領域を設定することを特徴とする請求項1に記載の筆記選択プログラム。 The writing selection program according to claim 1, wherein the processing to be set sets the first search area and the second search area when the writing included in the reference area corresponds to one character. .. 前記受け付ける処理は、前記基準領域の矩形に対応する四辺の指定を受け付けることを特徴とする請求項1または2に記載の筆記選択プログラム。 The writing selection program according to claim 1 or 2, wherein the accepting process accepts designations of four sides corresponding to the rectangle of the reference area. 前記設定する処理は、互いが一致しない複数の第2の探索領域を設定し、
前記再設定する処理は、複数の第2の探索領域ごとに前記第2の探索領域の前記探索方向側の端部を再設定し、
前記選択する処理は、前記複数の第2の探索領域ごとに前記第1の探索領域に含まれる筆記の前記探索方向側の端部との間で得られる差分のうちいずれか1つが前記所定の閾値を超える場合、前記差分が前記所定の閾値を超える第2の探索領域に含まれる筆記を選択することを特徴とする請求項1、2または3に記載の筆記選択プログラム。
In the process to be set, a plurality of second search areas that do not match each other are set.
In the resetting process, the end portion of the second search region on the search direction side is reset for each of the plurality of second search regions.
In the selected process, any one of the differences obtained between the plurality of second search regions and the end of the writing included in the first search region on the search direction side is the predetermined one. The writing selection program according to claim 1, 2 or 3, wherein when the threshold value is exceeded, the writing included in the second search area in which the difference exceeds the predetermined threshold value is selected.
前記設定する処理は、前記基準領域の前記探索方向のサイズと、前記基準領域の前記探索方向に直交する方向のサイズとの比が所定の条件を満たす場合、前記基準領域から一文字ごとに抽出された矩形領域を前記基準領域とし、前記基準領域ごとに前記第1の探索領域および前記第2の探索領域を設定することを特徴とする請求項1~4のいずれか1つに記載の筆記選択プログラム。 The process to be set is extracted character by character from the reference area when the ratio of the size of the reference area in the search direction to the size of the reference area in the direction orthogonal to the search direction satisfies a predetermined condition. The writing selection according to any one of claims 1 to 4, wherein the rectangular area is set as the reference area, and the first search area and the second search area are set for each reference area. program. 手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付け、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定し、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定し、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定し、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する、
処理をコンピュータが実行する筆記選択方法。
Accepts the specification of the reference area to be the reference for the writing search on the screen where the writing with handwriting input is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. Set the search area of
When the writing is included in the first search area, the first search area is reset so as to be adjacent to the search direction side of the writing.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. The end of the second search area on the search direction side is reset to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, the writing included in the second search area in which the writing has been searched is selected.
A written selection method in which the computer performs the process.
手書き入力が行われた筆記が表示される画面上で筆記探索の基準とする基準領域の指定を受け付ける受付部と、
前記基準領域のうち前記筆記探索が行われる探索方向に隣接する第1の探索領域を設定すると共に、前記基準領域の前記探索方向に隣接し、かつ前記第1の探索領域に包含される第2の探索領域を設定する設定部と、
前記第1の探索領域に筆記が含まれる場合、当該筆記の前記探索方向側に隣接させて前記第1の探索領域を再設定する第1再設定部と、
前記第1の探索領域に含まれる筆記の前記探索方向側の端部と、前記第2の探索領域に含まれる筆記の前記探索方向側の端部との差分が所定の閾値以内である場合、前記第2の探索領域の前記探索方向側の端部を前記第1の探索領域の前記探索方向側の端部と同じ位置に再設定する第2再設定部と、
設定または再設定が行われた第1の探索領域に筆記が含まれない場合、前記筆記が探索済みである第1の探索領域に含まれる筆記を選択し、前記差分が前記所定の閾値を超える場合、前記筆記が探索済みである第2の探索領域に含まれる筆記を選択する筆記選択部と、
を有することを特徴とする情報処理装置。
A reception unit that accepts the designation of the reference area to be the reference for the writing search on the screen where the writing with handwriting input is displayed.
A second search area of the reference area adjacent to the search direction in which the written search is performed is set, and a second search area adjacent to the search direction of the reference area and included in the first search area is included. The setting part that sets the search area of
When the writing is included in the first search area, the first resetting unit for resetting the first search area adjacent to the search direction side of the writing, and the first resetting unit.
When the difference between the end of the writing included in the first search area on the search direction side and the end of the writing included in the second search area on the search direction side is within a predetermined threshold value. A second resetting unit that resets the end of the second search area on the search direction side to the same position as the end of the first search area on the search direction side.
If the first search area that has been set or reset does not contain writing, select the writing that is included in the first search area that the writing has already searched for, and the difference exceeds the predetermined threshold. In the case, a writing selection unit that selects a writing included in the second search area in which the writing has been searched, and a writing selection unit.
An information processing device characterized by having.
JP2018123585A 2018-06-28 2018-06-28 Writing selection program, writing selection method and information processing device Active JP7035852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018123585A JP7035852B2 (en) 2018-06-28 2018-06-28 Writing selection program, writing selection method and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018123585A JP7035852B2 (en) 2018-06-28 2018-06-28 Writing selection program, writing selection method and information processing device

Publications (2)

Publication Number Publication Date
JP2020004124A JP2020004124A (en) 2020-01-09
JP7035852B2 true JP7035852B2 (en) 2022-03-15

Family

ID=69099982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018123585A Active JP7035852B2 (en) 2018-06-28 2018-06-28 Writing selection program, writing selection method and information processing device

Country Status (1)

Country Link
JP (1) JP7035852B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3787268B1 (en) 2019-03-26 2022-03-30 NEC Platforms, Ltd. Portable terminal device, incoming call history display method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331122A (en) 1999-05-21 2000-11-30 Fujitsu Ltd Character recognition method and device
JP2002163607A (en) 2000-11-24 2002-06-07 Just Syst Corp Device and method for segmenting character, and computer readable recording medium recorded with program for allowing computer to execute the method
JP2016133888A (en) 2015-01-16 2016-07-25 富士ゼロックス株式会社 Information processor and information processing program
JP2016181057A (en) 2015-03-23 2016-10-13 株式会社東芝 Image processor, image processing method and image processing program
JP6316392B2 (en) 2016-07-29 2018-04-25 三菱電機株式会社 DC / DC converter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6316392A (en) * 1986-07-08 1988-01-23 Matsushita Electric Ind Co Ltd Character recognizing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331122A (en) 1999-05-21 2000-11-30 Fujitsu Ltd Character recognition method and device
JP2002163607A (en) 2000-11-24 2002-06-07 Just Syst Corp Device and method for segmenting character, and computer readable recording medium recorded with program for allowing computer to execute the method
JP2016133888A (en) 2015-01-16 2016-07-25 富士ゼロックス株式会社 Information processor and information processing program
JP2016181057A (en) 2015-03-23 2016-10-13 株式会社東芝 Image processor, image processing method and image processing program
JP6316392B2 (en) 2016-07-29 2018-04-25 三菱電機株式会社 DC / DC converter

Also Published As

Publication number Publication date
JP2020004124A (en) 2020-01-09

Similar Documents

Publication Publication Date Title
US9658990B2 (en) Reordering text from unstructured sources to intended reading flow
JP2018081674A (en) Method for line and word segmentation for handwritten text images
JP6432405B2 (en) Presentation support device, presentation support method, and presentation support program
US9934429B2 (en) Storage medium, recognition method, and recognition apparatus
JP2014127188A (en) Shaping device and method
JP7035852B2 (en) Writing selection program, writing selection method and information processing device
US20150139547A1 (en) Feature calculation device and method and computer program product
US20180276505A1 (en) Information processing device
JP2007079617A (en) Information processing apparatus and method, program, and storage medium
JP6287498B2 (en) Electronic whiteboard device, electronic whiteboard input support method, and program
JP2015035150A (en) Handwritten document processing apparatus, handwritten document processing method, and handwritten document processing program
JP2015102875A (en) Display system and display control device
KR20150024107A (en) Method for aligning input object and an electronic device thereof
JP6373664B2 (en) Electronic device, method and program
JP6364889B2 (en) Display control program, display control apparatus, and display control method
JP2013149210A (en) Image processing program, image processing method and image processor
JP6609181B2 (en) Character attribute estimation apparatus and character attribute estimation program
JP4128325B2 (en) Character recognition device and character recognition method
JP6772629B2 (en) Information processing device, character input program and character input method
CN113743438B (en) Data set generation method, device and system for text detection
JP2018116647A (en) Apparatus, method and computer readable storage medium for determining rotation angle of text
JP5361315B2 (en) Information processing apparatus and information processing method
JP2018063597A (en) Character recognition device, character recognition method, character recognition program, and form
KR20180085914A (en) Apparatus, method, and computer-readable storage medium for determining a rotation angle of text
JP6464891B2 (en) Sideline problem scoring method, sideline problem scoring program, and sideline problem scoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210310

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220128

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220201

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220214

R150 Certificate of patent or registration of utility model

Ref document number: 7035852

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150