JP2009181504A - Electronic writing tool and program - Google Patents
Electronic writing tool and program Download PDFInfo
- Publication number
- JP2009181504A JP2009181504A JP2008022021A JP2008022021A JP2009181504A JP 2009181504 A JP2009181504 A JP 2009181504A JP 2008022021 A JP2008022021 A JP 2008022021A JP 2008022021 A JP2008022021 A JP 2008022021A JP 2009181504 A JP2009181504 A JP 2009181504A
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- information
- code
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003384 imaging method Methods 0.000 claims abstract description 25
- 239000002131 composite material Substances 0.000 claims description 14
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000010365 information processing Effects 0.000 claims 1
- 239000000203 mixture Substances 0.000 abstract description 15
- 238000000034 method Methods 0.000 description 30
- 230000005540 biological transmission Effects 0.000 description 23
- 238000004891 communication Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 16
- 230000008859 change Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 15
- 238000001514 detection method Methods 0.000 description 13
- 238000007639 printing Methods 0.000 description 9
- 238000010521 absorption reaction Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 5
- 238000003786 synthesis reaction Methods 0.000 description 5
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 3
- 229910052799 carbon Inorganic materials 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000031700 light absorption Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 239000002985 plastic film Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Abstract
Description
本発明は、電子筆記具およびプログラムに関する。 The present invention relates to an electronic writing instrument and a program.
近年、用紙等の媒体上に筆記された文字や図形等が電子データに変換され、それがパソコンや携帯電話等に転送されて、筆記内容が保存等される技術が注目されている。
例えば特許文献1では、次のような技術が記載されている。すなわち、表面にそれぞれ異なるパターンで形成された微細なドットが印刷された媒体と、例えば撮像素子が内蔵されたペンデバイスとを用い、ペンデバイスによりこの媒体上に筆記が行われると、筆記された文字や図形等の位置のドットパターンが撮像素子に読み込まれ、文字や図形等の位置(描画トレース)の位置座標が特定される。それにより、筆記された文字や図形等からなる電子文書の生成や、所定の電子文書への文字や図形等の付加等を行う。
2. Description of the Related Art In recent years, attention has been paid to a technique in which characters, figures, and the like written on a medium such as paper are converted into electronic data, which is transferred to a personal computer, a mobile phone, etc., and the written contents are stored.
For example, Patent Document 1 describes the following technique. That is, when a medium on which fine dots formed with different patterns on the surface are printed and a pen device with an image sensor, for example, are written on the medium by the pen device, A dot pattern at the position of a character, a figure, or the like is read into the image sensor, and the position coordinates of the position of the character, the figure, etc. (drawing trace) are specified. Thereby, generation of an electronic document composed of written characters, graphics, etc., addition of characters, graphics, etc. to a predetermined electronic document are performed.
ところで、撮像素子等を備えたペンデバイスなどの電子筆記具を用いてバーコードなどのコード画像の読み取りを行う場合には画像を合成する必要がある。しかしながら、そのままの撮像範囲とフレームレートの場合、バーコード上を移動する電子筆記具のスキャン速度によっては、画像の欠けが生じたり、また欠けが生じなくても共通領域が小さすぎて正確な合成ができないなどの不具合が生じたりする。これを防ぐためには撮像範囲を広げると同時に十分なフレームレートを確保する必要があるが、一般に撮像範囲とフレームレートは撮像素子の処理能力を取り合うトレードオフの関係にあるため、両方を上げることは困難である。
本発明の目的は、バーコードなどのコード画像を読み取る際の画像合成を可能とし、コード画像からの情報の取得を可能とする電子筆記具等を提供することにある。
By the way, when reading a code image such as a barcode using an electronic writing instrument such as a pen device equipped with an image sensor or the like, it is necessary to synthesize an image. However, in the case of the same imaging range and frame rate, depending on the scanning speed of the electronic writing instrument that moves on the barcode, the image may be missing or the common area is too small to produce an accurate composition even if there is no missing. Problems such as inability to occur may occur. In order to prevent this, it is necessary to secure a sufficient frame rate at the same time as expanding the imaging range, but in general, the imaging range and the frame rate are in a trade-off relationship that balances the processing capability of the image sensor, so it is not possible to increase both Have difficulty.
An object of the present invention is to provide an electronic writing instrument or the like that enables image composition when reading a code image such as a barcode, and enables acquisition of information from the code image.
請求項1に記載の発明は、複数の受光素子が2次元マトリックス状に配列され、媒体上の画像を撮像する撮像部と、前記撮像部の所定の領域に含まれる受光素子を用いて前記媒体上の画像を撮像する第1のモードと、前記撮像部の前記所定の領域よりも小さい領域に含まれる受光素子を用いて前記媒体上の画像を撮像する第2のモードと、前記第1のモードと前記第2のモードとを切り替える切り替え手段と、を有する電子筆記具である。
請求項2に記載の発明は、前記第2のモードにて、媒体に付されたコード画像が断片的に複数撮像された場合に、当該コード画像の全体を再現した合成画像を生成する画像生成手段を更に備えることを特徴とする請求項1記載の電子筆記具である。
請求項3に記載の発明は、前記画像生成手段により生成された前記合成画像から前記コード画像に関する情報を取得する情報取得手段を更に備えることを特徴とする請求項2記載の電子筆記具である。
請求項4に記載の発明は、前記小さい領域に含まれる受光素子の各々からの信号に基づき前記第2のモードにて撮像された画像における濃度分布を把握する把握手段と、前記把握手段にて把握された濃度分布が所定の分布ではない場合に警告情報を出力する出力手段と、を更に備えることを特徴とする請求項1乃至3のいずれかに記載の電子筆記具である。
請求項5に記載の発明は、前記小さい領域の位置を変更する変更手段を更に備えることを特徴とする請求項1乃至4のいずれかに記載の電子筆記具である。
請求項6に記載の発明は、前記変更手段は、前記第2のモードにて撮像された画像における濃度分布が所定の分布ではない場合に前記小さい領域の位置を変更することを特徴とする請求項5記載の電子筆記具である。
請求項7に記載の発明は、前記第1のモードにて、媒体から当該媒体内における位置を示す符号画像が撮像された場合に、当該符号画像から位置情報を取得する位置情報取得手段を更に備え、前記切り替え手段は、前記位置情報取得手段により取得された前記位置情報が所定の位置情報である場合に前記第1のモードから前記第2のモードへと切り替えることを特徴とする請求項1乃至6のいずれかに記載の電子筆記具である。
請求項8に記載の発明は、前記第1のモードにて、媒体から当該媒体内における位置を示す符号画像が撮像された場合に、当該符号画像に基づき当該媒体に対する前記電子筆記具の軌跡情報を取得する軌跡情報取得手段を更に備え、前記切り替え手段は、前記軌跡情報取得手段により取得された前記軌跡情報に基づき前記電子筆記具が前記媒体に付されたコード画像に接近していると判断される場合に、前記第1のモードから前記第2のモードへと切り替えることを特徴とする請求項1乃至6のいずれかに記載の電子筆記具である。
According to the first aspect of the present invention, a plurality of light receiving elements are arranged in a two-dimensional matrix, and an image pickup unit that picks up an image on a medium and a light receiving element included in a predetermined region of the image pickup unit are used for the medium A first mode for capturing an image on the upper side, a second mode for capturing an image on the medium using a light receiving element included in an area smaller than the predetermined area of the imaging unit, and the first mode An electronic writing instrument having switching means for switching between a mode and the second mode.
According to the second aspect of the present invention, in the second mode, when a plurality of code images attached to the medium are captured in pieces, an image generation that generates a composite image that reproduces the entire code image The electronic writing instrument according to claim 1, further comprising means.
The invention according to claim 3 is the electronic writing instrument according to claim 2, further comprising information acquisition means for acquiring information relating to the code image from the composite image generated by the image generation means.
According to a fourth aspect of the present invention, there is provided grasping means for grasping a density distribution in an image picked up in the second mode based on a signal from each light receiving element included in the small region, and the grasping means 4. The electronic writing instrument according to claim 1, further comprising output means for outputting warning information when the grasped density distribution is not a predetermined distribution.
The invention according to claim 5 is the electronic writing instrument according to any one of claims 1 to 4, further comprising changing means for changing a position of the small area.
The invention according to claim 6 is characterized in that the changing means changes the position of the small area when the density distribution in the image picked up in the second mode is not a predetermined distribution. Item 5. The electronic writing instrument according to Item 5.
According to a seventh aspect of the present invention, when a code image indicating a position in the medium is captured from the medium in the first mode, position information acquisition means for acquiring position information from the code image is further provided. The switching means switches from the first mode to the second mode when the position information acquired by the position information acquisition means is predetermined position information. It is an electronic writing instrument in any one of thru | or 6.
According to the eighth aspect of the present invention, when a code image indicating a position in the medium is captured from the medium in the first mode, the trajectory information of the electronic writing instrument with respect to the medium is obtained based on the code image. Further comprising trajectory information acquisition means for acquiring, the switching means is determined that the electronic writing instrument is approaching a code image attached to the medium based on the trajectory information acquired by the trajectory information acquisition means. In this case, the electronic writing instrument according to claim 1, wherein the electronic writing instrument is switched from the first mode to the second mode.
請求項9に記載の発明は、複数の受光素子を有する撮像部と、前記撮像部における前記複数の受光素子の中の何れか複数の受光素子からなる第1のエリアの受光素子から出力される信号を取得する第1の読み取りモードと、前記撮像部の前記第1のエリアよりも少ない複数の受光素子からなる第2のエリアの受光素子から出力される信号を取得する第2の読み取りモードと、を有する電子筆記具である。
請求項10に記載の発明は、前記第2のエリアとは異なるエリアであって前記第1のエリアよりも少ない複数の受光素子からなる第3のエリアの受光素子から出力される信号を取得する第3のモードを更に有することを特徴とする請求項9記載の電子筆記具である。
請求項11に記載の発明は、前記第3のエリアは、前記第2のエリアに対し交差する関係で形成されることを特徴とする請求項10記載の電子筆記具である。
請求項12に記載の発明は、前記第3のエリアは、前記第2のエリアに対し略直交する関係で形成されることを特徴とする請求項10又は11記載の電子筆記具である。
請求項13に記載の発明は、複数の受光素子を有する撮像部の所定の領域に含まれる受光素子から信号を読み出す第1の機能と、前記撮像部の前記所定の領域よりも小さい領域に含まれる受光素子から信号を読み出す第2の機能と、をコンピュータに実現させるプログラムである。
The invention according to claim 9 is output from a light receiving element in a first area including an imaging unit having a plurality of light receiving elements and a plurality of light receiving elements among the plurality of light receiving elements in the imaging unit. A first reading mode for acquiring a signal, and a second reading mode for acquiring a signal output from a light receiving element in a second area including a plurality of light receiving elements smaller than the first area of the imaging unit. , An electronic writing instrument.
According to a tenth aspect of the present invention, a signal output from a light receiving element in a third area that is different from the second area and includes a plurality of light receiving elements smaller than the first area is acquired. The electronic writing instrument according to claim 9, further comprising a third mode.
The eleventh aspect of the present invention is the electronic writing instrument according to the tenth aspect, wherein the third area is formed so as to intersect the second area.
The invention according to claim 12 is the electronic writing instrument according to claim 10 or 11, wherein the third area is formed so as to be substantially orthogonal to the second area.
The invention according to claim 13 is included in a first function of reading a signal from a light receiving element included in a predetermined region of the imaging unit having a plurality of light receiving elements, and in a region smaller than the predetermined region of the imaging unit. And a second function for reading a signal from the light receiving element.
本発明の請求項1によれば、第2のモードによってフレームレートを高めることが可能となり、撮像画像にてコード画像の欠けが生じる状態を軽減できる。
本発明の請求項2によれば、コード画像が断片的に複数撮像された場合でもコード画像の全体を把握可能となる。
本発明の請求項3によれば、例えばコード画像がバーコードである場合にはバーコード情報を取得することが可能となる。
本発明の請求項4によれば、例えば、電子筆記具の向きがバーコード情報などの取得に適していない場合にユーザに対して警告を発することが可能となる。
本発明の請求項5によれば、本発明を採用しない場合に比べ、バーコード情報などの取得の可能性を高めることが可能となる。
本発明の請求項6によれば、第2のモードにて撮像された画像における濃度分布が所定の分布ではなくバーコード情報等の取得に適していない場合でも、バーコード情報等の取得を行うことが可能となる。
本発明の請求項7によれば、本発明を採用しない場合に比べて、例えばユーザがバーコードを読み取る際の操作を簡易なものとすることができる。
本発明の請求項8によれば、本発明を採用しない場合に比べて、例えばユーザがバーコードを読み取る際の操作を簡易なものとすることができる。
According to the first aspect of the present invention, it is possible to increase the frame rate by the second mode, and it is possible to reduce the state in which the code image is missing in the captured image.
According to claim 2 of the present invention, it is possible to grasp the entire code image even when a plurality of code images are captured in a fragmentary manner.
According to the third aspect of the present invention, for example, when the code image is a barcode, it is possible to acquire the barcode information.
According to the fourth aspect of the present invention, for example, it is possible to issue a warning to the user when the orientation of the electronic writing instrument is not suitable for obtaining barcode information or the like.
According to claim 5 of the present invention, it is possible to increase the possibility of acquiring bar code information and the like as compared with the case where the present invention is not adopted.
According to the sixth aspect of the present invention, even when the density distribution in the image captured in the second mode is not a predetermined distribution and is not suitable for acquiring the barcode information or the like, the barcode information or the like is acquired. It becomes possible.
According to the seventh aspect of the present invention, compared with the case where the present invention is not adopted, for example, the operation when the user reads the barcode can be simplified.
According to Claim 8 of this invention, compared with the case where this invention is not employ | adopted, operation when a user reads a barcode, for example can be simplified.
本発明の請求項9によれば、第2の読み取りモードによってフレームレートを高めることが可能となり、撮像画像にてコード画像の欠けが生じる状態を軽減できる。
本発明の請求項10によれば、本発明を採用しない場合に比べて、例えばバーコード情報等の取得の可能性をより高めることができる。
本発明の請求項11によれば、例えば、第2のエリアがコードを構成するバーに沿う状態にありバーコード情報等の取得ができない場合でも、コード情報の取得が可能となる。
本発明の請求項12によれば、バーコード情報等の取得の可能性をより高めることができる。
本発明の請求項13によれば、撮像画像にてコード画像の欠けが生じる状態を軽減できるプログラムを提供することができる。
According to the ninth aspect of the present invention, it is possible to increase the frame rate by the second reading mode, and it is possible to reduce the state in which the code image is missing in the captured image.
According to the tenth aspect of the present invention, the possibility of acquiring, for example, bar code information can be further increased as compared with the case where the present invention is not adopted.
According to the eleventh aspect of the present invention, for example, even when the second area is in a state along the bar constituting the code and the barcode information or the like cannot be obtained, the code information can be obtained.
According to the twelfth aspect of the present invention, the possibility of obtaining bar code information or the like can be further increased.
According to the thirteenth aspect of the present invention, it is possible to provide a program capable of reducing a state in which a code image is missing in a captured image.
以下、添付図面を参照して、本発明を実施するための最良の形態(以下、「実施の形態」という)について詳細に説明する。
まず、本実施の形態における筆跡情報管理システムの全体構成について説明する。
図1は、本実施の形態の筆跡情報管理システムの構成の一例を示した図である。図1に示したように、この筆跡情報管理システムは、端末装置10と、文書サーバ20と、識別情報サーバ30と、画像形成装置40と、端末装置50とがネットワーク80に接続されることにより構成されている。また、端末装置50には、デジタルペン60が通信装置70を介して接続されている。
The best mode for carrying out the present invention (hereinafter referred to as “embodiment”) will be described below in detail with reference to the accompanying drawings.
First, the overall configuration of the handwriting information management system in the present embodiment will be described.
FIG. 1 is a diagram showing an example of the configuration of the handwriting information management system of the present embodiment. As shown in FIG. 1, the handwriting information management system includes a
本実施の形態の筆跡情報管理システムでは、端末装置10から電子文書の印刷要求が行われると、文書サーバ20は端末装置10からの印刷要求を受け取り、画像形成装置40に対して印刷要求の対象となった電子文書の印刷指示を行う。それにより、画像形成装置40は、この電子文書の文書画像を紙等の媒体に印刷するが、その際に、画像形成装置40は文書画像に加えて符号画像を媒体上に印刷する。
In the handwriting information management system of this embodiment, when a print request for an electronic document is made from the
ここでの符号画像とは、識別情報および位置情報を符号化して得られる識別符号および位置符号を画像化したものである。識別情報とは、媒体を一意に特定するための情報であり、本実施の形態では識別情報サーバ30が発行する。また、位置情報は、媒体上の座標位置を特定するための情報であり、本実施の形態では文書サーバ20が生成する。
そして、文書画像と符号画像とが印刷された媒体に対し、ユーザがデジタルペン60を用いて筆記すると、デジタルペン60は符号画像に含まれる位置情報に基づいて手書き情報(筆跡情報)を生成する。またそれと同時に、デジタルペン60は符号画像に含まれる識別情報を認識する。そして、認識された識別情報と筆跡情報とは、端末装置50を介して文書サーバ20に送られる。識別情報と筆跡情報とを受け取った文書サーバ20は、識別情報に基づいて媒体に印刷された電子文書を特定し、この特定された電子文書と筆跡情報とを関連付けて記憶する。
The code image here is an image of the identification code and the position code obtained by encoding the identification information and the position information. The identification information is information for uniquely identifying a medium, and is issued by the
When the user writes with the
なお、本明細書では、媒体に記録する画像の元となる電子データを「電子文書」と表記するが、これは、テキストを含む「文書」を電子化したデータのみを意味するものではない。例えば、絵、写真、図形等の画像データ(ラスタデータかベクターデータかによらない)、データベース管理ソフトウェアや表計算ソフトウェアで記録されるデータ、その他の印刷可能な電子データも含めて「電子文書」としている。
また、本明細書において、「媒体」は、画像を印刷可能な媒体であれば、その材質は問わない。代表例は紙であるが、OHPシート等といったプラスチックシートや金属板等であっても構わない。さらに、本明細書では、電子文書、媒体、さらにはデジタルペン60やユーザについて、それぞれを一意に識別するための識別情報を用いて処理を行うが、単に「識別情報」という場合には、媒体に関する識別情報を意味するものとする。すなわち、本実施の形態では、媒体に固有に付与される媒体識別情報の一例として、この識別情報を用いる。
In this specification, electronic data that is the basis of an image recorded on a medium is expressed as “electronic document”. However, this does not mean only data obtained by digitizing a “document” including text. For example, "electronic document" including image data (regardless of raster data or vector data) such as pictures, photographs, figures, etc., data recorded by database management software or spreadsheet software, and other printable electronic data It is said.
In the present specification, the “medium” may be any material as long as it can print an image. A typical example is paper, but it may be a plastic sheet such as an OHP sheet or a metal plate. Furthermore, in this specification, processing is performed using identification information for uniquely identifying each of the electronic document, the medium, and the
続いて、本実施の形態の筆跡情報管理システムを構成する各構成要素について詳細に説明する。
端末装置10は、文書サーバ20に対して電子文書の印刷を要求するコンピュータ装置である。ここで、端末装置10としては、例えば、パーソナルコンピュータやワークステーション、その他のコンピュータが用いられる。
文書サーバ20は、電子文書を記憶し管理するコンピュータ装置である。また、端末装置10から電子文書の印刷要求があると、電子文書の画像と、識別情報および位置情報を表す符号画像とを生成し、これらを合成した合成画像を媒体に印刷する印刷命令を画像形成装置40に対して出力する。ここで、文書サーバ20としては、例えば、パーソナルコンピュータやワークステーション、その他のコンピュータが用いられる。
Then, each component which comprises the handwriting information management system of this Embodiment is demonstrated in detail.
The
The
識別情報サーバ30は、媒体に付与する識別情報を発行するコンピュータ装置である。そして、発行した識別情報を、その識別情報が付与される媒体に印刷される電子文書と関連付けて記憶する。ここで、識別情報サーバ30としては、例えば、パーソナルコンピュータやワークステーション、その他のコンピュータが用いられる。
画像形成装置40は、媒体に画像を印刷し、印刷文書として出力する装置である。この画像形成装置40は、単体のプリンタや印刷機であってもよいし、他にスキャナや通信の機能を備えた所謂「複合機」であってもよい。ここで、画像形成装置40における画像形成方式としては、例えば、電子写真方式を用いるとよいが、その他の方式を用いてもよい。
The
The
端末装置50は、印刷文書に対する筆記を電子化した情報(以下、「筆跡情報」という)を、印刷文書に記録された画像の元となる電子文書に反映させるために識別情報サーバ30に送信するコンピュータ装置である。また、筆跡情報を反映する対象の電子文書をディスプレイ(不図示)に表示し、その上に筆跡情報を重ねて表示するようにしてもよい。ここで、端末装置50としては、例えば、パーソナルコンピュータやワークステーション、その他のコンピュータが用いられる。なお、本実施の形態では、筆記の内容を電子化した筆跡情報の一例として、筆跡情報を用いている。また、筆跡情報を主に手書き情報として説明するが、これに限らず、例えば、建築や機械等の図面データを出力する装置であるプロッタ等によって機械的に描画された情報等を含むものである。
The
電子筆記具の一例としてのデジタルペン60は、印刷文書上に文字または図形を筆記するために用いられるペンデバイスである。また、媒体に印刷された符号画像やバーコードを読み取る撮像素子を備える。そして、撮像素子で読み取った符号画像から位置情報を検出し、筆記した文字または図形をイメージデータ化した筆跡情報をこの位置情報に基づいて生成し記憶等する。また、撮像素子から読み取った画像からバーコード情報を取得し記憶等する。
通信装置70は、デジタルペン60から筆跡情報やバーコード情報を取得して端末装置50に送信する装置である。通信装置70とデジタルペン60との間の通信の方式および通信装置70と端末装置50との間の通信の方式としては、USB(Universal Serial Bus)、Bluetooth(登録商標)、赤外線通信機能等、種々の方式が用いられる。なお、図1では、通信装置70をデジタルペン60と別体のものとして示しているが、必ずしも別体である必要はなく、一体に構成してもよい。
A
The
引き続いて、筆跡情報管理システムを構成する各構成要素の詳細を説明する。
まず、文書サーバ20の構成について説明する。
図2は、文書サーバ20の機能構成の一例を示したブロック図である。図2に示したように、文書サーバ20は、受信部21と、識別情報取得部22と、電子文書管理部23と、筆跡情報管理部24と、文書/筆跡情報記憶部25とを備える。また、識別符号生成部27aと、位置符号生成部27bと、符号配置部27cと、パターン画像記憶部27dと、符号画像生成部27eとを備える。さらに、文書画像生成部26と、画像合成部28と、送信部29とを備える。
Subsequently, details of each component constituting the handwriting information management system will be described.
First, the configuration of the
FIG. 2 is a block diagram illustrating an example of a functional configuration of the
受信部21は、端末装置10から印刷要求を受信する。ここで、印刷要求には、電子文書に加えて、印刷対象となる電子文書の識別情報(以下、「文書ID」という)と、印刷される媒体上での電子文書のレイアウトを定めるための各種設定(以下、「印刷設定」という)とが含まれる。文書IDは、端末装置10にて電子文書毎に付与されるが、文書サーバ20にて付与してもよい。また、受信部21は、印刷文書が印刷される媒体に固有に付与される識別情報を識別情報サーバ30から受信する。さらに、印刷文書に対する筆記が行われた際には、識別情報サーバ30から、印刷文書に埋め込まれた識別情報と、印刷文書に対する筆記の内容(筆記画像)を電子化した筆跡情報とを受信する。
識別情報取得部22は、受信部21から文書IDおよび印刷設定を取得し、これを送信部29に渡して識別情報の発行要求の送信を指示し、これを文書画像生成部26に渡して文書画像の生成を指示する。また、受信部21から媒体の識別情報を取得し、これを識別符号生成部27aに渡して識別符号の生成を指示する。
The receiving
The identification
電子文書管理部23は、受信部21が受信した識別情報と電子文書とを取得し、文書IDに基づき両者を対応付けて文書/筆跡情報記憶部25に登録する。また、文書/筆跡情報記憶部25に記憶された電子文書についての、印刷設定に従って媒体上に印刷された状態を反映した新たな電子文書(第2の電子文書)を生成し、生成された第2の電子文書を文書/筆跡情報記憶部25に記憶する。さらに、電子文書の表示や印刷が指示された際には、対応する識別情報と電子文書とを、文書/筆跡情報記憶部25から取り出す。
The electronic
筆跡情報管理部24は、受信部21が受信した識別情報と筆跡情報とを取得し、識別情報に基づき筆跡情報を電子文書に対応付けて文書/筆跡情報記憶部25に登録する。また、筆跡情報の表示が指示された際には、対応する識別情報と筆跡情報とを、文書/筆跡情報記憶部25から取り出す。
文書/筆跡情報記憶部25は、電子文書管理部23によって管理される電子文書と、筆跡情報管理部24によって管理される筆跡情報とを記憶する。ここで、本実施の形態では、識別情報と電子文書と筆跡情報とを関連付けて記憶する記憶手段の一例として、文書/筆跡情報記憶部25を設けている。
The handwriting
The document / handwriting
識別符号生成部27aは、媒体を特定する識別情報を符号化して識別符号を生成する。
位置符号生成部27bは、媒体上の座標位置を示す位置情報を符号化して位置符号を生成する。
符号配置部27cは、識別符号生成部27aにて生成された識別符号や、位置符号生成部27bにて生成された位置符号等を所定のレイアウト(後段の図3参照)に従って2次元平面に配置し2次元の符号配列を生成する。
パターン画像記憶部27dは、符号配列に格納される各符号の符号値に対応するパターン画像を記憶する。
符号画像生成部27eは、符号配置部27cが生成した2次元の符号配列を参照し、各符号値に対応したパターン画像を選択して符号画像を生成する。
The identification
The position
The
The pattern
The code
文書画像生成部26は、識別情報取得部22から文書IDおよび印刷設定を取得し、この文書IDで特定される電子文書を文書/筆跡情報記憶部25から読み出す。そして、印刷設定に従ってその電子文書の文書画像を生成する。
画像合成部28は、符号画像生成部27eが生成した符号画像と、文書画像生成部26が生成した文書画像とを合成し、合成画像を生成する。
送信部29は、識別情報サーバ30に対して識別情報の発行要求を送信する。また、画像形成装置40に対して媒体に対する画像の印刷命令を送信する。さらに、筆跡情報の表示が指示された際には、識別情報サーバ30に対して識別情報と筆跡情報とを送信する。
The document
The
The
ここで、本実施の形態の文書サーバ20で生成される符号画像について説明する。
図3は、符号画像を構成する画像等の一例を示した図である。まず、符号画像を構成する単位パターンについて説明する。図3(a)は、単位パターンの一例を示したものである。
単位パターンとは、情報埋め込みの最小単位である。図3(a)では、黒塗りの領域と斜線の領域をドット配置可能な領域とし、その間にある白色の領域をドット配置不可能な領域としている。そして、ドット配置可能な領域のうち、黒塗りの領域にドットが配置され、斜線の領域にはドットが配置されていないことを示している。すなわち、図3(a)は、ドットを配置可能な9箇所の中から選択した2箇所(黒塗りの領域)にドットを配置することで単位パターンを構成した例を示したものである。ここで、9箇所の中から2箇所を選択する組み合わせは36(=9C2)通りなので、単位パターンは、36種類存在する。このうち、4種類の単位パターンは、同期パターンとして使用される。同期パターンとは、画像の回転を検出したり、識別符号および位置符号の相対的な位置を特定したりするためのパターンである。特に、画像の回転を検出する必要があることから、4種類の同期パターンとしては、そのうちの1つの同期パターンを90度回転するとそのうちの別の同期パターンになるようなものが選ばれる。また、この4種類の単位パターンを除く32種類の単位パターンは、識別符号および位置符号を表現する情報パターンとして使用され、5ビットの情報が表現される。
Here, the code image generated by the
FIG. 3 is a diagram illustrating an example of an image constituting the code image. First, unit patterns constituting a code image will be described. FIG. 3A shows an example of the unit pattern.
The unit pattern is the minimum unit for embedding information. In FIG. 3A, a black area and a shaded area are areas where dots can be arranged, and a white area between them is an area where dots cannot be arranged. In addition, among the areas where dots can be arranged, dots are arranged in black areas, and dots are not arranged in hatched areas. That is, FIG. 3A shows an example in which a unit pattern is configured by arranging dots at two places (black areas) selected from nine places where dots can be arranged. Here, since there are 36 (= 9 C 2 ) combinations for selecting 2 locations out of 9 locations, there are 36 types of unit patterns. Of these, four types of unit patterns are used as synchronization patterns. The synchronization pattern is a pattern for detecting the rotation of the image and specifying the relative positions of the identification code and the position code. In particular, since it is necessary to detect the rotation of the image, the four types of synchronization patterns are selected such that when one of the synchronization patterns is rotated 90 degrees, another synchronization pattern is obtained. Further, the 32 types of unit patterns other than the 4 types of unit patterns are used as information patterns expressing the identification code and the position code, and 5-bit information is expressed.
ところで、図3(a)に示したドットは、あくまで情報表現のためのドットであり、画像を構成する最小の点を意味するドットとは必ずしも一致しない。本実施の形態において、情報表現のためのドット(図3(a)の最小の四角)は、600dpiにおける2ドット×2ドットの大きさを有している。600dpiにおける1ドットの大きさは0.0423mmなので、情報表現のためのドット(図3(a)の最小の四角)の一辺は、84.6μm(=0.0423mm×2)である。情報表現のためのドットは、大きくなればなるほど目に付きやすくなるため、できるだけ小さいほうが好ましい。ところが、あまり小さくすると、プリンタで印刷できなくなってしまう。そこで、情報表現のためのドットの大きさとして、50μmより大きく100μmより小さい上記の値を採用している。ただし、上記の値84.6μmは、あくまで計算上の数値であり、実際に印刷されたトナー像では100μm程度になる。なお、本明細書で「ドット」というときは、特に明示しない限り、画像を構成する最小の点を意味するドットではなく、情報表現のためのドットを指すものとする。 By the way, the dots shown in FIG. 3A are only for information representation, and do not necessarily coincide with the dots that mean the minimum points constituting the image. In the present embodiment, dots for information expression (the minimum square in FIG. 3A) have a size of 2 dots × 2 dots at 600 dpi. Since the size of one dot at 600 dpi is 0.0423 mm, one side of a dot for information expression (the minimum square in FIG. 3A) is 84.6 μm (= 0.0423 mm × 2). The larger the dot for information expression, the more likely it is to be noticeable. Therefore, it is preferable that the dot is as small as possible. However, if it is too small, printing with a printer becomes impossible. Therefore, the above values larger than 50 μm and smaller than 100 μm are employed as the size of dots for information expression. However, the above value 84.6 μm is a numerical value to the last, and is about 100 μm in the actually printed toner image. In the present specification, the term “dot” refers to a dot for information expression, not a dot that means the minimum point constituting an image unless otherwise specified.
次に、このような単位パターンから構成される符号ブロックについて説明する。図3(b)に、符号ブロックのレイアウトの一例を示す。なお、ここでは、画像ではなく、パターン画像によって置き換えられる直前の符号配列で示している。すなわち、図3(b)の最小の四角(以下、「単位ブロック」という)に、図3(a)のような単位パターン(36通りの単位パターンのいずれか)が配置され、その画像が媒体に形成されることになる。
図3(b)のレイアウトでは、符号ブロックの左上の1つの単位ブロックに、同期符号が配置されている。また、同期符号が配置された単位ブロックの右側の4つの単位ブロックにX位置符号が配置され、同期符号が配置された単位ブロックの下側の4つの単位ブロックにY位置符号が配置されている。さらに、これらの位置符号が配置された単位ブロックに囲まれた16(=4×4)個の単位ブロックに識別符号が配置されている。
Next, a code block composed of such unit patterns will be described. FIG. 3B shows an example of the layout of the code block. Here, not the image but the code arrangement immediately before being replaced by the pattern image is shown. That is, a unit pattern as shown in FIG. 3A (any one of 36 unit patterns) is arranged in the smallest square (hereinafter referred to as “unit block”) in FIG. Will be formed.
In the layout of FIG. 3B, the synchronization code is arranged in one unit block at the upper left of the code block. Further, the X position code is arranged in the four unit blocks on the right side of the unit block in which the synchronization code is arranged, and the Y position code is arranged in the four unit blocks on the lower side of the unit block in which the synchronization code is arranged. . Furthermore, identification codes are arranged in 16 (= 4 × 4) unit blocks surrounded by unit blocks in which these position codes are arranged.
ここで、識別情報の符号化について述べる。
識別情報を符号化する場合、識別情報を構成するビット列は、RS符号化を行うために複数のブロックに分割される。符号化には、いくつかの方法があるが、本実施の形態では、RS符号化が適している。RS符号は多値の符号法であり、この場合、単位ブロックで表現される値がRS符号の多値に対応するからである。例えば、1つの単位ブロックで5ビットの情報を表現する場合、60ビットの識別情報は、ブロック長が5ビットの12個のブロックに分割される。そして、2ブロックの誤りを訂正可能なRS符号を採用したとすると、符号長は16ブロックとなり、図3(b)の符号ブロックにおける識別符号が配置される単位ブロックに収まることになる。なお、符号化方式はRS符号に限定するものでなく、その他の符号化方式、例えば、BCH符号等を使用してもよい。
Here, encoding of identification information will be described.
When encoding identification information, the bit string which comprises identification information is divided | segmented into a some block in order to perform RS encoding. Although there are several methods for encoding, RS encoding is suitable in this embodiment. This is because the RS code is a multi-value coding method, and in this case, the value represented by the unit block corresponds to the multi-value of the RS code. For example, when 5-bit information is expressed by one unit block, the 60-bit identification information is divided into 12 blocks having a block length of 5 bits. If an RS code capable of correcting two blocks of errors is employed, the code length is 16 blocks, which can be accommodated in a unit block in which the identification code in the code block of FIG. Note that the encoding method is not limited to the RS code, and other encoding methods such as a BCH code may be used.
引き続いて、位置情報の符号化について述べる。
位置情報の符号化には、擬似乱数系列の一種であるM系列符号が使用される。ここで、M系列とは、ある長さのシフトレジスタとフィードバックによって生成される符号系列とのうち、その周期が最長になる系列をいう。Kをシフトレジスタの段数とすると、M系列の系列長は2K−1となる。このM系列から取り出した任意の連続したKビットは、同じM系列中の他の位置に現れない性質を持つ。そこで、この性質を利用して位置情報を符号化する。
ところで、本実施の形態では、符号化すべき位置情報の長さから、必要なM系列の次数を求め、M系列を生成している。しかしながら、符号化する位置情報の長さが予め分かっている場合は、M系列を毎回生成する必要はない。すなわち、固定のM系列を予め生成しておき、それをメモリ等に格納しておけばよい。
例えば、系列長8191のM系列(K=13)を使用したとする。この場合、位置符号も5ビット単位で埋め込むため、系列長8191のM系列から5ビットずつ取り出してブロック化する。
Subsequently, encoding of position information will be described.
For encoding the position information, an M-sequence code, which is a kind of pseudo-random sequence, is used. Here, the M sequence refers to a sequence having the longest period among a shift register having a certain length and a code sequence generated by feedback. When K is the number of stages in the shift register, the sequence length of the M sequence is 2 K −1. Arbitrary consecutive K bits extracted from the M sequence have a property that they do not appear at other positions in the same M sequence. Therefore, the position information is encoded using this property.
By the way, in the present embodiment, a necessary M-sequence order is obtained from the length of position information to be encoded, and an M-sequence is generated. However, if the length of the position information to be encoded is known in advance, it is not necessary to generate the M sequence each time. That is, a fixed M sequence may be generated in advance and stored in a memory or the like.
For example, it is assumed that an M sequence (K = 13) having a sequence length of 8191 is used. In this case, since the position code is also embedded in units of 5 bits, 5 bits are taken out from the M sequence having a sequence length of 8191 and blocked.
なお、本明細書では、説明を簡単にするために、識別情報と位置情報とは明確に区別して用いている。しかしながら、広範な位置情報を用意しておき、媒体ごとに異なる範囲から位置情報を切り出して埋め込み、位置情報の違いによって媒体を識別するという手法もある。そこで、このような手法においては、媒体を識別する機能が位置情報に備わっているものと見て、位置情報を識別情報としても考えるものとする。 In this specification, the identification information and the position information are clearly distinguished and used for the sake of simplicity. However, there is a technique in which a wide range of position information is prepared, the position information is cut out and embedded from different ranges for each medium, and the medium is identified by the difference in position information. Therefore, in such a method, it is assumed that the position information has a function for identifying the medium, and the position information is also considered as the identification information.
次に、識別情報サーバ30の構成について説明する。
図4は、識別情報サーバ30の機能構成の一例を示したブロック図である。図4に示したように、識別情報サーバ30は、受信部31と、識別情報管理部32と、識別情報記憶部33と、表示情報生成部34と、送信部39とを備える。
受信部31は、文書サーバ20から識別情報の発行要求を受信する。また、受信部31は、印刷文書に対する筆記が行われた際には、媒体の識別情報と筆跡情報とを端末装置50から受信する。ここで、本実施の形態では、端末装置50から媒体の識別情報と筆跡情報とを受信し、さらに筆跡情報の表示が指示された際に、文書サーバ20から媒体の識別情報と筆跡情報とを受信する受信手段の一例として、受信部31を設けている。
Next, the configuration of the
FIG. 4 is a block diagram illustrating an example of a functional configuration of the
The receiving
識別情報管理部32は、識別情報の発行要求があると、識別情報を重複することなく発行し、その際に指定された文書IDおよび印刷設定を識別情報に関連付けて記憶する。また、識別情報の指定を受けて、その識別情報に対応する文書IDおよび印刷設定を取り出す。
識別情報記憶部33は、識別情報を、その使用/未使用の状態、それが付与された媒体に印刷された電子文書の文書ID、それが付与された媒体に電子文書が印刷された際の印刷設定を関連付けて記憶するデータベースである。
表示情報生成部34は、筆跡情報の表示が指示された際に、文書サーバ20から取得した情報に基づいて、筆跡情報を表示するための表示情報を生成する。この表示情報としては、例えば、端末装置50で表示するイメージを生成する元となるデータを生成する。
送信部39は、文書サーバ20からの要求に応じて発行した識別情報を文書サーバ20に送信する。また、印刷文書に対する筆記が行われた際には、媒体の識別情報と筆跡情報とを文書サーバ20に送信する。さらに、筆跡情報の表示が指示された際には、端末装置50に対して表示情報を送信する。
When there is a request for issuing identification information, the identification
The identification information storage unit 33 stores the identification information in the used / unused state, the document ID of the electronic document printed on the medium to which the identification information is added, and the electronic document printed on the medium to which the identification information is printed. It is a database that stores print settings in association with each other.
The display
The
次に、デジタルペン60について説明する。
図5は、デジタルペン60の機能構成を説明する図である。同図に示すように、デジタルペン60は、ペン全体の動作を制御する制御回路611を備える。制御回路611は、読み取った符号画像を処理する第1の画像処理部611aと、読み取った画像を処理しバーコード情報を取得する第2の画像処理部611bとを備える。
また、制御回路611には、デジタルペン60による筆記動作をペンチップ619に加わる圧力(筆圧)によって検知し、デジタルペン60を動作状態に設定する筆圧検知スイッチ612が接続されている。さらに、媒体上に赤外光を照射する赤外LED613と、反射光を検知することによって符号画像等を読み取る赤外CMOS(Complementary Metal Oxide Semiconductor)614も接続されている。
Next, the
FIG. 5 is a diagram illustrating the functional configuration of the
The
さらにまた、制御回路611には、識別情報、位置情報、バーコード情報等を記憶するための情報メモリ615と、外部装置と通信するための通信回路616と、ペンを駆動するためのバッテリ617と、ペンの識別情報(ペンID)を記憶するペンIDメモリ618とが接続されている。また、デジタルペン60の外部に露出した操作ボタン620に連動可能に設けられた検知スイッチ621と、外部に対して所定の情報を表示するための表示用LED622とが接続されている。なお、表示用LED622を操作ボタン620内に配置し、操作ボタン620と情報表示機能とを兼用させる構成とすることも可能である。また、上記赤外CMOS614は、信号の読み出しを行う受光素子(画素)を選択するように赤外CMOS614を駆動する水平走査回路および垂直走査回路(いずれも不図示)を介して制御回路611に接続される。また、赤外CMOS614は、フォトダイオードなどの複数の受光素子が2次元マトリックス状に配列されており、媒体上の画像を撮像する撮像部として機能している。
Furthermore, the
制御回路611において実現される機能構成について詳細に説明する。図6は、制御回路611の機能構成の一例を示したブロック図である。
上述のように制御回路611は、第1の画像処理部611aと第2の画像処理部611bとを備えている。また、制御回路611は、画像取得部630と、モード変更部631と、CMOS制御部632と、表示制御部633と、送信部634とを備えている。
A functional configuration realized in the
As described above, the
第1の画像処理部611aは、上記のとおり読み取った符号画像を処理する機能を有している。ここで、第1の画像処理部611aは、ドット配列生成部641と、符号配列生成部642と、識別情報取得部643と、位置情報取得部644と、筆跡情報生成部645とを備える。
ドット配列生成部641は、符号画像におけるドットの位置を参照して、ドット配列を生成する。すなわち、2次元の配列上で、例えば、ドットがある位置に「1」を、ドットがない位置に「0」を記憶することにより、画像として検出したドットをデジタルデータに置き換える。そして、この2次元の配列をドット配列として出力する。
The first
The dot
符号配列生成部642は、ドット配列上で、符号ブロック内の単位パターンに対応するブロックを検出する。具体的には、単位パターンが配置されるブロックと同じ形状および大きさの枠をドット配列上で動かし、枠内のドット数が均等になる位置で枠を固定する。例えば、図3(a)の単位パターンを用いる場合であれば、3ドット×3ドットに対応する大きさの枠を動かし、枠内に含まれるドット数が2となる位置で枠を固定する。そして、その枠で区切られた各ブロック内のドット位置から定まる符号値を格納した符号配列を生成する。また、この符号配列が生成されると、予め定められた同期符号の符号値を検索することによって、同期符号の位置が特定される。
The code
識別情報取得部643は、符号配列から同期符号の位置を基準にして識別符号を検出する。そして、画像生成時にRS符号化処理で用いたパラメータを用いて識別符号を復号し、識別情報を取得する。
位置情報取得部644は、符号配列から同期符号の位置を基準にして位置符号を検出する。そして、位置符号からM系列の部分系列を取り出し、画像生成時に使用したM系列におけるこの部分系列の位置を参照し、この位置を同期符号によるオフセットで補正した値を位置情報として取得する。なお、オフセットで補正するのは、位置符号の間に同期符号が配置されているためである。
The identification
The position
筆跡情報生成部645は、位置情報取得部644が取得した位置情報を連結して筆跡情報を生成する。ここで、筆跡情報には、少なくともデジタルペン60のペン先の軌跡を電子化したデータが含まれるが、これ以外の情報を含んでもよい。ペン先の軌跡以外の情報としては、例えば、筆記した時にペンに設定されていた色の情報や、筆圧の情報等がある。
The handwriting
一方、第2の画像処理部611bは、上記のとおり読み取った画像を処理しバーコード情報を取得する。ここで、第2の画像処理部611bは、画像合成部651、交点検知部652と、コード情報取得部653とを備える。
画像合成部651は、順次入力されてくる複数の画像データを合成し合成画像を生成する。把握手段としても機能する交点検知部652は、入力されてくる画像データの濃度分布を把握するとともに、この濃度分布と所定の濃度閾値とが交わる交点を検知する。そして、この交点の数を取得し出力する。コード情報取得部653は、入力されてくる画像データからバーコードを検知(認識)するとともにバーコード情報を取得し、取得したバーコード情報を出力する。
On the other hand, the second
The
また、画像取得部630は、赤外CMOS614が媒体(印刷文書)から読み取った画像を取得する。また、必要に応じて、画像に含まれるノイズを除去する。
モード変更部631は、印刷文書(媒体)から符号画像を読み取るモード(以下、「符号画像読み取りモード」と称する)から、印刷文書からバーコードを読み取るモード(以下、「バーコード読み取りモード」と称する)にモードの変更を行い、又はバーコード読み取りモードから符号画像読み取りモードへとモードの変更を行う。
CMOS制御部632は、上記水平走査回路および垂直走査回路を介して赤外CMOS614の動作を制御する。詳細には、CMOS制御部632は、上記水平走査回路および垂直走査回路を介して、画素信号の読み出しを行う赤外CMOS614上の受光素子を選択するとともに、選択された受光素子から画素信号が出力されるように赤外CMOS614を制御する。また、CMOS制御部632は、赤外CMOS614が撮像する際のフレームレートを設定する。
表示制御部633は、表示用LED622の動作制御を行う。例えば読み取りモードに応じて表示用LED622における表示色を変化させる。
送信部634は、識別情報取得部643が取得した識別情報と、筆跡情報生成部645が生成した筆跡情報とを通信回路616に渡すことで、通信装置70への情報送信を実現する。また、送信部634は、コード情報取得部653が取得したバーコード情報を通信回路616に渡すことで、通信装置70への情報通信を実現する。
The
The
The
The
The
ここで図7は、符号画像読み取りモードにおいて、筆跡情報(筆記データ)の取得までの動作を概念的に示したものである。デジタルペン60では、まず、赤外LED613が媒体に対して赤外光を照射し、赤外CMOS614がその反射光を受光することにより、符号画像を読み取る。そして、画像取得部630がこの読み取った符号画像を取得する。その際に、符号画像にノイズが含まれていれば、これを除去する。次にデコードがなされる。詳細には、ドット配列生成部641が、符号画像に含まれるドット位置をデジタルデータ化し、ドット配列を生成する。そして、符号配列生成部642が、ドット配列からブロックを検出し、ブロックごとの符号値を格納した符号配列を生成する。そして、符号配列において、同期符号の位置を特定する。その後、識別情報取得部643が、同期符号の位置に基づいて識別符号を検出し、これを復号して識別情報(図中ではドキュメントIDと表示)を取得する。また、位置情報取得部644が、同期符号の位置に基づいて位置符号を検出し、これを復号して位置情報を取得する。そして、筆跡情報生成部645が、位置情報を連結して筆跡情報(筆記データ)を生成する。そして、送信部634が、これらの情報を通信装置70および端末装置50を介して識別情報サーバ30へ送信する。なお、バーコード情報を取得する際の動作については後述する。
FIG. 7 conceptually shows an operation until acquisition of handwriting information (writing data) in the code image reading mode. In the
図8は、デジタルペン60の制御部611のハードウェア構成を示した図である。
同図に示すように、制御部611は、機能モジュールとして、デジタルペン60の動作制御を行うに際して予め定められた動作制御プログラム(ファームウェア)に従ってデジタル演算処理を実行するCPU101、CPU101により実行される処理プログラム等が格納されるRAM102、CPU101により実行される処理プログラム等にて用いられる設定値等のデータ等が格納されるROM103、書き換え可能で電源供給が途絶えた場合にもデータを保持できるEEROMやフラッシュメモリ等の不揮発性メモリ104、制御部611に接続される各部との信号の入出力を制御するインターフェース部105を備えている。
また、外部記憶装置106には、制御部611により実行される動作制御プログラムが格納されており、制御部611がこの処理プログラムを読み込むことによって、デジタルペン60に関する動作制御が実行される。
FIG. 8 is a diagram illustrating a hardware configuration of the
As shown in the figure, the
The
すなわち、上記した第1の画像処理部611a、第2の画像処理部611b、画像取得部630、モード変更部631、CMOS制御部632、表示制御部633、送信部634の各機能を実現する動作制御プログラムを外部記憶装置106から制御部611内のRAM102に読み込む。そして、RAM102に読み込まれた動作制御プログラムに基づいて、CPU101が各種処理を行う。この動作制御プログラムは、デジタルペン60と通信する例えば端末装置50に備えられたハードディスクやDVD−ROM等がデジタルペン60の外部記憶装置106として機能して、端末装置50から通信回線を介してRAM102にロードされて提供される。また、その他の提供形態として、予めROM103にインストールされた状態にて提供される形態がある。さらに、デジタルペン60がアッセンブリされた後に、動作制御プログラムが不揮発性メモリ104にインストールされ、不揮発性メモリ104からRAM102にロードされる形態がある。また、インターネット等のネットワークを介してデジタルペン60にプログラムが伝送され、RAM102にインストールされる形態がある。
That is, the operation for realizing the functions of the first
続いて、本実施の形態の筆跡情報管理システムにて電子文書に関して行われる各種処理について説明する。
[印刷文書の生成処理]
図9は、筆跡情報管理システムにて印刷文書が生成される際の動作の一例を示したシーケンス図である。
まず、ユーザは端末装置10から電子文書の印刷指示を文書サーバ20に送信する(ステップ101)。その際には、端末装置10は、印刷対象となる電子文書と、電子文書の識別情報(文書ID)と、ユーザが指定した印刷設定とを送信する。ここで、印刷設定は、印刷の対象とするページ、印刷部数、媒体である用紙のサイズ、拡大縮小率、Nアップ(電子文書のNページを媒体の1ページに割り付ける印刷)、余白領域の大きさ等の設定を含む。
Next, various processes performed on the electronic document in the handwriting information management system of the present embodiment will be described.
[Print document generation processing]
FIG. 9 is a sequence diagram illustrating an example of an operation when a print document is generated in the handwriting information management system.
First, the user transmits an instruction to print an electronic document from the
文書サーバ20は、端末装置10から電子文書の印刷指示を受信する(ステップ201)。印刷指示に含まれる印刷対象となる電子文書は、電子文書管理部23に送られ、電子文書管理部23が、電子文書を文書IDと関連付けて文書/筆跡情報記憶部25に登録する(ステップ202)。
また、文書サーバ20は、印刷を指示された電子文書の文書IDと印刷設定とを識別情報サーバ30に送信する(ステップ203)。ここで、文書IDとしては、例えば、URL(Uniform Resource Locator)を用いるとよいが、電子文書を一意に特定することができるものであれば他の情報を用いてもよい。
それにより、識別情報サーバ30は、文書IDと印刷設定とを受信する(ステップ301)。そして、媒体識別情報を管理する識別情報管理部32が識別情報記憶部33から未使用の媒体識別情報を取得する(ステップ302)。ここで、取り出す媒体識別情報の数は、印刷設定に応じて決められる。つまり、基本的には、印刷するページ数に印刷部数を乗じて得られる数の媒体識別情報が取り出される。ただし、印刷設定情報の中に、Nアップ印刷の指定等がある場合は、それも考慮される。例えば、10ページの電子文書を2アップ印刷で5部印刷する場合は、25(=10÷2×5)個の媒体識別情報が取り出される。
次に、識別情報サーバ30は、識別情報と文書IDと印刷設定とを関連付けて識別情報記憶部33に登録する(ステップ303)。そして、識別情報サーバ30は、文書サーバ20に対し、識別情報を送信する(ステップ304)。
The
Further, the
Thereby, the
Next, the
それにより、文書サーバ20は、識別情報を受信する(ステップ204)。そして、識別情報および位置情報を表す符号画像を生成する(ステップ205)。
すなわち、文書サーバ20では、受信部21が媒体識別情報を受信する。そして、受信部21は、受信した媒体識別情報を識別情報取得部22に受け渡す。すると、まず識別情報取得部22が、取得した媒体識別情報を識別符号生成部27aに渡し、識別符号生成部27aが、上記した方法を用いて媒体の識別情報を符号化し、識別符号を生成する。
また、位置符号生成部27bは、受信部21から印刷設定を受け取り、印刷設定に応じた範囲の位置情報を上記した方法を用いて符号化し、位置符号を生成する。
そして、符号配置部27cが、媒体識別符号と位置符号とを所定のレイアウトに従って配置し、これを符号画像生成部27eが、パターン画像記憶部27dに記憶されたパターン画像を用いて画像化することで符号画像を生成する。
Thereby, the
That is, in the
In addition, the position
Then, the
その後、文書サーバ20では、文書画像生成部26が、電子文書の文書画像を生成する(ステップ206)。その際に、文書画像生成部26は、ステップ201で識別情報取得部22が取得した文書IDを受け取り、文書IDに基づいて印刷対象となる電子文書を文書/筆跡情報記憶部25から読み出す。また、ステップ201で識別情報取得部22が取得した印刷設定を受け取り、これに基づいて文書画像を生成する。
そして、画像合成部28は、ステップ205で生成された符号画像と、ステップ206で生成された文書画像とを合成し、合成画像を生成する(ステップ207)。
その後、合成画像は送信部29に渡され、送信部29が、合成画像の印刷命令を画像形成装置40に送信する(ステップ208)。ここで、合成画像の印刷命令は、例えば、文書画像の印刷命令の列からなるPDL(Page Description Language)ファイルに対し、符号画像として印刷する内容をPDLコマンドとして設定したPDLの形式で送信される。
Thereafter, in the
Then, the
Thereafter, the composite image is transferred to the
画像形成装置40は、文書サーバ20から合成画像(電子文書の文書画像および符号画像)を受信する(ステップ401)。そして、画像形成装置40は、文書画像をY(イエロー)、M(マゼンタ)、C(シアン)により画像に展開する(ステップ402)。次に、文書画像はC、M、Yのトナーを用いて、符号画像はK(カーボンを含む黒)のトナーを用いて、それぞれ画像形成を行う(ステップ403)。
The
ところで、上述した例では、識別情報サーバ30は識別情報を発行するだけで、文書サーバ20が、識別情報を含む符号画像を生成し、画像形成装置40に画像形成を指示する構成とした。しかしながら、識別情報サーバ30が、符号画像を生成し、画像形成装置40に画像形成を指示する構成としてもよい。
また、符号画像を画像形成装置40で生成する構成を採用してもよい。その場合には、文書サーバ20または識別情報サーバ30が、電子文書から生成したPDLに識別情報を付加して画像形成装置40へ送信し、画像形成装置40が識別情報を含む符号画像を生成することになる。
In the above-described example, the
Further, a configuration in which the code image is generated by the
また、上記の例では、識別情報と文書IDと印刷設定とが関連付けられて構成されたデータベース(識別情報記憶部33)を識別情報サーバ30に置く構成について説明した。これは、かかるデータベースを共有可能な装置(識別情報サーバ30)に置くことで、複数ユーザへの対応や、サーバのアクセス制御技術を利用した電子文書のセキュリティ確保が可能となるからである。しかしながら、必ずしもこのような構成を採用する必要はなく、端末装置10や文書サーバ20に上記のデータベースを置く構成を採用してもよい。
In the above example, the configuration in which the database (identification information storage unit 33) configured by associating the identification information, the document ID, and the print setting is placed in the
また、上記した画像形成装置40では、符号画像をK(カーボンを含む黒)のトナーを用いて形成するようにした。これは、Kのトナーが、C(シアン)、M(マゼンタ)、Y(イエロー)のトナーよりも赤外光の吸収量が多く、デジタルペン60での符号画像の読み取りが容易となるからである。しかしながら、符号画像は、特殊トナーを用いて形成することも可能である。
ここで、特殊トナーとしては、可視光領域(400nm〜700nm)における最大吸収率が7%以下であり、近赤外領域(800nm〜1000nm)における吸収率が30%以上の不可視トナーが例示される。ここで、「可視」および「不可視」は、目視により認識できるかどうかとは関係しない。印刷文書における画像が可視光領域における特定の波長の吸収に起因する発色性の有無により認識できるかどうかで「可視」と「不可視」とを区別している。また、可視光領域における特定の波長の吸収に起因する発色性が若干あるが人間の目で認識し難いものも、「不可視」に含める。
In the
Here, as the special toner, an invisible toner having a maximum absorption rate of 7% or less in the visible light region (400 nm to 700 nm) and an absorption rate of 30% or more in the near infrared region (800 nm to 1000 nm) is exemplified. . Here, “visible” and “invisible” are not related to whether they can be recognized visually. “Visible” and “invisible” are distinguished depending on whether or not an image in a printed document can be recognized by the presence or absence of color development due to absorption of a specific wavelength in the visible light region. Also, “invisible” includes those that have some color developability due to absorption of a specific wavelength in the visible light region but are difficult to be recognized by human eyes.
なお、ここでは、電子文書の画像に符号画像を合成して印刷することとしたが、白紙(ノートや付箋等)に符号画像を印刷する構成としてもよい。その場合は、ステップ201で受信する印刷要求に文書IDを含めないようにし、ステップ303で識別情報と文書IDおよび印刷設定との関連付けを行わないようにし、ステップ206における文書画像の生成は実行しないようにすればよい。 Here, the code image is combined with the image of the electronic document and printed. However, the code image may be printed on white paper (notebook, tag, etc.). In that case, the document ID is not included in the print request received in step 201, the identification information is not associated with the document ID and the print setting in step 303, and the generation of the document image in step 206 is not executed. What should I do?
[筆跡情報の登録処理]
次に、デジタルペン60が筆跡情報を生成して文書サーバ20に登録する際の動作について説明する。
上記したように、デジタルペン60では、識別情報取得部643が識別情報を取得する。また、位置情報取得部644が位置情報を取得する。さらに、筆跡情報生成部645が位置情報を相互に連結して筆跡情報を生成する。そして、送信部634が、識別情報および筆跡情報を通信装置70および端末装置50を介して識別情報サーバ30へ送信する。そして、識別情報サーバ30が筆跡情報を文書サーバ20に登録する。
[Handwriting information registration process]
Next, an operation when the
As described above, in the
図10は、筆跡情報を登録する際の識別情報サーバ30および文書サーバ20の動作の一例を示したシーケンス図である。
識別情報サーバ30では、まず、受信部31が、デジタルペン60からの識別情報および筆跡情報を受信する(ステップ311)。次に、識別情報および筆跡情報は識別情報管理部32に渡され、識別情報管理部32は、渡された識別情報に関連付けられた文書IDを識別情報記憶部33から取り出す。そして、ステップ311で受信した識別情報および筆跡情報の送信先となる文書サーバ20(文書IDで特定される電子文書が存在する文書サーバ20)を決定する(ステップ312)。なお、識別情報記憶部33において識別情報に文書IDが関連付けられていなければ、その識別情報は白紙(ノートや付箋)に割り当てられたものであると考えられる。その場合は、白紙に対する筆跡情報を管理する文書サーバ20を送信先として決定すればよい。
その後、識別情報および筆跡情報は送信部39に渡され、送信部39が、ステップ312で送信先として決定した文書サーバ20に対し、識別情報および筆跡情報を送信する(ステップ313)。
FIG. 10 is a sequence diagram illustrating an example of operations of the
In the
Thereafter, the identification information and the handwriting information are transferred to the
これにより、文書サーバ20では、受信部21が、識別情報および筆跡情報を受信する(ステップ211)。そして、受信部21は、受信した識別情報を筆跡情報管理部24に渡す。すると、筆跡情報管理部24は、識別情報と筆跡情報とを対応付けて文書/筆跡情報記憶部25に記憶する(ステップ212)。
Thereby, in the
ところで、本実施の形態の筆跡情報管理システムでは、文書サーバ20が電子文書や筆跡情報を管理し、識別情報サーバ30が媒体を一意に識別するための識別情報を生成/管理するように構成した。しかしながら、これらの処理を如何なる装置で行うかについては種々のバリエーションが考えられる。例えば、識別情報を生成/管理する処理は、文書サーバ20で行ってもよいし、端末装置50や画像形成装置40で行ってもよい。また、符号画像を画像形成装置40で生成してもよい。
そのため、これらの処理を汎用的な装置としてのコンピュータ90で行うものとして一般化できる。そこで、筆跡情報管理システムを構成する端末装置10、文書サーバ20、識別情報サーバ30、画像形成装置40、端末装置50がコンピュータ90で構成されるものとして、コンピュータ90のハードウェア構成について説明しておく。
By the way, in the handwriting information management system of the present embodiment, the
Therefore, these processes can be generalized as being performed by the computer 90 as a general-purpose device. Accordingly, the hardware configuration of the computer 90 will be described on the assumption that the
図11は、コンピュータ90のハードウェア構成を示した図である。
図11に示したように、コンピュータ90は、演算手段であるCPU(Central Processing Unit)91と、記憶手段であるメインメモリ92および磁気ディスク装置(HDD:Hard Disk Drive)93とを備える。ここで、CPU91は、OS(Operating System)やアプリケーション等の各種ソフトウェアを実行し、上述した各機能を実現する。また、メインメモリ92は、各種ソフトウェアやその実行に用いるデータ等を記憶する記憶領域であり、磁気ディスク装置93は、各種ソフトウェアに対する入力データや各種ソフトウェアからの出力データ等を記憶する記憶領域である。
さらに、コンピュータ90は、外部との通信を行うための通信I/F94と、ビデオメモリやディスプレイ等からなる表示機構95と、キーボードやマウス等の入力デバイス96とを備える。
なお、本実施の形態を実現するプログラムは、通信手段により提供することはもちろん、CD−ROM等の記録媒体に格納して提供することも可能である。
FIG. 11 is a diagram illustrating a hardware configuration of the computer 90.
As shown in FIG. 11, the computer 90 includes a CPU (Central Processing Unit) 91 that is a calculation means, a
Further, the computer 90 includes a communication I /
The program for realizing the present embodiment can be provided not only by communication means but also by storing it in a recording medium such as a CD-ROM.
ところで、本実施形態におけるデジタルペン60は、媒体に付されたバーコードの情報も取得可能に構成されている。ここで、図12、図13は、本実施形態におけるデジタルペン60の撮像エリアを概念的に示したものである。
ところで、符号画像読み取りモード(第1のモード)においては、読み出しエリア(撮像エリア、切り出しエリア)を一般的には広めに設定するため(図13(a)参照)、換言すれば赤外CMOS614の多数の受光素子からの読み出しが行われるため、フレームレートが低いものとなる。この結果、図12(a)、(b)に示すように、バーコードの読み取りを行おうとしても、読み取り画像に欠けを生じ読み取りのできない箇所が生じてしまう。この結果、バーコード情報の適切な取得が困難となる。
By the way, the
By the way, in the code image reading mode (first mode), the reading area (imaging area, cutout area) is generally set wider (see FIG. 13A), in other words, the
そこで、本実施形態におけるバーコード読み取りモード(第2のモード)では、図13(b)に示すように、画素信号の読み出しを行う受光素子の数を減らし、フレームレートを向上させている。換言すれば画素信号の読み出しを行うエリアを小さいものとし、フレームレートを向上させている。さらに説明すれば、撮像範囲をスキャン方向には広げるがスキャンと垂直方向には狭めることによってトータルの撮像画素数を減らし、フレームレートを高くするようにしている。ここで、符号画像読み取りモードにおける読み出しエリアを第1のエリアと捉えた場合、バーコード読み取りモードにおける読み出しエリアは、第1のエリアよりも少ない複数の受光素子からなる第2のエリアと捉えることができる。 Therefore, in the barcode reading mode (second mode) in this embodiment, as shown in FIG. 13B, the number of light receiving elements that read pixel signals is reduced, and the frame rate is improved. In other words, the area for reading out pixel signals is made small, and the frame rate is improved. More specifically, the total imaging pixel count is reduced and the frame rate is increased by widening the imaging range in the scanning direction but narrowing in the vertical direction with respect to scanning. Here, when the reading area in the code image reading mode is regarded as the first area, the reading area in the barcode reading mode may be regarded as a second area composed of a plurality of light receiving elements smaller than the first area. it can.
なお、本実施形態におけるバーコードは、K(カーボンを含む黒)のトナーにより形成、即ち所定の赤外吸収量を有するトナーにより形成されており、赤外CMOS614における画像取得が可能となっている。また、本実施形態にて示すバーコードは、所謂一次元バーコードであり、所定のバーが長手方向に複数並んで配置されているものである。ここで、一次元バーコードは、一般的に、0.3mm程度の幅を有する細いバーと、1mm程度の幅を有する太いバーとを含み、これらのバーが所定の小さい間隔で並んで配置されている。一方で、上記読み出しエリア(第2のエリア)にて撮像可能な領域長さは、本実施形態の場合、5〜10mmとなっている。また、媒体に対してデジタルペン60が傾いて配置されたとしても、バーを5本程度撮像可能となっている。このため、後述する画像合成を行うことができる。
Note that the barcode in the present embodiment is formed of K (black containing carbon) toner, that is, formed of toner having a predetermined infrared absorption amount, and image acquisition by the
ここで図14は、バーコード読み取りモードにおける基本的な処理を示したものである。
まず、操作ボタン620がユーザにより押圧され検知スイッチ621のオンを検知したモード変更部631(切り替え手段の一例)は、画像取得部630、CMOS制御部632、表示制御部633に対して、モードを切り替える旨の所定信号を出力する。これにより、表示制御部633が、表示切り替えを実行する(ステップ501)。例えば、表示制御部633は、青色に点灯している表示用LED622の点灯色を赤色に変更する。また、CMOS制御部632は、画素信号の読み出しをエリア、およびフレームレートを設定(変更)する(ステップ502)。
Here, FIG. 14 shows basic processing in the barcode reading mode.
First, the mode change unit 631 (an example of a switching unit) that has detected that the
詳細には、CMOS制御部632は、画素信号の読み出しエリアを符号画像読み取りモード時における読み出しエリアよりも縮小する。付言すると、CMOS制御部632は、画素信号の読み出しエリアを、図13(b)にも示したように、垂直方向における読み出し範囲を撮像可能エリアの中央部の極めて小さいものとし、水平方向における読み出し範囲を撮像可能エリアの一端部から他端部にかけて形成する。即ち、水平方向に沿った直線状の読み出しエリアとする。また、CMOS制御部632は、符号画像読み取りモードにおけるフレームレートよりも大きいフレームレートを設定する。
Specifically, the
次いで、バーコード上をなぞるように筆記動作がなされ筆圧検知スイッチ612がオン状態とされると赤外LED613から赤外光が照射されるとともに、赤外CMOS614にて反射光が受光され画像が読み取られる。これにより画像取得部630は、赤外CMOS614にて読み取られた画像を取得する(ステップ503)。そして、この取得された画像は、画像生成手段として機能する画像合成部651に出力され、画像合成部651は、画像取得部630にて順次取得された複数の画像(断片画像)を合成し(ステップ504)、バーコードの全体が再現された合成画像を生成する。
Next, when the writing operation is performed so as to trace on the barcode and the writing
ここで、本実施形態では、上記のように画素信号の読み出しエリアを縮小し、読み出しエリアを符号画像読み取りモード時における読み出しエリアよりも狭めている。このため、上記のように符号画像読み取りモードにおけるフレームレートよりも大きいフレームレートを設定することができる。この結果、バーコードにおける同じ箇所を複数の画像中に捉えることができる。これにより、画像合成部651は、各画像中の同一箇所を基準に画像合成を行い、バーコードの全体が再現された合成画像を生成することができる。
次いで、情報取得手段として機能するコード情報取得部653は、画像合成部651にて合成された画像からバーコードを認識し(ステップ505)、この認識したバーコードからバーコード情報を取得する(ステップ506)。その後、送信部634が、このバーコード情報を、例えば通信装置70を介して端末装置50に送信し(ステップ507)、処理を終了する。
Here, in the present embodiment, the pixel signal readout area is reduced as described above, and the readout area is narrower than the readout area in the code image readout mode. For this reason, a frame rate larger than the frame rate in the code image reading mode can be set as described above. As a result, the same portion of the barcode can be captured in a plurality of images. Thereby, the
Next, the code
ここで図15は、デジタルペン60がその円周方向に回転した場合における読み取り画像等を示したものである。
デジタルペン60は、バーコードの読み取りがなされる際、通常バーコードの配置方向に沿って移動されることとなるが、ユーザの把持状態によっては、その円周方向にやや回転した状態で移動する場合がある。この結果、同図(b)に示すように、読み出しエリアがバーコードを構成するバー(ライン)に沿うようになってしまう場合がある。そして、このような場合、複数の画像中にバーコードの同一箇所を収めることが困難となり、画像合成が困難なものとなる。そこで、各受光素子(各画素)から出力された出力信号に基づき濃度分布(グラフ)を把握するとともに、この濃度分布と所定の濃度閾値との交点数を把握し、この交点数が所定数未満の場合には例えば警告表示を行うことができる。例えば、同図(b)のように交点数が1つである場合に警告表示を行うことができる。一方で、同図(a)のように交点数が5つのような場合には、画像合成が可能となり警告表示は行われない。
Here, FIG. 15 shows a read image or the like when the
When the barcode is read, the
さらに、交点数が所定数未満の場合には読み出しエリアの変更も行うことができる。
ここで図16は、読み出しエリアの変更を説明するための図である。同図(a)および上述のとおり、読み出しエリアがバーコードを構成するバーに沿うように配置され、濃度閾値との交点が1つの場合、画像合成が困難となる。そこで、このような場合は、同図(b)に示すように読み出しエリアを90°回転した状態に変更することができる。読み出しエリアをこのように配置した場合、同図(b)に示すように濃度閾値との交点数が増加し、即ち読み出しエリアの長手方向とバーコードの長手方向とをほぼ沿う状態とすることができ、画像合成が可能となる。なお、濃度閾値との上記交点数は、少なくとも2点以上必要であり、確実性を鑑みると5点以上が好ましい。ここで、本実施形態では、読み出しエリアを90°回転させた後の状態を第3のモードと捉えることができる。また、この第3のモードにおける読み出しエリアを上記第1の読み出しエリア、第2の読み出しエリアに対し第3の読み出しエリアと捉えることができる。この第3の読み出しエリアは、第2のエリアに対し交差する関係(略直交する関係)で配置される。
Furthermore, when the number of intersections is less than a predetermined number, the readout area can be changed.
Here, FIG. 16 is a diagram for explaining the change of the readout area. As shown in FIG. 6A and as described above, when the reading area is arranged along the bar constituting the barcode and there is one intersection with the density threshold, it is difficult to synthesize the image. Therefore, in such a case, the readout area can be changed to a state rotated by 90 ° as shown in FIG. When the readout area is arranged in this way, the number of intersections with the density threshold increases as shown in FIG. 5B, that is, the longitudinal direction of the readout area and the longitudinal direction of the bar code are substantially aligned. Image synthesis is possible. Note that the number of intersections with the density threshold needs to be at least 2 or more, and is preferably 5 or more in view of certainty. Here, in the present embodiment, the state after the readout area is rotated by 90 ° can be regarded as the third mode. Further, the readout area in the third mode can be regarded as the third readout area with respect to the first readout area and the second readout area. This third readout area is arranged in a relationship (substantially orthogonal relationship) intersecting the second area.
ここで図17は、制御部611にて実行される処理を示したフローチャートである。このフローチャートを用い、上記処理を詳細に説明する。
本処理では、まず上記と同様に、表示制御部633が、表示切り替えを実行する(ステップ601)。次いで、CMOS制御部632が、画素信号の読み出しをエリア、およびフレームレートを設定(変更)する(ステップ602)。
Here, FIG. 17 is a flowchart showing processing executed by the
In this process, first, as described above, the
次いで、バーコード上をなぞるように筆記動作がなされ筆圧検知スイッチ612がオン状態とされると赤外LED613から赤外光が照射されるとともに、赤外CMOS614にて反射光が受光され画像が読み取られる。これにより画像取得部630は、赤外CMOS614にて読み取られた画像を取得する(ステップ603)。そして、把握手段としても機能する交点検知部652は、画像取得部630にて取得された所定の画像において濃度分布を把握するとともに、この濃度分布と所定の濃度閾値との交点を検知し、交点数を取得する。その後、この交点数が所定数以上であるか否かを判断する(ステップ604)。なお、他の観点から述べると、交点検知部652は、濃度分布を把握するとともに、この濃度分布における所定の濃度値を有する箇所の個数を把握する。そして、この個数が所定数以上であるか否かを判断する。そして、交点数が所定数以上であると判断された場合、上記ステップ504と同様に、画像合成部651が、ステップ603にて取得された複数の画像を合成した合成画像を生成する(ステップ605)。その後、上記ステップ505〜ステップ507と同様に、バーコードの認識処理、バーコード情報の取得処理、送信処理が実行され(ステップ606〜ステップ608)、処理が終了する。
Next, when the writing operation is performed so as to trace on the barcode and the writing
一方で、出力手段としても機能する交点検知部652は、ステップ604にて濃度閾値との交点が所定数未満であると判断した場合(所定の濃度値を有する箇所の個数が所定数未満であると判断した場合)、表示制御部633に対して警告情報を出力する。これにより、表示制御部633は、例えば赤色に点灯している表示用LED622を点滅させ、ユーザに対して警告表示を行う(ステップ609)。なお、この場合オレンジ等の他の色に変更することもできる。その後、変更手段として機能するCMOS制御部632が、読み出しエリアの位置を上記図16(b)のように変更する(ステップ610)。
On the other hand, when the
そして、バーコードの読み取りがユーザにより再度行われ、画像取得部630が読み取り画像を取得すると(ステップ611)、上記ステップ604と同様に、交点検知部652は、交点数が所定数以上であるか否かを判断する(ステップ612)。そして、所定数以上である場合には、上記ステップ605〜ステップ608の処理が実行され、即ち画像合成、バーコードの認識、バーコード情報の取得、バーコード情報の送信が実行され、処理が終了する。一方で、ステップ612にて交点数が所定数未満であると判断された場合には、表示制御部633が再度警告を行い(ステップ613)、処理を終了する。なお、2回目の読み取りにおいてもバーコードの読みとりができない場合、バーコード自体が十分な濃度変化を有した状態で形成されていない場合が想定される。このため、表示制御部633は、2回目の警告表示を行う際、十分な濃度変化を有するバーコードが存在しない旨に相当する警告表示を行うことができる。また、例えば端末装置50にその情報を送信し、端末装置50にて、十分な濃度変化を有するバーコードが存在しない旨の警告表示を行うことができる。
When the barcode is read again by the user and the
ところで、上記においては、モードの切り替えを操作ボタン620に対する操作に基づき行ったが、媒体に付された符号画像の読み取りに基づきモードの切換を行うこともできる。
ここで、媒体に付された符号画像の読み取りに基づくモードの変更は、媒体上の所定位置における符号画像が読み取られる際に行うことができる。即ち、媒体に筆記するための領域(筆記用領域)と、モードの変更を指示するための領域(指示用領域)と、を設けておき、デジタルペン60が接触した媒体上の箇所がこの何れかであるかに基づいて、モードの切り替え(変更)を行うことができる。具体的には、媒体上の領域の座標情報と、その領域が筆記用領域であるか指示用領域であるかを示す情報とを対応付けた管理情報を作成しておく。そして、デジタルペン60が、媒体上に接触した際に座標情報を読み取り、管理情報を参照してその座標情報に対応する領域が筆記用領域であるか指示用領域であるかを判定する。これにより、座標情報に対応する領域が指示用領域である場合には、符号画像読み取りモードからバーコード読み取りモードに変更することができる。
In the above description, the mode is switched based on the operation on the
Here, the mode change based on the reading of the code image attached to the medium can be performed when the code image at a predetermined position on the medium is read. In other words, an area for writing on the medium (writing area) and an area for instructing mode change (instruction area) are provided, and the location on the medium that the
ここで、図18は、媒体およびデジタルペン60を示したものである。
例えば、図中の領域Aおよび領域Bに対して指示用領域であることを示す情報を対応付けて管理情報を生成することができる。これにより例えば、領域Aにおける位置情報の取得が行われた場合には、符号画像読み取りモードからバーコード読み取りモードに変更することができる。ここで、位置情報の取得は、位置情報取得手段として機能する位置情報取得部644により行われる。そして、切り替え手段として機能するモード変更部631は、位置情報取得部644により取得された位置情報が所定の位置情報であると判断した場合に、モードの変更を行う。詳細には、位置情報取得部644により取得された位置情報が、指示用領域であることを示す情報に対応付けられている場合に、モードの変更を行う。なお、バーコードが読み取られる際、領域Aおよび領域Bに示すように、一般的にはバーコードの長手方向における外側(バーコードの側方)の領域に、デジタルペン60がまず接触される。このため、指示用領域は、バーコードの長手方向における外側に配置することが好ましい。
Here, FIG. 18 shows the medium and the
For example, the management information can be generated by associating the area A and the area B in the figure with information indicating the instruction area. Thereby, for example, when the position information in the region A is acquired, the code image reading mode can be changed to the barcode reading mode. Here, the acquisition of the position information is performed by the position
さらにまた、バーコードが形成された領域における位置座標についての管理情報を生成しておくこともできる。これにより例えば、デジタルペン60が媒体上に接触した際に座標情報を読み取るとともに、この座標情報からデジタルペン60の軌跡情報(筆跡情報)を取得する。そして管理情報を参照し、バーコードに接近しているかを判定することができる。そして、接近していると判定した場合に、符号画像読み取りモードからバーコード読み取りモードにモードの変更を行うことができる。なお、軌跡情報の取得は、軌跡情報取得手段として機能する筆跡情報生成部645により行われる。そして、切り替え手段として機能するモード変更部631が、管理情報を参照し、軌跡情報に基づきデジタルペン60がバーコードに接近していると判断した場合に、モードの変更を行う。ここで、バーコードに接近しない方向に移動している場合や、接近しているもののバーコードの長手方向に対して傾いて接近している場合には、表示制御部633による警告表示を行うことができる。
Furthermore, management information about the position coordinates in the area where the barcode is formed can be generated. Thereby, for example, when the
なお、バーコード読み取りモードに変更されたとしても、図16(a)に示すように、読み出しエリアがバーコードを構成するバーに沿う状態となる場合がある。即ち、デジタルペン60がその円周方向に回転した状態でバーコードの読み取りが行われる場合がある。この場合、上記のようにバーコード情報の取得が困難となる。そこで、例えばデジタルペン60の回転量が所定値を超える場合は、例えば表示制御部633による警告表示を行うことができる。なお、デジタルペン60の円周方向における回転(回転量)の検知は、例えば上記同期パターンの認識に基づき行うことができる。
また、デジタルペン60がその円周方向に回転している場合は、バーコードの読み取りが行われる前に、図16(b)に示すような状態に読み出しエリアを設定することもできる。即ち、同期パターンに基づき媒体に対する電子筆記具の円周方向における回転(回転量)を検知し、この検知結果に基づき読み出しエリアを設定することができる。
Even if the barcode reading mode is changed, the reading area may be in a state along the bar constituting the barcode as shown in FIG. That is, the barcode may be read while the
Further, when the
60…デジタルペン、614…赤外CMOS、631…モード変更部、632…CMOS制御部、644…位置情報取得部、645…筆跡情報生成部、651…画像合成部、652…交点検知部 60 ... Digital pen, 614 ... Infrared CMOS, 631 ... Mode change unit, 632 ... CMOS control unit, 644 ... Position information acquisition unit, 645 ... Handwriting information generation unit, 651 ... Image composition unit, 652 ... Intersection detection unit
Claims (13)
前記撮像部の所定の領域に含まれる受光素子を用いて前記媒体上の画像を撮像する第1のモードと、
前記撮像部の前記所定の領域よりも小さい領域に含まれる受光素子を用いて前記媒体上の画像を撮像する第2のモードと、
前記第1のモードと前記第2のモードとを切り替える切り替え手段と、
を有する電子筆記具。 A plurality of light receiving elements arranged in a two-dimensional matrix, and an imaging unit that captures an image on a medium;
A first mode for capturing an image on the medium using a light receiving element included in a predetermined region of the imaging unit;
A second mode for capturing an image on the medium using a light receiving element included in an area smaller than the predetermined area of the imaging unit;
Switching means for switching between the first mode and the second mode;
An electronic writing instrument.
前記把握手段にて把握された濃度分布が所定の分布ではない場合に警告情報を出力する出力手段と、
を更に備えることを特徴とする請求項1乃至3のいずれかに記載の電子筆記具。 Grasping means for grasping a density distribution in an image picked up in the second mode based on a signal from each of light receiving elements included in the small region;
Output means for outputting warning information when the concentration distribution grasped by the grasping means is not a predetermined distribution;
The electronic writing instrument according to claim 1, further comprising:
前記切り替え手段は、前記位置情報取得手段により取得された前記位置情報が所定の位置情報である場合に前記第1のモードから前記第2のモードへと切り替えることを特徴とする請求項1乃至6のいずれかに記載の電子筆記具。 In the first mode, when a code image indicating a position in the medium is captured from the medium, the apparatus further includes position information acquisition means for acquiring position information from the code image.
The switching means switches from the first mode to the second mode when the position information acquired by the position information acquisition means is predetermined position information. The electronic writing instrument according to any one of the above.
前記切り替え手段は、前記軌跡情報取得手段により取得された前記軌跡情報に基づき前記電子筆記具が前記媒体に付されたコード画像に接近していると判断される場合に、前記第1のモードから前記第2のモードへと切り替えることを特徴とする請求項1乃至6のいずれかに記載の電子筆記具。 In the first mode, when a code image indicating a position in the medium is captured from the medium, the information processing apparatus further includes trajectory information acquisition means for acquiring the trajectory information of the electronic writing instrument with respect to the medium based on the code image. ,
The switching means starts from the first mode when it is determined that the electronic writing instrument is approaching a code image attached to the medium based on the trajectory information acquired by the trajectory information acquisition means. The electronic writing instrument according to any one of claims 1 to 6, wherein the electronic writing instrument is switched to a second mode.
前記撮像部における前記複数の受光素子の中の何れか複数の受光素子からなる第1のエリアの受光素子から出力される信号を取得する第1の読み取りモードと、
前記撮像部の前記第1のエリアよりも少ない複数の受光素子からなる第2のエリアの受光素子から出力される信号を取得する第2の読み取りモードと、
を有する電子筆記具。 An imaging unit having a plurality of light receiving elements;
A first reading mode for acquiring a signal output from a light receiving element in a first area including any one of the plurality of light receiving elements in the plurality of light receiving elements in the imaging unit;
A second reading mode for acquiring a signal output from a light receiving element in a second area composed of a plurality of light receiving elements smaller than the first area of the imaging unit;
An electronic writing instrument.
前記撮像部の前記所定の領域よりも小さい領域に含まれる受光素子から信号を読み出す第2の機能と、
をコンピュータに実現させるプログラム。 A first function of reading a signal from a light receiving element included in a predetermined region of an imaging unit having a plurality of light receiving elements;
A second function of reading a signal from a light receiving element included in an area smaller than the predetermined area of the imaging unit;
A program that makes a computer realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008022021A JP2009181504A (en) | 2008-01-31 | 2008-01-31 | Electronic writing tool and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008022021A JP2009181504A (en) | 2008-01-31 | 2008-01-31 | Electronic writing tool and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009181504A true JP2009181504A (en) | 2009-08-13 |
Family
ID=41035402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008022021A Pending JP2009181504A (en) | 2008-01-31 | 2008-01-31 | Electronic writing tool and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009181504A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7665836B2 (en) | 2023-03-31 | 2025-04-21 | 日本瓦斯株式会社 | Shipment method and system |
-
2008
- 2008-01-31 JP JP2008022021A patent/JP2009181504A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7665836B2 (en) | 2023-03-31 | 2025-04-21 | 日本瓦斯株式会社 | Shipment method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008077538A (en) | Print information management device, image formation apparatus, print information management system and program | |
JP4635945B2 (en) | WRITING INFORMATION PROCESSING DEVICE, WRITING INFORMATION PROCESSING METHOD, AND PROGRAM | |
JP5444946B2 (en) | WRITING INFORMATION PROCESSING DEVICE, WRITING INFORMATION PROCESSING SYSTEM, AND PROGRAM | |
JP2008009833A (en) | Document management device and program | |
JP2009181514A (en) | Handwriting information creation device, program, and handwriting information management system | |
JP4844354B2 (en) | Document management apparatus and program | |
JP2009181504A (en) | Electronic writing tool and program | |
JP5316104B2 (en) | WRITING INFORMATION PROCESSING DEVICE AND PROGRAM | |
JP2009181243A (en) | Handwriting information processor and program | |
JP5387086B2 (en) | Information collation support system and program | |
JP2008021120A (en) | Writing information processing system, writing information processing method, and program | |
JP5206538B2 (en) | WRITING INFORMATION PROCESSING DEVICE, WRITING INFORMATION PROCESSING SYSTEM, AND PROGRAM | |
JP2009181521A (en) | Handwriting information creation device, program, and handwriting information management system | |
JP2009181360A (en) | Handwriting information-generating device, program, and handwriting information management system | |
JP2008077218A (en) | Writing information processing system, pen device and program | |
JP5169369B2 (en) | Handwriting information processing apparatus and program | |
JP2009170979A (en) | Document management system, document management apparatus and program | |
JP2009282700A (en) | Information processor, information processing system, and program | |
JP5024007B2 (en) | Document management system, document management apparatus and program | |
JP2009252063A (en) | Writing information generating device and program | |
JP2008048285A (en) | Document managing device, writing processing apparatus, and program | |
JP2009211552A (en) | Electronic writing tool | |
JP5293304B2 (en) | Medium position management device and program | |
JP4548426B2 (en) | WRITING INFORMATION MANAGEMENT DEVICE, WRITING INFORMATION MANAGEMENT SYSTEM, AND PROGRAM | |
JP5186935B2 (en) | Handwriting information management system and handwriting information generation device |