JP2010141664A - Reading apparatus - Google Patents

Reading apparatus Download PDF

Info

Publication number
JP2010141664A
JP2010141664A JP2008316787A JP2008316787A JP2010141664A JP 2010141664 A JP2010141664 A JP 2010141664A JP 2008316787 A JP2008316787 A JP 2008316787A JP 2008316787 A JP2008316787 A JP 2008316787A JP 2010141664 A JP2010141664 A JP 2010141664A
Authority
JP
Japan
Prior art keywords
unit
light receiving
light
medium
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008316787A
Other languages
Japanese (ja)
Inventor
Shin Takeuchi
伸 竹内
Yasuhiro Ogasawara
康裕 小笠原
Yuichi Ichikawa
裕一 市川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2008316787A priority Critical patent/JP2010141664A/en
Publication of JP2010141664A publication Critical patent/JP2010141664A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a reading apparatus capable of increasing the permissible range of an angel between an image formation surface of a medium on which an image to be read is formed and an indication direction of a position for the image formation surface of the medium from the image reading apparatus. <P>SOLUTION: A pen nib 69a of an electronic pen 60 points out the position on the medium 50 on which a code pattern image is formed. An irradiation section 63 irradiates a predetermined range for the position of the medium 50 pointed out by the pen nib 69a with a light. Light-receiving sections 641a, 641b receive reflection lights of the lights irradiated from the irradiation section 63. A control section 61 selects any one of the plurality of light-receiving sections 641a, 641b, and uses an output image signal generated in response to the reflection light received by the selected light-receiving section to read position information or identification information included in the code pattern image recorded in the medium 50. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、読取装置に関する。   The present invention relates to a reader.

近年、用紙面に筆記された文字や図形等を電子データに変換し、これをパソコンや携帯電話等に転送して、筆記内容をそのまま保存したり、メールとして送信したりする技術が注目されている。かかる技術では、微細なドット画像が或る配置パターンで多数形成された用紙と、例えば撮像素子が内蔵されたペン型の読取装置とが用いられる。ユーザがこのペン型の読取装置を用い、この用紙面上の位置を連続的に指定することで筆記を行うと、指定された位置を連ねた軌跡上にあるドット画像が読取装置の撮像素子に読み込まれる。読取装置は、読み込んだ複数のドット画像の相互の位置関係に基づいて、軌跡の位置座標を特定する。これにより、筆記された文字や図形等からなる電子文書の生成や、所定の電子文書への文字や図形等の付加等が可能となる(例えば、特許文献1参照)。また、特許文献2には、複数の撮像素子を備えたバーコードリーダが提案されている。   In recent years, attention has been paid to a technology that converts characters and figures written on paper into electronic data, transfers them to a personal computer, mobile phone, etc., and saves the written content as it is or sends it as an e-mail. Yes. In such a technique, a sheet on which a large number of fine dot images are formed in a certain arrangement pattern, and a pen-type reading device having an image sensor, for example, are used. When the user performs writing by using the pen-shaped reading device and successively specifying the position on the paper surface, a dot image on a locus connecting the specified positions is displayed on the image sensor of the reading device. Is read. The reading device specifies the position coordinates of the trajectory based on the mutual positional relationship between the read dot images. As a result, it is possible to generate an electronic document composed of written characters, graphics, etc., and to add characters, graphics, etc. to a predetermined electronic document (for example, see Patent Document 1). Further, Patent Document 2 proposes a barcode reader including a plurality of image sensors.

特開2004−94907号公報(第12−14頁)Japanese Patent Laying-Open No. 2004-94907 (pages 12-14) 特開平2−183879号公報Japanese Patent Laid-Open No. 2-183879

本発明は、読取対象となる画像が形成された媒体の画像形成面と、読取装置からその媒体の画像形成面に対する位置の指示方向との間の角度の許容範囲を広くすることを目的とする。   An object of the present invention is to widen an allowable range of an angle between an image forming surface of a medium on which an image to be read is formed and an indication direction of a position of the medium with respect to the image forming surface of the medium. .

本発明の請求項1に係る読取装置は、読取対象となる被読取画像が形成された媒体上の位置を指示する指示部と、前記指示部によって指示される前記媒体上の位置に対して予め定められた範囲に光を照射する照射手段と、各々異なる位置に設けられ、前記照射手段によって前記媒体に照射された光の反射光をそれぞれ受光する複数の受光手段と、各々の前記受光手段によって受光された反射光に基づいて被読取画像を撮像し、当該被読取画像を表す信号を生成する撮像手段と、前記複数の受光手段のなかからいずれかを選択し、選択した受光手段が受光した反射光に基づいて前記撮像手段により撮像された前記被読取画像を表す信号を出力する選択出力手段とを具備する構成を有する。   According to a first aspect of the present invention, there is provided a reading device that indicates in advance a position on a medium on which a read image to be read is formed, and a position on the medium that is instructed by the instruction section. An irradiation unit that irradiates light within a predetermined range, a plurality of light receiving units that are provided at different positions and receive reflected light of the light irradiated onto the medium by the irradiation unit, and the light receiving units Based on the received reflected light, an image to be read is picked up, an image pickup means for generating a signal representing the read image and a plurality of light receiving means are selected, and the selected light receiving means receives the light. And a selection output unit that outputs a signal representing the read image captured by the imaging unit based on reflected light.

本発明の請求項2に係る読取装置は、請求項1に記載の構成において、前記複数の受光手段は、前記照射手段によって前記媒体に照射された光の反射光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられている構成を有する。   According to a second aspect of the present invention, there is provided the reading device according to the first aspect, wherein the plurality of light receiving units pass through different optical paths among the reflected lights of the light irradiated on the medium by the irradiation unit. The reflected light that is reflected in this way is provided at a position for receiving the reflected light.

本発明の請求項3に係る読取装置は、請求項1又は2に記載の構成において、前記複数の受光手段は、前記指示部を中心とした対称の位置に設けられている2つの受光手段である構成を有する。   According to a third aspect of the present invention, there is provided the reading device according to the first or second aspect, wherein the plurality of light receiving means are two light receiving means provided at symmetrical positions with the pointing portion as a center. It has a certain configuration.

本発明の請求項4に係る読取装置は、請求項3に記載の構成において、前記照射手段は、前記2つの受光手段のそれぞれとの距離が等しい位置に設けられた1つの照射手段である構成を有する。   According to a fourth aspect of the present invention, there is provided the reader according to the third aspect, wherein the irradiating means is one irradiating means provided at a position where the distance from each of the two light receiving means is equal. Have

本発明の請求項5に係る読取装置は、請求項3に記載の構成において、前記照射手段は、前記指示部を中心とした対称の位置に設けられた2つの照射手段である構成を有する。   According to a fifth aspect of the present invention, there is provided the reader according to the third aspect, wherein the irradiating means is two irradiating means provided at symmetrical positions with the pointing portion as a center.

本発明の請求項6に係る読取装置は、請求項1乃至5のいずれか1項に記載の構成において、前記複数の受光手段が一体として形成されている構成を有する。   According to a sixth aspect of the present invention, there is provided a reader according to any one of the first to fifth aspects, wherein the plurality of light receiving means are integrally formed.

本発明の請求項7に係る読取装置は、請求項1乃至6のいずれか1項に記載の構成において、前記選択出力手段は、選択する受光手段を予め定められた選択順序に従って切り替える構成を有する。   According to a seventh aspect of the present invention, in the configuration according to any one of the first to sixth aspects, the selection output means switches the light receiving means to be selected according to a predetermined selection order. .

本発明の請求項8に係る読取装置は、請求項1乃至6のいずれか1項に記載の構成において、前記選択出力手段は、前記撮像手段で撮像された被読取画像の読取認識率をそれぞれ算出し、算出した読取認識率に基づいて、前記複数の受光手段のなかからいずれかを選択する構成を有する。   According to an eighth aspect of the present invention, in the configuration according to any one of the first to sixth aspects, the selection output unit sets the read recognition rate of the read image captured by the imaging unit. And calculating one of the plurality of light receiving units based on the calculated reading recognition rate.

本発明の請求項9に係る読取装置は、請求項1乃至6のいずれか1項に記載の構成において、前記選択出力手段は、自読取装置の傾き角を検出し、検出した傾き角に基づいて、前記複数の受光手段のなかからいずれかを選択する構成を有する。   According to a ninth aspect of the present invention, in the reading apparatus according to any one of the first to sixth aspects, the selection output means detects an inclination angle of the self-reading apparatus, and based on the detected inclination angle. In this case, any one of the plurality of light receiving means is selected.

本発明の請求項1によれば、媒体上の画像を読み取る読取装置において、指示部の指示方向と媒体面との間の許容角度を広くすることができる。
また、本発明の請求項2によれば、指示部の指示方向と媒体面との間の角度の許容範囲を広くすることができるとともに、正反射による読取エラーを軽減することができる。
また、本発明の請求項2によれば、指示部の指示方向と媒体面との間の角度の許容範囲をより広くすることができる。
また、本発明の請求項3によれば、指示部の指示方向と媒体面との間の角度の許容範囲をより広くすることができる。
また、本発明の請求項4によれば、指示部の指示方向と媒体面との間の角度の許容範囲をより広くすることができる。
また、本発明の請求項5によれば、指示部の指示方向と媒体面との間の角度の許容範囲をより広くすることができる。
また、本発明の請求項6によれば、指示部の指示方向と媒体面との間の角度の許容範囲を広くすることができるとともに、構成を簡易にすることができる。
また、本発明の請求項7によれば、指示部の指示方向と媒体面との間の角度の許容範囲を広くすることができるとともに、媒体上の情報をより正確に読み取ることができる。
また、本発明の請求項8によれば、指示部の指示方向と媒体面との間の角度の許容範囲を広くすることができるとともに、媒体上の情報をより正確に読み取ることができる。
また、本発明の請求項9によれば、指示部の指示方向と媒体面との間の角度の許容範囲を広くすることができるとともに、媒体上の情報をより正確に読み取ることができる。
According to the first aspect of the present invention, in the reading apparatus that reads an image on the medium, the allowable angle between the pointing direction of the pointing unit and the medium surface can be widened.
According to the second aspect of the present invention, it is possible to widen the allowable range of the angle between the pointing direction of the pointing unit and the medium surface, and it is possible to reduce reading errors due to regular reflection.
According to claim 2 of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be further increased.
According to claim 3 of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be further widened.
According to claim 4 of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be further increased.
According to claim 5 of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be further increased.
According to the sixth aspect of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be widened, and the configuration can be simplified.
According to the seventh aspect of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be widened, and information on the medium can be read more accurately.
According to the eighth aspect of the present invention, the allowable range of the angle between the indication direction of the indication unit and the medium surface can be widened, and information on the medium can be read more accurately.
According to the ninth aspect of the present invention, it is possible to widen the allowable range of the angle between the indication direction of the indication unit and the medium surface, and it is possible to read information on the medium more accurately.

<A:第1実施形態>
<A−1:構成>
図1は、本実施形態に係るシステムの構成の一例を示す図である。図において、電子ペン60は、紙等の媒体50に対して文字や図形を筆記する機能を備えるとともに、媒体50に形成されたコードパターン画像(被読取画像)を読み取る読取装置の一例である。情報処理装置10は、例えばパーソナルコンピュータであり、電子ペン60から出力される信号に応じて筆記内容を表す筆記情報を生成する筆記情報生成装置の一例である。
<A: First Embodiment>
<A-1: Configuration>
FIG. 1 is a diagram illustrating an example of a configuration of a system according to the present embodiment. In the drawing, an electronic pen 60 is an example of a reading device that has a function of writing characters and figures on a medium 50 such as paper and reads a code pattern image (read image) formed on the medium 50. The information processing apparatus 10 is a personal computer, for example, and is an example of a writing information generation apparatus that generates writing information representing writing contents in accordance with a signal output from the electronic pen 60.

媒体50に形成されるコードパターン画像は、媒体50を識別する識別情報や、媒体50上の座標位置を表す位置情報を符号化して画像化したものである。ここで、媒体50に形成されるコードパターン画像の一例について、図2を参照しつつ説明する。図2は、媒体50に形成されるコードパターン画像の一例を示す図である。コードパターン画像は、複数の点状のドット画像の相互の位置関係によって上述した識別情報及び位置情報を表したものであるが、これらのドット画像が配置され得る領域として、領域A1〜A9が予め定められている。図2に示す例では、黒色の領域A1,A2は点状のドット画像が配置された領域を示し、斜線の領域A3乃至A9はドット画像が配置されていない領域を示している。どの領域にドット画像が配置されるかによって識別情報及び位置情報が表現される。媒体50には、例えばプリンタ等の電子写真方式の画像形成装置(図示略)によって、このコードパターン画像が媒体50の全体に形成されている。電子ペン60によってコードパターン画像が読み取られ、そのコードパターン画像が解析されることによって、その電子ペン60のペン先の位置が検出される。   The code pattern image formed on the medium 50 is an image obtained by encoding identification information for identifying the medium 50 and position information indicating coordinate positions on the medium 50. Here, an example of the code pattern image formed on the medium 50 will be described with reference to FIG. FIG. 2 is a diagram illustrating an example of a code pattern image formed on the medium 50. The code pattern image represents the above-described identification information and position information by the mutual positional relationship between a plurality of dot-like dot images. As the areas where these dot images can be arranged, areas A1 to A9 are preliminarily provided. It has been established. In the example shown in FIG. 2, black areas A1 and A2 indicate areas where dot-like dot images are arranged, and hatched areas A3 to A9 indicate areas where dot images are not arranged. The identification information and the position information are expressed depending on which region the dot image is arranged. The code pattern image is formed on the entire medium 50 by an electrophotographic image forming apparatus (not shown) such as a printer. The code pattern image is read by the electronic pen 60, and the code pattern image is analyzed, whereby the position of the pen tip of the electronic pen 60 is detected.

媒体50には、上記のコードパターン画像のほか、人間に対して情報を伝えることを目的とした文書や図形など画像が形成されていてもよい。以下では、この画像のことを「文書画像」というが、これには、テキストを含む文書を表す画像に限らず、例えば、絵、写真、図形等の画像や、その他の画像が含まれる。画像形成装置は、コードパターン画像を形成するときはK(黒)のトナーを用いて画像形成を行う一方、文書画像を形成するときはC(シアン)、M(マゼンタ)、Y(イエロー)のトナーを用いて画像形成を行う。媒体50には、文書画像とコードパターン画像とが重畳されて形成される。このようにコードパターン画像と文書画像とでトナーを異ならせていることで、電子ペン60はコードパターン画像のみを読み取る。なお、本実施形態における「媒体」は、いわゆる紙に限定されるものではなく、例えばOHPシートなどのプラスチックや、その他の材質のシート等であってもよい。また、表示内容を電気的に書き換え可能ないわゆる電子ペーパーであってもよい。要は、媒体50は、画像形成装置等によって少なくともコードパターン画像が形成されたものであればよい。   In addition to the above-described code pattern image, the medium 50 may be formed with an image such as a document or a figure intended to convey information to a person. Hereinafter, this image is referred to as a “document image”, but this is not limited to an image representing a document including text, and includes, for example, an image such as a picture, a photograph, or a graphic, and other images. When forming a code pattern image, the image forming apparatus uses K (black) toner to form an image, while when forming a document image, C (cyan), M (magenta), and Y (yellow). Image formation is performed using toner. On the medium 50, a document image and a code pattern image are superimposed and formed. As described above, since the toner is different between the code pattern image and the document image, the electronic pen 60 reads only the code pattern image. The “medium” in the present embodiment is not limited to so-called paper, and may be a plastic such as an OHP sheet, a sheet of other materials, or the like. Moreover, what is called electronic paper which can electrically rewrite display content may be used. In short, the medium 50 may be any medium on which at least a code pattern image is formed by an image forming apparatus or the like.

電子ペン60は、媒体50に文字や図形等を筆記する機能を有する筆記具であるとともに、媒体50に形成されたコードパターン画像を読み取る読取装置である。電子ペン60は、媒体50から読み取ったコードパターン画像を示す情報を情報処理装置10に送信する。   The electronic pen 60 is a writing instrument having a function of writing characters, figures, and the like on the medium 50 and is a reading device that reads a code pattern image formed on the medium 50. The electronic pen 60 transmits information indicating the code pattern image read from the medium 50 to the information processing apparatus 10.

ここで、電子ペン60の機能的構成の一例について、図面を参照しつつ説明する。図3は、電子ペン60の機能的構成の一例を概略的に示したブロック図である。図において、制御部61は、電子ペン60の全体の動作を制御する制御手段である。圧力センサ62は、電子ペン60による筆記動作をペンチップ69に加わる圧力によって検出する検出手段である。照射部63は、例えばLEDであり、媒体50上に赤外光を照射する照射手段の一例である。撮像部64は、照射部63から照射された赤外光の反射光に応じて、媒体50上の画像を撮像する撮像手段の一例である。   Here, an example of a functional configuration of the electronic pen 60 will be described with reference to the drawings. FIG. 3 is a block diagram schematically illustrating an example of a functional configuration of the electronic pen 60. In the figure, a control unit 61 is a control unit that controls the overall operation of the electronic pen 60. The pressure sensor 62 is a detection unit that detects a writing operation by the electronic pen 60 by a pressure applied to the pen tip 69. The irradiation unit 63 is, for example, an LED, and is an example of an irradiation unit that irradiates the medium 50 with infrared light. The imaging unit 64 is an example of an imaging unit that captures an image on the medium 50 in accordance with the reflected infrared light emitted from the irradiation unit 63.

情報メモリ65は、識別情報および位置情報を記憶する記憶手段である。通信部66は、外部装置との通信を制御する通信手段である。バッテリ67は、電子ペン60を駆動するための電力を各部に供給する充電可能な電力供給手段である。ペンIDメモリ68は、電子ペン60の識別情報(ペンID)を記憶する記憶手段である。ペンチップ69は、いわゆるペン軸であり、その先端部にペン先69aが設けられている。ペン先69aは、ユーザによって筆記動作がなされる際に、読取対象となるコードパターン画像(被読取画像)が形成された媒体50上の位置を指示する指示部の一例である。照射部63は、ユーザによって筆記動作がなされる際に、ペン先69aによって指示される媒体50上の位置に対して予め定められた範囲に光を照射する。スイッチ75は、各種設定を切り替える切替手段である。これら各部は、制御部61に接続されている。   The information memory 65 is a storage unit that stores identification information and position information. The communication unit 66 is a communication unit that controls communication with an external device. The battery 67 is a rechargeable power supply unit that supplies power for driving the electronic pen 60 to each unit. The pen ID memory 68 is a storage unit that stores identification information (pen ID) of the electronic pen 60. The pen tip 69 is a so-called pen shaft, and a pen tip 69a is provided at the tip. The pen tip 69a is an example of an instruction unit that indicates a position on the medium 50 on which a code pattern image (read image) to be read is formed when a writing operation is performed by the user. When the writing operation is performed by the user, the irradiation unit 63 irradiates light in a predetermined range with respect to the position on the medium 50 indicated by the pen tip 69a. The switch 75 is a switching unit that switches various settings. Each of these units is connected to the control unit 61.

次に、撮像部64の構成について、図面を参照しつつ説明する。図4は、電子ペン60の側断面図の一例であり、図5は、電子ペン60を図4における上方からみた場合の横断面図の一例である。図において、受光部641a,641bはそれぞれレンズであり、照射部63から照射された光の反射光を受光する受光手段の一例である。図5に示すように、受光部641a,641bはそれぞれ異なる位置に設けられている。プリズム642は、受光部641a,受光部641bによって受光された光を反射させて撮像素子643に供給する。なお、以下の説明では、説明の便宜上、受光部641a,641bを各々区別する必要がない場合には、これらを「受光部641」と称して説明する。   Next, the configuration of the imaging unit 64 will be described with reference to the drawings. 4 is an example of a side sectional view of the electronic pen 60, and FIG. 5 is an example of a transverse sectional view of the electronic pen 60 as viewed from above in FIG. In the figure, light receiving portions 641a and 641b are lenses, respectively, and are examples of light receiving means for receiving reflected light of light emitted from the irradiation portion 63. As shown in FIG. 5, the light receiving portions 641a and 641b are provided at different positions. The prism 642 reflects the light received by the light receiving unit 641a and the light receiving unit 641b and supplies the reflected light to the image sensor 643. In the following description, for convenience of description, when it is not necessary to distinguish between the light receiving portions 641a and 641b, they will be referred to as “light receiving portions 641”.

撮像素子643は、プリズム642によって反射された反射光に基づいてコードパターン画像を撮像し、撮像したコードパターン画像を表す信号を出力する。図5に示すように、撮像素子643の図中下側の領域643aに、受光部641aで受光された反射光が入射され、撮像素子643の図中上側の領域643bに、受光部641bで受光された反射光が入射される。なお、図5に示す例では、ひとつの撮像素子643の異なる領域に、複数の受光部641a,641bのそれぞれで受光された反射光が入射される構成を示したが、受光部641aで受光された反射光が入射される撮像素子と、受光部641bで受光された反射光が入射される撮像素子との2つの撮像素子が並べて配置される構成であってもよい。   The image sensor 643 captures a code pattern image based on the reflected light reflected by the prism 642, and outputs a signal representing the captured code pattern image. As shown in FIG. 5, the reflected light received by the light receiving unit 641a is incident on the lower region 643a of the image sensor 643 in the drawing, and the light receiving unit 641b receives the reflected light on the upper region 643b of the image sensor 643 in the diagram. The reflected light is incident. In the example shown in FIG. 5, the configuration in which the reflected light received by each of the plurality of light receiving units 641a and 641b is incident on different regions of one imaging element 643 is shown. However, the light receiving unit 641a receives the light. A configuration in which two image pickup devices, that is, an image pickup device that receives reflected light and an image pickup device that receives reflected light received by the light receiving unit 641b, are arranged side by side.

ここでは、撮像素子643として、赤外領域に感度があるCMOSセンサであって、撮像した画像を同時に転送できるグローバルシャッタ方式のCMOSセンサが用いられる。撮像素子643は、70fps〜100fps(frame per second)程度の周期の画像取込信号(フレームレート)に従って画像を撮像する。それに伴い、照射部63は、消費電力を抑制するために、撮像素子643への画像取込信号に同期してパルス点灯するように構成されている。なお、ここでは、撮像素子としてCMOSセンサを用いるが、撮像素子はCMOSセンサに限定されるものではなく、CCD等の他の撮像素子を使用してもよい。   Here, as the image sensor 643, a CMOS sensor having a sensitivity in the infrared region and capable of simultaneously transferring captured images is used. The image sensor 643 captures an image according to an image capture signal (frame rate) with a period of about 70 fps to 100 fps (frame per second). Accordingly, the irradiating unit 63 is configured to perform pulse lighting in synchronization with an image capture signal to the image sensor 643 in order to reduce power consumption. Here, a CMOS sensor is used as the image sensor, but the image sensor is not limited to a CMOS sensor, and other image sensors such as a CCD may be used.

図5に示すように、受光部641aと受光部641bとは、それぞれの光軸(図5中、1点鎖線)が、媒体50において画像が形成されている面(以下、媒体面という)に対して異なる角度で交差するように配置されている。また、受光部641a,641bはともに、照射部63から照射される光の反射光を受光する。このように、受光部641a,641bは、照射部63によって媒体50に照射された光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられている。   As shown in FIG. 5, the light receiving portion 641 a and the light receiving portion 641 b have their optical axes (indicated by a one-dot chain line in FIG. 5) on the surface on which an image is formed on the medium 50 (hereinafter referred to as the medium surface). They are arranged to intersect at different angles. Further, both the light receiving units 641a and 641b receive the reflected light of the light emitted from the irradiation unit 63. As described above, the light receiving units 641a and 641b are provided at positions where the reflected light reflected through the different optical paths among the light irradiated on the medium 50 by the irradiation unit 63 is received.

次に、照射部63、受光部641a,641b及びペン先69aの位置関係について、図6を参照しつつ説明する。図6は、電子ペン60のペン先69a側からみた構成の一例を概略的に示す図である。図6に示す例では、2つの受光部641a,641bは、ペン先69aの指示方向を中心とした対称の位置に設けられている。また、図6に示す例では、照射部63は、2つの受光部641a,641bのそれぞれとの間の距離が等しい位置に設けられている。言い換えると、受光部641a,641bは、ペン先69aと照射部63とを結ぶ直線と略直交する直線上の位置に設けられている。なお、ペン先69aの指示方向とは、ユーザが電子ペンを持って媒体に筆記するときの、その電子ペンから媒体の媒体面に対する位置の指示方向であり、電子ペンの長手方向に沿った方向である。   Next, the positional relationship among the irradiation unit 63, the light receiving units 641a and 641b, and the pen tip 69a will be described with reference to FIG. FIG. 6 is a diagram schematically illustrating an example of the configuration of the electronic pen 60 viewed from the pen tip 69a side. In the example shown in FIG. 6, the two light receiving portions 641a and 641b are provided at symmetrical positions with the direction indicated by the pen tip 69a as the center. Moreover, in the example shown in FIG. 6, the irradiation part 63 is provided in the position where the distance between each of the two light-receiving parts 641a and 641b is equal. In other words, the light receiving parts 641a and 641b are provided at positions on a straight line that is substantially orthogonal to the straight line connecting the pen tip 69a and the irradiation part 63. The indication direction of the pen tip 69a is the indication direction of the position from the electronic pen to the medium surface when the user writes on the medium with the electronic pen, and the direction along the longitudinal direction of the electronic pen It is.

次に、制御部61の機能的構成の一例について、図7を参照しつつ説明する。図7は、制御部61の機能的構成の一例を示すブロック図である。図において、選択制御部611は、複数の受光部641のなかからいずれかを選択し、選択した受光部641が受光した反射光に基づいて撮像素子643により撮像されたコードパターン画像を表す信号をコード検出部612に出力する選択出力手段の一例である。ここでは、選択制御部611は、受光部641aを選択した場合には、受光部641aによって受光された反射光(撮像素子643の図5中下側の領域643aに入射された反射光)に基づいて生成された信号を出力する。一方、選択制御部611は、受光部641bを選択した場合には、受光部641bによって受光された反射光(撮像素子643の図5中上側の領域643bに入射された反射光)に基づいて生成された信号を出力する。選択制御部611は、ここでは、選択する受光部641を予め定められた選択順序に従って切り替えるが、ここでは、選択する受光部641を交互に切り替えるものとする。   Next, an example of a functional configuration of the control unit 61 will be described with reference to FIG. FIG. 7 is a block diagram illustrating an example of a functional configuration of the control unit 61. In the figure, a selection control unit 611 selects any one of a plurality of light receiving units 641 and outputs a signal representing a code pattern image captured by the image sensor 643 based on reflected light received by the selected light receiving unit 641. 7 is an example of a selection output unit that outputs to a code detection unit 612. Here, when the light receiving unit 641a is selected, the selection control unit 611 is based on reflected light received by the light receiving unit 641a (reflected light incident on the lower region 643a in FIG. 5 of the image sensor 643). The generated signal is output. On the other hand, when the light receiving unit 641b is selected, the selection control unit 611 generates based on the reflected light received by the light receiving unit 641b (reflected light incident on the region 643b on the upper side in FIG. 5 of the image sensor 643). The signal is output. Here, the selection control unit 611 switches the light receiving unit 641 to be selected in accordance with a predetermined selection order, but here, the light receiving unit 641 to be selected is switched alternately.

コード検出部612は、選択制御部611から出力される信号(撮像された画像を表す信号)からコードパターン画像を検出する。データ処理部613は、コード検出部612にて検出されたコードパターン画像から識別情報および位置情報を抽出する。照明制御部614は、照射部63をパルス点灯させるための照明制御信号を照射部63に対して送信し、照射部63をパルス点灯させる。撮像制御部615は、照射部63に送信するパルス点灯に同期した画像取込信号を撮像部64に供給する。   The code detection unit 612 detects a code pattern image from a signal output from the selection control unit 611 (a signal representing a captured image). The data processing unit 613 extracts identification information and position information from the code pattern image detected by the code detection unit 612. The illumination control unit 614 transmits an illumination control signal for illuminating the irradiation unit 63 to the irradiation unit 63 to cause the irradiation unit 63 to perform pulse lighting. The imaging control unit 615 supplies the imaging unit 64 with an image capture signal synchronized with the pulse lighting transmitted to the irradiation unit 63.

次に、電子ペン60における制御部61の動作の概略を説明する。図8は、照射部63のパルス点灯を制御する照明制御信号、撮像部64における画像取込信号、および出力画像信号に関する出力タイミングチャートを示した図である。電子ペン60による筆記が開始されると、ペンチップ69に接続された圧力センサ62が筆記動作を検出する。それにより、制御部61は、識別情報及び位置情報の読取処理を開始する。まず、制御部61の照明制御部614は、照射部63をパルス点灯させるための照明制御信号(図8(A))を照射部63に対して送信し、照射部63をパルス点灯させる。   Next, an outline of the operation of the control unit 61 in the electronic pen 60 will be described. FIG. 8 is a diagram illustrating an output timing chart relating to an illumination control signal for controlling the pulse lighting of the irradiation unit 63, an image capture signal in the imaging unit 64, and an output image signal. When writing with the electronic pen 60 is started, the pressure sensor 62 connected to the pen tip 69 detects the writing operation. Thereby, the control part 61 starts the reading process of identification information and position information. First, the illumination control unit 614 of the control unit 61 transmits an illumination control signal (FIG. 8A) for turning on the irradiation unit 63 in a pulsed manner to the irradiation unit 63, and turns on the irradiation unit 63 in a pulsed manner.

撮像部64は、画像取込信号(図8(B))に同期して媒体50上の画像を撮像する。その際に、照射部63は、撮像部64への画像取込信号に同期してパルス点灯する。撮像部64は、パルス点灯する照射部63にて照明される媒体50上の画像を撮像する。そのため、撮像部64では、照射部63にて照明された媒体50上の画像に関する画像信号(出力画像信号:図8(C))が順に生成される。   The imaging unit 64 captures an image on the medium 50 in synchronization with the image capture signal (FIG. 8B). At that time, the irradiation unit 63 is pulse-lit in synchronization with the image capture signal to the imaging unit 64. The imaging unit 64 captures an image on the medium 50 illuminated by the irradiation unit 63 that performs pulse lighting. Therefore, in the imaging unit 64, image signals (output image signal: FIG. 8C) relating to the image on the medium 50 illuminated by the irradiation unit 63 are generated in order.

撮像部64にて順次生成された出力画像信号は、選択制御部611に送られる。選択制御部611は、撮像部64から出力される出力画像信号のうち、受光部631aによって受光された反射光に基づいて生成された出力画像信号と受光部631bによって受光された反射光に基づいて生成された出力画像信号とを、交互にコード検出部612に出力する。出力画像信号を受け取ったコード検出部612は、出力画像信号を処理して、撮像部64にて撮像された画像からコードパターン画像を検出する。コード検出部612により取得されたコードパターン画像はデータ処理部613に送られる。コードパターン画像を受け取ったデータ処理部613は、コードパターン画像を復号し、コードパターン画像に埋め込まれている識別情報および位置情報を取得する。   Output image signals sequentially generated by the imaging unit 64 are sent to the selection control unit 611. The selection control unit 611 is based on the output image signal output from the imaging unit 64, the output image signal generated based on the reflected light received by the light receiving unit 631a, and the reflected light received by the light receiving unit 631b. The generated output image signal is alternately output to the code detection unit 612. The code detection unit 612 that has received the output image signal processes the output image signal and detects a code pattern image from the image captured by the imaging unit 64. The code pattern image acquired by the code detection unit 612 is sent to the data processing unit 613. Upon receiving the code pattern image, the data processing unit 613 decodes the code pattern image and acquires identification information and position information embedded in the code pattern image.

<A−2:動作>
次に、この実施形態の動作について説明する。電子ペン60による筆記が開始されると、ペンチップ69に接続された圧力センサ62が筆記動作を検出する。それにより、制御部61は、識別情報及び位置情報の読取処理を開始する。まず、照明制御部614は、照射部63をパルス点灯されるための照明制御信号を照射部63に対して送信し、照射部63をパルス点灯させる。また、電子ペン60の撮像制御部615は、照射部63に送信するパルス点灯に同期した画像取込信号を、撮像部64に供給する。撮像部64は、撮像制御部615から供給される画像取込信号に応じて、受光部641a,受光部641bで受光される反射光に基づいてコードパターン画像を撮像し、撮像したコードパターン画像を表す出力画像信号を選択制御部611へ出力する。
<A-2: Operation>
Next, the operation of this embodiment will be described. When writing with the electronic pen 60 is started, the pressure sensor 62 connected to the pen tip 69 detects the writing operation. Thereby, the control part 61 starts the reading process of identification information and position information. First, the illumination control unit 614 transmits an illumination control signal for pulse-lighting the irradiation unit 63 to the irradiation unit 63 to turn on the irradiation unit 63 in pulses. Further, the imaging control unit 615 of the electronic pen 60 supplies the imaging unit 64 with an image capture signal synchronized with the pulse lighting transmitted to the irradiation unit 63. The imaging unit 64 captures the code pattern image based on the reflected light received by the light receiving unit 641a and the light receiving unit 641b in accordance with the image capture signal supplied from the imaging control unit 615, and the captured code pattern image is captured. The output image signal to be expressed is output to the selection control unit 611.

次に、コード検出部612及びデータ処理部613の動作について、図9に示すフローチャートを参照しつつ説明する。コード検出部612には、選択制御部611から媒体50上の画像を表す出力画像信号が入力される(ステップS601)。コード検出部612は、出力画像信号に含まれるノイズを除去するための処理を行う(ステップS602)。ここで、ノイズとしては、CMOS感度のばらつきや電子回路により発生するノイズ等がある。ノイズを除去するために如何なる処理を行うかは、電子ペン60の撮像系の特性に応じて決定する。例えば、ぼかし処理やアンシャープマスキング等の先鋭化処理を適用することができる。次に、コード検出部612は、画像からドットパターン(ドット画像の位置)を検出する(ステップS603)。また、コード検出部612は、検出したドットパターンを2次元配列上のデジタルデータに変換する(ステップS604)。例えば、2次元配列上で、ドットがある位置を「1」、ドットがない位置を「0」というように変換する。そして、この2次元配列上のデジタルデータ(コードパターン画像)は、コード検出部612からデータ処理部613へと受け渡される。   Next, operations of the code detection unit 612 and the data processing unit 613 will be described with reference to the flowchart shown in FIG. The code detection unit 612 receives an output image signal representing an image on the medium 50 from the selection control unit 611 (step S601). The code detection unit 612 performs processing for removing noise included in the output image signal (step S602). Here, the noise includes variations in CMOS sensitivity, noise generated by an electronic circuit, and the like. What processing is performed to remove noise is determined according to the characteristics of the imaging system of the electronic pen 60. For example, sharpening processing such as blurring processing or unsharp masking can be applied. Next, the code detection unit 612 detects a dot pattern (a position of the dot image) from the image (step S603). Further, the code detection unit 612 converts the detected dot pattern into digital data on a two-dimensional array (step S604). For example, on a two-dimensional array, a position where there is a dot is converted to “1”, and a position where there is no dot is converted to “0”. The digital data (code pattern image) on the two-dimensional array is transferred from the code detection unit 612 to the data processing unit 613.

データ処理部613は、受け渡されたコードパターン画像から、図2に示した2つのドットの組み合わせからなるドットパターンを検出する(ステップS605)。例えば、ドットパターンに対応するブロックの境界位置を2次元配列上で動かし、ブロック内に含まれるドットの数が2つになる境界位置を検出することにより、ドットパターンを検出することができる。このようにしてドットパターンが検出されると、データ処理部613は、ドットパターンの種類に基づいて、識別符号および位置符号を検出する(ステップS606)。その後、データ処理部613は、識別符号を復号して識別情報を取得し、位置符号を復号して位置情報を取得する(ステップS607)。図9に示す処理において、受光部641が受光した光量が少なすぎる場合や、逆に受光した光量が多すぎる場合等には、撮像された画像からドットパターンが検出されず、電子ペン60が識別情報及び位置情報を取得できない場合がある。このように識別情報及び位置情報が取得できなかった場合は、データ処理部613は、識別情報および位置情報に代えて、読取の失敗を示す情報を取得する。   The data processing unit 613 detects a dot pattern composed of a combination of two dots shown in FIG. 2 from the delivered code pattern image (step S605). For example, the dot pattern can be detected by moving the boundary position of the block corresponding to the dot pattern on the two-dimensional array and detecting the boundary position where the number of dots included in the block is two. When the dot pattern is detected in this manner, the data processing unit 613 detects the identification code and the position code based on the type of the dot pattern (step S606). Thereafter, the data processing unit 613 acquires the identification information by decoding the identification code, and acquires the position information by decoding the position code (step S607). In the processing shown in FIG. 9, when the light amount received by the light receiving unit 641 is too small, or conversely, when the received light amount is too large, the dot pattern is not detected from the captured image, and the electronic pen 60 is identified. Information and position information may not be acquired. When the identification information and the position information cannot be acquired as described above, the data processing unit 613 acquires information indicating a reading failure instead of the identification information and the position information.

電子ペン60は、図9の処理により取得した識別情報および位置情報を情報処理装置10に送信する。このとき、電子ペン60は、識別情報および位置情報の読取に失敗した場合は、読取の失敗を示す情報を情報処理装置10に送信する。情報処理装置10は電子ペン60から識別情報および位置情報を受信し、受信した位置情報に基づいて筆記情報を生成する。情報処理装置10は、電子ペン60から読取の失敗を示す情報を受信した場合には、その前後の識別情報および位置情報によって補間したりする等して筆記情報を生成する。   The electronic pen 60 transmits the identification information and position information acquired by the processing of FIG. 9 to the information processing apparatus 10. At this time, if the reading of the identification information and the position information fails, the electronic pen 60 transmits information indicating the reading failure to the information processing apparatus 10. The information processing apparatus 10 receives identification information and position information from the electronic pen 60, and generates writing information based on the received position information. When the information processing apparatus 10 receives information indicating a reading failure from the electronic pen 60, the information processing apparatus 10 generates writing information by interpolating the identification information and position information before and after the information.

ところで、電子ペン60で媒体50に対して筆記が行われる際には、電子ペン60と媒体50との間の角度は、ユーザの筆記動作に伴って逐次変化する。このとき、例えば、電子ペン60と媒体50との間の角度が、図10に示す位置関係となった場合、受光部641aの焦点深度は深くなるから、絞りを小さくする必要があり、受光部641aにおける反射光の受光量が少なくなってしまう。そのため、図10に例示する位置関係の場合は、受光部641aにおいて必要最低限の光量が確保できずに正確な撮像が行えず、電子ペン60は識別情報及び位置情報を得られない場合がある。一方、受光部641bの焦点深度は浅くなるから、絞りを大きくすることができ、照射部63からの照射光量が少ない場合であっても撮像が行われる。よって、電子ペン60は、この撮像画像からは識別情報及び位置情報が得られることになる。このように、図10に例示する位置関係の場合には、受光部641aでは十分な光量が受光されない可能性があるが、反対側に配置された受光部641bで十分な光量が確保される。このように、図10に例示するように電子ペン60と媒体50との角度が広くなった場合であっても、いずれかの受光部641によって十分な光量が確保される。   By the way, when writing is performed with respect to the medium 50 with the electronic pen 60, the angle between the electronic pen 60 and the medium 50 sequentially changes with the user's writing operation. At this time, for example, when the angle between the electronic pen 60 and the medium 50 has the positional relationship shown in FIG. 10, the depth of focus of the light receiving unit 641 a becomes deep, so the aperture needs to be reduced. The amount of reflected light received at 641a is reduced. For this reason, in the case of the positional relationship illustrated in FIG. 10, the light receiving unit 641a cannot secure the necessary minimum amount of light and cannot perform accurate imaging, and the electronic pen 60 may not obtain identification information and position information. . On the other hand, since the depth of focus of the light receiving unit 641b is shallow, the aperture can be increased, and imaging is performed even when the amount of light emitted from the irradiation unit 63 is small. Therefore, the electronic pen 60 can obtain identification information and position information from this captured image. As described above, in the case of the positional relationship illustrated in FIG. 10, there is a possibility that the light receiving unit 641a does not receive a sufficient amount of light, but the light receiving unit 641b arranged on the opposite side secures a sufficient amount of light. As described above, even when the angle between the electronic pen 60 and the medium 50 is wide as illustrated in FIG. 10, a sufficient amount of light is secured by any one of the light receiving units 641.

また、他の例として、例えば、電子ペン60と媒体50との角度が、図11に示す位置関係となった場合は、図10に例示した場合とは逆に、受光部641aの焦点深度は浅くなる一方、受光部641bの焦点深度は深くなる。そのため、受光部641bにおいて絞りを小さくする必要があるから、撮像のための必要最低限な光量が確保できず、撮像を好適に行えない場合がある。この場合であっても、どちらかの受光部641では十分な光量が確保される。
このように、ペン先69aの指示方向と媒体50の媒体面との間の角度が大きい場合であっても、複数の受光部641のうちのいずれかにおいては撮像に十分な光量が確保される。
特に、本実施形態では、複数の受光部641を交互に選択するから、いずれかの受光部641において反射光が好適に受光されない場合であっても、コードパターン画像の読取の失敗が継続して発生することがない。
As another example, for example, when the angle between the electronic pen 60 and the medium 50 has the positional relationship shown in FIG. 11, the focal depth of the light receiving unit 641a is opposite to the case illustrated in FIG. On the other hand, the depth of focus of the light receiving portion 641b becomes deeper as it becomes shallower. For this reason, since it is necessary to reduce the aperture in the light receiving unit 641b, the minimum necessary amount of light for imaging cannot be secured, and imaging may not be performed appropriately. Even in this case, a sufficient amount of light is secured in one of the light receiving portions 641.
Thus, even if the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is large, a sufficient amount of light for imaging is ensured in any of the plurality of light receiving units 641. .
In particular, in the present embodiment, since the plurality of light receiving units 641 are alternately selected, even if any of the light receiving units 641 does not receive the reflected light suitably, the reading failure of the code pattern image continues. It does not occur.

また、上述したように、電子ペン60で媒体50に対して筆記が行われる際には、電子ペン60と媒体50との間の角度は、筆記動作に伴って逐次変化するが、このとき、図22に示すように、従来の電子ペン160においては、電子ペンと媒体との間の角度が90度に近い状態になることがある。電子ペンは、通常の筆記具であるペンのように細長い形状であることが求められるから、照射部163と受光部1641とを、電子ペンの長手方向と直交する方向において比較的近接した位置に配置せざるを得ない。このような配置の制約があるので、電子ペンと媒体との間の角度が90度に近い状態では、図18に示すように、照射部163から照射される光の反射光のうち主に正反射光成分が受光部1641によって受光されることになる。このときコードパターン画像を形作るトナーの種類によっては反射光の強度が強すぎて、受光部1641がカバーし得る受光強度の上限を超える反射光が受光部1641に到達し、コードパターン画像を正確によみとれない場合がある。これに対し、本実施形態の電子ペン60における複数の受光部641は、照射部63の照射方向に対する反射光の受光方向(光軸)がそれぞれ異なる方向となるように設けられているから、複数の受光部641で同時に、正反射光成分を主に受光することがない。そのため、いずれかの受光部641で主に正反射光成分を受光した場合であっても、受光部641が交互に選択されるから、コードパターン画像の読取の失敗が継続することがない。   Further, as described above, when writing is performed on the medium 50 with the electronic pen 60, the angle between the electronic pen 60 and the medium 50 sequentially changes with the writing operation. As shown in FIG. 22, in the conventional electronic pen 160, the angle between the electronic pen and the medium may be close to 90 degrees. Since the electronic pen is required to have an elongated shape like a pen that is a normal writing instrument, the irradiating unit 163 and the light receiving unit 1641 are disposed at relatively close positions in a direction orthogonal to the longitudinal direction of the electronic pen. I have to. Because of such arrangement restrictions, when the angle between the electronic pen and the medium is close to 90 degrees, as shown in FIG. 18, the reflected light of the light emitted from the irradiation unit 163 is mainly positive. The reflected light component is received by the light receiving unit 1641. At this time, depending on the type of toner that forms the code pattern image, the intensity of the reflected light is too strong, and the reflected light that exceeds the upper limit of the received light intensity that can be covered by the light receiving unit 1641 reaches the light receiving unit 1641 so that the code pattern image is accurately displayed. There are cases where it cannot be read. On the other hand, the plurality of light receiving units 641 in the electronic pen 60 of the present embodiment are provided such that the light receiving directions (optical axes) of the reflected light with respect to the irradiation direction of the irradiation unit 63 are different from each other. At the same time, the regular reflection light component is not mainly received by the light receiving unit 641. Therefore, even if one of the light receiving units 641 mainly receives the regular reflection light component, the light receiving units 641 are alternately selected, so that the failure of reading the code pattern image does not continue.

以上のことから、ペン先69aの指示方向と媒体50の媒体面との間の角度が180°に近いような、比較的大きい場合であっても、コードパターン画像は電子ペン60によって読み取られるし、また、ペン先69aの指示方向と媒体50の媒体面との間の角度が90°に近いような、比較的小さい場合であっても、コードパターン画像は電子ペン60によって読み取られる。つまり、ペン先69aの指示方向と媒体50の媒体面との間との間の角度の許容範囲が広くなる。   From the above, the code pattern image is read by the electronic pen 60 even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is relatively large such as close to 180 °. In addition, even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is relatively small such as close to 90 °, the code pattern image is read by the electronic pen 60. That is, the allowable range of the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is widened.

<B:第2実施形態>
次に、この発明の第2の実施形態について説明する。図12は、本実施形態である電子ペン60Bをペン先69a側からみた構成の一例を概略的に示す図である。図12は、上述した第1の実施形態における図6に対応する図である。本実施形態である電子ペン60Bが上述した第1の実施形態である電子ペン60と異なる点は、照射部63に代えて照射部63a,63bを有している点である。以下の説明では、上述した電子ペン60と同様の構成要素については同じ符号を付してその説明を省略する。
<B: Second Embodiment>
Next explained is the second embodiment of the invention. FIG. 12 is a diagram schematically illustrating an example of the configuration of the electronic pen 60B according to the present embodiment as viewed from the pen tip 69a side. FIG. 12 is a diagram corresponding to FIG. 6 in the first embodiment described above. The electronic pen 60 </ b> B according to the present embodiment is different from the electronic pen 60 according to the first embodiment described above in that irradiation units 63 a and 63 b are provided instead of the irradiation unit 63. In the following description, the same components as those of the electronic pen 60 described above are denoted by the same reference numerals and description thereof is omitted.

図12に示すように、電子ペン60Bは2つの照射部63a,63bを備えている。また、複数の受光部641a,641bはそれぞれ異なる位置に設けられている。受光部641aは照射部63aから照射される光の反射光を受光する位置に設けられている。一方、受光部641bは照射部63bから照射される光の反射光を受光する位置に設けられている。このように、受光部641a,641bは、照射部63a,63bによって照射された光の反射光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられている。   As shown in FIG. 12, the electronic pen 60B includes two irradiation units 63a and 63b. Further, the plurality of light receiving portions 641a and 641b are provided at different positions. The light receiving unit 641a is provided at a position for receiving the reflected light of the light emitted from the irradiation unit 63a. On the other hand, the light receiving unit 641b is provided at a position for receiving the reflected light of the light emitted from the irradiation unit 63b. As described above, the light receiving units 641a and 641b are provided at positions that receive the reflected light reflected through the different optical paths among the reflected light of the light irradiated by the irradiation units 63a and 63b, respectively.

この実施形態では、電子ペン60Bの制御部61は、受光部641を交互に選択するとともに、受光部641の選択に伴って、照射部63a,63bを交互に選択する。すなわち、電子ペン60Bの照明制御部614は、照明制御信号を、照射部63a,63bに対して交互に供給し、照射部63a,63bを交互にパルス点灯させる。より具体的には、制御部61は、受光部641aを選択する場合には受光部641aに対応する照射部63aをパルス点灯させる一方、受光部641bを選択する場合には受光部641bに対応する照射部63bをパルス点灯させる。   In this embodiment, the control unit 61 of the electronic pen 60 </ b> B alternately selects the light receiving units 641 and alternately selects the irradiation units 63 a and 63 b as the light receiving unit 641 is selected. That is, the illumination control unit 614 of the electronic pen 60B alternately supplies illumination control signals to the irradiation units 63a and 63b, and turns on the irradiation units 63a and 63b alternately. More specifically, the control unit 61 turns on the irradiation unit 63a corresponding to the light receiving unit 641a when the light receiving unit 641a is selected, and corresponds to the light receiving unit 641b when selecting the light receiving unit 641b. The irradiation unit 63b is pulse-lit.

この実施形態においても、ペン先69aの指示方向と媒体50の媒体面との間の角度が180°に近いような、比較的大きい場合であっても、コードパターン画像は電子ペン60Bによって読み取られるし、また、ペン先69aの指示方向と媒体50の媒体面との間の角度が90°に近いような、比較的小さい場合であっても、コードパターン画像は電子ペン60Bによって読み取られる。つまり、ペン先69aの指示方向と媒体50の媒体面との間の角度の許容範囲が広くなる。   Also in this embodiment, the code pattern image is read by the electronic pen 60B even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is relatively large such as close to 180 °. In addition, even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is relatively small, such as 90 °, the code pattern image is read by the electronic pen 60B. That is, the allowable range of the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is widened.

<C:第3実施形態>
次に、この発明の第3の実施形態について説明する。図13は、本実施形態である電子ペン60Cをペン先69a側からみた構成の一例を概略的に示す図である。図13は、上述した第1の実施形態における図6に対応する図である。本実施形態である電子ペン60Cが上述した第1の実施形態である電子ペン60と異なる点は、照射部63に代えて照射部63c、63dを有している点である。以下の説明では、上述した電子ペン60と同様の構成要素については同じ符号を付してその説明を省略する。
<C: Third Embodiment>
Next explained is the third embodiment of the invention. FIG. 13 is a diagram schematically illustrating an example of the configuration of the electronic pen 60C according to the present embodiment as viewed from the pen tip 69a side. FIG. 13 is a diagram corresponding to FIG. 6 in the first embodiment described above. The electronic pen 60 </ b> C according to the present embodiment is different from the electronic pen 60 according to the first embodiment described above in that irradiation units 63 c and 63 d are provided instead of the irradiation unit 63. In the following description, the same components as those of the electronic pen 60 described above are denoted by the same reference numerals and description thereof is omitted.

図13に示すように、電子ペン60Cは、2つの照射部63c,63dを備えている。また、複数の受光部641a,641bはそれぞれ異なる位置に設けられている。受光部641aは照射部63dから照射される光の反射光を受光する位置に設けられている。一方、受光部641bは照射部63cから照射される光の反射光を受光する位置に設けられている。このように、受光部641a,641bは、63c,63dによって照射された光の反射光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられている。また、図示のように、2つの照射部63c,63dは、ペン先69aを中心とした対称の位置に設けられている。   As shown in FIG. 13, the electronic pen 60C includes two irradiation units 63c and 63d. Further, the plurality of light receiving portions 641a and 641b are provided at different positions. The light receiving unit 641a is provided at a position for receiving the reflected light of the light emitted from the irradiation unit 63d. On the other hand, the light receiving unit 641b is provided at a position for receiving the reflected light of the light emitted from the irradiation unit 63c. As described above, the light receiving units 641a and 641b are provided at positions that respectively receive the reflected light reflected through the different optical paths among the reflected light of the light irradiated by the 63c and 63d. Further, as shown in the figure, the two irradiation parts 63c and 63d are provided at symmetrical positions around the pen tip 69a.

この実施形態では、電子ペン60Cの制御部61は、受光部641を交互に選択するとともに、受光部641の選択に伴って、照射部63c,63dを交互に選択する。すなわち、電子ペン60Cの照明制御部614は、照明制御信号を、照射部63c,63dに対して交互に供給し、照射部63c,63dを交互にパルス点灯させる。より具体的には、制御部61は、受光部641aを選択する場合には受光部641aに対応する照射部63cをパルス点灯させる一方、受光部641bを選択する場合には受光部641bに対応する照射部63cをパルス点灯させる。   In this embodiment, the control unit 61 of the electronic pen 60C alternately selects the light receiving units 641 and alternately selects the irradiation units 63c and 63d as the light receiving unit 641 is selected. That is, the illumination control unit 614 of the electronic pen 60C alternately supplies illumination control signals to the irradiation units 63c and 63d, and turns on the irradiation units 63c and 63d alternately. More specifically, when selecting the light receiving unit 641a, the control unit 61 pulses the irradiation unit 63c corresponding to the light receiving unit 641a, while selecting the light receiving unit 641b corresponds to the light receiving unit 641b. The irradiation part 63c is pulse-lit.

この実施形態においても、ペン先69aの指示方向と媒体50の媒体面との間の角度が180°に近いような、比較的大きい場合であっても、コードパターン画像は電子ペン60Cによって読み取られるし、また、ペン先69aの指示方向と媒体50の媒体面との間の角度が90°に近いような、比較的小さい場合であっても、コードパターン画像は電子ペン60Cによって読み取られる。つまり、ペン先69aの指示方向と媒体50の媒体面との間の角度の許容範囲が広くなる。   Also in this embodiment, the code pattern image is read by the electronic pen 60C even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is relatively large such as close to 180 °. In addition, even when the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is close to 90 °, the code pattern image is read by the electronic pen 60C. That is, the allowable range of the angle between the indication direction of the pen tip 69a and the medium surface of the medium 50 is widened.

<D:変形例>
以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限定されることなく、他の様々な形態で実施可能である。以下にその例を示す。なお、以下の各態様を組み合わせてもよい。
(1)上述の実施形態において、複数の受光部が一体として形成されていてもよい。具体的には、例えば、図14に例示する構成であってもよい。図14(a)は本態様の電子ペン60Dの側断面図の一例であり、図14(b)は電子ペン60Dを図14(a)における上方からみた場合の横断面図の一例である。図14において、撮像ユニット64Bは、2つの受光部(第1実施形態における受光部641a,641bに対応)とこれらの受光部で受光された光を導く2つのプリズムが一体として構成されている。この撮像ユニット64Bを用いることにより、電子ペンの構成を簡易にすることができる。
<D: Modification>
As mentioned above, although embodiment of this invention was described, this invention is not limited to embodiment mentioned above, It can implement with another various form. An example is shown below. In addition, you may combine each following aspect.
(1) In the above-described embodiment, a plurality of light receiving portions may be integrally formed. Specifically, for example, the configuration illustrated in FIG. 14 may be used. FIG. 14A is an example of a side cross-sectional view of the electronic pen 60D of this embodiment, and FIG. 14B is an example of a cross-sectional view of the electronic pen 60D as viewed from above in FIG. 14A. In FIG. 14, the imaging unit 64B is configured integrally with two light receiving units (corresponding to the light receiving units 641a and 641b in the first embodiment) and two prisms that guide light received by these light receiving units. By using the imaging unit 64B, the configuration of the electronic pen can be simplified.

(2)上述の第1の実施形態では、ひとつの照射部63と2つの受光部641a,641bとひとつの撮像素子643を備える構成について説明したが、照射部と撮像素子の数はこれに限らない。例えば、図15(a)に例示するように、ひとつの照射部63と、2つの受光部641a,641bと、2つの撮像素子643a,643bを設ける構成としてもよい。また、例えば、図15(b)に例示する構成であってもよい。図15(b)に示す例においては、受光部641aで受光された光がミラー644aとプリズム644cで反射されて撮像素子643cに供給されるとともに、受光部641bで受光された光がミラー644bとプリズム644cで反射されて撮像素子643cに供給される。また、上述の第1の実施形態では、ひとつの撮像素子643の領域を2つにわけて用いたが、これに限らず、図15(c)に示すように、複数の照射部63a,63bに対してひとつの撮像素子643dのひとつの領域を併用するようにしてもよい。また、これらに限らず、例えば、3つの撮像素子を具備する構成としてもよい。 (2) In the first embodiment described above, the configuration including one irradiation unit 63, two light receiving units 641a and 641b, and one image sensor 643 has been described. However, the number of irradiation units and image sensors is not limited thereto. Absent. For example, as illustrated in FIG. 15A, one irradiating unit 63, two light receiving units 641a and 641b, and two imaging elements 643a and 643b may be provided. Further, for example, the configuration illustrated in FIG. In the example shown in FIG. 15B, the light received by the light receiving unit 641a is reflected by the mirror 644a and the prism 644c and supplied to the imaging device 643c, and the light received by the light receiving unit 641b is reflected by the mirror 644b. The light is reflected by the prism 644c and supplied to the image sensor 643c. In the first embodiment described above, the area of one imaging element 643 is divided into two areas. However, the present invention is not limited to this. As shown in FIG. 15C, a plurality of irradiation units 63a and 63b are used. In contrast, one region of one image sensor 643d may be used in combination. Moreover, it is good also as a structure which comprises not only these but three image pick-up elements, for example.

(3)上述の実施形態では、2つの受光部641a,641bを有する電子ペンについて説明したが、電子ペンが有する受光部の数は2に限らず、これより多くてもよい。要するに、電子ペンが、各々異なる位置に設けられた複数の受光部を有する構成であればよい。 (3) In the above-described embodiment, the electronic pen having the two light receiving units 641a and 641b has been described. However, the number of the light receiving units included in the electronic pen is not limited to two, and may be larger. In short, it is only necessary that the electronic pen has a plurality of light receiving portions provided at different positions.

(4)上述の第1の実施形態では、照射部63は、2つの受光部641a,641bとのそれぞれとの間の距離が等しい位置に設けられていたが、照射部63と受光部641a,641bとの位置関係はこれに限らない。 (4) In the first embodiment described above, the irradiation unit 63 is provided at a position where the distances between the two light receiving units 641a and 641b are equal to each other, but the irradiation unit 63 and the light receiving unit 641a, The positional relationship with 641b is not limited to this.

また、上述の実施形態では複数の受光部641は、照射部63によって媒体50に照射された光の反射光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられていたが、受光部641と照射部63との位置関係はこれに限らない。   Further, in the above-described embodiment, the plurality of light receiving units 641 are provided at positions that respectively receive the reflected light reflected through the different optical paths among the reflected light of the light irradiated to the medium 50 by the irradiation unit 63. However, the positional relationship between the light receiving unit 641 and the irradiation unit 63 is not limited to this.

(5)上述の実施形態では、選択制御部611は、選択する受光部641を交互に切り替えるようにしたが、選択制御部611による選択の態様はこれに限らず、例えば、選択制御部611が、受光部641aと受光部641bとの選択の割合が2対1になるように選択する受光部を切り替えるようにしてもよい。また、例えば、選択制御部611が、予め定められたランダム関数に従って受光部641aと受光部641bとをランダムに切り替えるようにしてもよい。要は、選択制御部611は、選択する受光部641を予め定められた選択順序に従って切り替えるようにすればよい。 (5) In the above-described embodiment, the selection control unit 611 alternately switches the light receiving unit 641 to be selected. However, the selection mode by the selection control unit 611 is not limited to this. For example, the selection control unit 611 The selected light receiving unit may be switched so that the selection ratio of the light receiving unit 641a and the light receiving unit 641b is 2: 1. Further, for example, the selection control unit 611 may randomly switch between the light receiving unit 641a and the light receiving unit 641b according to a predetermined random function. In short, the selection control unit 611 may switch the light receiving unit 641 to be selected in accordance with a predetermined selection order.

また、選択制御部611による選択の態様は上述したものに限らず、例えば、コード検出部612が撮像部64で撮像されたコードパターン画像の読取認識率を算出し、選択制御部611が、算出された読取認識率に基づいて、複数の受光部641のなかからいずれかを選択するようにしてもよい。この場合の電子ペン60の制御部の構成について図面を参照しつつ説明する。   The selection mode by the selection control unit 611 is not limited to that described above. For example, the code detection unit 612 calculates the read recognition rate of the code pattern image captured by the imaging unit 64, and the selection control unit 611 calculates One of the plurality of light receiving units 641 may be selected based on the read recognition rate. The configuration of the control unit of the electronic pen 60 in this case will be described with reference to the drawings.

図16は、この態様における制御部61Bの機能的構成の一例を示す図である。図16は、上述した第1実施形態における図7に対応するものである。図16に示す制御部61Bの構成が上述した第1実施形態において図7に示した制御部61と異なる点は、選択制御部とコード検出部の処理の内容が異なる点である。そのため、以下の説明においては、上述した第1実施形態と同様の構成や処理については同じ符号を付してその説明を省略する。   FIG. 16 is a diagram illustrating an example of a functional configuration of the control unit 61B in this aspect. FIG. 16 corresponds to FIG. 7 in the first embodiment described above. The configuration of the control unit 61B shown in FIG. 16 is different from the control unit 61 shown in FIG. 7 in the first embodiment described above in that the processing contents of the selection control unit and the code detection unit are different. Therefore, in the following description, the same code | symbol is attached | subjected about the structure and process similar to 1st Embodiment mentioned above, and the description is abbreviate | omitted.

図16において、コード検出部612Bは、撮像部64から供給される出力画像信号に基づいてコードパターン画像を検出するとともに、検出されたコードパターン画像の検出精度(読取認識率)を示す検出精度信号を生成する。より具体的には、コード検出部612Bは、検出されたコードパターン画像について、予め用意された複数のコードパターン画像とのパターンマッチングをそれぞれ行う。それにより、各コードパターン画像についての予め用意された複数のコードパターン画像に対する類似度がそれぞれ算出される。そして、算出された各コードパターン画像の類似度を表す検出精度信号を生成し、選択制御部611Bに送る。   In FIG. 16, the code detection unit 612B detects a code pattern image based on the output image signal supplied from the imaging unit 64, and also detects a detection accuracy signal indicating the detection accuracy (reading recognition rate) of the detected code pattern image. Is generated. More specifically, the code detection unit 612B performs pattern matching with a plurality of code pattern images prepared in advance for the detected code pattern image. Thereby, the similarity to each of the code pattern images prepared in advance for each code pattern image is calculated. Then, a detection accuracy signal representing the calculated similarity of each code pattern image is generated and sent to the selection control unit 611B.

なお、コード検出部612Bでは、撮像部64から受け取った出力画像信号を複数に分割し、分割された出力画像信号から検出精度信号を生成するようにしてもよい。すなわち、コード検出部612Bは、撮像部64から受け取った出力画像信号を複数に分割し、分割されたそれぞれの出力画像信号についてコードパターン画像を検出してもよい。そして、コード検出部612Bは、各コードパターン画像に対する上記したパターンマッチングをそれぞれ行い、それらの結果を統合して各コードパターンの類似度を表す検出精度信号を生成するようにしてもよい。   Note that the code detection unit 612B may divide the output image signal received from the imaging unit 64 into a plurality, and generate a detection accuracy signal from the divided output image signal. That is, the code detection unit 612B may divide the output image signal received from the imaging unit 64 into a plurality of parts and detect a code pattern image for each of the divided output image signals. Then, the code detection unit 612B may perform the above-described pattern matching on each code pattern image and integrate the results to generate a detection accuracy signal representing the similarity of each code pattern.

選択制御部611Bは、コード検出部612Bから受け取った検出精度信号を比較し、検出精度信号の中から高い検出精度を示すコードパターン画像に対応する受光部641を選択する。すなわち、この態様においては、コード検出部612Bと選択制御部611Bとが、撮像部64で撮像されたコードパターン画像の読取認識率をそれぞれ算出し、算出した読取認識率に基づいて、複数の受光部641のなかからいずれかを選択する選択出力部として機能する。このようにして、識別情報および位置情報を取得するサイクルにおいて、コードパターン画像の検出精度が最も高いと判断された受光部641が選択されて使用される。   The selection control unit 611B compares the detection accuracy signals received from the code detection unit 612B, and selects the light receiving unit 641 corresponding to the code pattern image indicating high detection accuracy from the detection accuracy signals. That is, in this aspect, the code detection unit 612B and the selection control unit 611B each calculate the read recognition rate of the code pattern image captured by the imaging unit 64, and a plurality of light receptions based on the calculated read recognition rate. It functions as a selection output unit that selects one of the units 641. In this way, in the cycle for acquiring the identification information and the position information, the light receiving unit 641 determined to have the highest detection accuracy of the code pattern image is selected and used.

ここで、識別情報および位置情報取得サイクルの実行時において、常時または予め定められた時間サイクルで、受光部選択サイクルを実行するように構成することもできる。すなわち、コード検出部612Bは、常時または予め定められた時間サイクルで検出精度を算出し、検出精度信号を生成して、選択制御部611Bに送る。そして、選択制御部611Bは、コード検出部612Bから受け取った検出精度信号が予め定められたレベル(閾値)を下回らないかを監視する。そして、受け取った検出精度信号が閾値を下回った場合に、再度、上記した受光部選択サイクルを実行し、受光部641を設定し直すようにしてもよい。   Here, when the identification information and position information acquisition cycle is executed, the light receiving unit selection cycle may be executed at all times or in a predetermined time cycle. That is, the code detection unit 612B calculates detection accuracy at all times or in a predetermined time cycle, generates a detection accuracy signal, and sends the detection accuracy signal to the selection control unit 611B. Then, the selection control unit 611B monitors whether or not the detection accuracy signal received from the code detection unit 612B falls below a predetermined level (threshold value). Then, when the received detection accuracy signal falls below the threshold value, the light receiving unit selection cycle described above may be executed again to reset the light receiving unit 641.

本態様においては、電子ペン60での筆記が行われる際には、コードパターン画像の検出精度が高いと判断された受光部641が選択されて使用される。それにより、ユーザによる電子ペン60での筆記に際して様々な状況の変化が生じた場合にも、媒体50上から識別情報および位置情報が取得される。   In this aspect, when writing with the electronic pen 60 is performed, the light receiving unit 641 that is determined to have high detection accuracy of the code pattern image is selected and used. Thereby, even when various changes in the situation occur when the user writes with the electronic pen 60, the identification information and the position information are acquired from the medium 50.

(6)また、受光部641の選択の態様の他の例として、例えば、電子ペン60の傾き角に基づいて、受光部641を選択するようにしてもよい。この場合の制御部の構成について図面を参照しつつ説明する。図17は、この態様における制御部61Cの機能的構成の一例を示す図である。図17は、上述した第1実施形態における図7に対応するものである。図17に示す制御部61Cの構成が上述した第1実施形態において図7に示した制御部61と異なる点は、傾き検出部615を有している点と、選択制御部の処理が異なる点である。以下の説明においては、上述した第1実施形態と同様の構成や処理については同じ符号を付してその説明を省略する。 (6) As another example of the selection mode of the light receiving unit 641, for example, the light receiving unit 641 may be selected based on the tilt angle of the electronic pen 60. The configuration of the control unit in this case will be described with reference to the drawings. FIG. 17 is a diagram illustrating an example of a functional configuration of the control unit 61C in this aspect. FIG. 17 corresponds to FIG. 7 in the first embodiment described above. The configuration of the control unit 61C shown in FIG. 17 is different from the control unit 61 shown in FIG. 7 in the first embodiment described above in that the inclination detection unit 615 is different from the processing of the selection control unit. It is. In the following description, the same reference numerals are given to the same configurations and processes as those in the first embodiment described above, and the description thereof is omitted.

図17において、傾き角検出部616は、傾き角検出手段の一例であって、電子ペン60の予め定められた平面(例えば、水平面)からの傾き角を検出するセンサを有している。選択制御部611Cは、傾き角検出部616での検出値(傾き検出信号のレベル)により、受光部641を選択する。すなわち、媒体50を照射する光の入射角によって媒体50上に形成されたコードパターン画像から撮像部64に入射する反射光が変化することから、選択制御部611Cは、電子ペン60の傾きに応じて、最適な受光部641を選択するものである。すなわち、この態様においては、傾き角検出部616と選択制御部611Cとが、自電子ペン60の傾き角を検出し、検出した傾き角に基づいて、複数の受光部641のなかからいずれかを選択する選択出力手段として機能する。   In FIG. 17, the inclination angle detection unit 616 is an example of an inclination angle detection unit, and includes a sensor that detects an inclination angle of the electronic pen 60 from a predetermined plane (for example, a horizontal plane). The selection control unit 611C selects the light receiving unit 641 based on the detection value (level of the tilt detection signal) in the tilt angle detection unit 616. That is, since the reflected light incident on the imaging unit 64 changes from the code pattern image formed on the medium 50 depending on the incident angle of the light that irradiates the medium 50, the selection control unit 611C responds to the inclination of the electronic pen 60. Thus, the optimum light receiving unit 641 is selected. In other words, in this aspect, the tilt angle detection unit 616 and the selection control unit 611C detect the tilt angle of the electronic pen 60, and based on the detected tilt angle, select one of the plurality of light receiving units 641. It functions as a selection output means for selecting.

電子ペン60による筆記が開始されると、ペンチップ69に接続された圧力センサ62が筆記動作を検出する。それにより、傾き角検出部616は、電子ペン60の傾き角の検出を開始し、電子ペン60の傾き角を表す傾き検出信号を生成する。そして、生成した傾き検出信号を選択制御部611Cに送る。傾き検出信号を受け取った選択制御部611Cは、傾き検出信号のレベルに応じて受光部641を選択する。   When writing with the electronic pen 60 is started, the pressure sensor 62 connected to the pen tip 69 detects the writing operation. Accordingly, the tilt angle detection unit 616 starts detecting the tilt angle of the electronic pen 60 and generates a tilt detection signal representing the tilt angle of the electronic pen 60. Then, the generated inclination detection signal is sent to the selection control unit 611C. Upon receiving the tilt detection signal, the selection control unit 611C selects the light receiving unit 641 according to the level of the tilt detection signal.

(7)また、受光部の選択の態様の他の例として、例えば、コードパターン画像の検出精度と電子ペンの傾き角との双方に基づいて、受光部641を選択するようにしてもよい。この場合は、例えば、選択制御部が、コードパターン画像の検出精度と電子ペン60の傾き角とにそれぞれ重み付けを行い、その重み付けを勘案して受光部641を選択するようにしてもよい。 (7) As another example of the selection mode of the light receiving unit, for example, the light receiving unit 641 may be selected based on both the detection accuracy of the code pattern image and the tilt angle of the electronic pen. In this case, for example, the selection control unit may weight each of the detection accuracy of the code pattern image and the inclination angle of the electronic pen 60, and may select the light receiving unit 641 in consideration of the weighting.

(8)上述の実施形態では、撮像素子643の2つの領域643a,643bの両方の領域において常に撮像を行い、選択制御部611が、選択した領域に対応する出力画像信号を後段に出力する構成となっていた。これに代えて、撮像素子643が、選択された受光部641で受光された反射光に基づいて撮像を行うようにしてもよい。この場合の構成の一例及び動作の一例について図面を参照しつつ説明する。図18は、この態様における制御部61Dの機能的構成の一例を示すブロック図であり、図19は、この態様における電子ペンの処理の流れを示すフローチャートである。なお、図18に示す例においては、電子ペンが2つの照射部63a,63bを備える場合の構成について説明する。この例では、上述した第2の実施形態と同様に、受光部641aが照射部63aから照射される光の反射光を受光するとともに、受光部641bが照射部63bから照射される光の反射光を受光する。以下の説明では、照射部63aの照射光によって撮像される媒体50上の領域を撮像領域Ra(図18参照)とし、照射部63bの照射光によって撮像される媒体50上の領域を撮像領域Rb(図18参照)として説明する。 (8) In the above-described embodiment, a configuration in which imaging is always performed in both the two areas 643a and 643b of the image sensor 643, and the selection control unit 611 outputs an output image signal corresponding to the selected area to the subsequent stage. It was. Instead of this, the imaging element 643 may perform imaging based on reflected light received by the selected light receiving unit 641. An example of the configuration and an example of the operation in this case will be described with reference to the drawings. FIG. 18 is a block diagram illustrating an example of a functional configuration of the control unit 61D in this aspect, and FIG. 19 is a flowchart illustrating a processing flow of the electronic pen in this aspect. In the example illustrated in FIG. 18, a configuration in the case where the electronic pen includes two irradiation units 63a and 63b will be described. In this example, as in the second embodiment described above, the light receiving unit 641a receives the reflected light of the light emitted from the irradiation unit 63a, and the reflected light of the light emitted from the light receiving unit 641b from the irradiation unit 63b. Is received. In the following description, an area on the medium 50 imaged by the irradiation light of the irradiation unit 63a is defined as an imaging area Ra (see FIG. 18), and an area on the medium 50 imaged by the irradiation light of the irradiation unit 63b is defined as an imaging area Rb. (See FIG. 18).

図18に示す選択制御部611Dは、コード検出部612Dから供給される信号に応じて、複数の撮像領域Ra,Rbのなかからいずれかを選択し(すなわち複数の受光部641からいずれかを選択し)、選択した撮像領域を設定するための撮像領域設定信号を照明制御部614Dと撮像制御部615Dに供給する(図19のステップS701)。照明制御部614Dは、選択制御部611Dから供給される撮像領域設定信号に対応する照射部63を選択し、選択した照射部63をパルス点灯させるための照明制御信号を選択した照射部63に対して送信し、選択した照射部63をパルス点灯させる。また、撮像制御部641Dは、選択制御部611Dから供給される撮像領域設定信号に応じた画像取込信号を撮像部64に供給する。撮像素子643は、選択制御部611Dの選択結果に応じて、受光部641のいずれかの反射光に基づいて撮像し、撮像結果を示す出力画像信号をコード検出部612に出力する(ステップS702)。   The selection control unit 611D illustrated in FIG. 18 selects one of the plurality of imaging regions Ra and Rb according to the signal supplied from the code detection unit 612D (that is, selects one from the plurality of light receiving units 641). Then, an imaging region setting signal for setting the selected imaging region is supplied to the illumination control unit 614D and the imaging control unit 615D (step S701 in FIG. 19). The illumination control unit 614D selects the irradiation unit 63 corresponding to the imaging region setting signal supplied from the selection control unit 611D, and applies the illumination control signal for pulse-lighting the selected irradiation unit 63 to the irradiation unit 63 selected. The selected irradiation unit 63 is pulse-lit. In addition, the imaging control unit 641D supplies an image capture signal corresponding to the imaging region setting signal supplied from the selection control unit 611D to the imaging unit 64. The imaging element 643 captures an image based on any reflected light of the light receiving unit 641 according to the selection result of the selection control unit 611D, and outputs an output image signal indicating the imaging result to the code detection unit 612 (step S702). .

コード検出部612Dは、撮像素子643から供給される出力画像信号に基づいてコードパターン画像を検出してデータ処理部613に出力するとともに、検出されたコードパターン画像の検出精度(読取認識率)を示す検出精度信号を生成し、選択制御部611Dに供給する(ステップS703)。なお、このコード検出部612Dが行う検出精度信号の生成処理は、上述の変形例(6)で示したコード検出部612Bが行う処理と同様であり、ここではその詳細な説明を省略する。   The code detection unit 612D detects a code pattern image based on the output image signal supplied from the image sensor 643 and outputs the code pattern image to the data processing unit 613, and the detection accuracy (reading recognition rate) of the detected code pattern image. A detection accuracy signal is generated and supplied to the selection control unit 611D (step S703). The generation process of the detection accuracy signal performed by the code detection unit 612D is the same as the process performed by the code detection unit 612B shown in the modified example (6), and detailed description thereof is omitted here.

選択制御部611Dは、撮像を終了するか否かを判定し(ステップS704)、撮影を終了する場合には(ステップS704;YES)、そのまま処理を終了する。一方、撮影を継続する場合には(ステップS704;NO)、選択制御部611Dは、コード検出部612Dから受け取った検出精度信号が予め定められた基準値を下回ったかを判定し(ステップS705)、検出精度信号が予め定められた基準値を下回った場合に(ステップS705;YES)、撮像領域を他の撮像領域に切り替える(すなわち選択する受光部641を切り替える)(ステップS706)。選択制御部611Dは、コード検出部612Dから受け取った検出精度信号が予め定められた基準値を下回っていない場合には、撮像領域を切り替えずに、選択している撮像領域を継続して用いる。ステップS705において、選択制御部611Dは、正反射の発生頻度が予め定められた頻度以上であるか否かを判定するようにしてもよく、また、検出精度と正反射の発生頻度との両方について判定するようにしてもよい。
このように、この態様においては、撮像素子643は複数の光学経路のどちらか一方のみを撮像し、撮像されたコード画像の検出精度が予め定められた基準値を下回った場合に、撮像領域を他に切り替える。
The selection control unit 611D determines whether or not to end imaging (step S704). When the imaging ends (step S704; YES), the processing ends. On the other hand, when shooting is continued (step S704; NO), the selection control unit 611D determines whether the detection accuracy signal received from the code detection unit 612D is below a predetermined reference value (step S705). When the detection accuracy signal falls below a predetermined reference value (step S705; YES), the imaging region is switched to another imaging region (that is, the selected light receiving unit 641 is switched) (step S706). When the detection accuracy signal received from the code detection unit 612D is not less than a predetermined reference value, the selection control unit 611D continues to use the selected imaging region without switching the imaging region. In step S705, the selection control unit 611D may determine whether or not the occurrence frequency of regular reflection is equal to or higher than a predetermined frequency, and both the detection accuracy and the occurrence frequency of regular reflection are determined. You may make it determine.
As described above, in this aspect, the imaging device 643 captures only one of the plurality of optical paths, and when the detection accuracy of the captured code image falls below a predetermined reference value, Switch to another.

(9)上述の図18及び図19に示す例においては、選択制御部611Dは、コード検出部612Dから検出される検出精度信号に基づいて受光部641を切り替えるようにしたが、これに限らず、選択制御部が、1回撮影するごとに他の領域に切り替えるようにしてもよい。この場合の構成の一例および動作の一例について図面を参照しつつ説明する。図20は、この態様における制御部61Eの機能的構成の一例を示すブロック図であり、図21は、この態様における電子ペンの処理の流れを示すフローチャートである。図20と図21はそれぞれ、上述した変形例(8)において示した図18と図19に対応するものであり、以下の説明においては、図18や図19に示した構成や処理と同様のものについては、同じ符号を付与してその説明を省略する。 (9) In the example shown in FIG. 18 and FIG. 19, the selection control unit 611D switches the light receiving unit 641 based on the detection accuracy signal detected from the code detection unit 612D. The selection control unit may be switched to another area every time shooting is performed. An example of the configuration and an example of the operation in this case will be described with reference to the drawings. FIG. 20 is a block diagram illustrating an example of a functional configuration of the control unit 61E in this aspect, and FIG. 21 is a flowchart illustrating a processing flow of the electronic pen in this aspect. 20 and FIG. 21 correspond to FIG. 18 and FIG. 19 shown in the above-described modification (8), respectively, and in the following description, the same configuration and processing as shown in FIG. 18 and FIG. About the thing, the same code | symbol is provided and the description is abbreviate | omitted.

選択制御部611Eは、1回撮影するごとに撮影領域を他の領域に切り替える。すなわち、図21に示すように、選択制御部611Eは、検出精度を判定することなく(図19に示すステップS705の処理を行うことなく)、撮影を継続する場合には(ステップS704;NO)、撮影領域を切り替える(すなわち選択する受光部641を切り替える)(ステップS706)。すなわち、この態様においては、選択制御部611Eが複数の光学経路を交互に切り替えて選択し、撮像素子643は選択された光学経路を用いて撮像を行う。   The selection control unit 611E switches the shooting area to another area every time shooting is performed. That is, as shown in FIG. 21, the selection control unit 611E does not determine the detection accuracy (without performing the process of step S705 shown in FIG. 19) and continues shooting (step S704; NO). Then, the imaging region is switched (that is, the selected light receiving unit 641 is switched) (step S706). That is, in this aspect, the selection control unit 611E alternately switches and selects a plurality of optical paths, and the image sensor 643 performs imaging using the selected optical path.

(10)上述の第1実施形態乃至第3実施形態では、媒体50に文字や図形等を筆記する電子ペンについて説明したが、電子ペンはこれに限らず、例えば、ポインティングデバイス(マウス)機能や、媒体上の領域に対応して記録された情報(例えば、コマンド情報)を読み取るスタイラス機能を備えたものであってもよい。 (10) In the first to third embodiments described above, the electronic pen that writes characters, graphics, and the like on the medium 50 has been described. However, the electronic pen is not limited to this, for example, a pointing device (mouse) function or A stylus function that reads information (for example, command information) recorded corresponding to an area on the medium may be provided.

(11)上述の実施形態では、照射部63として、赤外光を照射するLEDを用いたが、照射部63はこれに限らず、違う特性を有するLEDを用いるようにしてもよい。要は、照射部63は、媒体50に形成されたコードパターン画像をその反射光で読取可能な光を照射するものであればよい。 (11) In the above-described embodiment, an LED that emits infrared light is used as the irradiation unit 63. However, the irradiation unit 63 is not limited to this, and an LED having different characteristics may be used. In short, the irradiating unit 63 only needs to irradiate the code pattern image formed on the medium 50 with light that can be read by the reflected light.

(12)上述の第1の実施形態では、識別情報として、媒体を一意に識別する情報を用いたが、識別情報はこれに限らず、例えば、電子文書を一意に識別する情報を識別情報として用いるようにしてもよい。上述の第1実施形態に例示したように媒体を一意に識別する情報を用いる場合は、同じ電子文書を複数部数形成すると、異なる媒体には異なる識別情報が付与される。これに対し、電子文書を一意に識別する情報を識別情報として用いる場合は、同じ電子文書を形成すると、異なる媒体であっても同じ識別情報が付与される。 (12) In the first embodiment described above, information that uniquely identifies a medium is used as identification information. However, the identification information is not limited to this, and for example, information that uniquely identifies an electronic document is used as identification information. You may make it use. When information that uniquely identifies a medium is used as exemplified in the first embodiment, different identification information is assigned to different media when a plurality of copies of the same electronic document are formed. On the other hand, when information that uniquely identifies an electronic document is used as identification information, the same identification information is given to different media when the same electronic document is formed.

また、上述の実施形態では、位置情報及び識別情報を表すコードパターン画像を読み取ったが、コードパターン画像が表す情報は位置情報や識別情報に限らず、例えば、テキストデータやコマンドを表す情報であってもよい。また、位置情報のみを表す画像であってもよい。   In the above-described embodiment, the code pattern image representing the position information and the identification information is read. However, the information represented by the code pattern image is not limited to the position information and the identification information. For example, the information represents text data or a command. May be. Alternatively, the image may represent only position information.

(13)上記した画像形成装置では、コードパターン画像をKのトナーを用いて形成するようにした。これは、Kのトナーが、C、M、Yのトナーよりも赤外光の吸収量が多く、電子ペン60でコードパターン画像を読み取ることができるからである。しかしながら、コードパターン画像は、特殊トナーを用いて形成することも可能である。ここで、特殊トナーとしては、可視光領域(400nm〜700nm)における最大吸収率が7%以下であり、近赤外領域(800nm〜1000nm)における吸収率が30%以上の不可視トナーが例示される。ここで、「可視」および「不可視」は、目視により認識できるかどうかとは関係しない。形成された媒体に形成された画像が可視光領域における特定の波長の吸収に起因する発色性の有無により認識できるかどうかで「可視」と「不可視」とを区別している。また、可視光領域における特定の波長の吸収に起因する発色性が若干あるが、人間の目で認識し難いものも「不可視」に含める。また、この不可視トナーは、画像の機械読取りのために必要な近赤外光吸収能力を高めるために、平均分散径が100nm〜600nmの範囲のものが望ましい。
また、画像形成装置は、電子写真方式に限らず、インクジェット方式等のその他の如何なる方式を用いてもよい。
(13) In the image forming apparatus described above, the code pattern image is formed using K toner. This is because the K toner has a larger amount of infrared light absorption than the C, M, and Y toners, and the code pattern image can be read by the electronic pen 60. However, the code pattern image can also be formed using special toner. 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 based on whether or not an image formed on the formed medium can be recognized by the presence or absence of color development due to absorption of a specific wavelength in the visible light region. Further, “invisible” includes those that have some color developability due to absorption of a specific wavelength in the visible light region but are difficult to recognize with human eyes. The invisible toner preferably has an average dispersion diameter in the range of 100 nm to 600 nm in order to increase the near infrared light absorption capability necessary for machine reading of an image.
Further, the image forming apparatus is not limited to the electrophotographic system, and any other system such as an ink jet system may be used.

(14)上述の実施形態に係る電子ペン60の制御部61によって実行されるコンピュータプログラムは、磁気記録媒体(磁気テープ、磁気ディスクなど)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどのコンピュータが読取可能な記録媒体に記憶した状態で提供し得る。また、インターネット等のネットワーク経由で電子ペン60にダウンロードさせることも可能である。なお、上述の制御を行う制御手段としてはCPU以外にも種々の装置を適用することができ、例えば、専用のプロセッサなどを用いてもよい。 (14) A computer program executed by the control unit 61 of the electronic pen 60 according to the above-described embodiment includes a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, and a semiconductor. It may be provided in a state stored in a computer-readable recording medium such as a memory. It is also possible to download to the electronic pen 60 via a network such as the Internet. Various devices other than the CPU can be applied as the control means for performing the above-described control. For example, a dedicated processor or the like may be used.

筆記情報処理システムの全体構成の一例を示す図である。It is a figure which shows an example of the whole structure of a writing information processing system. コードパターン画像の内容一例を示す図である。It is a figure which shows an example of the content of a code pattern image. 電子ペンの機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of an electronic pen. 電子ペンの構成の一例を示す側断面図である。It is a sectional side view which shows an example of a structure of an electronic pen. 電子ペンの構成の一例を示す横断面図である。It is a cross-sectional view which shows an example of a structure of an electronic pen. 電子ペンのペン先からみた構成の一例を示す図である。It is a figure which shows an example of the structure seen from the pen point of the electronic pen. 電子ペンの制御部の機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the control part of an electronic pen. 照明制御信号、画像取込信号および出力画像信号に関する出力タイミングチャートを示した図である。It is the figure which showed the output timing chart regarding an illumination control signal, an image capture signal, and an output image signal. 電子ペンのコード検出部およびデータ処理部での動作を示したフローチャートを示した図である。It is the figure which showed the flowchart which showed the operation | movement in the code | cord | chord detection part and data processing part of an electronic pen. 電子ペンの指示方向と媒体面との間の角度の一例を示す図である。It is a figure which shows an example of the angle between the instruction | indication direction of an electronic pen, and a medium surface. 電子ペンの指示方向と媒体面との間の角度の一例を示す図である。It is a figure which shows an example of the angle between the instruction | indication direction of an electronic pen, and a medium surface. 電子ペンのペン先からみた構成の一例を示す図である。It is a figure which shows an example of the structure seen from the pen point of the electronic pen. 電子ペンのペン先からみた構成の一例を示す図である。It is a figure which shows an example of the structure seen from the pen point of the electronic pen. 電子ペンの構成の一例を示す断面図である。It is sectional drawing which shows an example of a structure of an electronic pen. 電子ペンの構成の一例を示す図である。It is a figure which shows an example of a structure of an electronic pen. 電子ペンの制御部の機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the control part of an electronic pen. 電子ペンの制御部の機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the control part of an electronic pen. 電子ペンの制御部の機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the control part of an electronic pen. 電子ペンの処理の流れを示すフローチャートを示した図である。It is the figure which showed the flowchart which shows the flow of a process of an electronic pen. 電子ペンの制御部の機能的構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the control part of an electronic pen. 電子ペンの処理の流れを示すフローチャートを示した図である。It is the figure which showed the flowchart which shows the flow of a process of an electronic pen. 電子ペンの構成の一例を示す側断面図である。It is a sectional side view which shows an example of a structure of an electronic pen.

符号の説明Explanation of symbols

10…情報処理装置、50…媒体、60,60B,60C,60D,160…電子ペン、61…制御部、62…圧力センサ、63…照射部、64…撮像部、64B…撮像ユニット、611…選択制御部、612…コード検出部、612…データ処理部、614…照明制御部、615…撮像制御部、616…傾き角検出部、616…照明切替部、641…受光部、642…プリズム、643…撮像素子。 DESCRIPTION OF SYMBOLS 10 ... Information processing apparatus, 50 ... Medium, 60, 60B, 60C, 60D, 160 ... Electronic pen, 61 ... Control part, 62 ... Pressure sensor, 63 ... Irradiation part, 64 ... Imaging part, 64B ... Imaging unit, 611 ... Selection control unit, 612 ... code detection unit, 612 ... data processing unit, 614 ... illumination control unit, 615 ... imaging control unit, 616 ... tilt angle detection unit, 616 ... illumination switching unit, 641 ... light receiving unit, 642 ... prism, 643 ... Image sensor.

Claims (9)

読取対象となる被読取画像が形成された媒体上の位置を指示する指示部と、
前記指示部によって指示される前記媒体上の位置に対して予め定められた範囲に光を照射する照射手段と、
各々異なる位置に設けられ、前記照射手段によって前記媒体に照射された光の反射光をそれぞれ受光する複数の受光手段と、
各々の前記受光手段によって受光された反射光に基づいて被読取画像を撮像し、当該被読取画像を表す信号を生成する撮像手段と、
前記複数の受光手段のなかからいずれかを選択し、選択した受光手段が受光した反射光に基づいて前記撮像手段により撮像された前記被読取画像を表す信号を出力する選択出力手段と
を具備することを特徴とする読取装置。
An instruction unit for instructing a position on a medium on which a read image to be read is formed;
Irradiating means for irradiating light in a predetermined range with respect to the position on the medium instructed by the instruction unit;
A plurality of light receiving means which are respectively provided at different positions and receive reflected light of the light irradiated on the medium by the irradiation means;
An imaging unit that captures an image to be read based on reflected light received by each of the light receiving units, and generates a signal representing the image to be read;
Selection output means for selecting one of the plurality of light receiving means and outputting a signal representing the read image captured by the imaging means based on reflected light received by the selected light receiving means. A reading device.
前記複数の受光手段は、前記照射手段によって前記媒体に照射された光の反射光のうち、各々異なる光路を通って反射してくる反射光をそれぞれ受光する位置に設けられている
ことを特徴とする請求項1に記載の読取装置。
The plurality of light receiving means are provided at positions that respectively receive reflected light reflected through different optical paths among the reflected light of the light irradiated to the medium by the irradiating means. The reading device according to claim 1.
前記複数の受光手段は、前記指示部を中心とした対称の位置に設けられている2つの受光手段であることを特徴とする請求項1又は2に記載の読取装置。   3. The reading apparatus according to claim 1, wherein the plurality of light receiving units are two light receiving units provided at symmetrical positions around the instruction unit. 4. 前記照射手段は、前記2つの受光手段のそれぞれとの距離が等しい位置に設けられた1つの照射手段である
ことを特徴とする請求項3に記載の読取装置。
The reading device according to claim 3, wherein the irradiating unit is one irradiating unit provided at a position where the distance from each of the two light receiving units is equal.
前記照射手段は、前記指示部を中心とした対称の位置に設けられた2つの照射手段である
ことを特徴とする請求項3に記載の読取装置。
The reading device according to claim 3, wherein the irradiating means is two irradiating means provided at symmetrical positions with the pointing unit as a center.
前記複数の受光手段が一体として形成されている
ことを特徴とする請求項1乃至5のいずれか1項に記載の読取装置。
The reading device according to any one of claims 1 to 5, wherein the plurality of light receiving units are integrally formed.
前記選択出力手段は、選択する受光手段を予め定められた選択順序に従って切り替える
ことを特徴とする請求項1乃至6のいずれか1項に記載の読取装置。
The reading apparatus according to claim 1, wherein the selection output unit switches the light receiving unit to be selected in accordance with a predetermined selection order.
前記選択出力手段は、前記撮像手段で撮像された被読取画像の読取認識率をそれぞれ算出し、算出した読取認識率に基づいて、前記複数の受光手段のなかからいずれかを選択する
ことを特徴とする請求項1乃至6のいずれか1項に記載の読取装置。
The selection output unit calculates a reading recognition rate of each read image captured by the imaging unit, and selects one of the plurality of light receiving units based on the calculated reading recognition rate. The reading apparatus according to any one of claims 1 to 6.
前記選択出力手段は、自読取装置の傾き角を検出し、検出した傾き角に基づいて、前記複数の受光手段のなかからいずれかを選択する
ことを特徴とする請求項1乃至6のいずれか1項に記載の読取装置。
The selection output means detects an inclination angle of the reading device, and selects any one of the plurality of light receiving means based on the detected inclination angle. The reading device according to item 1.
JP2008316787A 2008-12-12 2008-12-12 Reading apparatus Pending JP2010141664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008316787A JP2010141664A (en) 2008-12-12 2008-12-12 Reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008316787A JP2010141664A (en) 2008-12-12 2008-12-12 Reading apparatus

Publications (1)

Publication Number Publication Date
JP2010141664A true JP2010141664A (en) 2010-06-24

Family

ID=42351385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008316787A Pending JP2010141664A (en) 2008-12-12 2008-12-12 Reading apparatus

Country Status (1)

Country Link
JP (1) JP2010141664A (en)

Similar Documents

Publication Publication Date Title
JP5228889B2 (en) Reader
AU2009213801B2 (en) Image reading apparatus, and reading method
CN101960412B (en) Digital pens and a method for digital recording of information
US6906699B1 (en) Input unit, method for using the same and input system
JP4973310B2 (en) Electronic writing instrument, computer system
JP2006085679A (en) Two-dimensional code pattern, two-dimensional code generating method, two-dimensional code generator and printing medium
JP4198456B2 (en) Two-dimensional code pattern, two-dimensional code pattern carrying medium, two-dimensional code pattern generation method, two-dimensional code reading apparatus and reading method
JP2007052025A (en) System and method for optical navigation device having sliding function constituted so as to generate navigation information through optically transparent layer
WO1999060468A1 (en) Input unit, method for using the same and input system
JP2004318891A (en) System and method for multiplexing reflection in module in which finger recognition and finger system and method are combined
JP4821716B2 (en) Electronic writing instruments, caps, computer systems
US20050024690A1 (en) Pen with tag reader and navigation system
JP4107346B1 (en) Reading apparatus, writing information processing system, and program
JP2016000486A (en) Handy mobile printer, control method of handy mobile printer, and program
JP2010141664A (en) Reading apparatus
JP2010160744A (en) Reading apparatus
JP2009245252A (en) Image processor, electronic pen, and program
US20230333677A1 (en) Optical stylus for optical position determination device
JP5136484B2 (en) Reader
JP2010141525A (en) Reading apparatus
JP5098267B2 (en) WRITING INFORMATION PROCESSING DEVICE, WRITING INFORMATION PROCESSING METHOD, AND PROGRAM
JP2010225042A (en) Reading apparatus
JP2009181346A (en) Image processor, pen device, and program
JP2009237808A (en) Electronic writing implement, image reader, and program
JP2008046988A (en) Document management apparatus, identification information generation device, and program